Changeset 9120
- Timestamp:
- Feb 8, 2011, 5:46:52 PM (13 years ago)
- Location:
- extensions/floOS/OS_default
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/floOS/OS_default/template/index.tpl
r9108 r9120 1 1 {$MENUBAR} 2 2 3 {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} 3 4 <div id="content" class="content"> … … 36 37 37 38 {if isset($U_MODE_FLAT) } 38 <li><a href="{$U_MODE_FLAT}" title="{' mode_flat_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'mode_flat_hint'|@translate}" /></a></li>39 <li><a href="{$U_MODE_FLAT}" title="{'display all elements in all sub-categories'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'display all elements in all sub-categories'|@translate}" /></a></li> 39 40 {/if} 40 41 41 42 {if isset($U_MODE_NORMAL) } 42 <li><a href="{$U_MODE_NORMAL}" title="{' mode_normal_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'mode_normal_hint'|@translate}" /></a></li>43 <li><a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'return to normal view mode'|@translate}" /></a></li> 43 44 {/if} 44 45 45 46 {if isset($U_MODE_POSTED) } 46 <li><a href="{$U_MODE_POSTED}" title="{' mode_posted_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'mode_posted_hint'|@translate}" /></a></li>47 <li><a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'display a calendar by posted date'|@translate}" /></a></li> 47 48 {/if} 48 49 49 50 {if isset($U_MODE_CREATED) } 50 <li><a href="{$U_MODE_CREATED}" title="{' mode_created_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'mode_created_hint'|@translate}" /></a></li>51 <li><a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'display a calendar by creation date'|@translate}" /></a></li> 51 52 {/if} 52 53 -
extensions/floOS/OS_default/template/menubar_categories.tpl
r9108 r9120 1 1 {if isset($U_START_FILTER)} 2 <a href="{$U_START_FILTER}" title="{' start_filter_hint'|@translate}" rel="nofollow">2 <a href="{$U_START_FILTER}" title="{'display only recently posted images'|@translate}" rel="nofollow"> 3 3 <img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a> 4 4 {/if} 5 5 {if isset($U_STOP_FILTER)} 6 <a href="{$U_STOP_FILTER}" title="{' stop_filter_hint'|@translate}">6 <a href="{$U_STOP_FILTER}" title="{'return to the display of all images'|@translate}"> 7 7 <img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a> 8 8 {/if} 9 <dt class="{$tab_cat}titre_acordeon_0"> 9 {if isset($tab_system) && $tab_system && in_array($id, $tab_closed)} 10 <dt class="titre_acordeon"> 11 {else} 12 <dt class="titre_acordeon_0"> 13 {/if} 10 14 <a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Categories'|@translate}</a> 11 15 </dt> -
extensions/floOS/OS_default/template/menubar_identification.tpl
r9108 r9120 1 1 2 <dt class="{$tab_identif}titre_acordeon"><a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Identification'|@translate}</a></dt> 2 {if isset($tab_system) && $tab_system && in_array($id, $tab_closed)} 3 <dt class="titre_acordeon"> 4 {else} 5 <dt class="titre_acordeon_0"> 6 {/if} 7 <a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Identification'|@translate}</a></dt> 3 8 <dd> 4 9 {if isset($USERNAME)} -
extensions/floOS/OS_default/template/menubar_links.tpl
r9108 r9120 1 <dt class="{$tab_links}titre_acordeon"><a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Links'|@translate}</a></dt> 1 {if isset($tab_system) && $tab_system && in_array($id, $tab_closed)} 2 <dt class="titre_acordeon"> 3 {else} 4 <dt class="titre_acordeon_0"> 5 {/if} 6 <a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Links'|@translate}</a></dt> 2 7 <dd> 3 8 <ul> -
extensions/floOS/OS_default/template/menubar_menu.tpl
r9108 r9120 6 6 {/if} 7 7 {/foreach} 8 <li >8 <li id="form_search_menu" > 9 9 {if isset($block->data.qsearch) and $block->data.qsearch==true} 10 10 <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;"> … … 16 16 {/if} 17 17 </li> 18 <li ><a href="{$myblock->data.U_CATEGORIES}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>18 <li id="home_icon" ><a href="{$myblock->data.U_CATEGORIES}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> 19 19 20 20 </ul> -
extensions/floOS/OS_default/template/menubar_specials.tpl
r9108 r9120 1 1 2 <dt class="{$tab_spe}titre_acordeon"><a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Specials'|@translate}</a></dt> 2 {if isset($tab_system) && $tab_system && in_array($id, $tab_closed)} 3 <dt class="titre_acordeon"> 4 {else} 5 <dt class="titre_acordeon_0"> 6 {/if} 7 <a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Specials'|@translate}</a></dt> 3 8 <dd> 4 9 <ul> -
extensions/floOS/OS_default/template/menubar_tags.tpl
r9108 r9120 1 dt class="{$tab_tag}titre_acordeon"><a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Related tags'|@translate}</a></dt><dd> 1 {if isset($tab_system) && $tab_system && in_array($id, $tab_closed)} 2 <dt class="titre_acordeon"> 3 {else} 4 <dt class="titre_acordeon_0"> 5 {/if} 6 <a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Related tags'|@translate}</a></dt><dd> 2 7 <div id="menuTagCloud"> 3 8 {foreach from=$block->data item=tag} -
extensions/floOS/OS_default/theme.css
r9108 r9120 7 7 text-align: center; /* be nice to IE5 */ 8 8 } 9 body div.content {9 body#theCommentsPage .content, body#theUploadPage .content, body#theRegisterPage .content, body#theIdentificationPage .content, body#theProfilePage .content, body#theSearchPage .content, body#theAboutPage .content, body#thePasswordPage .content, body#theNotificationPage .content, body#theTagsPage .content { 10 10 margin-left: 20em !important; 11 11 margin-bottom: 1em !important; 12 12 margin-right: 1em !important; 13 margin-top:1.9em !important; 14 } 15 body#thePopuphelpPage #theHeader { 16 display:none; 13 17 } 14 18 #the_page { … … 76 80 /** forms **/ 77 81 78 FORM { padding: 0em; }82 FORM { padding: 0em; margin-top: 5px; } 79 83 80 84 FORM P { … … 328 332 margin:0; 329 333 } 334 330 335 #theHeader { 331 336 margin: 0px; … … 361 366 ul#Menu 362 367 { 363 height:2 2px;368 height:25px; 364 369 margin: 0; 365 370 list-style-type: none; … … 375 380 display: block; 376 381 margin:0 10px; 377 height:2 2px;382 height:25px; 378 383 } 379 384 ul#Menu li a … … 383 388 font-size: 1em; 384 389 text-decoration: none; 390 } 391 #home_icon, #form_search_menu { 392 float:right !important; 393 margin-right:20px; 385 394 } 386 395 … … 496 505 #imageToolBar IMG { margin: 2px auto; } 497 506 #imageToolBar .randomButtons A { float: left; } 498 #imageToolBar .navButtons A { float: right; }507 #imageToolBar .navButtons A { float: right; width:36px; } 499 508 500 509 -
extensions/floOS/OS_default/themeconf.inc.php
r9108 r9120 1 1 <?php 2 /* 3 Theme Name: OS_default 4 Version: 1.0.0 5 Description: 6 Theme URI: http://fr.piwigo.org/ext/extension_view.php?eid=497 7 Author: flop25 8 Author URI: http://www.planete-flop.fr 9 */ 2 10 $themeconf = array( 3 11 'name' => 'OS_default', … … 7 15 'local_head' => 'local_head.tpl', 8 16 'activable' => false, 17 'add_menu_on_public_pages' => true, # activation 9 18 'Exclude' => array('theNBMPage','thePicturePage','thePopuphelpPage',), # Excluded pages 10 19 ); … … 16 25 function add_menu_on_public_pages() { 17 26 if ( function_exists( 'initialize_menu') ) return false; # The current page has already the menu 27 if ( !get_themeconf('add_menu_on_public_pages') ) return false; # The current page has already the menu 18 28 global $template, $page, $conf; 19 29 if ( isset($page['body_id']) and in_array($page['body_id'], get_themeconf('Exclude')) ) return false;
Note: See TracChangeset
for help on using the changeset viewer.