[Wuug-cvs] wuug wuug.class.php,1.13,1.14
Status: Inactive
Brought to you by:
loginx
From: <lo...@us...> - 2003-01-15 05:05:07
|
Update of /cvsroot/wuug/wuug In directory sc8-pr-cvs1:/tmp/cvs-serv1833 Modified Files: wuug.class.php Log Message: More bugfixes Index: wuug.class.php =================================================================== RCS file: /cvsroot/wuug/wuug/wuug.class.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** wuug.class.php 15 Jan 2003 03:44:21 -0000 1.13 --- wuug.class.php 15 Jan 2003 05:05:04 -0000 1.14 *************** *** 380,384 **** require "config.inc.php"; ! $query = "SELECT id FROM `" . $cf[tables][links] . "` ORDER BY " . $cf[tables][links] . ".category DESC"; $datalink = wuug_dbconnect(); $result = $datalink->getAll($query, DB_FETCHMODE_ASSOC); --- 380,384 ---- require "config.inc.php"; ! $query = "SELECT id FROM `" . $cf[tables][links] . "` ORDER BY category DESC"; $datalink = wuug_dbconnect(); $result = $datalink->getAll($query, DB_FETCHMODE_ASSOC); *************** *** 448,452 **** $query = " SELECT " . $a . ".name, " . $a . ".uri, " . $b . ".text AS category, " . $a . ".id as ID ! FROM `$a`, `$b`, `$c` WHERE " . $a . ".id = " . $id . " AND " . $b . ".id = " . $a . ".category --- 448,452 ---- $query = " SELECT " . $a . ".name, " . $a . ".uri, " . $b . ".text AS category, " . $a . ".id as ID ! FROM `$a`, `$b` WHERE " . $a . ".id = " . $id . " AND " . $b . ".id = " . $a . ".category *************** *** 495,499 **** if ($id) { $this->pop($id); } ?> ! <a href="<?=$this->uri?>"><?=$this->name?></a> - <?=$this->tooltip?><br> <? } --- 495,499 ---- if ($id) { $this->pop($id); } ?> ! <acronym title="<?=$this->tooltip?>"><a href="<?=$this->uri?>"><?=$this->name . " (" . $this->uri . ")"?></a></acronym><br> <? } |