[geeklog-cvs] geeklog-1.3/public_html users.php,1.72,1.73

tony at geeklog.net tony at geeklog.net
Tue Jan 6 23:48:13 EST 2004


Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory geeklog_prod:/tmp/cvs-serv13164

Modified Files:
	users.php 
Log Message:
now optionally shows profile pictures using getimage.php

Index: users.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/users.php,v
retrieving revision 1.72
retrieving revision 1.73
diff -C2 -d -r1.72 -r1.73
*** users.php	2 Jan 2004 20:58:26 -0000	1.72
--- users.php	7 Jan 2004 04:48:11 -0000	1.73
***************
*** 106,110 ****
      $user_templates->set_var('username', $A['username']);
      if (!empty($A['photo']) AND $_CONF['allow_user_photo'] == 1) {
!         $user_templates->set_var('user_photo','<img src="' . $_CONF['site_url'] . '/images/userphotos/' . $A['photo'] . '" alt="">');
      } else {
          $user_templates->set_var('user_photo','');
--- 106,114 ----
      $user_templates->set_var('username', $A['username']);
      if (!empty($A['photo']) AND $_CONF['allow_user_photo'] == 1) {
!         if (strstr($_CONF['path_images'], $_CONF['path_html'])) {
!             $user_templates->set_var('user_photo','<img src="' . $_CONF['site_url'] . '/images/userphotos/' . $A['photo'] . '" alt="">');
!         } else {
!             $user_templates->set_var('user_photo','<img src="' . $_CONF['site_url'] . '/getimage.php?mode=userphotos&image=' . $A['photo'] . '" alt="">');
!         }
      } else {
          $user_templates->set_var('user_photo','');





More information about the geeklog-cvs mailing list