Ignore:
Timestamp:
Nov 2, 2009, 10:46:10 PM (14 years ago)
Author:
LucMorizur
Message:

[Event Cats] Continue entry creation in DB

Location:
extensions/event_cats/admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/autolog_new.inc.php

    r4171 r4173  
    110110$template->assign('ec_ap_ok',               $ec_ap_ok);
    111111$template->assign('ec_lists',               $ec_lists);
    112 $template->assign('cat_display',            (read_ec_conf('cat_display') == '0'));
    113112$template->assign('ec_default_entry',       $ec_default_entry);
    114113$template->assign('ec_default_action',      $ec_default_action);
  • extensions/event_cats/admin/template/autolog_new.js

    r4171 r4173  
    77var ec_flag1                    = false;
    88var ec_flag2                    = false;
    9 var cat_display                 = false;
    109var ec_dont_check               = false;
    1110var ec_selected_old_group       = false;
     
    445444            d.ec_new_code.ec_in_up_cat.selectedIndex
    446445           ].label;
    447           if (cat_display) ec_new_user_text =
     446          /* if (cat_display) ec_new_user_text =
    448447           (ec_reg_cat2.test(ec_cat_sel)) ?
    449448            ec_reg_cat1.exec(ec_cat_sel)[1] : ec_cat_sel;
    450           else ec_new_user_text = ec_reg_cat3.exec(ec_cat_sel)[1];
     449          else */ ec_new_user_text = ec_reg_cat3.exec(ec_cat_sel)[1];
    451450          ec_new_user_text = ec_new_user_text.replace(/\s/g, '_');
    452451          ec_new_user_text = ec_new_user_text.substr(0, 32);
  • extensions/event_cats/admin/template/autolog_new.tpl

    r4171 r4173  
    267267<script type = "text/javascript"><!--
    268268  ec_is_creation                          = {if $ec_is_creation}true{else}false{/if};
    269   cat_display                             = {if $cat_display}true{else}false{/if};
    270269  ec_up_code_lbl_forced_txt               = "{'ec_up_code_lbl_forced'|@translate}";
    271270  ec_JS_message['ec_gen_user_act_miss']   = "{'ec_gen_user_act_miss'|@translate|@escape:javascript}";
Note: See TracChangeset for help on using the changeset viewer.