[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12556] switch to TINY.box
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [12556] switch to TINY.box |
Date: |
Wed, 07 Jan 2015 15:20:57 +0000 |
Revision: 12556
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12556
Author: sigurdne
Date: 2015-01-07 15:20:56 +0000 (Wed, 07 Jan 2015)
Log Message:
-----------
switch to TINY.box
Modified Paths:
--------------
branches/dev-syncromind/property/templates/base/attributes_form.xsl
branches/dev-syncromind/property/templates/pure/b_account_form.xsl
branches/dev-syncromind/property/templates/pure/contact_form.xsl
branches/dev-syncromind/property/templates/pure/ecodimb_form.xsl
Modified: branches/dev-syncromind/property/templates/base/attributes_form.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/attributes_form.xsl
2015-01-07 15:19:07 UTC (rev 12555)
+++ branches/dev-syncromind/property/templates/base/attributes_form.xsl
2015-01-07 15:20:56 UTC (rev 12556)
@@ -5,6 +5,13 @@
<!-- New template-->
<xsl:template xmlns:php="http://php.net/xsl" name="attributes_values">
+ <script type="text/javascript">
+ help_Popup = function(requestUrl)
+ {
+ TINY.box.show({iframe:requestUrl,
boxid:"frameless",width:750,height:450,fixed:false,maskid:"darkmask",maskopacity:40,
mask:true, animate:true, close: true});
+ };
+ </script>
+
<xsl:for-each select="attributes_group">
<div id="{link}">
<fieldset>
@@ -42,7 +49,7 @@
<xsl:variable
name="help_url">
<xsl:value-of select="help_url"/>
</xsl:variable>
- <a
href="javascript:var
w=window.open('{$help_url}','','left=50,top=100,width=550,height=400,scrollbars')">
+ <a
href="javascript:help_Popup('{$help_url}');">
<xsl:text>[</xsl:text>
<xsl:value-of select="input_text"/>
<xsl:text>]</xsl:text>
@@ -89,7 +96,7 @@
<xsl:call-template
name="choice"/>
</xsl:when>
<xsl:when test="datatype='LB'">
- <select id="id_{name}"
name="values_attribute[{counter}][value]" class="forms">
+ <select id="id_{name}"
name="values_attribute[{counter}][value]">
<xsl:choose>
<xsl:when test="disabled!=''">
<xsl:attribute name="disabled">
@@ -272,7 +279,7 @@
</input>
</xsl:when>
<xsl:when
test="datatype='custom1'">
- <select
name="values_attribute[{counter}][value]" class="forms">
+ <select
name="values_attribute[{counter}][value]">
<xsl:choose>
<xsl:when test="disabled!=''">
<xsl:attribute name="disabled">
@@ -347,20 +354,18 @@
<xsl:text>_container</xsl:text>
</xsl:variable>
- <div
class="autocomplete">
- <input
id="{$custom_id}" name="values_attribute[{counter}][value]" type="hidden"
value="{value}">
- </input>
- <input
id="{$custom_name}" name="{$custom_name}" type="text" value="{custom_name}">
-
<xsl:choose>
-
<xsl:when test="disabled!=''">
-
<xsl:attribute name="disabled">
-
<xsl:text> disabled</xsl:text>
-
</xsl:attribute>
-
</xsl:when>
-
</xsl:choose>
- </input>
- <div
id="{$custom_container}"/>
- </div>
+ <input
id="{$custom_id}" name="values_attribute[{counter}][value]" type="hidden"
value="{value}">
+ </input>
+ <input
id="{$custom_name}" name="{$custom_name}" type="text" value="{custom_name}">
+ <xsl:choose>
+
<xsl:when test="disabled!=''">
+
<xsl:attribute name="disabled">
+
<xsl:text> disabled</xsl:text>
+
</xsl:attribute>
+
</xsl:when>
+ </xsl:choose>
+ </input>
+ <div
id="{$custom_container}"/>
</xsl:when>
<xsl:when
test="datatype='user'">
<xsl:variable
name="user_name">
Modified: branches/dev-syncromind/property/templates/pure/b_account_form.xsl
===================================================================
--- branches/dev-syncromind/property/templates/pure/b_account_form.xsl
2015-01-07 15:19:07 UTC (rev 12555)
+++ branches/dev-syncromind/property/templates/pure/b_account_form.xsl
2015-01-07 15:20:56 UTC (rev 12556)
@@ -7,10 +7,9 @@
<!-- New template-->
<xsl:template match="b_account_data">
<script type="text/javascript">
- self.name="first_Window";
function b_account_lookup()
{
- Window1=window.open('<xsl:value-of
select="b_account_link"/>',"Search","left=50,top=100,width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");
+ TINY.box.show({iframe:'<xsl:value-of
select="b_account_link"/>',
boxid:"frameless",width:750,height:450,fixed:false,maskid:"darkmask",maskopacity:40,
mask:true, animate:true, close: true});
}
</script>
<xsl:choose>
Modified: branches/dev-syncromind/property/templates/pure/contact_form.xsl
===================================================================
--- branches/dev-syncromind/property/templates/pure/contact_form.xsl
2015-01-07 15:19:07 UTC (rev 12555)
+++ branches/dev-syncromind/property/templates/pure/contact_form.xsl
2015-01-07 15:20:56 UTC (rev 12556)
@@ -7,10 +7,9 @@
<!-- New template-->
<xsl:template match="contact_data">
<script type="text/javascript">
- self.name="first_Window";
function <xsl:value-of select="field"/>_contact_lookup()
{
- Window1=window.open('<xsl:value-of
select="contact_link"/>',"Search","left=50,top=100,width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");
+ TINY.box.show({iframe:'<xsl:value-of
select="contact_link"/>',
boxid:"frameless",width:750,height:450,fixed:false,maskid:"darkmask",maskopacity:40,
mask:true, animate:true, close: true});
}
</script>
<div class="pure-control-group">
Modified: branches/dev-syncromind/property/templates/pure/ecodimb_form.xsl
===================================================================
--- branches/dev-syncromind/property/templates/pure/ecodimb_form.xsl
2015-01-07 15:19:07 UTC (rev 12555)
+++ branches/dev-syncromind/property/templates/pure/ecodimb_form.xsl
2015-01-07 15:20:56 UTC (rev 12556)
@@ -7,10 +7,9 @@
<!-- New template-->
<xsl:template match="ecodimb_data">
<script type="text/javascript">
- self.name="first_Window";
function ecodimb_lookup()
{
- Window1=window.open('<xsl:value-of
select="ecodimb_url"/>',"Search","left=50,top=100,width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");
+ TINY.box.show({iframe:'<xsl:value-of
select="ecodimb_url"/>',
boxid:"frameless",width:750,height:450,fixed:false,maskid:"darkmask",maskopacity:40,
mask:true, animate:true, close: true});
}
</script>
<xsl:choose>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12556] switch to TINY.box,
Sigurd Nes <=