From: Geoffrey T. D. <da...@us...> - 2001-12-11 22:45:41
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv11353/lib Modified Files: Request.php Log Message: Set RSS channel title from new config var WIKI_NAME. Added "RSS" icon (which links to RSSified RecentChanges) to the HTML version of RecentChanges. Index: Request.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/Request.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** Request.php 2001/12/11 18:41:03 1.5 --- Request.php 2001/12/11 22:45:38 1.6 *************** *** 59,62 **** --- 59,74 ---- } + function getURLtoSelf($args = false) { + $get_args = $this->args; + if ($args) + $get_args = array_merge($get_args, $args); + + unset ($get_args['pagename']); + if ($get_args['action'] == 'browse') + unset($get_args['action']); + + return WikiURL($this->getArg('pagename'), $get_args); + } + function redirect($url) { |