diff --git a/e107_plugins/clock_menu/config.php b/e107_plugins/clock_menu/config.php index f8ef02df1..1d06fab8b 100644 --- a/e107_plugins/clock_menu/config.php +++ b/e107_plugins/clock_menu/config.php @@ -2,29 +2,18 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2013 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * - * Plugin Administration - Comment menu + * Plugin Administration - Clock menu * - * $Source: /cvs_backup/e107_0.8/e107_plugins/clock_menu/config.php,v $ - * $Revision$ - * $Date$ - * $Author$ * -*/ - -/** - * e107 Clock display menu plugin - * - * Handles the display of a clock/calendar in a menu - * - * @package e107_plugins - * @subpackage clock - * @version $Id$; + * $URL$ + * $Id$ */ + $eplug_admin = TRUE; require_once('../../class2.php'); if (!getperms('1')) @@ -34,8 +23,12 @@ if (!getperms('1')) } require_once(e_ADMIN.'auth.php'); include_lan(e_PLUGIN.'clock_menu/languages/admin/'.e_LANGUAGE.'.php'); + require_once(e_HANDLER.'form_handler.php'); +require_once(e_HANDLER.'message_handler.php'); $rs = new form; +$frm = e107::getForm(); +$mes = e107::getMessage(); $menu_pref = e107::getConfig('menu')->getPref(''); if (isset($_POST['update_menu'])) @@ -61,73 +54,60 @@ if (isset($_POST['update_menu'])) } $menuPref->save(false, true, false); } - $ns->tablerender('', "