phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/templates/base location.xsl


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/templates/base location.xsl
Date: Wed, 27 Dec 2006 20:39:27 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Changes by:     Sigurd Nes <sigurdne>   06/12/27 20:39:27

Modified files:
        templates/base : location.xsl 

Log message:
        js-links

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/templates/base/location.xsl?cvsroot=phpgroupware&r1=1.13&r2=1.14

Patches:
Index: location.xsl
===================================================================
RCS file: /sources/phpgroupware/property/templates/base/location.xsl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- location.xsl        22 Dec 2006 15:02:12 -0000      1.13
+++ location.xsl        27 Dec 2006 20:39:27 -0000      1.14
@@ -1,4 +1,4 @@
-<!-- $Id: location.xsl,v 1.13 2006/12/22 15:02:12 sigurdne Exp $ -->
+<!-- $Id: location.xsl,v 1.14 2006/12/27 20:39:27 sigurdne Exp $ -->
 
        <xsl:template name="app_data">
                <xsl:choose>
@@ -229,15 +229,15 @@
                        self.name="first_Window";
                        function street_lookup()
                        {
-                               var link = '<xsl:value-of 
select="street_link"/>';
-                               link = link.split("amp;").join("");
-                               
Window1=window.open(link,"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");
+                               var oArgs = {<xsl:value-of 
select="street_link"/>};
+                               var strURL = phpGWLink('index.php', oArgs);
+                               
Window1=window.open(strURL,"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");
                        }               
                        function tenant_lookup()
                        {
-                               var link = '<xsl:value-of 
select="tenant_link"/>';
-                               link = link.split("amp;").join("");
-                               
Window1=window.open(link,"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");
+                               var oArgs = {<xsl:value-of 
select="tenant_link"/>};
+                               var strURL = phpGWLink('index.php', oArgs);
+                               
Window1=window.open(strURL,"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");
                        }               
                </script>
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]