Changeset 3500
- Timestamp:
- 11/11/10 16:43:49 (13 years ago)
- Location:
- branches/2.2/phpgwapi/templates/default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/phpgwapi/templates/default/login.tpl
r3494 r3500 8 8 <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> 9 9 <META NAME="keywords" CONTENT="{website_title} login screen, eGroupWare, groupware, groupware suite"> 10 <link href="{login_css}" rel="stylesheet" type="text/css" /> 10 {login_css} 11 11 <TITLE>{website_title} - {lang_login}</TITLE> 12 12 <script language="Javascript"> -
branches/2.2/phpgwapi/templates/default/login_default.php
r3496 r3500 367 367 $tmpl->set_var('template_set', $template); 368 368 369 // if there is a login.css for the theme, use it 370 // otherwise use login.css from the template 371 $login_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/' . $template 372 . '/themes/' . $GLOBALS['phpgw_info']['user']['preferences']['common']['theme'] . '/login.css'; 373 if(!file_exists('./'.$login_css)) 374 { 375 $login_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/' .$template. '/login.css'; 369 // loads the template's login.css 370 // and then the theme's login.css (if any) 371 $template_dir = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/' . $template; 372 $login_dir = $template_dir . '/login.css'; 373 $login_css = "<link href='" . $login_dir . "' rel='stylesheet' type='text/css' />"; 374 $login_dir = $template_dir . '/themes/' . $GLOBALS['phpgw_info']['user']['preferences']['common']['theme'] . '/login.css'; 375 if(file_exists('./'.$login_dir)) 376 { 377 $login_css .= "<link href='" . $login_dir . "' rel='stylesheet' type='text/css' />"; 376 378 } 377 379 $tmpl->set_var('login_css',$login_css);
Note: See TracChangeset
for help on using the changeset viewer.