Changeset 9134


Ignore:
Timestamp:
Feb 9, 2011, 9:17:48 PM (13 years ago)
Author:
Zaphod
Message:

[extension] stripped - version 1.2.0

Location:
extensions/stripped
Files:
4 added
23 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/admin/admin.inc.php

    r7989 r9134  
    1717if(isset($_POST['submit_stripped']))
    1818{
     19        $post['hideMenu']=isset($_POST['f_hideMenu']);
    1920        $post['animatedMenu']=isset($_POST['f_animatedMenu']);
    2021        $post['animatedTabs']=isset($_POST['f_animatedTabs']);
  • extensions/stripped/admin/admin.tpl

    r7989 r9134  
    88                        <legend>{'Interface options'|@translate}</legend>
    99                        <ul>
     10                                <li><label>
     11                                        <span class="property">{'Hide menu by default on category page'|@translate}</span>&nbsp;
     12                                        <input type="checkbox" name="f_hideMenu" {if $options.hideMenu}checked{/if}>
     13                                </label></li>
    1014                                <li><label>
    1115                                        <span class="property">{'Animate menu'|@translate}</span>&nbsp;
  • extensions/stripped/conf/default.conf

    r7989 r9134  
    2020# ------- Category Page Parameters ---------------------------------------------
    2121
     22# hideMenu
     23# -- true
     24# -- false
     25# if option set to true, menu will be hidden by default.
     26hideMenu = true
     27
    2228# animatedMenu
    2329# -- true
    2430# -- false
    25 # animated menu option will be automatically set to 0 with webkit browsers
    26 # (chrome, safari) due to display problems.
    2731animatedMenu = true
    2832
  • extensions/stripped/js/scripts-tpp.js

    r8183 r9134  
    5151                icon_gmaps.text(text_gmaps.text());
    5252                icon_gmaps.css("text-align","right");
     53                icon_gmaps.wrapAll('<li>');
    5354        }
    5455               
     
    5758        var tab_loaded=0;
    5859        var tab_height=[];
    59         var delay;
    60         if (options.animatedTabs) {delay = "slow";} else {delay = 0;}
     60        var delay=400;
     61        // var delay="slow";
    6162        var hfirst;
    6263        if (jQuery.browser.msie) {hfirst=false;} else {hfirst=true;}
     
    7980                                        var tab_title = jQuery(this);
    8081                                        tab_blocks.each(function(index2) {
    81                                                 if (index1 == index2) {
    82                                                         jQuery(this).hide("fold",{mode:"hide",size:'1'},delay, function() {tab_title.removeClass("tabSelected");});;
     82                                                if ((index1 == index2) && (options.animatedTabs)) {
     83                                                        jQuery(this).slideUp(delay, function() {tab_title.removeClass("tabSelected");});
     84                                                        // jQuery(this).hide("fold",{mode:"hide",size:'1'},delay, function() {tab_title.removeClass("tabSelected");});;
    8385                                                } else {
    8486                                                        jQuery(this).hide();
     
    9698                                        tab_blocks.each(function(index2) {
    9799                                                if (index1 == index2) {
    98                                                         if (old_selected_tab == -1) {
    99                                                                 jQuery(this).show("fold",{horizFirst:hfirst,mode:"show",size:'1'},delay);
     100                                                        if ((old_selected_tab == -1) && (options.animatedTabs)) {
     101                                                                jQuery(this).slideDown(delay);
     102                                                                // jQuery(this).show("fold",{horizFirst:hfirst,mode:"show",size:'1'},delay);
    100103                                                        } else {
    101104                                                                jQuery(this).show();
  • extensions/stripped/language/en_UK/theme.lang.php

    r7989 r9134  
    77
    88$lang['Interface options']='Interface options';
     9$lang['Hide menu by default on category page']='Hide menu by default on category page';
    910$lang['Animate menu']='Animate menu';
    1011$lang['Animate tabs on picture page']='Animate tabs on picture page';
  • extensions/stripped/language/fr_FR/theme.lang.php

    r7989 r9134  
    77
    88$lang['Interface options']='Interface';
     9$lang['Hide menu by default on category page']='Menu masqu&eacute; par d&eacute;faut sur la page des cat&eacute;gories';
    910$lang['Animate menu']='Menu anim&eacute;';
    1011$lang['Animate tabs on picture page']='Tabs anim&eacute;s sur la page image';
  • extensions/stripped/readme.txt

    r8183 r9134  
    2727Changelog
    2828---------
     29
     30*** version 1.2.0
     31
     32- improved compatibility with User Tags plugin
     33- some minor layout changes
     34- bug correction when rating with firefox
     35- add an option on configuration page to show/hide menu by default
    2936
    3037*** version 1.1.0
  • extensions/stripped/template/about.tpl

    r8503 r9134  
     1{php}
     2        global $conf;
     3        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
     4{/php}
    15<div class="titrePage">
    2         <ul class="categoryActions">
    3                 <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}">{'Home'|@translate}</a></li>
    4         </ul>
    5         <h2>{'About'|@translate}</h2>
     6        <div class="browsePath">
     7                <h2><a href="{$U_HOME}" title="{'return to homepage'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'About'|@translate}</h2>
     8        </div>
    69</div>
    710<div id="content">
  • extensions/stripped/template/comments.tpl

    r7989 r9134  
     1{php}
     2        global $conf;
     3        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
     4{/php}
    15<div class="titrePage">
    2   <ul class="categoryActions">
    3     <li><a class="button" href="{$U_HOME}" title="{'Home'|@translate}">{'Home'|@translate}</a></li>
    4   </ul>
    5   <h2>{'User comments'|@translate}</h2>
     6        <div class="browsePath">
     7                <h2><a href="{$U_HOME}" title="{'Home'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'User comments'|@translate}</h2>
     8        </div>
    69</div>
    710<div id="content">
    8   <form class="filter" action="{$F_ACTION}" method="get">
    9     <fieldset>
    10     <legend>{'Filter'|@translate}</legend>
    11     <label>{'Keyword'|@translate}&nbsp;<input type="text" name="keyword" value="{$F_KEYWORD}">&nbsp;&nbsp;</label>
    12     <label>{'Author'|@translate}&nbsp;<input type="text" name="author" value="{$F_AUTHOR}">&nbsp;&nbsp;</label>
    13     <label>
    14       {'Category'|@translate}
    15       <select name="cat">
    16         <option value="0">------------</option>
    17         {html_options options=$categories selected=$categories_selected}
    18       </select>&nbsp;
    19     </label>
    20     <label>
    21       {'Since'|@translate}
    22           <select name="since">
    23             {html_options options=$since_options selected=$since_options_selected}
    24           </select>
    25     </label>
    26     </fieldset>
    27     <fieldset>
    28       <legend>{'Display'|@translate}</legend>
    29     <label>
    30       {'Sort by'|@translate}
    31           <select name="sort_by">
    32             {html_options options=$sort_by_options selected=$sort_by_options_selected}
    33           </select>&nbsp;
    34     </label>
    35     <label>
    36       {'Sort order'|@translate}
    37           <select name="sort_order">
    38             {html_options options=$sort_order_options selected=$sort_order_options_selected}
    39           </select>&nbsp;
    40     </label>
    41     <label>
    42       {'Number of items'|@translate}
    43           <select name="items_number">
    44             {html_options options=$item_number_options selected=$item_number_options_selected}
    45           </select>
    46     </label>
    47     </fieldset>
    48     <p><input class="submit" type="submit" value="{'Filter and display'|@translate}"></p>
    49   </form>
    50   {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    51   {if isset($comments)}
    52   <div id="comments">
    53     {include file='comment_list.tpl'}
    54   </div>
    55   {/if}
     11        <form class="filter" action="{$F_ACTION}" method="get">
     12                <fieldset>
     13                        <legend>{'Filter'|@translate}</legend>
     14                        <label>{'Keyword'|@translate}&nbsp;<input type="text" name="keyword" value="{$F_KEYWORD}">&nbsp;&nbsp;</label>
     15                        <label>{'Author'|@translate}&nbsp;<input type="text" name="author" value="{$F_AUTHOR}">&nbsp;&nbsp;</label>
     16                        <label>
     17                                {'Category'|@translate}
     18                                <select name="cat">
     19                                        <option value="0">------------</option>
     20                                        {html_options options=$categories selected=$categories_selected}
     21                                </select>&nbsp;
     22                        </label>
     23                        <label>
     24                                {'Since'|@translate}
     25                                <select name="since">
     26                                        {html_options options=$since_options selected=$since_options_selected}
     27                                </select>
     28                        </label>
     29                </fieldset>
     30                <fieldset>
     31                        <legend>{'Display'|@translate}</legend>
     32                        <label>
     33                                {'Sort by'|@translate}
     34                                <select name="sort_by">
     35                                        {html_options options=$sort_by_options selected=$sort_by_options_selected}
     36                                </select>&nbsp;
     37                        </label>
     38                        <label>
     39                                {'Sort order'|@translate}
     40                                <select name="sort_order">
     41                                        {html_options options=$sort_order_options selected=$sort_order_options_selected}
     42                                </select>&nbsp;
     43                        </label>
     44                        <label>
     45                                {'Number of items'|@translate}
     46                                <select name="items_number">
     47                                        {html_options options=$item_number_options selected=$item_number_options_selected}
     48                                </select>
     49                        </label>
     50                </fieldset>
     51                <p><input class="submit" type="submit" value="{'Filter and display'|@translate}"></p>
     52        </form>
     53        {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
     54        {if isset($comments)}
     55                <div id="comments">
     56                        {include file='comment_list.tpl'}
     57                </div>
     58        {/if}
    5659</div> <!-- content -->
  • extensions/stripped/template/identification.tpl

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

    r8873 r9134  
    2424        {if ($GMaps_loaded)}<div id="text_gmaps" style="display:none">{'GMap'|@translate}</div>{/if}
    2525</div>
    26 <div id="content">
    27   {$MENUBAR}
    28   <div id="subcontent">
    29         {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
    30     {if isset($chronology.TITLE) }
    31     <h2>{$chronology.TITLE}</h2>
    32     {/if}
    33     {if isset($chronology_views) }
    34     {if isset($U_MODE_POSTED) }
    35     <a href="{$U_MODE_POSTED}" rel="nofollow">{'display a calendar by posted date'|@translate}</a>
    36     {/if}
    37     {if isset($U_MODE_CREATED) }
    38     <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a>
    39     {/if}
    40     <div class="calendarViews">{'View'|@translate}:
    41     <select onchange="document.location = this.options[this.selectedIndex].value;">
    42       {foreach from=$chronology_views item=view}
    43       <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
    44       {/foreach}
    45     </select>
    46     </div>
    47     {/if}
     26<table id="content" {if !$smarty.config.hideMenu}class="menuShown"{/if} cellpadding="0px" cellspacing="0px">
     27        {$MENUBAR}
     28        <td id="subcontent">
     29                {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
     30                {if isset($chronology.TITLE) }
     31                        <h2>{$chronology.TITLE}</h2>
     32                {/if}
     33                {if isset($chronology_views) }
     34                        {if isset($U_MODE_POSTED) }
     35                                <a href="{$U_MODE_POSTED}" rel="nofollow">{'display a calendar by posted date'|@translate}</a>
     36                        {/if}
     37                        {if isset($U_MODE_CREATED) }
     38                                <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a>
     39                        {/if}
     40                        <div class="calendarViews">{'View'|@translate}:
     41                                <select onchange="document.location = this.options[this.selectedIndex].value;">
     42                                        {foreach from=$chronology_views item=view}
     43                                                <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
     44                                        {/foreach}
     45                                </select>
     46                        </div>
     47                {/if}
    4848
    49     {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}<div class="content_block">{$PLUGIN_INDEX_CONTENT_BEGIN}</div>{/if}
    50     {if !empty($category_search_results) }
    51     <div>{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
    52       {foreach from=$category_search_results item=res name=res_loop}
    53       {if !$smarty.foreach.res_loop.first} &mdash; {/if}
    54       {$res}
    55       {/foreach}
    56     </div>
    57     {/if}
    58     {if !empty($tag_search_results) }
    59     <div>{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
    60       {foreach from=$tag_search_results item=res name=res_loop}
    61       {if !$smarty.foreach.res_loop.first} &mdash; {/if}
    62       {$res}
    63       {/foreach}
    64     </div>
    65     {/if}
    66     {if isset($FILE_CHRONOLOGY_VIEW) }
    67       {include file=$FILE_CHRONOLOGY_VIEW}
    68     {/if}
     49                {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}<div class="content_block">{$PLUGIN_INDEX_CONTENT_BEGIN}</div>{/if}
     50                {if !empty($category_search_results) }
     51                        <div>{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
     52                                {foreach from=$category_search_results item=res name=res_loop}
     53                                {if !$smarty.foreach.res_loop.first} &mdash; {/if}
     54                                {$res}
     55                                {/foreach}
     56                        </div>
     57                {/if}
     58                {if !empty($tag_search_results) }
     59                        <div>{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
     60                                {foreach from=$tag_search_results item=res name=res_loop}
     61                                        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
     62                                        {$res}
     63                                {/foreach}
     64                        </div>
     65                {/if}
     66                {if isset($FILE_CHRONOLOGY_VIEW) }
     67                        {include file=$FILE_CHRONOLOGY_VIEW}
     68                {/if}
    6969
    70     {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
    71         {if !empty($THUMBNAILS) }
    72                 <div id="thumbnails_block1">
    73                         <div id="thumbnails_block2">
    74                                 <div id="thumbnails">{$THUMBNAILS}</div>
    75                                 {if !empty($navbar) }
    76                                         {include file='navigation_thumb.tpl'|@get_extent:'navbar'}
    77                                 {/if}
     70                {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
     71                {if !empty($THUMBNAILS) }
     72                        <div id="thumbnails_block1">
     73                                <div id="thumbnails_block2">
     74                                        <div id="thumbnails">{$THUMBNAILS}</div>
     75                                        {if !empty($navbar) }
     76                                                {include file='navigation_thumb.tpl'|@get_extent:'navbar'}
     77                                        {/if}
     78                                </div>
     79                                        {if !empty($navbar) }
     80                                                {include file='navigation_bar.tpl'|@get_extent:'navbar'}
     81                                        {/if}
    7882                        </div>
    79                                 {if !empty($navbar) }
    80                                         {include file='navigation_bar.tpl'|@get_extent:'navbar'}
    81                                 {/if}
    82                 </div>
    83         {/if}
    84     {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
    85     {if !empty($CONTENT_DESCRIPTION) }
    86     <div class="content_block"><div class="additional_info">
    87       {$CONTENT_DESCRIPTION}
    88     </div></div>
    89     {/if}
    90         {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
    91   </div> <!-- subContent -->
    92   <div style="clear: both;"></div>
    93 </div> <!-- content -->
    94 
     83                {/if}
     84                {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
     85                {if !empty($CONTENT_DESCRIPTION) }
     86                        <div class="content_block"><div class="additional_info">
     87                                {$CONTENT_DESCRIPTION}
     88                        </div></div>
     89                {/if}
     90                {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
     91        </div> <!-- subContent -->
     92        <div style="clear: both;"></div>
     93</table> <!-- content -->
  • extensions/stripped/template/menubar.tpl

    r7989 r9134  
    11{if !empty($blocks) }
    2 <div id="menubar">
    3   {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>
    12   {/if}
    13   {/foreach}
    14 </div>
     2<td id="menubar_container"><div id="menubar">
     3        {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>
     12                {/if}
     13        {/foreach}
     14</div></td>
    1515{/if}
  • extensions/stripped/template/nbm.tpl

    r7989 r9134  
     1{php}
     2        global $conf;
     3        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
     4{/php}
    15<div class="titrePage">
    2   <ul class="categoryActions">
    3     <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}">{'Home'|@translate}</a></li>
    4   </ul>
    5   <h2>{'Notification'|@translate}</h2>
     6        <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>
     8        </div>
    69</div>
    710<div id="content">
    8   {if not empty($errors)}
    9   <div class="errors">
    10     <ul>
    11       {foreach from=$errors item=error}
    12       <li>{$error}</li>
    13       {/foreach}
    14     </ul>
    15   </div>
    16   {/if}
    17   {if not empty($infos)}
    18   <div class="infos">
    19     <ul>
    20       {foreach from=$infos item=info}
    21       <li>{$info}</li>
    22       {/foreach}
    23     </ul>
    24   </div>
    25   {/if}
     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>
     18                </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}
    2629</div>
  • extensions/stripped/template/notification.tpl

    r7989 r9134  
     1{php}
     2        global $conf;
     3        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
     4{/php}
    15<div class="titrePage">
    2   <ul class="categoryActions">
    3     <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}">{'Home'|@translate}</a></li>
    4   </ul>
    5   <h2>{'Notification'|@translate}</h2>
     6        <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>
     8        </div>
    69</div>
    710<div id="content">
    8   <p>{'The RSS notification feed provides notification on news from this website : new pictures, updated categories, new comments. Use a RSS feed reader.'|@translate}</p>
    9   <ul>
    10     <li><a href="{$U_FEED_IMAGE_ONLY}">{'Image only RSS feed'|@translate}</a></li>
    11     <li><a href="{$U_FEED}">{'Complete RSS feed (images, comments)'|@translate}</a></li>
    12   </ul>
     11        <p>{'The RSS notification feed provides notification on news from this website : new pictures, updated categories, new comments. Use a RSS feed reader.'|@translate}</p>
     12        <ul>
     13                <li><a href="{$U_FEED_IMAGE_ONLY}">{'Image only RSS feed'|@translate}</a></li>
     14                <li><a href="{$U_FEED}">{'Complete RSS feed (images, comments)'|@translate}</a></li>
     15        </ul>
    1316</div>
  • extensions/stripped/template/password.tpl

    r7989 r9134  
     1{php}
     2        global $conf;
     3        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
     4{/php}
    15<div class="titrePage">
    2   <ul class="categoryActions">
    3     <li><a class="button" href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}">{'Home'|@translate}</a></li>
    4   </ul>
    5   <h2>{'Password forgotten'|@translate}</h2>
     6        <div class="browsePath">
     7                <h2><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Password forgotten'|@translate}</h2>
     8        </div>
    69</div>
    710<div id="content">
    8   {if count($errors)}
    9   <div class="errors">
    10     <ul>
    11       {foreach from=$errors item=error}
    12       <li>{$error}</li>
    13       {/foreach}
    14     </ul>
    15   </div>
    16   {/if}
    17   {if count($infos)}
    18   <div class="infos">
    19     <ul>
    20       {foreach from=$infos item=info}
    21       <li>{$info}</li>
    22       {/foreach}
    23     </ul>
    24   </div>
    25   {/if}
    26   <form action="{$F_ACTION}" method="post" class="properties">
    27     <fieldset>
    28       <legend>{'Retrieve password'|@translate}</legend>
    29       <ul>
    30         <li>
    31         <span class="property">
    32             <label for="mail_address">{'Email address'|@translate}</label>
    33         </span>
    34         <input class="login" type="text" name="mail_address" id="mail_address" size="40" maxlength="40" >
    35         </li>
    36       </ul>
    37     </fieldset>
    38     <p><input class="submit" type="submit" name="submit" value="{'Send new password'|@translate}"></p>
    39   </form>
     11        {if count($errors)}
     12                <div class="errors">
     13                        <ul>
     14                                {foreach from=$errors item=error}
     15                                        <li>{$error}</li>
     16                                {/foreach}
     17                        </ul>
     18                </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        <form action="{$F_ACTION}" method="post" class="properties">
     30                <fieldset>
     31                        <legend>{'Retrieve password'|@translate}</legend>
     32                        <ul>
     33                                <li>
     34                                        <span class="property">
     35                                                <label for="mail_address">{'Email address'|@translate}</label>
     36                                        </span>
     37                                        <input class="login" type="text" name="mail_address" id="mail_address" size="40" maxlength="40" >
     38                                </li>
     39                        </ul>
     40                </fieldset>
     41                <p><input class="submit" type="submit" name="submit" value="{'Send new password'|@translate}"></p>
     42        </form>
    4043</div> <!-- content -->
  • extensions/stripped/template/picture.tpl

    r8183 r9134  
    9696{php}
    9797        global $pwg_loaded_plugins;
    98         $this->assign('Nothumbs', (isset($pwg_loaded_plugins[ 'Autosize' ]) || isset($pwg_loaded_plugins[ 'look_like_gbo2' ])));
     98        $this->assign('nothumbs', (isset($pwg_loaded_plugins[ 'Autosize' ]) || isset($pwg_loaded_plugins[ 'look_like_gbo2' ])));
     99        $this->assign('usertags', (isset($pwg_loaded_plugins[ 'user_tags' ])));
    99100{/php}
    100101
    101102<div id="theImageAndTitle">
    102103        <div id="theImageBox">
    103                 {if ($DISPLAY_NAV_THUMB) && !($Nothumbs)}
     104                {if ($DISPLAY_NAV_THUMB) && !($nothumbs)}
    104105                        {if isset($previous) }<div id="linkPrevOut"><a id="linkPrevIn" href="{$previous.U_IMG}" title="{'previous_page'|@translate} : {$previous.TITLE}" rel="prev"><div class="navThumb" ><img src="{$previous.THUMB_SRC}" alt="{$previous.TITLE}" /></div></a></div>{/if}
    105106                        {if isset($next) }<div id="linkNextOut"><a id="linkNextIn" href="{$next.U_IMG}" title="{'next_page'|@translate} : {$next.TITLE}" rel="next"><div class="navThumb" ><img src="{$next.THUMB_SRC}" alt="{$next.TITLE}" /></div></a></div>{/if}
     
    144145                                        <li id="tabTcaption" class="tabTitle">{'Description'|@translate}</li>
    145146                                {/if}
    146                                 {if ($display_info.tags && isset($related_tags))}
     147                                {if ($display_info.tags && (isset($related_tags) || ($usertags)))}
    147148                                        <li id="tabTtags" class="tabTitle">{'Tags'|@translate}</li>
    148149                                {/if}
     
    166167                                </div></div>
    167168                        {/if}
    168                         {if ($display_info.tags && isset($related_tags))}
     169                        {if ($display_info.tags && (isset($related_tags) || ($usertags)))}
    169170                                <div id="Ttags" class="tabBlock"><div class="tabBlockContent">
    170                                         {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}
    171                                                         <a href="{$tag.URL}">{$tag.name}</a>
    172                                         {/foreach}
     171                                {if ($usertags)}<table id="Tags" ><td class="label"></td><td class="value">{/if}
     172                                {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}
     173                                        <a href="{$tag.URL}">{$tag.name}</a>
     174                                {/foreach}
     175                                {if ($usertags)}</td></table>{/if}
    173176                                </div></div>
    174177                        {/if}
  • extensions/stripped/template/profile.tpl

    r7989 r9134  
     1{php}
     2        global $conf;
     3        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
     4{/php}
    15<div class="titrePage">
    2   <ul class="categoryActions">
    3     <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}">{'Home'|@translate}</a></li>
    4   </ul>
    5   <h2>{'Profile'|@translate}</h2>
     6        <div class="browsePath">
     7                <h2><a href="{$U_HOME}" title="{'return to homepage'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Profile'|@translate}</h2>
     8        </div>
    69</div>
    710<div id="content">
    8   {if isset($errors)}
    9   <div class="errors">
    10     <ul>
    11       {foreach from=$errors item=error}
    12       <li>{$error}</li>
    13       {/foreach}
    14     </ul>
    15   </div>
    16   {/if}
    17 {$PROFILE_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                </div>
     19        {/if}
     20        {$PROFILE_CONTENT}
    1821</div> <!-- content -->
  • extensions/stripped/template/register.tpl

    r7989 r9134  
     1{php}
     2        global $conf;
     3        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
     4{/php}
    15<div class="titrePage">
    2   <ul class="categoryActions">
    3     <li><a href="{$U_HOME}" title="{'Home'|@translate}">{'Home'|@translate}</a></li>
    4   </ul>
    5   <h2>{'Registration'|@translate}</h2>
     6        <div class="browsePath">
     7                <h2><a href="{$U_HOME}" title="{'Home'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Registration'|@translate}</h2>
     8        </div>
    69</div>
    710<div id="content">
    8   {if isset($errors)}
    9   <div class="errors">
    10     <ul>
    11       {foreach from=$errors item=error}
    12       <li>{$error}</li>
    13       {/foreach}
    14     </ul>
    15   </div>
    16   {/if}
    17   <form method="post" action="{$F_ACTION}" class="properties" name="register_form">
    18     <fieldset>
    19       <legend>{'Enter your personnal informations'|@translate}</legend>
    20       <ul>
    21         <li>
    22           <span class="property">
    23             <label for="login">{'Username'|@translate}</label>
    24           </span>
    25           <input type="text" name="login" id="login" value="{$F_LOGIN}" >&nbsp;<span class="mandatorystar">*</span>
    26         </li>
    27         <li>
    28           <span class="property">
    29             <label for="password">{'Password'|@translate}</label>
    30           </span>
    31           <input type="password" name="password" id="password" >&nbsp;<span class="mandatorystar">*</span>
    32         </li>
    33         <li>
    34           <span class="property">
    35             <label for="password_conf">{'Confirm Password'|@translate}</label>
    36           </span>
    37           <input type="password" name="password_conf" id="password_conf" >&nbsp;<span class="mandatorystar">*</span>
    38         </li>
    39         <li>
    40         <span class="property">
    41             <label for="mail_address">{'Mail address'|@translate}</label>
    42         </span>
    43           <input type="text" name="mail_address" id="mail_address" value="{$F_EMAIL}" >
    44           ({'useful when password forgotten'|@translate})
    45         </li>
    46       </ul>
    47     </fieldset>
    48     <p class="bottomButtons">
    49       <input class="submit" type="submit" name="submit" value="{'Register'|@translate}">
    50       <input class="submit" type="reset" value="{'Reset'|@translate}">
    51     </p>
    52   </form>
    53   <p><span class="mandatorystar">*</span> : {'obligatory'|@translate}</p>
    54   <script type="text/javascript">
    55     <!--
    56        document.register_form.login.focus();
    57        //-->
    58   </script>
     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                </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 class="submit" type="submit" name="submit" value="{'Register'|@translate}">
     53                        <input class="submit" type="reset" value="{'Reset'|@translate}">
     54                </p>
     55        </form>
     56        <p><span class="mandatorystar">*</span> : {'obligatory'|@translate}</p>
     57        <script type="text/javascript">
     58                <!--
     59                document.register_form.login.focus();
     60                //-->
     61        </script>
    5962</div> <!-- content -->
  • extensions/stripped/template/search.tpl

    r7989 r9134  
     1{php}
     2        global $conf;
     3        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
     4{/php}
    15<div class="titrePage">
    2   <ul class="categoryActions">
    3     <li><a href="{$U_HOME}" title="{'Home'|@translate}" rel="home">{'Home'|@translate}</a></li>
    4   </ul>
    5   <h2>{'Search'|@translate}</h2>
     6        <div class="browsePath">
     7                <h2><a href="{$U_HOME}" title="{'Home'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Search'|@translate}</h2>
     8        </div>
    69</div>
    710<div id="content">
    8   {if isset($errors) }
    9   <div class="errors">
    10     <ul>
    11       {foreach from=$errors item=error}
    12       <li>{$error}</li>
    13       {/foreach}
    14     </ul>
    15   </div>
    16   {/if}
    17   <form class="filter" method="post" name="search" action="{$F_SEARCH_ACTION}">
    18   <fieldset>
    19     <legend>{'Filter'|@translate}</legend>
    20     <label>{'Search for words'|@translate}
    21       <input type="text" style="width: 300px" name="search_allwords" size="30"  />
    22     </label>
    23     <ul>
    24       <li><label>
    25         <input type="radio" name="mode" value="AND" checked="checked" />{'Search for all terms'|@translate}
    26       </label></li>
    27       <li><label>
    28         <input type="radio" name="mode" value="OR" />{'Search for any terms'|@translate}
    29       </label></li>
    30     </ul>
    31     <label>{'Search for Author'|@translate}
    32       <input type="text" style="width: 300px" name="search_author" size="30"  />
    33     </label>
    34   </fieldset>
    35   {if isset($TAG_SELECTION)}
    36   <fieldset>
    37     <legend>{'Search tags'|@translate}</legend>
    38     {$TAG_SELECTION}
    39     <label><span><input type="radio" name="tag_mode" value="AND" checked="checked" /> {'All tags'|@translate}</span></label>
    40     <label><span><input type="radio" name="tag_mode" value="OR" /> {'Any tag'|@translate}</span></label>
    41   </fieldset>
    42   {/if}
    43   <fieldset>
    44     <legend>{'Search by Date'|@translate}</legend>
    45     <ul>
    46       <li><label>{'Kind of date'|@translate}</label></li>
    47       <li><label>
    48         <input type="radio" name="date_type" value="date_creation" checked="checked" />{'Creation date'|@translate}
    49       </label></li>
    50       <li><label>
    51         <input type="radio" name="date_type" value="date_available" />{'Post date'|@translate}
    52       </label></li>
    53     </ul>
    54     <ul>
    55     <li><label>{'Date'|@translate}</label></li>
    56       <li>
    57       <select id="start_day" name="start_day">
    58           <option value="0">--</option>
    59           {section name=day start=1 loop=32}
    60           <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$START_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
    61           {/section}
    62         </select>
    63       <select id="start_month" name="start_month">
    64           {html_options options=$month_list selected=$START_MONTH_SELECTED}
    65         </select>
    66       <input id="start_year" name="start_year" type="text" size="4" maxlength="4" >
    67       <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled">
    68     </li>
    69     <li>
    70       <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>
    71       </li>
    72     </ul>
    73     <ul>
    74     <li><label>{'End-Date'|@translate}</label></li>
    75       <li>
    76       <select id="end_day" name="end_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==$END_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
    80           {/section}
    81         </select>
    82       <select id="end_month" name="end_month">
    83           {html_options options=$month_list selected=$END_MONTH_SELECTED}
    84         </select>
    85       <input id="end_year" name="end_year" type="text" size="4" maxlength="4" >
    86       <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled">
    87     </li>
    88     <li>
    89       <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>
    90       </li>
    91     </ul>
    92   </fieldset>
    93   <fieldset>
    94     <legend>{'Search Options'|@translate}</legend>
    95   <label>{'Search in Categories'|@translate}
    96       <select class="categoryList" name="cat[]" multiple="multiple" >
    97         {html_options options=$category_options selected=$category_options_selected}
    98       </select>
    99     </label>
    100     <ul>
    101       <li><label>{'Search in subcategories'|@translate}</label></li>
    102       <li><label>
    103         <input type="radio" name="subcats-included" value="1" checked="checked" />{'Yes'|@translate}
    104       </label></li>
    105       <li><label>
    106         <input type="radio" name="subcats-included" value="0" />{'No'|@translate}
    107       </label></li>
    108     </ul>
    109   </fieldset>
    110   <p>
    111     <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" />
    112     <input class="submit" type="reset" value="{'Reset'|@translate}" />
    113   </p>
    114   </form>
    115   <script type="text/javascript"><!--
    116   document.search.search_allwords.focus();
    117   //--></script>
     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                </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>
    118123</div> <!-- content -->
  • extensions/stripped/template/tags.tpl

    r7989 r9134  
     1{php}
     2        global $conf;
     3        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
     4{/php}
    15<div class="titrePage">
    2   <ul class="categoryActions">
    3   {if $display_mode == 'letters'}
    4     <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}">{'show tag cloud'|@translate}</a></li> «
    5   {/if}
    6   {if $display_mode == 'cloud'}
    7     <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}">{'group by letters'|@translate}</a></li> «
    8   {/if}
    9     <li><a href="{$U_HOME}" title="{'Home'|@translate}">{'Home'|@translate}</a></li>
    10   </ul>
    11   <h2>{'Tags'|@translate}</h2>
     6        <div class="browsePath">
     7                <h2><a href="{$U_HOME}" title="{'Home'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Tags'|@translate}</h2>
     8        </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>
    1217</div>
    1318<div id="content">
    14 {if isset($tags)}
    15   {if $display_mode == 'cloud'}
    16   <div id="fullTagCloud">
    17     {foreach from=$tags item=tag}
    18                 <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$pwg->l10n_dec('%d image', '%d images', $tag.counter)}">{$tag.name}</a></span>
    19     {/foreach}
    20   </div>
    21   {/if}
    22   {if $display_mode == 'letters'}
    23   <table>
    24     <tr>
    25       <td valign="top">
    26       {foreach from=$letters item=letter}
    27       <fieldset class="tagLetter">
    28         <legend class="tagLetterLegend">{$letter.TITLE}</legend>
    29         <table class="tagLetterContent">
    30           {foreach from=$letter.tags item=tag}
    31           <tr class="tagLine">
    32             <td><a href="{$tag.URL}">{$tag.name}</a></td>
    33         <td class="nbEntries">{$pwg->l10n_dec('%d image', '%d images', $tag.counter)}</td>
    34           </tr>
    35           {/foreach}
    36         </table>
    37       </fieldset>
    38       {if isset($letter.CHANGE_COLUMN) }
    39       </td>
    40       <td valign="top">
    41       {/if}
    42       {/foreach}
    43       </td>
    44     </tr>
    45   </table>
    46   {/if}
    47 {/if}
     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 image', '%d images', $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 image', '%d images', $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}
     47                                                {/foreach}
     48                                        </td>
     49                                </tr>
     50                        </table>
     51                {/if}
     52        {/if}
    4853</div> <!-- content -->
  • extensions/stripped/template/upload.tpl

    r7989 r9134  
     1{php}
     2        global $conf;
     3        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
     4{/php}
    15<div class="titrePage">
    2   <ul class="categoryActions">
    3     <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}">{'Home'|@translate}</a></li>
    4   </ul>
    5   <h2>{'Upload a picture'|@translate}</h2>
     6        <div class="browsePath">
     7                <h2><a href="{$U_HOME}" title="{'return to homepage'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Upload a picture'|@translate}</h2>
     8        </div>
    69</div>
    710<div id="content">
    8   {if isset($errors) and count($errors)}
    9   <div class="errors">
    10     <ul>
    11       {foreach from=$errors item=error}
    12       <li>{$error}</li>
    13       {/foreach}
    14     </ul>
    15   </div>
    16   {/if}
    17   {if not $UPLOAD_SUCCESSFUL }
    18   <form enctype="multipart/form-data" method="post" action="{$F_ACTION}">
    19     <fieldset>
    20       <legend>{$ADVISE_TITLE}</legend>
    21       {if not empty($advises)}
    22       <ul>
    23         {foreach from=$advises item=advise}
    24         <li>{$advise}</li>
    25         {/foreach}
    26       </ul>
    27       {/if}
    28       <ul>
    29         <li>
    30           <div class="property">&nbsp;</div><input name="picture" type="file" value="" />
    31         </li>
    32         {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS}
    33         <!-- category -->
    34         <li>
    35           <div class="property">{'Category'|@translate}</div>
    36           {html_options name="category" options=$categories selected=$categories_selected}
    37         </li>
    38         <!-- username -->
    39         <li>
    40           <div class="property">{'Username'|@translate}</div>
    41           <input name="username" type="text" value="{$NAME}" />&nbsp;<span class="mandatorystar">*</span>
    42         </li>
    43         <!-- mail address -->
    44         <li>
    45           <div class="property">{'E-mail address'|@translate}</div>
    46           <input name="mail_address" type="text" value="{$EMAIL}" size="35"/>&nbsp;<span class="mandatorystar">*</span>
    47         </li>
    48         <!-- name of the picture -->
    49         <li>
    50           <div class="property">{'Name of the picture'|@translate}</div>
    51           <input name="name" type="text" value="{$NAME_IMG}" size="35"/>
    52         </li>
    53         <!-- author -->
    54         <li>
    55           <div class="property">{'Author'|@translate}</div>
    56           <input name="author" type="text" value="{$AUTHOR_IMG}" size="35"/>
    57         </li>
    58         <!-- date of creation -->
    59         <li>
    60           <div class="property">{'Creation date'|@translate} (DD/MM/YYYY)</div>
    61           <input name="date_creation" type="text" value="{$DATE_IMG}" />
    62         </li>
    63         <!-- comment -->
    64         <li>
    65           <div class="property">{'Comment'|@translate}</div>
    66           <textarea name="comment" rows="6" cols="60" style="overflow:auto">{$COMMENT_IMG}</textarea>
    67         </li>
    68         {/if}
    69       </ul>
    70     </fieldset>
    71     <p class="bottomButtons">
    72       <input class="submit" name="submit" type="submit" value="{'Submit'|@translate}" />
    73     </p>
    74   </form>
    75   {else}
    76   {'Picture uploaded with success, an administrator will validate it as soon as possible'|@translate}<br />
    77   <div style="text-align:center;">
    78     <a href="{$U_RETURN}">[ {'Home'|@translate} ]</a>
    79   </div>
    80   {/if}
    81   {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS}
    82   <p><span class="mandatorystar">*</span> : {'obligatory'|@translate}</p>
    83   {/if}
     11        {if isset($errors) and count($errors)}
     12                <div class="errors">
     13                        <ul>
     14                                {foreach from=$errors item=error}
     15                                        <li>{$error}</li>
     16                                {/foreach}
     17                        </ul>
     18                </div>
     19        {/if}
     20        {if not $UPLOAD_SUCCESSFUL }
     21                <form enctype="multipart/form-data" method="post" action="{$F_ACTION}">
     22                        <fieldset>
     23                                <legend>{$ADVISE_TITLE}</legend>
     24                                {if not empty($advises)}
     25                                        <ul>
     26                                                {foreach from=$advises item=advise}
     27                                                        <li>{$advise}</li>
     28                                                {/foreach}
     29                                        </ul>
     30                                {/if}
     31                                <ul>
     32                                        <li>
     33                                                <div class="property">&nbsp;</div><input name="picture" type="file" value="" />
     34                                        </li>
     35                                        {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS}
     36                                                <!-- category -->
     37                                                <li>
     38                                                        <div class="property">{'Category'|@translate}</div>
     39                                                        {html_options name="category" options=$categories selected=$categories_selected}
     40                                                </li>
     41                                                <!-- username -->
     42                                                <li>
     43                                                        <div class="property">{'Username'|@translate}</div>
     44                                                        <input name="username" type="text" value="{$NAME}" />&nbsp;<span class="mandatorystar">*</span>
     45                                                </li>
     46                                                <!-- mail address -->
     47                                                <li>
     48                                                        <div class="property">{'E-mail address'|@translate}</div>
     49                                                        <input name="mail_address" type="text" value="{$EMAIL}" size="35"/>&nbsp;<span class="mandatorystar">*</span>
     50                                                </li>
     51                                                <!-- name of the picture -->
     52                                                <li>
     53                                                        <div class="property">{'Name of the picture'|@translate}</div>
     54                                                        <input name="name" type="text" value="{$NAME_IMG}" size="35"/>
     55                                                </li>
     56                                                <!-- author -->
     57                                                <li>
     58                                                        <div class="property">{'Author'|@translate}</div>
     59                                                        <input name="author" type="text" value="{$AUTHOR_IMG}" size="35"/>
     60                                                </li>
     61                                                <!-- date of creation -->
     62                                                <li>
     63                                                        <div class="property">{'Creation date'|@translate} (DD/MM/YYYY)</div>
     64                                                        <input name="date_creation" type="text" value="{$DATE_IMG}" />
     65                                                </li>
     66                                                <!-- comment -->
     67                                                <li>
     68                                                        <div class="property">{'Comment'|@translate}</div>
     69                                                        <textarea name="comment" rows="6" cols="60" style="overflow:auto">{$COMMENT_IMG}</textarea>
     70                                                </li>
     71                                        {/if}
     72                                </ul>
     73                        </fieldset>
     74                        <p class="bottomButtons">
     75                                <input class="submit" name="submit" type="submit" value="{'Submit'|@translate}" />
     76                        </p>
     77                </form>
     78        {else}
     79                {'Picture uploaded with success, an administrator will validate it as soon as possible'|@translate}<br />
     80                <div style="text-align:center;">
     81                        <a href="{$U_RETURN}">[ {'Home'|@translate} ]</a>
     82                </div>
     83        {/if}
     84        {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS}
     85                <p><span class="mandatorystar">*</span> : {'obligatory'|@translate}</p>
     86        {/if}
    8487</div> <!-- content -->
  • extensions/stripped/theme.css

    r8873 r9134  
    108108        padding:12px 0;
    109109        text-align:center;
    110         display:table;
    111110}
    112111
    113112#subcontent {
    114         display:table-cell;
    115113        vertical-align:top;
    116114        max-width:1120px;
     
    259257}
    260258
     259#menubar_container {
     260        vertical-align:top;
     261}
     262
    261263.js #menubar {
    262         display: none;
     264        display:none;
     265}
     266.js .menuShown #menubar {
     267        display: block;
    263268}
    264269
     
    14321437}
    14331438
     1439/* User Tags Plugin ---------------------------------------------------------------------------- */
     1440
     1441table#Tags              {margin:auto;}
     1442#Tags .label            {width:auto;}
     1443#Tags .value            {width:auto;}
     1444
    14341445/* PWG Stuffs Plugin --------------------------------------------------------------------------- */
    14351446
  • extensions/stripped/themeconf.inc.php

    r7989 r9134  
    22/*
    33Theme Name: stripped
    4 Version: 1.0.0
     4Version: 1.2.0
    55Description: stripped Theme
    66Theme URI: http://piwigo.org/ext/extension_view.php?eid=471
Note: See TracChangeset for help on using the changeset viewer.