Changeset 9120


Ignore:
Timestamp:
Feb 8, 2011, 5:46:52 PM (9 years ago)
Author:
flop25
Message:

adding tiptip for icons
language code in smarty tag changed -> I hate that change !!
ready to be in PEM

Location:
extensions/floOS/OS_default
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • extensions/floOS/OS_default/template/index.tpl

    r9108 r9120  
    11{$MENUBAR}
     2
    23{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
    34<div id="content" class="content">
     
    3637       
    3738                  {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>
    3940                  {/if}
    4041       
    4142                  {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>
    4344                  {/if}
    4445       
    4546                  {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>
    4748                  {/if}
    4849                 
    4950                  {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>
    5152                  {/if}
    5253                 
  • extensions/floOS/OS_default/template/menubar_categories.tpl

    r9108 r9120  
    11{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">
    33        <img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a>
    44{/if}
    55{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}"> 
    77        <img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a>
    88{/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}
    1014        <a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Categories'|@translate}</a>
    1115</dt>
  • extensions/floOS/OS_default/template/menubar_identification.tpl

    r9108 r9120  
    11
    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>
    38<dd>
    49        {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>
    27<dd>
    38        <ul>
  • extensions/floOS/OS_default/template/menubar_menu.tpl

    r9108 r9120  
    66                {/if}
    77    {/foreach}
    8       <li>
     8      <li id="form_search_menu" >
    99        {if isset($block->data.qsearch) and  $block->data.qsearch==true}
    1010    <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
     
    1616  {/if}
    1717        </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>
    1919
    2020        </ul>
  • extensions/floOS/OS_default/template/menubar_specials.tpl

    r9108 r9120  
    11
    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>
    38<dd>
    49  <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>
    27        <div id="menuTagCloud">
    38                {foreach from=$block->data item=tag}
  • extensions/floOS/OS_default/theme.css

    r9108 r9120  
    77  text-align: center; /* be nice to IE5 */
    88}
    9 body div.content {
     9body#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 {
    1010  margin-left: 20em !important;
    1111        margin-bottom: 1em !important;
    1212        margin-right: 1em !important;
     13        margin-top:1.9em !important;
     14}
     15body#thePopuphelpPage #theHeader {
     16        display:none;
    1317}
    1418#the_page {
     
    7680/** forms **/
    7781
    78 FORM { padding: 0em; }
     82FORM { padding: 0em; margin-top: 5px; }
    7983
    8084FORM P {
     
    328332margin:0;
    329333}
     334
    330335#theHeader {
    331336        margin: 0px;
     
    361366ul#Menu
    362367{
    363         height:22px;
     368        height:25px;
    364369        margin: 0;
    365370        list-style-type: none;
     
    375380        display: block;
    376381        margin:0 10px;
    377         height:22px;
     382        height:25px;
    378383}
    379384ul#Menu li a
     
    383388        font-size: 1em;
    384389        text-decoration: none;
     390}
     391#home_icon, #form_search_menu {
     392        float:right !important;
     393        margin-right:20px;
    385394}
    386395
     
    496505#imageToolBar IMG { margin: 2px auto; }
    497506#imageToolBar .randomButtons A { float: left; }
    498 #imageToolBar .navButtons    A { float: right; }
     507#imageToolBar .navButtons    A { float: right;  width:36px; }
    499508
    500509
  • extensions/floOS/OS_default/themeconf.inc.php

    r9108 r9120  
    11<?php
     2/*
     3Theme Name: OS_default
     4Version: 1.0.0
     5Description:
     6Theme URI: http://fr.piwigo.org/ext/extension_view.php?eid=497
     7Author: flop25
     8Author URI: http://www.planete-flop.fr
     9*/
    210$themeconf = array(
    311  'name'         => 'OS_default',
     
    715  'local_head'    => 'local_head.tpl',
    816  'activable' => false,
     17        'add_menu_on_public_pages'                      => true,        # activation
    918        'Exclude'                       => array('theNBMPage','thePicturePage','thePopuphelpPage',),    # Excluded pages
    1019);
     
    1625        function  add_menu_on_public_pages() {
    1726          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
    1828          global $template, $page, $conf;
    1929          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.