"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/formatter/highlight/sql.php" between
wacko.6.1.14.zip and wacko.6.1.15.zip

About: WackoWiki is a multilingual Wiki-engine that supports WYTIWYG-editing, page rights (ACLs), design themes (skins), file upload, email notification and much more.

sql.php  (wacko.6.1.14):sql.php  (wacko.6.1.15)
skipping to change at line 33 skipping to change at line 33
$text = preg_replace("#&#us","&", $text ); $text = preg_replace("#&#us","&", $text );
$text = preg_replace("#<#us","&lt;", $text ); $text = preg_replace("#<#us","&lt;", $text );
$text = preg_replace("#>#us","&gt;", $text ); $text = preg_replace("#>#us","&gt;", $text );
$text = preg_replace("#\n#us","\002", $text ); // newline $text = preg_replace("#\n#us","\002", $text ); // newline
$text = preg_replace("#\s#us","&nbsp;", $text ); // spaces $text = preg_replace("#\s#us","&nbsp;", $text ); // spaces
$text = preg_replace("#\002#us","<br>", $text ); // newline $text = preg_replace("#\002#us","<br>", $text ); // newline
// Highlighting // Highlighting
// String constants // String constants
$text = preg_replace("#\".*?\"#us", '<span style="color:#006666;">$0</span>', $t ext ); $text = preg_replace("#\".*?\"#us", '<span style="color: #006666;">$0</span>', $ text );
// Keywords & functions // Keywords & functions
$text = preg_replace("#\001($functions)\001#usi", '<span style="color:#770055;"> $text = preg_replace("#\001($functions)\001#usi", '<span style="color: #770055;"
$1</span>', $text ); >$1</span>', $text );
$text = preg_replace("#\001($skipwords)\001#usi", '<span style="color:green;"><s $text = preg_replace("#\001($skipwords)\001#usi", '<span style="color: green;"><
trong>$1</strong></span>', $text ); strong>$1</strong></span>', $text );
$text = preg_replace("#\001($keywords)\001#usi" , '<span style="color:blue;">$1< $text = preg_replace("#\001($keywords)\001#usi" , '<span style="color: blue;">$1
/span>', $text ); </span>', $text );
// Comments // Comments
$text = preg_replace('#(\-\-.*)$#um', '<span style="color:#888888;"><em>$1</em>< /span>', $text ); $text = preg_replace('#(\-\-.*)$#um', '<span style="color: #888888;"><em>$1</em> </span>', $text );
// Remove lexeme delimiter // Remove lexeme delimiter
$text = preg_replace("#\001#us",'', $text ); $text = preg_replace("#\001#us",'', $text );
echo '<!--notypo--><pre class="code">' . $text . '</pre><!--/notypo-->'; // output source
$tpl->text = $text;
 End of changes. 4 change blocks. 
8 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)