Update of /cvsroot/phpwebsite-comm/modules/article/inc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7828/inc
Modified Files:
A_mail.php A_update.php
Log Message:
Users' Displaynames are now stored&shown instead of their system usernames
Search Menu now matches on Users' Displaynames, not their Usernames
Index: A_update.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/article/inc/A_update.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** A_update.php 9 Jul 2007 00:18:58 -0000 1.8
--- A_update.php 22 Jan 2008 04:55:07 -0000 1.9
***************
*** 11,15 ****
* @return none
*/
! $this->updated_username = Current_User::getUsername();
$this->updated_date = time();
--- 11,15 ----
* @return none
*/
! $this->updated_username = Current_User::getDisplayName();
$this->updated_date = time();
Index: A_mail.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/article/inc/A_mail.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** A_mail.php 16 Sep 2007 23:15:52 -0000 1.11
--- A_mail.php 22 Jan 2008 04:55:07 -0000 1.12
***************
*** 110,114 ****
$tags['R_MAIL_HELP'] = dgettext('article', 'Separate multiple addresses with commas. Maximum 200 characters.');
$tags['S_NAME_LABEL'] = dgettext('article', 'Your Full Name: (optional)');
! $tags['S_NAME'] = '<input type="text" name="ART_s_name" value="'.Current_User::getUsername().'" maxlength="155" style="width:50%" />';
$tags['S_MAIL_LABEL'] = dgettext('article', 'Your Email Address').':';
$tags['S_MAIL_ADDR'] = '<input type="text" name="ART_s_email" value="'.Current_User::getEmail().'" maxlength="100" style="width:50%" />';
--- 110,114 ----
$tags['R_MAIL_HELP'] = dgettext('article', 'Separate multiple addresses with commas. Maximum 200 characters.');
$tags['S_NAME_LABEL'] = dgettext('article', 'Your Full Name: (optional)');
! $tags['S_NAME'] = '<input type="text" name="ART_s_name" value="'.Current_User::getDisplayName().'" maxlength="155" style="width:50%" />';
$tags['S_MAIL_LABEL'] = dgettext('article', 'Your Email Address').':';
$tags['S_MAIL_ADDR'] = '<input type="text" name="ART_s_email" value="'.Current_User::getEmail().'" maxlength="100" style="width:50%" />';
|