From 3baf24269fea40785a51c43015e5a03e7065f656 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Tue, 5 Feb 2013 09:10:45 +0000 Subject: [PATCH] Add ablity to extend operator/users.php page with plugins --- src/messenger/webim/operator/users.php | 5 +++++ src/messenger/webim/view/pending_users.php | 13 ++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/messenger/webim/operator/users.php b/src/messenger/webim/operator/users.php index 5ec9d9ff..b119150c 100644 --- a/src/messenger/webim/operator/users.php +++ b/src/messenger/webim/operator/users.php @@ -52,6 +52,11 @@ $page['coreStyles.trackedVisitorWindowParams'] = $style_config['tracked']['visit $page['coreStyles.inviteWindowParams'] = $style_config['invitation']['window_params']; $page['coreStyles.banWindowParams'] = $style_config['ban']['window_params']; +// Get additional files +$page['additional_css'] = get_additional_css('users'); +$page['additional_js'] = get_additional_js('users'); +$page['js_plugin_options'] = get_js_plugin_options('users'); + prepare_menu($operator); start_html_output(); require('../view/pending_users.php'); diff --git a/src/messenger/webim/view/pending_users.php b/src/messenger/webim/view/pending_users.php index 39d759fb..15327739 100644 --- a/src/messenger/webim/view/pending_users.php +++ b/src/messenger/webim/view/pending_users.php @@ -22,6 +22,11 @@ $page['menuid'] = "users"; function tpl_header() { global $page, $webimroot; ?> + + + + + @@ -35,6 +40,11 @@ function tpl_header() { global $page, $webimroot; + + + + +