Seditio Kod Renklendirme
|
#342 |
|
|
Azhack
User is:
Posts: 59
Meslek:
Age: 40
|
Language => Keyword
ActionScript => actionscript Ada => ada Apache Log File => apache AppleScript => applescript ASM (NASM based) => asm ASP => asp AutoIT => autoit Bash => bash BlitzBasic => blitzbasic C => c CAD DCL => caddcl CAD Lisp => cadlisp C++ => cpp C# => csharp CSS => css D => d Delphi => delphi Diff => diff DOS => dos FreeBasic => freebasic HTML (4.0.1) => html4strict Inno => inno Java => java Java 5 => java5 Javascript => javascript Lisp => lisp Lua => lua Matlab => matlab MPASM => mpasm MySQL => mysql NullSoft Installer => nsis OCaml => ocaml Openoffice.org BASIC => oobas Oracle 8 => oracle8 Pascal => pascal Perl => perl PHP => php PHP (Brief version) => php-brief Python => python QBasic/QuickBASIC => qbasic robots.txt => robots Ruby => ruby Scheme => scheme SDLBasic => sdlbasic SQL => sql T-SQL => tsql VisualBasic => vb VHDL => vhdl VisualFoxPro => visualfoxpro XML => xml bu kisim dami eklenecek??..bunlari degisdikden sonra textbooterde o highlighter komutu otomatik gozukecekmi? son mesaj 8 saat 30 dakika ?nce function sed_highlight_bbcode($code, $language){ $find1 = array('&', '{', '<', '>', '$', ''', '"', '\', '&', ' '); $replace1 = array('&', '{', '<', '>' , '$', '\'', '"', '\', '&', ' '); $code = str_replace($find1, $replace1, $code); include_once('datas/geshi/geshi.php'); $geshi = new GeSHi($code, $language); $geshi->set_header_type(GESHI_HEADER_NONE); //$geshi->enable_line_numbers(GESHI_FANCY_LINE_NUMBERS, 1); // Comment this line to remove the line numbers $tabs = 4; $geshi->set_tab_width($tabs); $code = $geshi->parse_code(); $code = preg_replace('/&#([0-9]+);/', '$1;', $code); $code = str_replace(array('[', ']', "\n"), array('[', ']', ''), $code); return $code; } bu kisim ekleyince hata veriyo siteyi acmiyor hmm napim? Bu mesaj Azhack tarafından 2009-12-09 20:37 GMT, 6130 Gün önce düzenlendi. |













