blog->settings->kUtRL; # Default values $show_filters = false; $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : ''; $section = isset($_REQUEST['section']) ? $_REQUEST['section'] : ''; $img_green = 'ok'; $img_red = 'fail'; $header = dcPage::jsLoad('index.php?pf=kUtRL/js/main.js'). '\n". ''; $footer = '

'.__('Settings').' - '.__('Services').' - kUtRL - '.$core->plugins->moduleInfo('kUtRL','version').'  '.__('kUtRL').'

kUtRL, '.__('Links shortener').' | http://kutrl.fr

'; # Messages $msg = isset($_REQUEST['msg']) ? $_REQUEST['msg'] : ''; $msg_list = array( 'savesetting' => __('Configuration successfully saved'), 'saveservice' => __('Services successfully updated'), 'createlink' => __('Link successfully shorten'), 'deletelinks' => __('Links successfully deleted') ); if (isset($msg_list[$msg])) { $msg = sprintf('

%s

',$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'; ?>