[geeklog-cvs] geeklog-1.3/system lib-story.php,1.12,1.13
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Sat Dec 18 09:15:38 EST 2004
Update of /var/cvs/geeklog-1.3/system
In directory www:/tmp/cvs-serv27143/system
Modified Files:
lib-story.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-story.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/lib-story.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** lib-story.php 10 Dec 2004 09:19:50 -0000 1.12
--- lib-story.php 18 Dec 2004 14:15:36 -0000 1.13
***************
*** 130,134 ****
--- 130,149 ----
. $_CONF['site_url'] . '/images/userphotos/' . $photo
. '" alt="' . $altname . '">' );
+ $article->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
+ {
+ $article->set_var( 'contributedby_photo', '' );
+ $article->set_var( 'camera_icon', '' );
+ }
+ }
+ else
+ {
+ $article->set_var( 'contributedby_photo', '' );
+ $article->set_var( 'camera_icon', '' );
}
}
More information about the geeklog-cvs
mailing list