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/evntcats_admin.php

    r4064 r4092  
    7373) change_ec_conf('auto_code_dg_nb', $_POST['ec_in_up_auto_code_length']);
    7474
     75$ec_howto = (read_ec_conf('howto') == '0');
     76if ($ec_howto) change_ec_conf('howto', '1');
     77
    7578// +-----------------------------------------------------------------------+
    7679// |                            Tabsheet
     
    8891
    8992if (isset($_POST['ec_act1'])) {
    90   if (                                          /*
    91     $_POST['ec_act1'] == 'autolog_new' or  // ? */
     93  if (
    9294    $_POST['ec_act1'] == 'duplicate_entry_ask' or
     95    $_POST['ec_act1'] == 'create_ask' or
    9396    $_POST['ec_act1'] == 'disable' or
    9497    $_POST['ec_act1'] == 'modify_entry_ask'
     
    146149*/
    147150
    148 $template->assign('ec_howto', (count($page['errors']) == 0 and count($page['infos']) == 0));
     151$template->assign('ec_howto',
     152 ($ec_howto and (count($page['errors']) ==0 and count($page['infos']) == 0)));
    149153
    150154$template->assign('EVNTCATS_PATH',EVNTCATS_PATH);
Note: See TracChangeset for help on using the changeset viewer.