From: Joey Hess Date: Wed, 5 Jan 2011 20:58:27 +0000 (-0400) Subject: add cgitemplate X-Git-Tag: 3.20110105~4 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/4a6ac6b485c7e6e312e42c3c609df693f5e531ec?ds=sidebyside;hp=4a6ac6b485c7e6e312e42c3c609df693f5e531ec add cgitemplate cgitemplate is a modified misctemplate that takes an optional cgi object and uses it to set the baseurl, and also optionally the forcebaseurl, if a page is provided. If no cgi object is provided, it will fall back to using $config{url}. I expect this will only be needed in exceptional cases where that doesn't much matter, such as cgierror(). showform uses cgitemplate, so there is no more need for showform_preview. ---