isset($_POST['shadows']), 'only_fullscreen' => isset($_POST['only_fullscreen']), 'autoplay' => isset($_POST['autoplay']), 'stopautoplayontouch' => isset($_POST['stopautoplayontouch']), 'loop' => isset($_POST['loop']), 'enable_caption' => isset($_POST['enable_caption']), 'replace_picture' => isset($_POST['replace_picture']), 'replace_picture_only_users' => isset($_POST['replace_picture_only_users']), 'clicktransition_crossfade' => isset($_POST['clicktransition_crossfade']), 'close_button' => isset($_POST['close_button']), 'resize' => isset($_POST['resize']), 'info_button' => isset($_POST['info_button']), 'square_thumb' => isset($_POST['square_thumb']), ); if (isset($_POST['allowfullscreen'])) $conf['Fotorama']['allowfullscreen'] = $_POST['allowfullscreen']; if (isset($_POST['fit'])) $conf['Fotorama']['fit'] = $_POST['fit']; if (isset($_POST['transition'])) $conf['Fotorama']['transition'] = $_POST['transition']; if (isset($_POST['nav'])) $conf['Fotorama']['nav'] = $_POST['nav']; if (isset($_POST['fullscreen_nav'])) $conf['Fotorama']['fullscreen_nav'] = $_POST['fullscreen_nav']; if (isset($_POST['thumbheight'])) $conf['Fotorama']['thumbheight'] = $_POST['thumbheight']; if (isset($_POST['period'])) $conf['Fotorama']['period'] = $_POST['period']; conf_update_param('Fotorama', serialize($conf['Fotorama'])); $page['infos'][] = l10n('Information data registered in database'); } $template->assign(array( 'Fotorama' => $conf['Fotorama'], )); $template->set_filename('plugin_admin_content', realpath(FOTORAMA_PATH . 'template/admin.tpl')); $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); ?>