Ignore:
Timestamp:
Oct 23, 2009, 1:48:54 AM (15 years ago)
Author:
LucMorizur
Message:

[Event Cats] PNG, JS, TPL and CSS normally finished now. Remains "only" PHP and SQL...

File:
1 edited

Legend:

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

    r4064 r4092  
    2323  <input type = "hidden" id = "ec_act2_id" name = "ec_entry_sel" />
    2424 
     25  {* <!-- Page title. Can be "New entry" or "New entry / Entry modification" whether some entries already exist or not --> *}
    2526  <div style = "text-align:center;">
    2627    <span style = "font-weight:bold; font-size:120%;">
     
    2829        <a href = "#ec_top" name = "ec_top" title = "{'ec_top_title'|@translate}">
    2930      {/if}
    30       <label for = "ec_page_type_create" onclick = "ec_mark_type('create');" {if $ec_is_creation} style = "text-decoration:underline;" {/if}>
    31         <input type = "radio" id = "ec_page_type_create" onclick = "ec_mark_type('create');" {if $ec_is_creation} checked = "checked" {/if} />
    32         {'ec_new_entry_title'|@translate}
     31      <label for = "ec_page_type_create" {if $ec_hidden_when_no_code == ''} onclick = "ec_mark_type('create_ask');" {/if}>
     32        {if $ec_hidden_when_no_code == ''}
     33          <input type = "radio" id = "ec_page_type_create" onclick = "ec_mark_type('create');" {if $ec_is_creation} checked = "checked" {/if} />
     34        {/if}
     35        <span {if $ec_is_creation and $ec_hidden_when_no_code == ''} style = "text-decoration:underline;" {/if}>{'ec_new_entry_title'|@translate}</span>
    3336      </label>
    3437      {if $ec_hidden_when_no_code == ''}
    35         <a href = "#ec_top" name = "ec_top" title = "{'ec_top_title'|@translate}">&nbsp;&#149;&#149;&nbsp;
     38        <a href = "#ec_top" name = "ec_top" title = "{'ec_top_title'|@translate}">
     39         <label style = "font-weight:bold; font-size:120%;">&nbsp;//&nbsp;</label>
    3640      {/if}
    3741      </a>
    38       <label for = "ec_page_type_modify" onclick = "ec_mark_type('modify_entry_ask');"
    39        {$ec_hidden_when_no_code} {if !$ec_is_creation} style = "text-decoration:underline;" {/if}
    40       >
     42      <label for = "ec_page_type_modify" onclick = "ec_mark_type('modify_entry_ask');" {$ec_hidden_when_no_code}>
    4143        <input type = "radio" id = "ec_page_type_modify" onclick = "ec_mark_type('modify_entry_ask');" {if !$ec_is_creation} checked = "checked" {/if} />
    42         {'ec_modify_entry_title'|@translate}
     44        <span {if !$ec_is_creation} style = "text-decoration:underline;" {/if}>{'ec_modify_entry_title'|@translate}</span>
    4345      </label>
    4446    </span>
     
    5052  </div><br>
    5153 
     54  {* <!-- Table (borders not visible) with 3 rows for parameters adjustment --> *}
    5255  <table style = "border-spacing:15px" width = "97%">
    5356   
    5457    <tr>
     58     
     59      {* <!-- [ [New / existing code] / [Existing entry] ] selection --> *}
    5560      <td style = "vertical-align:top; font-weight:bold;">
    5661        {if $ec_is_creation}
     
    6267      <td>
    6368        {if $ec_is_creation}
    64          
    65           {* <!-- Code selection --> *}
    6669          <li>
    6770            {* <!-- New code (to create) --> *}
     
    104107            {* <!-- Known code --> *}
    105108            <label for = "ec_in_up_code_list_id" onclick = "ec_mark_code('ec_sel_code_old');" {$ec_hidden_when_no_code}>
    106               <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_list_id"
     109              <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_list_id" {$ec_hidden_when_no_code}
    107110                value = "old" id = "ec_sel_code_old" onclick = "ec_mark_code('ec_sel_code_old');"
    108111              />
     
    113116            >
    114117              <option label = "------------" value = "-1">------------</option>
    115               {foreach from=$ec_lists.duplicable_codes key=ec_key item=ec_val}
     118              {foreach from=$ec_lists.duplicable_codes.codes key=ec_key item=ec_val}
    116119                <option label = "{$ec_val.user_id}" value = "{$ec_val.id}">{$ec_key}</option>
    117120              {/foreach}
     
    121124        {else}
    122125         
    123           {* <!-- Entry selection --> *}
     126          {* <!-- Existing entry selection --> *}
    124127          <li>
    125128            {* <!-- Entry choice --> *}
     
    146149            {* <!-- None --> *}
    147150            <label onclick = "return ec_mark_user('ec_sel_user_none');">
    148               <input type = "radio" name = "ec_sel_user" value = "none" id = "ec_sel_user_none"
    149                onclick = "return ec_mark_user('ec_sel_user_none');"
    150               />
     151              <input type = "radio" name = "ec_sel_user" value = "none" id = "ec_sel_user_none" onclick = "return ec_mark_user('ec_sel_user_none');" />
    151152              {'ec_up_code_lbl_user_none'|@translate}
    152153            </label><br>
     
    293294  ec_JS_message['ec_new_pwd_gen']        = "{'ec_new_pwd_gen'|@translate|@escape:javascript}";
    294295  ec_JS_message['ec_act_entry_miss']     = "{'ec_act_entry_miss'|@translate|@escape:javascript}";
     296  ec_JS_message['ec_confirm_del_other']  = "{'ec_confirm_del_other'|@translate|@escape:javascript}";
    295297  ec_JS_message['ec_up_code_lbl_home']   = "{'ec_up_code_lbl_home'|@translate}";
    296298  ec_JS_message['ec_submit_code_miss']   = "{'ec_submit_code_miss'|@translate}";
Note: See TracChangeset for help on using the changeset viewer.