diff options
author | nikrou <nikrou@piwigo.org> | 2009-03-09 19:41:45 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2009-03-09 19:41:45 +0000 |
commit | bea3462f56e589ac95619c865cb4d89efe554d13 (patch) | |
tree | 048b6e1e0737604053f6982ebae253c9ce7fc332 /template | |
parent | 10e179f482cdba4ba8bfbe98a51b160435d399c1 (diff) |
fix html warnings. unclosed monotags
git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r-- | template/yoga/about.tpl | 2 | ||||
-rw-r--r-- | template/yoga/comment_list.tpl | 10 | ||||
-rw-r--r-- | template/yoga/comments.tpl | 6 | ||||
-rw-r--r-- | template/yoga/header.tpl | 2 | ||||
-rw-r--r-- | template/yoga/identification.tpl | 8 | ||||
-rw-r--r-- | template/yoga/index.tpl | 16 | ||||
-rw-r--r-- | template/yoga/mail/text/html/footer.tpl | 2 | ||||
-rw-r--r-- | template/yoga/mail/text/html/notification_by_mail.tpl | 10 | ||||
-rw-r--r-- | template/yoga/menubar_identification.tpl | 6 | ||||
-rw-r--r-- | template/yoga/menubar_menu.tpl | 2 | ||||
-rw-r--r-- | template/yoga/menubar_tags.tpl | 2 | ||||
-rw-r--r-- | template/yoga/month_calendar.tpl | 4 | ||||
-rw-r--r-- | template/yoga/nbm.tpl | 2 | ||||
-rw-r--r-- | template/yoga/notification.tpl | 4 | ||||
-rw-r--r-- | template/yoga/password.tpl | 2 | ||||
-rw-r--r-- | template/yoga/picture.tpl | 8 | ||||
-rw-r--r-- | template/yoga/profile.tpl | 2 | ||||
-rw-r--r-- | template/yoga/profile_content.tpl | 2 | ||||
-rw-r--r-- | template/yoga/register.tpl | 2 | ||||
-rw-r--r-- | template/yoga/search.tpl | 30 | ||||
-rw-r--r-- | template/yoga/tags.tpl | 8 | ||||
-rw-r--r-- | template/yoga/thumbnails.tpl | 6 | ||||
-rw-r--r-- | template/yoga/upload.tpl | 18 |
23 files changed, 77 insertions, 77 deletions
diff --git a/template/yoga/about.tpl b/template/yoga/about.tpl index 62b51839d..d9e935205 100644 --- a/template/yoga/about.tpl +++ b/template/yoga/about.tpl @@ -4,7 +4,7 @@ <ul class="categoryActions"> <li> <a href="{$U_HOME}" title="{'return to homepage'|@translate}"> - <img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/> + <img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"> </a> </li> </ul> diff --git a/template/yoga/comment_list.tpl b/template/yoga/comment_list.tpl index ee4f4efb8..d1ebc2f26 100644 --- a/template/yoga/comment_list.tpl +++ b/template/yoga/comment_list.tpl @@ -6,7 +6,7 @@ {if isset($comment.TN_SRC)} <div class="illustration"> <a href="{$comment.U_PICTURE}"> - <img src="{$comment.TN_SRC}" alt="{$comment.ALT}" /> + <img src="{$comment.TN_SRC}" alt="{$comment.ALT}"> </a> </div> {/if} @@ -16,14 +16,14 @@ {if isset($comment.U_DELETE)} <li> <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}"> - <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" /> + <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]"> </a> </li> {/if} {if isset($comment.U_VALIDATE)} <li> <a href="{$comment.U_VALIDATE}" title="validate this comment"> - <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" /> + <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]"> </a> </li> {/if} @@ -35,7 +35,7 @@ </div> </li> {if isset($comment_separator)} -<hr/> +<hr> {/if} {/foreach} -</ul>
\ No newline at end of file +</ul> diff --git a/template/yoga/comments.tpl b/template/yoga/comments.tpl index 13994c0a7..3262fe7b2 100644 --- a/template/yoga/comments.tpl +++ b/template/yoga/comments.tpl @@ -3,7 +3,7 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> + <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li> </ul> <h2>{'User comments'|@translate}</h2> </div> @@ -13,9 +13,9 @@ <fieldset> <legend>{'Filter'|@translate}</legend> - <label>{'Keyword'|@translate}<input type="text" name="keyword" value="{$F_KEYWORD}" /></label> + <label>{'Keyword'|@translate}<input type="text" name="keyword" value="{$F_KEYWORD}"></label> - <label>{'Author'|@translate}<input type="text" name="author" value="{$F_AUTHOR}" /></label> + <label>{'Author'|@translate}<input type="text" name="author" value="{$F_AUTHOR}"></label> <label> {'Category'|@translate} diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl index abe063799..589ac288b 100644 --- a/template/yoga/header.tpl +++ b/template/yoga/header.tpl @@ -76,7 +76,7 @@ {if not empty($header_msgs)} <div class="header_msgs"> {foreach from=$header_msgs item=elt} - {$elt}<br /> + {$elt}<br> {/foreach} </div> {/if} diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl index 944954be5..d3fac035e 100644 --- a/template/yoga/identification.tpl +++ b/template/yoga/identification.tpl @@ -5,9 +5,9 @@ <ul class="categoryActions"> <li><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}"></a></li> {if isset($U_REGISTER) } - <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"/></a></li> + <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"></a></li> {/if} - <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> + <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li> </ul> <h2>{'Identification'|@translate}</h2> </div> @@ -33,14 +33,14 @@ <span class="property"> <label for="username">{'Username'|@translate}</label> </span> - <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" /> + <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40"> </li> <li> <span class="property"> <label for="password">{'Password'|@translate}</label> </span> - <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25" /> + <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25"> </li> {if $authorize_remembering } diff --git a/template/yoga/index.tpl b/template/yoga/index.tpl index c270fc891..fcafb8fd8 100644 --- a/template/yoga/index.tpl +++ b/template/yoga/index.tpl @@ -20,35 +20,35 @@ {/if} {if isset($U_CADDIE) } - <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> + <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> {/if} {if isset($U_EDIT) } - <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/></a></li> + <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li> {/if} {if isset($U_SEARCH_RULES) } - <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> + <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> {/if} {if isset($U_SLIDESHOW) } - <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"/></a></li> + <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"></a></li> {/if} {if isset($U_MODE_FLAT) } - <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> + <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> {/if} {if isset($U_MODE_NORMAL) } - <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> + <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> {/if} {if isset($U_MODE_POSTED) } - <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> + <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> {/if} {if isset($U_MODE_CREATED) } - <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> + <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> {/if} {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} diff --git a/template/yoga/mail/text/html/footer.tpl b/template/yoga/mail/text/html/footer.tpl index 1b0b8c19c..bdd3e7cb0 100644 --- a/template/yoga/mail/text/html/footer.tpl +++ b/template/yoga/mail/text/html/footer.tpl @@ -1,7 +1,7 @@ {* $Id$ *} </div> <!-- content --> <div id="copyright"> -<hr/> +<hr> {* Please, do not remove this copyright. If you really want to, contact us on http://piwigo.org to find a solution on how to show the origin of the script...*} diff --git a/template/yoga/mail/text/html/notification_by_mail.tpl b/template/yoga/mail/text/html/notification_by_mail.tpl index 52627ebe4..225f11313 100644 --- a/template/yoga/mail/text/html/notification_by_mail.tpl +++ b/template/yoga/mail/text/html/notification_by_mail.tpl @@ -40,11 +40,11 @@ <p>{'nbm_content_byebye'|@translate}</p> <p style="text-align:center">{$SEND_AS_NAME}</p> <p> -<br/><hr/> -{'nbm_content_unsubscribe_link'|@translate}{'nbm_content_click_on'|@translate}<a href="{$UNSUBSCRIBE_LINK}">{$UNSUBSCRIBE_LINK}</a><br/> -{'nbm_content_subscribe_link'|@translate}{'nbm_content_click_on'|@translate}<a href="{$SUBSCRIBE_LINK}">{$SUBSCRIBE_LINK}</a><br/> -{'nbm_content_problem_contact'|@translate}<a href="mailto:{$CONTACT_EMAIL}?subject={'nbm_content_pb_contact_object'|@translate}">{$CONTACT_EMAIL}</a><br/> -<hr/><br/> +<br><hr> +{'nbm_content_unsubscribe_link'|@translate}{'nbm_content_click_on'|@translate}<a href="{$UNSUBSCRIBE_LINK}">{$UNSUBSCRIBE_LINK}</a><br> +{'nbm_content_subscribe_link'|@translate}{'nbm_content_click_on'|@translate}<a href="{$SUBSCRIBE_LINK}">{$SUBSCRIBE_LINK}</a><br> +{'nbm_content_problem_contact'|@translate}<a href="mailto:{$CONTACT_EMAIL}?subject={'nbm_content_pb_contact_object'|@translate}">{$CONTACT_EMAIL}</a><br> +<hr><br> </p> {if not empty($recent_posts)} </div> diff --git a/template/yoga/menubar_identification.tpl b/template/yoga/menubar_identification.tpl index 32032077a..402847954 100644 --- a/template/yoga/menubar_identification.tpl +++ b/template/yoga/menubar_identification.tpl @@ -31,12 +31,12 @@ <fieldset> <legend>{'Quick connect'|@translate}</legend> <div> - <label for="username">{'Username'|@translate}</label><br/> + <label for="username">{'Username'|@translate}</label><br> <input type="text" name="username" id="username" value="" style="width:99%"> </div> <div><label for="password">{'Password'|@translate}</label> - <br/> + <br> <input type="password" name="password" id="password" style="width:99%"> </div> @@ -52,7 +52,7 @@ <ul class="actions"> <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> {if isset($U_REGISTER)} - <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> + <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> {/if} </ul> </div> diff --git a/template/yoga/menubar_menu.tpl b/template/yoga/menubar_menu.tpl index 2600a8979..e0ba44483 100644 --- a/template/yoga/menubar_menu.tpl +++ b/template/yoga/menubar_menu.tpl @@ -3,7 +3,7 @@ {if isset($block->data.qsearch) and $block->data.qsearch==true} <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;"> <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}> - <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%"/> + <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%"> </p> </form> <script type="text/javascript">var qsearch_prompt="{'qsearch'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script> diff --git a/template/yoga/menubar_tags.tpl b/template/yoga/menubar_tags.tpl index d7072d82d..272356564 100644 --- a/template/yoga/menubar_tags.tpl +++ b/template/yoga/menubar_tags.tpl @@ -7,7 +7,7 @@ <a href="{$tag.U_ADD}" title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}" rel="nofollow"> - <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" /> + <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> diff --git a/template/yoga/month_calendar.tpl b/template/yoga/month_calendar.tpl index 8fd0eb25f..b936fd50d 100644 --- a/template/yoga/month_calendar.tpl +++ b/template/yoga/month_calendar.tpl @@ -29,7 +29,7 @@ {if !empty($chronology_calendar.calendar_bars) } {foreach from=$chronology_calendar.calendar_bars item=bar} <div class="calendarCalBar"> - <span class="calCalHead"><a href="{$bar.U_HEAD}">{$bar.HEAD_LABEL}</a> ({$bar.NB_IMAGES})</span><br/> + <span class="calCalHead"><a href="{$bar.U_HEAD}">{$bar.HEAD_LABEL}</a> ({$bar.NB_IMAGES})</span><br> {foreach from=$bar.items item=item} <span class="calCal{if !isset($item.URL)}Empty{/if}"> {if isset($item.URL)} @@ -69,7 +69,7 @@ TABLE.calMonth TBODY TD, TABLE.calMonth TBODY TD DIV.calImg {ldelim} <div class="calBackDate">{$day.DAY}</div><div class="calForeDate">{$day.DAY}</div> <div class="calImg"> <a href="{$day.U_IMG_LINK}"> - <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$pwg->l10n_dec('%d element','%d elements', $day.NB_ELEMENTS)}" /> + <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$pwg->l10n_dec('%d element','%d elements', $day.NB_ELEMENTS)}"> </a> </div> {else} diff --git a/template/yoga/nbm.tpl b/template/yoga/nbm.tpl index 7fa2845eb..3d85bf51a 100644 --- a/template/yoga/nbm.tpl +++ b/template/yoga/nbm.tpl @@ -3,7 +3,7 @@ <div id="content" class="content"> <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> + <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li> </ul> <h2>{'nbm_item_notification'|@translate}</h2> </div> diff --git a/template/yoga/notification.tpl b/template/yoga/notification.tpl index e7d443e77..507aa3da7 100644 --- a/template/yoga/notification.tpl +++ b/template/yoga/notification.tpl @@ -7,7 +7,7 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> + <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li> </ul> <h2>{'Notification'|@translate}</h2> </div> @@ -16,7 +16,7 @@ <dl> <dt> - <a href="{$U_FEED_IMAGE_ONLY}">{'Image only RSS feed'|@translate}</a><br /><br /> + <a href="{$U_FEED_IMAGE_ONLY}">{'Image only RSS feed'|@translate}</a><br><br> </dt> <dt> <a href="{$U_FEED}">{'Complete RSS feed'|@translate}</a> diff --git a/template/yoga/password.tpl b/template/yoga/password.tpl index 8071b16d2..78d207f49 100644 --- a/template/yoga/password.tpl +++ b/template/yoga/password.tpl @@ -3,7 +3,7 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> + <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li> </ul> <h2>{'Password forgotten'|@translate}</h2> </div> diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl index b670a0388..3154bcbe7 100644 --- a/template/yoga/picture.tpl +++ b/template/yoga/picture.tpl @@ -47,7 +47,7 @@ {if isset($U_SLIDESHOW_STOP) } <a href="{$U_SLIDESHOW_STOP}" title="{'slideshow_stop'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_slideshow.png" class="button" alt="{'slideshow_stop'|@translate}"></a> {/if} - <a href="{$U_METADATA}" title="{'picture_show_metadata'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/metadata.png" class="button" alt="metadata" /></a> + <a href="{$U_METADATA}" title="{'picture_show_metadata'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/metadata.png" class="button" alt="metadata"></a> {if isset($current.U_DOWNLOAD) } <a href="{$current.U_DOWNLOAD}" title="{'download_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/save.png" class="button" alt="{'download'|@translate}"></a> {/if} @@ -186,9 +186,9 @@ y.callService( {foreach from=$rating.marks item=mark name=rate_loop} {if !$smarty.foreach.rate_loop.first} | {/if} {if isset($rating.USER_RATE) && $mark==$rating.USER_RATE} - <input type="button" name="rate" value="{$mark}" class="rateButtonSelected" title="{$mark}" /> + <input type="button" name="rate" value="{$mark}" class="rateButtonSelected" title="{$mark}"> {else} - <input type="submit" name="rate" value="{$mark}" class="rateButton" title="{$mark}" /> + <input type="submit" name="rate" value="{$mark}" class="rateButton" title="{$mark}"> {/if} {/foreach} <script type="text/javascript" src="{$ROOT_URL}template/{$themeconf.template}/rating.js"></script> @@ -269,7 +269,7 @@ y.callService( <label>{'upload_author'|@translate}<input type="text" name="author"></label> {/if} <label>{'comment'|@translate}<textarea name="content" id="contentid" rows="5" cols="80">{$comment_add.CONTENT}</textarea></label> - <input type="hidden" name="key" value="{$comment_add.KEY}" /> + <input type="hidden" name="key" value="{$comment_add.KEY}"> <input class="submit" type="submit" value="{'Submit'|@translate}"> </fieldset> </form> diff --git a/template/yoga/profile.tpl b/template/yoga/profile.tpl index 75ea61d48..ae9686b5a 100644 --- a/template/yoga/profile.tpl +++ b/template/yoga/profile.tpl @@ -13,7 +13,7 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> + <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li> </ul> <h2>{'Profile'|@translate}</h2> </div> diff --git a/template/yoga/profile_content.tpl b/template/yoga/profile_content.tpl index 9cabf0a51..c9bb349ad 100644 --- a/template/yoga/profile_content.tpl +++ b/template/yoga/profile_content.tpl @@ -3,7 +3,7 @@ <fieldset> <legend>{'Registration'|@translate}</legend> - <input type="hidden" name="redirect" value="{$REDIRECT}" /> + <input type="hidden" name="redirect" value="{$REDIRECT}"> <ul> <li> <span class="property">{'Username'|@translate}</span> diff --git a/template/yoga/register.tpl b/template/yoga/register.tpl index 83bfd8c27..7433b55ea 100644 --- a/template/yoga/register.tpl +++ b/template/yoga/register.tpl @@ -5,7 +5,7 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> + <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li> </ul> <h2>{'Registration'|@translate}</h2> </div> diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl index 154954444..ad4c88b11 100644 --- a/template/yoga/search.tpl +++ b/template/yoga/search.tpl @@ -23,7 +23,7 @@ <div class="titrePage"> <ul class="categoryActions"> <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li> - <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}" rel="home"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> + <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}" rel="home"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li> </ul> <h2>{'Search'|@translate}</h2> </div> @@ -42,18 +42,18 @@ <fieldset> <legend>{'Filter'|@translate}</legend> <label>{'search_keywords'|@translate} - <input type="text" style="width: 300px" name="search_allwords" size="30" /> + <input type="text" style="width: 300px" name="search_allwords" size="30"> </label> <ul> <li><label> - <input type="radio" name="mode" value="AND" checked="checked" />{'search_mode_and'|@translate} + <input type="radio" name="mode" value="AND" checked="checked">{'search_mode_and'|@translate} </label></li> <li><label> - <input type="radio" name="mode" value="OR" />{'search_mode_or'|@translate} + <input type="radio" name="mode" value="OR">{'search_mode_or'|@translate} </label></li> </ul> <label>{'search_author'|@translate} - <input type="text" style="width: 300px" name="search_author" size="30" /> + <input type="text" style="width: 300px" name="search_author" size="30"> </label> </fieldset> @@ -61,8 +61,8 @@ <fieldset> <legend>{'Search tags'|@translate}</legend> {$TAG_SELECTION} - <label><span><input type="radio" name="tag_mode" value="AND" checked="checked" /> {'All tags'|@translate}</span></label> - <label><span><input type="radio" name="tag_mode" value="OR" /> {'Any tag'|@translate}</span></label> + <label><span><input type="radio" name="tag_mode" value="AND" checked="checked"> {'All tags'|@translate}</span></label> + <label><span><input type="radio" name="tag_mode" value="OR"> {'Any tag'|@translate}</span></label> </fieldset> {/if} @@ -71,10 +71,10 @@ <ul> <li><label>{'search_date_type'|@translate}</label></li> <li><label> - <input type="radio" name="date_type" value="date_creation" checked="checked" />{'Creation date'|@translate} + <input type="radio" name="date_type" value="date_creation" checked="checked">{'Creation date'|@translate} </label></li> <li><label> - <input type="radio" name="date_type" value="date_available" />{'Post date'|@translate} + <input type="radio" name="date_type" value="date_available">{'Post date'|@translate} </label></li> </ul> <ul> @@ -90,7 +90,7 @@ {html_options options=$month_list selected=$START_MONTH_SELECTED} </select> <input id="start_year" name="start_year" type="text" size="4" maxlength="4" > - <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled"/> + <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled"> </li> <li> <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> @@ -109,7 +109,7 @@ {html_options options=$month_list selected=$END_MONTH_SELECTED} </select> <input id="end_year" name="end_year" type="text" size="4" maxlength="4" > - <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled"/> + <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled"> </li> <li> <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> @@ -127,16 +127,16 @@ <ul> <li><label>{'search_subcats_included'|@translate}</label></li> <li><label> - <input type="radio" name="subcats-included" value="1" checked="checked" />{'Yes'|@translate} + <input type="radio" name="subcats-included" value="1" checked="checked">{'Yes'|@translate} </label></li> <li><label> - <input type="radio" name="subcats-included" value="0" />{'No'|@translate} + <input type="radio" name="subcats-included" value="0">{'No'|@translate} </label></li> </ul> </fieldset> <p> - <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" /> - <input class="submit" type="reset" value="{'Reset'|@translate}" /> + <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"> + <input class="submit" type="reset" value="{'Reset'|@translate}"> </p> </form> diff --git a/template/yoga/tags.tpl b/template/yoga/tags.tpl index e81fe7f75..4e7b44047 100644 --- a/template/yoga/tags.tpl +++ b/template/yoga/tags.tpl @@ -4,14 +4,14 @@ <div class="titrePage"> <ul class="categoryActions"> {if $display_mode == 'letters'} - <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"/></a></li> + <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"></a></li> {/if} {if $display_mode == 'cloud'} - <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"/></a></li> + <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"></a></li> {/if} - <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> + <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li> </ul> <h2>{'Tags'|@translate}</h2> </div> @@ -52,4 +52,4 @@ {/if} {/if} -</div> <!-- content -->
\ No newline at end of file +</div> <!-- content --> diff --git a/template/yoga/thumbnails.tpl b/template/yoga/thumbnails.tpl index 80f9d7472..01068dee8 100644 --- a/template/yoga/thumbnails.tpl +++ b/template/yoga/thumbnails.tpl @@ -7,7 +7,7 @@ <span class="wrap1"> <span class="wrap2"> <a href="{$thumbnail.URL}"> - <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" /> + <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> </a> </span> <span class="thumbLegend"> @@ -15,14 +15,14 @@ {$thumbnail.ICON_TS} {if isset($thumbnail.NB_COMMENTS)} <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> - <br /> + <br> {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)} </span> {/if} {if isset($thumbnail.NB_HITS)} <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits"> - <br /> + <br> {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)} </span> {/if} diff --git a/template/yoga/upload.tpl b/template/yoga/upload.tpl index 4d2ac9d02..8c8d5fa6c 100644 --- a/template/yoga/upload.tpl +++ b/template/yoga/upload.tpl @@ -9,7 +9,7 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> + <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li> </ul> <h2>{'upload_title'|@translate}</h2> </div> @@ -41,7 +41,7 @@ </tr> <tr> <td colspan="2" align="center"> - <input class="file" name="picture" type="file" value="" /> + <input class="file" name="picture" type="file" value=""> </td> </tr> {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS} @@ -56,35 +56,35 @@ <tr> <td>{'Username'|@translate} <span style="color:red;">*</span></td> <td> - <input name="username" type="text" value="{$NAME}" /> + <input name="username" type="text" value="{$NAME}"> </td> </tr> <!-- mail address --> <tr> <td>{'mail_address'|@translate} <span style="color:red;">*</span></td> <td> - <input name="mail_address" type="text" value="{$EMAIL}" /> + <input name="mail_address" type="text" value="{$EMAIL}"> </td> </tr> <!-- name of the picture --> <tr> <td>{'upload_name'|@translate}</td> <td> - <input name="name" type="text" value="{$NAME_IMG}" /> + <input name="name" type="text" value="{$NAME_IMG}"> </td> </tr> <!-- author --> <tr> <td>{'upload_author'|@translate}</td> <td> - <input name="author" type="text" value="{$AUTHOR_IMG}" /> + <input name="author" type="text" value="{$AUTHOR_IMG}"> </td> </tr> <!-- date of creation --> <tr> <td>{'Creation date'|@translate} (DD/MM/YYYY)</td> <td> - <input name="date_creation" type="text" value="{$DATE_IMG}" /> + <input name="date_creation" type="text" value="{$DATE_IMG}"> </td> </tr> <!-- comment --> @@ -97,13 +97,13 @@ {/if} <tr> <td colspan="2" align="center"> - <input class="submit" name="submit" type="submit" value="{'Submit'|@translate}" /> + <input class="submit" name="submit" type="submit" value="{'Submit'|@translate}"> </td> </tr> </table> </form> {else} - {'upload_successful'|@translate}<br /> + {'upload_successful'|@translate}<br> <div style="text-align:center;"> <a href="{$U_RETURN}">[ {'home'|@translate} ]</a> </div> |