Changeset 1888:d55087172539 for plugins/pages/index.php
- Timestamp:
- 08/26/13 11:24:30 (12 years ago)
- Branch:
- Ticket #1181
- Children:
- 1889:03b338af9afe, 1890:4d31d3ae18fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pages/index.php
r1179 r1888 12 12 if (!defined('DC_CONTEXT_ADMIN')) { return; } 13 13 14 $act = (!empty($_REQUEST['act']) && $_REQUEST['act'] == 'page') ? 'page': 'list';14 $act = !empty($_REQUEST['act']) ? $_REQUEST['act'] : 'list'; 15 15 16 16 17 17 if ($act == 'page') { 18 18 include dirname(__FILE__).'/page.php'; 19 } else if ($act == 'actions') { 20 include dirname(__FILE__).'/pages_actions.php'; 19 21 } else { 20 22 include dirname(__FILE__).'/list.php'; 21 23 } 22 23 ?>
Note: See TracChangeset
for help on using the changeset viewer.