[geeklog-cvs] geeklog-1.3/public_html profiles.php,1.36,1.37

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Thu Oct 7 17:10:25 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv23969/public_html

Modified Files:
	profiles.php 
Log Message:
In the light of bug #293, avoid using variables in the language files.


Index: profiles.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/profiles.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** profiles.php	9 Aug 2004 18:36:29 -0000	1.36
--- profiles.php	7 Oct 2004 21:10:23 -0000	1.37
***************
*** 240,246 ****
   	$A = DB_fetchArray ($result);
      $shortmsg = COM_stripslashes ($shortmsg);
!  	$mailtext = $LANG08[23] . LB;
  	if (strlen ($shortmsg) > 0) {
! 		$mailtext .= LB . $LANG08[28] . LB;
  	}
      $mailtext .= '------------------------------------------------------------'
--- 240,246 ----
   	$A = DB_fetchArray ($result);
      $shortmsg = COM_stripslashes ($shortmsg);
!  	$mailtext = sprintf ($LANG08[23], $from, $fromemail) . LB;
  	if (strlen ($shortmsg) > 0) {
! 		$mailtext .= LB . sprintf ($LANG08[28], $from) . $shortmsg . LB;
  	}
      $mailtext .= '------------------------------------------------------------'




More information about the geeklog-cvs mailing list