fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10305] Logistic: Changed link on cancel button


From: Torstein
Subject: [Fmsystem-commits] [10305] Logistic: Changed link on cancel button
Date: Tue, 23 Oct 2012 09:08:34 +0000

Revision: 10305
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10305
Author:   vator
Date:     2012-10-23 09:08:34 +0000 (Tue, 23 Oct 2012)
Log Message:
-----------
Logistic: Changed link on cancel button

Modified Paths:
--------------
    trunk/logistic/templates/base/activity/activity_item.xsl

Modified: trunk/logistic/templates/base/activity/activity_item.xsl
===================================================================
--- trunk/logistic/templates/base/activity/activity_item.xsl    2012-10-23 
09:08:03 UTC (rev 10304)
+++ trunk/logistic/templates/base/activity/activity_item.xsl    2012-10-23 
09:08:34 UTC (rev 10305)
@@ -182,8 +182,14 @@
                                                        <input type="submit" 
name="cancel_activity" value="{$lang_cancel}" title = "{$lang_cancel}" />
                                                </xsl:when>
                                                <xsl:otherwise>
-                                                       <xsl:variable 
name="lang_edit"><xsl:value-of select="php:function('lang', 'edit')" 
/></xsl:variable>
-                                                       <input type="submit" 
name="edit_activity" value="{$lang_edit}" title = "{$lang_edit}" />
+                                                       <xsl:variable 
name="params">
+                                                               
<xsl:text>menuaction:logistic.uiactivity.edit, id:</xsl:text>
+                                                               <xsl:value-of 
select="activity/id" />
+                                                       </xsl:variable>
+                                                       <xsl:variable 
name="edit_url">
+                                                               <xsl:value-of 
select="php:function('get_phpgw_link', '/index.php', $params )" />
+                                                       </xsl:variable>
+                                                       <a class="btn" 
href="{$edit_url}"><xsl:value-of select="php:function('lang', 'edit')" /></a>
                                                </xsl:otherwise>
                                        </xsl:choose>
                                </div>




reply via email to

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