[geeklog-cvs] geeklog-1.3/public_html/admin moderation.php,1.44,1.45
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Sat Sep 13 04:07:08 EDT 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory geeklog_prod:/tmp/cvs-serv6054
Modified Files:
moderation.php
Log Message:
When approving users, you now have an 'edit' link that takes you to the Admin's user editor for that user. The username now links to the user's profile.
Index: moderation.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/moderation.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** moderation.php 9 Sep 2003 14:06:24 -0000 1.44
--- moderation.php 13 Sep 2003 08:07:05 -0000 1.45
***************
*** 346,353 ****
for ($i = 1; $i <= $nrows; $i++) {
$A = DB_fetchArray($result);
! $mod_templates->set_var('edit_submission_url', $_CONF['site_url'] .
! '/users.php?mode=profile&uid=' . $A['uid']);
! $mod_templates->set_var('lang_edit', $LANG29[4]);
! $mod_templates->set_var('data_col1', stripslashes($A['username']));
$mod_templates->set_var('data_col2', stripslashes($A['fullname']));
$mod_templates->set_var('data_col3', stripslashes($A['email']));
--- 346,356 ----
for ($i = 1; $i <= $nrows; $i++) {
$A = DB_fetchArray($result);
! $mod_templates->set_var ('edit_submission_url',
! $_CONF['site_admin_url'] . '/user.php?mode=edit&uid='
! . $A['uid']);
! $mod_templates->set_var('lang_edit', $LANG29[3]);
! $mod_templates->set_var ('data_col1', '<a href="'
! . $_CONF['site_url'] . '/users.php?mode=profile&uid='
! . $A['uid'] . '">' . stripslashes ($A['username']) . '</a>');
$mod_templates->set_var('data_col2', stripslashes($A['fullname']));
$mod_templates->set_var('data_col3', stripslashes($A['email']));
More information about the geeklog-cvs
mailing list