8 | |
9 |
10 | submitting your theme\'s CSS selectors to the global CSS selector database to make installation and configuration easier for other users', 'infinite-scroll'), esc_url( add_query_arg( 'submit', true ) ) ); ?>
11 |
12 |
13 | ()
14 |
15 |
16 | parent->slug_ . '_hide_submit' , '_ajax_nonce-' . $this->parent->slug . '-hide-submit' ); ?>
17 |
18 | $this->parent->slug_ . '_hide_submit', 'nonce' => '_ajax_nonce-' . $this->parent->slug . '-hide-submit' ); ?>
19 |
20 |
21 |
22 | |
23 |
--------------------------------------------------------------------------------
/plugins/infinite-scroll/templates/submit.php:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
12 | - CTRL-C (PC) or
Command-C
(Mac) to copy the below CSS selectors to your computer\'s clipboard.', 'infinite-scroll' );?>
13 | - Infinite Scroll Support Forum CSS Selectors Page, and if you don\'t already have one, create a WordPress.org account (it takes 30 seconds!).', 'infinite-scroll'), $this->parent->submit->url, 'http://wordpress.org/support/register.php' );?>
14 |
15 | - CTRL-V (PC) or
Command-V
(Mac) to paste the selectors into the message box', 'infinite-scroll' ); ?>
16 |
17 | - Post"', 'infinite-scroll' ); ?>
18 |
19 |
20 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/localization/syntaxhighlighter-da_DK.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Beats0/mygalgame/4c6c379c0dc8a1e5ab2376c1c681a8bdd241147d/plugins/syntaxhighlighter/localization/syntaxhighlighter-da_DK.mo
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/localization/syntaxhighlighter-de_DE.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Beats0/mygalgame/4c6c379c0dc8a1e5ab2376c1c681a8bdd241147d/plugins/syntaxhighlighter/localization/syntaxhighlighter-de_DE.mo
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/localization/syntaxhighlighter-it_IT.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Beats0/mygalgame/4c6c379c0dc8a1e5ab2376c1c681a8bdd241147d/plugins/syntaxhighlighter/localization/syntaxhighlighter-it_IT.mo
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/localization/syntaxhighlighter-ja.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Beats0/mygalgame/4c6c379c0dc8a1e5ab2376c1c681a8bdd241147d/plugins/syntaxhighlighter/localization/syntaxhighlighter-ja.mo
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/localization/syntaxhighlighter-tr_TR.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Beats0/mygalgame/4c6c379c0dc8a1e5ab2376c1c681a8bdd241147d/plugins/syntaxhighlighter/localization/syntaxhighlighter-tr_TR.mo
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/localization/syntaxhighlighter-uk.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Beats0/mygalgame/4c6c379c0dc8a1e5ab2376c1c681a8bdd241147d/plugins/syntaxhighlighter/localization/syntaxhighlighter-uk.mo
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/localization/syntaxhighlighter-zh_CN.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Beats0/mygalgame/4c6c379c0dc8a1e5ab2376c1c681a8bdd241147d/plugins/syntaxhighlighter/localization/syntaxhighlighter-zh_CN.mo
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/screenshot-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Beats0/mygalgame/4c6c379c0dc8a1e5ab2376c1c681a8bdd241147d/plugins/syntaxhighlighter/screenshot-1.png
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/screenshot-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Beats0/mygalgame/4c6c379c0dc8a1e5ab2376c1c681a8bdd241147d/plugins/syntaxhighlighter/screenshot-2.png
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter.js:
--------------------------------------------------------------------------------
1 | ( function($) {
2 | var shortcodes = window.syntaxHLcodes || 'sourcecode',
3 | regex = new RegExp( '(?:\\s*)?(\\[(' + shortcodes + ')[^\\]]*\\][\\s\\S]*?\\[\\/\\2\\])(?:\\s*<\\/pre>)?', 'gi' );
4 |
5 | window.syntaxHLescape = {};
6 |
7 | if ( typeof $ === 'undefined' ) {
8 | return;
9 | }
10 |
11 | $( document ).on( 'afterPreWpautop.syntaxhighlighter', function( event, obj ) {
12 | if ( obj.data && obj.data.indexOf( '[' ) !== -1 ) {
13 | obj.data = obj.data.replace( regex, function( match, shortcode ) {
14 | return '\n' + shortcode.replace( /</g, '<' ).replace( />/g, '>' ).replace( /&/g, '&' ) + '\n';
15 | }
16 | );
17 | }
18 | }).on( 'beforeWpautop.syntaxhighlighter', function( event, obj ) {
19 | if ( obj.data && obj.data.indexOf( '[' ) !== -1 ) {
20 | obj.data = obj.data.replace( regex, '$1
' );
21 | }
22 | }).ready( function() {
23 | $( '.wp-editor-wrap.html-active' ).each( function( i, element ) {
24 | var id = $( element ).find( 'textarea.wp-editor-area' ).attr( 'id' );
25 |
26 | if ( id ) {
27 | window.syntaxHLescape[id] = true;
28 | }
29 | });
30 | });
31 | }( window.jQuery ));
32 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/clipboard.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Beats0/mygalgame/4c6c379c0dc8a1e5ab2376c1c681a8bdd241147d/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/clipboard.swf
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushDiff.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.1.364 (October 15 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Diff = function()
31 | {
32 | this.regexList = [
33 | { regex: /^\+\+\+.*$/gm, css: 'color2' },
34 | { regex: /^\-\-\-.*$/gm, css: 'color2' },
35 | { regex: /^\s.*$/gm, css: 'color1' },
36 | { regex: /^@@.*@@$/gm, css: 'variable' },
37 | { regex: /^\+[^\+]{1}.*$/gm, css: 'string' },
38 | { regex: /^\-[^\-]{1}.*$/gm, css: 'comments' }
39 | ];
40 | };
41 |
42 | SyntaxHighlighter.brushes.Diff.prototype = new SyntaxHighlighter.Highlighter();
43 | SyntaxHighlighter.brushes.Diff.aliases = ['diff', 'patch'];
44 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushErlang.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.1.364 (October 15 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Erlang = function()
31 | {
32 | // Contributed by Jean-Lou Dupont
33 | // http://jldupont.blogspot.com/2009/06/erlang-syntax-highlighter.html
34 |
35 | // According to: http://erlang.org/doc/reference_manual/introduction.html#1.5
36 | var keywords = 'after and andalso band begin bnot bor bsl bsr bxor '+
37 | 'case catch cond div end fun if let not of or orelse '+
38 | 'query receive rem try when xor'+
39 | // additional
40 | ' module export import define';
41 |
42 | this.regexList = [
43 | { regex: new RegExp("[A-Z][A-Za-z0-9_]+", 'g'), css: 'constants' },
44 | { regex: new RegExp("\\%.+", 'gm'), css: 'comments' },
45 | { regex: new RegExp("\\?[A-Za-z0-9_]+", 'g'), css: 'preprocessor' },
46 | { regex: new RegExp("[a-z0-9_]+:[a-z0-9_]+", 'g'), css: 'functions' },
47 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
48 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
49 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
50 | ];
51 | };
52 |
53 | SyntaxHighlighter.brushes.Erlang.prototype = new SyntaxHighlighter.Highlighter();
54 | SyntaxHighlighter.brushes.Erlang.aliases = ['erl', 'erlang'];
55 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushJScript.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.1.364 (October 15 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.JScript = function()
31 | {
32 | var keywords = 'break case catch continue ' +
33 | 'default delete do else false ' +
34 | 'for function if in instanceof ' +
35 | 'new null return super switch ' +
36 | 'this throw true try typeof var while with'
37 | ;
38 |
39 | this.regexList = [
40 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
41 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
42 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
43 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
44 | { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
45 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
46 | ];
47 |
48 | this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
49 | };
50 |
51 | SyntaxHighlighter.brushes.JScript.prototype = new SyntaxHighlighter.Highlighter();
52 | SyntaxHighlighter.brushes.JScript.aliases = ['js', 'jscript', 'javascript'];
53 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushJava.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.1.364 (October 15 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Java = function()
31 | {
32 | var keywords = 'abstract assert boolean break byte case catch char class const ' +
33 | 'continue default do double else enum extends ' +
34 | 'false final finally float for goto if implements import ' +
35 | 'instanceof int interface long native new null ' +
36 | 'package private protected public return ' +
37 | 'short static strictfp super switch synchronized this throw throws true ' +
38 | 'transient try void volatile while';
39 |
40 | this.regexList = [
41 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
42 | { regex: /\/\*([^\*][\s\S]*)?\*\//gm, css: 'comments' }, // multiline comments
43 | { regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments
44 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
45 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
46 | { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
47 | { regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno
48 | { regex: /\@interface\b/g, css: 'color2' }, // @interface keyword
49 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword
50 | ];
51 |
52 | this.forHtmlScript({
53 | left : /(<|<)%[@!=]?/g,
54 | right : /%(>|>)/g
55 | });
56 | };
57 |
58 | SyntaxHighlighter.brushes.Java.prototype = new SyntaxHighlighter.Highlighter();
59 | SyntaxHighlighter.brushes.Java.aliases = ['java'];
60 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushPlain.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.1.364 (October 15 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Plain = function()
31 | {
32 | };
33 |
34 | SyntaxHighlighter.brushes.Plain.prototype = new SyntaxHighlighter.Highlighter();
35 | SyntaxHighlighter.brushes.Plain.aliases = ['text', 'plain'];
36 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushRuby.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.1.364 (October 15 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Ruby = function()
31 | {
32 | // Contributed by Erik Peterson.
33 |
34 | var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' +
35 | 'END end ensure false for if in module new next nil not or raise redo rescue retry return ' +
36 | 'self super then throw true undef unless until when while yield';
37 |
38 | var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' +
39 | 'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' +
40 | 'ThreadGroup Thread Time TrueClass';
41 |
42 | this.regexList = [
43 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
44 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
45 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
46 | { regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants
47 | { regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols
48 | { regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables
49 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
50 | { regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins
51 | ];
52 |
53 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
54 | };
55 |
56 | SyntaxHighlighter.brushes.Ruby.prototype = new SyntaxHighlighter.Highlighter();
57 | SyntaxHighlighter.brushes.Ruby.aliases = ['ruby', 'rails', 'ror', 'rb'];
58 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushScala.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.1.364 (October 15 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Scala = function()
31 | {
32 | // Contributed by Yegor Jbanov and David Bernard.
33 |
34 | var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' +
35 | 'override try lazy for var catch throw type extends class while with new final yield abstract ' +
36 | 'else do if return protected private this package false';
37 |
38 | var keyops = '[_:=><%#@]+';
39 |
40 | this.regexList = [
41 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
42 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
43 | { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line strings
44 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quoted string
45 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
46 | { regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers
47 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
48 | { regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword
49 | ];
50 | }
51 |
52 | SyntaxHighlighter.brushes.Scala.prototype = new SyntaxHighlighter.Highlighter();
53 | SyntaxHighlighter.brushes.Scala.aliases = ['scala'];
54 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushXml.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.1.364 (October 15 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | SyntaxHighlighter.brushes.Xml = function()
31 | {
32 | function process(match, regexInfo)
33 | {
34 | var constructor = SyntaxHighlighter.Match,
35 | code = match[0],
36 | tag = new XRegExp('(<|<)[\\s\\/\\?]*(?[:\\w-\\.]+)', 'xg').exec(code),
37 | result = []
38 | ;
39 |
40 | if (match.attributes != null)
41 | {
42 | var attributes,
43 | regex = new XRegExp('(? [\\w:\\-\\.]+)' +
44 | '\\s*=\\s*' +
45 | '(? ".*?"|\'.*?\'|\\w+)',
46 | 'xg');
47 |
48 | while ((attributes = regex.exec(code)) != null)
49 | {
50 | result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
51 | result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
52 | }
53 | }
54 |
55 | if (tag != null)
56 | result.push(
57 | new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
58 | );
59 |
60 | return result;
61 | }
62 |
63 | this.regexList = [
64 | { regex: new XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, //
65 | { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, //
66 | { regex: new XRegExp('(<|<)[\\s\\/\\?]*(\\w+)(?.*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process }
67 | ];
68 | };
69 |
70 | SyntaxHighlighter.brushes.Xml.prototype = new SyntaxHighlighter.Highlighter();
71 | SyntaxHighlighter.brushes.Xml.aliases = ['xml', 'xhtml', 'xslt', 'html'];
72 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shLegacy.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.1.364 (October 15 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU Lesser General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | */
30 | eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1 y={d:{}};y.d={F:6(S,l,q,k,m,n){6 J(z,Y){1 V=16 15("^"+Y+"\\\\[(?\\\\w+)\\\\]$","14"),x=2;h(1 i=0;i)/g
47 | });
48 | };
49 |
50 | Brush.prototype = new SyntaxHighlighter.Highlighter();
51 | Brush.aliases = ['java'];
52 |
53 | SyntaxHighlighter.brushes.Java = Brush;
54 |
55 | // CommonJS
56 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
57 | })();
58 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushJavaFX.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/SyntaxHighlighter
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7 | *
8 | * @version
9 | * 3.0.83 (Wed, 16 Apr 2014 03:56:09 GMT)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2013 Alex Gorbatchev.
13 | *
14 | * @license
15 | * Dual licensed under the MIT and GPL licenses.
16 | */
17 | ;(function()
18 | {
19 | // CommonJS
20 | SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21 |
22 | function Brush()
23 | {
24 | // Contributed by Patrick Webster
25 | // http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html
26 | var datatypes = 'Boolean Byte Character Double Duration '
27 | + 'Float Integer Long Number Short String Void'
28 | ;
29 |
30 | var keywords = 'abstract after and as assert at before bind bound break catch class '
31 | + 'continue def delete else exclusive extends false finally first for from '
32 | + 'function if import in indexof init insert instanceof into inverse last '
33 | + 'lazy mixin mod nativearray new not null on or override package postinit '
34 | + 'protected public public-init public-read replace return reverse sizeof '
35 | + 'step super then this throw true try tween typeof var where while with '
36 | + 'attribute let private readonly static trigger'
37 | ;
38 |
39 | this.regexList = [
40 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' },
41 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' },
42 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
43 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
44 | { regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // numbers
45 | { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes
46 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
47 | ];
48 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
49 | };
50 |
51 | Brush.prototype = new SyntaxHighlighter.Highlighter();
52 | Brush.aliases = ['jfx', 'javafx'];
53 |
54 | SyntaxHighlighter.brushes.JavaFX = Brush;
55 |
56 | // CommonJS
57 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
58 | })();
59 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPlain.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/SyntaxHighlighter
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7 | *
8 | * @version
9 | * 3.0.83 (Wed, 16 Apr 2014 03:56:09 GMT)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2013 Alex Gorbatchev.
13 | *
14 | * @license
15 | * Dual licensed under the MIT and GPL licenses.
16 | */
17 | ;(function()
18 | {
19 | // CommonJS
20 | SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21 |
22 | function Brush()
23 | {
24 | };
25 |
26 | Brush.prototype = new SyntaxHighlighter.Highlighter();
27 | Brush.aliases = ['text', 'plain'];
28 |
29 | SyntaxHighlighter.brushes.Plain = Brush;
30 |
31 | // CommonJS
32 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
33 | })();
34 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPython.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/SyntaxHighlighter
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7 | *
8 | * @version
9 | * 3.0.83 (Wed, 16 Apr 2014 03:56:09 GMT)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2013 Alex Gorbatchev.
13 | *
14 | * @license
15 | * Dual licensed under the MIT and GPL licenses.
16 | */
17 | ;(function()
18 | {
19 | // CommonJS
20 | SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21 |
22 | function Brush()
23 | {
24 | // Contributed by Gheorghe Milas and Ahmad Sherif
25 |
26 | var keywords = 'and assert break class continue def del elif else ' +
27 | 'except exec finally for from global if import in is ' +
28 | 'lambda not or pass raise return try yield while';
29 |
30 | var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' +
31 | 'chr classmethod cmp coerce compile complex delattr dict dir ' +
32 | 'divmod enumerate eval execfile file filter float format frozenset ' +
33 | 'getattr globals hasattr hash help hex id input int intern ' +
34 | 'isinstance issubclass iter len list locals long map max min next ' +
35 | 'object oct open ord pow print property range raw_input reduce ' +
36 | 'reload repr reversed round set setattr slice sorted staticmethod ' +
37 | 'str sum super tuple type type unichr unicode vars xrange zip';
38 |
39 | var special = 'None True False self cls class_';
40 |
41 | this.regexList = [
42 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' },
43 | { regex: /^\s*@\w+/gm, css: 'decorator' },
44 | { regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' },
45 | { regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' },
46 | { regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' },
47 | { regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' },
48 | { regex: /\b\d+\.?\w*/g, css: 'value' },
49 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
50 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
51 | { regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' }
52 | ];
53 |
54 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
55 | };
56 |
57 | Brush.prototype = new SyntaxHighlighter.Highlighter();
58 | Brush.aliases = ['py', 'python'];
59 |
60 | SyntaxHighlighter.brushes.Python = Brush;
61 |
62 | // CommonJS
63 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
64 | })();
65 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushRuby.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/SyntaxHighlighter
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7 | *
8 | * @version
9 | * 3.0.83 (Wed, 16 Apr 2014 03:56:09 GMT)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2013 Alex Gorbatchev.
13 | *
14 | * @license
15 | * Dual licensed under the MIT and GPL licenses.
16 | */
17 | ;(function()
18 | {
19 | // CommonJS
20 | SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21 |
22 | function Brush()
23 | {
24 | // Contributed by Erik Peterson.
25 |
26 | var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' +
27 | 'END end ensure false for if in module new next nil not or raise redo rescue retry return ' +
28 | 'self super then throw true undef unless until when while yield';
29 |
30 | var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' +
31 | 'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' +
32 | 'ThreadGroup Thread Time TrueClass';
33 |
34 | this.regexList = [
35 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
36 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
38 | { regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants
39 | { regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols
40 | { regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables
41 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
42 | { regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins
43 | ];
44 |
45 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
46 | };
47 |
48 | Brush.prototype = new SyntaxHighlighter.Highlighter();
49 | Brush.aliases = ['ruby', 'rails', 'ror', 'rb'];
50 |
51 | SyntaxHighlighter.brushes.Ruby = Brush;
52 |
53 | // CommonJS
54 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
55 | })();
56 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushScala.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/SyntaxHighlighter
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7 | *
8 | * @version
9 | * 3.0.83 (Wed, 16 Apr 2014 03:56:09 GMT)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2013 Alex Gorbatchev.
13 | *
14 | * @license
15 | * Dual licensed under the MIT and GPL licenses.
16 | */
17 | ;(function()
18 | {
19 | // CommonJS
20 | SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21 |
22 | function Brush()
23 | {
24 | // Contributed by Yegor Jbanov and David Bernard.
25 |
26 | var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' +
27 | 'override try lazy for var catch throw type extends class while with new final yield abstract ' +
28 | 'else do if return protected private this package false';
29 |
30 | var keyops = '[_:=><%#@]+';
31 |
32 | this.regexList = [
33 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
34 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
35 | { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line strings
36 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quoted string
37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
38 | { regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers
39 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
40 | { regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword
41 | ];
42 | }
43 |
44 | Brush.prototype = new SyntaxHighlighter.Highlighter();
45 | Brush.aliases = ['scala'];
46 |
47 | SyntaxHighlighter.brushes.Scala = Brush;
48 |
49 | // CommonJS
50 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
51 | })();
52 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushVb.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/SyntaxHighlighter
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7 | *
8 | * @version
9 | * 3.0.83 (Wed, 16 Apr 2014 03:56:09 GMT)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2013 Alex Gorbatchev.
13 | *
14 | * @license
15 | * Dual licensed under the MIT and GPL licenses.
16 | */
17 | ;(function()
18 | {
19 | // CommonJS
20 | SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21 |
22 | function Brush()
23 | {
24 | var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' +
25 | 'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' +
26 | 'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' +
27 | 'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' +
28 | 'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' +
29 | 'Function Get GetType GoSub GoTo Handles If Implements Imports In ' +
30 | 'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' +
31 | 'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' +
32 | 'NotInheritable NotOverridable Object On Option Optional Or OrElse ' +
33 | 'Overloads Overridable Overrides ParamArray Preserve Private Property ' +
34 | 'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' +
35 | 'Return Select Set Shadows Shared Short Single Static Step Stop String ' +
36 | 'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' +
37 | 'Variant When While With WithEvents WriteOnly Xor';
38 |
39 | this.regexList = [
40 | { regex: /'.*$/gm, css: 'comments' }, // one line comments
41 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
42 | { regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
43 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword
44 | ];
45 |
46 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
47 | };
48 |
49 | Brush.prototype = new SyntaxHighlighter.Highlighter();
50 | Brush.aliases = ['vb', 'vbnet'];
51 |
52 | SyntaxHighlighter.brushes.Vb = Brush;
53 |
54 | // CommonJS
55 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
56 | })();
57 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushXml.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/SyntaxHighlighter
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7 | *
8 | * @version
9 | * 3.0.83 (Wed, 16 Apr 2014 03:56:09 GMT)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2013 Alex Gorbatchev.
13 | *
14 | * @license
15 | * Dual licensed under the MIT and GPL licenses.
16 | */
17 | ;(function()
18 | {
19 | // CommonJS
20 | SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21 |
22 | function Brush()
23 | {
24 | function process(match, regexInfo)
25 | {
26 | var constructor = SyntaxHighlighter.Match,
27 | code = match[0],
28 | tag = XRegExp.exec(code, XRegExp('(<|<)[\\s\\/\\?!]*(?[:\\w-\\.]+)', 'xg')),
29 | result = []
30 | ;
31 |
32 | if (match.attributes != null)
33 | {
34 | var attributes,
35 | pos = 0,
36 | regex = XRegExp('(? [\\w:.-]+)' +
37 | '\\s*=\\s*' +
38 | '(? ".*?"|\'.*?\'|\\w+)',
39 | 'xg');
40 |
41 | while ((attributes = XRegExp.exec(code, regex, pos)) != null)
42 | {
43 | result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
44 | result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
45 | pos = attributes.index + attributes[0].length;
46 | }
47 | }
48 |
49 | if (tag != null)
50 | result.push(
51 | new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
52 | );
53 |
54 | return result;
55 | }
56 |
57 | this.regexList = [
58 | { regex: XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, //
59 | { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, //
60 | { regex: XRegExp('(<|<)[\\s\\/\\?!]*(\\w+)(?.*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process }
61 | ];
62 | };
63 |
64 | Brush.prototype = new SyntaxHighlighter.Highlighter();
65 | Brush.aliases = ['xml', 'xhtml', 'xslt', 'html', 'plist'];
66 |
67 | SyntaxHighlighter.brushes.Xml = Brush;
68 |
69 | // CommonJS
70 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
71 | })();
72 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/syntaxhighlighter_mce-4.js:
--------------------------------------------------------------------------------
1 | /*
2 | * SyntaxHighlighter shortcode plugin
3 | * by Andrew Ozz of Automattic
4 | */
5 | tinymce.PluginManager.add( 'syntaxhighlighter', function( editor ) {
6 | editor.on( 'BeforeSetContent', function( event ) {
7 | var shortcodes = window.syntaxHLcodes || 'sourcecode',
8 | regex = new RegExp( '(?:\\s*)?(?:
\\s*)?(\\[(' + shortcodes + ')[^\\]]*\\][\\s\\S]*?\\[\\/\\2\\])(?:\\s*<\\/pre>)?(?:\\s*<\\/p>)?', 'gi' );
9 |
10 | if ( event.content && event.content.indexOf( '[' ) !== -1 ) {
11 | event.content = event.content.replace( regex, function( match, shortcode ) {
12 | shortcode = shortcode.replace( /\r/, '' );
13 | shortcode = shortcode.replace( /
\n?/g, '\n' ).replace( /<\/?p( [^>]*)?>\n?/g, '\n' );
14 |
15 | if ( ! event.initial || ( window.syntaxHLescape && window.syntaxHLescape[ editor.id ] ) ) {
16 | shortcode = shortcode.replace( /&/g, '&' ).replace( //g, '>' );
17 | }
18 |
19 | return '' + shortcode + '
';
20 | });
21 | }
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/third-party-brushes/_readme.txt:
--------------------------------------------------------------------------------
1 | Hi.
2 |
3 | If you're trying to add other brushes to this plugin, please don't store
4 | them in this folder as they'll be deleted when you upgrade this plugin.
5 |
6 | Instead check out this page on my blog:
7 |
8 | http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/
9 |
10 | It explains how to hook into my plugin to add additional brushes.
11 | If you follow those instructions, you can store your brush file anywhere
12 | you want.
13 |
14 | -Viper
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/third-party-brushes/shBrushClojure.js:
--------------------------------------------------------------------------------
1 | // Contributed by Travis Whitton
2 | // http://travis-whitton.blogspot.com/2009/06/syntaxhighlighter-for-clojure.html
3 |
4 | SyntaxHighlighter.brushes.Clojure = function()
5 | {
6 | var funcs = ':arglists :doc :file :line :macro :name :ns :private :tag :test new alias alter ' +
7 | 'and apply assert class cond conj count def defmacro defn defstruct deref do ' +
8 | 'doall dorun doseq dosync eval filter finally find first fn gen-class gensym if ' +
9 | 'import inc keys let list loop map ns or print println quote rand recur reduce ' +
10 | 'ref repeat require rest send seq set sort str struct sync take test throw ' +
11 | 'trampoline try type use var vec when while';
12 |
13 | this.regexList = [
14 | { regex: new RegExp(';[^\]]+$', 'gm'), css: 'comments' },
15 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' },
16 | { regex: /\[|\]/g, css: 'keyword' },
17 | { regex: /'[a-z][A-Za-z0-9_]*/g, css: 'color1' }, // symbols
18 | { regex: /:[a-z][A-Za-z0-9_\-]*/g, css: 'color2' }, // keywords
19 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }
20 | ];
21 |
22 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
23 | }
24 |
25 | SyntaxHighlighter.brushes.Clojure.prototype = new SyntaxHighlighter.Highlighter();
26 | SyntaxHighlighter.brushes.Clojure.aliases = ['clojure', 'Clojure', 'clj'];
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/third-party-brushes/shBrushFSharp.js:
--------------------------------------------------------------------------------
1 | // WTFPL licensed
2 | // scratching the surface of research microsoft com/fsharp/manual/spec2.aspx#_Toc207785562
3 | // omits reserved-ident-formats, reserved-symbolic-sequence, quote-op-*, symbolic-op, ...
4 | SyntaxHighlighter.brushes.FSharp = function()
5 | {
6 | var keywords = 'abstract and as assert base begin class default delegate do done ' +
7 | 'downcast downto elif else end exception extern false finally for '+
8 | 'fun function if in inherit inline interface internal lazy let ' +
9 | 'match member module mutable namespace new null of open or '+
10 | 'override private public rec return static struct then to '+
11 | 'true try type upcast use val void when while with yield';
12 | var ocaml = 'asr land lor lsl lsr lxor mod sig';
13 | var reserved ='atomic break checked component const constraint constructor '+
14 | 'continue eager event external fixed functor global include '+
15 | 'method mixin object parallel process protected pure '+
16 | 'sealed tailcall trait virtual volatile';
17 | var symbolic = 'let! use! do! yield! return! \\| -> <- \\. : \\( \\) \\[ \\] \\[< >\\] \\[\\| \\|\\] '+
18 | '\\{ \\} \' # :\\?> :\\? ; ;; :> := _ \\.\\. ::';
19 |
20 | this.regexList = [
21 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
22 | { regex: new RegExp('\\(\\*[\\s\\S]*?\\*\\)', 'gm'), css: 'comments' }, // multiline comments
23 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
24 | { regex: new RegExp('^\\s*#.*', 'gm'), css: 'preprocessor' }, // preprocessor tags like #light
25 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // f# keyword
26 | //{ regex: new RegExp(this.getKeywords(ocaml), 'gm'), css: 'color1' }, // caml keyword
27 | //{ regex: new RegExp(this.getKeywords(reserved), 'gm'), css: 'color2' }, // reserved keyword
28 | //{ regex: new RegExp(this.getKeywords(symbolic), 'gm'), css: 'color3' } // symbolic keyword
29 | ];
30 | }
31 |
32 | SyntaxHighlighter.brushes.FSharp.prototype = new SyntaxHighlighter.Highlighter();
33 | SyntaxHighlighter.brushes.FSharp.aliases = ['f#', 'f-sharp', 'fsharp'];
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/third-party-brushes/shBrushLatex.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SyntaxHighlighter
3 | * http://alexgorbatchev.com/
4 | *
5 | * SyntaxHighlighter is donationware. If you are using it, please donate.
6 | * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7 | *
8 | * @version
9 | * 2.0.296 (March 01 2009)
10 | *
11 | * @copyright
12 | * Copyright (C) 2004-2009 Alex Gorbatchev.
13 | *
14 | * @license
15 | * This file is part of SyntaxHighlighter.
16 | *
17 | * SyntaxHighlighter is free software: you can redistribute it and/or modify
18 | * it under the terms of the GNU General Public License as published by
19 | * the Free Software Foundation, either version 3 of the License, or
20 | * (at your option) any later version.
21 | *
22 | * SyntaxHighlighter is distributed in the hope that it will be useful,
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 | * GNU General Public License for more details.
26 | *
27 | * You should have received a copy of the GNU General Public License
28 | * along with SyntaxHighlighter. If not, see .
29 | *
30 | *
31 | * Very simple Latex brush
32 | * http://www.jorgemarsal.com/blog/
33 | */
34 |
35 |
36 |
37 | SyntaxHighlighter.brushes.Latex = function()
38 | {
39 | var keywords = 'if fi then elif else for do done until while break continue case function return in eq ne gt lt ge le';
40 | //var commands = 'include usepackage begin end ref label includegraphics';
41 |
42 | this.regexList = [
43 | { regex: new RegExp('%.*','gm'), css: 'comments' }, // one line comments
44 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
45 | { regex: new RegExp('\\\\\\w*','gm'), css: 'keyword' }, // commands
46 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'function' }, // keywords
47 | ];
48 | }
49 |
50 | SyntaxHighlighter.brushes.Latex.prototype = new SyntaxHighlighter.Highlighter();
51 | SyntaxHighlighter.brushes.Latex.aliases = ['latex', 'tex'];
52 |
53 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/third-party-brushes/shBrushMatlabKey.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Author: Will Schleter
3 | * based on: http://www.jamesrohal.com
4 | */
5 | SyntaxHighlighter.brushes.MatlabKey = function()
6 | {
7 | var keywords = 'break case catch classdef continue else elseif end for function global if otherwise parfor persistent return spmd switch try while';
8 | var functions = ' ';
9 |
10 | this.regexList = [
11 | { regex: /%.*$/gm, css: 'comments' }, // one line comments
12 | { regex: /\%\{[\s\S]*?\%\}/gm, css: 'comments'}, // multiline comments
13 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
14 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string'},
15 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
16 | ];
17 | }
18 |
19 | SyntaxHighlighter.brushes.MatlabKey.prototype = new SyntaxHighlighter.Highlighter();
20 | SyntaxHighlighter.brushes.MatlabKey.aliases = ['matlabkey', 'matlab'];
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/third-party-brushes/shBrushObjC.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Wordpress SyntaxHighlighter brush for Objective-C
3 | * By Matej Bukovinski, www.bukovinski.com
4 | *
5 | * Copyright (C) 2009 Matej Bukovinski
6 | *
7 | * Adapted from:
8 | * SyntaxHighlighter - Objective-C Brush, version 1.0.0
9 | * http://codepirate.seaandco.com/
10 | * Copyright (C) 2009 Geoffrey Byers.
11 | *
12 | * Licensed under a GNU Lesser General Public License.
13 | * http://creativecommons.org/licenses/LGPL/2.1/
14 | *
15 | */
16 |
17 | SyntaxHighlighter.brushes.ObjC = function() {
18 |
19 | var datatypes = 'char bool BOOL double float int long short id void';
20 |
21 | var keywords = 'IBAction IBOutlet SEL YES NO readwrite readonly nonatomic nil NULL ';
22 | keywords += 'super self copy ';
23 | keywords += 'break case catch class const copy __finally __exception __try ';
24 | keywords += 'const_cast continue private public protected __declspec ';
25 | keywords += 'default delete deprecated dllexport dllimport do dynamic_cast ';
26 | keywords += 'else enum explicit extern if for friend goto inline ';
27 | keywords += 'mutable naked namespace new noinline noreturn nothrow ';
28 | keywords += 'register reinterpret_cast return selectany ';
29 | keywords += 'sizeof static static_cast struct switch template this ';
30 | keywords += 'thread throw true false try typedef typeid typename union ';
31 | keywords += 'using uuid virtual volatile whcar_t while';
32 |
33 | this.regexList = [
34 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comment' }, // one line comments
35 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comment' }, // multiline comments
36 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
38 | { regex: new RegExp('^ *#.*', 'gm'), css: 'preprocessor' }, // preprocessor
39 | { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'datatypes' }, // datatypes
40 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keyword
41 | { regex: new RegExp('\\bNS\\w+\\b', 'g'), css: 'keyword' }, // keyword
42 | { regex: new RegExp('@\\w+\\b', 'g'), css: 'keyword' }, // keyword
43 | { regex: new RegExp('@"(?:\\.|(\\\\\\")|[^\\""\\n])*"', 'g'), css: 'string' } // objc string
44 | ];
45 |
46 | }
47 |
48 | SyntaxHighlighter.brushes.ObjC.prototype = new SyntaxHighlighter.Highlighter();
49 | SyntaxHighlighter.brushes.ObjC.aliases = ['objc', 'obj-c'];
50 |
--------------------------------------------------------------------------------
/plugins/syntaxhighlighter/third-party-brushes/shBrushR.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Author: Yihui Xie
3 | * URL: http://yihui.name/en/2010/09/syntaxhighlighter-brush-for-the-r-language
4 | * License: GPL-2 | GPL-3
5 | */
6 | SyntaxHighlighter.brushes.R = function()
7 | {
8 | var keywords = 'if else repeat while function for in next break TRUE FALSE NULL Inf NaN NA NA_integer_ NA_real_ NA_complex_ NA_character_';
9 | var constants = 'LETTERS letters month.abb month.name pi';
10 | this.regexList = [
11 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' },
12 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
13 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
14 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
15 | { regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' },
16 | { regex: /[\w._]+[ \t]*(?=\()/gm, css: 'functions' },
17 | ];
18 | };
19 | SyntaxHighlighter.brushes.R.prototype = new SyntaxHighlighter.Highlighter();
20 | SyntaxHighlighter.brushes.R.aliases = ['r', 's', 'splus'];
21 |
--------------------------------------------------------------------------------
/plugins/wp-postviews/postviews-cache.js:
--------------------------------------------------------------------------------
1 | jQuery.ajax({type:"GET",url:viewsCacheL10n.admin_ajax_url,data:"postviews_id="+viewsCacheL10n.post_id+"&action=postviews",cache:!1});
--------------------------------------------------------------------------------
/plugins/wp-postviews/uninstall.php:
--------------------------------------------------------------------------------
1 | blog_id : $ms_site['blog_id'];
15 | switch_to_blog( $blog_id );
16 | uninstall();
17 | restore_current_blog();
18 | }
19 | }
20 | } else {
21 | uninstall();
22 | }
23 |
24 | function uninstall() {
25 | global $wpdb;
26 |
27 | $option_names = array( 'views_options', 'widget_views_most_viewed', 'widget_views' );
28 |
29 | if( count( $option_names ) > 0 ) {
30 | foreach( $option_names as $option_name ) {
31 | delete_option( $option_name );
32 | }
33 | }
34 |
35 | $wpdb->query( "DELETE FROM $wpdb->postmeta WHERE meta_key = 'views'" );
36 | }
37 |
--------------------------------------------------------------------------------
/themes/index.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
无法找到该页面(404)
5 |
6 |
7 |
很遗憾,你所要寻找的页面已经丢失或者已经被删除。
8 |
回到首页
9 |
10 |
11 |
--------------------------------------------------------------------------------
/themes/mygalgame/author.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/mygalgame/category.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/mygalgame/common.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | ';
12 | bcn_display();
13 | }
14 | ?>
15 |
16 |
17 |
18 |
19 |
20 | have_posts() ) : $wp_query->the_post(); ?>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/themes/mygalgame/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Beats0/mygalgame/4c6c379c0dc8a1e5ab2376c1c681a8bdd241147d/themes/mygalgame/favicon.ico
--------------------------------------------------------------------------------
/themes/mygalgame/footer.php:
--------------------------------------------------------------------------------
1 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |