Posteador
admin
Administrador



Bienvenido a PHPost Risus



Este es el primer post de los miles que tendrá tu web


function Brush()
{
var keywords = 'break case catch continue ' +
'default delete do else false ' +
'for function if in instanceof ' +
'new null return super switch ' +
'this throw true try typeof var while with'
;

var r = SyntaxHighlighter.regexLib;

this.regexList = [
{ regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
{ regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
{ regex: r.singleLineCComments, css: 'comments' }, // one line comments
{ regex: r.multiLineCComments, css: 'comments' }, // multiline comments
{ regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
];

this.forHtmlScript(r.scriptScriptTags);
};



#section{
width:90%;
height:auto;
border:1px solid #CCC;
margin:50px auto;
}




foreach ($tagCodes as $bbcode) {

if (in_array($bbcode['tag'], $this->restriction) || !$this->restriction) {

$tag = $bbcode['tag'];

$replace = $bbcode['replace'];

$option = isset($bbcode['option']) ? $bbcode['option'] : false;

$parse = isset($bbcode['parse']) ? $bbcode['parse'] : true;

$limit = isset($bbcode['limit']) ? $bbcode['limit'] : -1;

$validOption = isset($bbcode['validOption']) ? $bbcode['validOption'] : null;

$validParam = isset($bbcode['validParam']) ? $bbcode['validParam'] : null;

$this->parser->addBBCode($tag, $replace, $option, $parse, $limit, $validOption, $validParam);

}

}


Gracias por elegir a PHPost como tu Link Sharing System.



Otros posts que te van a interesar:

0 Comentarios


Cargando comentarios espera un momento...
No tienes permisos para comentar.

Para poder comentar necesitas estar Registrado. O.. ya tienes usuario? Logueate!
Ir al cielo