From: Eloi G. <ada...@us...> - 2008-12-18 05:44:36
|
Update of /cvsroot/phpwebsite-comm/modules/article/class In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19917/class Modified Files: Article.php Log Message: Article title links now show the summary in the tooltip Index: Article.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/class/Article.php,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** Article.php 21 Nov 2008 14:16:23 -0000 1.58 --- Article.php 18 Dec 2008 05:44:31 -0000 1.59 *************** *** 639,647 **** * @return HTML */ ! function get_title_link ($id = null, $title = null) { $vars['id'] = ($id)? $id : $this->id; ! $title = (!empty($title))? $title : $this->title; ! return PHPWS_Text::rewriteLink($title, 'article', $vars); } --- 639,652 ---- * @return HTML */ ! function get_title_link ($id = null, $title = null, $summary = null) { $vars['id'] = ($id)? $id : $this->id; ! if (empty($title)) { ! $title = $this->title; ! if (empty($summary)) { ! $summary = $this->summary; ! } ! } ! return PHPWS_Text::rewriteLink($title, 'article', $vars, null, $summary); } |