Dotclear


Ignore:
Timestamp:
08/26/13 11:24:30 (12 years ago)
Author:
Lepeltier kévin
Branch:
Ticket #1181
Children:
1889:03b338af9afe, 1890:4d31d3ae18fc
Message:

Ticket #1181 : via un controleurs qui appellerais posts_actions
Toujours apparement impossible sans modifier posts_actions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/index.php

    r1179 r1888  
    1212if (!defined('DC_CONTEXT_ADMIN')) { return; } 
    1313 
    14 $act = (!empty($_REQUEST['act']) && $_REQUEST['act'] == 'page') ? 'page' : 'list'; 
     14$act = !empty($_REQUEST['act']) ? $_REQUEST['act'] : 'list'; 
    1515 
    1616 
    1717if ($act == 'page') { 
    1818     include dirname(__FILE__).'/page.php'; 
     19} else if ($act == 'actions') { 
     20     include dirname(__FILE__).'/pages_actions.php'; 
    1921} else { 
    2022     include dirname(__FILE__).'/list.php'; 
    2123} 
    22  
    23 ?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map