phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] tts inc/class.uitts.inc.php templates/base/view...


From: Dave Hall
Subject: [Phpgroupware-cvs] tts inc/class.uitts.inc.php templates/base/view...
Date: Fri, 05 Jan 2007 04:14:50 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    tts
Changes by:     Dave Hall <skwashd>     07/01/05 04:14:50

Modified files:
        inc            : class.uitts.inc.php 
        templates/base : viewticket_details.xsl 

Log message:
        fix 'close'/'done' confusion and make it redirect properly

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/tts/inc/class.uitts.inc.php?cvsroot=phpgroupware&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/tts/templates/base/viewticket_details.xsl?cvsroot=phpgroupware&r1=1.1&r2=1.2

Patches:
Index: inc/class.uitts.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/tts/inc/class.uitts.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- inc/class.uitts.inc.php     27 Dec 2006 04:26:38 -0000      1.8
+++ inc/class.uitts.inc.php     5 Jan 2007 04:14:50 -0000       1.9
@@ -5,7 +5,7 @@
        * @copyright Copyright (C) 2000-2006 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package tts
-       * @version $Id: class.uitts.inc.php,v 1.8 2006/12/27 04:26:38 skwashd 
Exp $
+       * @version $Id: class.uitts.inc.php,v 1.9 2007/01/05 04:14:50 skwashd 
Exp $
        */
        
        class tts_uitts
@@ -332,10 +332,11 @@
                                unset($fields);
 
                                $values['form_action'] = 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 'tts.uitts.view'));
+                               $values['done_url'] = 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 'tts.uitts.index'));
                                $values['lang'] = array
                                (
                                        'action'        => lang('action'),
-                                       'close'         => lang('close'),
+                                       'done'          => lang('done'),
                                        'date'          => lang('date'),
                                        'history'       => lang('history'),
                                        'new_value'     => lang('new value'),

Index: templates/base/viewticket_details.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/tts/templates/base/viewticket_details.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- templates/base/viewticket_details.xsl       15 Oct 2006 15:14:08 -0000      
1.1
+++ templates/base/viewticket_details.xsl       5 Jan 2007 04:14:50 -0000       
1.2
@@ -106,7 +106,7 @@
                                        <input type="submit" id="submit" 
name="submit" value="{lang/save}" />
                                </xsl:when>
                        </xsl:choose>
-                       <input type="submit" id="close" name="close" 
onclick="self.location.href='{done_url}';" value="{lang/close}" />
+                       <input type="submit" id="cancel" name="cancel" 
onclick="self.location.href='{done_url}';" value="{lang/done}" />
                </div>
 
        </form>




reply via email to

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