Changeset 3610 for extensions/piclens/admin/piclenswallconfig2.php
- Timestamp:
- Jul 16, 2009, 8:23:19 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piclens/admin/piclenswallconfig2.php
r3598 r3610 58 58 59 59 if (isset($_POST['submit'])) { 60 61 62 63 64 65 $me->my_config['piclens_wall_showChrome'] = isset($_POST['piclens_wall_showChrome']);66 $me->my_config['piclens_wall_showDescription'] = isset($_POST['piclens_wall_showDescription']);67 $me->my_config['piclens_wall_showReflections'] = isset($_POST['piclens_wall_showReflections']);68 $me->my_config['piclens_wall_showTutorial'] = isset($_POST['piclens_wall_showTutorial']);69 $me->my_config['piclens_wall_showNavArrows'] = isset($_POST['piclens_wall_showNavArrows']);70 $me->my_config['piclens_wall_nb_ligne'] = $_POST['piclens_wall_nb_ligne'];71 $me->my_config['piclens_wall_backgroundAlpha'] = $_POST['piclens_wall_backgroundAlpha'];60 $me->my_config['piclens_wall_color'] = $_POST['background_color']; 61 $me->my_config['piclens_wall_showembed'] = isset($_POST['piclens_wall_embed']); 62 $me->my_config['piclens_wall_showfullscreen'] = isset($_POST['piclens_wall_fullscreen']); 63 $me->my_config['piclens_wall_showsearch'] = isset($_POST['piclens_wall_search']); 64 $me->my_config['piclens_wall_transparent'] = isset($_POST['piclens_wall_transparent']); 65 $me->my_config['piclens_wall_showChrome'] = isset($_POST['piclens_wall_showChrome']); 66 $me->my_config['piclens_wall_showDescription'] = isset($_POST['piclens_wall_showDescription']); 67 $me->my_config['piclens_wall_showReflections'] = isset($_POST['piclens_wall_showReflections']); 68 $me->my_config['piclens_wall_showTutorial'] = isset($_POST['piclens_wall_showTutorial']); 69 $me->my_config['piclens_wall_showNavArrows'] = isset($_POST['piclens_wall_showNavArrows']); 70 $me->my_config['piclens_wall_nb_ligne'] = $_POST['piclens_wall_nb_ligne']; 71 $me->my_config['piclens_wall_backgroundAlpha'] = $_POST['piclens_wall_backgroundAlpha']; 72 72 73 $me->save_config(); 74 array_push($page['infos'], l10n('piclens_admin_saveOK')); 73 $me->my_config['piclens_wall_backgroundColor'] = $_POST['piclens_wall_backgroundColor']; 74 $me->my_config['piclens_wall_glowColor'] = $_POST['piclens_wall_glowColor']; 75 $me->my_config['piclens_wall_descriptionHeight'] = $_POST['piclens_wall_descriptionHeight']; 76 $me->my_config['piclens_wall_tilt'] = $_POST['piclens_wall_tilt']; 77 78 $me->my_config['piclens_wall_backgroundImage'] = $_POST['piclens_wall_backgroundImage']; 79 $me->my_config['piclens_wall_tutorial'] = $_POST['piclens_wall_tutorial']; 80 $me->my_config['piclens_wall_tutorialtime'] = $_POST['piclens_wall_tutorialtime']; 81 $me->my_config['piclens_wall_customButtonURL'] = $_POST['piclens_wall_customButtonURL']; 82 $me->my_config['piclens_wall_customButtonTARGET'] = $_POST['piclens_wall_customButtonTARGET']; 83 $me->my_config['piclens_wall_icons'] = $_POST['piclens_wall_icons']; 84 $me->my_config['piclens_wall_linkCSS'] = $_POST['piclens_wall_linkCSS']; 85 $me->save_config(); 86 array_push($page['infos'], l10n('piclens_admin_saveOK')); 75 87 76 88 } … … 94 106 'PICLENS_WALL_NB_LIGNE' => $me->my_config['piclens_wall_nb_ligne'], 95 107 'PICLENS_WALL_BACKGROUNDALPHA' => $me->my_config['piclens_wall_backgroundAlpha'], 96 108 109 'PICLENS_WALL_BACKGROUNDCOLOR' => $me->my_config['piclens_wall_backgroundColor'], 110 'PICLENS_WALL_GLOWCOLOR' => $me->my_config['piclens_wall_glowColor'], 111 'PICLENS_WALL_DESCRIPTIONHEIGHT' => $me->my_config['piclens_wall_descriptionHeight'], 112 'PICLENS_WALL_TILT' => $me->my_config['piclens_wall_tilt'], 113 'PICLENS_WALL_BACKGROUNDIMAGE' => $me->my_config['piclens_wall_backgroundImage'], 114 'PICLENS_WALL_TUTORIALTIME' => $me->my_config['piclens_wall_tutorialtime'], 115 'PICLENS_WALL_TUTORIAL' => $me->my_config['piclens_wall_tutorial'], 116 'PICLENS_WALL_CUSTOMBUTTONURL' => $me->my_config['piclens_wall_customButtonURL'], 117 'PICLENS_WALL_CUSTOMBUTTONTARGET' => $me->my_config['piclens_wall_customButtonTARGET'], 118 'PICLENS_WALL_ICONS' => $me->my_config['piclens_wall_icons'], 119 'PICLENS_WALL_LINKCSS' => $me->my_config['piclens_wall_linkCSS'], 120 97 121 )); 98 122 123 $template->assign(array('OTHERS_SCRIPT' => 124 '<script type="text/javascript" src="'.PICLENS_PATH.'farbtastic/farbtastic.js"></script> 125 <link href="'.PICLENS_PATH.'farbtastic/farbtastic.css" rel="stylesheet" type="text/css" />')); 126 99 127 $template->assign_var_from_handle( 'ADMIN_CONTENT', 'plugin_admin_content'); 100 128
Note: See TracChangeset
for help on using the changeset viewer.