diff options
Diffstat (limited to '')
32 files changed, 320 insertions, 320 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php index 99735fba3..1c740305c 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -471,7 +471,7 @@ SELECT id, file, path, tn_ext 'image_file' => $element['file'], 'category' => $category )) - .'" class="thumblnk"><img src="'.get_thumbnail_url($element).'"/></a>'; + .'" class="thumblnk"><img src="'.get_thumbnail_url($element).'"></a>'; } } diff --git a/admin/include/c13y_internal.class.php b/admin/include/c13y_internal.class.php index 093b67b6d..8065cbbb2 100644 --- a/admin/include/c13y_internal.class.php +++ b/admin/include/c13y_internal.class.php @@ -54,7 +54,7 @@ class c13y_internal null, null, l10n('c13y_version_correction') - .'<BR />'. + .'<br>'. $c13y->get_htlm_links_more_info()); } } @@ -79,7 +79,7 @@ class c13y_internal null, null, sprintf(l10n('c13y_exif_correction'), '$conf[\''.$value.'\']') - .'<BR />'. + .'<br>'. $c13y->get_htlm_links_more_info()); } } diff --git a/admin/template/goto/cat_list.tpl b/admin/template/goto/cat_list.tpl index e3abaacc2..d21eac5aa 100644 --- a/admin/template/goto/cat_list.tpl +++ b/admin/template/goto/cat_list.tpl @@ -28,11 +28,11 @@ <form id="addVirtual" action="{$F_ACTION}" method="post"> <p> - {'cat_add'|@translate} : <input type="text" name="virtual_name" /> - <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitAdd" {$TAG_INPUT_ENABLED} /> + {'cat_add'|@translate} : <input type="text" name="virtual_name"> + <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitAdd" {$TAG_INPUT_ENABLED}> {if count($categories)>9 } <a href="#EoP" class="button" style="border:0;"> - <img src="{$themeconf.admin_icon_dir}/page_end.png" title="{'Page end'|@translate}" class="button" alt="page_end" style="margin-bottom:-0.6em;"/></a> + <img src="{$themeconf.admin_icon_dir}/page_end.png" title="{'Page end'|@translate}" class="button" alt="page_end" style="margin-bottom:-0.6em;"></a> {/if} </p> </form> @@ -40,8 +40,8 @@ {if count($categories) } <form id="categoryOrdering" action="{$F_ACTION}" method="post"> <p> - <input class="submit" name="submitOrder" type="submit" value="{'Save order'|@translate}" {$TAG_INPUT_ENABLED} /> - <input class="submit" name="submitOrderAlphaNum" type="submit" value="{'Order alphanumerically'|@translate}" {$TAG_INPUT_ENABLED} /> + <input class="submit" name="submitOrder" type="submit" value="{'Save order'|@translate}" {$TAG_INPUT_ENABLED}> + <input class="submit" name="submitOrderAlphaNum" type="submit" value="{'Order alphanumerically'|@translate}" {$TAG_INPUT_ENABLED}> </p> <ul class="categoryUl"> @@ -50,33 +50,33 @@ <!-- category {$category.ID} --> <ul class="categoryActions"> {if cat_admin_access($category.ID)} - <li><a href="{$category.U_JUMPTO}" title="{'jump to category'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" class="button" alt="{'jump to category'|@translate}" /></a></li> + <li><a href="{$category.U_JUMPTO}" title="{'jump to category'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" class="button" alt="{'jump to category'|@translate}"></a></li> {/if} - <li><a href="{$category.U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/></a></li> + <li><a href="{$category.U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li> {if isset($category.U_MANAGE_ELEMENTS) } - <li><a href="{$category.U_MANAGE_ELEMENTS}" title="{'manage category elements'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}" /></a></li> + <li><a href="{$category.U_MANAGE_ELEMENTS}" title="{'manage category elements'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}"></a></li> {/if} - <li><a href="{$category.U_CHILDREN}" title="{'manage sub-categories'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_children.png" class="button" alt="{'sub-categories'|@translate}" /></a></li> + <li><a href="{$category.U_CHILDREN}" title="{'manage sub-categories'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_children.png" class="button" alt="{'sub-categories'|@translate}"></a></li> {if isset($category.U_MANAGE_PERMISSIONS) } - <li><a href="{$category.U_MANAGE_PERMISSIONS}" title="{'edit category permissions'|@translate}" ><img src="{$themeconf.admin_icon_dir}/category_permissions.png" class="button" alt="{'permissions'|@translate}" /></a></li> + <li><a href="{$category.U_MANAGE_PERMISSIONS}" title="{'edit category permissions'|@translate}" ><img src="{$themeconf.admin_icon_dir}/category_permissions.png" class="button" alt="{'permissions'|@translate}"></a></li> {/if} {if isset($category.U_DELETE) } - <li><a href="{$category.U_DELETE}" title="{'delete category'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}" /></a></li> + <li><a href="{$category.U_DELETE}" title="{'delete category'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}"></a></li> {/if} </ul> <p> - <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}"/> + <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}"> <strong><a href="{$category.U_CHILDREN}" title="{'manage sub-categories'|@translate}">{$category.NAME}</a></strong> {if $category.IS_VIRTUAL} - <img src="{$themeconf.admin_icon_dir}/virt_category.png" class="button" alt="{'virtual_category'|@translate}" /> + <img src="{$themeconf.admin_icon_dir}/virt_category.png" class="button" alt="{'virtual_category'|@translate}"> {/if} </p> <p class="catPos"> <label> {'Position'|@translate} : - <input type="text" size="4" name="catOrd[{$category.ID}]" maxlength="4" value="{$category.RANK}" /> + <input type="text" size="4" name="catOrd[{$category.ID}]" maxlength="4" value="{$category.RANK}"> </label> </p> @@ -84,8 +84,8 @@ {/foreach} </ul> <p> - <input class="submit" name="submitOrder" type="submit" value="{'Save order'|@translate}" {$TAG_INPUT_ENABLED} /> - <input class="submit" name="submitOrderAlphaNum" type="submit" value="{'Order alphanumerically'|@translate}" {$TAG_INPUT_ENABLED} /> + <input class="submit" name="submitOrder" type="submit" value="{'Save order'|@translate}" {$TAG_INPUT_ENABLED}> + <input class="submit" name="submitOrderAlphaNum" type="submit" value="{'Order alphanumerically'|@translate}" {$TAG_INPUT_ENABLED}> </p> </form> diff --git a/admin/template/goto/cat_modify.tpl b/admin/template/goto/cat_modify.tpl index 418f87539..01d4e4c71 100644 --- a/admin/template/goto/cat_modify.tpl +++ b/admin/template/goto/cat_modify.tpl @@ -11,18 +11,18 @@ <ul class="categoryActions"> {if cat_admin_access($CAT_ID)} - <li><a href="{$U_JUMPTO}" title="{'jump to category'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" class="button" alt="{'jump to category'|@translate}" /></a></li> + <li><a href="{$U_JUMPTO}" title="{'jump to category'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" class="button" alt="{'jump to category'|@translate}"></a></li> {/if} {if isset($U_MANAGE_ELEMENTS) } - <li><a href="{$U_MANAGE_ELEMENTS}" title="{'manage category elements'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}" /></a></li> - <li><a href="{$U_MANAGE_RANKS}" title="{'manage image ranks'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/ranks.png" class="button" alt="{'ranks'|@translate}" /></a></li> + <li><a href="{$U_MANAGE_ELEMENTS}" title="{'manage category elements'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}"></a></li> + <li><a href="{$U_MANAGE_RANKS}" title="{'manage image ranks'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/ranks.png" class="button" alt="{'ranks'|@translate}"></a></li> {/if} - <li><a href="{$U_CHILDREN}" title="{'manage sub-categories'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_children.png" class="button" alt="{'sub-categories'|@translate}" /></a></li> + <li><a href="{$U_CHILDREN}" title="{'manage sub-categories'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_children.png" class="button" alt="{'sub-categories'|@translate}"></a></li> {if isset($U_MANAGE_PERMISSIONS) } - <li><a href="{$U_MANAGE_PERMISSIONS}" title="{'edit category permissions'|@translate}" ><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_permissions.png" class="button" alt="{'permissions'|@translate}" /></a></li> + <li><a href="{$U_MANAGE_PERMISSIONS}" title="{'edit category permissions'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_permissions.png" class="button" alt="{'permissions'|@translate}"></a></li> {/if} {if isset($U_DELETE) } - <li><a href="{$U_DELETE}" title="{'delete category'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}" /></a></li> + <li><a href="{$U_DELETE}" title="{'delete category'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}"></a></li> {/if} </ul> @@ -42,7 +42,7 @@ <tr> <td><strong>{'Name'|@translate}</strong></td> <td> - <input type="text" class="large" name="name" value="{$CAT_NAME}" maxlength="60"/> + <input type="text" class="large" name="name" value="{$CAT_NAME}" maxlength="60"> </td> </tr> <tr> @@ -99,12 +99,12 @@ <fieldset id="image_order"> <legend>{'Sort order'|@translate}</legend> - <input type="checkbox" name="image_order_default" id="image_order_default" {$IMG_ORDER_DEFAULT} /> + <input type="checkbox" name="image_order_default" id="image_order_default" {$IMG_ORDER_DEFAULT}> <label for="image_order_default">{'Use default sort order'|@translate}</label> - <br/> - <input type="checkbox" name="image_order_subcats" id="image_order_subcats" /> + <br> + <input type="checkbox" name="image_order_subcats" id="image_order_subcats"> <label for="image_order_subcats">{'Apply to subcategories'|@translate}</label> - <br/> + <br> {foreach from=$image_orders item=order} <select name="order_field_{$order.ID}"> @@ -112,14 +112,14 @@ </select> <select name="order_direction_{$order.ID}"> {html_options options=$image_order_direction_options selected=$order.DIRECTION } - </select><br/> + </select><br> {/foreach} </fieldset> <p style="text-align:center;"> - <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset" /> + <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}> + <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset"> </p> {if isset($representant) } @@ -129,18 +129,18 @@ <tr> <td align="center"> {if isset($representant.picture) } - <a href="{$representant.picture.URL}"><img src="{$representant.picture.SRC}" alt="" class="miniature" /></a> + <a href="{$representant.picture.URL}"><img src="{$representant.picture.SRC}" alt="" class="miniature"></a> {else} - <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_representant_random.png" class="button" alt="{'Random picture'|@translate}" class="miniature" /> + <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_representant_random.png" class="button" alt="{'Random picture'|@translate}" class="miniature"> {/if} </td> <td> {if $representant.ALLOW_SET_RANDOM } - <p><input class="submit" type="submit" name="set_random_representant" value="{'cat_representant'|@translate}" {$TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" name="set_random_representant" value="{'cat_representant'|@translate}" {$TAG_INPUT_ENABLED}></p> {/if} {if isset($representant.ALLOW_DELETE) } - <p><input class="submit" type="submit" name="delete_representant" value="{'Delete Representant'|@translate}" /></p> + <p><input class="submit" type="submit" name="delete_representant" value="{'Delete Representant'|@translate}"></p> {/if} </td> </tr> @@ -173,8 +173,8 @@ </table> <p> - <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitAdd" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset" /> + <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitAdd" {$TAG_INPUT_ENABLED}> + <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset"> </p> </fieldset> @@ -194,8 +194,8 @@ </table> <p> - <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitDestinations" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset" /> + <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitDestinations" {$TAG_INPUT_ENABLED}> + <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset"> </p> </fieldset> @@ -223,8 +223,8 @@ </table> <p> - <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitEmail" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset" /> + <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitEmail" {$TAG_INPUT_ENABLED}> + <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset"> </p> </fieldset> diff --git a/admin/template/goto/cat_perm.tpl b/admin/template/goto/cat_perm.tpl index 858ff3723..aa135385c 100644 --- a/admin/template/goto/cat_perm.tpl +++ b/admin/template/goto/cat_perm.tpl @@ -13,10 +13,10 @@ <legend>{'Permission granted'|@translate}</legend> <ul> {foreach from=$group_granted_ids item=id} - <li><label><input type="checkbox" name="deny_groups[]" value="{$id}" /> {$all_groups[$id]}</label></li> + <li><label><input type="checkbox" name="deny_groups[]" value="{$id}"> {$all_groups[$id]}</label></li> {/foreach} </ul> - <input class="submit" type="submit" name="deny_groups_submit" value="{'Deny selected groups'|@translate}" {$TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="deny_groups_submit" value="{'Deny selected groups'|@translate}" {$TAG_INPUT_ENABLED}> </fieldset> <fieldset> @@ -26,7 +26,7 @@ <li><label><input type="checkbox" name="grant_groups[]" value="{$id}"> {$all_groups[$id]}</label></li> {/foreach} </ul> - <input class="submit" type="submit" name="grant_groups_submit" value="{'Grant selected groups'|@translate}" {$TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="grant_groups_submit" value="{'Grant selected groups'|@translate}" {$TAG_INPUT_ENABLED}> </fieldset> <h4>{'Users'|@translate}</h4> @@ -35,10 +35,10 @@ <legend>{'Permission granted'|@translate}</legend> <ul> {foreach from=$user_granted_direct_ids item=id} - <li><label><input type="checkbox" name="deny_users[]" value="{$id}" /> {$all_users[$id]}</label></li> + <li><label><input type="checkbox" name="deny_users[]" value="{$id}"> {$all_users[$id]}</label></li> {/foreach} </ul> - <input class="submit" type="submit" name="deny_users_submit" value="{'Deny selected users'|@translate}" {$TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="deny_users_submit" value="{'Deny selected users'|@translate}" {$TAG_INPUT_ENABLED}> </fieldset> <fieldset> @@ -59,7 +59,7 @@ <li><label><input type="checkbox" name="grant_users[]" value="{$id}"> {$all_users[$id]}</label></li> {/foreach} </ul> - <input class="submit" type="submit" name="grant_users_submit" value="{'Grant selected users'|@translate}" {$TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="grant_users_submit" value="{'Grant selected users'|@translate}" {$TAG_INPUT_ENABLED}> </fieldset> </form> diff --git a/admin/template/goto/check_integrity.tpl b/admin/template/goto/check_integrity.tpl index 3d1bfb5d1..d9019dbe7 100644 --- a/admin/template/goto/check_integrity.tpl +++ b/admin/template/goto/check_integrity.tpl @@ -16,7 +16,7 @@ <tr class="{if $smarty.foreach.c13y_loop.index is odd}row1{else}row2{/if}"> <td> {if $c13y.can_select} - <input type="checkbox" name="c13y_selection[]" value="{$c13y.id}" id="c13y_selection-{$c13y.id}" /><label for="c13y_selection-{$c13y.id}"></label> + <input type="checkbox" name="c13y_selection[]" value="{$c13y.id}" id="c13y_selection-{$c13y.id}"><label for="c13y_selection-{$c13y.id}"></label> {/if} </td> <td><label for="c13y_selection-{$c13y.id}">{$c13y.anomaly}</label></td> @@ -24,7 +24,7 @@ <label for="c13y_selection-{$c13y.id}"> {if $c13y.show_ignore_msg} {'c13y_ignore_msg1'|@translate} - <br /> + <br> {'c13y_ignore_msg2'|@translate} {/if} {if $c13y.show_correction_fct} @@ -38,12 +38,12 @@ {/if} {if !empty($c13y.correction_error_fct)} {'c13y_Correction_applied_error'|@translate} - <br /> + <br> {$c13y.c13y.correction_error_fct} {/if} {if !empty($c13y.correction_msg)} {if $c13y.show_correction_success_fct or !empty($c13y.correction_error_fct) or $c13y.show_correction_fct or $c13y.show_correction_bad_fct } - <br /> + <br> {/if} {$c13y.correction_msg|@nl2br} {/if} @@ -70,12 +70,12 @@ <p> {if $c13y_show_submit_automatic_correction} - <input class="submit" type="submit" value="{'c13y_submit_correction'|@translate}" name="c13y_submit_correction" {$TAG_INPUT_ENABLED} /> + <input class="submit" type="submit" value="{'c13y_submit_correction'|@translate}" name="c13y_submit_correction" {$TAG_INPUT_ENABLED}> {/if} {if $c13y_show_submit_ignore} - <input class="submit" type="submit" value="{'c13y_submit_ignore'|@translate}" name="c13y_submit_ignore" {$TAG_INPUT_ENABLED} /> + <input class="submit" type="submit" value="{'c13y_submit_ignore'|@translate}" name="c13y_submit_ignore" {$TAG_INPUT_ENABLED}> {/if} - <input class="submit" type="submit" value="{'c13y_submit_refresh'|@translate}" name="c13y_submit_refresh" /> + <input class="submit" type="submit" value="{'c13y_submit_refresh'|@translate}" name="c13y_submit_refresh"> </p> </fieldset> diff --git a/admin/template/goto/comments.tpl b/admin/template/goto/comments.tpl index d27b21a7d..8684f1d9b 100644 --- a/admin/template/goto/comments.tpl +++ b/admin/template/goto/comments.tpl @@ -10,23 +10,23 @@ {foreach from=$comments item=comment} <div class="comment"> - <a class="illustration" href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}" /></a> + <a class="illustration" href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}"></a> <p class="commentHeader"><strong>{$comment.AUTHOR}</strong> - <em>{$comment.DATE}</em></p> <blockquote>{$comment.CONTENT}</blockquote> </div> <ul class="actions"> - <li><label><input type="radio" name="action-{$comment.ID}" value="reject" />{'Reject'|@translate}</label></li> - <li><label><input type="radio" name="action-{$comment.ID}" value="validate" />{'Validate'|@translate}</label></li> + <li><label><input type="radio" name="action-{$comment.ID}" value="reject">{'Reject'|@translate}</label></li> + <li><label><input type="radio" name="action-{$comment.ID}" value="validate">{'Validate'|@translate}</label></li> </ul> {/foreach} <p class="bottomButtons"> - <input type="hidden" name="list" value="{$LIST}" /> - <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="submit" name="validate-all" value="{'Validate All'|@translate}" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="submit" name="reject-all" value="{'Reject All'|@translate}" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="reset" value="{'Reset'|@translate}" /> + <input type="hidden" name="list" value="{$LIST}"> + <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> + <input class="submit" type="submit" name="validate-all" value="{'Validate All'|@translate}" {$TAG_INPUT_ENABLED}> + <input class="submit" type="submit" name="reject-all" value="{'Reject All'|@translate}" {$TAG_INPUT_ENABLED}> + <input class="submit" type="reset" value="{'Reset'|@translate}"> </p> </form> -{/if}
\ No newline at end of file +{/if} diff --git a/admin/template/goto/configuration.tpl b/admin/template/goto/configuration.tpl index 0c851082d..4823c9953 100644 --- a/admin/template/goto/configuration.tpl +++ b/admin/template/goto/configuration.tpl @@ -10,72 +10,73 @@ {if isset($main)} <fieldset id="mainConf"> + <legend></legend> <ul> <li> <span class="property"> <label for="gallery_title">{'Gallery title'|@translate}</label> </span> - <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{$main.CONF_GALLERY_TITLE}" /> + <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{$main.CONF_GALLERY_TITLE}"> </li> <li> <span class="property"> <label for="page_banner">{'Page banner'|@translate}</label> </span> - <textarea class="description" name="page_banner" id="page_banner">{$main.CONF_PAGE_BANNER}</textarea> + <textarea rows="5" cols="50" class="description" name="page_banner" id="page_banner">{$main.CONF_PAGE_BANNER}</textarea> </li> <li> <span class="property"> <label for="gallery_url">{'Gallery URL'|@translate}</label> </span> - <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{$main.CONF_GALLERY_URL}" /> + <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{$main.CONF_GALLERY_URL}"> </li> </ul> </fieldset> <fieldset id="mainConfCheck"> + <legend></legend> <ul> - <li> <label> <span class="property">{'Lock gallery'|@translate}</span> - <input type="checkbox" name="gallery_locked" {if ($main.gallery_locked)}checked="checked"{/if} /> + <input type="checkbox" name="gallery_locked" {if ($main.gallery_locked)}checked="checked"{/if}> </label> </li> <li> <label> <span class="property">{'Rating'|@translate}</span> - <input type="checkbox" name="rate" {if ($main.rate)}checked="checked"{/if} /> + <input type="checkbox" name="rate" {if ($main.rate)}checked="checked"{/if}> </label> </li> <li> <label> <span class="property">{'Rating by guests'|@translate}</span> - <input type="checkbox" name="rate_anonymous" {if ($main.rate_anonymous)}checked="checked"{/if} /> + <input type="checkbox" name="rate_anonymous" {if ($main.rate_anonymous)}checked="checked"{/if}> </label> </li> <li> <label> <span class="property">{'Allow user registration'|@translate}</span> - <input type="checkbox" name="allow_user_registration" {if ($main.allow_user_registration)}checked="checked"{/if} /> + <input type="checkbox" name="allow_user_registration" {if ($main.allow_user_registration)}checked="checked"{/if}> </label> </li> <li> <label> <span class="property">{'obligatory_user_mail_address'|@translate}</span> - <input type="checkbox" name="obligatory_user_mail_address" {if ($main.obligatory_user_mail_address)}checked="checked"{/if} /> + <input type="checkbox" name="obligatory_user_mail_address" {if ($main.obligatory_user_mail_address)}checked="checked"{/if}> </label> </li> <li> <label> <span class="property">{'Email administrators when a new user registers'|@translate}</span> - <input type="checkbox" name="email_admin_on_new_user" {if ($main.email_admin_on_new_user)}checked="checked"{/if} /> + <input type="checkbox" name="email_admin_on_new_user" {if ($main.email_admin_on_new_user)}checked="checked"{/if}> </label> </li> </ul> @@ -86,15 +87,15 @@ <fieldset id="historyConf"> <ul> <li> - <label><span class="property">{'conf_history_guest'|@translate}</span><input type="checkbox" name="history_guest" {if ($history.history_guest)}checked="checked"{/if} /></label> + <label><span class="property">{'conf_history_guest'|@translate}</span><input type="checkbox" name="history_guest" {if ($history.history_guest)}checked="checked"{/if}></label> </li> <li> - <label><span class="property">{'conf_history_user'|@translate}</span><input type="checkbox" name="log" {if ($history.log)}checked="checked"{/if} /></label> + <label><span class="property">{'conf_history_user'|@translate}</span><input type="checkbox" name="log" {if ($history.log)}checked="checked"{/if}></label> </li> <li> - <label><span class="property">{'conf_history_admin'|@translate}</span><input type="checkbox" name="history_admin" {if ($history.history_admin)}checked="checked"{/if} /></label> + <label><span class="property">{'conf_history_admin'|@translate}</span><input type="checkbox" name="history_admin" {if ($history.history_admin)}checked="checked"{/if}></label> </li> </ul> </fieldset> @@ -107,7 +108,7 @@ <li> <label> <span class="property">{'Comments for all'|@translate}</span> - <input type="checkbox" name="comments_forall" {if ($comments.comments_forall)}checked="checked"{/if} /> + <input type="checkbox" name="comments_forall" {if ($comments.comments_forall)}checked="checked"{/if}> </label> </li> @@ -115,13 +116,13 @@ <span class="property"> <label for="nb_comment_page">{'Number of comments per page'|@translate}</label> </span> - <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{$comments.NB_COMMENTS_PAGE}" /> + <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{$comments.NB_COMMENTS_PAGE}"> </li> <li> <label> <span class="property">{'Validation'|@translate}</span> - <input type="checkbox" name="comments_validation" {if ($comments.comments_validation)}checked="checked"{/if} /> + <input type="checkbox" name="comments_validation" {if ($comments.comments_validation)}checked="checked"{/if}> </label> </li> @@ -129,17 +130,16 @@ <li> <label> <span class="property">{'Email administrators when a valid comment is entered'|@translate}</span> - <input type="checkbox" name="email_admin_on_comment" {if ($comments.email_admin_on_comment)}checked="checked"{/if} /> + <input type="checkbox" name="email_admin_on_comment" {if ($comments.email_admin_on_comment)}checked="checked"{/if}> </label> </li> <li> <label> <span class="property">{'Email administrators when a comment requires validation'|@translate}</span> - <input type="checkbox" name="email_admin_on_comment_validation" {if ($comments.email_admin_on_comment_validation)}checked="checked"{/if} /> + <input type="checkbox" name="email_admin_on_comment_validation" {if ($comments.email_admin_on_comment_validation)}checked="checked"{/if}> </label> </li> - </ul> </fieldset> {/if} @@ -149,7 +149,7 @@ <ul> <li> <label><span class="property">{'Show upload link every time'|@translate}</span> - <input type="checkbox" name="upload_link_everytime" {if ($upload.upload_link_everytime)}checked="checked"{/if} /></label> + <input type="checkbox" name="upload_link_everytime" {if ($upload.upload_link_everytime)}checked="checked"{/if}></label> </li> <li> <label><span class="property">{'User access level to upload'|@translate}</span> @@ -158,7 +158,7 @@ <li> <label> <span class="property">{'Email administrators when a picture is uploaded'|@translate}</span> - <input type="checkbox" name="email_admin_on_picture_uploaded" {if ($upload.email_admin_on_picture_uploaded)}checked="checked"{/if} /> + <input type="checkbox" name="email_admin_on_picture_uploaded" {if ($upload.email_admin_on_picture_uploaded)}checked="checked"{/if}> </label> </li> </ul> @@ -175,4 +175,4 @@ <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> </p> {/if} -</form>
\ No newline at end of file +</form> diff --git a/admin/template/goto/double_select.tpl b/admin/template/goto/double_select.tpl index 2be698b0d..b42ca8403 100644 --- a/admin/template/goto/double_select.tpl +++ b/admin/template/goto/double_select.tpl @@ -9,7 +9,7 @@ <select class="categoryList" name="cat_true[]" multiple="multiple" size="30"> {html_options options=$category_option_true selected=$category_option_true_selected} </select> - <p><input class="submit" type="submit" value="»" name="falsify" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="»" name="falsify" style="font-size:15px;" {$TAG_INPUT_ENABLED}></p> </td> <td> @@ -17,7 +17,7 @@ <select class="categoryList" name="cat_false[]" multiple="multiple" size="30"> {html_options options=$category_option_false selected=$category_option_false_selected} </select> - <p><input class="submit" type="submit" value="«" name="trueify" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="«" name="trueify" style="font-size:15px;" {$TAG_INPUT_ENABLED}></p> </td> </tr> </table> diff --git a/admin/template/goto/element_set_global.tpl b/admin/template/goto/element_set_global.tpl index a9c5173f0..c34c33e06 100644 --- a/admin/template/goto/element_set_global.tpl +++ b/admin/template/goto/element_set_global.tpl @@ -53,9 +53,9 @@ <img src="{$thumbnail.TN_SRC}" alt="{$thumbnail.FILE}" title="{$thumbnail.TITLE}" - class="thumbnail" /> + class="thumbnail"> </span></span> - <input type="checkbox" name="selection[]" value="{$thumbnail.ID}" /> + <input type="checkbox" name="selection[]" value="{$thumbnail.ID}"> </label> </span> </li> @@ -71,12 +71,12 @@ <p style="font-style:italic">{'Note: Only deletes photos added with pLoader'|@translate}</p> <p> {'target'|@translate} - <label><input type="radio" name="target_deletion" value="all" /> {'all'|@translate}</label> - <label><input type="radio" name="target_deletion" value="selection" checked="checked" /> {'selection'|@translate}</label> + <label><input type="radio" name="target_deletion" value="all"> {'all'|@translate}</label> + <label><input type="radio" name="target_deletion" value="selection" checked="checked"> {'selection'|@translate}</label> </p> <p> - <label><input type="checkbox" name="confirm_deletion" value="1" /> {'confirm'|@translate}</label> - <input class="submit" type="submit" value="{'Delete selected photos'|@translate}" name="delete" {$TAG_INPUT_ENABLED}/> + <label><input type="checkbox" name="confirm_deletion" value="1"> {'confirm'|@translate}</label> + <input class="submit" type="submit" value="{'Delete selected photos'|@translate}" name="delete" {$TAG_INPUT_ENABLED}> </p> </fieldset> {/if} @@ -122,29 +122,29 @@ <tr> <td>{'Author'|@translate}</td> <td> - <label><input type="radio" name="author_action" value="leave" checked="checked" /> {'leave'|@translate}</label> - <label><input type="radio" name="author_action" value="unset" /> {'unset'|@translate}</label> - <label><input type="radio" name="author_action" value="set" id="author_action_set" /> {'set to'|@translate}</label> - <input onchange="document.getElementById('author_action_set').checked = true;" type="text" class="large" name="author" value="" /> + <label><input type="radio" name="author_action" value="leave" checked="checked"> {'leave'|@translate}</label> + <label><input type="radio" name="author_action" value="unset"> {'unset'|@translate}</label> + <label><input type="radio" name="author_action" value="set" id="author_action_set"> {'set to'|@translate}</label> + <input onchange="document.getElementById('author_action_set').checked = true;" type="text" class="large" name="author" value=""> </td> </tr> <tr> <td>{'title'|@translate}</td> <td> - <label><input type="radio" name="name_action" value="leave" checked="checked" /> {'leave'|@translate}</label> - <label><input type="radio" name="name_action" value="unset" /> {'unset'|@translate}</label> - <label><input type="radio" name="name_action" value="set" id="name_action_set" /> {'set to'|@translate}</label> - <input onchange="document.getElementById('name_action_set').checked = true;" type="text" class="large" name="name" value="" /> + <label><input type="radio" name="name_action" value="leave" checked="checked"> {'leave'|@translate}</label> + <label><input type="radio" name="name_action" value="unset"> {'unset'|@translate}</label> + <label><input type="radio" name="name_action" value="set" id="name_action_set"> {'set to'|@translate}</label> + <input onchange="document.getElementById('name_action_set').checked = true;" type="text" class="large" name="name" value=""> </td> </tr> <tr> <td>{'Creation date'|@translate}</td> <td> - <label><input type="radio" name="date_creation_action" value="leave" checked="checked" /> {'leave'|@translate}</label> - <label><input type="radio" name="date_creation_action" value="unset" /> {'unset'|@translate}</label> - <label><input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> {'set to'|@translate}</label> + <label><input type="radio" name="date_creation_action" value="leave" checked="checked"> {'leave'|@translate}</label> + <label><input type="radio" name="date_creation_action" value="unset"> {'unset'|@translate}</label> + <label><input type="radio" name="date_creation_action" value="set" id="date_creation_action_set"> {'set to'|@translate}</label> <select id="date_creation_day" name="date_creation_day"> <option value="0">--</option> {section name=day start=1 loop=32} @@ -159,16 +159,16 @@ type="text" size="4" maxlength="4" - value="{$DATE_CREATION_YEAR}" /> - <input id="date_creation_linked_date" name="date_creation_linked_date" type="hidden" size="10" disabled="disabled"/> + value="{$DATE_CREATION_YEAR}"> + <input id="date_creation_linked_date" name="date_creation_linked_date" type="hidden" size="10" disabled="disabled"> </td> </tr> <tr> <td>{'Minimum privacy level'|@translate}</td> <td> - <label><input type="radio" name="level_action" value="leave" checked="checked" />{'leave'|@translate}</label> - <label><input type="radio" name="level_action" value="set" id="level_action_set" />{'set to'|@translate}</label> + <label><input type="radio" name="level_action" value="leave" checked="checked">{'leave'|@translate}</label> + <label><input type="radio" name="level_action" value="set" id="level_action_set">{'set to'|@translate}</label> <select onchange="document.getElementById('level_action_set').checked = true;" name="level" size="1"> {html_options options=$level_options} </select> @@ -179,12 +179,12 @@ <p> {'target'|@translate} - <label><input type="radio" name="target" value="all" /> {'all'|@translate}</label> - <label><input type="radio" name="target" value="selection" checked="checked" /> {'selection'|@translate}</label> + <label><input type="radio" name="target" value="all"> {'all'|@translate}</label> + <label><input type="radio" name="target" value="selection" checked="checked"> {'selection'|@translate}</label> </p> - <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}></p> </fieldset> @@ -194,14 +194,14 @@ <ul style="list-style-type:none;"> {if ($IN_CADDIE)} - <li><label><input type="radio" name="caddie_action" value="empty_all" /> {'Empty caddie'|@translate}</label></li> - <li><label><input type="radio" name="caddie_action" value="empty_selected" /> {'Take selected elements out of caddie'|@translate}</label></li> + <li><label><input type="radio" name="caddie_action" value="empty_all"> {'Empty caddie'|@translate}</label></li> + <li><label><input type="radio" name="caddie_action" value="empty_selected"> {'Take selected elements out of caddie'|@translate}</label></li> {else} - <li><label><input type="radio" name="caddie_action" value="add_selected" /> {'Add selected elements to caddie'|@translate}</label></li> + <li><label><input type="radio" name="caddie_action" value="add_selected"> {'Add selected elements to caddie'|@translate}</label></li> {/if} </ul> - <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit_caddie" /></p> + <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit_caddie"></p> </fieldset> diff --git a/admin/template/goto/element_set_ranks.tpl b/admin/template/goto/element_set_ranks.tpl index 31e614480..5f134190d 100644 --- a/admin/template/goto/element_set_ranks.tpl +++ b/admin/template/goto/element_set_ranks.tpl @@ -20,9 +20,9 @@ <em class="levelIndicatorF" title="{$pwg->l10n($pwg->sprintf('Level %d',$thumbnail.LEVEL))}">{$thumbnail.LEVEL}</em> {/if} <span> - <img src="{$thumbnail.TN_SRC}" class="thumbnail" /> + <img src="{$thumbnail.TN_SRC}" class="thumbnail"> </span></span> - <input style="height:12px; width:50px;" type="text" name="rank_of_image[{$thumbnail.ID}]" value="{$thumbnail.RANK}" /> + <input style="height:12px; width:50px;" type="text" name="rank_of_image[{$thumbnail.ID}]" value="{$thumbnail.RANK}"> </label> </span> </li> @@ -30,7 +30,7 @@ </ul> {/if} - <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}></p> </fieldset> diff --git a/admin/template/goto/element_set_unit.tpl b/admin/template/goto/element_set_unit.tpl index cb374e9d9..0520e4e59 100644 --- a/admin/template/goto/element_set_unit.tpl +++ b/admin/template/goto/element_set_unit.tpl @@ -27,30 +27,30 @@ {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} {if !empty($elements) } -<input type="hidden" name="element_ids" value="{$ELEMENT_IDS}" /> +<input type="hidden" name="element_ids" value="{$ELEMENT_IDS}"> {foreach from=$elements item=element} <fieldset class="elementEdit"> <legend>{$element.LEGEND}</legend> - <a href="{$element.U_EDIT}"><img src="{$element.TN_SRC}" alt="" title="{'Edit all picture informations'|@translate}" /></a> + <a href="{$element.U_EDIT}"><img src="{$element.TN_SRC}" alt="" title="{'Edit all picture informations'|@translate}"></a> <table> <tr> <td><strong>{'Name'|@translate}</strong></td> - <td><input type="text" class="large" name="name-{$element.ID}" value="{$element.NAME}" /></td> + <td><input type="text" class="large" name="name-{$element.ID}" value="{$element.NAME}"></td> </tr> <tr> <td><strong>{'Author'|@translate}</strong></td> - <td><input type="text" class="large" name="author-{$element.ID}" value="{$element.AUTHOR}" /></td> + <td><input type="text" class="large" name="author-{$element.ID}" value="{$element.AUTHOR}"></td> </tr> <tr> <td><strong>{'Creation date'|@translate}</strong></td> <td> - <label><input type="radio" name="date_creation_action-{$element.ID}" value="unset" /> {'unset'|@translate}</label> - <label><input type="radio" name="date_creation_action-{$element.ID}" value="set" id="date_creation_action_set-{$element.ID}" /> {'set to'|@translate}</label> + <label><input type="radio" name="date_creation_action-{$element.ID}" value="unset"> {'unset'|@translate}</label> + <label><input type="radio" name="date_creation_action-{$element.ID}" value="set" id="date_creation_action_set-{$element.ID}"> {'set to'|@translate}</label> <select id="date_creation_day-{$element.ID}" name="date_creation_day-{$element.ID}"> <option value="0">--</option> @@ -66,8 +66,8 @@ type="text" size="4" maxlength="4" - value="{$element.DATE_CREATION_YEAR}" /> - <input id="date_creation_linked_date-{$element.ID}" name="date_creation_linked_date-{$element.ID}" type="hidden" size="10" disabled="disabled"/> + value="{$element.DATE_CREATION_YEAR}"> + <input id="date_creation_linked_date-{$element.ID}" name="date_creation_linked_date-{$element.ID}" type="hidden" size="10" disabled="disabled"> <script type="text/javascript"> pwg_initialization_datepicker("#date_creation_day-{$element.ID}", "#date_creation_month-{$element.ID}", "#date_creation_year-{$element.ID}", "#date_creation_linked_date-{$element.ID}", "#date_creation_action_set-{$element.ID}"); </script> @@ -90,8 +90,8 @@ {/foreach} <p> - <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="reset" value="{'Reset'|@translate}" /> + <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}> + <input class="submit" type="reset" value="{'Reset'|@translate}"> </p> {/if} @@ -107,4 +107,4 @@ }); });{/literal} // ]]> -</script>
\ No newline at end of file +</script> diff --git a/admin/template/goto/extend_for_templates.tpl b/admin/template/goto/extend_for_templates.tpl index dae6903a5..9ed880b63 100644 --- a/admin/template/goto/extend_for_templates.tpl +++ b/admin/template/goto/extend_for_templates.tpl @@ -14,7 +14,7 @@ {foreach from=$extents item=tpl name=extent_loop} <tr class="{if $smarty.foreach.extent_loop.index is odd}row1{else}row2{/if}"> <td> - <input type="hidden" name=reptpl[] value="{$tpl.replacer}" /> + <input type="hidden" name=reptpl[] value="{$tpl.replacer}"> {$tpl.replacer} </td> <td> @@ -31,8 +31,8 @@ </table> {if !is_adviser()} <p> - <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" /> + <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit"> </p> {/if} </form> -{/if}
\ No newline at end of file +{/if} diff --git a/admin/template/goto/group_list.tpl b/admin/template/goto/group_list.tpl index b21c2ec86..cdd07eb85 100644 --- a/admin/template/goto/group_list.tpl +++ b/admin/template/goto/group_list.tpl @@ -10,10 +10,10 @@ <span class="property"> <label for="groupname">{'Group name'|@translate}</label> </span> - <input type="text" id="groupname" name="groupname" maxlength="50" size="20" /> + <input type="text" id="groupname" name="groupname" maxlength="50" size="20"> <p> - <input class="submit" type="submit" name="submit_add" value="{'Add'|@translate}" {$TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="submit_add" value="{'Add'|@translate}" {$TAG_INPUT_ENABLED}> </p> </fieldset> </form> @@ -31,11 +31,11 @@ <td><a href="{$group.U_MEMBERS}">{$group.MEMBERS}</a></td> <td style="text-align:center;"> <a href="{$group.U_PERM}"> - <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/permissions.png" class="button" style="border:none" id="btn_permissions" alt="{'permissions'|@translate}" title="{'permissions'|@translate}" /></a> + <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/permissions.png" class="button" style="border:none" id="btn_permissions" alt="{'permissions'|@translate}" title="{'permissions'|@translate}"></a> <a href="{$group.U_DELETE}" onclick="return confirm( document.getElementById('btn_delete').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');"> - <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" class="button" style="border:none" id="btn_delete" alt="{'delete'|@translate}" title="{'delete'|@translate}" {$TAG_INPUT_ENABLED}/></a> + <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" class="button" style="border:none" id="btn_delete" alt="{'delete'|@translate}" title="{'delete'|@translate}" {$TAG_INPUT_ENABLED}></a> <a href="{$group.U_ISDEFAULT}" onclick="return confirm( document.getElementById('btn_toggle_is_default_group').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');"> - <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/toggle_is_default_group.png" class="button" style="border:none" id="btn_toggle_is_default_group" alt="{'toggle_is_default_group'|@translate}" title="{'toggle_is_default_group'|@translate}" {$TAG_INPUT_ENABLED}/></a> + <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/toggle_is_default_group.png" class="button" style="border:none" id="btn_toggle_is_default_group" alt="{'toggle_is_default_group'|@translate}" title="{'toggle_is_default_group'|@translate}" {$TAG_INPUT_ENABLED}></a> </td> </tr> {/foreach} diff --git a/admin/template/goto/history.tpl b/admin/template/goto/history.tpl index ea9583e6a..670b93694 100644 --- a/admin/template/goto/history.tpl +++ b/admin/template/goto/history.tpl @@ -29,7 +29,7 @@ {html_options options=$month_list selected=$START_MONTH_SELECTED} </select> <input id="start_year" name="start_year" value="{$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> </ul> <ul> @@ -45,7 +45,7 @@ {html_options options=$month_list selected=$END_MONTH_SELECTED} </select> <input id="end_year" name="end_year" value="{$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> </ul> @@ -81,7 +81,7 @@ </select> </label> - <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" /> + <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"> </fieldset> </form> diff --git a/admin/template/goto/install.tpl b/admin/template/goto/install.tpl index d7f6bd82f..b9ddb1316 100644 --- a/admin/template/goto/install.tpl +++ b/admin/template/goto/install.tpl @@ -87,27 +87,27 @@ TD { </tr> <tr> <td style="width: 30%;">{'step1_host'|@translate}</td> - <td align=center><input type="text" name="dbhost" value="{$F_DB_HOST}" /></td> + <td align=center><input type="text" name="dbhost" value="{$F_DB_HOST}"></td> <td>{'step1_host_info'|@translate}</td> </tr> <tr> <td>{'step1_user'|@translate}</td> - <td align=center><input type="text" name="dbuser" value="{$F_DB_USER}" /></td> + <td align=center><input type="text" name="dbuser" value="{$F_DB_USER}"></td> <td>{'step1_user_info'|@translate}</td> </tr> <tr> <td>{'step1_pass'|@translate}</td> - <td align=center><input type="password" name="dbpasswd" value="" /></td> + <td align=center><input type="password" name="dbpasswd" value=""></td> <td>{'step1_pass_info'|@translate}</td> </tr> <tr> <td>{'step1_database'|@translate}</td> - <td align=center><input type="text" name="dbname" value="{$F_DB_NAME}" /></td> + <td align=center><input type="text" name="dbname" value="{$F_DB_NAME}"></td> <td>{'step1_database_info'|@translate}</td> </tr> <tr> <td>{'step1_prefix'|@translate}</td> - <td align=center><input type="text" name="prefix" value="{$F_DB_PREFIX}" /></td> + <td align=center><input type="text" name="prefix" value="{$F_DB_PREFIX}"></td> <td>{'step1_prefix_info'|@translate}</td> </tr> </table> @@ -118,22 +118,22 @@ TD { </tr> <tr> <td style="width: 30%;">{'install_webmaster'|@translate}</td> - <td align="center"><input type="text" name="admin_name" value="{$F_ADMIN}" /></td> + <td align="center"><input type="text" name="admin_name" value="{$F_ADMIN}"></td> <td>{'install_webmaster_info'|@translate}</td> </tr> <tr> <td>{'step2_pwd'|@translate}</td> - <td align="center"><input type="password" name="admin_pass1" value="" /></td> + <td align="center"><input type="password" name="admin_pass1" value=""></td> <td>{'step2_pwd_info'|@translate}</td> </tr> <tr> <td>{'step2_pwd_conf'|@translate}</td> - <td align="center"><input type="password" name="admin_pass2" value="" /></td> + <td align="center"><input type="password" name="admin_pass2" value=""></td> <td>{'step2_pwd_conf_info'|@translate}</td> </tr> <tr> <td>{'conf_mail_webmaster'|@translate}</td> - <td align="center"><input type="text" name="admin_mail" value="{$F_ADMIN_EMAIL}" /></td> + <td align="center"><input type="text" name="admin_mail" value="{$F_ADMIN_EMAIL}"></td> <td>{'conf_mail_webmaster_info'|@translate}</td> </tr> </table> @@ -141,16 +141,16 @@ TD { <table> <tr> <td style="text-align: center;"> - <input class="submit" type="submit" name="install" value="{'Start_Install'|@translate}" /> + <input class="submit" type="submit" name="install" value="{'Start_Install'|@translate}"> </td> </tr> </table> </form> {else} <p> - <br /> - <input type="button" name="index" value="{'home'|@translate}" onClick="document.location = 'index.php';"/> - <input type="button" name="identification" value="{'Identification'|@translate}" onClick="document.location = 'identification.php';"/> + <br> + <input type="button" name="index" value="{'home'|@translate}" onClick="document.location = 'index.php';"> + <input type="button" name="identification" value="{'Identification'|@translate}" onClick="document.location = 'identification.php';"> </p> {/if} </div> {* content *} diff --git a/admin/template/goto/intro.tpl b/admin/template/goto/intro.tpl index 2bde582f3..d9cafde2a 100644 --- a/admin/template/goto/intro.tpl +++ b/admin/template/goto/intro.tpl @@ -50,16 +50,16 @@ <form name="QuickSynchro" action="{$U_CAT_UPDATE}" method="post" id="QuickSynchro" style="display: block; text-align:right;"> <div> -<input type="hidden" name="sync" value="files" checked="checked" /> -<input type="hidden" name="display_info" value="1" checked="checked" /> -<input type="hidden" name="add_to_caddie" value="1" checked="checked" /> -<input type="hidden" name="privacy_level" value="0" checked="checked" /> -<input type="hidden" name="sync_meta" checked="checked"/> -<input type="hidden" name="simulate" value="0" /> -<input type="hidden" name="subcats-included" value="1" checked="checked"/> +<input type="hidden" name="sync" value="files" checked="checked"> +<input type="hidden" name="display_info" value="1" checked="checked"> +<input type="hidden" name="add_to_caddie" value="1" checked="checked"> +<input type="hidden" name="privacy_level" value="0" checked="checked"> +<input type="hidden" name="sync_meta" checked="checked"> +<input type="hidden" name="simulate" value="0"> +<input type="hidden" name="subcats-included" value="1" checked="checked"> </div> <div class="bigbutton"> <span class="bigtext">{'Quick Local Synchronization'|@translate}</span> <input type="submit" value="" name="submit"> </div> -</form>
\ No newline at end of file +</form> diff --git a/admin/template/goto/menubar.tpl b/admin/template/goto/menubar.tpl index 7ce3d29e7..b03575a85 100644 --- a/admin/template/goto/menubar.tpl +++ b/admin/template/goto/menubar.tpl @@ -24,7 +24,7 @@ {/foreach} </table> <p> - <input type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}/> - <input type="submit" name="reset" value="{'Reset'|@translate}" {$TAG_INPUT_ENABLED}/> + <input type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> + <input type="submit" name="reset" value="{'Reset'|@translate}" {$TAG_INPUT_ENABLED}> </p> -</form>
\ No newline at end of file +</form> diff --git a/admin/template/goto/notification_by_mail.tpl b/admin/template/goto/notification_by_mail.tpl index 375093d01..7309f4a94 100644 --- a/admin/template/goto/notification_by_mail.tpl +++ b/admin/template/goto/notification_by_mail.tpl @@ -10,7 +10,7 @@ {if isset($REPOST_SUBMIT_NAME)} <fieldset> <div class="infos"> - <input class="submit" type="submit" value="{'nbm_repost_submit'|@translate}" name="{$REPOST_SUBMIT_NAME}" {$TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" value="{'nbm_repost_submit'|@translate}" name="{$REPOST_SUBMIT_NAME}" {$TAG_INPUT_ENABLED}> </div> </fieldset> {/if} @@ -22,22 +22,22 @@ <tr> <td><label>{'nbm_send_html_mail'|@translate}</label></td> <td> - <label><input type="radio" name="nbm_send_html_mail" value="true" {if $param.SEND_HTML_MAIL}checked="checked"{/if}/>{'Yes'|@translate}</label> - <label><input type="radio" name="nbm_send_html_mail" value="false" {if not $param.SEND_HTML_MAIL}checked="checked"{/if}/>{'No'|@translate}</label> + <label><input type="radio" name="nbm_send_html_mail" value="true" {if $param.SEND_HTML_MAIL}checked="checked"{/if}>{'Yes'|@translate}</label> + <label><input type="radio" name="nbm_send_html_mail" value="false" {if not $param.SEND_HTML_MAIL}checked="checked"{/if}>{'No'|@translate}</label> </td> </tr> <tr> <td> <label for="send_mail_as">{'nbm_send_mail_as'|@translate}</label> - <br/><i><small>{'nbm_info_send_mail_as'|@translate}</small></i> + <br><i><small>{'nbm_info_send_mail_as'|@translate}</small></i> </td> - <td><input type="text" maxlength="35" size="35" name="nbm_send_mail_as" id="send_mail_as" value="{$param.SEND_MAIL_AS}"/></td> + <td><input type="text" maxlength="35" size="35" name="nbm_send_mail_as" id="send_mail_as" value="{$param.SEND_MAIL_AS}"></td> </tr> <tr> <td><label>{'nbm_send_detailed_content'|@translate}</label></td> <td> - <label><input type="radio" name="nbm_send_detailed_content" value="true" {if $param.SEND_DETAILED_CONTENT}checked="checked"{/if}/>{'Yes'|@translate}</label> - <label><input type="radio" name="nbm_send_detailed_content" value="false" {if not $param.SEND_DETAILED_CONTENT}checked="checked"{/if}/>{'No'|@translate}</label> + <label><input type="radio" name="nbm_send_detailed_content" value="true" {if $param.SEND_DETAILED_CONTENT}checked="checked"{/if}>{'Yes'|@translate}</label> + <label><input type="radio" name="nbm_send_detailed_content" value="false" {if not $param.SEND_DETAILED_CONTENT}checked="checked"{/if}>{'No'|@translate}</label> </td> </tr> <tr> @@ -47,19 +47,19 @@ <tr> <td> <label>{'nbm_send_recent_post_dates'|@translate}</label> - <br/><i><small>{'nbm_info_send_recent_post_dates'|@translate}</small></i> + <br><i><small>{'nbm_info_send_recent_post_dates'|@translate}</small></i> </td> <td> - <label><input type="radio" name="nbm_send_recent_post_dates" value="true" {if $param.SEND_RECENT_POST_DATES}checked="checked"{/if}/>{'Yes'|@translate}</label> - <label><input type="radio" name="nbm_send_recent_post_dates" value="false" {if not $param.SEND_RECENT_POST_DATES}checked="checked"{/if}/>{'No'|@translate}</label> + <label><input type="radio" name="nbm_send_recent_post_dates" value="true" {if $param.SEND_RECENT_POST_DATES}checked="checked"{/if}>{'Yes'|@translate}</label> + <label><input type="radio" name="nbm_send_recent_post_dates" value="false" {if not $param.SEND_RECENT_POST_DATES}checked="checked"{/if}>{'No'|@translate}</label> </td> </tr> </table> </fieldset> <p> - <input class="submit" type="submit" value="{'Submit'|@translate}" name="param_submit" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="reset" value="{'Reset'|@translate}" name="param_reset"/> + <input class="submit" type="submit" value="{'Submit'|@translate}" name="param_submit" {$TAG_INPUT_ENABLED}> + <input class="submit" type="reset" value="{'Reset'|@translate}" name="param_reset"> </p> {/if}{* isset $param*} @@ -93,7 +93,7 @@ <td><label for="send_selection-{$u.ID}">{$u.USERNAME}</label></td> <td><label for="send_selection-{$u.ID}">{$u.EMAIL}</label></td> <td><label for="send_selection-{$u.ID}">{$u.LAST_SEND}</label></td> - <td><input type="checkbox" name="send_selection[]" value="{$u.ID}" {$u.CHECKED} id="send_selection-{$u.ID}"/></td> + <td><input type="checkbox" name="send_selection[]" value="{$u.ID}" {$u.CHECKED} id="send_selection-{$u.ID}"></td> </tr> {/foreach} </table> @@ -114,7 +114,7 @@ </fieldset> <p> - <input class="submit" type="submit" value="{'nbm_send_submit'|@translate}" name="send_submit" {$TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" value="{'nbm_send_submit'|@translate}" name="send_submit" {$TAG_INPUT_ENABLED}> </p> {/if} {/if}{* isset $send*} diff --git a/admin/template/goto/permalinks.tpl b/admin/template/goto/permalinks.tpl index 3e04cc3d0..1f2164721 100644 --- a/admin/template/goto/permalinks.tpl +++ b/admin/template/goto/permalinks.tpl @@ -13,15 +13,15 @@ </label> <label>{'Permalink'|@translate}: - <input name="permalink" /> + <input name="permalink"> </label> <label>{'Save to permalink history'|@translate}: - <input type="checkbox" name="save" checked="checked" /> + <input type="checkbox" name="save" checked="checked"> </label> <p> - <input type="submit" class="submit" name="set_permalink" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}/> + <input type="submit" class="submit" name="set_permalink" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> </p> </fieldset> </form> diff --git a/admin/template/goto/picture_modify.tpl b/admin/template/goto/picture_modify.tpl index 65bc8f407..f6c259a53 100644 --- a/admin/template/goto/picture_modify.tpl +++ b/admin/template/goto/picture_modify.tpl @@ -12,14 +12,14 @@ <h2>{'title_picmod'|@translate}</h2> -<img src="{$TN_SRC}" alt="{'thumbnail'|@translate}" class="thumbnail" /> +<img src="{$TN_SRC}" alt="{'thumbnail'|@translate}" class="thumbnail"> <ul class="categoryActions"> {if isset($U_JUMPTO) } - <li><a href="{$U_JUMPTO}" title="{'jump to image'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" class="button" alt="{'jump to image'|@translate}" /></a></li> + <li><a href="{$U_JUMPTO}" title="{'jump to image'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" class="button" alt="{'jump to image'|@translate}"></a></li> {/if} {if !url_is_remote($path)} - <li><a href="{$U_SYNC}" title="{'synchronize metadata'|@translate}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/sync_metadata.png" class="button" alt="{'synchronize'|@translate}" /></a></li> + <li><a href="{$U_SYNC}" title="{'synchronize metadata'|@translate}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/sync_metadata.png" class="button" alt="{'synchronize'|@translate}"></a></li> {/if} </ul> @@ -86,19 +86,19 @@ <tr> <td><strong>{'Name'|@translate}</strong></td> - <td><input type="text" class="large" name="name" value="{$NAME}" /></td> + <td><input type="text" class="large" name="name" value="{$NAME}"></td> </tr> <tr> <td><strong>{'Author'|@translate}</strong></td> - <td><input type="text" class="large" name="author" value="{$AUTHOR}" /></td> + <td><input type="text" class="large" name="author" value="{$AUTHOR}"></td> </tr> <tr> <td><strong>{'Creation date'|@translate}</strong></td> <td> - <label><input type="radio" name="date_creation_action" value="unset" /> {'unset'|@translate}</label> - <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> {'set to'|@translate} + <label><input type="radio" name="date_creation_action" value="unset"> {'unset'|@translate}</label> + <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set"> {'set to'|@translate} <select id="date_creation_day" name="date_creation_day"> <option value="0">--</option> {section name=day start=1 loop=32} @@ -113,8 +113,8 @@ type="text" size="4" maxlength="4" - value="{$DATE_CREATION_YEAR_VALUE}" /> - <input id="date_creation_linked_date" name="date_creation_linked_date" type="hidden" size="10" disabled="disabled"/> + value="{$DATE_CREATION_YEAR_VALUE}"> + <input id="date_creation_linked_date" name="date_creation_linked_date" type="hidden" size="10" disabled="disabled"> </td> </tr> @@ -141,8 +141,8 @@ </table> <p style="text-align:center;"> - <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset" /> + <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}> + <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset"> </p> </fieldset> @@ -160,7 +160,7 @@ <select class="categoryList" name="cat_associated[]" multiple="multiple" size="30"> {html_options options=$associated_options} </select> - <p><input class="submit" type="submit" value="»" name="dissociate" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="»" name="dissociate" style="font-size:15px;" {$TAG_INPUT_ENABLED}></p> </td> <td> @@ -168,7 +168,7 @@ <select class="categoryList" name="cat_dissociated[]" multiple="multiple" size="30"> {html_options options=$dissociated_options} </select> - <p><input class="submit" type="submit" value="«" name="associate" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="«" name="associate" style="font-size:15px;" {$TAG_INPUT_ENABLED}></p> </td> </tr> </table> @@ -187,7 +187,7 @@ <select class="categoryList" name="cat_elected[]" multiple="multiple" size="30"> {html_options options=$elected_options} </select> - <p><input class="submit" type="submit" value="»" name="dismiss" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="»" name="dismiss" style="font-size:15px;" {$TAG_INPUT_ENABLED}></p> </td> <td> @@ -195,7 +195,7 @@ <select class="categoryList" name="cat_dismissed[]" multiple="multiple" size="30"> {html_options options=$dismissed_options} </select> - <p><input class="submit" type="submit" value="«" name="elect" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="«" name="elect" style="font-size:15px;" {$TAG_INPUT_ENABLED}></p> </td> </tr> </table> diff --git a/admin/template/goto/plugins_list.tpl b/admin/template/goto/plugins_list.tpl index 96b1f2b1a..7f8ee5cef 100644 --- a/admin/template/goto/plugins_list.tpl +++ b/admin/template/goto/plugins_list.tpl @@ -30,42 +30,42 @@ {if $plugin.STATE == 'active'} <li> <a href="{$plugin.U_ACTION}&action=deactivate"> - <img src="{$themeconf.admin_icon_dir}/plug_deactivate.png" alt="{'Deactivate'|@translate}" title="{'Deactivate'|@translate}" /> + <img src="{$themeconf.admin_icon_dir}/plug_deactivate.png" alt="{'Deactivate'|@translate}" title="{'Deactivate'|@translate}"> </a> </li> <li> - <img src="{$themeconf.admin_icon_dir}/plug_uninstall_grey.png" alt="{'Uninstall'|@translate}" title="{'Uninstall'|@translate}" /> + <img src="{$themeconf.admin_icon_dir}/plug_uninstall_grey.png" alt="{'Uninstall'|@translate}" title="{'Uninstall'|@translate}"> </li> {/if} {if $plugin.STATE == 'inactive'} <li> <a href="{$plugin.U_ACTION}&action=activate"> - <img src="{$themeconf.admin_icon_dir}/plug_activate.png" alt="{'Activate'|@translate}" title="{'Activate'|@translate}" /> + <img src="{$themeconf.admin_icon_dir}/plug_activate.png" alt="{'Activate'|@translate}" title="{'Activate'|@translate}"> </a> </li> <li> <a href="{$plugin.U_ACTION}&action=uninstall" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');"> - <img src="{$themeconf.admin_icon_dir}/plug_uninstall.png" alt="{'Uninstall'|@translate}" title="{'Uninstall'|@translate}" /> + <img src="{$themeconf.admin_icon_dir}/plug_uninstall.png" alt="{'Uninstall'|@translate}" title="{'Uninstall'|@translate}"> </a> </li> {/if} {if $plugin.STATE == 'missing'} <li> - <img src="{$themeconf.admin_icon_dir}/plug_deactivate_grey.png" alt="{'Deactivate'|@translate}" title="{'Deactivate'|@translate}" /> + <img src="{$themeconf.admin_icon_dir}/plug_deactivate_grey.png" alt="{'Deactivate'|@translate}" title="{'Deactivate'|@translate}"> </li> <li> <a href="{$plugin.U_ACTION}&action=uninstall" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');"> - <img src="{$themeconf.admin_icon_dir}/plug_uninstall.png" alt="{'Uninstall'|@translate}" title="{'Uninstall'|@translate}" /> + <img src="{$themeconf.admin_icon_dir}/plug_uninstall.png" alt="{'Uninstall'|@translate}" title="{'Uninstall'|@translate}"> </a> </li> {/if} {if $plugin.STATE == 'uninstalled'} <li> - <img src="{$themeconf.admin_icon_dir}/plug_activate_grey.png" alt="{'Activate'|@translate}" title="{'Activate'|@translate}" /> + <img src="{$themeconf.admin_icon_dir}/plug_activate_grey.png" alt="{'Activate'|@translate}" title="{'Activate'|@translate}"> </li> <li> <a href="{$plugin.U_ACTION}&action=install" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');"> - <img src="{$themeconf.admin_icon_dir}/plug_install.png" alt="{'Install'|@translate}" title="{'Install'|@translate}"/> + <img src="{$themeconf.admin_icon_dir}/plug_install.png" alt="{'Install'|@translate}" title="{'Install'|@translate}"> </a> </li> <li> @@ -75,7 +75,7 @@ </li> {else} <li> - <img src="{$themeconf.admin_icon_dir}/plug_delete_grey.png" alt="{'plugins_delete'|@translate}" title="{'plugins_delete'|@translate}" /> + <img src="{$themeconf.admin_icon_dir}/plug_delete_grey.png" alt="{'plugins_delete'|@translate}" title="{'plugins_delete'|@translate}"> </li> {/if} </ul> diff --git a/admin/template/goto/profile_content.tpl b/admin/template/goto/profile_content.tpl index dc67d5032..e4191f099 100644 --- a/admin/template/goto/profile_content.tpl +++ b/admin/template/goto/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/admin/template/goto/rating.tpl b/admin/template/goto/rating.tpl index cfad377c5..e53512ab2 100644 --- a/admin/template/goto/rating.tpl +++ b/admin/template/goto/rating.tpl @@ -26,9 +26,9 @@ <label> - <input class="submit" type="submit" name="submit_filter" value="{'Submit'|@translate}" /> + <input class="submit" type="submit" name="submit_filter" value="{'Submit'|@translate}"> </label> - <input type="hidden" name="page" value="rating" /> + <input type="hidden" name="page" value="rating"> </fieldset> </form> @@ -59,7 +59,7 @@ <td>{$rate.RATE}</td> <td><b>{$rate.USER}</b></td> <td><span class="date">{$rate.DATE}</span></td> - <td><a href="{$rate.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{'delete'|@translate}]"/></a></td> + <td><a href="{$rate.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{'delete'|@translate}]"></a></td> </tr> {/foreach} {*rates*} {/foreach} {*images*} diff --git a/admin/template/goto/site_manager.tpl b/admin/template/goto/site_manager.tpl index 61c0157cf..c1e86cae6 100644 --- a/admin/template/goto/site_manager.tpl +++ b/admin/template/goto/site_manager.tpl @@ -19,15 +19,15 @@ <form action="{$F_ACTION}" method="post"> <p> {'remote_site_local_create'|@translate}: - <input type="hidden" name="no_check" value="1"/> - <input type="hidden" name="galleries_url" value="{$local_listing.URL}" /> - <input type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED} /> + <input type="hidden" name="no_check" value="1"> + <input type="hidden" name="galleries_url" value="{$local_listing.URL}"> + <input type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> </p> </form> {/if} {if isset($local_listing.U_SYNCHRONIZE)} <a href="{$local_listing.U_SYNCHRONIZE}" title="{'remote_site_local_update'|@translate}">{'site_synchronize'|@translate}</a> -<br/><br/> +<br><br> {/if} {/if} @@ -39,7 +39,7 @@ </tr> {foreach from=$sites item=site name=site} <tr style="text-align:left" class="{if $smarty.foreach.site.index is odd}row1{else}row2{/if}"><td> - <a href="{$site.NAME}">{$site.NAME}</a><br/>({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d element','%d elements',$site.IMAGES)}) + <a href="{$site.NAME}">{$site.NAME}</a><br>({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d element','%d elements',$site.IMAGES)}) </td><td> [<a href="{$site.U_SYNCHRONIZE}" title="{'site_synchronize_hint'|@translate}">{'site_synchronize'|@translate}</a>] {if isset($site.U_DELETE)} @@ -47,7 +47,7 @@ title="{'site_delete_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'site_delete'|@translate}</a>] {/if} {if isset($site.remote)} - <br/> + <br> [<a href="{$site.remote.U_TEST}" title="{'remote_site_test_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'remote_site_test'|@translate}</a>] [<a href="{$site.remote.U_GENERATE}" title="{'remote_site_generate_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'remote_site_generate'|@translate}</a>] [<a href="{$site.remote.U_CLEAN}" title="{'remote_site_clean_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'remote_site_clean'|@translate}</a>] @@ -66,9 +66,9 @@ <form action="{$F_ACTION}" method="post"> <p> <label for="galleries_url" >{'site_create'|@translate}</label> - <input type="text" name="galleries_url" id="galleries_url" /> + <input type="text" name="galleries_url" id="galleries_url"> </p> <p> - <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED} /> + <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> </p> </form> diff --git a/admin/template/goto/site_update.tpl b/admin/template/goto/site_update.tpl index 861c154d9..7b48094b9 100644 --- a/admin/template/goto/site_update.tpl +++ b/admin/template/goto/site_update.tpl @@ -63,13 +63,13 @@ <fieldset id="syncFiles"> <legend>{'update_sync_files'|@translate}</legend> <ul> - <li><label><input type="radio" name="sync" value="" {if empty($introduction.sync)}checked="checked"{/if}/> {'nothing'|@translate}</label></li> - <li><label><input type="radio" name="sync" value="dirs" {if 'dirs'==$introduction.sync}checked="checked"{/if}/> {'update_sync_dirs'|@translate}</label></li> + <li><label><input type="radio" name="sync" value="" {if empty($introduction.sync)}checked="checked"{/if}> {'nothing'|@translate}</label></li> + <li><label><input type="radio" name="sync" value="dirs" {if 'dirs'==$introduction.sync}checked="checked"{/if}> {'update_sync_dirs'|@translate}</label></li> - <li><label><input type="radio" name="sync" value="files" {if 'files'==$introduction.sync}checked="checked"{/if}/> {'update_sync_all'|@translate}</label> + <li><label><input type="radio" name="sync" value="files" {if 'files'==$introduction.sync}checked="checked"{/if}> {'update_sync_all'|@translate}</label> <ul style="padding-left:3em"> - <li><label><input type="checkbox" name="display_info" value="1" {if $introduction.display_info}checked="checked"{/if}/> {'update_display_info'|@translate}</label></li> - <li><label><input type="checkbox" name="add_to_caddie" value="1" {if $introduction.add_to_caddie}checked="checked"{/if}/> {'add new elements to caddie'|@translate}</label></li> + <li><label><input type="checkbox" name="display_info" value="1" {if $introduction.display_info}checked="checked"{/if}> {'update_display_info'|@translate}</label></li> + <li><label><input type="checkbox" name="add_to_caddie" value="1" {if $introduction.add_to_caddie}checked="checked"{/if}> {'add new elements to caddie'|@translate}</label></li> <li><label>{'Minimum privacy level'|@translate} <select name="privacy_level">{html_options options=$introduction.privacy_level_options selected=$introduction.privacy_level_selected}</select></label></li> </ul> </li> @@ -78,20 +78,20 @@ <fieldset id="syncMetadata"> <legend>{'update_sync_metadata'|@translate}</legend> - <label><input type="checkbox" name="sync_meta" {if $introduction.sync_meta}checked="checked"{/if}/> {'synchronize metadata'|@translate} ({$METADATA_LIST})</label></li> + <label><input type="checkbox" name="sync_meta" {if $introduction.sync_meta}checked="checked"{/if}> {'synchronize metadata'|@translate} ({$METADATA_LIST})</label></li> <ul style="padding-left:3em"> <li> - <label><input type="checkbox" name="meta_all" {if $introduction.meta_all}checked="checked"{/if}/> {'update_sync_metadata_all'|@translate}</label> + <label><input type="checkbox" name="meta_all" {if $introduction.meta_all}checked="checked"{/if}> {'update_sync_metadata_all'|@translate}</label> </li> <li> - <label><input type="checkbox" name="meta_empty_overrides" {if $introduction.meta_empty_overrides}checked="checked"{/if}/> {'overrides existing values with empty ones'|@translate}</label> + <label><input type="checkbox" name="meta_empty_overrides" {if $introduction.meta_empty_overrides}checked="checked"{/if}> {'overrides existing values with empty ones'|@translate}</label> </li> </ul> </fieldset> <fieldset id="syncSimulate"> <legend></legend> - <ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" {$TAG_INPUT_ENABLED} /> {'update_simulate'|@translate}</label></li></ul> + <ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" {$TAG_INPUT_ENABLED}> {'update_simulate'|@translate}</label></li></ul> </fieldset> <fieldset id="catSubset"> @@ -103,13 +103,13 @@ </select> </li> - <li><label><input type="checkbox" name="subcats-included" value="1" {if $introduction.subcats_included}checked="checked"{/if}/> {'search_subcats_included'|@translate}</label></li> + <li><label><input type="checkbox" name="subcats-included" value="1" {if $introduction.subcats_included}checked="checked"{/if}> {'search_subcats_included'|@translate}</label></li> </ul> </fieldset> <p class="bottomButtons"> - <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" /> - <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset" /> + <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit"> + <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset"> </p> </form> {/if}{*isset $introduction*} diff --git a/admin/template/goto/tags.tpl b/admin/template/goto/tags.tpl index b2ce57341..1072ea6e2 100644 --- a/admin/template/goto/tags.tpl +++ b/admin/template/goto/tags.tpl @@ -8,7 +8,7 @@ {if isset($EDIT_TAGS_LIST)} <fieldset> <legend>{'Edit tags'|@translate}</legend> - <input type="hidden" name="edit_list" value="{$EDIT_TAGS_LIST}" /> + <input type="hidden" name="edit_list" value="{$EDIT_TAGS_LIST}"> <table class="table2"> <tr class="throw"> <th>{'Current name'|@translate}</th> @@ -17,14 +17,14 @@ {foreach from=$tags item=tag} <tr> <td>{$tag.NAME}</td> - <td><input type="text" name="tag_name-{$tag.ID}" value="{$tag.NAME}" /></td> + <td><input type="text" name="tag_name-{$tag.ID}" value="{$tag.NAME}"></td> </tr> {/foreach} </table> <p> - <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED} /> - <input class="submit" type="reset" value="{'Reset'|@translate}" /> + <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> + <input class="submit" type="reset" value="{'Reset'|@translate}"> </p> </fieldset> {/if} @@ -34,10 +34,10 @@ <label> {'New tag'|@translate} - <input type="text" name="add_tag" /> + <input type="text" name="add_tag"> </label> - <p><input class="submit" type="submit" name="add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" name="add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}></p> </fieldset> <fieldset> @@ -46,8 +46,8 @@ {$TAG_SELECTION} <p> - <input class="submit" type="submit" name="edit" value="{'Edit selected tags'|@translate}"/> - <input class="submit" type="submit" name="delete" value="{'Delete selected tags'|@translate}" onclick="return confirm('{'Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="edit" value="{'Edit selected tags'|@translate}"> + <input class="submit" type="submit" name="delete" value="{'Delete selected tags'|@translate}" onclick="return confirm('{'Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}> </p> </fieldset> diff --git a/admin/template/goto/thumbnail.tpl b/admin/template/goto/thumbnail.tpl index d753e0175..b38692d42 100644 --- a/admin/template/goto/thumbnail.tpl +++ b/admin/template/goto/thumbnail.tpl @@ -16,7 +16,7 @@ {foreach from=$results.elements item=elt} <tr> <td>{$elt.PATH}</td> - <td><img src="{$elt.TN_FILE_IMG}" /></td> + <td><img src="{$elt.TN_FILE_IMG}"></td> <td style="text-align:right;">{$elt.GEN_TIME}</td> <td style="text-align:right;">{$elt.TN_FILESIZE_IMG}</td> <td style="text-align:right;">{$elt.TN_WIDTH_IMG} x {$elt.TN_HEIGHT_IMG}</td> @@ -49,7 +49,7 @@ <td style="text-align:right;">{$results.TN_AVERAGE}</td> </tr> </table> -<br /> +<br> {/if} {if isset($params) } @@ -62,10 +62,10 @@ <li> <span class="property">{'tn_params_GD'|@translate}</span> <label> - <input type="radio" name="gd" value="2" {if $params.GD_SELECTED==2}checked="checked"{/if} />2.x + <input type="radio" name="gd" value="2" {if $params.GD_SELECTED==2}checked="checked"{/if}>2.x </label> <label> - <input type="radio" name="gd" value="1" {if $params.GD_SELECTED==1}checked="checked"{/if} />1.x + <input type="radio" name="gd" value="1" {if $params.GD_SELECTED==1}checked="checked"{/if}>1.x </label> </li> @@ -73,27 +73,27 @@ <span class="property"> <label for="width">{'maximum width'|@translate}</label> </span> - <input type="text" id="width" name="width" value="{$params.WIDTH_TN}" /> + <input type="text" id="width" name="width" value="{$params.WIDTH_TN}"> </li> <li> <span class="property"> <label for="height">{'maximum height'|@translate}</label> </span> - <input type="text" id="height" name="height" value="{$params.HEIGHT_TN}" /> + <input type="text" id="height" name="height" value="{$params.HEIGHT_TN}"> </li> <li> <span class="property">{'Number of thumbnails to create'|@translate}</span> - <label><input type="radio" name="n" value="5" {if $params.N_SELECTED==5}checked="checked"{/if} /> 5</label> - <label><input type="radio" name="n" value="10" {if $params.N_SELECTED==10}checked="checked"{/if} /> 10</label> - <label><input type="radio" name="n" value="20" {if $params.N_SELECTED==20}checked="checked"{/if} /> 20</label> - <label><input type="radio" name="n" value="all" {if $params.N_SELECTED=='all'}checked="checked"{/if} /> {'tn_all'|@translate}</label> + <label><input type="radio" name="n" value="5" {if $params.N_SELECTED==5}checked="checked"{/if}> 5</label> + <label><input type="radio" name="n" value="10" {if $params.N_SELECTED==10}checked="checked"{/if}> 10</label> + <label><input type="radio" name="n" value="20" {if $params.N_SELECTED==20}checked="checked"{/if}> 20</label> + <label><input type="radio" name="n" value="all" {if $params.N_SELECTED=='all'}checked="checked"{/if}> {'tn_all'|@translate}</label> </li> </ul> </fieldset> - <p><input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}></p> </form> {/if} {*isset params*} diff --git a/admin/template/goto/upgrade.tpl b/admin/template/goto/upgrade.tpl index b23448223..00cc297cf 100644 --- a/admin/template/goto/upgrade.tpl +++ b/admin/template/goto/upgrade.tpl @@ -68,17 +68,17 @@ textarea { margin-left: 20px; } <table> <tr> <td>{'Username'|@translate}</td> - <td><input type="text" name="username" id="username" size="25" maxlength="40" style="width: 150px;" /></td> + <td><input type="text" name="username" id="username" size="25" maxlength="40" style="width: 150px;"></td> </tr> <tr> <td>{'Password'|@translate}</td> - <td><input type="password" name="password" id="password" size="25" maxlength="25" style="width: 150px;" /></td> + <td><input type="password" name="password" id="password" size="25" maxlength="25" style="width: 150px;"></td> </tr> </table> {/if} <p style="text-align: center;"> -<input class="submit" type="submit" name="submit" value="{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}"/> +<input class="submit" type="submit" name="submit" value="{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}"> </p> </form> <!-- @@ -107,7 +107,7 @@ textarea { margin-left: 20px; } </ul> <form action="index.php" method="post"> -<p><input type="submit" name="submit" value="{'home'|@translate}"/></p> +<p><input type="submit" name="submit" value="{'home'|@translate}"></p> </form> {/if} diff --git a/admin/template/goto/upload.tpl b/admin/template/goto/upload.tpl index 098a92fe3..7a3e559ea 100644 --- a/admin/template/goto/upload.tpl +++ b/admin/template/goto/upload.tpl @@ -33,8 +33,8 @@ <a href="mailto:{$picture.UPLOAD_EMAIL}">{$picture.UPLOAD_USERNAME}</a> </td> <td style="white-space:nowrap;"> - <label><input type="radio" name="action-{$picture.ID_IMG}" value="validate" /> {'Validate'|@translate}</label> - <label><input type="radio" name="action-{$picture.ID_IMG}" value="reject" /> {'Reject'|@translate}</label> + <label><input type="radio" name="action-{$picture.ID_IMG}" value="validate"> {'Validate'|@translate}</label> + <label><input type="radio" name="action-{$picture.ID_IMG}" value="reject"> {'Reject'|@translate}</label> </td> </tr> {/foreach} @@ -42,11 +42,11 @@ </table> <p class="bottomButtons"> - <input type="hidden" name="list" value="{$LIST}" /> - <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="submit" name="validate-all" value="{'Validate All'|@translate}" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="submit" name="reject-all" value="{'Reject All'|@translate}" {$TAG_INPUT_ENABLED}/> - <input class="submit" type="reset" value="{'Reset'|@translate}" /> + <input type="hidden" name="list" value="{$LIST}"> + <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> + <input class="submit" type="submit" name="validate-all" value="{'Validate All'|@translate}" {$TAG_INPUT_ENABLED}> + <input class="submit" type="submit" name="reject-all" value="{'Reject All'|@translate}" {$TAG_INPUT_ENABLED}> + <input class="submit" type="reset" value="{'Reset'|@translate}"> </p> </form> diff --git a/admin/template/goto/user_list.tpl b/admin/template/goto/user_list.tpl index 06e1a9062..50161d9d5 100644 --- a/admin/template/goto/user_list.tpl +++ b/admin/template/goto/user_list.tpl @@ -6,19 +6,19 @@ <form class="filter" method="post" name="add_user" action="{$F_ADD_ACTION}"> <fieldset> <legend>{'Add a user'|@translate}</legend> - <label>{'Username'|@translate} <input type="text" name="login" maxlength="50" size="20" /></label> - <label>{'Password'|@translate} <input type="text" name="password" /></label> - <label>{'Email address'|@translate} <input type="text" name="email" /></label> - <label> <input class="submit" type="submit" name="submit_add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED} /></label> + <label>{'Username'|@translate} <input type="text" name="login" maxlength="50" size="20"></label> + <label>{'Password'|@translate} <input type="text" name="password"></label> + <label>{'Email address'|@translate} <input type="text" name="email"></label> + <label> <input class="submit" type="submit" name="submit_add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}></label> </fieldset> </form> <form class="filter" method="get" name="filter" action="{$F_FILTER_ACTION}"> <fieldset> <legend>{'Filter'|@translate}</legend> - <input type="hidden" name="page" value="user_list" /> + <input type="hidden" name="page" value="user_list"> - <label>{'Username'|@translate} <input type="text" name="username" value="{$F_USERNAME}" /></label> + <label>{'Username'|@translate} <input type="text" name="username" value="{$F_USERNAME}"></label> <label> {'status'|@translate} @@ -42,7 +42,7 @@ <label> - <input class="submit" type="submit" value="{'Submit'|@translate}" /> + <input class="submit" type="submit" value="{'Submit'|@translate}"> </label> </fieldset> @@ -71,7 +71,7 @@ {foreach from=$users item=user name=users_loop} <tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}"> - <td><input type="checkbox" name="selection[]" value="{$user.ID}" {$user.CHECKED} id="selection-{$user.ID}" /></td> + <td><input type="checkbox" name="selection[]" value="{$user.ID}" {$user.CHECKED} id="selection-{$user.ID}"></td> <td><label for="selection-{$user.ID}">{$user.USERNAME}</label></td> <td>{$user.STATUS}</td> <td>{$user.EMAIL}</td> @@ -81,8 +81,8 @@ <td>{$data}</td> {/foreach} <td style="text-align:center;"> - <a href="{$user.U_PERM}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/permissions.png" class="button" style="border:none" alt="{'permissions'|@translate}" title="{'permissions'|@translate}" /></a> - <a href="{$user.U_PROFILE}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/edit_s.png" class="button" style="border:none" alt="{'Profile'|@translate}" title="{'Profile'|@translate}" /></a> + <a href="{$user.U_PERM}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/permissions.png" class="button" style="border:none" alt="{'permissions'|@translate}" title="{'permissions'|@translate}"></a> + <a href="{$user.U_PROFILE}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/edit_s.png" class="button" style="border:none" alt="{'Profile'|@translate}" title="{'Profile'|@translate}"></a> {foreach from=$user.plugin_actions item=data} {$data} {/foreach} @@ -96,8 +96,8 @@ {* delete the selected users ? *} <fieldset> <legend>{'Deletions'|@translate}</legend> - <label><input type="checkbox" name="confirm_deletion" value="1" /> {'confirm'|@translate}</label> - <input class="submit" type="submit" value="{'Delete selected users'|@translate}" name="delete" {$TAG_INPUT_ENABLED}/> + <label><input type="checkbox" name="confirm_deletion" value="1"> {'confirm'|@translate}</label> + <input class="submit" type="submit" value="{'Delete selected users'|@translate}" name="delete" {$TAG_INPUT_ENABLED}> </fieldset> <fieldset> @@ -107,8 +107,8 @@ <tr> <td>{'Status'|@translate}</td> <td> - <label><input type="radio" name="status_action" value="leave" checked="checked" /> {'leave'|@translate}</label> - <label><input type="radio" name="status_action" value="set" id="status_action_set" /> {'set to'|@translate}</label> + <label><input type="radio" name="status_action" value="leave" checked="checked"> {'leave'|@translate}</label> + <label><input type="radio" name="status_action" value="set" id="status_action_set"> {'set to'|@translate}</label> <select onchange="document.getElementById('status_action_set').checked = true;" name="status" size="1"> {html_options options=$pref_status_options selected=$pref_status_selected} </select> @@ -119,10 +119,10 @@ <tr> <td>{'adviser'|@translate}</td> <td> - <label><input type="radio" name="adviser" value="leave" checked="checked" /> {'leave'|@translate}</label> + <label><input type="radio" name="adviser" value="leave" checked="checked"> {'leave'|@translate}</label> / {'set to'|@translate} - <label><input type="radio" name="adviser" value="true" />{'Yes'|@translate}</label> - <label><input type="radio" name="adviser" value="false" />{'No'|@translate}</label> + <label><input type="radio" name="adviser" value="true">{'Yes'|@translate}</label> + <label><input type="radio" name="adviser" value="false">{'No'|@translate}</label> </td> </tr> {/if} @@ -163,18 +163,18 @@ <tr> <td>{'enabled_high'|@translate}</td> <td> - <label><input type="radio" name="enabled_high" value="leave" checked="checked" /> {'leave'|@translate}</label> + <label><input type="radio" name="enabled_high" value="leave" checked="checked"> {'leave'|@translate}</label> / {'set to'|@translate} - <label><input type="radio" name="enabled_high" value="true" />{'Yes'|@translate}</label> - <label><input type="radio" name="enabled_high" value="false" />{'No'|@translate}</label> + <label><input type="radio" name="enabled_high" value="true">{'Yes'|@translate}</label> + <label><input type="radio" name="enabled_high" value="false">{'No'|@translate}</label> </td> </tr> <tr> <td>{'Privacy level'|@translate}</td> <td> - <label><input type="radio" name="level_action" value="leave" checked="checked" />{'leave'|@translate}</label> - <label><input type="radio" name="level_action" value="set" id="level_action_set" />{'set to'|@translate}</label> + <label><input type="radio" name="level_action" value="leave" checked="checked">{'leave'|@translate}</label> + <label><input type="radio" name="level_action" value="set" id="level_action_set">{'set to'|@translate}</label> <select onchange="document.getElementById('level_action_set').checked = true;" name="level" size="1"> {html_options options=$level_options selected=$level_selected} </select> @@ -194,28 +194,28 @@ <tr> <td>{'nb_image_per_row'|@translate}</td> <td> - <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked" /> {'leave'|@translate}</label> - <label><input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set" /> {'set to'|@translate}</label> + <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked"> {'leave'|@translate}</label> + <label><input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set"> {'set to'|@translate}</label> <input onmousedown="document.getElementById('nb_image_line_action_set').checked = true;" - size="3" maxlength="2" type="text" name="nb_image_line" value="{$NB_IMAGE_LINE}" /> + size="3" maxlength="2" type="text" name="nb_image_line" value="{$NB_IMAGE_LINE}"> </td> </tr> <tr> <td>{'nb_row_per_page'|@translate}</td> <td> - <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked" /> {'leave'|@translate}</label> - <label><input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set" /> {'set to'|@translate}</label> + <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked"> {'leave'|@translate}</label> + <label><input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set"> {'set to'|@translate}</label> <input onmousedown="document.getElementById('nb_line_page_action_set').checked = true;" - size="3" maxlength="2" type="text" name="nb_line_page" value="{$NB_LINE_PAGE}" /> + size="3" maxlength="2" type="text" name="nb_line_page" value="{$NB_LINE_PAGE}"> <td> </tr> <tr> <td>{'theme'|@translate}</td> <td> - <label><input type="radio" name="template_action" value="leave" checked="checked" /> {'leave'|@translate}</label> - <label><input type="radio" name="template_action" value="set" id="template_action_set" /> {'set to'|@translate}</label> + <label><input type="radio" name="template_action" value="leave" checked="checked"> {'leave'|@translate}</label> + <label><input type="radio" name="template_action" value="set" id="template_action_set"> {'set to'|@translate}</label> <select onchange="document.getElementById('template_action_set').checked = true;" name="template" size="1"> {html_options values=$template_options output=$template_options selected=$template_selected} </select> @@ -225,8 +225,8 @@ <tr> <td>{'language'|@translate}</td> <td> - <label><input type="radio" name="language_action" value="leave" checked="checked" /> {'leave'|@translate}</label> - <label><input type="radio" name="language_action" value="set" id="language_action_set" /> {'set to'|@translate}</label> + <label><input type="radio" name="language_action" value="leave" checked="checked"> {'leave'|@translate}</label> + <label><input type="radio" name="language_action" value="set" id="language_action_set"> {'set to'|@translate}</label> <select onchange="document.getElementById('language_action_set').checked = true;" name="language" size="1"> {html_options options=$language_options selected=$language_selected} </select> @@ -236,51 +236,51 @@ <tr> <td>{'recent_period'|@translate}</td> <td> - <label><input type="radio" name="recent_period_action" value="leave" checked="checked" /> {'leave'|@translate}</label> - <label><input type="radio" name="recent_period_action" value="set" id="recent_period_action_set" /> {'set to'|@translate}</label> + <label><input type="radio" name="recent_period_action" value="leave" checked="checked"> {'leave'|@translate}</label> + <label><input type="radio" name="recent_period_action" value="set" id="recent_period_action_set"> {'set to'|@translate}</label> <input onmousedown="document.getElementById('recent_period_action_set').checked = true;" - type="text" size="3" maxlength="2" name="recent_period" value="{$RECENT_PERIOD}" /> + type="text" size="3" maxlength="2" name="recent_period" value="{$RECENT_PERIOD}"> </td> </tr> <tr> <td>{'auto_expand'|@translate}</td> <td> - <label><input type="radio" name="expand" value="leave" checked="checked" /> {'leave'|@translate}</label> + <label><input type="radio" name="expand" value="leave" checked="checked"> {'leave'|@translate}</label> / {'set to'|@translate} - <label><input type="radio" name="expand" value="true" />{'Yes'|@translate}</label> - <label><input type="radio" name="expand" value="false" />{'No'|@translate}</label> + <label><input type="radio" name="expand" value="true">{'Yes'|@translate}</label> + <label><input type="radio" name="expand" value="false">{'No'|@translate}</label> </td> </tr> <tr> <td>{'show_nb_comments'|@translate}</td> <td> - <label><input type="radio" name="show_nb_comments" value="leave" checked="checked" /> {'leave'|@translate}</label> + <label><input type="radio" name="show_nb_comments" value="leave" checked="checked"> {'leave'|@translate}</label> / {'set to'|@translate} - <label><input type="radio" name="show_nb_comments" value="true" />{'Yes'|@translate}</label> - <label><input type="radio" name="show_nb_comments" value="false" />{'No'|@translate}</label> + <label><input type="radio" name="show_nb_comments" value="true">{'Yes'|@translate}</label> + <label><input type="radio" name="show_nb_comments" value="false">{'No'|@translate}</label> </td> </tr> <tr> <td>{'show_nb_hits'|@translate}</td> <td> - <label><input type="radio" name="show_nb_hits" value="leave" checked="checked" /> {'leave'|@translate}</label> + <label><input type="radio" name="show_nb_hits" value="leave" checked="checked"> {'leave'|@translate}</label> / {'set to'|@translate} - <label><input type="radio" name="show_nb_hits" value="true" />{'Yes'|@translate}</label> - <label><input type="radio" name="show_nb_hits" value="false" />{'No'|@translate}</label> + <label><input type="radio" name="show_nb_hits" value="true">{'Yes'|@translate}</label> + <label><input type="radio" name="show_nb_hits" value="false">{'No'|@translate}</label> </td> </tr> <tr> <td>{'maxwidth'|@translate}</td> <td> - <label><input type="radio" name="maxwidth_action" value="leave" checked="checked" /> {'leave'|@translate}</label> - <label><input type="radio" name="maxwidth_action" value="unset" /> {'unset'|@translate}</label> - <label><input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set" /> {'set to'|@translate}</label> + <label><input type="radio" name="maxwidth_action" value="leave" checked="checked"> {'leave'|@translate}</label> + <label><input type="radio" name="maxwidth_action" value="unset"> {'unset'|@translate}</label> + <label><input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set"> {'set to'|@translate}</label> <input onmousedown="document.getElementById('maxwidth_action_set').checked = true;" - type="text" size="4" maxlength="4" name="maxwidth" value="{$MAXWIDTH}" /> + type="text" size="4" maxlength="4" name="maxwidth" value="{$MAXWIDTH}"> </td> </tr> @@ -288,11 +288,11 @@ <tr> <td>{'maxheight'|@translate}</td> <td> - <label><input type="radio" name="maxheight_action" value="leave" checked="checked" /> {'leave'|@translate}</label> - <label><input type="radio" name="maxheight_action" value="unset" /> {'unset'|@translate}</label> - <label><input type="radio" name="maxheight_action" value="set" id="maxheight_action_set" /> {'set to'|@translate}</label> + <label><input type="radio" name="maxheight_action" value="leave" checked="checked"> {'leave'|@translate}</label> + <label><input type="radio" name="maxheight_action" value="unset"> {'unset'|@translate}</label> + <label><input type="radio" name="maxheight_action" value="set" id="maxheight_action_set"> {'set to'|@translate}</label> <input onmousedown="document.getElementById('maxheight_action_set').checked = true;" - type="text" size="4" maxlength="4" name="maxheight" value="{$MAXHEIGHT}" /> + type="text" size="4" maxlength="4" name="maxheight" value="{$MAXHEIGHT}"> </td> </tr> @@ -303,13 +303,13 @@ <p> {'target'|@translate} - <label><input type="radio" name="target" value="all" /> {'all'|@translate}</label> - <label><input type="radio" name="target" value="selection" checked="checked" /> {'selection'|@translate}</label> + <label><input type="radio" name="target" value="all"> {'all'|@translate}</label> + <label><input type="radio" name="target" value="selection" checked="checked"> {'selection'|@translate}</label> </p> <p> - <input class="submit" type="submit" value="{'Submit'|@translate}" name="pref_submit" {$TAG_INPUT_ENABLED} /> - <input class="submit" type="reset" value="{'Reset'|@translate}" name="pref_reset" /> + <input class="submit" type="submit" value="{'Submit'|@translate}" name="pref_submit" {$TAG_INPUT_ENABLED}> + <input class="submit" type="reset" value="{'Reset'|@translate}" name="pref_reset"> </p> </form> diff --git a/admin/user_list.php b/admin/user_list.php index abfc94742..0461c83ba 100644 --- a/admin/user_list.php +++ b/admin/user_list.php @@ -658,12 +658,12 @@ foreach ($visible_user_list as $local_user) 'U_PERM' => $perm_url.$local_user['id'], 'USERNAME' => $local_user['username'] .($local_user['id'] == $conf['guest_id'] - ? '<BR />['.l10n('is_the_guest').']' : '') + ? '<br>['.l10n('is_the_guest').']' : '') .($local_user['id'] == $conf['default_user_id'] - ? '<BR />['.l10n('is_the_default').']' : ''), + ? '<br>['.l10n('is_the_default').']' : ''), 'STATUS' => l10n('user_status_'. $local_user['status']).(($local_user['adviser'] == 'true') - ? '<BR />['.l10n('adviser').']' : ''), + ? '<br>['.l10n('adviser').']' : ''), 'EMAIL' => get_email_address_as_display_text($local_user['email']), 'GROUPS' => $groups_string, 'PROPERTIES' => implode( ', ', $properties), |