For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > March 2004 > cvs: php-master-web /manage user-notes.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: php-master-web /manage user-notes.php
Gabor Hojtsy

2004-03-19, 1:04 pm

goba Mon Feb 2 10:46:59 2004 EDT

Modified files:
/php-master-web/manage user-notes.php
Log:
ups, this setting was executed a bit too late

http://cvs.php.net/diff.php/php-mas...36&r2=1.37&ty=u
Index: php-master-web/manage/user-notes.php
diff -u php-master-web/manage/user-notes.php:1.36 php-master-web/manage/user-notes.php:1.37
--- php-master-web/manage/user-notes.php:1.36 Mon Feb 2 04:44:53 2004
+++ php-master-web/manage/user-notes.php Mon Feb 2 10:46:59 2004
@@ -33,7 +33,12 @@

Your note has been removed from the on-line manual.';

-
+// Use class names instead of colors
+ini_set('highlight.comment', 'comment');
+ini_set('highlight.default', 'default');
+ini_set('highlight.keyword', 'keyword');
+ini_set('highlight.string', 'string');
+ini_set('highlight.html', 'html');

if($user && $pass) {
setcookie("MAGIC_COOKIE",base64_encode("$user:$pass"),time()+3600*24*12,'/','.php.net');
@@ -314,13 +319,6 @@
return $text;
}

-// Use class names instead of colors
-ini_set('highlight.comment', 'comment');
-ini_set('highlight.default', 'default');
-ini_set('highlight.keyword', 'keyword');
-ini_set('highlight.string', 'string');
-ini_set('highlight.html', 'html');
-
// Highlight PHP code
function highlight_php($code, $return = FALSE)
{
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com