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/autolog_entries.inc.php

    r4011 r4092  
    8888  switch ($ec_entry['action']) {
    8989   
    90     case 'ec_ok_f_pb' :
    91     case 'ec_ok_f_pb_img_pb' :
    92       $page['errors'][$ec_entry['code']] =
    93        $ec_entry['code'].' : '.l10n('ec_forced_pb');
    9490    case 'ec_ok' :
    9591    case 'ec_ok_img_pb' :
     
    10399        case 1: // Category
    104100        case 3: // Image
    105           $url_end = (
    106            $ec_entry['forced'] == 'true' and
    107            !is_in($ec_entry['action'], '_f_pb')
    108           ) ? '' : '&cat='.$arg1;
     101          $url_end = ($ec_entry['forced'] == 'true') ? '' : '&cat='.$arg1;
    109102          $dspl =
    110103           l10n('ec_dspl_ok_cat_pre').
     
    148141        break;
    149142        case 2: // Additional Page
    150           $url_end = (
    151            $ec_entry['forced'] == 'true' and
    152            !is_in($ec_entry['action'], '_f_pb')
    153           ) ? '' : '&ap='.$arg2;
     143          $url_end = ($ec_entry['forced'] == 'true') ? '' : '&ap='.$arg2;
    154144          $dspl = ($ec_ap_ok) ?
    155145           l10n('ec_dspl_ok_ap_pre').
     
    182172    break;
    183173   
    184     case 'ec_ok_f_pb_ap_pb' :
    185       $page['errors'][$ec_entry['code']] =
    186        $ec_entry['code'].' : '.l10n('ec_forced_pb');
    187174    case 'ec_nok_ap_pb' : // No need to check here if Additional Pages is
    188175    case 'ec_ok_ap_pb' :  // active : we can arrive here only when it is.
     
    190177       $ec_entry['code'].' : '.l10n('ec_add_page_miss');
    191178      if (is_in($ec_entry['action'], 'ec_ok')) {
    192         $url_end = (
    193          $ec_entry['forced'] == 'true' and
    194          !is_in($ec_entry['action'], '_f_pb')
    195         ) ? '' : '&ap='.$arg2;
     179        $url_end = ($ec_entry['forced'] == 'true') ? '' : '&ap='.$arg2;
    196180        $dspl = l10n('ec_dspl_ok_home');
    197181      }
     
    208192    break;
    209193   
    210     case 'ec_ok_f_pb_cat_pb' :
    211       $page['errors'][$ec_entry['code']] =
    212        $ec_entry['code'].' : '.l10n('ec_forced_pb');
    213194    case 'ec_ok_cat_pb' :
    214       $url_end = (
    215        $ec_entry['forced'] == 'true' and
    216        !is_in($ec_entry['action'], '_f_pb')
    217       ) ? '' : '&cat='.$arg1;
     195      $url_end = ($ec_entry['forced'] == 'true') ? '' : '&cat='.$arg1;
    218196      $page['errors'][] =
    219197       $ec_entry['code'].' : '.l10n('ec_category_miss');
     
    283261   'code_URL' => $code_URL,
    284262   'log_OK'   => $log_OK,
    285    'f_pb'     => is_in($ec_entry['action'], '_f_pb'),
    286263  );
    287264}
Note: See TracChangeset for help on using the changeset viewer.