Changeset 12361 for extensions/Back2Front/admin.php
- Timestamp:
- Oct 6, 2011, 1:45:36 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Back2Front/admin.php
r11219 r12361 11 11 if (isset($_POST['submit'])) 12 12 { 13 13 $conf['back2front'] = array( 14 14 $conf['back2front'][0], 15 15 $_POST['switch_mode'], … … 17 17 $_POST['position'], 18 18 serialize(stripslashes_deep(str_replace(array("'",'"',','), null, $_POST['link_name']))), 19 isset($_POST['show_thumbnail']), 19 20 ); 20 21 21 22 conf_update_param('back2front', implode (',', $conf['back2front'])); 22 23 array_push($page['infos'], l10n('Information data registered in database')); 23 24 } 24 25 … … 33 34 foreach (get_languages() as $language_code => $language_name) 34 35 { 35 36 $template->append('link_name', array( 36 37 'LANGUAGE_NAME' => $language_name, 37 38 'LANGUAGE_CODE' => $language_code, … … 43 44 $template->assign(array( 44 45 'B2F_PATH' => B2F_PATH, 45 46 46 'SWITCH_MODE' => $conf['back2front'][1], 47 'TRANSITION' => $conf['back2front'][2], 47 48 'POSITION' => $conf['back2front'][3], 49 'SHOW_THUMBNAIL' => $conf['back2front'][5], 48 50 )); 49 51 50 52 $template->set_filename('back2front_conf', dirname(__FILE__).'/template/admin.tpl'); 51 53 $template->assign_var_from_handle('ADMIN_CONTENT', 'back2front_conf');
Note: See TracChangeset
for help on using the changeset viewer.