@@ 244-248 (lines=5) @@ | ||
241 | $xoops->tpl()->assign('user_admin', true); |
|
242 | ||
243 | $xoops->tpl()->assign('admin_block', AlumniLocale::ADMIN_PANEL); |
|
244 | if (0 == $moderate_rows) { |
|
245 | $xoops->tpl()->assign('confirm_alumni', AlumniLocale::NO_LISTING_TO_APPROVE); |
|
246 | } else { |
|
247 | $xoops->tpl()->assign('confirm_alumni', AlumniLocale::THERE_ARE . " $moderate_rows " . AlumniLocale::WAITING . '<br><a href="admin/alumni.php?op=list_moderated">' . constant($main_lang . '_SEEIT') . '</a>'); |
|
248 | } |
|
249 | $xoops->tpl()->assign('total_confirm', AlumniLocale::THIS_AND . " $moderate_rows " . AlumniLocale::WAITING); |
|
250 | } |
|
251 | } |
@@ 138-142 (lines=5) @@ | ||
135 | ||
136 | $printA = '<a href="print.php?lid=' . addslashes($lid) . '" target="_blank"><img src="images/print.gif" border=0 alt="' . AlumniLocale::THIS_PRINT . '" width=15 height=11></a> '; |
|
137 | $mailA = "<a href=\"sendfriend.php?op=SendFriend&lid=$lid\"><img src=\"../{$moduleDirName}/images/friend.gif\" border=\"0\" alt=\"" . AlumniLocale::FRIENDSEND . '" width="15" height="11"></a>'; |
|
138 | if ($usid > 0) { |
|
139 | $xoops->tpl()->assign('submitter', AlumniLocale::SUBMITTED_BY . "<a href='" . XOOPS_URL . '/userinfo.php?uid=' . addslashes($usid) . "'>$submitter</a>"); |
|
140 | } else { |
|
141 | $xoops->tpl()->assign('submitter', AlumniLocale::SUBMITTED_BY . "$submitter"); |
|
142 | } |
|
143 | ||
144 | $xoops->tpl()->assign('print', $printA); |
|
145 | $xoops->tpl()->assign('sfriend', $mailA); |