[geeklog-cvs] geeklog-1.3/system/classes search.class.php,1.13,1.14

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Sun Aug 31 13:20:35 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/system/classes
In directory geeklog_prod:/tmp/cvs-serv14259/system/classes

Modified Files:
	search.class.php 
Log Message:
The link for Story Search result now uses $_CONF['site_url'] instead of a relative link to provide the full URL. Created a problem for any plugins sub components that called this class.

Index: search.class.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/system/classes/search.class.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** search.class.php	17 Aug 2003 19:39:41 -0000	1.13
--- search.class.php	31 Aug 2003 17:20:33 -0000	1.14
***************
*** 297,301 ****
                          $articleUrl .= '&query=' . $urlQuery;
                      }
!                     $row = array('<a href="' . $articleUrl . '">' . stripslashes($A['title']) . '</a>',$thetime[0], DB_getItem($_TABLES['users'],'username',"uid = '{$A['uid']}'"), $A['hits']);
                      $story_results->addSearchResult($row);
                      $story_results->num_searchresults++;
--- 297,301 ----
                          $articleUrl .= '&query=' . $urlQuery;
                      }
!                     $row = array('<a href="' .$_CONF['site_url'] .'/'. $articleUrl . '">' . stripslashes($A['title']) . DB_getItem($_TABLES['users'],'username',"uid = '{$A['uid']}'"), $A['hits']);
                      $story_results->addSearchResult($row);
                      $story_results->num_searchresults++;





More information about the geeklog-cvs mailing list