Changeset 1730 for trunk/gregarius/cls
- Timestamp:
- 06/09/07 00:15:34 (16 months ago)
- Location:
- trunk/gregarius/cls
- Files:
-
- 3 modified
-
channels.php (modified) (2 diffs)
-
wrappers/feed.php (modified) (1 diff)
-
wrappers/item.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/cls/channels.php
r1727 r1730 88 88 89 89 if (getConfig('rss.output.usemodrewrite')) { 90 $this->rlink = getPath( "/feed/".rss_uri($title)) . "/";90 $this->rlink = getPath(rss_uri($title)) . "/"; 91 91 } else { 92 92 $this->rlink = getPath()."feed.php?channel=$id"; … … 137 137 138 138 function makeFolderUrl($fn) { 139 return getPath( "folder/".139 return getPath( 140 140 preg_replace('#\s#','_',sanitize($fn,RSS_SANITIZER_URL)) 141 141 ) .'/'; -
trunk/gregarius/cls/wrappers/feed.php
r1727 r1730 84 84 85 85 if (getConfig('rss.output.usemodrewrite')) { 86 return getPath(). "/feed/".$GLOBALS['rss']->currentFeed->escapedTitle ."/";86 return getPath().$GLOBALS['rss']->currentFeed->escapedTitle ."/"; 87 87 } 88 88 return getPath()."feed.php?channel=".$GLOBALS['rss']->currentFeed->cid ; -
trunk/gregarius/cls/wrappers/item.php
r1727 r1730 57 57 if ($GLOBALS['rss'] -> currentItem ->escapedTitle != "" && getConfig('rss.output.usemodrewrite')) { 58 58 return getPath() 59 . "/item/".$GLOBALS['rss'] -> currentItem -> parent->escapedTitle59 .$GLOBALS['rss'] -> currentItem -> parent->escapedTitle 60 60 ."/$ply/$plm/$pld/" 61 61 .$GLOBALS['rss'] -> currentItem -> escapedTitle;
