Changeset 3617 for extensions
- Timestamp:
- Jul 17, 2009, 10:54:44 AM (15 years ago)
- Location:
- extensions/floOs
- Files:
-
- 10 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/floOs/default-colors.css
r3334 r3617 1 /* $Id: default-colors.css 2352 2008-05-20 00:27:26Z patdenice $ */2 3 1 /* others */ 4 2 -
extensions/floOs/default-layout.css
r3334 r3617 1 /* $Id: default-layout.css 2396 2008-06-23 23:40:55Z rvelices $ */2 @import "admin/default-layout.css";3 1 4 2 BODY { -
extensions/floOs/header.tpl
r3334 r3617 1 {* $Id: header.tpl 2381 2008-06-01 19:19:46Z vdigital $ *} 2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 3 "http://www.w3.org/TR/html4/strict.dtd"> 4 <html lang="{$LANG}" dir="{$DIR}"> 1 {* $Id: header.tpl $ *} 2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 3 <html lang="{$lang_info.code}" dir="{$lang_info.direction}"> 5 4 <head> 6 5 <meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"> 7 6 <meta name="generator" content="Piwigo (aka PWG), see piwigo.org"> 8 <title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title> 7 {if isset($meta_ref) } 8 {if isset($INFO_AUTHOR)} 9 <meta name="author" content="{$INFO_AUTHOR|@replace:'"':' '}"> 10 {/if} 11 {if isset($related_tags)} 12 <meta name="keywords" content="{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}"> 13 {/if} 14 {if isset($COMMENT_IMG)} 15 <meta name="description" content="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}"> 16 {else} 17 <meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}"> 18 {/if} 19 {/if} 20 21 {if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('home'))} 22 <title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else} 23 <title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if} 9 24 <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}template-common/favicon.ico"> 10 25 … … 23 38 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/fix-ie5-ie6.css"> 24 39 <![endif]--> 25 <!--[if gt IE 6]>40 <!--[if IE 7]> 26 41 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/fix-ie7.css"> 27 42 <![endif]--> … … 30 45 <!--> <![endif]--> 31 46 <link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}template/{$themeconf.template}/print.css"> 32 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/default-colors.css">33 47 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css"> 34 48 {$themeconf.local_head} … … 50 64 <![endif]--> 51 65 52 53 66 {if not empty($head_elements)} 54 {foreach from=$head_elements item=elt}{$elt}{/foreach} 67 {foreach from=$head_elements item=elt}{$elt} 68 {/foreach} 55 69 {/if} 56 70 … … 59 73 <body id="{$BODY_ID}"> 60 74 <div id="the_page"> 75 {php} 76 if (is_admin() and !(pwg_get_session_var('floOS_array_version')) and !(pwg_get_session_var('floOS_checked_version')) ) 77 { 78 global $template, $page; 79 $header_msgs = array(); 80 $name_is_nutd = array(); 81 include_once(PHPWG_ROOT_PATH.'template/floOS/tools/version.conf.php'); 82 include_once(PHPWG_ROOT_PATH.'template/floOS/tools/floOS.class.php'); 83 load_language('template.lang', PHPWG_ROOT_PATH.'template/floOS/tools/'); 84 $floOS = new floOS(); 85 if( $floOS->is_not_up_to_date($floOS_conf['version'], '135') ) 86 { 87 $template->append('header_msgs', l10n('floOS_update_needed')); 88 $name_is_nutd['floOS']=$floOS_conf['version']; 89 } 90 $floOS->theme_version_search(PHPWG_ROOT_PATH.'template/floOS/theme'); 91 $name_is_nutd= $name_is_nutd + $floOS->is_nutd; 92 pwg_set_session_var('floOS_array_version',$name_is_nutd); 93 pwg_set_session_var('floOS_checked_version', true); 94 } 95 else if (is_admin() and pwg_get_session_var('floOS_array_version') ) 96 { 61 97 98 global $template; 99 $header_msgs = array(); 100 include_once(PHPWG_ROOT_PATH.'template/floOS/tools/floOS.class.php'); 101 load_language('template.lang', PHPWG_ROOT_PATH.'template/floOS/tools/'); 102 $floOS = new floOS(); 103 $floOS->display(pwg_get_session_var('floOS_array_version')); 104 } 105 //pwg_unset_session_var('floOS_checked_version'); 106 {/php} 107 {$erreur} 62 108 {if not empty($header_msgs)} 63 109 <div class="header_msgs"> … … 68 114 {/if} 69 115 70 {if not empty($PAGE_BANNER) or isset($pwgmenu) or not empty($header_notes)} 71 <div id="theHeader"> 72 {$PAGE_BANNER} 73 {if isset($pwgmenu)} 74 <ul class="pwgmenu"> 75 <li><a href="{$pwgmenu.WIKI}" onclick="window.open(this.href, ''); return false;"><span class="bg">{'WIKI / DOC'|@translate}</span></a></li> 76 <li><a href="{$pwgmenu.FORUM}" onclick="window.open(this.href, ''); return false;"><span class="bg">{'FORUM'|@translate}</span></a></li> 77 </ul> 78 {/if} 116 117 <div id="theHeader">{$PAGE_BANNER}</div> 118 {if isset($theSwiftHeader)}{$theSwiftHeader}{/if} 79 119 {if not empty($header_notes)} 80 120 <div class="header_notes"> … … 84 124 </div> 85 125 {/if} 86 </div>87 {/if}
Note: See TracChangeset
for help on using the changeset viewer.