[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.405,1.406
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Sat Dec 18 09:15:39 EST 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv27143/public_html
Modified Files:
lib-common.php
Log Message:
Introduced a {camera_icon} variable in story and comment templates (just like the camera icon in the Who's Online block)
Index: lib-common.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.405
retrieving revision 1.406
diff -C2 -d -r1.405 -r1.406
*** lib-common.php 18 Dec 2004 06:12:42 -0000 1.405
--- lib-common.php 18 Dec 2004 14:15:36 -0000 1.406
***************
*** 2833,2840 ****
--- 2833,2846 ----
. '/images/userphotos/' . $A['photo']
. '" alt="' . $alttext . '">' );
+ $template->set_var( 'camera_icon', '<a href="'
+ . $_CONF['site_url']
+ . '/users.php?mode=profile&uid=' . $A['uid']
+ . '"><img src="' . $_CONF['layout_url']
+ . '/images/smallcamera.gif" border="0" alt=""></a>' );
}
else
{
$template->set_var( 'author_photo', '' );
+ $template->set_var( 'camera_icon', '' );
}
***************
*** 2848,2851 ****
--- 2854,2858 ----
$template->set_var( 'author_fullname', $A['username'] );
$template->set_var( 'author_photo', '' );
+ $template->set_var( 'camera_icon', '' );
$template->set_var( 'start_author_anchortag', '' );
$template->set_var( 'end_author_anchortag', '' );
More information about the geeklog-cvs
mailing list