Ignore:
Timestamp:
Jan 28, 2011, 8:56:39 AM (13 years ago)
Author:
LucMorizur
Message:

Fix bug:2135

File:
1 edited

Legend:

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

    r7832 r8956  
    11{* <!-- Event Cats (event categories) LucMorizur June 2009 - ... --> *}
    22
    3 {* <!-- Keeps file coded in UTF-8 without BOM: é --> *}
     3{* <!-- Keeps file coded in UTF-8 without BOM : é --> *}
    44
    55{include file=$HeaderIncTPL}
     
    1818      {'Hide'|@translate}
    1919    </label>
    20     &nbsp;&nbsp;
     20    &nbsp;&#151;&nbsp;
    2121  </span>
    2222  {if $ec_ap_ok}
     
    4343      <tr>
    4444        <td style = "text-align:right; font-weight:bold;">
    45           {'Duplication allowance'|@translate}
    46         </td>
    47         <td>
    48           <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;">
    49             <li style = "margin-bottom:0;">
    50               <label for = "ec_dup_conf_none_id">
    51                 <input
    52                   type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id"
    53                   {if $ec_conf.dup_allow == '0'} checked = "checked" {/if}
    54                >
    55                 {'No account'|@translate}
    56               </label>
    57             </li>
    58             <li style = "margin-bottom:0;">
    59               <label for = "ec_dup_conf_group_id">
    60                 <input
    61                   type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id"
    62                   {if $ec_conf.dup_allow == '2'} checked = "checked" {/if}
    63                >
    64                 {'Selection per group'|@translate}
    65               </label>
    66             </li>
    67             <li style = "margin-bottom:0;">
    68               <label for = "ec_dup_conf_all_id">
    69                 <input
    70                   type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id"
    71                   {if $ec_conf.dup_allow == '1'} checked = "checked" {/if}
    72                >
    73                 {'All accounts'|@translate}
    74               </label>
    75             </li>
    76           </ul>
     45          {'Duplication allowance'|@translate}&nbsp;&nbsp;
     46        </td>
     47        <td>
     48          <label for = "ec_dup_conf_none_id">
     49            <input
     50              type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id"
     51              {if $ec_conf.dup_allow == '0'} checked = "checked" {/if}
     52            />
     53            {'No account'|@translate}
     54          </label><br />
     55          <label for = "ec_dup_conf_group_id">
     56            <input
     57              type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id"
     58              {if $ec_conf.dup_allow == '2'} checked = "checked" {/if}
     59            />
     60            {'Selection per group'|@translate}
     61          </label><br />
     62          <label for = "ec_dup_conf_all_id">
     63            <input
     64              type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id"
     65              {if $ec_conf.dup_allow == '1'} checked = "checked" {/if}
     66            />
     67            {'All accounts'|@translate}
     68          </label>
    7769        </td>
    7870        <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> {* <!-- sorry :-\ --> *}
    79         <td style = "text-align:right; font-weight:bold;"> <!-- id = "Replace "Register" link ?" -->
     71        <td style = "text-align:right; font-weight:bold;">
    8072          {* <!-- Replace "Register" link ? --> *}
    81           {$ec_dup_link_conf}
    82         </td>
    83         <td>
    84           <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;">
    85             <li style = "margin-bottom:0;">
    86               <label for = "ec_dup_disp_normal_id">
    87                 <input
    88                   type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id"
    89                   {if $ec_conf.duplic_display == '0'} checked = "checked" {/if}
    90                >
    91                 {'No account'|@translate}
    92               </label>
    93             </li>
    94             <li style = "margin-bottom:0;">
    95               <label for = "ec_dup_disp_but_gen_id">
    96                 <input
    97                   type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id"
    98                   {if $ec_conf.duplic_display == '2'} checked = "checked" {/if}
    99                >
    100                 {'All but generics'|@translate}
    101               </label>
    102             </li>
    103             <li style = "margin-bottom:0;">
    104               <label for = "ec_dup_disp_dup_id">
    105                 <input
    106                   type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id"
    107                   {if $ec_conf.duplic_display == '1'} checked = "checked" {/if}
    108                >
    109                 {'All accounts'|@translate}
    110               </label>
    111             </li>
    112           </ul>
     73          {$ec_dup_link_conf}&nbsp;&nbsp;
     74        </td>
     75        <td>
     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><br />
     83          <label for = "ec_dup_disp_but_gen_id">
     84            <input
     85              type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id"
     86              {if $ec_conf.duplic_display == '2'} checked = "checked" {/if}
     87            />
     88            {'All but generics'|@translate}
     89          </label><br />
     90          <label for = "ec_dup_disp_dup_id">
     91            <input
     92              type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id"
     93              {if $ec_conf.duplic_display == '1'} checked = "checked" {/if}
     94            />
     95            {'All accounts'|@translate}
     96          </label><br />
    11397        </td>
    11498      </tr>
     
    121105      <tr>
    122106        <td style = "text-align:right; vertical-align:top; font-weight:bold;">
    123           {'Page for unknown code'|@translate}
    124         </td>
    125         <td>
    126           <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;">
    127             <li style = "margin-bottom:0;">
    128               <label for = "ec_unknown_0_id" onclick = "ec_mark_action('ec_unknown_0_id');">
    129                 <input type = "radio" name = "ec_unknown" value = "0" id = "ec_unknown_0_id">
    130                 {'Home'|@translate}
    131               </label>
    132             </li>
    133             <li style = "margin-bottom:0;">
    134               <label for = "ec_unknown_1_id" onclick = "ec_mark_action('ec_unknown_1_id');">
    135                 <input type = "radio" name = "ec_unknown" value = "1" id = "ec_unknown_1_id">
    136                 {'Access denied'|@translate}
    137               </label>
    138             </li>
    139             <li {if !$ec_ap_ok or count($add_pages) == 0} style = "display:none;" {else} style = "margin-bottom:0;" {/if}>
    140               {* <!-- Additionnal Page, provided the plugin is activated and at least one Add. P. is available --> *}
    141               <label class = "ec_block" for = "ec_in_up_aps_id" onclick = "ec_mark_action('ec_unknown_2_id');">
    142                 <input type = "radio" name = "ec_unknown" value = "2" id = "ec_unknown_2_id">
    143                 {'Additional Page'|@translate}<br>
    144                 <select class = "categoryList" name = "ec_in_up_aps" size="30" id = "ec_in_up_aps_id" onchange = "ec_selected_AP = this.value;" >
    145                   {html_options options=$add_pages}
    146                 </select>
    147               </label>
    148             </li>
    149           </ul>
     107          {'Page for unknown code'|@translate}&nbsp;&nbsp;
     108        </td>
     109        <td>
     110          <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" />
     112            {'Home'|@translate}
     113          </label><br />
     114          <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" />
     116            {'Access denied'|@translate}
     117          </label><br />
     118          {* <!-- Additionnal Page, provided the plugin is activated and at least one Add. P. is available --> *}
     119          <label class = "ec_block" for = "ec_in_up_aps_id" {if !$ec_ap_ok or count($add_pages) == 0} style = "display:none;" {/if}
     120           onclick = "ec_mark_action('ec_unknown_2_id');"
     121          >
     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 />
     124            <select class = "categoryList" name = "ec_in_up_aps" size="30" id = "ec_in_up_aps_id" onchange = "ec_selected_AP = this.value;" >
     125              {html_options options=$add_pages}
     126            </select>
     127          </label>
    150128        </td>
    151129      </tr>
     
    158136      <tr>
    159137        <td style = "text-align:right; font-weight:bold;">
    160           {'Comments display'|@translate}
    161         </td>
    162         <td>
    163           <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;">
    164             <li style = "margin-bottom:0;">
    165               <label for = "ec_comments_0_id">
    166                 <input type = "radio" name = "ec_comments" value = "0" id = "ec_comments_0_id"
    167                   {if $ec_conf.comment_display == '0'} checked = "checked" {/if}
    168                >
    169                 {'As tooltip'|@translate}
    170               </label>
    171             </li>
    172             <li style = "margin-bottom:0;">
    173               <label for = "ec_comments_1_id">
    174                 <input type = "radio" name = "ec_comments" value = "1" id = "ec_comments_1_id"
    175                   {if $ec_conf.comment_display == '1'} checked = "checked" {/if}
    176                >
    177                 {'In a row'|@translate}
    178               </label>
    179             </li>
    180           </ul>
     138          {'Comments display'|@translate}&nbsp;&nbsp;
     139        </td>
     140        <td>
     141          <label for = "ec_comments_0_id">
     142            <input type = "radio" name = "ec_comments" value = "0" id = "ec_comments_0_id"
     143              {if $ec_conf.comment_display == '0'} checked = "checked" {/if}
     144            />
     145            {'As tooltip'|@translate}
     146          </label><br />
     147          <label for = "ec_comments_1_id">
     148            <input type = "radio" name = "ec_comments" value = "1" id = "ec_comments_1_id"
     149              {if $ec_conf.comment_display == '1'} checked = "checked" {/if}
     150            />
     151            {'In a row'|@translate}
     152          </label>
    181153        </td>
    182154        <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> {* <!-- sorry :-\ --> *}
    183155        <td style = "text-align:right; font-weight:bold;">
    184           {'Help banner'|@translate}
    185         </td>
    186         <td>
    187           <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;">
    188             <li style = "margin-bottom:0;">
    189               <label for = "ec_2help_banner_1_id">
    190                 <input type = "radio" name = "ec_help_banner_onoff2" value = "1" id = "ec_2help_banner_1_id"
    191                   onclick = "ec_mark_help('ec_help_banner_1');"
    192                >
    193                 {'Banner on'|@translate}
    194               </label>
    195             </li>
    196             <li style = "margin-bottom:0;">
    197               <label for = "ec_2help_banner_0_id">
    198                 <input type = "radio" name = "ec_help_banner_onoff2" value = "0" id = "ec_2help_banner_0_id"
    199                   onclick = "ec_mark_help('ec_help_banner_0');"
    200                >
    201                 {'Banner off'|@translate}
    202               </label>
    203             </li>
    204           </ul>
    205         </td>
     156          {'Help banner'|@translate}&nbsp;&nbsp;
     157        </td>
     158        <td>
     159          <label for = "ec_2help_banner_1_id">
     160            <input type = "radio" name = "ec_help_banner_onoff2" value = "1" id = "ec_2help_banner_1_id"
     161              onclick = "ec_mark_help('ec_help_banner_1');"
     162            />
     163            {'Banner on'|@translate}
     164          </label><br />
     165          <label for = "ec_2help_banner_0_id">
     166            <input type = "radio" name = "ec_help_banner_onoff2" value = "0" id = "ec_2help_banner_0_id"
     167              onclick = "ec_mark_help('ec_help_banner_0');"
     168            />
     169            {'Banner off'|@translate}
     170          </label>
    206171        <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> {* <!-- sorry :-\ --> *}
    207172        <td style = "text-align:right; font-weight:bold;">
    208           {$ec_display_connect_conf}
    209         </td>
    210         <td>
    211           <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;">
    212             <li style = "margin-bottom:0;">
    213               <label for = "ec_connection_1_id">
    214                 <input type = "radio" name = "ec_connection" value = "1" id = "ec_connection_1_id"
    215                   {if $ec_conf.display_connection == '1'} checked = "checked" {/if}
    216                >
    217                 {'Yes'|@translate}
    218               </label>
    219             </li>
    220             <li style = "margin-bottom:0;">
    221               <label for = "ec_connection_0_id">
    222                 <input type = "radio" name = "ec_connection" value = "0" id = "ec_connection_0_id"
    223                   {if $ec_conf.display_connection == '0'} checked = "checked" {/if}
    224                >
    225                 {'No'|@translate}
    226               </label>
    227             </li>
    228           </ul>
     173          {$ec_display_connect_conf}&nbsp;&nbsp;
     174        </td>
     175        <td>
     176          <label for = "ec_connection_1_id">
     177            <input type = "radio" name = "ec_connection" value = "1" id = "ec_connection_1_id"
     178              {if $ec_conf.display_connection == '1'} checked = "checked" {/if}
     179            />
     180            {'Yes'|@translate}
     181          </label><br />
     182          <label for = "ec_connection_0_id">
     183            <input type = "radio" name = "ec_connection" value = "0" id = "ec_connection_0_id"
     184              {if $ec_conf.display_connection == '0'} checked = "checked" {/if}
     185            />
     186            {'No'|@translate}
     187          </label>
    229188        </td>
    230189    </table>
     
    232191 
    233192  <div style = "text-align:center;">
    234     <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}" />
    235194  </div>
    236195 
Note: See TracChangeset for help on using the changeset viewer.