mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
715f6ec04e
|
@ -31,7 +31,7 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
|
|||
|
||||
function __construct($params, $theme='bootstrap') {
|
||||
parent::__construct($params, $theme);
|
||||
$this->extraheader = array('js'=>'', 'css'=>'');
|
||||
$this->extraheader = array('js'=>'', 'css'=>'', 'favicon'=>'');
|
||||
$this->footerjs = array();
|
||||
$this->nonces = array();
|
||||
}
|
||||
|
@ -120,7 +120,12 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
|
|||
echo '<script type="text/javascript" src="../views/'.$this->theme.'/vendors/noty/themes/default.js"></script>'."\n";
|
||||
echo '<script type="text/javascript" src="../styles/'.$this->theme.'/jqtree/tree.jquery.js"></script>'."\n";
|
||||
// echo '<script type="text/javascript" src="../styles/'.$this->theme.'/jquery-cookie/jquery.cookie.js"></script>'."\n";
|
||||
echo '<link rel="shortcut icon" href="../styles/'.$this->theme.'/favicon.ico" type="image/x-icon"/>'."\n";
|
||||
if($this->extraheader['favicon'])
|
||||
echo $this->extraheader['favicon'];
|
||||
else {
|
||||
echo '<link rel="icon" href="../views/'.$this->theme.'/images/favicon.svg" type="image/svg+xml"/>'."\n";
|
||||
echo '<link rel="apple-touch-icon" sizes="180x180" href="../views/'.$this->theme.'/images/apple-touch-icon.png">'."\n";
|
||||
}
|
||||
if($this->params['session'] && $this->params['session']->getSu()) {
|
||||
?>
|
||||
<style type="text/css">
|
||||
|
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Loading…
Reference in New Issue
Block a user