[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13070] uicustom.php.xsl
From: |
Saul |
Subject: |
[Fmsystem-commits] [13070] uicustom.php.xsl |
Date: |
Wed, 22 Apr 2015 22:21:03 +0000 |
Revision: 13070
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13070
Author: psaul
Date: 2015-04-22 22:21:02 +0000 (Wed, 22 Apr 2015)
Log Message:
-----------
uicustom.php.xsl
Modified Paths:
--------------
branches/dev-syncromind/property/templates/base/custom.xsl
Modified: branches/dev-syncromind/property/templates/base/custom.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/custom.xsl 2015-04-22
22:20:36 UTC (rev 13069)
+++ branches/dev-syncromind/property/templates/base/custom.xsl 2015-04-22
22:21:02 UTC (rev 13070)
@@ -124,143 +124,154 @@
<!-- add / edit -->
<xsl:template match="edit">
- <xsl:variable name="edit_url">
- <xsl:value-of select="edit_url"/>
- </xsl:variable>
- <div align="left">
- <form name="form" method="post" action="{$edit_url}">
- <table cellpadding="2" cellspacing="2"
width="50%" align="center">
- <xsl:choose>
- <xsl:when test="msgbox_data !=
''">
- <tr>
- <td
align="left" colspan="3">
-
<xsl:call-template name="msgbox"/>
- </td>
- </tr>
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when
test="value_custom_id!=''">
- <tr>
- <td width="25%"
align="left">
-
<xsl:value-of select="lang_custom_id"/>
- </td>
- <td width="75%"
align="left">
-
<xsl:value-of select="value_custom_id"/>
- </td>
- </tr>
- </xsl:when>
- </xsl:choose>
- <tr align="left">
- <td valign="top">
- <xsl:value-of
select="lang_name"/>
- </td>
- <td align="left">
- <input type="text"
name="values[name]" value="{value_name}" onMouseout="window.status='';return
true;">
- <xsl:attribute
name="title">
-
<xsl:value-of select="lang_name_statustext"/>
- </xsl:attribute>
- </input>
- </td>
- </tr>
- <tr align="left">
- <td valign="top">
- <xsl:value-of
select="lang_sql_text"/>
- </td>
- <td align="left">
- <textarea cols="60"
rows="6" name="values[sql_text]" onMouseout="window.status='';return true;">
- <xsl:attribute
name="title">
-
<xsl:value-of select="lang_sql_statustext"/>
- </xsl:attribute>
- <xsl:value-of
select="value_sql_text"/>
- </textarea>
- </td>
- </tr>
- <xsl:choose>
- <xsl:when test="value_custom_id
!= ''">
- <tr>
- <td
valign="top">
-
<xsl:value-of select="lang_columns"/>
- </td>
- <td align="">
-
<!--xsl:call-template name="columns"/-->
- <div
class="pure-custom">
-
<xsl:for-each select="datatable_def">
-
<xsl:if test="container = 'datatable-container_0'">
-
<xsl:call-template name="table_setup">
-
<xsl:with-param name="container" select ='container'/>
-
<xsl:with-param name="requestUrl" select ='requestUrl' />
-
<xsl:with-param name="ColumnDefs" select ='ColumnDefs' />
-
<xsl:with-param name="tabletools" select ='tabletools' />
-
<xsl:with-param name="data" select ='data' />
-
<xsl:with-param name="config" select ='config' />
-
</xsl:call-template>
-
</xsl:if>
-
</xsl:for-each>
- </div>
-
- <div
class="pure-control-group">
-
<label for="name">
-
<xsl:value-of select="lang_name"/>
-
</label>
-
<input type="text" name="values[new_name]" onMouseout="window.status='';return
true;">
-
<xsl:attribute name="title">
-
<xsl:value-of select="lang_new_name_statustext"/>
-
</xsl:attribute>
-
</input>
- </div>
-
- <div
class="pure-control-group" align="right">
-
<label for="name">
-
<xsl:value-of select="lang_descr"/>
-
</label>
-
<input type="text" name="values[new_descr]" onMouseout="window.status='';return
true;">
-
<xsl:attribute name="title">
-
<xsl:value-of select="lang_new_descr_statustext"/>
-
</xsl:attribute>
-
</input>
- </div>
- </td>
- </tr>
- </xsl:when>
- </xsl:choose>
- <tr height="50">
- <td valign="bottom">
- <xsl:variable
name="lang_save">
- <xsl:value-of
select="lang_save"/>
- </xsl:variable>
- <input type="submit"
name="values[save]" value="{$lang_save}" onMouseout="window.status='';return
true;">
- <xsl:attribute
name="title">
-
<xsl:value-of select="lang_save_statustext"/>
- </xsl:attribute>
- </input>
- </td>
- <td valign="bottom">
- <xsl:variable
name="lang_apply">
- <xsl:value-of
select="lang_apply"/>
- </xsl:variable>
- <input type="submit"
name="values[apply]" value="{$lang_apply}" onMouseout="window.status='';return
true;">
- <xsl:attribute
name="title">
-
<xsl:value-of select="lang_apply_statustext"/>
- </xsl:attribute>
- </input>
- </td>
- <td align="right"
valign="bottom">
- <xsl:variable
name="lang_cancel">
- <xsl:value-of
select="lang_cancel"/>
- </xsl:variable>
- <input type="submit"
name="values[cancel]" value="{$lang_cancel}"
onMouseout="window.status='';return true;">
- <xsl:attribute
name="onMouseover">
-
<xsl:text>window.status='</xsl:text>
-
<xsl:value-of select="lang_cancel_statustext"/>
-
<xsl:text>'; return true;</xsl:text>
- </xsl:attribute>
- </input>
- </td>
- </tr>
- </table>
- </form>
- </div>
+ <script type="text/javascript">
+ self.name="first_Window";
+ <xsl:value-of select="lookup_functions"/>
+ </script>
+ <div id="tab-content">
+ <xsl:value-of disable-output-escaping="yes" select="tabs"/>
+ <div class="yui-content">
+ <div id="general">
+ <xsl:variable name="edit_url">
+ <xsl:value-of select="edit_url"/>
+ </xsl:variable>
+ <div align="left">
+ <form name="form" class="pure-form
pure-form-aligned" method="post" action="{$edit_url}">
+ <table cellpadding="2" cellspacing="2"
width="50%" align="center">
+ <xsl:choose>
+ <xsl:when
test="msgbox_data != ''">
+ <tr>
+ <td
align="left" colspan="3">
+
<xsl:call-template name="msgbox"/>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when
test="value_custom_id!=''">
+ <tr>
+ <td
width="25%" align="left">
+
<xsl:value-of select="lang_custom_id"/>
+ </td>
+ <td
width="75%" align="left">
+
<xsl:value-of select="value_custom_id"/>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ <tr align="left">
+ <td valign="top">
+ <xsl:value-of
select="lang_name"/>
+ </td>
+ <td align="left">
+ <input
type="text" name="values[name]" value="{value_name}"
onMouseout="window.status='';return true;">
+
<xsl:attribute name="title">
+
<xsl:value-of select="lang_name_statustext"/>
+
</xsl:attribute>
+ </input>
+ </td>
+ </tr>
+ <tr align="left">
+ <td valign="top">
+ <xsl:value-of
select="lang_sql_text"/>
+ </td>
+ <td align="left">
+ <textarea
cols="60" rows="6" name="values[sql_text]" onMouseout="window.status='';return
true;">
+
<xsl:attribute name="title">
+
<xsl:value-of select="lang_sql_statustext"/>
+
</xsl:attribute>
+
<xsl:value-of select="value_sql_text"/>
+ </textarea>
+ </td>
+ </tr>
+ <xsl:choose>
+ <xsl:when
test="value_custom_id != ''">
+ <tr>
+ <td
valign="top">
+
<xsl:value-of select="lang_columns"/>
+ </td>
+ <td
align="">
+
<!--xsl:call-template name="columns"/-->
+
<div class="pure-custom">
+
<xsl:for-each select="datatable_def">
+
<xsl:if test="container = 'datatable-container_0'">
+
<xsl:call-template name="table_setup">
+
<xsl:with-param name="container" select
='container'/>
+
<xsl:with-param name="requestUrl" select
='requestUrl' />
+
<xsl:with-param name="ColumnDefs" select
='ColumnDefs' />
+
<xsl:with-param name="tabletools" select
='tabletools' />
+
<xsl:with-param name="data" select ='data' />
+
<xsl:with-param name="config" select ='config' />
+
</xsl:call-template>
+
</xsl:if>
+
</xsl:for-each>
+
</div>
+
+
<div class="pure-control-group">
+
<label for="name">
+
<xsl:value-of select="lang_name"/>
+
</label>
+
<input type="text" name="values[new_name]"
onMouseout="window.status='';return true;">
+
<xsl:attribute name="title">
+
<xsl:value-of select="lang_new_name_statustext"/>
+
</xsl:attribute>
+
</input>
+
</div>
+
+
<div class="pure-control-group" align="right">
+
<label for="name">
+
<xsl:value-of select="lang_descr"/>
+
</label>
+
<input type="text" name="values[new_descr]"
onMouseout="window.status='';return true;">
+
<xsl:attribute name="title">
+
<xsl:value-of select="lang_new_descr_statustext"/>
+
</xsl:attribute>
+
</input>
+
</div>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ <tr height="50">
+ <td valign="bottom">
+ <xsl:variable
name="lang_save">
+
<xsl:value-of select="lang_save"/>
+ </xsl:variable>
+ <input
type="submit" class="pure-button pure-button-primary" name="values[save]"
value="{$lang_save}" onMouseout="window.status='';return true;">
+
<xsl:attribute name="title">
+
<xsl:value-of select="lang_save_statustext"/>
+
</xsl:attribute>
+ </input>
+ </td>
+ <td valign="bottom">
+ <xsl:variable
name="lang_apply">
+
<xsl:value-of select="lang_apply"/>
+ </xsl:variable>
+ <input
type="submit" class="pure-button pure-button-primary" name="values[apply]"
value="{$lang_apply}" onMouseout="window.status='';return true;">
+
<xsl:attribute name="title">
+
<xsl:value-of select="lang_apply_statustext"/>
+
</xsl:attribute>
+ </input>
+ </td>
+ <td align="right"
valign="bottom">
+ <xsl:variable
name="lang_cancel">
+
<xsl:value-of select="lang_cancel"/>
+ </xsl:variable>
+ <input
type="submit" class="pure-button pure-button-primary" name="values[cancel]"
value="{$lang_cancel}" onMouseout="window.status='';return true;">
+
<xsl:attribute name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_cancel_statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+
</xsl:attribute>
+ </input>
+ </td>
+ </tr>
+ </table>
+ </form>
+ </div>
+ </div>
+ </div>
+ </div>
</xsl:template>
<!-- view -->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13070] uicustom.php.xsl,
Saul <=