blog->settings->kUtRL; # Default values $show_filters = false; $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : ''; $section = isset($_REQUEST['section']) ? $_REQUEST['section'] : ''; $img_green = ''; $img_red = ''; $header = dcPage::jsLoad('index.php?pf=kUtRL/js/main.js') . '\n" . ''; $footer = '
' . __('Settings') . ' - ' . __('Services') . ' - kUtRL - ' . $core->plugins->moduleInfo('kUtRL','version') . '
'; # Messages $msg = isset($_REQUEST['msg']) ? $_REQUEST['msg'] : ''; $msg_list = [ 'savesetting' => __('Configuration successfully saved'), 'saveservice' => __('Services successfully updated'), 'createlink' => __('Link successfully shorten'), 'deletelinks' => __('Links successfully deleted') ]; if (isset($msg_list[$msg])) { $msg = sprintf(' ', $msg_list[$msg]); } # Pages $start_part = $s->kutrl_active ? 'links' : 'setting'; $default_part = isset($_REQUEST['part']) ? $_REQUEST['part'] : $start_part; if (!file_exists(dirname(__FILE__) . '/inc/index.' . $default_part . '.php')) { $default_part = 'setting'; } include dirname(__FILE__) . '/inc/index.' . $default_part . '.php';