Changeset 10179
- Timestamp:
- Apr 9, 2011, 12:53:42 PM (13 years ago)
- Location:
- extensions/Mail_supervisor
- Files:
-
- 12 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Mail_supervisor/admin/header_2_1.tpl
r9702 r10179 2 2 {known_script id="jquery" src= $ROOT_URL|@cat:$path_js|@cat:"jquery.packed.js" } 3 3 {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:$path_js|@cat:"plugins/jquery.cluetip.packed.js" } 4 {known_script id="mail_script" src= $MAIL_SUPERV_PATH|@cat:"include/Scripts.js"}{/html_head} 4 {known_script id="mail_script" src= $MAIL_SUPERV_PATH|@cat:"include/Scripts.js"} 5 <link rel="stylesheet" type="text/css" href="{$MAIL_SUPERV_PATH}admin/{$theme}/theme.css" /> 6 7 {/html_head} 5 8 <input id="action_spam" name="action_spam" type="hidden" value="{$action_spam}" /> -
extensions/Mail_supervisor/admin/header_2_2.tpl
r10155 r10179 4 4 5 5 <input id="action_spam" name="action_spam" type="hidden" value="{$action_spam}" /> 6 {combine_css path= $MAIL_SUPERV_PATH|@cat:'admin/theme.css'} 6 {if $theme=='clear'}{combine_css path= $MAIL_SUPERV_PATH|@cat:'admin/clear/theme.css'}{/if} 7 {if $theme=='roma'}{combine_css path= $MAIL_SUPERV_PATH|@cat:'admin/roma/theme.css'}{/if} 8 {if $theme=='default'}{combine_css path= $MAIL_SUPERV_PATH|@cat:'admin/clear/theme.css'}{/if} 9 -
extensions/Mail_supervisor/mail_super.inc.php
r10093 r10179 47 47 static public function init() { 48 48 global $template,$version,$path_js,$icon_path; 49 50 $theme="default"; 51 49 52 if (PHPWG_VERSION < 2.2 ) { 50 53 $file =MAIL_SUPERV_PATH_ABS.'admin/header_2_1.tpl' ; 51 54 if (PHPWG_VERSION < 2.0 ) $path_js = "template-common/lib/"; 52 55 else $path_js= 'themes/default/js/' ; 56 $themeconf=$template->get_template_vars('themeconf'); 57 $theme=$themeconf['id']; 58 53 59 } else { 60 $themeconf=$template->get_template_vars('themeconf'); 61 $theme=$themeconf['id']; 54 62 $file =MAIL_SUPERV_PATH_ABS.'admin/header_2_2.tpl' ; 55 63 $path_js= 'themes/default/js/' ; … … 60 68 unset ($_SESSION['pwg_'.'action_spam']); 61 69 } 70 62 71 63 72 $template->set_filenames(array('mail_superv_init'=> $file )); 64 73 if (file_exists ( 'admin/themes/clear/icon/help.png')) $icon_path = 'themes/default/icon/help.png'; 65 74 else $icon_path = "admin/template/goto/theme/clear/icon/help.png"; 66 $template->assign( 67 array(' version' => $version,75 $template->assign( 76 array('theme' => $theme,'version' => $version, 68 77 'PHPWG_VERSION' => PHPWG_VERSION , 69 78 'MAIL_SUPERV_PATH' => MAIL_SUPERV_PATH ,
Note: See TracChangeset
for help on using the changeset viewer.