fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7264] property: fix placements of buttons i edit-mod


From: Sigurd Nes
Subject: [Fmsystem-commits] [7264] property: fix placements of buttons i edit-mode
Date: Fri, 06 May 2011 13:08:56 +0000

Revision: 7264
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7264
Author:   sigurdne
Date:     2011-05-06 13:08:55 +0000 (Fri, 06 May 2011)
Log Message:
-----------
property: fix placements of buttons i edit-mode

Modified Paths:
--------------
    trunk/property/templates/base/entity.xsl
    trunk/property/templates/base/location.xsl
    trunk/property/templates/base/tts.xsl

Modified: trunk/property/templates/base/entity.xsl
===================================================================
--- trunk/property/templates/base/entity.xsl    2011-05-06 11:33:10 UTC (rev 
7263)
+++ trunk/property/templates/base/entity.xsl    2011-05-06 13:08:55 UTC (rev 
7264)
@@ -299,19 +299,18 @@
                                                        </div>
                                                </xsl:when>
                                        </xsl:choose>
-
-                                       <xsl:choose>
-                                               <xsl:when test="mode = 'edit'">
-                                                       <table cellpadding="2" 
cellspacing="2" width="80%" align="center">
-                                                               <tr height="50">
-                                                                       <td 
colspan="2" align = "center">
-                                                                               
<xsl:apply-templates select="table_apply"/>
-                                                                       </td>
-                                                               </tr>
-                                                       </table>
-                                               </xsl:when>
-                                       </xsl:choose>
                                </div>
+                               <xsl:choose>
+                                       <xsl:when test="mode = 'edit'">
+                                               <table cellpadding="2" 
cellspacing="2" width="80%" align="center">
+                                                       <tr height="50">
+                                                               <td colspan="2" 
align = "center">
+                                                                       
<xsl:apply-templates select="table_apply"/>
+                                                               </td>
+                                                       </tr>
+                                               </table>
+                                       </xsl:when>
+                               </xsl:choose>
                        </form>
                        <xsl:choose>
                                <xsl:when test="value_id!=''">

Modified: trunk/property/templates/base/location.xsl
===================================================================
--- trunk/property/templates/base/location.xsl  2011-05-06 11:33:10 UTC (rev 
7263)
+++ trunk/property/templates/base/location.xsl  2011-05-06 13:08:55 UTC (rev 
7264)
@@ -557,38 +557,35 @@
                                                        </div>
                                                </xsl:when>
                                        </xsl:choose>
-
-                                       <table cellpadding="2" cellspacing="2" 
width="80%" align="center">
-
-                                               <tr height="50">
-                                                       <xsl:choose>
-                                                               <xsl:when 
test="edit != ''">
-                                                                       <td>
-                                                                               
<xsl:variable name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
-                                                                               
<input type="submit" name="save" value="{$lang_save}">
-                                                                               
        <xsl:attribute name="title">
-                                                                               
                <xsl:value-of select="lang_save_statustext"/>
-                                                                               
        </xsl:attribute>
-                                                                               
</input>
-                                                                       </td>
-                                                               </xsl:when>
-                                                       </xsl:choose>
-                                                       <xsl:choose>
-                                                               <xsl:when 
test="check_history != ''">
-                                                                       <td>
-                                                                               
<xsl:variable name="lang_history"><xsl:value-of 
select="lang_history"/></xsl:variable>
-                                                                               
<input type="submit" name="get_history" value="{$lang_history}">
-                                                                               
        <xsl:attribute name="title">
-                                                                               
                <xsl:value-of select="lang_history_statustext"/>
-                                                                               
        </xsl:attribute>
-                                                                               
</input>
-                                                                       </td>
-                                                               </xsl:when>
-                                                       </xsl:choose>
-                                               </tr>
-                                       </table>
                                </div>
-
+                               <table cellpadding="2" cellspacing="2" 
width="80%" align="center">
+                                       <tr height="50">
+                                               <xsl:choose>
+                                                       <xsl:when test="edit != 
''">
+                                                               <td>
+                                                                       
<xsl:variable name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
+                                                                       <input 
type="submit" name="save" value="{$lang_save}">
+                                                                               
<xsl:attribute name="title">
+                                                                               
        <xsl:value-of select="lang_save_statustext"/>
+                                                                               
</xsl:attribute>
+                                                                       </input>
+                                                               </td>
+                                                       </xsl:when>
+                                               </xsl:choose>
+                                               <xsl:choose>
+                                                       <xsl:when 
test="check_history != ''">
+                                                               <td>
+                                                                       
<xsl:variable name="lang_history"><xsl:value-of 
select="lang_history"/></xsl:variable>
+                                                                       <input 
type="submit" name="get_history" value="{$lang_history}">
+                                                                               
<xsl:attribute name="title">
+                                                                               
        <xsl:value-of select="lang_history_statustext"/>
+                                                                               
</xsl:attribute>
+                                                                       </input>
+                                                               </td>
+                                                       </xsl:when>
+                                               </xsl:choose>
+                                       </tr>
+                               </table>
                        </form>
                        <table>
                                <tr>

Modified: trunk/property/templates/base/tts.xsl
===================================================================
--- trunk/property/templates/base/tts.xsl       2011-05-06 11:33:10 UTC (rev 
7263)
+++ trunk/property/templates/base/tts.xsl       2011-05-06 13:08:55 UTC (rev 
7264)
@@ -1360,33 +1360,23 @@
        <div id="paging_1"></div>
        <div id="datatable-container_1"></div>  
 </div>
-<table cellpadding="2" cellspacing="2" width="80%" align="center">
-       <tr height="50">
-               <td>
-                       <input type="hidden" id="save" name="values[save]" 
value=""></input>
-                       <input type="button" name="save" 
onClick="confirm_session('save');">
-                               <xsl:attribute name="value">
-                                       <xsl:value-of 
select="php:function('lang', 'save')" />
-                               </xsl:attribute>
-                               <xsl:attribute name="title">
-                                       <xsl:value-of 
select="php:function('lang', 'save the ticket')" />
-                               </xsl:attribute>
-                       </input>
-               </td>
-<!--
-                               <td>
-                                       <xsl:variable 
name="lang_save"><xsl:value-of select="php:function('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="php:function('lang', 'save the ticket')" />
-                                               </xsl:attribute>
-                                       </input>
-                               </td>
--->
-                       </tr>
-               </table>
-       </div>
 </div>
+       <table cellpadding="2" cellspacing="2" width="80%" align="center">
+               <tr height="50">
+                       <td>
+                               <input type="hidden" id="save" 
name="values[save]" value=""></input>
+                               <input type="button" name="save" 
onClick="confirm_session('save');">
+                                       <xsl:attribute name="value">
+                                               <xsl:value-of 
select="php:function('lang', 'save')" />
+                                       </xsl:attribute>
+                                       <xsl:attribute name="title">
+                                               <xsl:value-of 
select="php:function('lang', 'save the ticket')" />
+                                       </xsl:attribute>
+                               </input>
+                       </td>
+               </tr>
+       </table>
+</div>
                        </form>
                        <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
                                <tr>




reply via email to

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