Changeset 3842 for extensions/akBookStyle/trunk/admin.php
- Timestamp:
- Sep 13, 2009, 1:30:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/akBookStyle/trunk/admin.php
r3806 r3842 35 35 36 36 if (!empty($_POST['submit'])) { 37 if (!empty($_POST['ak_categories']) && $_POST['ak_categories']!=$me->ak_categories) { 38 $me->ak_categories = $_POST['ak_categories']; 39 array_push($GLOBALS['page']['infos'], $lang['ak_categories_changed']); 40 $save_config = true; 41 } 42 43 if (!empty($_POST['ak_by_page']) && intval($_POST['ak_by_page'])!=$me->ak_by_page) { 44 $me->ak_by_page = intval($_POST['ak_by_page']); 45 array_push($GLOBALS['page']['infos'], $lang['ak_by_page_changed']); 46 $save_config = true; 47 } 48 37 49 if (!empty($_POST['ak_by_line']) && intval($_POST['ak_by_line'])!=$me->ak_by_line) { 38 50 $me->ak_by_line = intval($_POST['ak_by_line']); … … 65 77 $GLOBALS['template']->set_filenames(array('plugin_admin_content' => AK_PLUGIN_TEMPLATE . '/admin.tpl')); 66 78 $GLOBALS['template']->assign('AK_PLUGIN_CSS', AK_PLUGIN_CSS); 79 $GLOBALS['template']->assign('AK_CATEGORIES', $me->ak_categories); 80 $GLOBALS['template']->assign('AK_BY_PAGE', $me->ak_by_page); 67 81 $GLOBALS['template']->assign('AK_BY_LINE', $me->ak_by_line); 68 82 $GLOBALS['template']->assign('AK_THUMBNAIL_SIZE', $me->ak_thumbnail_size);
Note: See TracChangeset
for help on using the changeset viewer.