[phpcvsview-cvs-updates] phpcvsview func_FileView.php,1.9,1.10
Status: Pre-Alpha
Brought to you by:
bcheesem
From: Brian C. <bch...@us...> - 2005-01-08 04:38:35
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13535 Modified Files: func_FileView.php Log Message: Changed Configuration for the GeSHi connectivity. Index: func_FileView.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/func_FileView.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** func_FileView.php 22 Dec 2004 11:05:59 -0000 1.9 --- func_FileView.php 8 Jan 2005 04:38:26 -0000 1.10 *************** *** 12,17 **** **/ ! if ($config['UseGeSHi']) { ! include_once($config['GeSHiPath'].'/geshi.php'); } --- 12,17 ---- **/ ! if ($config['GeSHi']['Use']) { ! include_once($config['GeSHi']['Path'].'/geshi.php'); } *************** *** 55,59 **** echo "<hr />\n"; ! if ($config['UseGeSHi']) { // Create the GeSHi instance and parse the output. // TODO: setup code to auto identify the highlighting class to use for current file. --- 55,59 ---- echo "<hr />\n"; ! if ($config['GeSHi']['Use']) { // Create the GeSHi instance and parse the output. // TODO: setup code to auto identify the highlighting class to use for current file. *************** *** 64,68 **** } ! $geshi = new GeSHi($CVSServer->FILECONTENTS, $Language, $config['GeSHiHighlightersPath']); $geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS); $geshi->set_line_style('background: #fcfcfc;'); --- 64,68 ---- } ! $geshi = new GeSHi($CVSServer->FILECONTENTS, $Language, $config['GeSHi']['HighlightersPath']); $geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS); $geshi->set_line_style('background: #fcfcfc;'); |