Update of /cvsroot/geshi/geshi-1.0.X/src/geshi
In directory
sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv31411/geshi
Modified Files:
Tag: RELEASE_1_0_7_STABLE
latex.php reg.php text.php
Log Message:
Fixed notices in text.php, reg.php and latex.php when $this
is not available
(Clemens Weiß)
Index: reg.php
============================================================
=======
RCS file: /cvsroot/geshi/geshi-1.0.X/src/geshi/reg.php,v
retrieving revision 1.2.2.6
retrieving revision 1.2.2.7
diff -C2 -d -r1.2.2.6 -r1.2.2.7
*** reg.php 23 Sep 2006 02:05:48 -0000 1.2.2.6
--- reg.php 23 Oct 2006 01:49:58 -0000 1.2.2.7
***************
*** 211,215 ****
)
);
! if (is_a($this, 'GeSHi')) {
$this->set_numbers_highlighting(false);
}
--- 211,215 ----
)
);
! if (isset($this) && is_a($this, 'GeSHi')) {
$this->set_numbers_highlighting(false);
}
Index: text.php
============================================================
=======
RCS file: /cvsroot/geshi/geshi-1.0.X/src/geshi/text.php,v
retrieving revision 1.2.2.6
retrieving revision 1.2.2.7
diff -C2 -d -r1.2.2.6 -r1.2.2.7
*** text.php 23 Sep 2006 02:05:48 -0000 1.2.2.6
--- text.php 23 Oct 2006 01:49:59 -0000 1.2.2.7
***************
*** 76,80 ****
'HIGHLIGHT_STRICT_BLOCK' => array( )
);
! if (is_a($this, 'GeSHi')) {
$this->set_numbers_highlighting(false);
$this->set_brackets_highlighting(false);
--- 76,80 ----
'HIGHLIGHT_STRICT_BLOCK' => array( )
);
! if (isset($this) && is_a($this, 'GeSHi')) {
$this->set_numbers_highlighting(false);
$this->set_brackets_highlighting(false);
Index: latex.php
============================================================
=======
RCS file:
/cvsroot/geshi/geshi-1.0.X/src/geshi/Attic/latex.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** latex.php 23 Sep 2006 01:10:19 -0000 1.1.2.1
--- latex.php 23 Oct 2006 01:49:58 -0000 1.1.2.2
***************
*** 25,29 ****
************************************************************
************************/
! if (is_a($this, 'GeSHi')) {
$this->set_symbols_highlighting(false);
$this->set_numbers_highlighting(false);
--- 25,29 ----
************************************************************
************************/
! if (isset($this) && is_a($this, 'GeSHi')) {
$this->set_symbols_highlighting(false);
$this->set_numbers_highlighting(false);
------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&a
mp;kid=120709&bid=263057&dat=121642_________________
______________________________
geshi-cvs mailing list
geshi-cvs lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geshi-cvs
|