Changeset 9134
- Timestamp:
- Feb 9, 2011, 9:17:48 PM (13 years ago)
- Location:
- extensions/stripped
- Files:
-
- 4 added
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped/admin/admin.inc.php
r7989 r9134 17 17 if(isset($_POST['submit_stripped'])) 18 18 { 19 $post['hideMenu']=isset($_POST['f_hideMenu']); 19 20 $post['animatedMenu']=isset($_POST['f_animatedMenu']); 20 21 $post['animatedTabs']=isset($_POST['f_animatedTabs']); -
extensions/stripped/admin/admin.tpl
r7989 r9134 8 8 <legend>{'Interface options'|@translate}</legend> 9 9 <ul> 10 <li><label> 11 <span class="property">{'Hide menu by default on category page'|@translate}</span> 12 <input type="checkbox" name="f_hideMenu" {if $options.hideMenu}checked{/if}> 13 </label></li> 10 14 <li><label> 11 15 <span class="property">{'Animate menu'|@translate}</span> -
extensions/stripped/conf/default.conf
r7989 r9134 20 20 # ------- Category Page Parameters --------------------------------------------- 21 21 22 # hideMenu 23 # -- true 24 # -- false 25 # if option set to true, menu will be hidden by default. 26 hideMenu = true 27 22 28 # animatedMenu 23 29 # -- true 24 30 # -- false 25 # animated menu option will be automatically set to 0 with webkit browsers26 # (chrome, safari) due to display problems.27 31 animatedMenu = true 28 32 -
extensions/stripped/js/scripts-tpp.js
r8183 r9134 51 51 icon_gmaps.text(text_gmaps.text()); 52 52 icon_gmaps.css("text-align","right"); 53 icon_gmaps.wrapAll('<li>'); 53 54 } 54 55 … … 57 58 var tab_loaded=0; 58 59 var tab_height=[]; 59 var delay ;60 if (options.animatedTabs) {delay = "slow";} else {delay = 0;}60 var delay=400; 61 // var delay="slow"; 61 62 var hfirst; 62 63 if (jQuery.browser.msie) {hfirst=false;} else {hfirst=true;} … … 79 80 var tab_title = jQuery(this); 80 81 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");});; 83 85 } else { 84 86 jQuery(this).hide(); … … 96 98 tab_blocks.each(function(index2) { 97 99 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); 100 103 } else { 101 104 jQuery(this).show(); -
extensions/stripped/language/en_UK/theme.lang.php
r7989 r9134 7 7 8 8 $lang['Interface options']='Interface options'; 9 $lang['Hide menu by default on category page']='Hide menu by default on category page'; 9 10 $lang['Animate menu']='Animate menu'; 10 11 $lang['Animate tabs on picture page']='Animate tabs on picture page'; -
extensions/stripped/language/fr_FR/theme.lang.php
r7989 r9134 7 7 8 8 $lang['Interface options']='Interface'; 9 $lang['Hide menu by default on category page']='Menu masqué par défaut sur la page des catégories'; 9 10 $lang['Animate menu']='Menu animé'; 10 11 $lang['Animate tabs on picture page']='Tabs animés sur la page image'; -
extensions/stripped/readme.txt
r8183 r9134 27 27 Changelog 28 28 --------- 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 29 36 30 37 *** 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} 1 5 <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> 6 9 </div> 7 10 <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} 1 5 <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> 6 9 </div> 7 10 <div id="content"> 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 11 <form class="filter" action="{$F_ACTION}" method="get"> 12 <fieldset> 13 <legend>{'Filter'|@translate}</legend> 14 <label>{'Keyword'|@translate} <input type="text" name="keyword" value="{$F_KEYWORD}"> </label> 15 <label>{'Author'|@translate} <input type="text" name="author" value="{$F_AUTHOR}"> </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> 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> 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> 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} 56 59 </div> <!-- content --> -
extensions/stripped/template/identification.tpl
r7989 r9134 1 {php} 2 global $conf; 3 $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]); 4 {/php} 1 5 <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> 6 9 </div> 7 10 <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> - 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> - 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> 55 60 </div> <!-- content --> -
extensions/stripped/template/index.tpl
r8873 r9134 24 24 {if ($GMaps_loaded)}<div id="text_gmaps" style="display:none">{'GMap'|@translate}</div>{/if} 25 25 </div> 26 < div id="content">27 28 <divid="subcontent">29 {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 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} 48 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 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} — {/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} — {/if} 62 {$res} 63 {/foreach} 64 </div> 65 {/if} 66 {if isset($FILE_CHRONOLOGY_VIEW) } 67 {include file=$FILE_CHRONOLOGY_VIEW} 68 {/if} 69 69 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} 78 82 </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 1 1 {if !empty($blocks) } 2 < div id="menubar">3 4 5 6 7 8 9 10 11 12 13 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> 15 15 {/if} -
extensions/stripped/template/nbm.tpl
r7989 r9134 1 {php} 2 global $conf; 3 $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]); 4 {/php} 1 5 <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> 6 9 </div> 7 10 <div id="content"> 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 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} 26 29 </div> -
extensions/stripped/template/notification.tpl
r7989 r9134 1 {php} 2 global $conf; 3 $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]); 4 {/php} 1 5 <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> 6 9 </div> 7 10 <div id="content"> 8 9 10 11 12 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> 13 16 </div> -
extensions/stripped/template/password.tpl
r7989 r9134 1 {php} 2 global $conf; 3 $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]); 4 {/php} 1 5 <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> 6 9 </div> 7 10 <div id="content"> 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 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> 40 43 </div> <!-- content --> -
extensions/stripped/template/picture.tpl
r8183 r9134 96 96 {php} 97 97 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' ]))); 99 100 {/php} 100 101 101 102 <div id="theImageAndTitle"> 102 103 <div id="theImageBox"> 103 {if ($DISPLAY_NAV_THUMB) && !($ Nothumbs)}104 {if ($DISPLAY_NAV_THUMB) && !($nothumbs)} 104 105 {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} 105 106 {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} … … 144 145 <li id="tabTcaption" class="tabTitle">{'Description'|@translate}</li> 145 146 {/if} 146 {if ($display_info.tags && isset($related_tags))}147 {if ($display_info.tags && (isset($related_tags) || ($usertags)))} 147 148 <li id="tabTtags" class="tabTitle">{'Tags'|@translate}</li> 148 149 {/if} … … 166 167 </div></div> 167 168 {/if} 168 {if ($display_info.tags && isset($related_tags))}169 {if ($display_info.tags && (isset($related_tags) || ($usertags)))} 169 170 <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} 173 176 </div></div> 174 177 {/if} -
extensions/stripped/template/profile.tpl
r7989 r9134 1 {php} 2 global $conf; 3 $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]); 4 {/php} 1 5 <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> 6 9 </div> 7 10 <div id="content"> 8 9 10 11 12 13 14 15 16 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} 18 21 </div> <!-- content --> -
extensions/stripped/template/register.tpl
r7989 r9134 1 {php} 2 global $conf; 3 $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]); 4 {/php} 1 5 <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> 6 9 </div> 7 10 <div id="content"> 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 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}" > <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" > <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" > <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> 59 62 </div> <!-- content --> -
extensions/stripped/template/search.tpl
r7989 r9134 1 {php} 2 global $conf; 3 $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]); 4 {/php} 1 5 <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> 6 9 </div> 7 10 <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> 118 123 </div> <!-- content --> -
extensions/stripped/template/tags.tpl
r7989 r9134 1 {php} 2 global $conf; 3 $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]); 4 {/php} 1 5 <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> 12 17 </div> 13 18 <div id="content"> 14 {if isset($tags)}15 16 17 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 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 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} 48 53 </div> <!-- content --> -
extensions/stripped/template/upload.tpl
r7989 r9134 1 {php} 2 global $conf; 3 $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]); 4 {/php} 1 5 <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> 6 9 </div> 7 10 <div id="content"> 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 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"> </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}" /> <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"/> <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} 84 87 </div> <!-- content --> -
extensions/stripped/theme.css
r8873 r9134 108 108 padding:12px 0; 109 109 text-align:center; 110 display:table;111 110 } 112 111 113 112 #subcontent { 114 display:table-cell;115 113 vertical-align:top; 116 114 max-width:1120px; … … 259 257 } 260 258 259 #menubar_container { 260 vertical-align:top; 261 } 262 261 263 .js #menubar { 262 display: none; 264 display:none; 265 } 266 .js .menuShown #menubar { 267 display: block; 263 268 } 264 269 … … 1432 1437 } 1433 1438 1439 /* User Tags Plugin ---------------------------------------------------------------------------- */ 1440 1441 table#Tags {margin:auto;} 1442 #Tags .label {width:auto;} 1443 #Tags .value {width:auto;} 1444 1434 1445 /* PWG Stuffs Plugin --------------------------------------------------------------------------- */ 1435 1446 -
extensions/stripped/themeconf.inc.php
r7989 r9134 2 2 /* 3 3 Theme Name: stripped 4 Version: 1. 0.04 Version: 1.2.0 5 5 Description: stripped Theme 6 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=471
Note: See TracChangeset
for help on using the changeset viewer.