if ($request->getParameter('btn_add')) {
// The Add button clicked. Redirect to notification_add.php page.
header('Location: notification_add.php');
exit();
}
} else {
if ($request->getParameter('btn_add')) {
// The Add button clicked. Redirect to notification_add.php page.
header('Location: notification_add.php');
exit();
}
} else {
$notifications = ttTeamHelper::getNotifications($user->team_id);
}
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
$smarty->assign('notifications', $notifications);
$notifications = ttTeamHelper::getNotifications($user->team_id);
}
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
$smarty->assign('notifications', $notifications);
$smarty->assign('content_page_name', 'notifications.tpl');
$smarty->display('index.tpl');
$smarty->assign('content_page_name', 'notifications.tpl');
$smarty->display('index.tpl');