Changeset 3618
- Timestamp:
- Jul 17, 2009, 5:30:27 PM (15 years ago)
- Location:
- extensions/floOs
- Files:
-
- 5 added
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/floOs/about.tpl
r3334 r3618 11 11 <h2>{'About'|@translate}</h2> 12 12 </div> 13 <ul> 14 {$ABOUT_MESSAGE} 15 {if isset($THEME_ABOUT) } 16 <li>{$THEME_ABOUT}</li> 17 {/if} 18 </ul> 13 <div id="autre_content"> 14 <ul> 15 {$ABOUT_MESSAGE} 16 {if isset($THEME_ABOUT) } 17 <li>{$THEME_ABOUT}</li> 18 {/if} 19 </ul> 20 </div> 19 21 </div> -
extensions/floOs/comment_list.tpl
r3334 r3618 1 {* $Id$ *} 2 {foreach from=$comments item=comment} 3 <div class="comment" > 4 {if isset($comment.TN_SRC)} 5 <a class="illustration" href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}" alt="{$comment.ALT}" /></a> 6 {/if} 7 <div class="commentHeader"> 8 {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) } 9 <ul class="actions" style="float:right"> 10 {if isset($comment.U_DELETE)} 11 <li> 12 <a href="{$comment.U_DELETE}" title="{'comments_del'|@translate}"> 13 <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[{'delete'|@translate}]"/> 14 </a> 15 </li>{/if} 16 17 {if isset($comment.U_VALIDATE)} 18 <li> 19 <a href="{$comment.U_VALIDATE}" title="validate this comment"> 20 <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]"/> 21 </a> 22 </li>{/if} 23 </ul> 24 {/if} 25 <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span> 26 </div> 27 28 <blockquote>{$comment.CONTENT}</blockquote> 29 </div> 30 <hr/> 1 <ul class="thumbnailCategories"> 2 {foreach from=$comments item=comment name=comment_loop} 3 <li> 4 <div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> 5 {if isset($comment.TN_SRC)} 6 <div class="illustration"> 7 <a href="{$comment.U_PICTURE}"> 8 <img src="{$comment.TN_SRC}" alt="{$comment.ALT}" /> 9 </a> 10 </div> 11 {/if} 12 <div class="description"> 13 {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) } 14 <ul class="actions" style="float:right"> 15 {if isset($comment.U_DELETE)} 16 <li> 17 <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}"> 18 <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" /> 19 </a> 20 </li> 21 {/if} 22 {if isset($comment.U_VALIDATE)} 23 <li> 24 <a href="{$comment.U_VALIDATE}" title="validate this comment"> 25 <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" /> 26 </a> 27 </li> 28 {/if} 29 </ul> 30 {/if} 31 <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span> 32 <blockquote>{$comment.CONTENT}</blockquote> 33 </div> 34 </div> 35 </li> 36 {if isset($comment_separator)} 37 <hr/> 38 {/if} 31 39 {/foreach} 32 40 </ul> -
extensions/floOs/comments.tpl
r3334 r3618 1 {* $Id: comments.tpl 2352 2008-05-20 00:27:26Z patdenice $ *}2 1 <div id="content" class="content"> 3 2 -
extensions/floOs/content.css
r3334 r3618 4 4 margin-bottom: 1em; /* when it's longer than menu bar */ 5 5 } 6 6 #autre_content { 7 padding-bottom: 1em; 8 } 7 9 BODY#theCommentsPage .content, 8 10 BODY#theUploadPage .content, … … 48 50 49 51 .content FORM { 50 text-align: center;52 text-align: left; 51 53 } 52 54 … … 158 160 159 161 TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank { 160 text-align:left; 161 vertical-align: top; 162 font: bold 18px Arial, Helvetica, sans-serif; 163 } 164 165 TD.calDayHead { font: bold 12px Arial, Helvetica, sans-serif; } 162 vertical-align: top; 163 font-weight: bold; 164 font-size: 18px; 165 } 166 167 TD.calDayHead { 168 font-weight: bold; 169 font-size: 12px; 170 text-align: center; 171 } 166 172 167 173 DIV.calImg { -
extensions/floOs/default-layout.css
r3617 r3618 241 241 } 242 242 243 #fullTagCloud LI { 244 display: inline; 245 white-space: nowrap; 246 margin: 0 2px; 247 } 248 243 #fullTagCloud SPAN { 244 white-space: nowrap; 245 margin: 0 2px; 246 } 249 247 250 248 .tagLevel5 { font-size: 150%; } … … 259 257 display: none; 260 258 } 259 #theNotificationPage p { padding: 0.5em; } 261 260 262 261 BODY#thePopuphelpPage .content P { … … 308 307 border-collapse : collapse; 309 308 } 309 310 #theNotificationPage DL, 311 #thePopuphelpPage DL { margin: 0 25px 25px; } 312 .content #comments UL.thumbnailCategories LI { width:99%; } 313 /* jQuery datepicker */ 314 IMG.ui-datepicker-trigger { 315 cursor : pointer; 316 } 317 310 318 /*--------menu--------------*/ 311 319 #table_content, #table_menu { -
extensions/floOs/fix-ie5-ie6.css
r3334 r3618 2 2 /* Issues in IE from 5 to 6 only not to be used with IE7 */ 3 3 4 @import "thumbnails-fix-ie5-ie6.css"; 4 /* fix IE with another layout for thumbnails */ 5 .content UL.thumbnails SPAN.wrap2 { 6 display: block; 7 position: relative; 8 text-align: left; 9 } 10 .content UL.thumbnails SPAN.wrap2 A, 11 .content UL.thumbnails SPAN.wrap2 SPAN { 12 overflow: visible; 13 position: absolute; 14 top: 50%; 15 text-align: center; 16 } 17 18 .content UL.thumbnails IMG.thumbnail { 19 position: relative; 20 top: -50%; 21 /*\*//*/ 22 margin-top: -40%; 23 /**/ 24 } 5 25 6 26 /* to avoid vanishing objects in IE6 */ -
extensions/floOs/fix-khtml.css
r3334 r3618 12 12 } 13 13 14 #menubar #menuTagCloud LI 15 { 14 #menubar #menuTagCloud SPAN{ 16 15 display: inline-block;/* required for Safari 3.1 - otherwise overflows on the right */ 17 16 } 18 19 /* end Safari/Konqueror */20 -
extensions/floOs/footer.tpl
r3334 r3618 1 {* $Id: footer.tpl 2381 2008-06-01 19:19:46Z vdigital $ *} 2 <div id="copyright"> 3 <a name="EoP"></a> <!-- End of Page --> 4 {if isset($debug.TIME) } 5 {'generation_time'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'sql_queries_in'|@translate} {$debug.SQL_TIME}) - 6 {/if} 7 8 {* Please, do not remove this copyright. If you really want to, 9 contact us on http://piwigo.org to find a solution on how 10 to show the origin of the script... 1 <div id="copyright"> <a name="EoP"></a> 2 <!-- End of Page --> 3 {if isset($debug.TIME) } 4 {'generation_time'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'sql_queries_in'|@translate} {$debug.SQL_TIME}) - 5 {/if} 6 7 {* Please, do not remove this copyright. If you really want to, 8 contact us on http://piwigo.org to find a solution on how 9 to show the origin of the script... 11 10 *} 12 13 {'powered_by'|@translate} 14 <a href="http://piwigo.org" class="Piwigo"> 15 <span class="Piwigo">Piwigo</span></a> 16 {$VERSION} 11 12 {'powered_by'|@translate} <a href="{$PHPWG_URL}" class="Piwigo"> <span class="Piwigo">Piwigo</span></a> {$VERSION} 17 13 {if isset($CONTACT_MAIL)} 18 - {'send_mail'|@translate} 19 <a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a> 20 {/if} 21 22 </div> <!-- copyright --> 23 {if isset($footer_elements)} 24 {foreach from=$footer_elements item=v} 25 {$v} 26 {/foreach} 14 - <a href="http://flop25.free.fr">Flop25 Style</a> - <a href="http://tango.freedesktop.org/Tango_Desktop_Project">Tango Icon</a> - {'send_mail'|@translate} <a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a> {/if} 15 16 {if isset($footer_elements)} 17 {foreach from=$footer_elements item=v} 18 {$v} 19 {/foreach} 20 {/if} </div> 21 <!-- the_page --> 22 {if isset($debug.QUERIES_LIST)} 23 <div id="debug"> {$debug.QUERIES_LIST} </div> 27 24 {/if} 28 </div> <!-- the_page --> 29 30 {if isset($debug.QUERIES_LIST)}{$debug.QUERIES_LIST}{/if} 31 </body> 32 </html> 25 </div> 26 <!-- copyright --> 27 </body></html> -
extensions/floOs/header.tpl
r3617 r3618 77 77 { 78 78 global $template, $page; 79 $header_ msgs = array();79 $header_notes = array(); 80 80 $name_is_nutd = array(); 81 81 include_once(PHPWG_ROOT_PATH.'template/floOS/tools/version.conf.php'); … … 83 83 load_language('template.lang', PHPWG_ROOT_PATH.'template/floOS/tools/'); 84 84 $floOS = new floOS(); 85 if( $floOS->is_not_up_to_date($floOS_conf['version'], ' 135') )85 if( $floOS->is_not_up_to_date($floOS_conf['version'], '230') ) 86 86 { 87 $template->append('header_ msgs', l10n('floOS_update_needed'));87 $template->append('header_notes', l10n('floOS_update_needed')); 88 88 $name_is_nutd['floOS']=$floOS_conf['version']; 89 89 } … … 97 97 98 98 global $template; 99 $header_ msgs = array();99 $header_notes = array(); 100 100 include_once(PHPWG_ROOT_PATH.'template/floOS/tools/floOS.class.php'); 101 101 load_language('template.lang', PHPWG_ROOT_PATH.'template/floOS/tools/'); … … 109 109 <div class="header_msgs"> 110 110 {foreach from=$header_msgs item=elt} 111 <p>{$elt}</p>111 {$elt}</p> 112 112 {/foreach} 113 113 </div> -
extensions/floOs/identification.tpl
r3334 r3618 56 56 57 57 <p><input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}"></p> 58 </form>59 60 <script type="text/javascript"><!--61 document.login_form.username.focus();62 //--></script>63 58 64 59 <p> … … 68 63 <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"> {'Forgot your password?'|@translate}</a> 69 64 </p> 65 </form> 66 67 <script type="text/javascript"><!-- 68 document.login_form.username.focus(); 69 //--></script> 70 70 71 71 </div> <!-- content --> -
extensions/floOs/index.tpl
r3334 r3618 1 {* $Id: index.tpl 2352 2008-05-20 00:27:26Z patdenice $ *}2 3 1 {$MENUBAR} 4 2 {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} … … 13 11 <td id="section_left"> </td> 14 12 <td id="section_in"> 15 13 <div class="titrePage"> 16 14 <ul class="categoryActions"> 15 {if !empty($image_orders) } 16 <li> 17 {'Sort order'|@translate}: 18 <select onchange="document.location = this.options[this.selectedIndex].value;"> 19 {foreach from=$image_orders item=image_order } 20 <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option> 21 {/foreach} 22 </select> 23 </li> 24 {/if} 25 17 26 {if isset($U_CADDIE) } 18 27 <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"/></a></li> … … 24 33 25 34 {if isset($U_SEARCH_RULES) } 26 <li><a href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)"></a></li> 27 {/if} 28 29 <li> </li> 30 {if !empty($image_orders) } 31 <li> 32 {'Sort order'|@translate}: 33 <select onchange="document.location = this.options[this.selectedIndex].value;"> 34 {foreach from=$image_orders item=image_order } 35 <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}}>{$image_order.DISPLAY}</option> 36 {/foreach} 37 </select> 38 </li> 35 <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)" /></a></li> 39 36 {/if} 40 37 … … 44 41 45 42 {if isset($U_MODE_FLAT) } 46 <li><a href="{$U_MODE_FLAT}" title="{'mode_flat_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'mode_flat_hint'|@translate}" ></a></li>43 <li><a href="{$U_MODE_FLAT}" title="{'mode_flat_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'mode_flat_hint'|@translate}" /></a></li> 47 44 {/if} 48 45 49 46 {if isset($U_MODE_NORMAL) } 50 <li><a href="{$U_MODE_NORMAL}" title="{'mode_normal_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'mode_normal_hint'|@translate}" ></a></li>47 <li><a href="{$U_MODE_NORMAL}" title="{'mode_normal_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'mode_normal_hint'|@translate}" /></a></li> 51 48 {/if} 52 49 53 50 {if isset($U_MODE_POSTED) } 54 <li><a href="{$U_MODE_POSTED}" title="{'mode_posted_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'mode_posted_hint'|@translate}" ></a></li>51 <li><a href="{$U_MODE_POSTED}" title="{'mode_posted_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'mode_posted_hint'|@translate}" /></a></li> 55 52 {/if} 56 53 57 54 {if isset($U_MODE_CREATED) } 58 <li><a href="{$U_MODE_CREATED}" title="{'mode_created_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'mode_created_hint'|@translate}" ></a></li>55 <li><a href="{$U_MODE_CREATED}" title="{'mode_created_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'mode_created_hint'|@translate}" /></a></li> 59 56 {/if} 60 57 … … 62 59 </ul> 63 60 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 61 <h2>{$TITLE}</h2> 62 63 {if isset($chronology_views) } 64 <div class="calendarViews">{'calendar_view'|@translate}: 65 <select onchange="document.location = this.options[this.selectedIndex].value;"> 66 {foreach from=$chronology_views item=view} 67 <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option> 68 {/foreach} 69 </select> 70 </div> 71 {/if} 72 73 {if isset($chronology.TITLE) } 74 <h2>{$chronology.TITLE}</h2> 75 {/if} 76 77 </div> <!-- titrePage --> 81 78 82 79 {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} … … 94 91 95 92 {if !empty($tag_search_results) } 96 <div style="font-size:16px; text-align:left;margin:10px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :93 <div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 97 94 <em><strong> 98 95 {foreach from=$tag_search_results item=res name=res_loop} -
extensions/floOs/layout.css
r3334 r3618 13 13 /* Override properties with import local file */ 14 14 @import "../../template-common/local-layout.css"; 15 15 @import "default-colors.css"; -
extensions/floOs/mainpage_categories.tpl
r3334 r3618 7 7 <div class="illustration"> 8 8 <a href="{$cat.URL}"> 9 <img src="{$cat.TN_SRC}" alt="{$cat. ALT}" title="{'hint_category'|@translate}">9 <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'hint_category'|@translate}"> 10 10 </a> 11 11 </div> … … 13 13 <h3> 14 14 <a href="{$cat.URL}">{$cat.NAME}</a> 15 {$cat.ICON }15 {$cat.ICON_TS} 16 16 </h3> 17 <div class="text"> 17 18 {if isset($cat.INFO_DATES) } 18 19 <p>{$cat.INFO_DATES}</p> 19 20 {/if} 20 21 <p>{$cat.CAPTION_NB_IMAGES}</p> 21 <p>{$cat.DESCRIPTION}</p> 22 <p class="cat_description">{$cat.DESCRIPTION}</p> 23 </div> 22 24 </div> 23 25 </div> -
extensions/floOs/menubar.css
r3334 r3618 12 12 13 13 #menubar .button { 14 margin: 02px;14 margin: -2px 2px 2px; 15 15 width: auto; 16 16 padding: 0; … … 40 40 41 41 #menubar UL, 42 #menubar HR,43 42 #menubar FORM, 44 #menubar P, /* ooh, careful... */ 45 #menubar .totalImages { 43 #menubar P { 46 44 font-size: 92%; 47 margin: 10px 0 10px 10px;45 margin: 10px 0 10px 5px; 48 46 } 49 47 #menubar UL { … … 88 86 FORM#quickconnect FIELDSET { 89 87 margin: 0; 90 padding: 0 0 0.5em 0;88 padding: 0; /*IE6 requires padding 0*/ 91 89 } 92 90 93 FORM#quickconnect P { 94 margin-left: 0; 95 font-size: 100%; 96 float: left; 97 clear: left; 98 } 99 100 FORM#quickconnect P INPUT { 101 margin: 0; 102 } 103 104 FORM#quickconnect UL.actions { 105 display: inline; 106 float: right; 91 FORM#quickconnect FIELDSET DIV { 92 margin: 8px 5px; 107 93 padding: 0; 108 text-align: right; /* Opera 7.5 */109 }110 FORM#quickconnect FIELDSET>UL.actions {111 width: 40%; /* Opera 7.5 cannot find why width:auto fails :-( */112 }113 114 FORM#quickconnect UL.actions,115 FORM#quickconnect P,116 FORM#quickconnect LABEL {117 padding: 0 0.5em 0 0.5em;118 }119 120 FORM#quickconnect LABEL {121 margin:0;122 width: 100%;123 box-sizing: border-box; /* CSS3 */124 }125 126 FORM#quickconnect INPUT[type=text],127 FORM#quickconnect INPUT[type=password] {128 width: 100%; /* mozilla can handle 100% */129 }130 /* same as above for IE with inputfix.htc131 unfortunately IE doesn't handle that correctly132 so you should set a width in em in local_layout.css */133 /*FORM#quickconnect INPUT.text,134 FORM#quickconnect INPUT.password {135 width: 95%;136 }*/137 138 FORM#quicksearch {139 margin-top: 4px;140 margin-bottom: 1px;141 }142 INPUT#qsearchInput {143 width: 90%;144 94 } 145 95 #menubar #mbMenu p { margin: 0px; padding: 0px; } … … 150 100 } 151 101 152 #menubar #menuTagCloud LI 153 { 154 display: inline; 155 white-space: nowrap; /* No line break in the LI but Opera set nowrap to */ 102 #menubar #menuTagCloud SPAN { 103 white-space: nowrap; 156 104 } 157 158 105 159 106 /* menu en haut */ -
extensions/floOs/menubar_identification.tpl
r3334 r3618 1 1 2 2 <dt class="titre_acordeon"><a href="#"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{$block->get_title()|@translate}</a></dt> 3 <dd> {if isset($USERNAME)} 4 <p>{'hello'|@translate} {$USERNAME} !</p> 5 {/if} 6 <ul> 7 {if isset($U_REGISTER)} 8 <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li> 9 {/if} 10 11 {if isset($U_LOGIN)} 12 <li><a href="{$U_LOGIN}" rel="nofollow">{'Connection'|@translate}</a></li> 13 {/if} 14 15 {if isset($U_LOGOUT)} 16 <li><a href="{$U_LOGOUT}">{'logout'|@translate}</a></li> 17 {/if} 18 19 {if isset($U_PROFILE)} 20 <li><a href="{$U_PROFILE}" title="{'hint_customize'|@translate}">{'customize'|@translate}</a></li> 21 {/if} 22 23 {if isset($U_ADMIN)} 24 <li><a href="{$U_ADMIN}" title="{'hint_admin'|@translate}">{'admin'|@translate}</a></li> 25 {/if} 26 </ul> 27 {if isset($U_LOGIN)} 28 <form method="post" action="{$U_LOGIN}" id="quickconnect"> 29 <fieldset> 30 <legend>{'Quick connect'|@translate}</legend> 31 <div> 32 <label for="username">{'Username'|@translate}</label> 33 <br/> 34 <input type="text" name="username" id="username" value="" style="width:99%"> 35 </div> 36 <div> 37 <label for="password">{'Password'|@translate}</label> 38 <br/> 39 <input type="password" name="password" id="password" style="width:99%"> 40 </div> 41 {if $AUTHORIZE_REMEMBERING} 42 <div> 43 <label> {'remember_me'|@translate} 44 <input type="checkbox" name="remember_me" value="1"> 45 </label> 46 </div> 47 {/if} 48 <div> 49 <ul class="actions"> 50 <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li> 51 {if isset($U_REGISTER)} 52 <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"/></a></li> 53 {/if} 54 </ul> 55 <input class="submit" type="submit" name="login" value="{'Submit'|@translate}"> 56 </div> 57 </fieldset> 58 </form> 59 {/if} </dd> 3 <dd> 4 {if isset($USERNAME)} 5 <p>{'hello'|@translate} {$USERNAME} !</p> 6 {/if} 7 8 <ul> 9 {if isset($U_REGISTER)} 10 <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li> 11 {/if} 12 13 {if isset($U_LOGIN)} 14 <li><a href="{$U_LOGIN}" rel="nofollow">{'Connection'|@translate}</a></li> 15 {/if} 16 17 {if isset($U_LOGOUT)} 18 <li><a href="{$U_LOGOUT}">{'logout'|@translate}</a></li> 19 {/if} 20 21 {if isset($U_PROFILE)} 22 <li><a href="{$U_PROFILE}" title="{'hint_customize'|@translate}">{'customize'|@translate}</a></li> 23 {/if} 24 25 {if isset($U_ADMIN)} 26 <li><a href="{$U_ADMIN}" title="{'hint_admin'|@translate}">{'admin'|@translate}</a></li> 27 {/if} 28 </ul> 29 30 {if isset($U_LOGIN)} 31 <form method="post" action="{$U_LOGIN}" id="quickconnect"> 32 <fieldset> 33 <legend>{'Quick connect'|@translate}</legend> 34 <div> 35 <label for="username">{'Username'|@translate}</label><br/> 36 <input type="text" name="username" id="username" value="" style="width:99%"> 37 </div> 38 39 <div><label for="password">{'Password'|@translate}</label> 40 <br/> 41 <input type="password" name="password" id="password" style="width:99%"> 42 </div> 43 44 {if $AUTHORIZE_REMEMBERING} 45 <div><label for="remember_me"> 46 {'remember_me'|@translate} 47 <input type="checkbox" name="remember_me" id="remember_me" value="1"> 48 </label></div> 49 {/if} 50 51 <div> 52 <input class="submit" type="submit" name="login" value="{'Submit'|@translate}"> 53 <ul class="actions"> 54 <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li> 55 {if isset($U_REGISTER)} 56 <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"/></a></li> 57 {/if} 58 </ul> 59 </div> 60 61 </fieldset> 62 </form> 63 {/if} 64 </dd> -
extensions/floOs/menubar_specials.tpl
r3334 r3618 8 8 </ul> 9 9 </dd> 10 </dl> -
extensions/floOs/menubar_tags.tpl
r3334 r3618 1 1 <dt class="titre_acordeon"><a href="#"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{$block->get_title()|@translate}</a></dt> 2 2 <dd> 3 <ul id="menuTagCloud"> 4 {foreach from=$block->data item=tag} 5 <li> {if !empty($tag.U_ADD) } <a href="{$tag.U_ADD}" 6 title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}" 7 rel="nofollow"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" /> </a> {/if} <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See elements linked to this tag only'|@translate}">{$tag.name}</a> </li> 8 {/foreach} 9 </ul> 3 <div id="menuTagCloud"> 4 {foreach from=$block->data item=tag} 5 <span> 6 {if !empty($tag.U_ADD) } 7 <a href="{$tag.U_ADD}" 8 title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}" 9 rel="nofollow"> 10 <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" /> 11 </a> 12 {/if} 13 <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See elements linked to this tag only'|@translate}">{$tag.name}</a> 14 </span> 15 {/foreach} 16 </div> 10 17 </dd> -
extensions/floOs/notification.tpl
r3334 r3618 1 {* $Id: notification.tpl 2352 2008-05-20 00:27:26Z patdenice $ *} 1 {html_head} 2 <link rel="alternate" type="application/rss+xml" title="{'Image only RSS feed'|@translate}" href="{$U_FEED_IMAGE_ONLY}"> 3 <link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed'|@translate}" href="{$U_FEED}"> 4 {/html_head} 2 5 <div id="content" class="content"> 3 6 … … 11 14 <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 15 13 <p><a href="{$U_FEED_IMAGE_ONLY}">{'Image only RSS feed'|@translate}</a></p> 14 <p><a href="{$U_FEED}">{'Complete RSS feed'|@translate}</a></p> 16 <dl> 17 <dt> 18 <a href="{$U_FEED_IMAGE_ONLY}">{'Image only RSS feed'|@translate}</a><br /><br /> 19 </dt> 20 <dt> 21 <a href="{$U_FEED}">{'Complete RSS feed'|@translate}</a> 22 </dt> 23 </dl> 15 24 </div> -
extensions/floOs/picture.tpl
r3334 r3618 1 {* $Id: picture.tpl 2435 2008-07-15 01:29:23Z rvelices $ *} 1 {* Example of resizeable *} 2 {* 3 {include file='include/autosize.inc.tpl'} 4 *} 2 5 {if isset($errors)} 3 6 <div class="errors"> … … 19 22 </div> 20 23 {/if} 24 {if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if} 21 25 22 26 <div id="imageHeaderBar"> … … 32 36 </div> 33 37 34 {if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if}35 38 <div id="imageToolBar"> 36 39 <div class="randomButtons"> -
extensions/floOs/picture_content.tpl
r3334 r3618 1 {* $Id: picture_content.tpl 2225 2008-02-28 12:07:00Z rvelices $ *}2 1 {if isset($high) } 3 2 <a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')"> 4 3 {/if} 5 <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"> 4 <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}" 5 {if isset($COMMENT_IMG)} 6 title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}" 7 {/if}> 6 8 {if isset($high) } 7 9 </a> -
extensions/floOs/picture_nav_buttons.tpl
r3334 r3618 1 {* $Id: picture_nav_buttons.tpl 2270 2008-03-09 07:53:02Z rub $ *}2 1 <div class="navButtons"> 3 2 … … 74 73 </div> 75 74 76 <script type="text/javascript"> 75 <script type="text/javascript">// <![CDATA[ 77 76 {literal} 78 77 function keyboardNavigation(e) 79 78 { 80 if(!e) vare=window.event;81 82 83 84 85 86 79 if(!e) e=window.event; 80 if (e.altKey) return true; 81 var target = e.target || e.srcElement; 82 if (target && target.type) return true; //an input editable element 83 var keyCode=e.keyCode || e.which; 84 var docElem = document.documentElement; 85 switch(keyCode) { 87 86 {/literal} 88 87 {if isset($next)} 89 88 case 63235: case 39: if (e.ctrlKey || docElem.scrollLeft==docElem.scrollWidth-docElem.clientWidth ){ldelim}window.location="{$next.U_IMG}".replace( "&", "&" ); return false; } break; 90 89 {/if} 91 90 {if isset($previous)} 92 91 case 63234: case 37: if (e.ctrlKey || docElem.scrollLeft==0){ldelim}window.location="{$previous.U_IMG|@escape:jasvascript}".replace("&","&"); return false; } break; 93 92 {/if} 94 93 {if isset($first)} 95 94 /*Home*/case 36: if (e.ctrlKey){ldelim}window.location="{$first.U_IMG|@escape:jasvascript}".replace("&","&"); return false; } break; 96 95 {/if} 97 96 {if isset($last)} 98 97 /*End*/case 35: if (e.ctrlKey){ldelim}window.location="{$last.U_IMG|@escape:jasvascript}".replace("&","&"); return false; } break; 99 98 {/if} 100 99 {if isset($U_UP) and !isset($slideshow)} 101 100 /*Up*/case 38: if (e.ctrlKey){ldelim}window.location="{$U_UP|@escape:jasvascript}".replace("&","&"); return false; } break; 102 101 {/if} 103 102 104 103 {if isset($slideshow.U_START_PLAY)} 105 104 /*Pause*/case 32: {ldelim}window.location="{$slideshow.U_START_PLAY|@escape:jasvascript}".replace("&","&"); return false; } break; 106 105 {/if} 107 106 {if isset($slideshow.U_STOP_PLAY)} 108 107 /*Play*/case 32: {ldelim}window.location="{$slideshow.U_STOP_PLAY|@escape:jasvascript}".replace("&","&"); return false; } break; 109 108 {/if} 110 111 109 } 110 return true; 112 111 } 113 112 document.onkeydown=keyboardNavigation; 114 </script>113 // ]]></script> -
extensions/floOs/popuphelp.tpl
r3334 r3618 1 {* $Id: popuphelp.tpl 2352 2008-05-20 00:27:26Z patdenice $ *}2 1 <div id="content" class="content"> 3 2 {$HELP_CONTENT} 4 3 </div> <!-- content --> 5 4 6 <p id="pageBottomActions"><a href="#" onclick="window.close();" title="{'Close this window'|@translate}"><img src="{$themeconf.icon_dir}/exit.png" class="button" alt="close"></a></p> 5 <ul class="categoryActions"> 6 <li> 7 <a href="#" onclick="window.close();" title="{'Close this window'|@translate}"> 8 <img src="{$ROOT_URL}{$themeconf.icon_dir}/exit.png" class="button" alt="exit"> 9 </a> 10 </li> 11 </ul> -
extensions/floOs/redirect.tpl
r3334 r3618 1 {* $Id: redirect.tpl 2249 2008-03-05 01:50:08Z rvelices $ *} 2 <p>{$REDIRECT_MSG}</p> 3 <p><a href="{$page_refresh.U_REFRESH}">{'click_to_redirect'|@translate}</a></p> 1 {html_head} 2 <style type="text/css">#the_page {ldelim}text-align:center;} </style> 3 {/html_head} 4 5 <div> 6 {$REDIRECT_MSG} 7 </div> 8 9 <p style="margin: 2em"> 10 <a href="{$page_refresh.U_REFRESH}"> 11 {'click_to_redirect'|@translate} 12 </a> 13 </p> -
extensions/floOs/search.tpl
r3334 r3618 1 {* $Id: search.tpl 2352 2008-05-20 00:27:26Z patdenice $ *} 1 {* Example of resizeable *} 2 {* 3 {include file='include/resize.inc.tpl'} 4 *} 5 6 {* Example of datepicker *} 7 {* 8 {include file='include/datepicker.inc.tpl'} 9 10 {literal} 11 <script type="text/javascript"> 12 pwg_initialization_datepicker("#start_day", "#start_month", "#start_year", "#start_linked_date", null, null, "#end_linked_date"); 13 pwg_initialization_datepicker("#end_day", "#end_month", "#end_year", "#end_linked_date", null, "#start_linked_date", null); 14 jQuery().ready(function(){ $(".date_today").hide(); }); 15 </script> 16 {/literal} 17 *} 2 18 <div id="content" class="content"> 3 19 … … 48 64 {/if} 49 65 66 50 67 <fieldset> 51 68 <legend>{'search_date'|@translate}</legend> … … 62 79 <li><label>{'search_date_from'|@translate}</label></li> 63 80 <li> 64 <select name="start_day">81 <select id="start_day" name="start_day"> 65 82 <option value="0">--</option> 66 83 {section name=day start=1 loop=32} … … 68 85 {/section} 69 86 </select> 70 <select name="start_month">87 <select id="start_month" name="start_month"> 71 88 {html_options options=$month_list selected=$START_MONTH_SELECTED} 72 89 </select> 73 <input name="start_year" type="text" size="4" maxlength="4" > 90 <input id="start_year" name="start_year" type="text" size="4" maxlength="4" > 91 <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled"/> 74 92 </li> 75 93 <li> 76 <a 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>94 <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> 77 95 </li> 78 96 </ul> … … 80 98 <li><label>{'search_date_to'|@translate}</label></li> 81 99 <li> 82 <select name="end_day">100 <select id="end_day" name="end_day"> 83 101 <option value="0">--</option> 84 102 {section name=day start=1 loop=32} … … 86 104 {/section} 87 105 </select> 88 <select name="end_month">106 <select id="end_month" name="end_month"> 89 107 {html_options options=$month_list selected=$END_MONTH_SELECTED} 90 108 </select> 91 <input name="end_year" type="text" size="4" maxlength="4" > 109 <input id="end_year" name="end_year" type="text" size="4" maxlength="4" > 110 <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled"/> 92 111 </li> 93 112 <li> 94 <a 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>113 <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> 95 114 </li> 96 115 </ul> -
extensions/floOs/search_rules.tpl
r3334 r3618 50 50 </div> <!-- content --> 51 51 52 <p id="pageBottomActions"> 53 <a href="#" onclick="window.close();" title="{'Close this window'|@translate}"> 54 <img src="{$themeconf.icon_dir}/exit.png" class="button" alt="close"> 55 </a> 56 </p> 52 <ul class="categoryActions"> 53 <li> 54 <a href="#" onclick="window.close();" title="{'Close this window'|@translate}"> 55 <img src="{$ROOT_URL}{$themeconf.icon_dir}/exit.png" class="button" alt="exit"> 56 </a> 57 </li> 58 </ul> -
extensions/floOs/slideshow.tpl
r3334 r3618 13 13 14 14 <div id="imageToolBar"> 15 {include file= $FILE_PICTURE_NAV_BUTTONS}15 {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} 16 16 </div> 17 17 -
extensions/floOs/thumbnails.css
r3334 r3618 1 /* $Id: thumbnails.css 2352 2008-05-20 00:27:26Z patdenice $ */2 3 1 /* Thumbnails customization */ 4 2 .content UL.thumbnails SPAN.thumbLegend { … … 36 34 margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/ 37 35 } 38 39 /* label and input used for caddie in admin section */40 .content UL.thumbnails LABEL {41 position: relative;42 }43 44 .content UL.thumbnails INPUT {45 position: relative; /* <= Opera can handle relative here */46 top: -20px;47 }48 :root .content UL.thumbnails INPUT { /* hide from Opera */49 position: absolute; /* <= Opera hide 1 checkbox over 2 !!! */50 left: 2px;51 top: 2px;52 }53 54 UL.thumbnails .levelIndicatorB {55 display:block; position:absolute; z-index:100;padding:0px 0 0 14px; color:black; font-weight:bold; fontsize:120%;56 }57 58 UL.thumbnails .levelIndicatorF {59 display:block; position:absolute; z-index:101;padding:1px 0 0 15px; color:white; font-weight:bold; fontsize:120%;60 } -
extensions/floOs/thumbnails.tpl
r3334 r3618 1 {* $Id: thumbnails.tpl 2274 2008-03-11 02:04:27Z rvelices $ *}2 1 {if !empty($thumbnails)} 3 2 <ul class="thumbnails"> … … 11 10 </span> 12 11 <span class="thumbLegend"> 13 { $thumbnail.NAME|@default}12 {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if} 14 13 {$thumbnail.ICON_TS} 15 14 {if isset($thumbnail.NB_COMMENTS)} -
extensions/floOs/tools/floOS.class.php
r3617 r3618 46 46 47 47 $msg=l10n('theme_update_needed_1').$themeconf['theme'].l10n('theme_update_needed_2').$themeconf['eid'].l10n('theme_update_needed_3').$themeconf['theme'].l10n('theme_update_needed_4'); 48 $template->append('header_ msgs', $msg);48 $template->append('header_notes', $msg); 49 49 $this->is_nutd[$themeconf['theme']]=$themeconf['version']; 50 50 } … … 134 134 if ($this->floOS_version_compare($version, $floOS_conf['version'])) 135 135 { 136 $template->append('header_ msgs', l10n('floOS_update_needed'));136 $template->append('header_notes', l10n('floOS_update_needed')); 137 137 } 138 138 else … … 151 151 { 152 152 $msg=l10n('theme_update_needed_1').$themeconf['theme'].l10n('theme_update_needed_2').$themeconf['eid'].l10n('theme_update_needed_3').$themeconf['theme'].l10n('theme_update_needed_4'); 153 $template->append('header_ msgs', $msg);153 $template->append('header_notes', $msg); 154 154 } 155 155 else -
extensions/floOs/tools/language/en_UK/template.lang.php
r3617 r3618 1 1 <?php 2 2 3 $lang['floOS_update_needed'] = 'Your version of floOS is not up to date : <a href="http://fr.piwigo.org/ext/extension_view.php?eid= 135" title="go to the page of the template" target="_blank" >click here to download the last revision of the template floOS</a>';3 $lang['floOS_update_needed'] = 'Your version of floOS is not up to date : <a href="http://fr.piwigo.org/ext/extension_view.php?eid=230" title="go to the page of the template" target="_blank" >click here to download the last revision of the template floOS</a>'; 4 4 $lang['theme_update_needed_1'] = 'The theme '; 5 5 $lang['theme_update_needed_2'] = ' is not up to date : <a href="http://fr.piwigo.org/ext/extension_view.php?eid='; -
extensions/floOs/tools/language/fr_FR/template.lang.php
r3617 r3618 1 1 <?php 2 2 3 $lang['floOS_update_needed'] = 'Votre version de floOS n\'est pas à jour : <a href="http://fr.piwigo.org/ext/extension_view.php?eid= 135" title="aller à la mise à jour" target="_blank" >cliquez ici pour accéder à la dernière révision du template floOS</a>';3 $lang['floOS_update_needed'] = 'Votre version de floOS n\'est pas à jour : <a href="http://fr.piwigo.org/ext/extension_view.php?eid=230" title="aller à la mise à jour" target="_blank" >cliquez ici pour accéder à la dernière révision du template floOS</a>'; 4 4 $lang['theme_update_needed_1'] = 'Le thème '; 5 5 $lang['theme_update_needed_2'] = ' n\'est pas à jour : <a href="http://fr.piwigo.org/ext/extension_view.php?eid='; -
extensions/floOs/tools/version.conf.php
r3617 r3618 2 2 $floOS_conf = array( 3 3 'name' => 'floOS', 4 'version' => ' 2.1.1',4 'version' => '1.0.0', 5 5 ); 6 6 -
extensions/floOs/upload.tpl
r3334 r3618 1 {* $Id: upload.tpl 2352 2008-05-20 00:27:26Z patdenice $ *} 2 1 {* Example of resizeable *} 2 {* 3 {include file='include/autosize.inc.tpl'} 4 *} 3 5 <div id="content" class="content"> 4 6 … … 37 39 <tr> 38 40 <td colspan="2" align="center"> 39 <input name="picture" type="file" value="" />41 <input class="file" name="picture" type="file" value="" /> 40 42 </td> 41 43 </tr> … … 87 89 <td>{'comment'|@translate}</td> 88 90 <td> 89 <textarea name="comment" rows="3" cols="40" style="overflow:auto">{$COMMENT_IMG}</textarea>91 <textarea name="comment" id="comment" rows="3" cols="40" style="overflow:auto">{$COMMENT_IMG}</textarea> 90 92 </td> 91 93 </tr> … … 106 108 107 109 {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS} 108 <div style="text-align:left; "><span style="color:red;">*</span> : {'mandatory'|@translate}</div>110 <div style="text-align:left; margin-left:20px;"><span style="color:red;">*</span> : {'mandatory'|@translate}</div> 109 111 {/if} 110 112 </div> <!-- content -->
Note: See TracChangeset
for help on using the changeset viewer.