Changeset 3752


Ignore:
Timestamp:
08/19/09 10:05:29 (11 years ago)
Author:
nikrou
Message:

Fix html for svn:3751 - Unclosed monotags

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/goto/user_list.tpl

    r3751 r3752  
    77  <fieldset> 
    88    <legend>{'Add a user'|@translate}</legend> 
    9     <label>{'Username'|@translate} <input type="text" name="login" maxlength="50" size="20" /></label> 
    10     <label>{'Password'|@translate} <input type="password" name="password" /></label> 
    11     <label>{'Confirm Password'|@translate} <input type="password" name="password_conf" id="password_conf" /></label> 
    12     <label>{'Email address'|@translate} <input type="text" name="email" /></label> 
    13     <label>&nbsp; <input class="submit" type="submit" name="submit_add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED} /></label> 
     9    <label>{'Username'|@translate} <input type="text" name="login" maxlength="50" size="20"></label> 
     10    <label>{'Password'|@translate} <input type="password" name="password"></label> 
     11    <label>{'Confirm Password'|@translate} <input type="password" name="password_conf" id="password_conf"></label> 
     12    <label>{'Email address'|@translate} <input type="text" name="email"></label> 
     13    <label>&nbsp; <input class="submit" type="submit" name="submit_add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}></label> 
    1414  </fieldset> 
    1515</form> 
     
    1818<fieldset> 
    1919  <legend>{'Filter'|@translate}</legend> 
    20   <input type="hidden" name="page" value="user_list" /> 
    21  
    22   <label>{'Username'|@translate} <input type="text" name="username" value="{$F_USERNAME}" /></label> 
     20  <input type="hidden" name="page" value="user_list"> 
     21 
     22  <label>{'Username'|@translate} <input type="text" name="username" value="{$F_USERNAME}"></label> 
    2323 
    2424  <label> 
     
    4444  <label> 
    4545  &nbsp; 
    46   <input class="submit" type="submit" value="{'Submit'|@translate}" /> 
     46  <input class="submit" type="submit" value="{'Submit'|@translate}"> 
    4747  </label> 
    4848 
     
    7373  {foreach from=$users item=user name=users_loop} 
    7474  <tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}"> 
    75     <td><input type="checkbox" name="selection[]" value="{$user.ID}" {$user.CHECKED} id="selection-{$user.ID}" /></td> 
     75    <td><input type="checkbox" name="selection[]" value="{$user.ID}" {$user.CHECKED} id="selection-{$user.ID}"></td> 
    7676    <td><label for="selection-{$user.ID}">{$user.USERNAME}</label></td> 
    7777    <td>{$user.STATUS}</td> 
     
    8383    {/foreach} 
    8484    <td style="text-align:center;"> 
    85       <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> 
    86       <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> 
     85      <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> 
     86      <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> 
    8787      {foreach from=$user.plugin_actions item=data} 
    8888      {$data} 
     
    9898<fieldset> 
    9999  <legend>{'Deletions'|@translate}</legend> 
    100   <label><input type="checkbox" name="confirm_deletion" value="1" /> {'confirm'|@translate}</label> 
    101   <input class="submit" type="submit" value="{'Delete selected users'|@translate}" name="delete" {$TAG_INPUT_ENABLED}/> 
     100  <label><input type="checkbox" name="confirm_deletion" value="1"> {'confirm'|@translate}</label> 
     101  <input class="submit" type="submit" value="{'Delete selected users'|@translate}" name="delete" {$TAG_INPUT_ENABLED}> 
    102102</fieldset> 
    103103 
     
    109109      <td>{'Status'|@translate}</td> 
    110110      <td> 
    111         <label><input type="radio" name="status_action" value="leave" checked="checked" /> {'leave'|@translate}</label> 
    112         <label><input type="radio" name="status_action" value="set" id="status_action_set" /> {'set to'|@translate}</label> 
     111        <label><input type="radio" name="status_action" value="leave" checked="checked"> {'leave'|@translate}</label> 
     112        <label><input type="radio" name="status_action" value="set" id="status_action_set"> {'set to'|@translate}</label> 
    113113        <select onchange="document.getElementById('status_action_set').checked = true;" name="status" size="1"> 
    114114          {html_options options=$pref_status_options selected=$pref_status_selected} 
     
    121121      <td>{'adviser'|@translate}</td> 
    122122      <td> 
    123         <label><input type="radio" name="adviser" value="leave" checked="checked" /> {'leave'|@translate}</label> 
     123        <label><input type="radio" name="adviser" value="leave" checked="checked"> {'leave'|@translate}</label> 
    124124        / {'set to'|@translate} 
    125         <label><input type="radio" name="adviser" value="true"  />{'Yes'|@translate}</label> 
    126         <label><input type="radio" name="adviser" value="false" />{'No'|@translate}</label> 
     125        <label><input type="radio" name="adviser" value="true">{'Yes'|@translate}</label> 
     126        <label><input type="radio" name="adviser" value="false">{'No'|@translate}</label> 
    127127      </td> 
    128128    </tr> 
     
    165165      <td>{'enabled_high'|@translate}</td> 
    166166      <td> 
    167         <label><input type="radio" name="enabled_high" value="leave" checked="checked" /> {'leave'|@translate}</label> 
     167        <label><input type="radio" name="enabled_high" value="leave" checked="checked"> {'leave'|@translate}</label> 
    168168        / {'set to'|@translate} 
    169         <label><input type="radio" name="enabled_high" value="true"  />{'Yes'|@translate}</label> 
    170         <label><input type="radio" name="enabled_high" value="false" />{'No'|@translate}</label> 
    171       </td> 
    172     </tr> 
    173  
    174         <tr> 
    175                 <td>{'Privacy level'|@translate}</td> 
    176                 <td> 
    177                         <label><input type="radio" name="level_action" value="leave" checked="checked" />{'leave'|@translate}</label> 
    178                         <label><input type="radio" name="level_action" value="set" id="level_action_set" />{'set to'|@translate}</label> 
    179                         <select onchange="document.getElementById('level_action_set').checked = true;" name="level" size="1"> 
    180                           {html_options options=$level_options selected=$level_selected} 
    181                         </select> 
    182           </td> 
    183         </tr> 
    184  
     169        <label><input type="radio" name="enabled_high" value="true">{'Yes'|@translate}</label> 
     170        <label><input type="radio" name="enabled_high" value="false">{'No'|@translate}</label> 
     171      </td> 
     172    </tr> 
     173 
     174    <tr> 
     175      <td>{'Privacy level'|@translate}</td> 
     176      <td> 
     177        <label><input type="radio" name="level_action" value="leave" checked="checked">{'leave'|@translate}</label> 
     178        <label><input type="radio" name="level_action" value="set" id="level_action_set">{'set to'|@translate}</label> 
     179        <select onchange="document.getElementById('level_action_set').checked = true;" name="level" size="1"> 
     180          {html_options options=$level_options selected=$level_selected} 
     181        </select> 
     182      </td> 
     183    </tr> 
    185184  </table> 
    186185 
     
    192191 
    193192<table> 
    194  
    195193  <tr> 
    196194    <td>{'nb_image_per_row'|@translate}</td> 
    197195    <td> 
    198       <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked" /> {'leave'|@translate}</label> 
    199       <label><input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set"  /> {'set to'|@translate}</label> 
     196      <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked"> {'leave'|@translate}</label> 
     197      <label><input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set"> {'set to'|@translate}</label> 
    200198      <input onmousedown="document.getElementById('nb_image_line_action_set').checked = true;" 
    201              size="3" maxlength="2" type="text" name="nb_image_line" value="{$NB_IMAGE_LINE}" /> 
     199             size="3" maxlength="2" type="text" name="nb_image_line" value="{$NB_IMAGE_LINE}"> 
    202200    </td> 
    203201  </tr> 
     
    206204    <td>{'nb_row_per_page'|@translate}</td> 
    207205    <td> 
    208       <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked" /> {'leave'|@translate}</label> 
    209       <label><input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set" /> {'set to'|@translate}</label> 
     206      <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked"> {'leave'|@translate}</label> 
     207      <label><input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set"> {'set to'|@translate}</label> 
    210208      <input onmousedown="document.getElementById('nb_line_page_action_set').checked = true;" 
    211              size="3" maxlength="2" type="text" name="nb_line_page" value="{$NB_LINE_PAGE}" /> 
     209             size="3" maxlength="2" type="text" name="nb_line_page" value="{$NB_LINE_PAGE}"> 
    212210    <td> 
    213211  </tr> 
     
    216214    <td>{'theme'|@translate}</td> 
    217215    <td> 
    218       <label><input type="radio" name="template_action" value="leave" checked="checked" /> {'leave'|@translate}</label> 
    219       <label><input type="radio" name="template_action" value="set" id="template_action_set" /> {'set to'|@translate}</label> 
     216      <label><input type="radio" name="template_action" value="leave" checked="checked"> {'leave'|@translate}</label> 
     217      <label><input type="radio" name="template_action" value="set" id="template_action_set"> {'set to'|@translate}</label> 
    220218      <select onchange="document.getElementById('template_action_set').checked = true;" name="template" size="1"> 
    221219        {html_options values=$template_options output=$template_options selected=$template_selected} 
     
    227225    <td>{'language'|@translate}</td> 
    228226    <td> 
    229       <label><input type="radio" name="language_action" value="leave" checked="checked" /> {'leave'|@translate}</label> 
    230       <label><input type="radio" name="language_action" value="set" id="language_action_set" /> {'set to'|@translate}</label> 
     227      <label><input type="radio" name="language_action" value="leave" checked="checked"> {'leave'|@translate}</label> 
     228      <label><input type="radio" name="language_action" value="set" id="language_action_set"> {'set to'|@translate}</label> 
    231229      <select onchange="document.getElementById('language_action_set').checked = true;" name="language" size="1"> 
    232230        {html_options options=$language_options selected=$language_selected} 
     
    238236    <td>{'recent_period'|@translate}</td> 
    239237    <td> 
    240       <label><input type="radio" name="recent_period_action" value="leave" checked="checked" /> {'leave'|@translate}</label> 
    241       <label><input type="radio" name="recent_period_action" value="set" id="recent_period_action_set"  /> {'set to'|@translate}</label> 
     238      <label><input type="radio" name="recent_period_action" value="leave" checked="checked"> {'leave'|@translate}</label> 
     239      <label><input type="radio" name="recent_period_action" value="set" id="recent_period_action_set"> {'set to'|@translate}</label> 
    242240      <input onmousedown="document.getElementById('recent_period_action_set').checked = true;" 
    243              type="text" size="3" maxlength="2" name="recent_period" value="{$RECENT_PERIOD}" /> 
     241             type="text" size="3" maxlength="2" name="recent_period" value="{$RECENT_PERIOD}"> 
    244242    </td> 
    245243  </tr> 
     
    248246    <td>{'auto_expand'|@translate}</td> 
    249247    <td> 
    250       <label><input type="radio" name="expand" value="leave" checked="checked" /> {'leave'|@translate}</label> 
     248      <label><input type="radio" name="expand" value="leave" checked="checked"> {'leave'|@translate}</label> 
    251249      / {'set to'|@translate} 
    252       <label><input type="radio" name="expand" value="true"  />{'Yes'|@translate}</label> 
    253       <label><input type="radio" name="expand" value="false" />{'No'|@translate}</label> 
     250      <label><input type="radio" name="expand" value="true">{'Yes'|@translate}</label> 
     251      <label><input type="radio" name="expand" value="false">{'No'|@translate}</label> 
    254252    </td> 
    255253  </tr> 
     
    258256    <td>{'show_nb_comments'|@translate}</td> 
    259257    <td> 
    260       <label><input type="radio" name="show_nb_comments" value="leave" checked="checked" /> {'leave'|@translate}</label> 
     258      <label><input type="radio" name="show_nb_comments" value="leave" checked="checked"> {'leave'|@translate}</label> 
    261259      / {'set to'|@translate} 
    262       <label><input type="radio" name="show_nb_comments" value="true" />{'Yes'|@translate}</label> 
    263       <label><input type="radio" name="show_nb_comments" value="false" />{'No'|@translate}</label> 
     260      <label><input type="radio" name="show_nb_comments" value="true">{'Yes'|@translate}</label> 
     261      <label><input type="radio" name="show_nb_comments" value="false">{'No'|@translate}</label> 
    264262    </td> 
    265263  </tr> 
     
    268266    <td>{'show_nb_hits'|@translate}</td> 
    269267    <td> 
    270       <label><input type="radio" name="show_nb_hits" value="leave" checked="checked" /> {'leave'|@translate}</label> 
     268      <label><input type="radio" name="show_nb_hits" value="leave" checked="checked"> {'leave'|@translate}</label> 
    271269      / {'set to'|@translate} 
    272       <label><input type="radio" name="show_nb_hits" value="true" />{'Yes'|@translate}</label> 
    273       <label><input type="radio" name="show_nb_hits" value="false" />{'No'|@translate}</label> 
     270      <label><input type="radio" name="show_nb_hits" value="true">{'Yes'|@translate}</label> 
     271      <label><input type="radio" name="show_nb_hits" value="false">{'No'|@translate}</label> 
    274272    </td> 
    275273  </tr> 
     
    278276    <td>{'maxwidth'|@translate}</td> 
    279277    <td> 
    280       <label><input type="radio" name="maxwidth_action" value="leave" checked="checked" /> {'leave'|@translate}</label> 
    281       <label><input type="radio" name="maxwidth_action" value="unset" /> {'unset'|@translate}</label> 
    282       <label><input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set" /> {'set to'|@translate}</label> 
     278      <label><input type="radio" name="maxwidth_action" value="leave" checked="checked"> {'leave'|@translate}</label> 
     279      <label><input type="radio" name="maxwidth_action" value="unset"> {'unset'|@translate}</label> 
     280      <label><input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set"> {'set to'|@translate}</label> 
    283281      <input onmousedown="document.getElementById('maxwidth_action_set').checked = true;" 
    284              type="text" size="4" maxlength="4" name="maxwidth" value="{$MAXWIDTH}" /> 
     282             type="text" size="4" maxlength="4" name="maxwidth" value="{$MAXWIDTH}"> 
    285283    </td> 
    286284  </tr> 
     
    290288    <td>{'maxheight'|@translate}</td> 
    291289    <td> 
    292       <label><input type="radio" name="maxheight_action" value="leave" checked="checked" /> {'leave'|@translate}</label> 
    293       <label><input type="radio" name="maxheight_action" value="unset" /> {'unset'|@translate}</label> 
    294       <label><input type="radio" name="maxheight_action" value="set" id="maxheight_action_set" /> {'set to'|@translate}</label> 
     290      <label><input type="radio" name="maxheight_action" value="leave" checked="checked"> {'leave'|@translate}</label> 
     291      <label><input type="radio" name="maxheight_action" value="unset"> {'unset'|@translate}</label> 
     292      <label><input type="radio" name="maxheight_action" value="set" id="maxheight_action_set"> {'set to'|@translate}</label> 
    295293      <input onmousedown="document.getElementById('maxheight_action_set').checked = true;" 
    296              type="text" size="4" maxlength="4" name="maxheight" value="{$MAXHEIGHT}" /> 
     294             type="text" size="4" maxlength="4" name="maxheight" value="{$MAXHEIGHT}"> 
    297295    </td> 
    298296  </tr> 
     
    305303<p> 
    306304  {'target'|@translate} 
    307   <label><input type="radio" name="target" value="all" /> {'all'|@translate}</label> 
    308   <label><input type="radio" name="target" value="selection" checked="checked" /> {'selection'|@translate}</label> 
     305  <label><input type="radio" name="target" value="all"> {'all'|@translate}</label> 
     306  <label><input type="radio" name="target" value="selection" checked="checked"> {'selection'|@translate}</label> 
    309307</p> 
    310308 
    311309<p> 
    312   <input class="submit" type="submit" value="{'Submit'|@translate}" name="pref_submit" {$TAG_INPUT_ENABLED} /> 
    313   <input class="submit" type="reset" value="{'Reset'|@translate}" name="pref_reset" /> 
     310  <input class="submit" type="submit" value="{'Submit'|@translate}" name="pref_submit" {$TAG_INPUT_ENABLED}> 
     311  <input class="submit" type="reset" value="{'Reset'|@translate}" name="pref_reset"> 
    314312</p> 
    315313 
  • trunk/admin/user_list.php

    r3751 r3752  
    678678      'USERNAME' => $local_user['username'] 
    679679        .($local_user['id'] == $conf['guest_id'] 
    680           ? '<BR />['.l10n('is_the_guest').']' : '') 
     680          ? '<br>['.l10n('is_the_guest').']' : '') 
    681681        .($local_user['id'] == $conf['default_user_id'] 
    682           ? '<BR />['.l10n('is_the_default').']' : ''), 
     682          ? '<br>['.l10n('is_the_default').']' : ''), 
    683683      'STATUS' => l10n('user_status_'. 
    684684        $local_user['status']).(($local_user['adviser'] == 'true') 
    685         ? '<BR />['.l10n('adviser').']' : ''), 
     685        ? '<br>['.l10n('adviser').']' : ''), 
    686686      'EMAIL' => get_email_address_as_display_text($local_user['email']), 
    687687      'GROUPS' => $groups_string, 
Note: See TracChangeset for help on using the changeset viewer.