-1);text=text.replace(/\ ]*?\>/ig,newline_flag);var el=document.createElement('');el.innerHTML=text;text=el.innerText.replace(new RegExp(newline_flag,"g"),'\r\n');return text}$("body").bind("copy",function(){if(''!=ChiliBook.preContent){window.clipboardData.setData('Text',preformatted(ChiliBook.preContent));event.returnValue=false}}).bind("mousedown",function(){ChiliBook.preContent=""}).bind("mouseup",function(){ChiliBook.preElement=null})}})})(jQuery);
--------------------------------------------------------------------------------
/plugins/tablesorter/docs/js/chili/cplusplus.css:
--------------------------------------------------------------------------------
1 | /*
2 | ===============================================================================
3 | Chili is the jQuery code highlighter plugin
4 | ...............................................................................
5 | Copyright 2007 / Andrea Ercolino
6 | -------------------------------------------------------------------------------
7 | LICENSE: http://www.opensource.org/licenses/mit-license.php
8 | WEBSITE: http://noteslog.com/chili/
9 | ===============================================================================
10 | */
11 |
12 | .cplusplus .mlcom { color: #4040c2; }
13 | .cplusplus .com { color: green; }
14 | .cplusplus .string { color: teal; }
15 | .cplusplus .keyword { color: navy; font-weight: bold; }
16 | .cplusplus .datatype { color: blue; }
17 | .cplusplus .preproc { color: red; }
18 | .cplusplus .number { color: red; }
19 |
--------------------------------------------------------------------------------
/plugins/tablesorter/docs/js/chili/cplusplus.js:
--------------------------------------------------------------------------------
1 | /*
2 | ===============================================================================
3 | Chili is the jQuery code highlighter plugin
4 | ...............................................................................
5 | Copyright 2007 / Andrea Ercolino
6 | -------------------------------------------------------------------------------
7 | LICENSE: http://www.opensource.org/licenses/mit-license.php
8 | WEBSITE: http://noteslog.com/chili/
9 | ===============================================================================
10 | */
11 |
12 | {
13 | steps: {
14 | mlcom : { exp: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// }
15 | , com : { exp: /\/\/.*/ }
16 | , preproc : { exp: /[\^\n]\s*#\w+/ }
17 | , string : { exp: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ }
18 | , number : { exp: /\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/ }
19 | , datatype: { exp: /\b(?:ATOM|BOOL|BOOLEAN|BYTE|CHAR|COLORREF|DWORD|DWORD32|DWORD64|DWORDLONG|DWORD_PTR|FILE|FLOAT|HACCEL|HALF_PTR|HANDLE|HBITMAP|HBRUSH|HCOLORSPACE|HCONV|HCONVLIST|HCURSOR|HDC|HDDEDATA|HDESK|HDROP|HDWP|HENHMETAFILE|HFILE|HFONT|HGDIOBJ|HGLOBAL|HHOOK|HICON|HINSTANCE|HKEY|HKL|HLOCAL|HMENU|HMETAFILE|HMODULE|HMONITOR|HPALETTE|HPEN|HRESULT|HRGN|HRSRC|HSZ|HWINSTA|HWND|INT|INT32|INT64|INT_PTR|LANGID|LCID|LCTYPE|LGRPID|LONG|LONG32|LONG64|LONGLONG|LONG_PTR|LPARAM|LPBOOL|LPBYTE|LPCOLORREF|LPCSTR|LPCTSTR|LPCVOID|LPCWSTR|LPDWORD|LPHANDLE|LPINT|LPLONG|LPSTR|LPTSTR|LPVOID|LPWORD|LPWSTR|LRESULT|PBOOL|PBOOLEAN|PBYTE|PCHAR|PCSTR|PCTSTR|PCWSTR|PDWORD32|PDWORD64|PDWORDLONG|PDWORD_PTR|PFLOAT|PHALF_PTR|PHANDLE|PHKEY|PINT|PINT32|PINT64|PINT_PTR|PLCID|PLONG|PLONG32|PLONG64|PLONGLONG|PLONG_PTR|POINTER_32|POINTER_64|PSHORT|PSIZE_T|PSSIZE_T|PSTR|PTBYTE|PTCHAR|PTSTR|PUCHAR|PUHALF_PTR|PUINT|PUINT32|PUINT64|PUINT_PTR|PULONG|PULONG32|PULONG64|PULONGLONG|PULONG_PTR|PUSHORT|PVOID|PWCHAR|PWORD|PWSTR|SC_HANDLE|SC_LOCK|SERVICE_STATUS_HANDLE|SHORT|SIZE_T|SSIZE_T|TBYTE|TCHAR|UCHAR|UHALF_PTR|UINT|UINT32|UINT64|UINT_PTR|ULONG|ULONG32|ULONG64|ULONGLONG|ULONG_PTR|USHORT|USN|VOID|WCHAR|WORD|WPARAM|_EXCEPTION_POINTERS|_FPIEEE_RECORD|_HEAPINFO|_HFILE|_PNH|__finddata64_t|__int16|__int32|__int64|__int8|__stat64|__time64_t|__timeb64|__wchar_t|__wfinddata64_t|_complex|_dev_t|_diskfree_t|_exception|_finddata_t|_finddatai64_t|_off_t|_onexit_t|_purecall_handler|_stat|_stati64|_timeb|_utimbuf|_wfinddata_t|_wfinddatai64_t|bool|char|clock_t|div_t|double|float|fpos_t|int|intptr_t|jmp_buf|lconv|ldiv_t|long|mbstate_t|ptrdiff_t|short|sig_atomic_t|signed|size_t|terminate_function|time_t|tm|uintptr_t|va_list|wchar_t|wctrans_t|wctype_t|wint_t)\b/ }
20 | , keyword : { exp: /\b(?:__declspec|__exception|__finally|__try|break|case|catch|class|const|const_cast|continue|default|delete|deprecated|dllexport|dllimport|do|dynamic_cast|else|enum|explicit|extern|false|for|friend|goto|if|inline|mutable|naked|namespace|new|noinline|noreturn|nothrow|private|protected|public|register|reinterpret_cast|return|selectany|sizeof|static|static_cast|struct|switch|template|this|thread|throw|true|try|typedef|typeid|typename|union|using|uuid|virtual|void|volatile|whcar_t|while)\b/ }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/plugins/tablesorter/docs/js/chili/csharp.css:
--------------------------------------------------------------------------------
1 | /*
2 | ===============================================================================
3 | Chili is the jQuery code highlighter plugin
4 | ...............................................................................
5 | Copyright 2007 / Andrea Ercolino
6 | -------------------------------------------------------------------------------
7 | LICENSE: http://www.opensource.org/licenses/mit-license.php
8 | WEBSITE: http://noteslog.com/chili/
9 | ===============================================================================
10 | */
11 |
12 | .csharp .mlcom { color: #4040c2; }
13 | .csharp .com { color: green; }
14 | .csharp .string { color: teal; }
15 | .csharp .keyword { color: navy; font-weight: bold; }
16 | .csharp .preproc { color: red; }
17 | .csharp .number { color: red; }
18 |
--------------------------------------------------------------------------------
/plugins/tablesorter/docs/js/chili/csharp.js:
--------------------------------------------------------------------------------
1 | /*
2 | ===============================================================================
3 | Chili is the jQuery code highlighter plugin
4 | ...............................................................................
5 | Copyright 2007 / Andrea Ercolino
6 | -------------------------------------------------------------------------------
7 | LICENSE: http://www.opensource.org/licenses/mit-license.php
8 | WEBSITE: http://noteslog.com/chili/
9 | ===============================================================================
10 | */
11 |
12 | {
13 | steps: {
14 | mlcom : { exp: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// }
15 | , com : { exp: /\/\/.*/ }
16 | , string : { exp: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ }
17 | , preproc: { exp: /^\s*#.*/ }
18 | , number : { exp: /\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/ }
19 | , keyword: { exp: /\b(?:abstract|as|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|get|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|set|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|while)\b/ }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/plugins/tablesorter/docs/js/chili/css.css:
--------------------------------------------------------------------------------
1 | /*
2 | ===============================================================================
3 | Chili is the jQuery code highlighter plugin
4 | ...............................................................................
5 | Copyright 2007 / Andrea Ercolino
6 | -------------------------------------------------------------------------------
7 | LICENSE: http://www.opensource.org/licenses/mit-license.php
8 | WEBSITE: http://noteslog.com/chili/
9 | ===============================================================================
10 | */
11 |
12 | .css .mlcom { color: #4040c2; }
13 | .css .color { color: green; }
14 | .css .string { color: teal; }
15 | .css .attrib { color: navy; font-weight: bold; }
16 | .css .value { color: blue; }
17 | .css .number { color: red; }
18 |
--------------------------------------------------------------------------------
/plugins/tablesorter/docs/js/chili/css.js:
--------------------------------------------------------------------------------
1 | /*
2 | ===============================================================================
3 | Chili is the jQuery code highlighter plugin
4 | ...............................................................................
5 | Copyright 2007 / Andrea Ercolino
6 | -------------------------------------------------------------------------------
7 | LICENSE: http://www.opensource.org/licenses/mit-license.php
8 | WEBSITE: http://noteslog.com/chili/
9 | ===============================================================================
10 | */
11 |
12 | {
13 | steps: {
14 | mlcom : { exp: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// }
15 | , string: { exp: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ }
16 | , number: { exp: /(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*))(?:%|(?:(?:px|pt|em|)\b))/ }
17 | , attrib: { exp: /\b(?:z-index|x-height|word-spacing|widths|width|widows|white-space|volume|voice-family|visibility|vertical-align|units-per-em|unicode-range|unicode-bidi|text-transform|text-shadow|text-indent|text-decoration|text-align|table-layout|stress|stemv|stemh|src|speech-rate|speak-punctuation|speak-numeral|speak-header|speak|slope|size|right|richness|quotes|position|play-during|pitch-range|pitch|pause-before|pause-after|pause|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|overflow|outline-width|outline-style|outline-color|outline|orphans|min-width|min-height|max-width|max-height|mathline|marks|marker-offset|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|height|font-weight|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-family|font|float|empty-cells|elevation|display|direction|descent|definition-src|cursor|cue-before|cue-after|cue|counter-reset|counter-increment|content|color|clip|clear|centerline|caption-side|cap-height|bottom|border-width|border-top-width|border-top-style|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-left-width|border-left-style|border-left-color|border-left|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-color|border-bottom|border|bbox|baseline|background-repeat|background-position|background-image|background-color|background-attachment|background|azimuth|ascent)\b/ }
18 | , value : { exp: /\b(?:xx-small|xx-large|x-soft|x-small|x-slow|x-low|x-loud|x-large|x-high|x-fast|wider|wait|w-resize|visible|url|uppercase|upper-roman|upper-latin|upper-alpha|underline|ultra-expanded|ultra-condensed|tv|tty|transparent|top|thin|thick|text-top|text-bottom|table-row-group|table-row|table-header-group|table-footer-group|table-column-group|table-column|table-cell|table-caption|sw-resize|super|sub|status-bar|static|square|spell-out|speech|solid|soft|smaller|small-caption|small-caps|small|slower|slow|silent|show|separate|semi-expanded|semi-condensed|se-resize|scroll|screen|s-resize|run-in|rtl|rightwards|right-side|right|ridge|rgb|repeat-y|repeat-x|repeat|relative|projection|print|pre|portrait|pointer|overline|outside|outset|open-quote|once|oblique|nw-resize|nowrap|normal|none|no-repeat|no-open-quote|no-close-quote|ne-resize|narrower|n-resize|move|mix|middle|message-box|medium|marker|ltr|lowercase|lower-roman|lower-latin|lower-greek|lower-alpha|lower|low|loud|local|list-item|line-through|lighter|level|leftwards|left-side|left|larger|large|landscape|justify|italic|invert|inside|inset|inline-table|inline|icon|higher|high|hide|hidden|help|hebrew|handheld|groove|format|fixed|faster|fast|far-right|far-left|fantasy|extra-expanded|extra-condensed|expanded|embossed|embed|e-resize|double|dotted|disc|digits|default|decimal-leading-zero|decimal|dashed|cursive|crosshair|cross|crop|counters|counter|continuous|condensed|compact|collapse|code|close-quote|circle|center-right|center-left|center|caption|capitalize|braille|bottom|both|bolder|bold|block|blink|bidi-override|below|behind|baseline|avoid|auto|aural|attr|armenian|always|all|absolute|above)\b/ }
19 | , color : { exp: /(?:\#[a-zA-Z0-9]{3,6})|(?:yellow|white|teal|silver|red|purple|olive|navy|maroon|lime|green|gray|fuchsia|blue|black|aqua)/ }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/plugins/tablesorter/docs/js/chili/delphi.css:
--------------------------------------------------------------------------------
1 | /*
2 | ===============================================================================
3 | Chili is the jQuery code highlighter plugin
4 | ...............................................................................
5 | Copyright 2007 / Andrea Ercolino
6 | -------------------------------------------------------------------------------
7 | LICENSE: http://www.opensource.org/licenses/mit-license.php
8 | WEBSITE: http://noteslog.com/chili/
9 | ===============================================================================
10 | */
11 |
12 | .delphi .mlcom { color: #4040c2; }
13 | .delphi .com { color: green; }
14 | .delphi .string { color: teal; }
15 | .delphi .keyword { color: navy; font-weight: bold; }
16 | .delphi .direct { color: red; }
17 | .delphi .number { color: red; }
18 |
--------------------------------------------------------------------------------
/plugins/tablesorter/docs/js/chili/delphi.js:
--------------------------------------------------------------------------------
1 | /*
2 | ===============================================================================
3 | Chili is the jQuery code highlighter plugin
4 | ...............................................................................
5 | Copyright 2007 / Andrea Ercolino
6 | -------------------------------------------------------------------------------
7 | LICENSE: http://www.opensource.org/licenses/mit-license.php
8 | WEBSITE: http://noteslog.com/chili/
9 | ===============================================================================
10 | */
11 |
12 | {
13 | steps: {
14 | mlcom : { exp: /(?:\(\*[\s\S]*?\*\))|(?:{(?!\$)[\s\S]*?})/ }
15 | , com : { exp: /\/\/.*/ }
16 | , string : { exp: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')/ }
17 | , number : { exp: /(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b)|(?:\$[a-zA-Z0-9]+\b)/ }
18 | , direct : { exp: /\{\$[a-zA-Z]+ .+\}/ }
19 | , keyword: { exp: /\b(?:abs|addr|and|ansichar|ansistring|array|as|asm|begin|boolean|byte|cardinal|case|char|class|comp|const|constructor|currency|destructor|div|do|double|downto|else|end|except|exports|extended|false|file|finalization|finally|for|function|goto|if|implementation|in|inherited|initialization|int64|integer|interface|is|label|library|longint|longword|mod|nil|not|object|of|on|or|packed|pansichar|pansistring|pchar|pcurrency|pdatetime|pextended|pint64|pointer|private|procedure|program|property|protected|pshortstring|pstring|public|published|pvariant|pwidechar|pwidestring|raise|real|real48|record|repeat|set|shl|shortint|shortstring|shr|single|smallint|string|then|threadvar|to|true|try|type|unit|until|uses|val|var|varirnt|while|widechar|widestring|with|word|write|writeln|xor)\b/ }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/plugins/tablesorter/docs/js/chili/html.css:
--------------------------------------------------------------------------------
1 | /*
2 | ===============================================================================
3 | Chili is the jQuery code highlighter plugin
4 | ...............................................................................
5 | Copyright 2007 / Andrea Ercolino
6 | -------------------------------------------------------------------------------
7 | LICENSE: http://www.opensource.org/licenses/mit-license.php
8 | WEBSITE: http://noteslog.com/chili/
9 | ===============================================================================
10 | */
11 |
12 | .html .php { color: red; font-weight: bold; }
13 | .html .tag { color: navy; font-weight: bold; }
14 | .html .aname { color: purple; }
15 | .html .avalue { color: fuchsia; }
16 | .html .mlcom { color: green; }
17 | .html .entity { color: teal; }
18 |
--------------------------------------------------------------------------------
/plugins/tablesorter/docs/js/chili/html.js:
--------------------------------------------------------------------------------
1 | /*
2 | ===============================================================================
3 | Chili is the jQuery code highlighter plugin
4 | ...............................................................................
5 | Copyright 2007 / Andrea Ercolino
6 | -------------------------------------------------------------------------------
7 | LICENSE: http://www.opensource.org/licenses/mit-license.php
8 | WEBSITE: http://noteslog.com/chili/
9 | ===============================================================================
10 | */
11 |
12 | {
13 | steps: {
14 | mlcom : { exp: /\/g,'-->\n');
23 |
24 | $("#html pre").text(html);
25 | }
26 | $("pre.javascript").chili();
27 | $("pre.html").chili();
28 | $("pre.css").chili();
29 | });
--------------------------------------------------------------------------------
/plugins/tablesorter/jquery.metadata.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Metadata - jQuery plugin for parsing metadata from elements
3 | *
4 | * Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan
5 | *
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | *
10 | * Revision: $Id$
11 | *
12 | */
13 |
14 | /**
15 | * Sets the type of metadata to use. Metadata is encoded in JSON, and each property
16 | * in the JSON will become a property of the element itself.
17 | *
18 | * There are three supported types of metadata storage:
19 | *
20 | * attr: Inside an attribute. The name parameter indicates *which* attribute.
21 | *
22 | * class: Inside the class attribute, wrapped in curly braces: { }
23 | *
24 | * elem: Inside a child element (e.g. a script tag). The
25 | * name parameter indicates *which* element.
26 | *
27 | * The metadata for an element is loaded the first time the element is accessed via jQuery.
28 | *
29 | * As a result, you can define the metadata type, use $(expr) to load the metadata into the elements
30 | * matched by expr, then redefine the metadata type and run another $(expr) for other elements.
31 | *
32 | * @name $.metadata.setType
33 | *
34 | * @example This is a p
35 | * @before $.metadata.setType("class")
36 | * @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
37 | * @desc Reads metadata from the class attribute
38 | *
39 | * @example This is a p
40 | * @before $.metadata.setType("attr", "data")
41 | * @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
42 | * @desc Reads metadata from a "data" attribute
43 | *
44 | * @example This is a p
45 | * @before $.metadata.setType("elem", "script")
46 | * @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
47 | * @desc Reads metadata from a nested script element
48 | *
49 | * @param String type The encoding type
50 | * @param String name The name of the attribute to be used to get metadata (optional)
51 | * @cat Plugins/Metadata
52 | * @descr Sets the type of encoding to be used when loading metadata for the first time
53 | * @type undefined
54 | * @see metadata()
55 | */
56 |
57 | (function($) {
58 |
59 | $.extend({
60 | metadata : {
61 | defaults : {
62 | type: 'class',
63 | name: 'metadata',
64 | cre: /({.*})/,
65 | single: 'metadata'
66 | },
67 | setType: function( type, name ){
68 | this.defaults.type = type;
69 | this.defaults.name = name;
70 | },
71 | get: function( elem, opts ){
72 | var settings = $.extend({},this.defaults,opts);
73 | // check for empty string in single property
74 | if ( !settings.single.length ) settings.single = 'metadata';
75 |
76 | var data = $.data(elem, settings.single);
77 | // returned cached data if it already exists
78 | if ( data ) return data;
79 |
80 | data = "{}";
81 |
82 | if ( settings.type == "class" ) {
83 | var m = settings.cre.exec( elem.className );
84 | if ( m )
85 | data = m[1];
86 | } else if ( settings.type == "elem" ) {
87 | if( !elem.getElementsByTagName )
88 | return undefined;
89 | var e = elem.getElementsByTagName(settings.name);
90 | if ( e.length )
91 | data = $.trim(e[0].innerHTML);
92 | } else if ( elem.getAttribute != undefined ) {
93 | var attr = elem.getAttribute( settings.name );
94 | if ( attr )
95 | data = attr;
96 | }
97 |
98 | if ( data.indexOf( '{' ) <0 )
99 | data = "{" + data + "}";
100 |
101 | data = eval("(" + data + ")");
102 |
103 | $.data( elem, settings.single, data );
104 | return data;
105 | }
106 | }
107 | });
108 |
109 | /**
110 | * Returns the metadata object for the first member of the jQuery object.
111 | *
112 | * @name metadata
113 | * @descr Returns element's metadata object
114 | * @param Object opts An object contianing settings to override the defaults
115 | * @type jQuery
116 | * @cat Plugins/Metadata
117 | */
118 | $.fn.metadata = function( opts ){
119 | return $.metadata.get( this[0], opts );
120 | };
121 |
122 | })(jQuery);
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/assets/ajax-content.html:
--------------------------------------------------------------------------------
1 |
2 | Student04
3 | Languages
4 | male
5 | 80
6 | 70
7 | 75
8 | 80
9 |
10 |
11 | Student05
12 | Mathematics
13 | male
14 | 90
15 | 88
16 | 100
17 | 90
18 |
19 |
20 |
21 | Student06
22 | Languages
23 | female
24 | 85
25 | 95
26 | 80
27 | 85
28 |
29 |
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/assets/css/default.css:
--------------------------------------------------------------------------------
1 | * {
2 | font-family: Arial, Helvetica, sans-serif;
3 | }
4 | pre {
5 | font-family: "Courier New", Courier, monospace;
6 |
7 | font-size: 14px;
8 | width: 100%;
9 | }
10 | h1 {
11 |
12 | font-size: 20px;
13 | color: #4D4D4D;
14 | }
15 | h3 {
16 | font-size: 16px;
17 |
18 | color: #3D3D3D;
19 | }
20 | th {
21 | text-align: left;
22 | padding: 5px;
23 | background-color: #6E6E6E;
24 | }
25 | td {
26 | color: #FFF;
27 | padding: 5px;
28 | }
29 | table {
30 | font-size: 12px;
31 | background-color: #4D4D4D;
32 | width: 1024px;
33 | border: 1px solid #000;
34 | }
35 | .even {
36 | background-color: #3D3D3D;
37 | }
38 | .odd {
39 | background-color: #6E6E6E;
40 | }
41 | .highlight {
42 | background-color: #3D3D3D;
43 | font-weight: bold;
44 | }
45 | .header {
46 | background-image: url(../img/header-bg.png);
47 | background-repeat: no-repeat;
48 | border-left: 1px solid #FFF;
49 | border-right: 1px solid #000;
50 | border-top: 1px solid #FFF;
51 | padding-left: 30px;
52 | padding-top: 8px;
53 | height: auto;
54 | }
55 | .headerSortUp {
56 | background-image: url(../img/header-asc.png);
57 | background-repeat: no-repeat;
58 | border-left: 1px solid #FFF;
59 | border-right: 1px solid #000;
60 | border-top: 1px solid #FFF;
61 | padding-left: 30px;
62 | padding-top: 8px;
63 | height: auto;
64 | }
65 | .headerSortDown {
66 | background-image: url(../img/header-desc.png);
67 | background-repeat: no-repeat;
68 | border-left: 1px solid #FFF;
69 | border-right: 1px solid #000;
70 | border-top: 1px solid #FFF;
71 | padding-left: 30px;
72 | padding-top: 8px;
73 | height: auto;
74 | }
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/assets/css/jquery.tabs-ie.css:
--------------------------------------------------------------------------------
1 | /*
2 | Tabs - additional IE specific bug fixes
3 |
4 | Recommended usage (Conditional Comments):
5 |
8 |
9 | */
10 | .tabs-nav { /* auto clear */
11 | display: inline-block;
12 | }
13 | .tabs-nav .tabs-disabled {
14 | position: relative; /* fixes opacity */
15 | filter: alpha(opacity=40);
16 | }
17 | .tabs-nav .tabs-disabled a span {
18 | _height: 19px; /* for some reason the height is 1px to less with opacity... */
19 | min-height: 19px; /* ...in both IE 6 and 7 */
20 | }
21 |
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/assets/css/jquery.tabs.css:
--------------------------------------------------------------------------------
1 | /* Caution! Ensure accessibility in print and other media types... */
2 | @media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
3 | .tabs-hide {
4 | display: none;
5 | }
6 | }
7 |
8 | /* Hide useless elements in print layouts... */
9 | @media print {
10 | .tabs-nav {
11 | display: none;
12 | }
13 | }
14 |
15 | /* Skin */
16 | .tabs-nav {
17 | list-style: none;
18 | margin: 0;
19 | padding: 0 0 0 4px;
20 | }
21 | .tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
22 | display: block;
23 | clear: both;
24 | content: " ";
25 | }
26 | .tabs-nav li {
27 | float: left;
28 | margin: 0 0 0 1px;
29 | min-width: 84px; /* be nice to Opera */
30 | }
31 | .tabs-nav a, .tabs-nav a span {
32 | display: block;
33 | padding: 0 10px;
34 | background: url(../img/tab.png) no-repeat;
35 | }
36 | .tabs-nav a {
37 | position: relative;
38 | top: 1px;
39 | z-index: 2;
40 | padding-left: 0;
41 | color: #27537a;
42 | font-size: 12px;
43 | font-weight: bold;
44 | line-height: 1.2;
45 | text-align: center;
46 | text-decoration: none;
47 | white-space: nowrap; /* required in IE 6 */
48 | }
49 | .tabs-nav .tabs-selected a {
50 | color: #000;
51 | }
52 | .tabs-nav .tabs-selected a, .tabs-nav a:hover, .tabs-nav a:focus, .tabs-nav a:active {
53 | background-position: 100% -150px;
54 | outline: 0; /* prevent dotted border in Firefox */
55 | }
56 | .tabs-nav a, .tabs-nav .tabs-disabled a:hover, .tabs-nav .tabs-disabled a:focus, .tabs-nav .tabs-disabled a:active {
57 | background-position: 100% -100px;
58 | }
59 | .tabs-nav a span {
60 | width: 64px; /* IE 6 treats width as min-width */
61 | min-width: 64px;
62 | height: 18px; /* IE 6 treats height as min-height */
63 | min-height: 18px;
64 | padding-top: 6px;
65 | padding-right: 0;
66 | }
67 | *>.tabs-nav a span { /* hide from IE 6 */
68 | width: auto;
69 | height: auto;
70 | }
71 | .tabs-nav .tabs-selected a span {
72 | padding-top: 7px;
73 | }
74 | .tabs-nav .tabs-selected a span, .tabs-nav a:hover span, .tabs-nav a:focus span, .tabs-nav a:active span {
75 | background-position: 0 -50px;
76 | }
77 | .tabs-nav a span, .tabs-nav .tabs-disabled a:hover span, .tabs-nav .tabs-disabled a:focus span, .tabs-nav .tabs-disabled a:active span {
78 | background-position: 0 0;
79 | }
80 | .tabs-nav .tabs-selected a:link, .tabs-nav .tabs-selected a:visited, .tabs-nav .tabs-disabled a:link, .tabs-nav .tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
81 | cursor: text;
82 | }
83 | .tabs-nav a:hover, .tabs-nav a:focus, .tabs-nav a:active { /* @ Opera, we need to be explicit again here now... */
84 | cursor: pointer;
85 | }
86 | .tabs-nav .tabs-disabled {
87 | opacity: .4;
88 | }
89 | .tabs-container {
90 | border-top: 1px solid #97a5b0;
91 | padding: 1em 8px;
92 | background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
93 | }
94 | .tabs-loading em {
95 | padding: 0 0 0 20px;
96 | background: url(loading.gif) no-repeat 0 50%;
97 | }
98 |
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/assets/img/header-asc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/tests/assets/img/header-asc.png
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/assets/img/header-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/tests/assets/img/header-bg.png
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/assets/img/header-desc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/tests/assets/img/header-desc.png
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/assets/img/small.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/tests/assets/img/small.gif
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/assets/img/small_asc.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/tests/assets/img/small_asc.gif
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/assets/img/small_desc.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/tests/assets/img/small_desc.gif
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/assets/img/tab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/tests/assets/img/tab.png
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/cell.metadata.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 | tablesorter 2.0-dev demo, multi column sorting
7 |
8 |
9 |
10 |
11 |
12 |
13 |
20 |
21 |
22 |
23 | tablesorter 2.0-dev demo, multi column sorting
24 |
25 | To select more then one column to sort by, hold down your shift key and press the "headers".
26 | Pressing a all ready sorted column while holding down shift will reverse the order.
27 |
28 |
29 | Releasing the shift key and pressing a column will result in a one column sort.
30 |
31 |
32 | Not big enough? Add 500 random rows of data (can be clicked many times, more then a 1000 rows can be slow)
33 |
34 |
35 |
36 |
37 |
38 |
39 | Name
40 | Major
41 | Sex
42 | English
43 | Japanese
44 | Calculus
45 | Geometry
46 | Geometry
47 |
48 |
49 |
50 |
51 | Name
52 |
53 | Major
54 | Sex
55 | English
56 | Japanese
57 | Calculus
58 | Geometry
59 | Geometry
60 |
61 |
62 |
63 |
64 |
65 | Student01
66 | Languages
67 | male
68 |
69 | 80
70 | 70
71 | 75
72 | 80
73 | brian christian
74 |
75 |
76 | Student02
77 |
78 | Mathematics
79 | male
80 | 90
81 | 88
82 | 100
83 | 90
84 | brian christian
85 |
86 |
87 | Student03
88 | Languages
89 | female
90 | 85
91 | 95
92 |
93 | 80
94 | 85
95 | brian christian
96 |
97 |
98 | Student04
99 | Languages
100 | male
101 |
102 | 60
103 | 55
104 | 100
105 | 100
106 | angus zebra
107 |
108 |
109 |
110 |
112 |
116 |
117 |
118 |
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/checkbox.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 | tablesorter 2.0-dev demo, multi column sorting
7 |
8 |
9 |
10 |
11 |
12 |
46 |
47 |
48 |
49 |
50 | fill up
51 |
52 |
53 |
54 |
55 |
56 | Name
57 |
58 | Major
59 | Sex
60 | English
61 | Japanese
62 | Calculus
63 | Geometry
64 |
65 |
66 |
67 |
68 | Name
69 |
70 | Major
71 | Sex
72 | English
73 | Japanese
74 | Calculus
75 | Geometry
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/colspan.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Untitled Document
6 |
7 |
8 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | General information
20 |
21 | Degree information
22 | Name
23 |
24 |
25 | Major
26 | Gender
27 | English
28 | Japanese
29 | Calculus
30 | Geometry
31 |
32 |
33 |
34 |
35 | Student01
36 | Languages
37 | male
38 | 80
39 | 70
40 | 75
41 | 80%
42 |
43 |
44 | Student02
45 | Mathematics
46 | male
47 | 90
48 | 88
49 | 100
50 | 90%
51 |
52 |
53 |
54 | Student03
55 | Languages
56 | female
57 | 85
58 | 95
59 | 80
60 | 85%
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | something
70 | Group of information 1
71 | Group of information 2
72 |
73 |
74 | Col 1
75 | Col 2
76 | Col 3
77 | Col 4
78 | Col 5
79 |
80 |
81 |
82 |
83 |
84 | Student01
85 | Languages
86 | male
87 | 80
88 | 70
89 |
90 |
91 |
92 | Student02
93 | Mathematics
94 | male
95 | 90
96 | 88
97 |
98 |
99 |
100 | Student03
101 | Languages
102 | female
103 | 85
104 | 95
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 | Col 1
113 | Col 2
114 | Col 3
115 | Col 4
116 | Col 5
117 |
118 |
119 |
120 |
121 |
122 | Student01
123 | Languages
124 | male
125 | 80
126 | 70
127 |
128 |
129 |
130 | Student02
131 | Mathematics
132 | male
133 | 90
134 | 88
135 |
136 |
137 |
138 | Student03
139 | Languages
140 | female
141 | 85
142 | 95
143 |
144 |
145 |
146 |
147 |
148 |
149 |
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/demo.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 | tablesorter 2.0-dev demo, multi column sorting
7 |
8 |
9 |
10 |
11 |
12 |
60 |
61 |
62 |
63 | tablesorter 2.0-dev demo, multi column sorting
64 |
65 | To select more then one column to sort by, hold down your shift key and press the "headers".
66 | Pressing a all ready sorted column while holding down shift will reverse the order.
67 |
68 |
69 | Releasing the shift key and pressing a column will result in a one column sort.
70 |
71 |
72 | Not big enough? Add 500 random rows of data (can be clicked many times, more then a 1000 rows can be slow)
73 |
74 |
75 |
76 |
77 |
78 | One and Two
79 | Three
80 | Three
81 | Three
82 | Three
83 | Three
84 |
85 |
86 | Name
87 | Major
88 |
89 |
90 |
91 |
92 |
93 | Name
94 |
95 | Major
96 | Sex
97 | English
98 | Japanese
99 | Calculus
100 | Geometry
101 |
102 |
103 |
104 |
105 |
106 | Student01
107 | Languages
108 | male
109 |
110 | 80
111 | 70
112 | 75
113 | 80
114 |
115 |
116 | Student02
117 |
118 | Mathematics
119 | male
120 | 90
121 | 88
122 | 100
123 | 90
124 |
125 |
126 |
127 | Student03
128 | Languages
129 | female
130 | 85
131 | 95
132 |
133 | 80
134 | 85
135 |
136 |
137 | Student04
138 | Languages
139 | male
140 |
141 | 60
142 | 55
143 | 100
144 | 100
145 |
146 |
147 | Student05
148 |
149 | Languages
150 | female
151 | 68
152 | 80
153 | 95
154 | 80
155 |
156 |
157 |
158 | Student06
159 | Mathematics
160 | male
161 | 100
162 | 99
163 |
164 | 100
165 | 90
166 |
167 |
168 | Student07
169 | Mathematics
170 | male
171 |
172 | 85
173 | 68
174 | 90
175 | 90
176 |
177 |
178 | Student08
179 |
180 | Languages
181 | male
182 | 100
183 | 90
184 | 90
185 | 85
186 |
187 |
188 |
189 | Student09
190 | Mathematics
191 | male
192 | 80
193 | 50
194 |
195 | 65
196 | 75
197 |
198 |
199 | Student10
200 | Languages
201 | male
202 |
203 | 85
204 | 100
205 | 100
206 | 90
207 |
208 |
209 | Student11
210 |
211 | Languages
212 | male
213 | 86
214 | 85
215 | 100
216 | 100
217 |
218 |
219 |
220 | Student12
221 | Mathematics
222 | female
223 | 100
224 | 75
225 |
226 | 70
227 | 85
228 |
229 |
230 | Student13
231 | Languages
232 | female
233 |
234 | 100
235 | 80
236 | 100
237 | 90
238 |
239 |
240 | Student14
241 |
242 | Languages
243 | female
244 | 50
245 | 45
246 | 55
247 | 90
248 |
249 |
250 |
251 | Student15
252 | Languages
253 | male
254 | 95
255 | 35
256 |
257 | 100
258 | 90
259 |
260 |
261 | Student16
262 | Languages
263 | female
264 |
265 | 100
266 | 50
267 | 30
268 | 70
269 |
270 |
271 | Student17
272 |
273 | Languages
274 | female
275 | 80
276 | 100
277 | 55
278 | 65
279 |
280 |
281 |
282 | Student18
283 | Mathematics
284 | male
285 | 30
286 | 49
287 |
288 | 55
289 | 75
290 |
291 |
292 | Student19
293 | Languages
294 | male
295 |
296 | 68
297 | 90
298 | 88
299 | 70
300 |
301 |
302 | Student20
303 |
304 | Mathematics
305 | male
306 | 40
307 | 45
308 | 40
309 | 80
310 |
311 |
312 |
313 | Student21
314 | Languages
315 | male
316 | 50
317 | 45
318 |
319 | 100
320 | 100
321 |
322 |
323 | Student22
324 | Mathematics
325 | male
326 |
327 | 100
328 | 99
329 | 100
330 | 90
331 |
332 |
333 | Student23
334 |
335 | Languages
336 | female
337 | 85
338 | 80
339 | 80
340 | 80
341 |
342 |
343 |
344 |
345 |
347 |
351 |
352 |
353 |
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Love Peace and Nukes
8 |
9 |
10 |
11 |
12 |
13 |
15 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/large.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 | tablesorter: 296 rows
7 |
8 |
9 |
10 |
11 |
12 |
13 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/plugins/tablesorter/tests/metadata.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 | tablesorter 2.0-dev demo, multi column sorting
7 |
8 |
9 |
10 |
11 |
12 |
13 |
31 |
32 |
33 |
34 | tablesorter 2.0-dev demo, multi column sorting
35 |
36 | To select more then one column to sort by, hold down your shift key and press the "headers".
37 | Pressing a all ready sorted column while holding down shift will reverse the order.
38 |
39 |
40 | Releasing the shift key and pressing a column will result in a one column sort.
41 |
42 |
43 | Not big enough? Add 500 random rows of data (can be clicked many times, more then a 1000 rows can be slow)
44 |
45 |
46 |
47 |
48 |
49 |
50 | Name
51 | Major
52 | Sex
53 | English
54 | Japanese
55 | Calculus
56 | Geometry
57 |
58 |
59 |
60 |
61 | Name
62 |
63 | Major
64 | Sex
65 | English
66 | Japanese
67 | Calculus
68 | Geometry
69 |
70 |
71 |
72 |
73 |
74 | Student01
75 | Languages
76 | male
77 |
78 | 80
79 | 70
80 | 75
81 | 80
82 |
83 |
84 | Student02
85 |
86 | Mathematics
87 | male
88 | 90
89 | 88
90 | 100
91 | 90
92 |
93 |
94 |
95 | Student03
96 | Languages
97 | female
98 | 85
99 | 95
100 |
101 | 80
102 | 85
103 |
104 |
105 | Student04
106 | Languages
107 | male
108 |
109 | 60
110 | 55
111 | 100
112 | 100
113 |
114 |
115 | Student05
116 |
117 | Languages
118 | female
119 | 68
120 | 80
121 | 95
122 | 80
123 |
124 |
125 |
126 | Student06
127 | Mathematics
128 | male
129 | 100
130 | 99
131 |
132 | 100
133 | 90
134 |
135 |
136 | Student07
137 | Mathematics
138 | male
139 |
140 | 85
141 | 68
142 | 90
143 | 90
144 |
145 |
146 | Student08
147 |
148 | Languages
149 | male
150 | 100
151 | 90
152 | 90
153 | 85
154 |
155 |
156 |
157 | Student09
158 | Mathematics
159 | male
160 | 80
161 | 50
162 |
163 | 65
164 | 75
165 |
166 |
167 | Student10
168 | Languages
169 | male
170 |
171 | 85
172 | 100
173 | 100
174 | 90
175 |
176 |
177 | Student11
178 |
179 | Languages
180 | male
181 | 86
182 | 85
183 | 100
184 | 100
185 |
186 |
187 |
188 | Student12
189 | Mathematics
190 | female
191 | 100
192 | 75
193 |
194 | 70
195 | 85
196 |
197 |
198 | Student13
199 | Languages
200 | female
201 |
202 | 100
203 | 80
204 | 100
205 | 90
206 |
207 |
208 | Student14
209 |
210 | Languages
211 | female
212 | 50
213 | 45
214 | 55
215 | 90
216 |
217 |
218 |
219 | Student15
220 | Languages
221 | male
222 | 95
223 | 35
224 |
225 | 100
226 | 90
227 |
228 |
229 | Student16
230 | Languages
231 | female
232 |
233 | 100
234 | 50
235 | 30
236 | 70
237 |
238 |
239 | Student17
240 |
241 | Languages
242 | female
243 | 80
244 | 100
245 | 55
246 | 65
247 |
248 |
249 |
250 | Student18
251 | Mathematics
252 | male
253 | 30
254 | 49
255 |
256 | 55
257 | 75
258 |
259 |
260 | Student19
261 | Languages
262 | male
263 |
264 | 68
265 | 90
266 | 88
267 | 70
268 |
269 |
270 | Student20
271 |
272 | Mathematics
273 | male
274 | 40
275 | 45
276 | 40
277 | 80
278 |
279 |
280 |
281 | Student21
282 | Languages
283 | male
284 | 50
285 | 45
286 |
287 | 100
288 | 100
289 |
290 |
291 | Student22
292 | Mathematics
293 | male
294 |
295 | 100
296 | 99
297 | 100
298 | 90
299 |
300 |
301 | Student23
302 |
303 | Languages
304 | female
305 | 85
306 | 80
307 | 80
308 | 80
309 |
310 |
311 |
312 |
313 |
315 |
319 |
320 |
321 |
--------------------------------------------------------------------------------
/plugins/tablesorter/themes/blue/asc.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/themes/blue/asc.gif
--------------------------------------------------------------------------------
/plugins/tablesorter/themes/blue/bg.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/themes/blue/bg.gif
--------------------------------------------------------------------------------
/plugins/tablesorter/themes/blue/blue.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/themes/blue/blue.zip
--------------------------------------------------------------------------------
/plugins/tablesorter/themes/blue/desc.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/themes/blue/desc.gif
--------------------------------------------------------------------------------
/plugins/tablesorter/themes/blue/style.css:
--------------------------------------------------------------------------------
1 | /* tables */
2 | table.tablesorter {
3 | font-family:arial;
4 | background-color: #CDCDCD;
5 | margin:10px 0pt 15px;
6 | font-size: 8pt;
7 | width: 100%;
8 | text-align: left;
9 | }
10 | table.tablesorter thead tr th, table.tablesorter tfoot tr th {
11 | background-color: #e6EEEE;
12 | border: 1px solid #FFF;
13 | font-size: 8pt;
14 | padding: 4px;
15 | }
16 | table.tablesorter thead tr .header {
17 | background-image: url(bg.gif);
18 | background-repeat: no-repeat;
19 | background-position: center right;
20 | cursor: pointer;
21 | }
22 | table.tablesorter tbody td {
23 | color: #3D3D3D;
24 | padding: 4px;
25 | background-color: #FFF;
26 | vertical-align: top;
27 | }
28 | table.tablesorter tbody tr.odd td {
29 | background-color:#F0F0F6;
30 | }
31 | table.tablesorter thead tr .headerSortUp {
32 | background-image: url(asc.gif);
33 | }
34 | table.tablesorter thead tr .headerSortDown {
35 | background-image: url(desc.gif);
36 | }
37 | table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
38 | background-color: #8dbdd8;
39 | }
40 |
--------------------------------------------------------------------------------
/plugins/tablesorter/themes/green/asc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/themes/green/asc.png
--------------------------------------------------------------------------------
/plugins/tablesorter/themes/green/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/themes/green/bg.png
--------------------------------------------------------------------------------
/plugins/tablesorter/themes/green/desc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/themes/green/desc.png
--------------------------------------------------------------------------------
/plugins/tablesorter/themes/green/green.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leefish/filethingie/4355186d2040bf74f956d2450a7871b1a10cc3ae/plugins/tablesorter/themes/green/green.zip
--------------------------------------------------------------------------------
/plugins/tablesorter/themes/green/style.css:
--------------------------------------------------------------------------------
1 | table.tablesorter {
2 | font-size: 12px;
3 | background-color: #4D4D4D;
4 | width: 1024px;
5 | border: 1px solid #000;
6 | }
7 | table.tablesorter th {
8 | text-align: left;
9 | padding: 5px;
10 | background-color: #6E6E6E;
11 | }
12 | table.tablesorter td {
13 | color: #FFF;
14 | padding: 5px;
15 | }
16 | table.tablesorter .even {
17 | background-color: #3D3D3D;
18 | }
19 | table.tablesorter .odd {
20 | background-color: #6E6E6E;
21 | }
22 | table.tablesorter .header {
23 | background-image: url(bg.png);
24 | background-repeat: no-repeat;
25 | border-left: 1px solid #FFF;
26 | border-right: 1px solid #000;
27 | border-top: 1px solid #FFF;
28 | padding-left: 30px;
29 | padding-top: 8px;
30 | height: auto;
31 | }
32 | table.tablesorter .headerSortUp {
33 | background-image: url(asc.png);
34 | background-repeat: no-repeat;
35 | }
36 | table.tablesorter .headerSortDown {
37 | background-image: url(desc.png);
38 | background-repeat: no-repeat;
39 | }
--------------------------------------------------------------------------------
/plugins/tinymce.plugin.php:
--------------------------------------------------------------------------------
1 | 'TinyMCE: Edit files using the TinyMCE editor.',
16 | 'settings' => array(
17 | 'list' => array(
18 | 'default' => 'html htm',
19 | 'description' => t('List of file extensions to edit using tinymce.'),
20 | ),
21 | 'path' => array(
22 | 'default' => 'tinymce/jscripts/tiny_mce/tiny_mce.js',
23 | 'description' => t('Path to tiny_mce.js'),
24 | ),
25 | ),
26 | );
27 | }
28 |
29 | /**
30 | * Implementation of hook_add_js_file.
31 | */
32 | function ft_tinymce_add_js_file() {
33 | global $ft;
34 | $return = array();
35 | // Only add JS when we are on an edit page.
36 | if (!empty($_REQUEST['act']) && $_REQUEST['act'] == 'edit' && file_exists($ft['plugins']['tinymce']['settings']['path'])) {
37 | $return[] = $ft['plugins']['tinymce']['settings']['path'];
38 | }
39 | return $return;
40 | }
41 |
42 | /**
43 | * Implementation of hook_add_js_call.
44 | */
45 | function ft_tinymce_add_js_call() {
46 | global $ft;
47 | $return = '';
48 | // Only add JS when we're on an edit page.
49 | if (!empty($_REQUEST['act']) && $_REQUEST['act'] == 'edit' && file_exists($ft['plugins']['tinymce']['settings']['path'])) {
50 | $list = explode(" ", $ft['plugins']['tinymce']['settings']['list']);
51 | if (in_array(ft_get_ext(strtolower($_REQUEST['file'])), $list)) {
52 | // Unbind save action and rebind with a tinymce specific version.
53 | $return .= '$("#save").unbind();$("#save").click(function(){
54 | $("#savestatus").empty().append("'.t('Saving file…').'
");
55 | // Get file content from tinymce.
56 | filecontent = tinyMCE.activeEditor.getContent();
57 | $.post("'.ft_get_self().'", {method:\'ajax\', act:\'saveedit\', file: $(\'#file\').val(), dir: $(\'#dir\').val(), filecontent: filecontent, convertspaces: $(\'#convertspaces\').val()}, function(data){
58 | $("#savestatus").empty().append(data);
59 | });
60 | });';
61 | }
62 | }
63 | return $return;
64 | }
65 |
66 | /**
67 | * Implementation of hook_add_js_call_footer.
68 | */
69 | function ft_tinymce_add_js_call_footer() {
70 | global $ft;
71 | $return = '';
72 | // Only add JS when we're on an edit page.
73 | if (!empty($_REQUEST['act']) && $_REQUEST['act'] == 'edit') {
74 | if (file_exists($ft['plugins']['tinymce']['settings']['path'])) {
75 | $list = explode(" ", $ft['plugins']['tinymce']['settings']['list']);
76 | if (in_array(ft_get_ext(strtolower($_REQUEST['file'])), $list)) {
77 | $return = 'tinyMCE.init({
78 | mode : "exact",
79 | elements : "filecontent",
80 | theme : "advanced",
81 | theme_advanced_toolbar_location : "top",
82 | theme_advanced_toolbar_align : "left"
83 | });';
84 | } else {
85 | $return = '// File not in TinyMCE edit list.';
86 | }
87 | } else {
88 | $return = '// TinyMCE file not found: ' . $ft['plugins']['tinymce']['settings']['path'];
89 | }
90 | }
91 | return $return;
92 | }
93 |
94 |
--------------------------------------------------------------------------------