fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10317] Controller: Changed action url in form add ch


From: Torstein
Subject: [Fmsystem-commits] [10317] Controller: Changed action url in form add check list
Date: Wed, 24 Oct 2012 06:44:13 +0000

Revision: 10317
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10317
Author:   vator
Date:     2012-10-24 06:44:12 +0000 (Wed, 24 Oct 2012)
Log Message:
-----------
Controller: Changed action url in form add check list

Modified Paths:
--------------
    trunk/controller/inc/class.uicheck_list.inc.php
    trunk/controller/templates/base/check_list/add_check_list.xsl

Modified: trunk/controller/inc/class.uicheck_list.inc.php
===================================================================
--- trunk/controller/inc/class.uicheck_list.inc.php     2012-10-24 06:17:37 UTC 
(rev 10316)
+++ trunk/controller/inc/class.uicheck_list.inc.php     2012-10-24 06:44:12 UTC 
(rev 10317)
@@ -258,7 +258,6 @@
                        
                        $data = array
                        (
-                               'action_url'                            => 
self::link(array('menuaction' => 'controller.uicheck_list.save_check_list')),
                                'calendar_for_year_url'         => 
self::link(array('menuaction' => 
'controller.uicalendar.view_calendar_for_year')),
                                'calendar_for_month_url'        => 
self::link(array('menuaction' => 
'controller.uicalendar.view_calendar_for_month')),
                                'location_array'                        => 
$location_array,

Modified: trunk/controller/templates/base/check_list/add_check_list.xsl
===================================================================
--- trunk/controller/templates/base/check_list/add_check_list.xsl       
2012-10-24 06:17:37 UTC (rev 10316)
+++ trunk/controller/templates/base/check_list/add_check_list.xsl       
2012-10-24 06:44:12 UTC (rev 10317)
@@ -80,6 +80,11 @@
        <!-- ==================  CHECKLIST DETAILS  ===================== -->
        <div id="check_list_details">
                <h3 class="box_header">Sjekklistedetaljer</h3>
+               
+               <xsl:variable name="action_url">
+                       <xsl:value-of select="php:function('get_phpgw_link', 
'/index.php', 'menuaction:controller.uicheck_list.save_check_list')" />
+               </xsl:variable>
+               
                <form id="frm_add_check_list" action="{action_url}" 
method="post">
                        <xsl:variable name="control_id"><xsl:value-of 
select="control/id"/></xsl:variable>
                        <input type="hidden" name="control_id" 
value="{$control_id}" />




reply via email to

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