Changeset 10456


Ignore:
Timestamp:
Apr 17, 2011, 10:42:21 PM (10 years ago)
Author:
LucMorizur
Message:

Improve HTML

Location:
extensions/event_cats/admin/template
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/template/autolog_entries.tpl

    r8956 r10456  
    1010    {'Help banner'|@translate} 
    1111    <label for = "ec_help_banner2_1" onclick = "ec_mark_help('ec_help_banner_1');">
    12       <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1"/>
     12      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1">
    1313      {'Show'|@translate}
    1414    </label>
    1515    &nbsp;
    1616    <label for = "ec_help_banner2_0" onclick = "ec_mark_help('ec_help_banner_0');">
    17       <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0"/>
     17      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0">
    1818      {'Hide'|@translate}
    1919    </label>
    20     &nbsp;&#151;&nbsp;
     20    &nbsp;&nbsp;
    2121  </span>
    2222  {if $ec_ap_ok}
     
    3333</div><span id = "ec_help_ban"></span>
    3434
    35 <br />
     35<br>
    3636
    3737{* <!-- Form to view codes --> *}
    3838<form class = "filter" method = "post" name = "ec_view_codes" action = "">
    39   <input type = "hidden" id = "ec_act1_id" name = "ec_act1" />
    40   <input type = "radio" name = "ec_entry_sel" value = "-1" id = "selection--1" style = "display:none;"/>
    4139 
    4240  <div style = "text-align:center; font-weight:bold; font-size:120%;">
     41    <input type = "hidden" id = "ec_act1_id" name = "ec_act1">
     42    <input type = "radio" name = "ec_entry_sel" value = "-1" id = "selection--1" style = "display:none;">
    4343    <a href = "#ec_top" name = "ec_top" title = "{'Place title on top ttip'|@translate}">
    4444      <!--[if !IE]> <--> <label> <!--> <![endif]-->
     
    4646      <!--[if !IE]> <--> </label> <!--> <![endif]-->
    4747      <!-- What we're able to do for our "prefered" browser |-( ...!  -->
    48     </a><br />
    49   </div><br />
     48    </a><br>
     49  </div>
    5050 
    5151  {* <!-- Table to show codes present in MySQL table --> *}
    52   <table class = "table2" width = "97%">
    53     <thead>
    54       <tr class = "throw">
    55         <td>{'Entry'|@translate}</td>
    56         <td>{'Code'|@translate}</td>
    57         <td>{'Username'|@translate}</td>
    58         <td>{'Identification'|@translate}</td>
    59         <td>{'Displayed page'|@translate}</td>
    60         <td>{'Tools'|@translate}</td>
    61       </tr>
    62     </thead>
    63    
    64     {foreach from=$code_list item=code_line name=code_loop}
    65       <tr class = "{if $smarty.foreach.code_loop.index is odd}row1{else}row2{/if}">
    66         <td>
    67           <input type = "radio" name = "ec_entry_sel" value = "{$code_line.id}" id = "selection-{$code_line.id}"
    68            onclick = "ec_mark_line({$code_line.id});"
    69           />
    70           <label for = "selection-{$code_line.id}">{$code_line.id}</label>
    71           <a id = "ec_url_id_{$code_line.id}" style = "display:none;" href = "{$code_line.code_URL}"></a>
    72         </td>
    73         <td>
    74           <label for = "selection-{$code_line.id}" id = "ec_table_code_{$code_line.id}"
    75              {if $comment_tooltip} title = "{$code_line.Comment}" {/if}
    76           >
    77             {$code_line.Code}
    78             {if !$comment_tooltip and $code_line.Comment != ''}<br />{$code_line.Comment}{/if}
    79           </label>
    80         </td>
    81         <td><label for = "selection-{$code_line.id}" id = "ec_table_usr_{$code_line.id}">{$code_line.Username}</label></td>
    82         <td><label for = "selection-{$code_line.id}">{$code_line.Action}</label></td>
    83         <td><label for = "selection-{$code_line.id}">{$code_line.Arg1}</label></td>
    84         <td>
    85           {if $code_line.log_OK}
    86             <a href = "javascript:void(0);" onclick = "ec_check_ds({$code_line.id});">
    87               <img src = "{$EVNTCATS_URLS.ROOT}icon/disable.png" class = "button"
    88                alt = "{'Outdate entry ttip'|@translate}" title = "{'Outdate entry ttip'|@translate}" />
    89             </a>
    90             {if $code_line.Forced == 'true'}
    91               <a href = "javascript:void(0);" title = "{'Unforce display ttip'|@translate}" onclick = "ec_toggle_forced({$code_line.id}, false);">
    92                 <img class = "button" src = "{$EVNTCATS_URLS.ROOT}icon/forced.png"
    93                  alt = "{'Unforce display ttip'|@translate}" title = "{'Unforce display ttip'|@translate}"
    94                 />
     52  <p>
     53    <table class = "table2" width = "97%">
     54      <thead>
     55        <tr class = "throw">
     56          <td>{'Entry'|@translate}</td>
     57          <td>{'Code'|@translate}</td>
     58          <td>{'Username'|@translate}</td>
     59          <td>{'Identification'|@translate}</td>
     60          <td>{'Displayed page'|@translate}</td>
     61          <td>{'Tools'|@translate}</td>
     62        </tr>
     63      </thead>
     64     
     65      {foreach from=$code_list item=code_line name=code_loop}
     66        <tr class = "{if $smarty.foreach.code_loop.index is odd}row1{else}row2{/if}">
     67          <td>
     68            <input type = "radio" name = "ec_entry_sel" value = "{$code_line.id}" id = "selection-{$code_line.id}"
     69             onclick = "ec_mark_line({$code_line.id});"
     70            >
     71            <label for = "selection-{$code_line.id}">{$code_line.id}</label>
     72            <a id = "ec_url_id_{$code_line.id}" style = "display:none;" href = "{$code_line.code_URL}"></a>
     73          </td>
     74          <td>
     75            <label for = "selection-{$code_line.id}" id = "ec_table_code_{$code_line.id}"
     76               {if $comment_tooltip} title = "{$code_line.Comment}" {/if}
     77            >
     78              {$code_line.Code}
     79              {if !$comment_tooltip and $code_line.Comment != ''}<br>{$code_line.Comment}{/if}
     80            </label>
     81          </td>
     82          <td><label for = "selection-{$code_line.id}" id = "ec_table_usr_{$code_line.id}">{$code_line.Username}</label></td>
     83          <td><label for = "selection-{$code_line.id}">{$code_line.Action}</label></td>
     84          <td><label for = "selection-{$code_line.id}">{$code_line.Arg1}</label></td>
     85          <td>
     86            {if $code_line.log_OK}
     87              <a href = "javascript:void(0);" onclick = "ec_check_ds({$code_line.id});">
     88                <img src = "{$EVNTCATS_URLS.ROOT}icon/disable.png" class = "button"
     89                 alt = "{'Outdate entry ttip'|@translate}" title = "{'Outdate entry ttip'|@translate}">
    9590              </a>
    96             {else}
    97               <a href = "javascript:void(0);" title = "{'Force display ttip'|@translate}" onclick = "ec_toggle_forced({$code_line.id}, true);">
    98                 <img class = "button" src = "{$EVNTCATS_URLS.ROOT}icon/nforced.png"
    99                  alt = "{'Force display ttip'|@translate}" title = "{'Force display ttip'|@translate}"/>
    100               </a>
    101               <a href = "javascript:void(0);" title = "{'Duplicate entry ttip'|@translate}" onclick = "ec_duplicate_entry({$code_line.id});">
    102                 <img src = "{$EVNTCATS_URLS.ROOT}icon/duplicate.png" class = "button" style = "border:none"
    103                  alt = "{'Duplicate entry ttip'|@translate}" title = "{'Duplicate entry ttip'|@translate}" />
    104               </a>
     91              {if $code_line.Forced == 'true'}
     92                <a href = "javascript:void(0);" title = "{'Unforce display ttip'|@translate}" onclick = "ec_toggle_forced({$code_line.id}, false);">
     93                  <img class = "button" src = "{$EVNTCATS_URLS.ROOT}icon/forced.png"
     94                   alt = "{'Unforce display ttip'|@translate}" title = "{'Unforce display ttip'|@translate}"
     95                  >
     96                </a>
     97              {else}
     98                <a href = "javascript:void(0);" title = "{'Force display ttip'|@translate}" onclick = "ec_toggle_forced({$code_line.id}, true);">
     99                  <img class = "button" src = "{$EVNTCATS_URLS.ROOT}icon/nforced.png"
     100                   alt = "{'Force display ttip'|@translate}" title = "{'Force display ttip'|@translate}">
     101                </a>
     102                <a href = "javascript:void(0);" title = "{'Duplicate entry ttip'|@translate}" onclick = "ec_duplicate_entry({$code_line.id});">
     103                  <img src = "{$EVNTCATS_URLS.ROOT}icon/duplicate.png" class = "button" style = "border:none"
     104                   alt = "{'Duplicate entry ttip'|@translate}" title = "{'Duplicate entry ttip'|@translate}">
     105                </a>
     106              {/if}
    105107            {/if}
    106           {/if}
    107         </td>
    108       </tr>
    109     {/foreach}
    110   </table>
     108          </td>
     109        </tr>
     110      {/foreach}
     111    </table>
     112  </p>
    111113 
    112114  {* <!-- This is not really a table, looks like a unique cell at the end of previous table,
     
    120122        <label title = "{'Copy URL ttip'|@translate}">
    121123          {'URL'|@translate}
    122           <input type = "text" id = "ec_show_URL" size = "100%" title = "{'Copy URL ttip'|@translate}" readonly = "readonly" />
    123         </label><br />
    124         <br />
     124          <input type = "text" id = "ec_show_URL" size = "100%" title = "{'Copy URL ttip'|@translate}" readonly = "readonly">
     125        </label><br>
     126        <br>
    125127        <a
    126          href = "javascript:void(0);" title = "{'Test URL ttip'|@translate}" alt = "{'Test URL ttip'|@translate}"
     128         href = "javascript:void(0);" title = "{'Test URL ttip'|@translate}"
    127129         id = "ec_table_URL" onclick = "return ec_check_tst();" class = "ec_lower_tools"
    128         />
    129           <img src = "{$EVNTCATS_URLS.ROOT}icon/url2.png" class = "button"/>
     130        >
     131          <img src = "{$EVNTCATS_URLS.ROOT}icon/url2.png" class = "button" alt = "{'Test URL ttip'|@translate}">
    130132          {'Test'|@translate}
    131133        </a>
    132134        &nbsp;&nbsp;
    133135        <a href = "javascript:void(0);" onclick = "ec_check_dl();" id = "ec_del_link_id" class = "ec_lower_tools"
    134          alt = "{'Delete entry ttip'|@translate}" title = "{'Delete entry ttip'|@translate}"
     136         title = "{'Delete entry ttip'|@translate}"
    135137        >
    136           <img src = "{$EVNTCATS_URLS.ROOT}icon/delete.png" class = "button"/>
     138          <img src = "{$EVNTCATS_URLS.ROOT}icon/delete.png" class = "button" alt = "{'Delete entry ttip'|@translate}">
    137139          {'Delete'|@translate}
    138140        </a>
    139141        &nbsp;&nbsp;
    140142        <a href = "javascript:void(0);" onclick = "ec_check_m();" id = "ec_mod_link_id" class = "ec_lower_tools"
    141          alt = "{'Modify entry ttip'|@translate}" title = "{'Modify entry ttip'|@translate}"
     143         title = "{'Modify entry ttip'|@translate}"
    142144        >
    143           <img src = "{$EVNTCATS_URLS.ROOT}icon/modify.png" class = "button"/>
     145          <img src = "{$EVNTCATS_URLS.ROOT}icon/modify.png" class = "button" alt = "{'Modify entry ttip'|@translate}">
    144146          {'Modify'|@translate}
    145147        </a>
    146148      </td>
    147149    </tr>
    148   </table><br />
     150  </table>
    149151</form>
    150152
     
    160162</script>
    161163
    162 {include file=$FooterIncTPL}
     164<p>
     165  {include file=$FooterIncTPL}
     166</p>
  • extensions/event_cats/admin/template/autolog_new.tpl

    r8956 r10456  
    1010    {'Help banner'|@translate}&nbsp;
    1111    <label for = "ec_help_banner2_1" onclick = "ec_mark_help('ec_help_banner_1');">
    12       <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1"/>
     12      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1">
    1313      {'Show'|@translate}
    1414    </label>
    1515    &nbsp;
    1616    <label for = "ec_help_banner2_0" onclick = "ec_mark_help('ec_help_banner_0');">
    17       <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0"/>
     17      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0">
    1818      {'Hide'|@translate}
    1919    </label>
     
    3838{* <!-- Parameters list --> *}
    3939<form class = "filter" method = "post" name = "ec_new_code" action = "" onsubmit = "return ec_check_submit();">
    40   <input type = "hidden" id = "ec_act1_id" name = "ec_act1" />
    41   <input type = "hidden" id = "ec_act2_id" name = "ec_entry_sel" />
     40  <input type = "hidden" id = "ec_act1_id" name = "ec_act1">
     41  <input type = "hidden" id = "ec_act2_id" name = "ec_entry_sel">
    4242 
    4343  {* <!-- Page title. Can be "New entry" or "Entry modification" --> *}
     
    5454    </a>
    5555    {if $ec_is_creation}
    56       <br /><br />
     56      <br><br>
    5757      <input class = "submit" type = "button" name = "ec_submit_gen_full_auto" value = "{'Full auto'|@translate}"
    58        id = "ec_submit_gen_full_auto_id" onclick = "ec_gen_full_auto();" style = "margin-top:0;"/>
     58       id = "ec_submit_gen_full_auto_id" onclick = "ec_gen_full_auto();" style = "margin-top:0;">
    5959    {/if}
    6060  </div>
     
    7474          {* <!-- New code (to create) --> *}
    7575          <label for = "ec_in_up_code_id" onclick = "ec_mark_code('ec_sel_code_new');" {$ec_hidden_when_no_code} >
    76             <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_id" value = "new" id = "ec_sel_code_new"/>
     76            <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_id" value = "new" id = "ec_sel_code_new">
    7777            {'New code'|@translate}
    7878          </label>
     
    8181            <input class = "submit" type = "button" name = "ec_submit_gen_code" value = "{'Auto code button'|@translate}"
    8282             id = "ec_submit_gen_code_id" onclick = "ec_gen_code();" style = "margin:0;"
    83             />
     83            >
    8484          </label>
    8585          {'Auto code mid'|@translate}
     
    9797            {/foreach}
    9898          </select>
    99           {'Auto code end'|@translate}<br />
     99          {'Auto code end'|@translate}<br>
    100100          <li style = "padding-left: 30px;">
    101101            <input type = "text" name = "ec_in_up_code" maxlength = "32" size = "40"
    102102             id = "ec_in_up_code_id" onblur = "ec_check_code_text(this.value);"
    103             />
     103            >
    104104            &nbsp;&#151;&nbsp;
    105105            <label for = "ec_in_up_comment_id" style = "margin:0;" title = "{'Optional'|@translate}">
     
    107107              <input type = "text" name = "ec_in_up_comment" maxlength = "100" size = "50" id = "ec_in_up_comment_id"
    108108                onchange = "ec_new_comment_text = this.value;"
    109               />
     109              >
    110110            </label>
    111111          </li>
     
    115115          {* <!-- Known code --> *}
    116116          <label for = "ec_in_up_code_list_id" onclick = "ec_mark_code('ec_sel_code_old');" {$ec_hidden_when_no_code}>
    117             <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_list_id" {$ec_hidden_when_no_code} value = "old" id = "ec_sel_code_old" />
     117            <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_list_id" {$ec_hidden_when_no_code} value = "old" id = "ec_sel_code_old">
    118118            {'Existing code'|@translate}
    119119          </label>
     
    150150              <input type = "text" name = "ec_in_up_comment" maxlength = "100" size = "50" id = "ec_in_up_comment_id"
    151151                onchange = "ec_new_comment_text = this.value;"
    152               />
     152              >
    153153            </label>
    154154        </li>
     
    162162    <legend style = "font-weight:bold;">
    163163      {'Identified user'|@translate}
    164       <span style = "font-weight:bold; color:red;" id = "ec_in_up_pwd_warn">&nbsp;</span><br />
     164      <span style = "font-weight:bold; color:red;" id = "ec_in_up_pwd_warn">&nbsp;</span><br>
    165165    </legend>
    166166   
     
    169169          {* <!-- None --> *}
    170170          <label onclick = "return ec_mark_user('ec_sel_user_none');">
    171             <input type = "radio" name = "ec_sel_user" value = "none" id = "ec_sel_user_none" />
     171            <input type = "radio" name = "ec_sel_user" value = "none" id = "ec_sel_user_none">
    172172            {'No user'|@translate}
    173           </label><br />
     173          </label><br>
    174174        </li>
    175175      {/if}
     
    178178        {* <!-- New user (to create) --> *}
    179179        <label for = "ec_in_up_usr_txt_id" onclick = "return ec_mark_user('ec_sel_user_new');" {$ec_hidden_when_no_user} >
    180           <input type = "radio" name = "ec_sel_user" for = "ec_in_up_usr_txt_id" value = "new" id = "ec_sel_user_new" {$ec_hidden_when_no_user} />
     180          <input type = "radio" name = "ec_sel_user" for = "ec_in_up_usr_txt_id" value = "new" id = "ec_sel_user_new" {$ec_hidden_when_no_user}>
    181181          {'New generic user'|@translate}
    182182        </label>
     
    185185          <input class = "submit" type = "button" name = "ec_submit_gen_user" value = "{'Generate username'|@translate}"
    186186           id = "ec_submit_gen_user_id" onclick = "ec_gen_user();"
    187           />
     187          >
    188188        </label>
    189189        <li style = "padding-left: 30px;">
    190           <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New username'|@translate}<br />
     190          <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New username'|@translate}<br>
    191191            <input type = "text" name = "login" id = "ec_in_up_usr_txt_id" maxlength = "50"
    192192             size = "20" onblur = "ec_new_user_text = this.value; ec_check_user_text();"
    193             />
    194           </label>
    195           <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New password'|@translate}<br />
     193            >
     194          </label>
     195          <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New password'|@translate}<br>
    196196            <input type = "text" name = "password" id = "ec_in_up_psd_txt_id" maxlength = "32"
    197197             size = "20" onblur = "ec_new_psd_text = this.value; ec_check_pwd_text();"
    198             />
    199           </label>
    200           <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'Confirm password'|@translate}<br />
    201             <input type = "password" id = "ec_confirm_psd_txt_id" maxlength = "32" size = "20"/>
     198            >
     199          </label>
     200          <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'Confirm password'|@translate}<br>
     201            <input type = "password" id = "ec_confirm_psd_txt_id" maxlength = "32" size = "20">
    202202          </label>
    203203          <label class = "ec_block" onclick = "ec_check_grp_text(); return ec_mark_user('ec_sel_user_new');" for = "ec_in_up_grp_txt_id">
    204204            <input type = "checkbox" name = "ec_in_up_newgroup" id = "ec_in_up_newgroup_id"
    205205             onchange = "ec_selected_old_group = (this.checked != '');"
    206             />
     206            >
    207207            <span onMouseover = "ec_chk_over_grp = true;" onMouseout = "ec_chk_over_grp = false;">
    208208              {'New group'|@translate}
    209             </span><br />
     209            </span><br>
    210210            <input type = "text" name = "groupname" id = "ec_in_up_grp_txt_id" maxlength = "32"
    211211             size = "20" onblur = "ec_new_grp_text = this.value; if (this.value != '') ec_selected_old_group = true;"
    212             />
    213           </label>
    214         </li><br />
     212            >
     213          </label>
     214        </li><br>
    215215      </li>
    216216     
     
    218218        {* <!-- Known user --> *}
    219219        <label for = "ec_in_up_usr_list_id" onclick = "return ec_mark_user('ec_sel_user_old');" {$ec_hidden_when_no_user} >
    220           <input type = "radio" name = "ec_sel_user" for = "ec_in_up_usr_list_id" {$ec_hidden_when_no_user} value = "old" id = "ec_sel_user_old" />
     220          <input type = "radio" name = "ec_sel_user" for = "ec_in_up_usr_list_id" {$ec_hidden_when_no_user} value = "old" id = "ec_sel_user_old">
    221221          {'Existing user'|@translate}
    222222        </label>
     
    225225            <option label = "{$ec_val}" value = "{$ec_key}" >{$ec_val}</option>
    226226          {/foreach}
    227         </select><br />
     227        </select><br>
    228228      </li>
    229229   
     
    246246       {if !$ec_ap_ok or count($ec_lists.add_pages) == 0} style = "display:none;" {/if}
    247247      >
    248         <input type = "radio" name = "ec_input_action" value = "add_p" id = "ec_input_action_add_p" for = "ec_in_up_aps_id" />
    249         {'Additional Page'|@translate}<br />
     248        <input type = "radio" name = "ec_input_action" value = "add_p" id = "ec_input_action_add_p" for = "ec_in_up_aps_id">
     249        {'Additional Page'|@translate}<br>
    250250        <select class = "categoryList" name = "ec_in_up_aps" size="30" id = "ec_in_up_aps_id" onchange = "ec_selected_AP = this.value;" >
    251251          {html_options options=$ec_lists.add_pages}
     
    259259        <input type = "radio" name = "ec_input_action" value = "cat" id = "ec_input_action_cat" for = "ec_in_up_cats_id"
    260260          onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;"
    261         />
    262         <span onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;">{'Category'|@translate}</span><br />
     261        >
     262        <span onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;">{'Category'|@translate}</span><br>
    263263        <select class = "categoryList" name = "ec_in_up_cat" size = "30" id = "ec_in_up_cats_id" onchange = "ec_selected_cat = this.value;">
    264264          {html_options options=$ec_lists.categories}
     
    270270       {if $ec_no_assoc or count($ec_lists.categories) == 0} style = "display:none;" {/if}
    271271      >
    272         <input type = "radio" name = "ec_input_action" value = "img" id = "ec_input_action_img" for = "ec_in_up_imgs_id" />
    273         {'Image id'|@translate}<br />
     272        <input type = "radio" name = "ec_input_action" value = "img" id = "ec_input_action_img" for = "ec_in_up_imgs_id">
     273        {'Image id'|@translate}<br>
    274274        <input type = "text" name = "ec_in_up_img" id = "ec_in_up_imgs_id" maxlength = "6"
    275275         size = "10" onblur = "ec_selected_img = this.value; ec_check_img_text();" onfocus = "return ec_mark_action('ec_input_action_img');"
    276         /><br />
    277         <span id = "ec_in_up_imgs_warn">&nbsp;</span><br />
     276        ><br>
     277        <span id = "ec_in_up_imgs_warn">&nbsp;</span><br>
    278278      </label>
    279279     
    280280      {* <!-- Index page --> *}
    281281      <label class = "ec_block" onclick = "return ec_mark_action('ec_input_action_home');">
    282         <input type = "radio" name = "ec_input_action" value = "home" id = "ec_input_action_home" />
     282        <input type = "radio" name = "ec_input_action" value = "home" id = "ec_input_action_home">
    283283        {'Home'|@translate}
    284284      </label>
     
    287287      {if !$ec_is_creation}
    288288        <label class = "ec_block" onclick = "return ec_mark_action('ec_input_action_refused');">
    289           <input type = "radio" name = "ec_input_action" value = "refused" id = "ec_input_action_refused" />
     289          <input type = "radio" name = "ec_input_action" value = "refused" id = "ec_input_action_refused">
    290290          {'Access denied'|@translate}
    291291        </label>
     
    296296 
    297297  <p>
    298     <input class = "submit" type = "submit" value = "{'Submit'|@translate}"/>
    299     <input class = "submit" type = "submit" value = "{'Reset'|@translate}" onclick = "return ec_init();"/>
     298    <input class = "submit" type = "submit" value = "{'Submit'|@translate}">
     299    <input class = "submit" type = "submit" value = "{'Reset'|@translate}" onclick = "return ec_init();">
    300300  </p>
    301301</form>
  • extensions/event_cats/admin/template/config.tpl

    r8956 r10456  
    1010    {'Help banner'|@translate}&nbsp;
    1111    <label for = "ec_help_banner2_1" onclick = "ec_mark_help('ec_help_banner_1');">
    12       <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1"/>
     12      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1">
    1313      {'Show'|@translate}
    1414    </label>
    1515    &nbsp;
    1616    <label for = "ec_help_banner2_0" onclick = "ec_mark_help('ec_help_banner_0');">
    17       <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0"/>
     17      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0">
    1818      {'Hide'|@translate}
    1919    </label>
     
    5050              type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id"
    5151              {if $ec_conf.dup_allow == '0'} checked = "checked" {/if}
    52             />
     52            >
    5353            {'No account'|@translate}
    54           </label><br />
     54          </label><br>
    5555          <label for = "ec_dup_conf_group_id">
    5656            <input
    5757              type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id"
    5858              {if $ec_conf.dup_allow == '2'} checked = "checked" {/if}
    59             />
     59            >
    6060            {'Selection per group'|@translate}
    61           </label><br />
     61          </label><br>
    6262          <label for = "ec_dup_conf_all_id">
    6363            <input
    6464              type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id"
    6565              {if $ec_conf.dup_allow == '1'} checked = "checked" {/if}
    66             />
     66            >
    6767            {'All accounts'|@translate}
    6868          </label>
     
    7878              type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id"
    7979              {if $ec_conf.duplic_display == '0'} checked = "checked" {/if}
    80             />
     80            >
    8181            {'No account'|@translate}
    82           </label><br />
     82          </label><br>
    8383          <label for = "ec_dup_disp_but_gen_id">
    8484            <input
    8585              type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id"
    8686              {if $ec_conf.duplic_display == '2'} checked = "checked" {/if}
    87             />
     87            >
    8888            {'All but generics'|@translate}
    89           </label><br />
     89          </label><br>
    9090          <label for = "ec_dup_disp_dup_id">
    9191            <input
    9292              type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id"
    9393              {if $ec_conf.duplic_display == '1'} checked = "checked" {/if}
    94             />
     94            >
    9595            {'All accounts'|@translate}
    96           </label><br />
     96          </label><br>
    9797        </td>
    9898      </tr>
     
    109109        <td>
    110110          <label for = "ec_unknown_0_id" onclick = "ec_mark_action('ec_unknown_0_id');">
    111             <input type = "radio" name = "ec_unknown" value = "0" id = "ec_unknown_0_id" />
     111            <input type = "radio" name = "ec_unknown" value = "0" id = "ec_unknown_0_id">
    112112            {'Home'|@translate}
    113           </label><br />
     113          </label><br>
    114114          <label for = "ec_unknown_1_id" onclick = "ec_mark_action('ec_unknown_1_id');">
    115             <input type = "radio" name = "ec_unknown" value = "1" id = "ec_unknown_1_id" />
     115            <input type = "radio" name = "ec_unknown" value = "1" id = "ec_unknown_1_id">
    116116            {'Access denied'|@translate}
    117           </label><br />
     117          </label><br>
    118118          {* <!-- Additionnal Page, provided the plugin is activated and at least one Add. P. is available --> *}
    119119          <label class = "ec_block" for = "ec_in_up_aps_id" {if !$ec_ap_ok or count($add_pages) == 0} style = "display:none;" {/if}
    120120           onclick = "ec_mark_action('ec_unknown_2_id');"
    121121          >
    122             <input type = "radio" name = "ec_unknown" value = "2" id = "ec_unknown_2_id" for = "ec_in_up_aps_id" />
    123             {'Additional Page'|@translate}<br />
     122            <input type = "radio" name = "ec_unknown" value = "2" id = "ec_unknown_2_id" for = "ec_in_up_aps_id">
     123            {'Additional Page'|@translate}<br>
    124124            <select class = "categoryList" name = "ec_in_up_aps" size="30" id = "ec_in_up_aps_id" onchange = "ec_selected_AP = this.value;" >
    125125              {html_options options=$add_pages}
     
    142142            <input type = "radio" name = "ec_comments" value = "0" id = "ec_comments_0_id"
    143143              {if $ec_conf.comment_display == '0'} checked = "checked" {/if}
    144             />
     144            >
    145145            {'As tooltip'|@translate}
    146           </label><br />
     146          </label><br>
    147147          <label for = "ec_comments_1_id">
    148148            <input type = "radio" name = "ec_comments" value = "1" id = "ec_comments_1_id"
    149149              {if $ec_conf.comment_display == '1'} checked = "checked" {/if}
    150             />
     150            >
    151151            {'In a row'|@translate}
    152152          </label>
     
    160160            <input type = "radio" name = "ec_help_banner_onoff2" value = "1" id = "ec_2help_banner_1_id"
    161161              onclick = "ec_mark_help('ec_help_banner_1');"
    162             />
     162            >
    163163            {'Banner on'|@translate}
    164           </label><br />
     164          </label><br>
    165165          <label for = "ec_2help_banner_0_id">
    166166            <input type = "radio" name = "ec_help_banner_onoff2" value = "0" id = "ec_2help_banner_0_id"
    167167              onclick = "ec_mark_help('ec_help_banner_0');"
    168             />
     168            >
    169169            {'Banner off'|@translate}
    170170          </label>
     
    177177            <input type = "radio" name = "ec_connection" value = "1" id = "ec_connection_1_id"
    178178              {if $ec_conf.display_connection == '1'} checked = "checked" {/if}
    179             />
     179            >
    180180            {'Yes'|@translate}
    181           </label><br />
     181          </label><br>
    182182          <label for = "ec_connection_0_id">
    183183            <input type = "radio" name = "ec_connection" value = "0" id = "ec_connection_0_id"
    184184              {if $ec_conf.display_connection == '0'} checked = "checked" {/if}
    185             />
     185            >
    186186            {'No'|@translate}
    187187          </label>
     
    191191 
    192192  <div style = "text-align:center;">
    193     <input class = "submit" type = "submit" name = "ec_conf_submit" value = "{'Submit'|@translate}" />
     193    <input class = "submit" type = "submit" name = "ec_conf_submit" value = "{'Submit'|@translate}">
    194194  </div>
    195195 
  • extensions/event_cats/admin/template/duplication.tpl

    r8956 r10456  
    99  {'Help banner'|@translate}&nbsp;
    1010  <label for = "ec_help_banner2_1" onclick = "ec_mark_help('ec_help_banner_1');">
    11     <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1"/>
     11    <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1">
    1212    {'Show'|@translate}
    1313  </label>
    1414  &nbsp;
    1515  <label for = "ec_help_banner2_0" onclick = "ec_mark_help('ec_help_banner_0');">
    16     <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0"/>
     16    <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0">
    1717    {'Hide'|@translate}
    1818  </label>
     
    4141              type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id"
    4242              {if $ec_conf.dup_allow == '0'} checked = "checked" {/if}
    43             />
     43            >
    4444            {'No account'|@translate}
    45           </label><br />
     45          </label><br>
    4646          <label for = "ec_dup_conf_group_id">
    4747            <input
    4848              type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id"
    4949              {if $ec_conf.dup_allow == '2'} checked = "checked" {/if}
    50             />
     50            >
    5151            {'Selection per group'|@translate}
    52           </label><br />
     52          </label><br>
    5353          <label for = "ec_dup_conf_all_id">
    5454            <input
    5555              type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id"
    5656              {if $ec_conf.dup_allow == '1'} checked = "checked" {/if}
    57             />
     57            >
    5858            {'All accounts'|@translate}
    5959          </label>
     
    6868              type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id"
    6969              {if $ec_conf.duplic_display == '0'} checked = "checked" {/if}
    70             />
     70            >
    7171            {'No account'|@translate}
    72           </label><br />
     72          </label><br>
    7373          <label for = "ec_dup_disp_but_gen_id">
    7474            <input
    7575              type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id"
    7676              {if $ec_conf.duplic_display == '2'} checked = "checked" {/if}
    77             />
     77            >
    7878            {'All but generics'|@translate}
    79           </label><br />
     79          </label><br>
    8080          <label for = "ec_dup_disp_dup_id">
    8181            <input
    8282              type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id"
    8383              {if $ec_conf.duplic_display == '1'} checked = "checked" {/if}
    84             />
     84            >
    8585            {'All accounts'|@translate}
    86           </label><br />
     86          </label><br>
    8787        </td>
    8888      </tr>
    8989    </table>
    90     <input class = "submit" type = "submit" name = "ec_duplic_conf_submit" value = "{'Save dup. config btn'|@translate}" />
     90    <input class = "submit" type = "submit" name = "ec_duplic_conf_submit" value = "{'Save dup. config btn'|@translate}">
    9191  </fieldset>
    9292</form>
     
    101101    <ul>
    102102      {foreach from=$groups_granted_ids item=id}
    103       <li><label><input type = "checkbox" name = "deny_groups[]" value = "{$id}" /> {$all_groups[$id]}</label></li>
     103      <li><label><input type = "checkbox" name = "deny_groups[]" value = "{$id}"> {$all_groups[$id]}</label></li>
    104104      {/foreach}
    105105    </ul>
    106     <input class = "submit" type = "submit" name = "deny_groups_submit" value = "{'Deny to groups btn'|@translate}" />
     106    <input class = "submit" type = "submit" name = "deny_groups_submit" value = "{'Deny to groups btn'|@translate}">
    107107  </fieldset>
    108108 
     
    114114      {/foreach}
    115115    </ul>
    116     <input class = "submit" type = "submit" name = "grant_groups_submit" value = "{'Grant to groups btn'|@translate}" />
     116    <input class = "submit" type = "submit" name = "grant_groups_submit" value = "{'Grant to groups btn'|@translate}">
    117117  </fieldset>
    118118 
     
    123123    <ul>
    124124      {if $ec_gen_granted}
    125       <li><label><input type = "checkbox" name = "deny_generic" /> {'user_status_generic'|@translate}</label></li>
    126       <br />
     125      <li><label><input type = "checkbox" name = "deny_generic"> {'user_status_generic'|@translate}</label></li>
     126      <br>
    127127      {/if}
    128128      {foreach from=$types_granted_ids item=id}
    129         <li><label><input type = "checkbox" name = "deny_types[]" value = "{$id}" /> {$all_types[$id]}</label></li>
     129        <li><label><input type = "checkbox" name = "deny_types[]" value = "{$id}"> {$all_types[$id]}</label></li>
    130130      {/foreach}
    131131    </ul>
    132     <input class = "submit" type = "submit" name = "deny_types_submit" value = "{'Deny to types btn'|@translate}" />
     132    <input class = "submit" type = "submit" name = "deny_types_submit" value = "{'Deny to types btn'|@translate}">
    133133  </fieldset>
    134134 
     
    137137    <ul>
    138138      {if !$ec_gen_granted}
    139       <li><label><input type = "checkbox" name = "grant_generic" /> {'user_status_generic'|@translate}</label></li>
    140       <br />
     139      <li><label><input type = "checkbox" name = "grant_generic"> {'user_status_generic'|@translate}</label></li>
     140      <br>
    141141      {/if}
    142142      {foreach from=$types_denied_ids item=id}
    143         <li><label><input type = "checkbox" name = "grant_types[]" value = "{$id}" /> {$all_types[$id]}</label></li>
     143        <li><label><input type = "checkbox" name = "grant_types[]" value = "{$id}"> {$all_types[$id]}</label></li>
    144144      {/foreach}
    145145    </ul>
    146     <input class = "submit" type = "submit" name = "grant_types_submit" value = "{'Grant to types btn'|@translate}" />
     146    <input class = "submit" type = "submit" name = "grant_types_submit" value = "{'Grant to types btn'|@translate}">
    147147  </fieldset>
    148148 
     
    153153    <ul>
    154154      {foreach from=$users_granted_direct_ids item=id}
    155       <li><label><input type = "checkbox" name = "deny_users[]" value = "{$id}" /> {$all_users[$id]}</label></li>
     155      <li><label><input type = "checkbox" name = "deny_users[]" value = "{$id}"> {$all_users[$id]}</label></li>
    156156      {/foreach}
    157157    </ul>
    158     <input class = "submit" type = "submit" name = "deny_users_submit" value = "{'Deny to users btn'|@translate}" />
     158    <input class = "submit" type = "submit" name = "deny_users_submit" value = "{'Deny to users btn'|@translate}">
    159159  </fieldset>
    160160 
     
    177177      {/foreach}
    178178    </ul>
    179     <input class = "submit" type = "submit" name = "grant_users_submit" value = "{'Grant to users btn'|@translate}" />
     179    <input class = "submit" type = "submit" name = "grant_users_submit" value = "{'Grant to users btn'|@translate}">
    180180  </fieldset>
    181181 
  • extensions/event_cats/admin/template/footer.inc.tpl

    r8956 r10456  
    1111  //--></script>
    1212  <div id = "ec_help_banner0">
    13     <hr width = 100% size = 1 />
     13    <hr style = "width:100%; height: 1">
    1414    <div id = "ec_help_banner1" style = "text-align:left; display:block;"></div>
    15     <hr width = 100% size = 1 />
     15    <hr style = "width:100%; height: 1">
    1616  </div>
    1717{else}
  • extensions/event_cats/admin/template/header.inc.tpl

    r8956 r10456  
    2929{if !isset($ec_help_banner_in_foot)}
    3030  <span id = "ec_help_banner0">
    31     <hr width = 100% size = 1 />
     31    <hr style = "width:100%; height: 1">
    3232    <div style = "text-align:right; font-style:italic;">
    3333      {'Help banner'|@translate}&nbsp;
     
    4343    </div>
    4444    <span id = "ec_help_banner1" style = "text-align:left; display:block;"></span>
    45     <hr width = 100% size = 1 />
     45    <hr style = "width:100%; height: 1">
    4646  </span>
    4747{/if}
Note: See TracChangeset for help on using the changeset viewer.