mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 08:30:12 +01:00
branding improvments
This commit is contained in:
parent
5e3651ac10
commit
5b6d7d60a1
@ -362,6 +362,7 @@ create table if not exists `customer_settings` (
|
|||||||
`domain` varchar(255) not null unique,
|
`domain` varchar(255) not null unique,
|
||||||
`branding_text` varchar(255) default null,
|
`branding_text` varchar(255) default null,
|
||||||
`branding_url` varchar(255) default null,
|
`branding_url` varchar(255) default null,
|
||||||
|
`branding_logo` varchar(255) default null,
|
||||||
`support_link` varchar(255) default null,
|
`support_link` varchar(255) default null,
|
||||||
`colour` varchar(255) default null
|
`colour` varchar(255) default null
|
||||||
) Engine=InnoDB;
|
) Engine=InnoDB;
|
||||||
|
@ -18,6 +18,7 @@ create table if not exists `customer_settings` (
|
|||||||
`domain` varchar(255) not null unique,
|
`domain` varchar(255) not null unique,
|
||||||
`branding_text` varchar(255) default null,
|
`branding_text` varchar(255) default null,
|
||||||
`branding_url` varchar(255) default null,
|
`branding_url` varchar(255) default null,
|
||||||
|
`branding_logo` varchar(255) default null,
|
||||||
`support_link` varchar(255) default null,
|
`support_link` varchar(255) default null,
|
||||||
`colour` varchar(255) default null
|
`colour` varchar(255) default null
|
||||||
) Engine=InnoDB;
|
) Engine=InnoDB;
|
||||||
|
@ -16,8 +16,11 @@ $config['PILERGETD_PASSWORD'] = '';
|
|||||||
|
|
||||||
$config['BRANDING_TEXT'] = '';
|
$config['BRANDING_TEXT'] = '';
|
||||||
$config['BRANDING_URL'] = '';
|
$config['BRANDING_URL'] = '';
|
||||||
|
$config['BRANDING_LOGO'] = '';
|
||||||
$config['SUPPORT_LINK'] = '';
|
$config['SUPPORT_LINK'] = '';
|
||||||
|
|
||||||
|
$config['SHOW_COMPANY_LINK'] = 1;
|
||||||
|
|
||||||
$config['DEFAULT_LANG'] = 'en';
|
$config['DEFAULT_LANG'] = 'en';
|
||||||
|
|
||||||
$config['THEME'] = 'default';
|
$config['THEME'] = 'default';
|
||||||
|
@ -7,7 +7,7 @@ class ModelSaasCustomer extends Model
|
|||||||
$data = array(
|
$data = array(
|
||||||
'branding_text' => BRANDING_TEXT,
|
'branding_text' => BRANDING_TEXT,
|
||||||
'branding_url' => BRANDING_URL,
|
'branding_url' => BRANDING_URL,
|
||||||
'branding_logo' => SITE_LOGO_SM,
|
'branding_logo' => BRANDING_LOGO,
|
||||||
'support_link' => SUPPORT_LINK,
|
'support_link' => SUPPORT_LINK,
|
||||||
'colour' => ''
|
'colour' => ''
|
||||||
);
|
);
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
<td class="auditcell ip"><?php print $message['ipaddr']; ?></td>
|
<td class="auditcell ip"><?php print $message['ipaddr']; ?></td>
|
||||||
<td class="auditcell action"><?php print $actions[$message['action']]; ?></td>
|
<td class="auditcell action"><?php print $actions[$message['action']]; ?></td>
|
||||||
<td class="auditcell description"><?php if($message['description'] != $message['shortdescription']) { ?><span title="<?php print $message['description']; ?>"><?php print $message['shortdescription']; ?></span><?php } else { print $message['description']; } ?></td>
|
<td class="auditcell description"><?php if($message['description'] != $message['shortdescription']) { ?><span title="<?php print $message['description']; ?>"><?php print $message['shortdescription']; ?></span><?php } else { print $message['description']; } ?></td>
|
||||||
<td class="auditcell ref"><?php print $message['id']; ?></td>
|
<td class="auditcell ref"><?php if(Registry::get('auditor_user') == 1 && $message['id'] > 0) { ?><a href="#" onclick="Piler.view_message(<?php print $message['id']; ?>);"><?php } ?><?php print $message['id']; ?><?php if(Registry::get('auditor_user') == 1 && $message['id'] > 0) { ?></a><?php } ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php } } else { ?>
|
<?php } } else { ?>
|
||||||
|
@ -35,13 +35,15 @@
|
|||||||
|
|
||||||
<body onload="Piler.add_shortcuts();">
|
<body onload="Piler.add_shortcuts();">
|
||||||
|
|
||||||
<div id="messagebox1" class="audit audit-info"></div>
|
|
||||||
|
|
||||||
<div id="piler1" class="container">
|
|
||||||
|
|
||||||
<div id="menu"><?php print $menu; ?></div>
|
<div id="messagebox1" class="audit audit-info"></div>
|
||||||
|
|
||||||
<div id="searchcontainer">
|
<div id="piler1" class="container">
|
||||||
|
|
||||||
|
<div id="menu"><?php print $menu; ?></div>
|
||||||
|
|
||||||
|
<div id="searchcontainer">
|
||||||
|
|
||||||
<input type="hidden" name="searchtype" id="searchtype" value="expert" />
|
<input type="hidden" name="searchtype" id="searchtype" value="expert" />
|
||||||
<input type="hidden" name="sort" id="sort" value="date" />
|
<input type="hidden" name="sort" id="sort" value="date" />
|
||||||
@ -56,31 +58,53 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="mainscreen">
|
|
||||||
|
|
||||||
|
<div id="mainscreen">
|
||||||
|
|
||||||
<div id="mailleftcontainer">
|
<div id="mailleftcontainer">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="mailrightcontainer<?php if(ENABLE_FOLDER_RESTRICTIONS == 0) { ?>nofolder<?php } ?>">
|
<div id="mailrightcontainernofolder">
|
||||||
|
|
||||||
<div id="mailrightcontent">
|
<div id="mailrightcontent">
|
||||||
|
|
||||||
<div id="mailcontframe">
|
<div id="mailcontframe">
|
||||||
<div id="sspinner" class="alert alert-info lead"><i class="icon-spinner icon-spin icon-2x pull-left"></i><?php print $text_working; ?></div>
|
<div id="sspinner" class="alert alert-info lead"><i class="icon-spinner icon-spin icon-2x pull-left"></i><?php print $text_working; ?></div>
|
||||||
<div id="resultscontainer" class="boxlistcontent">
|
<div id="resultscontainer" class="boxlistcontent">
|
||||||
|
|
||||||
<?php print $content; ?>
|
<?php print $content; ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php if(Registry::get('auditor_user') == 1) { ?>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var mailviewsplit = new rcube_splitter({id:'splitter2', p1: 'mailcontframe', p2: 'mailpreviewframe', orientation: 'h', relative: true, start: 341});
|
||||||
|
split.add_onload('mailviewsplit.init()');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div id="mailpreviewframe"></div>
|
||||||
|
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php if(Registry::get('auditor_user') == 1) { ?>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).ready(function(){
|
||||||
|
split.init();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/view/theme/default/assets/ico/apple-touch-icon-114-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/view/theme/default/assets/ico/apple-touch-icon-114-precomposed.png">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/view/theme/default/assets/ico/apple-touch-icon-72-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/view/theme/default/assets/ico/apple-touch-icon-72-precomposed.png">
|
||||||
<link rel="apple-touch-icon-precomposed" href="/view/theme/default/assets/ico/apple-touch-icon-57-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" href="/view/theme/default/assets/ico/apple-touch-icon-57-precomposed.png">
|
||||||
<link rel="shortcut icon" href="/view/theme/default/assets/ico/favicon.png">
|
<link rel="shortcut icon" href="/view/theme/default/assets/ico/favicon.png" />
|
||||||
|
|
||||||
<script type="text/javascript" src="/view/javascript/jquery.min.js"></script>
|
<script type="text/javascript" src="/view/javascript/jquery.min.js"></script>
|
||||||
<script type="text/javascript" src="/view/javascript/jquery-ui-custom.min.js"></script>
|
<script type="text/javascript" src="/view/javascript/jquery-ui-custom.min.js"></script>
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul class="nav pull-right">
|
<ul class="nav pull-right">
|
||||||
<li><a href="<?php print $settings['branding_url']; ?>" target="_blank" <?php if($settings['colour']) { ?>style="background: <?php print $settings['colour']; ?>;"<?php } ?>><i class="icon-phone"></i> <?php print $settings['branding_text']; ?></a></li>
|
<?php if(SHOW_COMPANY_LINK == 1) { ?><li><a href="<?php print $settings['branding_url']; ?>" target="_blank"><i class="icon-phone"></i> <?php print $settings['branding_text']; ?></a></li><?php } ?>
|
||||||
|
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user"></i> <?php if(isset($_SESSION['realname'])) { print $_SESSION['realname']; ?> <?php } ?><b class="caret"></b></a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user"></i> <?php if(isset($_SESSION['realname'])) { print $_SESSION['realname']; ?> <?php } ?><b class="caret"></b></a>
|
||||||
|
Loading…
Reference in New Issue
Block a user