Changeset 1550 for trunk/gregarius/cls/alltags.php
- Timestamp:
- 08/28/06 10:05:41 (2 years ago)
- Files:
-
- 1 modified
-
trunk/gregarius/cls/alltags.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/cls/alltags.php
r1544 r1550 67 67 68 68 69 70 69 71 /** 70 72 * Fills the instance data for this object: gets a hold … … 76 78 .getTable('metatag'); 77 79 if($this -> type == 'channel'){ 78 $sql .= " left join " . getTable('channels') . " c on (fid=c.id) ,"80 $sql .= " left join " . getTable('channels') . " c on (fid=c.id) " 79 81 ."inner join " . getTable('tag')." t "." on tid=t.id " 80 82 . " where ttype = 'channel'"; 81 83 }else{ 82 $sql .= " left join ".getTable('item')." i on (fid=i.id) ,"84 $sql .= " left join ".getTable('item')." i on (fid=i.id) " 83 85 ."inner join " . getTable('tag')." t "." on tid=t.id " 84 86 ." where ttype = 'item'"; … … 91 93 } 92 94 93 $sql .= " group by tid order by tag";95 $sql .= " group by tid order by tag"; 94 96 95 97 … … 161 163 $taglink = $this -> makeTagLink($tag); 162 164 $ret .= "\t<a href=\"$taglink\" title=\"$cnt " 163 . ($cnt > 1 || $cnt == 0 ? LBL_ITEMS : LBL_ITEM)."\" style=\"font-size: "165 . ($cnt > 1 || $cnt == 0 ? __('items') : __('item'))."\" style=\"font-size: " 164 166 . (SMALLEST + ($cnt / $fontstep)).UNIT.";\">$tag</a> \n"; 165 167 }
