Ignore:
Timestamp:
Nov 18, 2010, 2:43:57 AM (13 years ago)
Author:
LucMorizur
Message:

A little bit less dirty list styling...

File:
1 edited

Legend:

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

    r7663 r7811  
    3434      <tr>
    3535        <td style = "text-align:right; font-weight:bold;">
    36           {'Duplication allowance'|@translate}&nbsp;&nbsp;
     36          {'Duplication allowance'|@translate}
    3737        </td>
    3838        <td>
    39           <label for = "ec_dup_conf_none_id">
    40             <input
    41               type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id"
    42               {if $ec_conf.dup_allow == '0'} checked = "checked" {/if}
    43            >
    44             {'No account'|@translate}
    45           </label><br>
    46           <label for = "ec_dup_conf_group_id">
    47             <input
    48               type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id"
    49               {if $ec_conf.dup_allow == '2'} checked = "checked" {/if}
    50            >
    51             {'Selection per group'|@translate}
    52           </label><br>
    53           <label for = "ec_dup_conf_all_id">
    54             <input
    55               type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id"
    56               {if $ec_conf.dup_allow == '1'} checked = "checked" {/if}
    57            >
    58             {'All accounts'|@translate}
    59           </label>
     39          <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;">
     40            <li style = "margin-bottom:0;">
     41              <label for = "ec_dup_conf_none_id">
     42                <input
     43                  type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id"
     44                  {if $ec_conf.dup_allow == '0'} checked = "checked" {/if}
     45               >
     46                {'No account'|@translate}
     47              </label>
     48            </li>
     49            <li style = "margin-bottom:0;">
     50              <label for = "ec_dup_conf_group_id">
     51                <input
     52                  type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id"
     53                  {if $ec_conf.dup_allow == '2'} checked = "checked" {/if}
     54               >
     55                {'Selection per group'|@translate}
     56              </label>
     57            </li>
     58            <li style = "margin-bottom:0;">
     59              <label for = "ec_dup_conf_all_id">
     60                <input
     61                  type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id"
     62                  {if $ec_conf.dup_allow == '1'} checked = "checked" {/if}
     63               >
     64                {'All accounts'|@translate}
     65              </label>
     66            </li>
     67          </ul>
    6068        </td>
    6169        <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> {* <!-- sorry :-\ --> *}
    6270        <td style = "text-align:right; font-weight:bold;">
    63           {$ec_dup_link_conf}&nbsp;&nbsp;
     71          {$ec_dup_link_conf}
    6472        </td>
    6573        <td>
    66           <label for = "ec_dup_disp_normal_id">
    67             <input
    68               type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id"
    69               {if $ec_conf.duplic_display == '0'} checked = "checked" {/if}
    70            >
    71             {'No account'|@translate}
    72           </label><br>
    73           <label for = "ec_dup_disp_but_gen_id">
    74             <input
    75               type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id"
    76               {if $ec_conf.duplic_display == '2'} checked = "checked" {/if}
    77            >
    78             {'All but generics'|@translate}
    79           </label><br>
    80           <label for = "ec_dup_disp_dup_id">
    81             <input
    82               type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id"
    83               {if $ec_conf.duplic_display == '1'} checked = "checked" {/if}
    84            >
    85             {'All accounts'|@translate}
    86           </label><br>
     74          <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;">
     75            <li style = "margin-bottom:0;">
     76              <label for = "ec_dup_disp_normal_id">
     77                <input
     78                  type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id"
     79                  {if $ec_conf.duplic_display == '0'} checked = "checked" {/if}
     80               >
     81                {'No account'|@translate}
     82              </label>
     83            </li>
     84            <li style = "margin-bottom:0;">
     85              <label for = "ec_dup_disp_but_gen_id">
     86                <input
     87                  type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id"
     88                  {if $ec_conf.duplic_display == '2'} checked = "checked" {/if}
     89               >
     90                {'All but generics'|@translate}
     91              </label>
     92            </li>
     93            <li style = "margin-bottom:0;">
     94              <label for = "ec_dup_disp_dup_id">
     95                <input
     96                  type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id"
     97                  {if $ec_conf.duplic_display == '1'} checked = "checked" {/if}
     98               >
     99                {'All accounts'|@translate}
     100              </label>
     101            </li>
     102          </ul>
    87103        </td>
    88104      </tr>
Note: See TracChangeset for help on using the changeset viewer.