From f1db34eebcef28cb0748931153926374f6442be6 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 29 Mar 2011 17:19:12 -0700 Subject: more templates gone --- mod/notifications.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'mod/notifications.php') diff --git a/mod/notifications.php b/mod/notifications.php index 93ca82bb0..ed0831aab 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -65,12 +65,11 @@ function notifications_content(&$a) { else $sql_extra = " AND `ignore` = 0 "; - - $tpl = load_view_file('view/intros-top.tpl'); - $o .= replace_macros($tpl,array( - '$hide_url' => ((strlen($sql_extra)) ? 'notifications/all' : 'notifications' ), - '$hide_text' => ((strlen($sql_extra)) ? t('Show Ignored Requests') : t('Hide Ignored Requests')) - )); + $o .= '

' . t('Pending Friend/Connect Notifications') . '

' . "\r\n"; + + $o .= '
'; + $o .= '' + . ((strlen($sql_extra)) ? t('Show Ignored Requests') : t('Hide Ignored Requests')) . '
' . "\r\n"; $r = q("SELECT COUNT(*) AS `total` FROM `intro` @@ -141,7 +140,7 @@ function notifications_content(&$a) { if ($a->config['register_policy'] == REGISTER_APPROVE && $a->config['admin_email'] === $a->user['email']){ - $o .= load_view_file('view/registrations-top.tpl'); + $o .= '

' . t('User registrations waiting for confirm') . '

' . "\r\n"; $r = q("SELECT `register`.*, `contact`.`name`, `user`.`email` FROM `register` -- cgit v1.2.3