Ignore:
Timestamp:
Dec 3, 2009, 10:01:37 PM (14 years ago)
Author:
LucMorizur
Message:

[Event Cats] Adaptation for PEM

File:
1 edited

Legend:

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

    r4402 r4418  
    8484             id = "ec_in_up_code_id" onblur = "ec_check_code_text(this.value);"
    8585            />
     86             — 
     87            <input type = "text" name = "ec_in_up_comment" maxlength = "100" size = "50" id = "ec_in_up_comment_id"
     88              onchange = "ec_new_comment_text = this.value;" title = "{'Comment'|@translate}"
     89            />
    8690          </li>
    8791        </li>
     
    9599          <select name = "ec_in_up_code_list" id = "ec_in_up_code_list_id" onchange = "ec_change_code_list(this.value);" {$ec_hidden_when_no_code} >
    96100            {foreach from=$ec_lists.duplicable_codes.codes key=ec_key item=ec_val}
    97               <option value = "{$ec_val.id}">{$ec_key}</option>
     101              <option value = "{$ec_val.id}">
     102                {$ec_key}
     103                {if $ec_val.comment != ''}
     104                  &nbsp;&#151;&nbsp;{$ec_val.comment}
     105                {/if}
     106              </option>
    98107            {/foreach}
    99           </select><br />
     108          </select>
    100109        </li>
    101110       
     
    107116          <select name = "ec_in_up_entry_list" id = "ec_in_up_entry_list_id" onchange = "ec_mark_entry(this.value);">
    108117            {foreach from=$ec_lists.ec_table item=ec_val}
    109               <option value = "{$ec_val.id}">{$ec_val.id} : {$ec_val.code}</option>
     118              <option value = "{$ec_val.id}">
     119                {$ec_val.id} : {$ec_val.code}
     120                {if $ec_val.comment != ''}
     121                  &nbsp;&#151;&nbsp;{$ec_val.comment}
     122                {/if}
     123              </option>
    110124            {/foreach}
    111125          </select>
     126          &nbsp;&#151;&nbsp;
     127          <input type = "text" name = "ec_in_up_comment" maxlength = "100" size = "50" id = "ec_in_up_comment_id"
     128            onchange = "ec_new_comment_text = this.value;" title = "{'Comment'|@translate}"
     129          />
    112130        </li>
    113131       
     
    144162           id = "ec_submit_gen_user_id" onclick = "ec_gen_user();"
    145163          />
    146         </label><br />
     164        </label>
    147165        <li style = "padding-left: 30px;">
    148166          <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New username'|@translate}<br />
     
    233251         size = "10" onblur = "ec_selected_img = this.value; ec_check_img_text();" onfocus = "return ec_mark_action('ec_input_action_img');"
    234252        /><br />
    235         <span id = "ec_in_up_imgs_warn"></span>
     253        <span id = "ec_in_up_imgs_warn">&nbsp;</span><br />
    236254      </label>
    237255     
     
    289307  {/if}
    290308  {foreach from=$ec_lists.ec_table item=ec_val name=listloop}
    291     ec_lists_temp[{$smarty.foreach.listloop.index}] = "{$ec_val.id};{$ec_val.code};{$ec_val.user_id};{$ec_val.action};{$ec_val.arg1};{$ec_val.arg2};{$ec_val.forced}";
     309    ec_lists_temp[{$smarty.foreach.listloop.index}] =
     310     "{$ec_val.id};{$ec_val.code};{$ec_val.user_id};{$ec_val.action};{$ec_val.arg1};{$ec_val.arg2};{$ec_val.forced};{$ec_val.comment}";
    292311  {/foreach}
    293312  ec_build_ec_lists();
Note: See TracChangeset for help on using the changeset viewer.