diff --git a/e107_admin/notify.php b/e107_admin/notify.php index 1dbea55b4..35a11ab08 100644 --- a/e107_admin/notify.php +++ b/e107_admin/notify.php @@ -18,6 +18,26 @@ if (!getperms('O')) e107::coreLan('notify', true); +$js = " + + + function mail_field(val,id) + { + if(val == 'email') + { + document.getElementById(id).style.display =''; + } + else + { + document.getElementById(id).style.display ='none'; + } + } + +"; + + +e107::js('inline', $js); + class plugin_notify_admin extends e_admin_dispatcher { @@ -151,6 +171,8 @@ class plugin_notify_admin_ui extends e_admin_ui else { $legacy = 1; // Legacy Mode. + // $config_category = 'Other'; + // $config_events = array(); } // foreach ($config_events as $event_id => $event_text) @@ -271,7 +293,7 @@ class plugin_notify_admin_ui extends e_admin_ui