From 62ab3ce897ece41689c0f5e7112a77afaca3ae0b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 25 Apr 2016 07:23:36 +0000 Subject: [PATCH] using new et2 site config --- notifications/inc/hook_admin.inc.php | 32 +++++----- notifications/templates/default/config.tpl | 69 ---------------------- notifications/templates/default/config.xet | 47 +++++++++++++++ 3 files changed, 63 insertions(+), 85 deletions(-) delete mode 100644 notifications/templates/default/config.tpl create mode 100644 notifications/templates/default/config.xet diff --git a/notifications/inc/hook_admin.inc.php b/notifications/inc/hook_admin.inc.php index fde6c0ffda..752b053899 100644 --- a/notifications/inc/hook_admin.inc.php +++ b/notifications/inc/hook_admin.inc.php @@ -1,17 +1,17 @@ - * @version $Id: hook_preferences.inc.php 22498 2006-09-25 10:20:46Z jaytraxx $ - */ - - $file = Array( 'Site Configuration' => $GLOBALS['egw']->link('/index.php', array( - 'menuaction' => 'admin.uiconfig.index', - 'appname' => $appname, - ))); - display_section($appname,$file); -?> +/** + * EGroupware - Notifications + * + * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License + * @package notifications + * @link http://www.egroupware.org + * @author Christian Binder + * @version $Id: hook_preferences.inc.php 22498 2006-09-25 10:20:46Z jaytraxx $ + */ + +$file = Array( 'Site Configuration' => egw::link('/index.php', array( + 'menuaction' => 'admin.admin_config.index', + 'appname' => $appname, + 'ajax' => 'true', +))); +display_section($appname,$file); diff --git a/notifications/templates/default/config.tpl b/notifications/templates/default/config.tpl deleted file mode 100644 index b7bce6bb33..0000000000 --- a/notifications/templates/default/config.tpl +++ /dev/null @@ -1,69 +0,0 @@ - -
-{hidden_vars} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 {title}
 {error}
 {lang_EGroupware-Popup_backend}
{lang_Poll_interval} - -
 {lang_Windows-Popup_backend}
{lang_Enable_Windows-Popup_backend} - -
{lang_Signature}
{lang_Signature_added_to_every_change_notification}
{lang_You_can_also_use} {lang_addressbook} {lang_placeholders_with_user/_prefix}
- - -
-
- diff --git a/notifications/templates/default/config.xet b/notifications/templates/default/config.xet new file mode 100644 index 0000000000..320893b70f --- /dev/null +++ b/notifications/templates/default/config.xet @@ -0,0 +1,47 @@ + + + + + +