|
@@ 10-13 (lines=4) @@
|
| 7 |
|
$hNotification =& xhelpGetHandler('notification'); |
| 8 |
|
|
| 9 |
|
global $xoopsModule; |
| 10 |
|
if(!$templates =& $_xhelpSession->get("xhelp_notifications")){ |
| 11 |
|
$templates =& $xoopsModule->getInfo('_email_tpl'); |
| 12 |
|
$_xhelpSession->set("xhelp_notifications", $templates); |
| 13 |
|
} |
| 14 |
|
$has_notifications = count($templates); |
| 15 |
|
|
| 16 |
|
$aStaffSettings = array('2' => _AM_XHELP_STAFF_SETTING2, // '1' => _AM_XHELP_STAFF_SETTING1, -- removed because we don't need it |
|
@@ 110-113 (lines=4) @@
|
| 107 |
|
} |
| 108 |
|
|
| 109 |
|
// Retrieve list of email templates |
| 110 |
|
if(!$templates =& $_xhelpSession->get("xhelp_notifications")){ |
| 111 |
|
$templates =& $xoopsModule->getInfo('_email_tpl'); |
| 112 |
|
$_xhelpSession->set("xhelp_notifications", $templates); |
| 113 |
|
} |
| 114 |
|
$notification = $aNotifications[$id]; |
| 115 |
|
|
| 116 |
|
$staff_settings = xhelpGetMeta("notify_staff{$id}"); |