From da698193c092891074a29489c9319cff10453038 Mon Sep 17 00:00:00 2001 From: spiderr Date: Wed, 19 Nov 2014 16:19:42 -0500 Subject: add-forminput-label-param-for-bs3 --- templates/admin_group_edit.tpl | 18 ++++++++-------- templates/admin_list_users.tpl | 16 ++++++--------- templates/admin_login.tpl | 44 ++++++++++++++++++++-------------------- templates/admin_role_edit.tpl | 12 +++++------ templates/edit_personal_page.tpl | 8 ++++---- templates/login_inc.tpl | 4 +--- templates/register.tpl | 4 ++-- templates/user_preferences.tpl | 8 ++++---- templates/users_import.tpl | 16 +++++++-------- templates/users_list.tpl | 4 ++-- 10 files changed, 64 insertions(+), 70 deletions(-) (limited to 'templates') diff --git a/templates/admin_group_edit.tpl b/templates/admin_group_edit.tpl index 8a897fa..729c79e 100644 --- a/templates/admin_group_edit.tpl +++ b/templates/admin_group_edit.tpl @@ -51,20 +51,20 @@
- - {formhelp note="This is the home page if a user belongs to many groups. Only one group may be the default home. If none is selected, users/my.php is the default."} + {formhelp note="This is the home page if a user belongs to many groups. Only one group may be the default home. If none is selected, users/my.php is the default."} + {/forminput} - - {formhelp note="Users are automatically added to this group when registering at your site."} + {formhelp note="Users are automatically added to this group when registering at your site."} + {/forminput} - - {formhelp note="A user will be able to select this group at registration."} + {formhelp note="A user will be able to select this group at registration."} + {/forminput}
diff --git a/templates/admin_list_users.tpl b/templates/admin_list_users.tpl index 7279232..18eca53 100644 --- a/templates/admin_list_users.tpl +++ b/templates/admin_list_users.tpl @@ -86,28 +86,24 @@
{forminput} - + {/forminput} {/forminput}
- {forminput} - + {forminput label="checkbox"} + {tr}Validate email address{/tr} + {formhelp note="This feature should be used only when you need the maximum security and should be used with discretion. If a visitor's email server is not responding, they will not be able to register. You also must have a valid sender email to use this feature."} {/forminput}
- {forminput} - {/forminput}
diff --git a/templates/admin_login.tpl b/templates/admin_login.tpl index 5c3ea0e..4a14765 100644 --- a/templates/admin_login.tpl +++ b/templates/admin_login.tpl @@ -17,7 +17,7 @@ {/foreach} - + {/forminput}
{/foreach} {* @@ -52,10 +52,10 @@ {/if} {formhelp note=$output.note page=$output.page link=$output.link} {else} - + {/forminput} {/if} {/forminput}
@@ -138,18 +138,18 @@ {foreach from=$registerSettings key=feature item=output}
- {forminput} - {if $output.type == 'text'} + {if $output.type == 'text'} + {forminput} {formlabel label=$output.label for=$feature} {formhelp note=$output.note page=$output.page link=$output.link} - {else} - - {/if} - {/forminput} + {/forminput} + {else} + {forminput label="checkbox"} + {html_checkboxes name="$feature" values="y" checked=$gBitSystem->getConfig($feature) labels=false id=$feature} {tr}{$output.label}{/tr} + {formhelp note=$output.note page=$output.page link=$output.link} + {/forminput} + {/if}
{/foreach} @@ -167,18 +167,18 @@ {foreach from=$httpSettings key=feature item=output}
- {forminput} - {if $output.type == 'text'} + {if $output.type == 'text'} + {forminput} {formlabel label=$output.label for=$feature} - + {formhelp note=$output.note page=$output.page link=$output.link} - {else} - - {/if} - {/forminput} + {/forminput} + {else} + {forminput label="checkbox"} + {html_checkboxes name="$feature" values="y" checked=$gBitSystem->getConfig($feature) labels=false id=$feature} {tr}{$output.label}{/tr} + {formhelp note=$output.note page=$output.page link=$output.link} + {/forminput} + {/if}
{/foreach} diff --git a/templates/admin_role_edit.tpl b/templates/admin_role_edit.tpl index 2218e32..2a9d66a 100644 --- a/templates/admin_role_edit.tpl +++ b/templates/admin_role_edit.tpl @@ -63,24 +63,24 @@
- + {/forminput}
- + {/forminput}
- + {/forminput}
diff --git a/templates/edit_personal_page.tpl b/templates/edit_personal_page.tpl index bd6db6e..e7883d8 100644 --- a/templates/edit_personal_page.tpl +++ b/templates/edit_personal_page.tpl @@ -119,10 +119,10 @@ {if $gBitUser->hasPermission( 'p_wiki_save_minor' )}
- + {/forminput}
{/if} @@ -203,10 +203,10 @@
- + {/forminput}
diff --git a/templates/login_inc.tpl b/templates/login_inc.tpl index a48e47d..cffe273 100644 --- a/templates/login_inc.tpl +++ b/templates/login_inc.tpl @@ -25,11 +25,9 @@ {if $gBitSystem->isFeatureActive('users_remember_me')}
- {forminput class="offset"} - {/forminput}
{/if} diff --git a/templates/register.tpl b/templates/register.tpl index 9e7825e..9f0c512 100644 --- a/templates/register.tpl +++ b/templates/register.tpl @@ -174,9 +174,9 @@ {formlabel label=$output.label for=$op_id} {forminput} {if $output.type == 'checkbox'} - + {/forminput} {elseif $output.type == 'option'} mPrefs.users_double_click eq 'y'}checked="checked"{/if} />Use double-click to edit pages {formhelp note="Enabling this feature will allow you to double click on any wiki page and it will automatically take you to the edit page. Note that this does not work in all browsers."} - + {/forminput}
@@ -242,10 +242,10 @@
- + {/forminput}
diff --git a/templates/users_import.tpl b/templates/users_import.tpl index 79fab16..d1c3ca6 100644 --- a/templates/users_import.tpl +++ b/templates/users_import.tpl @@ -46,31 +46,31 @@
- + {/forminput}
- + {/forminput}
- + {/forminput}
- + {/forminput}
diff --git a/templates/users_list.tpl b/templates/users_list.tpl index c991e65..3f0392a 100644 --- a/templates/users_list.tpl +++ b/templates/users_list.tpl @@ -62,10 +62,10 @@ {foreach from=$users item=userHash key=userId}
  • {if $gBitUser->hasPermission( 'p_users_admin' )} - + {/forminput}
    {$userHash.login}
    {else}

    {displayname hash=$userHash}

    -- cgit v1.3