Ignore:
Timestamp:
Jan 28, 2012, 6:45:06 PM (12 years ago)
Author:
Zaphod
Message:

version 2.1.0

Location:
extensions/stripped/template
Files:
29 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/template/about.tpl

    r9134 r12960  
    55<div class="titrePage">
    66        <div class="browsePath">
    7                 <h2><a href="{$U_HOME}" title="{'return to homepage'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'About'|@translate}</h2>
     7                <h2>
     8                        {if isset($MENUBAR)}
     9                                <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
     10                        {/if}
     11                        <a href="{$U_HOME}">{'Home'|@translate}</a>
     12                        {$LEVEL_SEPARATOR}{'About'|@translate}
     13                </h2>
    814        </div>
    915</div>
    1016<div id="content">
    11         <div id="piwigoAbout">
    12                 {$ABOUT_MESSAGE}
    13                 {if isset($THEME_ABOUT) }
    14                         <ul>
    15                                 <li>{$THEME_ABOUT}</li>
    16                         </ul>
    17                 {/if}
     17        {if isset($MENUBAR)}{$MENUBAR}{/if}
     18        <div id="content_cell">
     19                <div id="piwigoAbout" class="content_block">
     20                        {$ABOUT_MESSAGE}
     21                        {if isset($THEME_ABOUT) }
     22                                <ul>
     23                                        <li>{$THEME_ABOUT}</li>
     24                                </ul>
     25                        {/if}
     26                        {if not empty($about_msgs)}
     27                                {foreach from=$about_msgs item=elt}
     28                                        {$elt}
     29                                {/foreach}
     30                        {/if}
     31                </div>
    1832        </div>
     33        <div style="clear: both;"></div>
    1934</div>
  • extensions/stripped/template/comment_list.tpl

    r12659 r12960  
    99                        {/if}
    1010                        <div class="description">
    11                         {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) }
    12                                 <div class="actions">
    13                                         {if isset($comment.U_DELETE)}
    14                                                 <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
    15                                                         [{'Delete'|@translate}]
    16                                                 </a>
    17                                         {/if}
    18                                         {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
    19                                                 <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">
    20                                                         [{'edit'|@translate}]
    21                                                 </a>
    22                                         {/if}
    23                                         {if isset($comment.U_VALIDATE)}
    24                                                 <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}">
    25                                                         [{'validate'|@translate}]
    26                                                 </a>
    27                                         {/if}
    28                                 </div>
    29                         {/if}
    30                         <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
     11                                {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) }
     12                                        <div class="actions">
     13                                                {if isset($comment.U_DELETE)}
     14                                                        <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
     15                                                                [{'Delete'|@translate}]
     16                                                        </a>
     17                                                {/if}
     18                                                {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
     19                                                        <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">
     20                                                                [{'edit'|@translate}]
     21                                                        </a>
     22                                                {/if}
     23                                                {if isset($comment.U_VALIDATE)}
     24                                                        <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}">
     25                                                                [{'validate'|@translate}]
     26                                                        </a>
     27                                                {/if}
     28                                        </div>
     29                                {/if}
     30                                <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
    3131                                {if isset($comment.IN_EDIT)}
    3232                                        <a name="edit_comment"></a>
  • extensions/stripped/template/comments.tpl

    r12659 r12960  
    66<div class="titrePage">
    77        <div class="browsePath">
    8                 <h2><a href="{$U_HOME}" title="{'Home'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'User comments'|@translate}</h2>
     8                <h2>
     9                        {if isset($MENUBAR)}
     10                                <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
     11                        {/if}
     12                        <a href="{$U_HOME}">{'Home'|@translate}</a>
     13                        {$LEVEL_SEPARATOR}{'User comments'|@translate}
     14                </h2>
    915        </div>
    1016</div>
    1117<div id="content">
    12         <form class="filter" action="{$F_ACTION}" method="get">
    13                 <fieldset>
    14                         <legend>{'Filter'|@translate}</legend>
    15                         <label>{'Keyword'|@translate}&nbsp;<input type="text" name="keyword" value="{$F_KEYWORD}">&nbsp;&nbsp;</label>
    16                         <label>{'Author'|@translate}&nbsp;<input type="text" name="author" value="{$F_AUTHOR}">&nbsp;&nbsp;</label>
    17                         <label>
    18                                 {'Album'|@translate}
    19                                 <select name="cat">
    20                                         <option value="0">------------</option>
    21                                         {html_options options=$categories selected=$categories_selected}
    22                                 </select>&nbsp;
    23                         </label>
    24                         <label>
    25                                 {'Since'|@translate}
    26                                 <select name="since">
    27                                         {html_options options=$since_options selected=$since_options_selected}
    28                                 </select>
    29                         </label>
    30                 </fieldset>
    31                 <fieldset>
    32                         <legend>{'Display'|@translate}</legend>
    33                         <label>
    34                                 {'Sort by'|@translate}
    35                                 <select name="sort_by">
    36                                         {html_options options=$sort_by_options selected=$sort_by_options_selected}
    37                                 </select>&nbsp;
    38                         </label>
    39                         <label>
    40                                 {'Sort order'|@translate}
    41                                 <select name="sort_order">
    42                                         {html_options options=$sort_order_options selected=$sort_order_options_selected}
    43                                 </select>&nbsp;
    44                         </label>
    45                         <label>
    46                                 {'Number of items'|@translate}
    47                                 <select name="items_number">
    48                                         {html_options options=$item_number_options selected=$item_number_options_selected}
    49                                 </select>
    50                         </label>
    51                 </fieldset>
    52                 <p><input class="submit" type="submit" value="{'Filter and display'|@translate}"></p>
    53         </form>
    54         {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    55         {if isset($comments)}
    56                 <div id="comments">
    57                         {include file='comment_list.tpl'}
     18        {if isset($MENUBAR)}{$MENUBAR}{/if}
     19        <div id="content_cell">
     20                <div class="content_block">
     21                        <form class="filter" action="{$F_ACTION}" method="get">
     22                                <fieldset>
     23                                        <legend>{'Filter'|@translate}</legend>
     24                                        <label>{'Keyword'|@translate}&nbsp;<input type="text" name="keyword" value="{$F_KEYWORD}">&nbsp;&nbsp;</label>
     25                                        <label>{'Author'|@translate}&nbsp;<input type="text" name="author" value="{$F_AUTHOR}">&nbsp;&nbsp;</label>
     26                                        <label>
     27                                                {'Album'|@translate}
     28                                                <select name="cat">
     29                                                        <option value="0">------------</option>
     30                                                        {html_options options=$categories selected=$categories_selected}
     31                                                </select>&nbsp;
     32                                        </label>
     33                                        <label>
     34                                                {'Since'|@translate}
     35                                                <select name="since">
     36                                                        {html_options options=$since_options selected=$since_options_selected}
     37                                                </select>
     38                                        </label>
     39                                </fieldset>
     40                                <fieldset>
     41                                        <legend>{'Display'|@translate}</legend>
     42                                        <label>
     43                                                {'Sort by'|@translate}
     44                                                <select name="sort_by">
     45                                                        {html_options options=$sort_by_options selected=$sort_by_options_selected}
     46                                                </select>&nbsp;
     47                                        </label>
     48                                        <label>
     49                                                {'Sort order'|@translate}
     50                                                <select name="sort_order">
     51                                                        {html_options options=$sort_order_options selected=$sort_order_options_selected}
     52                                                </select>&nbsp;
     53                                        </label>
     54                                        <label>
     55                                                {'Number of items'|@translate}
     56                                                <select name="items_number">
     57                                                        {html_options options=$item_number_options selected=$item_number_options_selected}
     58                                                </select>
     59                                        </label>
     60                                </fieldset>
     61                                <p><input class="submit" type="submit" value="{'Filter and display'|@translate}"></p>
     62                        </form>
     63                        {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
     64                        {if isset($comments)}
     65                                <div id="comments">
     66                                        {include file='comment_list.tpl'}
     67                                </div>
     68                        {/if}
    5869                </div>
    59         {/if}
     70        </div>
    6071</div> <!-- content -->
  • extensions/stripped/template/config.js.tpl

    r12547 r12960  
    77        imageAutosizeMargin:{$stripped.imageAutosizeMargin},
    88        imageAutosizeMinHeight:{$stripped.imageAutosizeMinHeight},
    9 {if $BODY_ID=='theCategoryPage'}
    10         animatedMenu:{if $stripped.animatedMenu}true{else}false{/if}
    11 {/if}
    129{if $BODY_ID=='thePicturePage'}
    1310        themeStyle:"{$stripped.themeStyle}",
     
    1916        highResClickMode:"{$stripped.highResClickMode}",
    2017        navArrows:{if $stripped.navArrows}true{else}false{/if}
     18{else}
     19        animatedMenu:{if $stripped.animatedMenu}true{else}false{/if}
    2120{/if}
    2221{literal}
  • extensions/stripped/template/footer.tpl

    r12547 r12960  
    1 <div id="footer">
    2         <div id="footer_left">
    3                
    4                 <a name="EoP"></a> <!-- End of Page -->
    5                
    6                 {if isset($USERNAME)}
    7                         <div class="footer_login">
    8                                 {if isset($U_PROFILE)}
    9                                          <div class="footer_customize">
    10                                                 [<a href="{$U_PROFILE}" title="{'customize the appareance of the gallery'|@translate}">{$USERNAME}</a>]&nbsp;
    11                                         </div>
    12                                 {else}
    13                                         [{$USERNAME}]&nbsp;
    14                                 {/if}
     1                        <div id="footer">
     2                                <div id="footer_left">
     3                                        {if isset($USERNAME)}
     4                                                <div class="footer_login">
     5                                                        {if isset($U_PROFILE)}
     6                                                                <div class="footer_customize">
     7                                                                        [<a href="{$U_PROFILE}" title="{'customize the appareance of the gallery'|@translate}">{$USERNAME}</a>]&nbsp;
     8                                                                </div>
     9                                                        {else}
     10                                                                [{$USERNAME}]&nbsp;
     11                                                        {/if}
     12                                                </div>
     13                                        {/if}
     14
     15                                        {if isset($U_LOGIN)}
     16                                                <a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a>
     17                                        {/if}
     18
     19                                        {if (isset($U_LOGIN) && isset($U_REGISTER))}-{/if}
     20                                       
     21                                        {if isset($U_REGISTER)}
     22                                                <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a>
     23                                        {/if}
     24
     25                                        {if isset($U_LOGOUT)}
     26                                                <a href="{$U_LOGOUT}">{'Logout'|@translate}</a>
     27                                        {/if}
     28
     29                                        {if (isset($U_LOGOUT) && isset($U_ADMIN))}-{/if}
     30
     31                                        {if isset($U_ADMIN)}
     32                                                <a href="{$U_ADMIN}" title="{'available for administrators only'|@translate}">{'Administration'|@translate}</a>
     33                                        {/if}
     34
     35                                        {get_combined_scripts load='footer'}
     36
     37                                        {if isset($footer_elements)}
     38                                                {foreach from=$footer_elements item=v}
     39                                                        {$v}
     40                                                {/foreach}
     41                                        {/if}
     42                                </div>
     43                               
     44                                <div id="copyright">
     45                                        {*
     46                                                Please, do not remove this copyright. If you really want to,
     47                                                                contact us on http://piwigo.org to find a solution on how
     48                                                                to show the origin of the script...
     49                                        *}
     50                                        {'Powered by'|@translate}
     51                                        <a href="{$PHPWG_URL}" class="Piwigo"><span class="Piwigo">Piwigo</span></a>
     52                                        {$VERSION}
     53
     54                                        {if isset($CONTACT_MAIL)}
     55                                                 - {'Contact'|@translate}
     56                                                <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Webmaster'|@translate} </a>
     57                                        {/if}
     58
     59                                        {if isset($debug.TIME) }
     60                                         - {'Page generated in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME})
     61                                        {/if}
     62                                </div>{* copyright *}
     63                        </div>
     64                </div>{* the_page *}
     65                {if isset($debug.QUERIES_LIST)}
     66                        <div id="debug">
     67                                {$debug.QUERIES_LIST}
    1568                        </div>
    1669                {/if}
    17 
    18                 {if isset($U_LOGIN)}
    19                         <a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a>
    20                 {/if}
    21 
    22                 {if (isset($U_LOGIN) && isset($U_REGISTER))}-{/if}
    23                
    24                 {if isset($U_REGISTER)}
    25                         <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a>
    26                 {/if}
    27 
    28                 {if isset($U_LOGOUT)}
    29                         <a href="{$U_LOGOUT}">{'Logout'|@translate}</a>
    30                 {/if}
    31 
    32                 {if (isset($U_LOGOUT) && isset($U_ADMIN))}-{/if}
    33 
    34                 {if isset($U_ADMIN)}
    35                         <a href="{$U_ADMIN}" title="{'available for administrators only'|@translate}">{'Administration'|@translate}</a>
    36                 {/if}
    37 
    38         </div>
    39 
    40         {get_combined_scripts load='footer'}
    41 
    42         {if isset($footer_elements)}
    43         {foreach from=$footer_elements item=v}
    44         {$v}
    45         {/foreach}
    46         {/if}
    47        
    48         <div id="copyright">
    49          {* Please, do not remove this copyright. If you really want to,
    50                   contact us on http://piwigo.org to find a solution on how
    51                   to show the origin of the script...
    52           *}
    53 
    54           {'Powered by'|@translate}
    55           <a href="{$PHPWG_URL}" class="Piwigo">
    56           <span class="Piwigo">Piwigo</span></a>
    57           {$VERSION}
    58 
    59           {if isset($CONTACT_MAIL)}
    60           {'Contact'|@translate}
    61           <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">- {'Webmaster'|@translate} </a>
    62           {/if}
    63 
    64           {if isset($debug.TIME) }
    65          - {'Page generated in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME})
    66          {/if}
    67 
    68 
    69         </div>
    70 </div>
    71 </div><!-- the_page -->
    72 {if isset($debug.QUERIES_LIST)}
    73 <div id="debug">
    74 {$debug.QUERIES_LIST}
    75 </div>
    76 {/if}
    77 </body>
     70        </body>
    7871</html>
  • extensions/stripped/template/header.tpl

    r12547 r12960  
    5656</head>
    5757
    58 <body id="{$BODY_ID}">
     58<body id="{$BODY_ID}" class={strip}"
     59        {if !$stripped.thumbFrame} ntf{/if}
     60        {if !$stripped.albumFrame} naf{/if}
     61        {if ($stripped.albumType == 'small')} ats{else} atd{/if}
     62        {if ($stripped.albumType == '1perline')} at1{/if}
     63        {if ($stripped.albumType == '2perline')} at2{/if}
     64        {if ($stripped.albumType == '3perline')} at3{/if}
     65"{/strip}>
    5966<div id="the_page">
    6067
  • extensions/stripped/template/identification.tpl

    r9134 r12960  
    33        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
    44{/php}
     5
    56<div class="titrePage">
    67        <div class="browsePath">
    7                 <h2><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Identification'|@translate}</h2>
     8                <h2>
     9                        {if isset($MENUBAR)}
     10                                <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
     11                        {/if}
     12                        <a href="{$U_HOME}">{'Home'|@translate}</a>
     13                        {$LEVEL_SEPARATOR}{'Identification'|@translate}
     14                </h2>
    815        </div>
    916</div>
    1017<div id="content">
    11         {if isset($errors) }
    12                 <div class="errors">
    13                         <ul>
    14                                 {foreach from=$errors item=error}
    15                                         <li>{$error}</li>
    16                                 {/foreach}
    17                         </ul>
     18        {if isset($MENUBAR)}{$MENUBAR}{/if}
     19        <div id="content_cell">
     20                <div class="content_block">
     21                        {if isset($errors) }
     22                                <div class="errors">
     23                                        <ul>
     24                                                {foreach from=$errors item=error}
     25                                                        <li>{$error}</li>
     26                                                {/foreach}
     27                                        </ul>
     28                                </div>
     29                        {/if}
     30                        <form action="{$F_LOGIN_ACTION}" method="post" name="login_form">
     31                                <fieldset>
     32                                        <legend>{'Connection settings'|@translate}</legend>
     33                                        <input type="hidden" name="redirect" value="{$U_REDIRECT|urlencode}">
     34                                        <ul>
     35                                                <li>
     36                                                        <span class="property">
     37                                                                <label for="username">{'Username'|@translate}</label>
     38                                                        </span>
     39                                                        <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40">
     40                                                </li>
     41                                                <li>
     42                                                        <span class="property">
     43                                                                <label for="password">{'Password'|@translate}</label>
     44                                                        </span>
     45                                                        <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25">
     46                                                </li>
     47                                                {if $authorize_remembering }
     48                                                        <li>
     49                                                                <span class="property">
     50                                                                        <label for="Auto login">{'Auto login'|@translate}</label>
     51                                                                </span>
     52                                                                <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1">
     53                                                        </li>
     54                                                {/if}
     55                                        </ul>
     56                                </fieldset>
     57                                <p><input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}"></p>
     58                                <p>
     59                                        {if isset($U_REGISTER) }
     60                                                <a href="{$U_REGISTER}" title="{'Register'|@translate}">{'Register'|@translate}</a>&nbsp;-
     61                                        {/if}
     62                                        <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}">{'Forgot your password?'|@translate}</a>
     63                                </p>
     64                        </form>
     65                        <script type="text/javascript">
     66                                <!--
     67                                document.login_form.username.focus();
     68                                //-->
     69                        </script>
    1870                </div>
    19         {/if}
    20         <form action="{$F_LOGIN_ACTION}" method="post" name="login_form">
    21                 <fieldset>
    22                         <legend>{'Connection settings'|@translate}</legend>
    23                         <input type="hidden" name="redirect" value="{$U_REDIRECT|urlencode}">
    24                         <ul>
    25                                 <li>
    26                                         <span class="property">
    27                                                 <label for="username">{'Username'|@translate}</label>
    28                                         </span>
    29                                         <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40">
    30                                 </li>
    31                                 <li>
    32                                         <span class="property">
    33                                                 <label for="password">{'Password'|@translate}</label>
    34                                         </span>
    35                                         <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25">
    36                                 </li>
    37                                 {if $authorize_remembering }
    38                                         <li>
    39                                                 <span class="property">
    40                                                         <label for="Auto login">{'Auto login'|@translate}</label>
    41                                                 </span>
    42                                                 <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1">
    43                                         </li>
    44                                 {/if}
    45                         </ul>
    46                 </fieldset>
    47                 <p><input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}"></p>
    48                 <p>
    49                         {if isset($U_REGISTER) }
    50                                 <a href="{$U_REGISTER}" title="{'Register'|@translate}">{'Register'|@translate}</a>&nbsp;-
    51                         {/if}
    52                         <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}">{'Forgot your password?'|@translate}</a>
    53                 </p>
    54         </form>
    55         <script type="text/javascript">
    56                 <!--
    57                 document.login_form.username.focus();
    58                 //-->
    59         </script>
     71        </div>
    6072</div> <!-- content -->
  • extensions/stripped/template/index.tpl

    r12547 r12960  
    1313                        <ul class="categoryActions group1">
    1414                                {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
     15                                {if isset($U_SEARCH_RULES)}
     16                                        {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
     17                                        <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow">{'Help'|@translate}</a></li>
     18                                {/if}
    1519                                {if isset($U_SLIDESHOW)}
    1620                                        <li class="mainAction"><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li>
  • extensions/stripped/template/mainpage_categories.tpl

    r12153 r12960  
     1{php}
     2        global $stripped;
     3        $this->assign( 'stripped', $stripped );
     4{/php}
    15<ul class="thumbnailCategories">
    2   {foreach from=$category_thumbnails item=cat}
    3   <li>
     6  {foreach from=$category_thumbnails item=cat name=catloop}
     7  <li class="odd{if ($smarty.foreach.catloop.iteration-1) % 2 == 0}0{else}1{/if}" {if ($stripped.albumFrame)}onclick="window.location='{$cat.URL}';"{/if}>
    48        <div class="thumbnailCategory">
    59                <div class="illustration">
     
    1216                                <a href="{$cat.URL}">{$cat.NAME}</a>
    1317                                {if !empty($cat.icon_ts)}
    14                                 <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent_album{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)">
     18                                <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)">
    1519                                {/if}
    1620                        </h3>
    17                         <div class="text">
     21                        <div class="text" {if !$stripped.albumFrame}onclick="window.location='{$cat.URL}';"{/if}>
    1822                                  {if isset($cat.INFO_DATES) }
    19                                   <p class="thumbCatDescNfoDate">{$cat.INFO_DATES}</p>
     23                                  <p class="dates">{$cat.INFO_DATES}</p>
    2024                                  {/if}
    21                                   <p class="thumbCatDescNbImg">{$cat.CAPTION_NB_IMAGES}</p>
     25                                  <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
    2226                                  {if not empty($cat.DESCRIPTION)}
    23                                   <p class="thumbCatDesc">{$cat.DESCRIPTION}</p>
     27                                  <p>{$cat.DESCRIPTION}</p>
    2428                                  {/if}
    2529                        </div>
  • extensions/stripped/template/menubar.tpl

    r11531 r12960  
    22<div id="menubar">
    33        {foreach from=$blocks key=id item=block}
    4                 {if ( not empty($block->template) or not empty($block->raw_content) )}
    5                         <dl id="{$id}">
    6                                 {if not empty($block->template)}
    7                                         {include file=$block->template|@get_extent:$id }
    8                                 {else}
    9                                         {$block->raw_content}
    10                                 {/if}
    11                         </dl>
     4        <dl id="{$id}">
     5                {if not empty($block->template)}
     6                        {include file=$block->template|@get_extent:$id }
     7                {else}
     8                        {$block->raw_content}
    129                {/if}
     10        </dl>
    1311        {/foreach}
    1412</div>
  • extensions/stripped/template/menubar_categories.tpl

    r9960 r12960  
    33</dt>
    44<dd>
    5 {assign var='ref_level' value=0}
    6 {foreach from=$block->data.MENU_CATEGORIES item=cat}
    7   {if $cat.LEVEL > $ref_level}
    8   <ul>
    9   {else}
    10     </li>
    11     {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}
    12   {/if}
    13     <li {if $cat.SELECTED}class="selected"{/if}>
    14       <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a>
    15       {if !empty($cat.icon_ts)}
    16       <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)">
    17       {/if}
    18       {if $cat.count_images > 0}
    19       <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span>
    20       {/if}
    21   {assign var='ref_level' value=$cat.LEVEL}
    22 {/foreach}
    23 {'</li></ul>'|@str_repeat:$ref_level}
     5        {assign var='ref_level' value=0}
     6        {foreach from=$block->data.MENU_CATEGORIES item=cat}
     7                {if $cat.LEVEL > $ref_level}
     8                        <ul>
     9                {else}
     10                        </li>
     11                        {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}
     12                {/if}
     13                <li {if $cat.SELECTED}class="selected"{/if}>
     14                        <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a>
     15                        {if !empty($cat.icon_ts)}
     16                                <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)">
     17                        {/if}
     18                        {if $cat.count_images > 0}
     19                                <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span>
     20                        {/if}
     21                        {assign var='ref_level' value=$cat.LEVEL}
     22        {/foreach}
     23        {'</li></ul>'|@str_repeat:$ref_level}
    2424
    2525        <p class="totalImages">{$pwg->l10n_dec('%d photo', '%d photos', $block->data.NB_PICTURE)}</p>
  • extensions/stripped/template/menubar_identification.tpl

    r7989 r12960  
    11{if isset($U_LOGIN)}
    2 <dt>{'Quick connect'|@translate}</dt>
    3 <dd>
     2        <dt>{'Quick connect'|@translate}</dt>
     3        <dd>
    44                <form method="post" action="{$U_LOGIN}" id="quickconnect">
    5 {*              <fieldset>*}
    6                 <div>
    7                         <label for="username">{'Username'|@translate}</label><br>
    8                         <input type="text" name="username" id="username" value="">
    9                 </div>
    10                 <p>
    11                 <div>
    12                         <label for="password">{'Password'|@translate}</label>
    13                         <input type="password" name="password" id="password" value="">
    14                 </div>
    15 
     5                        <div>
     6                                <label for="username">{'Username'|@translate}</label>
     7                                <input type="text" name="username" id="username" value="">
     8                        </div>
     9                        <div>
     10                                <label for="password">{'Password'|@translate}</label>
     11                                <input type="password" name="password" id="password" value="">
     12                        </div>
    1613                        {if $AUTHORIZE_REMEMBERING}
    17                                 <p>
    1814                                <div>
    1915                                        <label for="remember_me">{'Auto login'|@translate}
     
    2218                                </div>
    2319                        {/if}
    24                 <p>
    25                 <p>
    26                 <div class="submit_block">
    27                         <input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|@urlencode}">
    28                         <input class="submit" type="submit" name="login" value="{'Submit'|@translate}">
    29                         <ul class="actions">
    30                                 <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow">{'Forgot your password?'|@translate}</a></li>
    31                         </ul>
    32                 </div>
    33 
    34 {*              </fieldset>*}
     20                        <div class="submit_block">
     21                                <input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|@urlencode}">
     22                                <input class="submit" type="submit" name="login" value="{'Submit'|@translate}">
     23                                <ul class="actions">
     24                                        <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow">{'Forgot your password?'|@translate}</a></li>
     25                                </ul>
     26                        </div>
    3527                </form>
    36 </dd>
     28        </dd>
    3729{/if}
    3830
  • extensions/stripped/template/menubar_links.tpl

    r7989 r12960  
    11<dt>{'Links'|@translate}</dt>
    22<dd>
    3         <ul>
     3        <ul>{strip}
    44                {foreach from=$block->data item=link}
    55                        <li>
    6                                 <a href="{$link.URL}" class="external"
    7                                         {if isset($link.new_window) } onclick="window.open(this.href, '{$link.new_window.NAME}','{$link.new_window.FEATURES}'); return false;"{/if}
    8                                 >
     6                                <a href="{$link.URL}" class="external"{if isset($link.new_window)} onclick="window.open(this.href, '{$link.new_window.NAME}','{$link.new_window.FEATURES}'); return false;"{/if}>
    97                                {$link.LABEL}
    108                                </a>
    119                        </li>
    1210                {/foreach}
    13         </ul>
     11        {/strip}</ul>
    1412</dd>
    15 
  • extensions/stripped/template/menubar_menu.tpl

    r7989 r12960  
    11<dt>{'Menu'|@translate}</dt>
    22<dd>
    3   {if isset($block->data.qsearch) and  $block->data.qsearch==true}
    4     <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
    5       <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
    6         <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;">
    7       </p>
    8     </form>
    9     <script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
    10   {/if}
    11 
    12         <ul>
     3{if isset($block->data.qsearch) and  $block->data.qsearch==true}
     4        <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
     5                <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
     6                        <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%">
     7                </p>
     8        </form>
     9        <script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
     10{/if}
     11        <ul>{strip}
    1312        {foreach from=$block->data item=link}
    1413                {if is_array($link)}
    15                         <li><a href="{$link.URL}" title="{$link.TITLE}" {if isset($link.REL)}{$link.REL}{/if}>{$link.NAME}</a></li>
     14                        <li><a href="{$link.URL}" title="{$link.TITLE}"{if isset($link.REL)} {$link.REL}{/if}>{$link.NAME}</a></li>
    1615                {/if}
    1716        {/foreach}
    18         </ul>
     17        {/strip}</ul>
    1918</dd>
    20 
  • extensions/stripped/template/menubar_specials.tpl

    r7989 r12960  
    11<dt>{'Specials'|@translate}</dt>
    22<dd>
    3         <ul>
     3        <ul>{strip}
    44                {foreach from=$block->data item=link}
    5                 <li><a href="{$link.URL}" title="{$link.TITLE}" {if isset($link.REL)}{$link.REL}{/if}>{$link.NAME}</a></li>
     5                <li><a href="{$link.URL}" title="{$link.TITLE}"{if isset($link.REL)} {$link.REL}{/if}>{$link.NAME}</a></li>
    66                {/foreach}
    7         </ul>
     7        {/strip}</ul>
    88</dd>
    9 
  • extensions/stripped/template/menubar_tags.tpl

    r9960 r12960  
    33        <div id="menuTagCloud">
    44                {foreach from=$block->data item=tag}
    5                 <span>
    6                         <a class="tagLevel{$tag.level}"
     5                <span>{strip}
     6                        <a class="tagLevel{$tag.level}" href=
    77                        {if isset($tag.U_ADD)}
    8                                 href="{$tag.U_ADD}"
    9                                 title="{$pwg->l10n_dec('%d photo is also linked to current tags', '%d photos are also linked to current tags', $tag.counter)}"
    10                                 rel="nofollow">+
     8                                "{$tag.U_ADD}" title="{$pwg->l10n_dec('%d photo is also linked to current tags', '%d photos are also linked to current tags', $tag.counter)}" rel="nofollow">+
    119                        {else}
    12                                 href="{$tag.URL}"
    13                                 title="{'display photos linked to this tag'|@translate}">
     10                                "{$tag.URL}" title="{'display photos linked to this tag'|@translate}">
    1411                        {/if}
    15                                 {$tag.name}</a></span>
     12                                {$tag.name}</a></span>{/strip}
    1613{* ABOVE there should be no space between text, </a> and </span> elements to avoid IE8 bug https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=366567 *}
    1714                {/foreach}
  • extensions/stripped/template/month_calendar.tpl

    r9960 r12960  
    11<div id="calendar_block">
    2 {if !empty($chronology_navigation_bars) }
    3 {foreach from=$chronology_navigation_bars item=bar}
    4 <div class="calendarBar">
    5         {if isset($bar.previous)}
    6                 <div style="float:left">&laquo; <a href="{$bar.previous.URL}">{$bar.previous.LABEL}</a></div>
    7         {/if}
    8         {if isset($bar.next)}
    9                 <div style="float:right"><a href="{$bar.next.URL}">{$bar.next.LABEL}</a> &raquo;</div>
    10         {/if}
    11         {if empty($bar.items)}
    12                 &nbsp;
    13         {else}
    14                 {foreach from=$bar.items item=item}
    15                 <span class="calItem{if !isset($item.URL)}Empty{/if}" {if isset($item.NB_IMAGES)}title="{$pwg->l10n_dec('%d photo', '%d photos', $item.NB_IMAGES)}"{/if}>
    16                 {if isset($item.URL)}
    17                 <a href="{$item.URL}">{$item.LABEL}</a>
    18                 {else}
    19                 {$item.LABEL}
    20                 {/if}
    21                 </span>
     2        {if !empty($chronology_navigation_bars) }
     3                {foreach from=$chronology_navigation_bars item=bar}
     4                        <div class="calendarBar">
     5                                {if isset($bar.previous)}
     6                                        <div style="float:left">&laquo; <a href="{$bar.previous.URL}">{$bar.previous.LABEL}</a></div>
     7                                {/if}
     8                                {if isset($bar.next)}
     9                                        <div style="float:right"><a href="{$bar.next.URL}">{$bar.next.LABEL}</a> &raquo;</div>
     10                                {/if}
     11                                {if empty($bar.items)}
     12                                        &nbsp;
     13                                {else}
     14                                        {foreach from=$bar.items item=item}
     15                                                <span class="calItem{if !isset($item.URL)}Empty{/if}" {if isset($item.NB_IMAGES)}title="{$pwg->l10n_dec('%d photo', '%d photos', $item.NB_IMAGES)}"{/if}>
     16                                                        {if isset($item.URL)}
     17                                                                <a href="{$item.URL}">{$item.LABEL}</a>
     18                                                        {else}
     19                                                                {$item.LABEL}
     20                                                        {/if}
     21                                                </span>
     22                                        {/foreach}
     23                                {/if}
     24                        </div>
    2225                {/foreach}
    2326        {/if}
     27
     28        {if !empty($chronology_calendar.calendar_bars) }
     29                {foreach from=$chronology_calendar.calendar_bars item=bar}
     30                        <div class="calendarCalBar">
     31                                <span class="calCalHead"><a href="{$bar.U_HEAD}">{$bar.HEAD_LABEL}</a>  ({$bar.NB_IMAGES})</span><br>
     32                                {foreach from=$bar.items item=item}
     33                                        <span class="calCal{if !isset($item.URL)}Empty{/if}">
     34                                                {if isset($item.URL)}
     35                                                        <a href="{$item.URL}">{$item.LABEL}</a>
     36                                                {else}
     37                                                        {$item.LABEL}
     38                                                {/if}
     39                                                {if isset($item.NB_IMAGES)}({$item.NB_IMAGES}){/if}
     40                                        </span>
     41                                {/foreach}
     42                        </div>
     43                {/foreach}
     44        {/if}
     45
     46        {if isset($chronology_calendar.month_view) }
     47                <table class="calMonth">
     48                        <thead>
     49                                <tr>
     50                                        {foreach from=$chronology_calendar.month_view.wday_labels item=wday}
     51                                                <td class="calDayHead">{$wday}</td>
     52                                        {/foreach}
     53                                </tr>
     54                        </thead>
     55                        {html_head} {*add the style to html head for strict standard compliance*}
     56                                <style type="text/css">
     57                                        TABLE.calMonth TBODY TD, TABLE.calMonth TBODY TD DIV.calImg {ldelim}
     58                                        width:{$chronology_calendar.month_view.CELL_WIDTH}px;height:{$chronology_calendar.month_view.CELL_HEIGHT}px;
     59                                        }
     60                                </style>
     61                        {/html_head}
     62                        {foreach from=$chronology_calendar.month_view.weeks item=week}
     63                                <tr>
     64                                        {foreach from=$week item=day}
     65                                                {if !empty($day)}
     66                                                        {if isset($day.IMAGE)}
     67                                                                <td class="calDayCellFull">
     68                                                                        <div class="calBackDate">{$day.DAY}</div><div class="calForeDate">{$day.DAY}</div>
     69                                                                        <div class="calImg">
     70                                                                                <a href="{$day.U_IMG_LINK}">
     71                                                                                        <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$pwg->l10n_dec('%d photo','%d photos', $day.NB_ELEMENTS)}">
     72                                                                                </a>
     73                                                                        </div>
     74                                                        {else}
     75                                                                <td class="calDayCellEmpty">{$day.DAY}
     76                                                        {/if}
     77                                                {else}
     78                                                        <td class="calDayCellBlank">
     79                                                {/if}
     80                                                </td>
     81                                        {/foreach} {*day in week*}
     82                                </tr>
     83                        {/foreach}  {*week in month*}
     84                </table>
     85        {/if}
    2486</div>
    25 {/foreach}
    26 {/if}
    27 
    28 {if !empty($chronology_calendar.calendar_bars) }
    29 {foreach from=$chronology_calendar.calendar_bars item=bar}
    30 <div class="calendarCalBar">
    31         <span class="calCalHead"><a href="{$bar.U_HEAD}">{$bar.HEAD_LABEL}</a>  ({$bar.NB_IMAGES})</span><br>
    32         {foreach from=$bar.items item=item}
    33         <span class="calCal{if !isset($item.URL)}Empty{/if}">
    34         {if isset($item.URL)}
    35         <a href="{$item.URL}">{$item.LABEL}</a>
    36         {else}
    37         {$item.LABEL}
    38         {/if}
    39         {if isset($item.NB_IMAGES)}({$item.NB_IMAGES}){/if}
    40         </span>
    41         {/foreach}
    42 </div>
    43 {/foreach}
    44 {/if}
    45 
    46 {if isset($chronology_calendar.month_view) }
    47 <table class="calMonth">
    48  <thead>
    49  <tr>
    50  {foreach from=$chronology_calendar.month_view.wday_labels item=wday}
    51         <td class="calDayHead">{$wday}</td>
    52  {/foreach}
    53  </tr>
    54  </thead>
    55 {html_head} {*add the style to html head for strict standard compliance*}
    56 <style type="text/css">
    57 TABLE.calMonth TBODY TD, TABLE.calMonth TBODY TD DIV.calImg {ldelim}
    58   width:{$chronology_calendar.month_view.CELL_WIDTH}px;height:{$chronology_calendar.month_view.CELL_HEIGHT}px;
    59 }
    60 </style>
    61 {/html_head}
    62  {foreach from=$chronology_calendar.month_view.weeks item=week}
    63  <tr>
    64         {foreach from=$week item=day}
    65         {if !empty($day)}
    66                 {if isset($day.IMAGE)}
    67                         <td class="calDayCellFull">
    68                                 <div class="calBackDate">{$day.DAY}</div><div class="calForeDate">{$day.DAY}</div>
    69                                 <div class="calImg">
    70                                         <a href="{$day.U_IMG_LINK}">
    71                                                 <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$pwg->l10n_dec('%d photo','%d photos', $day.NB_ELEMENTS)}">
    72                                         </a>
    73                                 </div>
    74                 {else}
    75                         <td class="calDayCellEmpty">{$day.DAY}
    76                 {/if}
    77         {else}
    78                 <td class="calDayCellBlank">
    79         {/if}
    80         </td>
    81         {/foreach} {*day in week*}
    82  </tr>
    83  {/foreach}  {*week in month*}
    84 </table>
    85 {/if}
    86 </div>
  • extensions/stripped/template/nbm.tpl

    r9134 r12960  
    55<div class="titrePage">
    66        <div class="browsePath">
    7                 <h2><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Notification'|@translate}</h2>
     7                <h2>
     8                        {if isset($MENUBAR)}
     9                                <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
     10                        {/if}
     11                        <a href="{$U_HOME}">{'Home'|@translate}</a>
     12                        {$LEVEL_SEPARATOR}{'Notification'|@translate}
     13                </h2>
    814        </div>
    915</div>
    1016<div id="content">
    11         {if not empty($errors)}
    12                 <div class="errors">
    13                         <ul>
    14                                 {foreach from=$errors item=error}
    15                                         <li>{$error}</li>
    16                                 {/foreach}
    17                         </ul>
     17        {if isset($MENUBAR)}{$MENUBAR}{/if}
     18        <div id="content_cell">
     19                <div class="content_block">
     20                        {if not empty($errors)}
     21                                <div class="errors">
     22                                        <ul>
     23                                                {foreach from=$errors item=error}
     24                                                        <li>{$error}</li>
     25                                                {/foreach}
     26                                        </ul>
     27                                </div>
     28                        {/if}
     29                        {if not empty($infos)}
     30                                <div class="infos">
     31                                        <ul>
     32                                                {foreach from=$infos item=info}
     33                                                        <li>{$info}</li>
     34                                                {/foreach}
     35                                        </ul>
     36                                </div>
     37                        {/if}
    1838                </div>
    19         {/if}
    20         {if not empty($infos)}
    21                 <div class="infos">
    22                         <ul>
    23                                 {foreach from=$infos item=info}
    24                                         <li>{$info}</li>
    25                                 {/foreach}
    26                         </ul>
    27                 </div>
    28         {/if}
     39        </div>
    2940</div>
  • extensions/stripped/template/notification.tpl

    r9960 r12960  
    99<div class="titrePage">
    1010        <div class="browsePath">
    11                 <h2><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Notification'|@translate}</h2>
     11                <h2>
     12                        {if isset($MENUBAR)}
     13                                <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
     14                        {/if}
     15                        <a href="{$U_HOME}">{'Home'|@translate}</a>
     16                        {$LEVEL_SEPARATOR}{'Notification'|@translate}
     17                </h2>
    1218        </div>
    1319</div>
    1420<div id="content">
    15         <p>{'The RSS notification feed provides notification on news from this website : new photos, updated albums, new comments. Use a RSS feed reader.'|@translate}</p>
    16         <ul>
    17                 <li><a href="{$U_FEED_IMAGE_ONLY}">{'Photos only RSS feed'|@translate}</a></li>
    18                 <li><a href="{$U_FEED}">{'Complete RSS feed (photos, comments)'|@translate}</a></li>
    19         </ul>
     21        {if isset($MENUBAR)}{$MENUBAR}{/if}
     22        <div id="content_cell">
     23                <div class="content_block notification">
     24                        <p>{'The RSS notification feed provides notification on news from this website : new photos, updated albums, new comments. Use a RSS feed reader.'|@translate}</p>
     25                        <ul>
     26                                <li><a href="{$U_FEED_IMAGE_ONLY}">{'Photos only RSS feed'|@translate}</a></li>
     27                                <li><a href="{$U_FEED}">{'Complete RSS feed (photos, comments)'|@translate}</a></li>
     28                        </ul>
     29                </div>
     30        </div>
    2031</div>
  • extensions/stripped/template/password.tpl

    r12350 r12960  
    55<div class="titrePage">
    66        <div class="browsePath">
    7                 <h2><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{$title}</h2>
     7                <h2>
     8                        {if isset($MENUBAR)}
     9                                <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
     10                        {/if}
     11                        <a href="{$U_HOME}">{'Home'|@translate}</a>
     12                        {$LEVEL_SEPARATOR}{$title}
     13                </h2>
    814        </div>
    915</div>
    1016<div id="content">
    11         {if count($errors)}
    12                 <div class="errors">
    13                         <ul>
    14                                 {foreach from=$errors item=error}
    15                                         <li>{$error}</li>
    16                                 {/foreach}
    17                         </ul>
     17        {if isset($MENUBAR)}{$MENUBAR}{/if}
     18        <div id="content_cell">
     19                <div class="content_block">
     20                        {if count($errors)}
     21                                <div class="errors">
     22                                        <ul>
     23                                                {foreach from=$errors item=error}
     24                                                        <li>{$error}</li>
     25                                                {/foreach}
     26                                        </ul>
     27                                </div>
     28                        {/if}
     29                        {if count($infos)}
     30                                <div class="infos">
     31                                        <ul>
     32                                                {foreach from=$infos item=info}
     33                                                        <li>{$info}</li>
     34                                                {/foreach}
     35                                        </ul>
     36                                </div>
     37                        {/if}
     38                        {if $action ne 'none'}
     39                                <form id="lostPassword" action="{$form_action}?action={$action}{if isset($key)}&amp;key={$key}{/if}" method="post">
     40                                        <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
     41                                        {if $action eq 'lost'}
     42                                                <div class="message">{'Please enter your username or email address.'|@translate} {'You will receive a link to create a new password via email.'|@translate}</div>
     43                                                <p>
     44                                                        <label>
     45                                                                {'Username or email'|@translate}
     46                                                                <br>
     47                                                                <input type="text" id="username_or_email" name="username_or_email" size="40" maxlength="40"{if isset($username_or_email)} value="{$username_or_email}"{/if}>
     48                                                        </label>
     49                                                </p>
     50                                                <p class="bottomButtons"><input class="submit" type="submit" name="submit" value="{'Change my password'|@translate}"></p>
     51                                        {elseif $action eq 'reset'}
     52                                                <div class="message">{'Hello'|@translate} <em>{$username}</em>. {'Enter your new password below.'|@translate}</div>
     53                                                <p>
     54                                                        <label>
     55                                                                {'New password'|@translate}
     56                                                                <br>
     57                                                                <input type="password" name="use_new_pwd" id="use_new_pwd" value="">
     58                                                        </label>
     59                                                </p>
     60                                                <p>
     61                                                        <label>
     62                                                                {'Confirm Password'|@translate}
     63                                                                <br>
     64                                                                <input type="password" name="passwordConf" id="passwordConf" value="">
     65                                                        </label>
     66                                                </p>
     67                                                <p class="bottomButtons"><input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"></p>
     68                                         {/if}
     69                                </form>
     70                        {/if} {* $action ne 'none' *}
     71
     72                        <script type="text/javascript">
     73                                {if $action eq 'lost'}
     74                                        {literal}try{document.getElementById('username_or_email').focus();}catch(e){}{/literal}
     75                                {elseif $action eq 'reset'}
     76                                        {literal}try{document.getElementById('use_new_pwd').focus();}catch(e){}{/literal}
     77                                {/if}
     78                        </script>
    1879                </div>
    19         {/if}
    20         {if count($infos)}
    21                 <div class="infos">
    22                         <ul>
    23                                 {foreach from=$infos item=info}
    24                                         <li>{$info}</li>
    25                                 {/foreach}
    26                         </ul>
    27                 </div>
    28         {/if}
    29 {if $action ne 'none'}
    30 <form id="lostPassword" action="{$form_action}?action={$action}{if isset($key)}&amp;key={$key}{/if}" method="post">
    31   <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
    32 
    33   {if $action eq 'lost'}
    34   <div class="message">{'Please enter your username or email address.'|@translate} {'You will receive a link to create a new password via email.'|@translate}</div>
    35 
    36   <p>
    37     <label>
    38       {'Username or email'|@translate}
    39       <br>
    40       <input type="text" id="username_or_email" name="username_or_email" size="40" maxlength="40"{if isset($username_or_email)} value="{$username_or_email}"{/if}>
    41     </label>
    42   </p>
    43 
    44   <p class="bottomButtons"><input class="submit" type="submit" name="submit" value="{'Change my password'|@translate}"></p>
    45   {elseif $action eq 'reset'}
    46 
    47   <div class="message">{'Hello'|@translate} <em>{$username}</em>. {'Enter your new password below.'|@translate}</div>
    48 
    49   <p>
    50     <label>
    51       {'New password'|@translate}
    52       <br>
    53       <input type="password" name="use_new_pwd" id="use_new_pwd" value="">
    54     </label>
    55   </p>
    56 
    57   <p>
    58     <label>
    59       {'Confirm Password'|@translate}
    60       <br>
    61       <input type="password" name="passwordConf" id="passwordConf" value="">
    62     </label>
    63   </p>
    64 
    65   <p class="bottomButtons"><input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"></p>
    66   {/if}
    67 
    68 </form>
    69 {/if} {* $action ne 'none' *}
    70 
    71 <script type="text/javascript">
    72 {if $action eq 'lost'}
    73 {literal}try{document.getElementById('username_or_email').focus();}catch(e){}{/literal}
    74 {elseif $action eq 'reset'}
    75 {literal}try{document.getElementById('use_new_pwd').focus();}catch(e){}{/literal}
    76 {/if}
    77 </script>
    78 
     80        </div>
    7981</div> <!-- content -->
  • extensions/stripped/template/picture.tpl

    r12893 r12960  
    8686{if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if}
    8787<div id="content">
     88        <div class="hideTabsZone hideTabs">&nbsp;</div>
    8889
    8990 <!-- Image HD -->
     
    118119
    119120<div id="theImageAndTitle">
    120         <div id="theImageBox">
     121        <div id="theImageBox" >
     122                <div class="hideTabsZone hideTabs">&nbsp;</div>
    121123                {if (isset($previous) && $stripped.navArrows) }
    122124                        <a href="{$previous.U_IMG}" id="imgprev">&nbsp;</a>
    123125                {/if}
    124                 <div id="theImage">
     126                <div id="theImage" style="width:auto;">
    125127                        {$ELEMENT_CONTENT}
    126128                </div>
  • extensions/stripped/template/picture_content.tpl

    r12548 r12960  
    2828                {/if}
    2929        {/if}
    30         <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}" id="theMainImage">
     30        <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}" id="theMainImage" class="hideTabs">
    3131</div>
  • extensions/stripped/template/popuphelp.tpl

    r7989 r12960  
    11<div class="titrePage">
    2    <a href="#" onclick="window.close();" title="{'Close this window'|@translate}">{'Close this window'|@translate}</a>
     2        <div class="browsePath">
     3                <h2>{$PAGE_TITLE}</h2>
     4        </div>
     5        <div class="categoryActionsContainer">
     6                <ul class="categoryActions">
     7                        <li><a href="#" onclick="window.close();" title="{'Close this window'|@translate}" class="pwg-state-default pwg-button">
     8                                <span class="pwg-icon pwg-icon-close">&nbsp;</span><span class="pwg-button-text">{'Close this window'|@translate}</span>
     9                        </a></li>
     10                </ul>
     11        </div>
    312</div>
    413<div id="content">
    5 {$HELP_CONTENT}
    6 </div>
     14        <div id="content_cell">
     15                <div class="content_block">
     16                        {$HELP_CONTENT}
     17                </div>
     18        </div>
     19</div> <!-- content -->
  • extensions/stripped/template/profile.tpl

    r9134 r12960  
    55<div class="titrePage">
    66        <div class="browsePath">
    7                 <h2><a href="{$U_HOME}" title="{'return to homepage'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Profile'|@translate}</h2>
     7                <h2>
     8                        {if isset($MENUBAR)}
     9                                <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
     10                        {/if}
     11                        <a href="{$U_HOME}">{'Home'|@translate}</a>
     12                        {$LEVEL_SEPARATOR}{'Profile'|@translate}
     13                </h2>
    814        </div>
    915</div>
    1016<div id="content">
    11         {if isset($errors)}
    12                 <div class="errors">
    13                         <ul>
    14                                 {foreach from=$errors item=error}
    15                                         <li>{$error}</li>
    16                                 {/foreach}
    17                         </ul>
     17        {if isset($MENUBAR)}{$MENUBAR}{/if}
     18        <div id="content_cell">
     19                <div class="content_block">
     20                        {if isset($errors)}
     21                                <div class="errors">
     22                                        <ul>
     23                                                {foreach from=$errors item=error}
     24                                                        <li>{$error}</li>
     25                                                {/foreach}
     26                                        </ul>
     27                                </div>
     28                        {/if}
     29                        {$PROFILE_CONTENT}
    1830                </div>
    19         {/if}
    20         {$PROFILE_CONTENT}
     31        </div>
    2132</div> <!-- content -->
  • extensions/stripped/template/redirect.tpl

    r7989 r12960  
    1 <p>{$REDIRECT_MSG}</p>
    2 <p><a href="{$page_refresh.U_REFRESH}">{'Click here if your browser does not automatically forward you'|@translate}</a></p>
     1<div class="titrePage">
     2        <div class="browsePath">
     3                <h2>{$REDIRECT_MSG}</h2>
     4        </div>
     5</div>
     6<div id="content">
     7        <div id="content_cell">
     8                <div class="content_block">
     9                        <p><a href="{$page_refresh.U_REFRESH}">
     10                                {'Click here if your browser does not automatically forward you'|@translate}
     11                        </a></p>
     12                </div>
     13        </div>
     14</div>
  • extensions/stripped/template/register.tpl

    r10394 r12960  
    55<div class="titrePage">
    66        <div class="browsePath">
    7                 <h2><a href="{$U_HOME}" title="{'Home'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Registration'|@translate}</h2>
     7                <h2>
     8                        {if isset($MENUBAR)}
     9                                <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
     10                        {/if}
     11                        <a href="{$U_HOME}">{'Home'|@translate}</a>
     12                        {$LEVEL_SEPARATOR}{'Registration'|@translate}
     13                </h2>
    814        </div>
    915</div>
    1016<div id="content">
    11         {if isset($errors)}
    12                 <div class="errors">
    13                         <ul>
    14                                 {foreach from=$errors item=error}
    15                                         <li>{$error}</li>
    16                                 {/foreach}
    17                         </ul>
     17        {if isset($MENUBAR)}{$MENUBAR}{/if}
     18        <div id="content_cell">
     19                <div class="content_block">
     20                        {if isset($errors)}
     21                                <div class="errors">
     22                                        <ul>
     23                                                {foreach from=$errors item=error}
     24                                                        <li>{$error}</li>
     25                                                {/foreach}
     26                                        </ul>
     27                                </div>
     28                        {/if}
     29                        <form method="post" action="{$F_ACTION}" class="properties" name="register_form">
     30                                <fieldset>
     31                                        <legend>{'Enter your personnal informations'|@translate}</legend>
     32                                        <ul>
     33                                                <li>
     34                                                        <span class="property">
     35                                                                <label for="login">{'Username'|@translate}</label>
     36                                                        </span>
     37                                                        <input type="text" name="login" id="login" value="{$F_LOGIN}" >&nbsp;<span class="mandatorystar">*</span>
     38                                                </li>
     39                                                <li>
     40                                                        <span class="property">
     41                                                                <label for="password">{'Password'|@translate}</label>
     42                                                        </span>
     43                                                        <input type="password" name="password" id="password" >&nbsp;<span class="mandatorystar">*</span>
     44                                                </li>
     45                                                <li>
     46                                                        <span class="property">
     47                                                                <label for="password_conf">{'Confirm Password'|@translate}</label>
     48                                                        </span>
     49                                                        <input type="password" name="password_conf" id="password_conf" >&nbsp;<span class="mandatorystar">*</span>
     50                                                </li>
     51                                                <li>
     52                                                        <span class="property">
     53                                                                <label for="mail_address">{'Mail address'|@translate}</label>
     54                                                        </span>
     55                                                        <input type="text" name="mail_address" id="mail_address" value="{$F_EMAIL}" >
     56                                                        ({'useful when password forgotten'|@translate})
     57                                                </li>
     58                                        </ul>
     59                                </fieldset>
     60                                <p class="bottomButtons">
     61                                        <input type="hidden" name="key" value="{$F_KEY}" >
     62                                        <input class="submit" type="submit" name="submit" value="{'Register'|@translate}">
     63                                        <input class="submit" type="reset" value="{'Reset'|@translate}">
     64                                </p>
     65                        </form>
     66                        <p><span class="mandatorystar">*</span> : {'obligatory'|@translate}</p>
     67                        <script type="text/javascript">
     68                                <!--
     69                                document.register_form.login.focus();
     70                                //-->
     71                        </script>
    1872                </div>
    19         {/if}
    20         <form method="post" action="{$F_ACTION}" class="properties" name="register_form">
    21                 <fieldset>
    22                         <legend>{'Enter your personnal informations'|@translate}</legend>
    23                         <ul>
    24                                 <li>
    25                                         <span class="property">
    26                                                 <label for="login">{'Username'|@translate}</label>
    27                                         </span>
    28                                         <input type="text" name="login" id="login" value="{$F_LOGIN}" >&nbsp;<span class="mandatorystar">*</span>
    29                                 </li>
    30                                 <li>
    31                                         <span class="property">
    32                                                 <label for="password">{'Password'|@translate}</label>
    33                                         </span>
    34                                         <input type="password" name="password" id="password" >&nbsp;<span class="mandatorystar">*</span>
    35                                 </li>
    36                                 <li>
    37                                         <span class="property">
    38                                                 <label for="password_conf">{'Confirm Password'|@translate}</label>
    39                                         </span>
    40                                         <input type="password" name="password_conf" id="password_conf" >&nbsp;<span class="mandatorystar">*</span>
    41                                 </li>
    42                                 <li>
    43                                         <span class="property">
    44                                                 <label for="mail_address">{'Mail address'|@translate}</label>
    45                                         </span>
    46                                         <input type="text" name="mail_address" id="mail_address" value="{$F_EMAIL}" >
    47                                         ({'useful when password forgotten'|@translate})
    48                                 </li>
    49                         </ul>
    50                 </fieldset>
    51                 <p class="bottomButtons">
    52                         <input type="hidden" name="key" value="{$F_KEY}" >
    53                         <input class="submit" type="submit" name="submit" value="{'Register'|@translate}">
    54                         <input class="submit" type="reset" value="{'Reset'|@translate}">
    55                 </p>
    56         </form>
    57         <p><span class="mandatorystar">*</span> : {'obligatory'|@translate}</p>
    58         <script type="text/javascript">
    59                 <!--
    60                 document.register_form.login.focus();
    61                 //-->
    62         </script>
     73        </div>
    6374</div> <!-- content -->
  • extensions/stripped/template/search.tpl

    r9134 r12960  
    55<div class="titrePage">
    66        <div class="browsePath">
    7                 <h2><a href="{$U_HOME}" title="{'Home'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Search'|@translate}</h2>
     7                <h2>
     8                        {if isset($MENUBAR)}
     9                                <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
     10                        {/if}
     11                        <a href="{$U_HOME}">{'Home'|@translate}</a>
     12                        {$LEVEL_SEPARATOR}{'Search'|@translate}
     13                </h2>
     14        </div>
     15        <div class="categoryActionsContainer">
     16                <ul class="categoryActions">
     17                        <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" class="pwg-state-default pwg-button">
     18                                <span class="pwg-icon pwg-icon-help">&nbsp;</span><span class="pwg-button-text">{'Help'|@translate}</span>
     19                        </a></li>
     20                </ul>
    821        </div>
    922</div>
    1023<div id="content">
    11         {if isset($errors) }
    12                 <div class="errors">
    13                         <ul>
    14                                 {foreach from=$errors item=error}
    15                                         <li>{$error}</li>
    16                                 {/foreach}
    17                         </ul>
     24        {if isset($MENUBAR)}{$MENUBAR}{/if}
     25        <div id="content_cell">
     26                <div class="content_block">
     27                        {if isset($errors) }
     28                                <div class="errors">
     29                                        <ul>
     30                                                {foreach from=$errors item=error}
     31                                                        <li>{$error}</li>
     32                                                {/foreach}
     33                                        </ul>
     34                                </div>
     35                        {/if}
     36                        <form class="filter" method="post" name="search" action="{$F_SEARCH_ACTION}">
     37                                <fieldset>
     38                                        <legend>{'Filter'|@translate}</legend>
     39                                        <label>{'Search for words'|@translate}
     40                                                <input type="text" style="width: 300px" name="search_allwords" size="30"  />
     41                                        </label>
     42                                        <ul>
     43                                                <li><label>
     44                                                        <input type="radio" name="mode" value="AND" checked="checked" />{'Search for all terms'|@translate}
     45                                                </label></li>
     46                                                <li><label>
     47                                                        <input type="radio" name="mode" value="OR" />{'Search for any terms'|@translate}
     48                                                </label></li>
     49                                        </ul>
     50                                        <label>{'Search for Author'|@translate}
     51                                                <input type="text" style="width: 300px" name="search_author" size="30"  />
     52                                        </label>
     53                                </fieldset>
     54                                {if isset($TAG_SELECTION)}
     55                                        <fieldset>
     56                                                <legend>{'Search tags'|@translate}</legend>
     57                                                {$TAG_SELECTION}
     58                                                <label><span><input type="radio" name="tag_mode" value="AND" checked="checked" /> {'All tags'|@translate}</span></label>
     59                                                <label><span><input type="radio" name="tag_mode" value="OR" /> {'Any tag'|@translate}</span></label>
     60                                        </fieldset>
     61                                {/if}
     62                                <fieldset>
     63                                        <legend>{'Search by Date'|@translate}</legend>
     64                                        <ul>
     65                                                <li><label>{'Kind of date'|@translate}</label></li>
     66                                                <li><label>
     67                                                        <input type="radio" name="date_type" value="date_creation" checked="checked" />{'Creation date'|@translate}
     68                                                </label></li>
     69                                                <li><label>
     70                                                        <input type="radio" name="date_type" value="date_available" />{'Post date'|@translate}
     71                                                </label></li>
     72                                        </ul>
     73                                        <ul>
     74                                                <li><label>{'Date'|@translate}</label></li>
     75                                                <li>
     76                                                        <select id="start_day" name="start_day">
     77                                                                <option value="0">--</option>
     78                                                                {section name=day start=1 loop=32}
     79                                                                        <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$START_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
     80                                                                {/section}
     81                                                        </select>
     82                                                        <select id="start_month" name="start_month">
     83                                                                {html_options options=$month_list selected=$START_MONTH_SELECTED}
     84                                                        </select>
     85                                                        <input id="start_year" name="start_year" type="text" size="4" maxlength="4" >
     86                                                        <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled">
     87                                                </li>
     88                                                <li>
     89                                                        <a class="date_today" href="#" onClick="document.search.start_day.value={$smarty.now|date_format:"%d"};document.search.start_month.value={$smarty.now|date_format:"%m"};document.search.start_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>
     90                                                </li>
     91                                        </ul>
     92                                        <ul>
     93                                                <li><label>{'End-Date'|@translate}</label></li>
     94                                                <li>
     95                                                        <select id="end_day" name="end_day">
     96                                                                <option value="0">--</option>
     97                                                                {section name=day start=1 loop=32}
     98                                                                        <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$END_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
     99                                                                {/section}
     100                                                        </select>
     101                                                        <select id="end_month" name="end_month">
     102                                                                {html_options options=$month_list selected=$END_MONTH_SELECTED}
     103                                                        </select>
     104                                                        <input id="end_year" name="end_year" type="text" size="4" maxlength="4" >
     105                                                        <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled">
     106                                                </li>
     107                                                <li>
     108                                                        <a class="date_today" href="#" onClick="document.search.end_day.value={$smarty.now|date_format:"%d"};document.search.end_month.value={$smarty.now|date_format:"%m"};document.search.end_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>
     109                                                </li>
     110                                        </ul>
     111                                </fieldset>
     112                                <fieldset>
     113                                        <legend>{'Search Options'|@translate}</legend>
     114                                        <label>{'Search in Categories'|@translate}
     115                                                <select class="categoryList" name="cat[]" multiple="multiple" >
     116                                                        {html_options options=$category_options selected=$category_options_selected}
     117                                                </select>
     118                                        </label>
     119                                        <ul>
     120                                                <li><label>{'Search in subcategories'|@translate}</label></li>
     121                                                <li><label>
     122                                                        <input type="radio" name="subcats-included" value="1" checked="checked" />{'Yes'|@translate}
     123                                                </label></li>
     124                                                <li><label>
     125                                                        <input type="radio" name="subcats-included" value="0" />{'No'|@translate}
     126                                                </label></li>
     127                                        </ul>
     128                                </fieldset>
     129                                <p>
     130                                        <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" />
     131                                        <input class="submit" type="reset" value="{'Reset'|@translate}" />
     132                                </p>
     133                        </form>
     134                        <script type="text/javascript">
     135                                <!--
     136                                document.search.search_allwords.focus();
     137                                //-->
     138                        </script>
    18139                </div>
    19         {/if}
    20         <form class="filter" method="post" name="search" action="{$F_SEARCH_ACTION}">
    21                 <fieldset>
    22                         <legend>{'Filter'|@translate}</legend>
    23                         <label>{'Search for words'|@translate}
    24                                 <input type="text" style="width: 300px" name="search_allwords" size="30"  />
    25                         </label>
    26                         <ul>
    27                                 <li><label>
    28                                         <input type="radio" name="mode" value="AND" checked="checked" />{'Search for all terms'|@translate}
    29                                 </label></li>
    30                                 <li><label>
    31                                         <input type="radio" name="mode" value="OR" />{'Search for any terms'|@translate}
    32                                 </label></li>
    33                         </ul>
    34                         <label>{'Search for Author'|@translate}
    35                                 <input type="text" style="width: 300px" name="search_author" size="30"  />
    36                         </label>
    37                 </fieldset>
    38                 {if isset($TAG_SELECTION)}
    39                         <fieldset>
    40                                 <legend>{'Search tags'|@translate}</legend>
    41                                 {$TAG_SELECTION}
    42                                 <label><span><input type="radio" name="tag_mode" value="AND" checked="checked" /> {'All tags'|@translate}</span></label>
    43                                 <label><span><input type="radio" name="tag_mode" value="OR" /> {'Any tag'|@translate}</span></label>
    44                         </fieldset>
    45                 {/if}
    46                 <fieldset>
    47                         <legend>{'Search by Date'|@translate}</legend>
    48                         <ul>
    49                                 <li><label>{'Kind of date'|@translate}</label></li>
    50                                 <li><label>
    51                                         <input type="radio" name="date_type" value="date_creation" checked="checked" />{'Creation date'|@translate}
    52                                 </label></li>
    53                                 <li><label>
    54                                         <input type="radio" name="date_type" value="date_available" />{'Post date'|@translate}
    55                                 </label></li>
    56                         </ul>
    57                         <ul>
    58                                 <li><label>{'Date'|@translate}</label></li>
    59                                 <li>
    60                                         <select id="start_day" name="start_day">
    61                                                 <option value="0">--</option>
    62                                                 {section name=day start=1 loop=32}
    63                                                         <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$START_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
    64                                                 {/section}
    65                                         </select>
    66                                         <select id="start_month" name="start_month">
    67                                                 {html_options options=$month_list selected=$START_MONTH_SELECTED}
    68                                         </select>
    69                                         <input id="start_year" name="start_year" type="text" size="4" maxlength="4" >
    70                                         <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled">
    71                                 </li>
    72                                 <li>
    73                                         <a class="date_today" href="#" onClick="document.search.start_day.value={$smarty.now|date_format:"%d"};document.search.start_month.value={$smarty.now|date_format:"%m"};document.search.start_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>
    74                                 </li>
    75                         </ul>
    76                         <ul>
    77                                 <li><label>{'End-Date'|@translate}</label></li>
    78                                 <li>
    79                                         <select id="end_day" name="end_day">
    80                                                 <option value="0">--</option>
    81                                                 {section name=day start=1 loop=32}
    82                                                         <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$END_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
    83                                                 {/section}
    84                                         </select>
    85                                         <select id="end_month" name="end_month">
    86                                                 {html_options options=$month_list selected=$END_MONTH_SELECTED}
    87                                         </select>
    88                                         <input id="end_year" name="end_year" type="text" size="4" maxlength="4" >
    89                                         <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled">
    90                                 </li>
    91                                 <li>
    92                                         <a class="date_today" href="#" onClick="document.search.end_day.value={$smarty.now|date_format:"%d"};document.search.end_month.value={$smarty.now|date_format:"%m"};document.search.end_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>
    93                                 </li>
    94                         </ul>
    95                 </fieldset>
    96                 <fieldset>
    97                         <legend>{'Search Options'|@translate}</legend>
    98                         <label>{'Search in Categories'|@translate}
    99                                 <select class="categoryList" name="cat[]" multiple="multiple" >
    100                                         {html_options options=$category_options selected=$category_options_selected}
    101                                 </select>
    102                         </label>
    103                         <ul>
    104                                 <li><label>{'Search in subcategories'|@translate}</label></li>
    105                                 <li><label>
    106                                         <input type="radio" name="subcats-included" value="1" checked="checked" />{'Yes'|@translate}
    107                                 </label></li>
    108                                 <li><label>
    109                                         <input type="radio" name="subcats-included" value="0" />{'No'|@translate}
    110                                 </label></li>
    111                         </ul>
    112                 </fieldset>
    113                 <p>
    114                         <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" />
    115                         <input class="submit" type="reset" value="{'Reset'|@translate}" />
    116                 </p>
    117         </form>
    118         <script type="text/javascript">
    119                 <!--
    120                 document.search.search_allwords.focus();
    121                 //-->
    122         </script>
     140        </div>
    123141</div> <!-- content -->
  • extensions/stripped/template/search_rules.tpl

    r7989 r12960  
    11<div class="titrePage">
    2   <ul class="categoryActions">
    3     <li><a href="#" onclick="window.close();" title="{'Close this window'|@translate}">{'Close this window'|@translate}</a></li>
    4   </ul>
    5   <h2>{'Search rules'|@translate}</h2>
     2        <div class="browsePath">
     3                <h2>{'Search rules'|@translate}</h2>
     4        </div>
     5        <div class="categoryActionsContainer">
     6                <ul class="categoryActions">
     7                        <li><a href="#" onclick="window.close();" title="{'Close this window'|@translate}" class="pwg-state-default pwg-button">
     8                                <span class="pwg-icon pwg-icon-close">&nbsp;</span><span class="pwg-button-text">{'Close this window'|@translate}</span>
     9                        </a></li>
     10                </ul>
     11        </div>
    612</div>
    713<div id="content">
    8   {if isset($INTRODUCTION) }
    9   <p>{$INTRODUCTION}</p>
    10   {/if}
    11   <ul>
    12     {if isset($search_words) }
    13     {foreach from=$search_words item=v}
    14     <li>{$v}</li>
    15     {/foreach}
    16     {/if}
    17     {if isset($SEARCH_TAGS_MODE) }
    18     <li>
    19     <p>{if 'AND'==$SEARCH_TAGS_MODE}{'At least one tag must match'|@translate}{else}{'At least one tag must match'|@translate}{/if}</p>
    20       <ul>
    21         {foreach from=$search_tags item=v}
    22         <li>{$v}</li>
    23         {/foreach}
    24       </ul>
    25     </li>
    26     {/if}
    27     {if isset($DATE_CREATION) }
    28     <li>{$DATE_CREATION}</li>
    29     {/if}
    30     {if isset($DATE_AVAILABLE) }
    31     <li>{$DATE_AVAILABLE}</li>
    32     {/if}
    33     {if isset($search_categories) }
    34     <li>
    35       <p>{'Categories'|@translate}</p>
    36       <ul>
    37         {foreach from=$search_categories item=v}
    38         <li>{$v}</li>
    39         {/foreach}
    40       </ul>
    41     </li>
    42     {/if}
    43   </ul>
     14        <div id="content_cell">
     15                <div class="content_block">
     16                        {if isset($INTRODUCTION) }
     17                                <p>{$INTRODUCTION}</p>
     18                        {/if}
     19                        <ul>
     20                                {if isset($search_words) }
     21                                        {foreach from=$search_words item=v}
     22                                                <li>{$v}</li>
     23                                        {/foreach}
     24                                {/if}
     25                                {if isset($SEARCH_TAGS_MODE) }
     26                                        <li>
     27                                                <p>{if 'AND'==$SEARCH_TAGS_MODE}{'At least one tag must match'|@translate}{else}{'At least one tag must match'|@translate}{/if}</p>
     28                                                <ul>
     29                                                        {foreach from=$search_tags item=v}
     30                                                                <li>{$v}</li>
     31                                                        {/foreach}
     32                                                </ul>
     33                                        </li>
     34                                {/if}
     35                                {if isset($DATE_CREATION) }
     36                                        <li>{$DATE_CREATION}</li>
     37                                {/if}
     38                                {if isset($DATE_AVAILABLE) }
     39                                        <li>{$DATE_AVAILABLE}</li>
     40                                {/if}
     41                                {if isset($search_categories) }
     42                                        <li>
     43                                                <p>{'Categories'|@translate}</p>
     44                                                <ul>
     45                                                        {foreach from=$search_categories item=v}
     46                                                                <li>{$v}</li>
     47                                                        {/foreach}
     48                                                </ul>
     49                                        </li>
     50                                {/if}
     51                        </ul>
     52                </div>
     53        </div>
    4454</div> <!-- content -->
  • extensions/stripped/template/tags.tpl

    r9960 r12960  
    55<div class="titrePage">
    66        <div class="browsePath">
    7                 <h2><a href="{$U_HOME}" title="{'Home'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Tags'|@translate}</h2>
     7                <h2>
     8                        {if isset($MENUBAR)}
     9                                <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
     10                        {/if}
     11                        <a href="{$U_HOME}">{'Home'|@translate}</a>
     12                        {$LEVEL_SEPARATOR}{'Tags'|@translate}
     13                </h2>
    814        </div>
    9         <ul class="categoryActions">
    10                 {if $display_mode == 'letters'}
    11                         <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}">{'show tag cloud'|@translate}</a></li>
    12                 {/if}
    13                 {if $display_mode == 'cloud'}
    14                         <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}">{'group by letters'|@translate}</a></li>
    15                 {/if}
    16         </ul>
     15        <div class="categoryActionsContainer">
     16                <ul class="categoryActions">
     17                        {if $display_mode == 'letters'}
     18                                <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}">{'show tag cloud'|@translate}</a></li>
     19                        {/if}
     20                        {if $display_mode == 'cloud'}
     21                                <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}">{'group by letters'|@translate}</a></li>
     22                        {/if}
     23                </ul>
     24        </div>
    1725</div>
    1826<div id="content">
    19         {if isset($tags)}
    20                 {if $display_mode == 'cloud'}
    21                         <div id="fullTagCloud">
    22                                 {foreach from=$tags item=tag}
    23                                         <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}">{$tag.name}</a></span>
    24                                 {/foreach}
    25                         </div>
    26                 {/if}
    27                 {if $display_mode == 'letters'}
    28                         <table>
    29                                 <tr>
    30                                         <td valign="top">
    31                                                 {foreach from=$letters item=letter}
    32                                                         <fieldset class="tagLetter">
    33                                                                 <legend class="tagLetterLegend">{$letter.TITLE}</legend>
    34                                                                 <table class="tagLetterContent">
    35                                                                         {foreach from=$letter.tags item=tag}
    36                                                                                 <tr class="tagLine">
    37                                                                                 <td><a href="{$tag.URL}">{$tag.name}</a></td>
    38                                                                                 <td class="nbEntries">{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}</td>
    39                                                                                 </tr>
    40                                                                         {/foreach}
    41                                                                 </table>
    42                                                         </fieldset>
    43                                                         {if isset($letter.CHANGE_COLUMN) }
    44                                                                 </td>
    45                                                                 <td valign="top">
    46                                                         {/if}
     27        {if isset($MENUBAR)}{$MENUBAR}{/if}
     28        <div id="content_cell">
     29                <div class="content_block">
     30                        {if isset($tags)}
     31                                {if $display_mode == 'cloud'}
     32                                        <div id="fullTagCloud">
     33                                                {foreach from=$tags item=tag}
     34                                                        <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}">{$tag.name}</a></span>
    4735                                                {/foreach}
    48                                         </td>
    49                                 </tr>
    50                          </table>
    51                 {/if}
    52         {/if}
     36                                        </div>
     37                                {/if}
     38                                {if $display_mode == 'letters'}
     39                                        <table>
     40                                                <tr>
     41                                                        <td valign="top">
     42                                                                {foreach from=$letters item=letter}
     43                                                                        <fieldset class="tagLetter">
     44                                                                                <legend class="tagLetterLegend">{$letter.TITLE}</legend>
     45                                                                                <table class="tagLetterContent">
     46                                                                                        {foreach from=$letter.tags item=tag}
     47                                                                                                <tr class="tagLine">
     48                                                                                                <td><a href="{$tag.URL}">{$tag.name}</a></td>
     49                                                                                                <td class="nbEntries">{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}</td>
     50                                                                                                </tr>
     51                                                                                        {/foreach}
     52                                                                                </table>
     53                                                                        </fieldset>
     54                                                                        {if isset($letter.CHANGE_COLUMN) }
     55                                                                                </td>
     56                                                                                <td valign="top">
     57                                                                        {/if}
     58                                                                {/foreach}
     59                                                        </td>
     60                                                </tr>
     61                                         </table>
     62                                {/if}
     63                        {/if}
     64                </div>
     65        </div>
    5366</div> <!-- content -->
Note: See TracChangeset for help on using the changeset viewer.