[freeside-commits] freeside/httemplate/elements xmlhttp.html, 1.8, 1.9

Ivan,,, ivan at wavetail.420.am
Wed Aug 1 12:22:54 PDT 2007


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail:/tmp/cvs-serv10624

Modified Files:
	xmlhttp.html 
Log Message:
masonization

Index: xmlhttp.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/xmlhttp.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- xmlhttp.html	23 Aug 2006 22:25:38 -0000	1.8
+++ xmlhttp.html	1 Aug 2007 19:22:52 -0000	1.9
@@ -1,17 +1,3 @@
-%
-%  my ( %opt ) = @_;
-%
-%  my $url = $opt{'url'};
-%  my $method = exists($opt{'method'}) ? $opt{'method'} : 'GET';
-%  #my @subs = @{ $opt{'subs'};
-%  my $key = exists($opt{'key'}) ? $opt{'key'} : '';
-%
-%  $url .= ( ($url =~ /\?/) ? '&' : '?' )
-%    if $method eq 'GET';
-%
-%
-
-
 <SCRIPT TYPE="text/javascript">
 
   function rs_init_object() {
@@ -109,3 +95,15 @@
 
 
 </SCRIPT>
+<%init>
+my ( %opt ) = @_;
+
+my $url = $opt{'url'};
+my $method = exists($opt{'method'}) ? $opt{'method'} : 'GET';
+#my @subs = @{ $opt{'subs'};
+my $key = exists($opt{'key'}) ? $opt{'key'} : '';
+
+$url .= ( ($url =~ /\?/) ? '&' : '?' )
+  if $method eq 'GET';
+
+</%init>



More information about the freeside-commits mailing list