Ignore:
Timestamp:
Nov 7, 2009, 11:15:53 PM (14 years ago)
Author:
LucMorizur
Message:

[Event Cats] Begin duplication management

File:
1 edited

Legend:

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

    r4181 r4228  
    204204        </label>
    205205      </td>
     206       
    206207      <td>
     208        <li>
     209          {* <!-- Index page --> *}
     210          <label class = "ec_block" onclick = "return ec_mark_action('ec_input_action_home');">
     211            <input type = "radio" name = "ec_input_action" value = "home" id = "ec_input_action_home" />
     212            {'ec_up_code_lbl_home'|@translate}
     213          </label>
     214         
     215          {* <!-- Access denied page (only when modifying an entry) --> *}
     216          {if !$ec_is_creation}
     217            <label class = "ec_block" onclick = "return ec_mark_action('ec_input_action_refused');">
     218              <input type = "radio" name = "ec_input_action" value = "refused" id = "ec_input_action_refused" />
     219              {'ec_up_code_lbl_refused'|@translate}
     220            </label>
     221          {/if}
     222         
     223          {* <!-- Image, provided at least one category is available and at least one image is associated to one category --> *}
     224          <label class = "ec_block" for = "ec_in_up_imgs_id" onclick = "return ec_mark_action('ec_input_action_img');"
     225           {if $ec_no_assoc or count($ec_lists.categories) == 0} style = "display:none;" {/if}
     226          >
     227            <input type = "radio" name = "ec_input_action" value = "img" id = "ec_input_action_img" for = "ec_in_up_imgs_id" />
     228            {'ec_up_code_lbl_img'|@translate}<br>
     229            <input type = "text" name = "ec_in_up_img" id = "ec_in_up_imgs_id" maxlength = "6"
     230             size = "10" onblur = "ec_selected_img = this.value; ec_check_img_text();" onfocus = "return ec_mark_action('ec_input_action_img');"
     231            />
     232            <span id = "ec_in_up_imgs_warn"></span>
     233          </label>
     234        </li>
    207235       
    208         {* <!-- Additionnal Page, provided the plugin is activated and at least one Add. P. is available --> *}
    209         <label class = "ec_block" for = "ec_in_up_aps_id" onclick = "return ec_mark_action('ec_input_action_add_p');"
    210          {if !$ec_ap_ok or count($ec_lists.add_pages) == 0} style = "display:none;" {/if}
    211         >
    212           <input type = "radio" name = "ec_input_action" value = "add_p" id = "ec_input_action_add_p" for = "ec_in_up_aps_id" />
    213           {'ec_up_code_lbl_aps'|@translate}<br>
    214           <select class = "categoryList" name = "ec_in_up_aps" size="30" id = "ec_in_up_aps_id" onchange = "ec_selected_AP = this.value;" >
    215             {html_options options=$ec_lists.add_pages}
    216           </select>
    217         </label>
    218        
    219         {* <!-- Category, provided at least one category is available --> *}
    220         <label class = "ec_block" for = "ec_in_up_cats_id" onclick = "return ec_mark_action('ec_input_action_cat');"
    221          {if count($ec_lists.categories) == 0} style = "display:none;" {/if}
    222         >
    223           <input type = "radio" name = "ec_input_action" value = "cat" id = "ec_input_action_cat" for = "ec_in_up_cats_id"
    224             onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;"
    225           />
    226           <span onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;">{'ec_up_code_lbl_cats'|@translate}</span><br>
    227           <select class = "categoryList" name = "ec_in_up_cat" size = "30" id = "ec_in_up_cats_id" onchange = "ec_selected_cat = this.value;">
    228             {html_options options=$ec_lists.categories}
    229           </select>
    230         </label>
    231        
    232         {* <!-- Image, provided at least one category is available and at least one image is associated to one category --> *}
    233         <label class = "ec_block" for = "ec_in_up_imgs_id" onclick = "return ec_mark_action('ec_input_action_img');"
    234          {if $ec_no_assoc or count($ec_lists.categories) == 0} style = "display:none;" {/if}
    235         >
    236           <input type = "radio" name = "ec_input_action" value = "img" id = "ec_input_action_img" for = "ec_in_up_imgs_id" />
    237           {'ec_up_code_lbl_img'|@translate}<br>
    238           <input type = "text" name = "ec_in_up_img" id = "ec_in_up_imgs_id" maxlength = "6"
    239            size = "10" onblur = "ec_selected_img = this.value; ec_check_img_text();" onfocus = "return ec_mark_action('ec_input_action_img');"
    240           /><br>
    241           <span id = "ec_in_up_imgs_warn"></span>
    242         </label>
    243        
    244         {* <!-- Index page --> *}
    245         <label class = "ec_block" onclick = "return ec_mark_action('ec_input_action_home');">
    246           <input type = "radio" name = "ec_input_action" value = "home" id = "ec_input_action_home" />
    247           {'ec_up_code_lbl_home'|@translate}
    248         </label>
    249        
    250         {* <!-- Access denied page (only when modifying an entry) --> *}
    251         {if !$ec_is_creation}
    252           <label class = "ec_block" onclick = "return ec_mark_action('ec_input_action_refused');">
    253             <input type = "radio" name = "ec_input_action" value = "refused" id = "ec_input_action_refused" />
    254             {'ec_up_code_lbl_refused'|@translate}
    255           </label>
    256         {/if}
     236        <li>
     237          {* <!-- Additionnal Page, provided the plugin is activated and at least one Add. P. is available --> *}
     238          <label class = "ec_block" for = "ec_in_up_aps_id" onclick = "return ec_mark_action('ec_input_action_add_p');"
     239           {if !$ec_ap_ok or count($ec_lists.add_pages) == 0} style = "display:none;" {/if}
     240          >
     241            <input type = "radio" name = "ec_input_action" value = "add_p" id = "ec_input_action_add_p" for = "ec_in_up_aps_id" />
     242            {'ec_up_code_lbl_aps'|@translate}<br>
     243            <select class = "categoryList" name = "ec_in_up_aps" size="30" id = "ec_in_up_aps_id" onchange = "ec_selected_AP = this.value;" >
     244              {html_options options=$ec_lists.add_pages}
     245            </select>
     246          </label>
     247         
     248          {* <!-- Category, provided at least one category is available --> *}
     249          <label class = "ec_block" for = "ec_in_up_cats_id" onclick = "return ec_mark_action('ec_input_action_cat');"
     250           {if count($ec_lists.categories) == 0} style = "display:none;" {/if}
     251          >
     252            <input type = "radio" name = "ec_input_action" value = "cat" id = "ec_input_action_cat" for = "ec_in_up_cats_id"
     253              onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;"
     254            />
     255            <span onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;">{'ec_up_code_lbl_cats'|@translate}</span><br>
     256            <select class = "categoryList" name = "ec_in_up_cat" size = "30" id = "ec_in_up_cats_id" onchange = "ec_selected_cat = this.value;">
     257              {html_options options=$ec_lists.categories}
     258            </select>
     259          </label>
     260        </li>
    257261      </td>
    258262    </tr>
Note: See TracChangeset for help on using the changeset viewer.