Project

General

Profile

« Previous | Next » 

Revision 3686

Added by barteau almost 17 years ago

Turnkey installer modification: added 'cgi-url' param, replace token 'cgi-prefix' with param 'cgi-url'.

View differences:

lib/style/skins/knb2/resultset.xsl
31 31
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
32 32

  
33 33
  <xsl:output method="html"/>
34
  <xsl:param name="cgi-url" select='string("")'/>
34 35
  <xsl:param name="sessid"/>
35 36
  <xsl:param name="qformat">default</xsl:param>
36 37
  <xsl:param name="enableediting">false</xsl:param>
......
190 191
 	               </input>
191 192
	               </center>
192 193
	             </form>
193
                 <form action="@cgi-prefix@/register-dataset.cgi" 
194
                 <form action="{$cgi-url}/register-dataset.cgi" 
194 195
                       method="POST">
195 196
	               <input type="hidden" name="stage" value="modify"/>	
196 197
	 	           <input type="hidden" name="cfg" value="{$qformat}"/>
......
205 206
 	                 </input>
206 207
	               </center>
207 208
	             </form>
208
                 <form action="@cgi-prefix@/register-dataset.cgi" 
209
                 <form action="{$cgi-url}/register-dataset.cgi" 
209 210
                       method="POST">
210 211
	               <input type="hidden" name="stage" value="delete"/>	
211 212
	 	           <input type="hidden" name="cfg" value="{$qformat}"/>
lib/style/skins/pisco/templates/xsl/resultset.xsl
43 43
    doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
44 44
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
45 45

  
46
  <xsl:param name="cgi-url" select='string("")'/>
46 47
  <xsl:param name="sessid"/>
47 48
  <xsl:param name="enableediting">false</xsl:param>
48 49
  <!-- This parameter gets overidden by the chosen default qformat -->
......
289 290
               </input>
290 291
                    </center>
291 292
                  </form>
292
              <form action="@cgi-prefix@/register-dataset.cgi" 
293
              <form action="{$cgi-url}/register-dataset.cgi" 
293 294
                    method="POST">
294 295
                    <input type="hidden" name="stage" value="modify"/>  
295 296
                   <input type="hidden" name="cfg" value="{$qformat}"/>
......
302 303
                    <input type="SUBMIT"  value=" Edit " name="Edit">
303 304
                 </input>
304 305
                  </form>
305
              <form action="@cgi-prefix@/register-dataset.cgi" 
306
              <form action="{$cgi-url}/register-dataset.cgi" 
306 307
                    method="POST">
307 308
                    <input type="hidden" name="stage" value="delete"/>  
308 309
                   <input type="hidden" name="cfg" value="{$qformat}"/>

Also available in: Unified diff