forked from extern/egroupware
* Template: relabeled Pixelegg template/theme to "Standard", and mobile theme for desktop to "Compact"
This commit is contained in:
parent
9a1742d749
commit
035593f8a6
@ -979,6 +979,11 @@ abstract class Framework extends Framework\Extra
|
||||
function list_themes()
|
||||
{
|
||||
$list = array();
|
||||
if (file_exists($file=EGW_SERVER_ROOT.$this->template_dir.'/setup/setup.inc.php') &&
|
||||
(include $file) && isset($GLOBALS['egw_info']['template'][$this->template]['themes']))
|
||||
{
|
||||
$list = $GLOBALS['egw_info']['template'][$this->template]['themes'];
|
||||
}
|
||||
if (($dh = @opendir(EGW_SERVER_ROOT.$this->template_dir.'/css')))
|
||||
{
|
||||
while (($file = readdir($dh)))
|
||||
@ -986,7 +991,7 @@ abstract class Framework extends Framework\Extra
|
||||
if (preg_match('/'."\.css$".'/i', $file))
|
||||
{
|
||||
list($name) = explode('.',$file);
|
||||
$list[$name] = $name;
|
||||
if (!isset($list[$name])) $list[$name] = ucfirst ($name);
|
||||
}
|
||||
}
|
||||
closedir($dh);
|
||||
|
@ -3280,9 +3280,6 @@ body > div#egw_message {
|
||||
#egw_fw_footer a {
|
||||
color: #696969;
|
||||
}
|
||||
#egw_fw_footer a:last-child:after {
|
||||
content: " + Layout: pixelegg";
|
||||
}
|
||||
#egw_fw_footer:hover {
|
||||
opacity: 0.1;
|
||||
transition: opacity 0.5s ease-out;
|
||||
|
@ -3269,9 +3269,6 @@ body > div#egw_message {
|
||||
#egw_fw_footer a {
|
||||
color: #696969;
|
||||
}
|
||||
#egw_fw_footer a:last-child:after {
|
||||
content: " + Layout: pixelegg";
|
||||
}
|
||||
#egw_fw_footer:hover {
|
||||
opacity: 0.1;
|
||||
transition: opacity 0.5s ease-out;
|
||||
|
@ -31,8 +31,6 @@
|
||||
color: @gray_50;
|
||||
|
||||
a {color: @gray_60;}
|
||||
|
||||
a:last-child:after {content: " + Layout: pixelegg";}
|
||||
}
|
||||
|
||||
|
||||
|
@ -3291,9 +3291,6 @@ body > div#egw_message {
|
||||
#egw_fw_footer a {
|
||||
color: #696969;
|
||||
}
|
||||
#egw_fw_footer a:last-child:after {
|
||||
content: " + Layout: pixelegg";
|
||||
}
|
||||
#egw_fw_footer:hover {
|
||||
opacity: 0.1;
|
||||
transition: opacity 0.5s ease-out;
|
||||
|
@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
$GLOBALS['egw_info']['template']['pixelegg']['name'] = 'pixelegg';
|
||||
$GLOBALS['egw_info']['template']['pixelegg']['title'] = 'Pixelegg';
|
||||
$GLOBALS['egw_info']['template']['pixelegg']['title'] = 'Standard';
|
||||
$GLOBALS['egw_info']['template']['pixelegg']['version'] = '16.1';
|
||||
|
||||
$GLOBALS['egw_info']['template']['pixelegg']['author'] = array(
|
||||
@ -25,6 +25,12 @@ $GLOBALS['egw_info']['template']['pixelegg']['maintainer'] = array(
|
||||
$GLOBALS['egw_info']['template']['pixelegg']['description'] = "Pixelegg is the new EGroupware 14.1 template using jQuery.";
|
||||
$GLOBALS['egw_info']['template']['pixelegg']['windowed'] = true;
|
||||
|
||||
// specify (different) labels for default themes
|
||||
$GLOBALS['egw_info']['template']['pixelegg']['themes'] = array(
|
||||
'pixelegg' => 'Standard',
|
||||
'mobile' => 'Compact',
|
||||
);
|
||||
|
||||
// Dependencies for this template to work
|
||||
$GLOBALS['egw_info']['template']['pixelegg']['depends'][] = array(
|
||||
'appname' => 'api',
|
||||
|
Loading…
Reference in New Issue
Block a user