Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv30534/phpwiki/lib
Modified Files:
Template.php
Log Message:
New function BaseURL, outputs the correct BaseURL in html. (Also temporarily using BaseURL to provide a link to a new style-sheet, phpwiki-printer.css)
Index: Template.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/Template.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Template.php 2001/12/11 22:41:40 1.5
--- Template.php 2001/12/26 10:40:18 1.6
***************
*** 288,292 ****
$this->qreplace('BASE_URL',
// FIXME:
! WikiURL($GLOBALS['pagename'], false, 'absolute_url'));
}
};
--- 288,295 ----
$this->qreplace('BASE_URL',
// FIXME:
! //WikiURL($GLOBALS['pagename'], false, 'absolute_url')
! //added this for phpwiki-printer.css
! BaseURL()
! );
}
};
|