phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc class.nextmatchs.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] phpgwapi/inc class.nextmatchs.inc.php
Date: Thu, 14 Sep 2006 06:51:42 +0000

CVSROOT:        /sources/phpgwapi
Module name:    phpgwapi
Changes by:     Sigurd Nes <sigurdne>   06/09/14 06:51:42

Modified files:
        inc            : class.nextmatchs.inc.php 

Log message:
        prevent an unintended build_an_href

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.nextmatchs.inc.php?cvsroot=phpgwapi&r1=1.78&r2=1.79

Patches:
Index: class.nextmatchs.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.nextmatchs.inc.php,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- class.nextmatchs.inc.php    9 Sep 2006 11:41:03 -0000       1.78
+++ class.nextmatchs.inc.php    14 Sep 2006 06:51:42 -0000      1.79
@@ -8,7 +8,7 @@
        * @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General 
Public License
        * @package phpgwapi
        * @subpackage gui
-       * @version $Id: class.nextmatchs.inc.php,v 1.78 2006/09/09 11:41:03 
skwashd Exp $
+       * @version $Id: class.nextmatchs.inc.php,v 1.79 2006/09/14 06:51:42 
sigurdne Exp $
        */
 
        /**
@@ -801,7 +801,11 @@
 
                        $link = strlen($this->action) ? $this->page($extra) : 
$GLOBALS['phpgw']->link($program, $extra);
 
-                       if($build_an_href)
+                       if ($text == 'xslt')
+                       {
+                               return $link;
+                       }
+                       elseif($build_an_href)
                        {
                                return '<a href="' . $link . '">' . $text . 
'</a>';
                        }




reply via email to

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