From: <gem...@li...> - 2012-05-30 14:15:53
|
Revision: 710 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=710&view=rev Author: michieltcs Date: 2012-05-30 14:15:42 +0000 (Wed, 30 May 2012) Log Message: ----------- Add base url to layouts to assist PDF generation Modified Paths: -------------- trunk/library/layouts/scripts/gems.phtml trunk/library/layouts/scripts/gemsnew.phtml Modified: trunk/library/layouts/scripts/gems.phtml =================================================================== --- trunk/library/layouts/scripts/gems.phtml 2012-05-30 14:12:36 UTC (rev 709) +++ trunk/library/layouts/scripts/gems.phtml 2012-05-30 14:15:42 UTC (rev 710) @@ -1,6 +1,8 @@ <?php echo $this->doctype(); ?> <html <?php echo 'xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$this->locale.'"' ?> lang="<?php echo $this->locale; ?>"> -<head><?php +<head> + <base href="<?php echo $this->serverUrl() . $this->baseUrl() ?>"/> + <?php echo $this->headMeta(); echo $this->headTitle(); echo $this->headLink(); Modified: trunk/library/layouts/scripts/gemsnew.phtml =================================================================== --- trunk/library/layouts/scripts/gemsnew.phtml 2012-05-30 14:12:36 UTC (rev 709) +++ trunk/library/layouts/scripts/gemsnew.phtml 2012-05-30 14:15:42 UTC (rev 710) @@ -1,6 +1,8 @@ <?php echo $this->doctype(); ?> <html <?php echo 'xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$this->locale.'"' ?> lang="<?php echo $this->locale; ?>"> -<head><?php +<head> + <base href="<?php echo $this->serverUrl() . $this->baseUrl() ?>"/> + <?php echo $this->headMeta(); echo $this->headTitle(); echo $this->headLink(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |