nav_set_selected('notifications');
+ $json = (($a->argc > 1 && $a->argv[$a->argc - 1] === 'json') ? true : false);
+
+
$o = '';
$tabs = array(
array(
}
else
info( t('No introductions.') . EOL);
-
+
$o .= replace_macros($notif_tpl,array(
'$notif_header' => t('Notifications'),
'$tabs' => $tabs,
$notif_content = '';
- if (count($r) > 0) {
+ if ($r) {
foreach ($r as $it) {
switch($it['verb']){