header output is not XHTML compliant. Please use theheader instead. 27 | 28 | Send any bug reports to BenBE@omorphia.de, or submit them via the bug tracker at 29 | sourceforge (http://sourceforge.net/tracker/?group_id=114997&atid=670231) 30 | -------------------------------------------------------------------------------- /lib/geshi/docs/README: -------------------------------------------------------------------------------- 1 | 2 | GeSHi - GEneric Syntax HIghlighter 3 | ---------------------------------- 4 | Version 1.0.8 5 | 6 | Author: Benny Baumann, Nigel McNie 7 | Email: BenBE@geshi.org, nigel@geshi.org 8 | GeSHi Website: http://qbnz.com/highlighter 9 | 10 | GeSHi is a generic syntax highlighter, written in PHP. You simply 11 | input the source code you wish to highlight with the language you 12 | wish to use, and the output will be a file syntax highlighted to 13 | XHTML standards. 14 | 15 | For more information on how to use GeSHi, please consult the 16 | documentation. If you got this readme from a GeSHi package, then 17 | the documentation is available in the docs/ directory. Documentation 18 | is also available at http://qbnz.com/highlighter/documentation.php 19 | 20 | If you think you've found a bug in GeSHi, contact me with a bug 21 | report at BenBE@omorphia.de, or submit it to the bug tracker at 22 | http://sourceforge.net/tracker/?group_id=114997&atid=670231. Be 23 | aware that minor highlighting errors may well just be incorrect 24 | language files, but if you do find something major please contact me. 25 | 26 | And if you're using GeSHi as a plugin/mod for some other software, 27 | please tell me about it! It's worth a link to you, and I can give 28 | you specialist help if you need it. 29 | 30 | GeSHi is free software, released under the GNU GPL. Please see the 31 | COPYING file for more information. If you do modify this program, 32 | please tell me about it! Perhaps you've made a good improvement that 33 | I can learn from :) -------------------------------------------------------------------------------- /lib/geshi/docs/api/blank.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |GeSHi 1.0.8 4 | 5 | 6 | 7 | 8 |9 | Welcome to geshi!GeSHi 1.0.8
10 |
11 | This documentation was generated by phpDocumentor v1.4.2
12 | 13 | -------------------------------------------------------------------------------- /lib/geshi/docs/api/classtrees_geshi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |Root class GeSHi
17 |18 |
19 | 20 |- GeSHi
21 | Documentation generated on Thu, 25 Dec 2008 14:34:34 +0100 by phpDocumentor 1.4.2 22 |
23 | 24 | -------------------------------------------------------------------------------- /lib/geshi/docs/api/errors.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |phpDocumentor Parser Errors and Warnings 7 | 8 | 9 | 10 | 11 | Post-parsing
12 | 13 |geshi.php
14 |Errors:
15 | Error on line 569 - DocBlock has multiple @access tags, illegal. ignoring additional tag "@access private"
16 |17 | Documentation generated on Thu, 25 Dec 2008 14:34:53 +0100 by phpDocumentor 1.4.2 18 |
19 | 20 | -------------------------------------------------------------------------------- /lib/geshi/docs/api/index.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 |GeSHi 1.0.8 9 | 10 | 11 | 12 | 24 | -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/banner.css: -------------------------------------------------------------------------------- 1 | body 2 | { 3 | background-color: #EEEEEE; 4 | margin: 0px; 5 | padding: 0px; 6 | } 7 | 8 | /* Banner (top bar) classes */ 9 | 10 | .banner { } 11 | 12 | .banner-menu 13 | { 14 | text-align: right; 15 | clear: both; 16 | padding: .5em; 17 | border-top: 2px solid #AAAAAA; 18 | } 19 | 20 | .banner-title 21 | { 22 | text-align: right; 23 | font-size: 20pt; 24 | font-weight: bold; 25 | margin: .2em; 26 | } 27 | 28 | .package-selector 29 | { 30 | background-color: #DDDDDD; 31 | border: 1px solid #AAAAAA; 32 | color: #000090; 33 | } 34 | -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/AbstractClass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/AbstractClass.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/AbstractClass_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/AbstractClass_logo.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/AbstractMethod.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/AbstractMethod.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/AbstractPrivateClass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/AbstractPrivateClass.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/AbstractPrivateClass_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/AbstractPrivateClass_logo.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/AbstractPrivateMethod.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/AbstractPrivateMethod.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Class.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Class.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Class_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Class_logo.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Constant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Constant.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Constructor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Constructor.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Destructor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Destructor.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Function.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Function.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Global.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Global.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/I.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/I.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Index.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Interface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Interface.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Interface_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Interface_logo.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/L.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/L.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Lminus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Lminus.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Lplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Lplus.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Method.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Method.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Page.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Page_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Page_logo.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/PrivateClass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/PrivateClass.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/PrivateClass_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/PrivateClass_logo.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/PrivateMethod.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/PrivateMethod.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/PrivateVariable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/PrivateVariable.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/StaticMethod.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/StaticMethod.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/StaticVariable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/StaticVariable.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/T.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/T.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Tminus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Tminus.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Tplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Tplus.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/Variable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/Variable.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/blank.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/class_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/class_folder.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/empty.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/file.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/folder.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/function_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/function_folder.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/next_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/next_button.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/next_button_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/next_button_disabled.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/package.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/package_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/package_folder.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/previous_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/previous_button.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/previous_button_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/previous_button_disabled.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/private_class_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/private_class_logo.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/tutorial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/tutorial.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/tutorial_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/tutorial_folder.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/media/images/up_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/docs/api/media/images/up_button.png -------------------------------------------------------------------------------- /lib/geshi/docs/api/packages.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |7 | 8 | 9 | 10 | 11 | 12 | 28 | 29 | -------------------------------------------------------------------------------- /lib/geshi/docs/api/todolist.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Todo List 7 | 8 | 9 | 10 | 11 |12 |Todo List
geshi
13 |GeSHi::disable_highlighting()
14 |15 |
17 |- Rewrite with array traversal
16 |GeSHi::enable_highlighting()
18 |19 |
21 |- Rewrite with array traversal
20 |GeSHi::enable_important_blocks()
22 |23 |
25 |- REMOVE THIS SHIZ FROM GESHI!
24 |GeSHi::get_language_name_from_extension()
26 |27 |
30 |- Re-think about how this method works (maybe make it private and/or make it a extension->lang lookup?)
28 |- static?
29 |GeSHi::highlight_lines_extra()
31 |32 |
34 |- Some data replication here that could be cut down on
33 |GeSHi::load_from_file()
35 |36 |
38 |- Complete rethink of this and above method
37 |39 | Documentation generated on Thu, 25 Dec 2008 14:34:53 +0100 by phpDocumentor 1.4.2 40 |
41 | 42 | -------------------------------------------------------------------------------- /lib/geshi/geshi/xbasic.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/geshi/geshi/xbasic.php -------------------------------------------------------------------------------- /lib/php-diff/example/a.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Hello World! 5 | 6 | 7 |Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
8 | 9 |A heading we'll be removing
10 | 11 |Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
12 | 13 | -------------------------------------------------------------------------------- /lib/php-diff/example/b.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Goodbye Cruel World! 5 | 6 | 7 |Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
8 | 9 | 10 |Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
11 | 12 |Just a small amount of new text...
13 | 14 | -------------------------------------------------------------------------------- /lib/php-diff/example/styles.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #fff; 3 | font-family: Arial; 4 | font-size: 12px; 5 | } 6 | .Differences { 7 | width: 100%; 8 | border-collapse: collapse; 9 | border-spacing: 0; 10 | empty-cells: show; 11 | } 12 | 13 | .Differences thead th { 14 | text-align: left; 15 | border-bottom: 1px solid #000; 16 | background: #aaa; 17 | color: #000; 18 | padding: 4px; 19 | } 20 | .Differences tbody th { 21 | text-align: right; 22 | background: #ccc; 23 | width: 4em; 24 | padding: 1px 2px; 25 | border-right: 1px solid #000; 26 | vertical-align: top; 27 | font-size: 13px; 28 | } 29 | 30 | .Differences td { 31 | padding: 1px 2px; 32 | font-family: Consolas, monospace; 33 | font-size: 13px; 34 | } 35 | 36 | .DifferencesSideBySide .ChangeInsert td.Left { 37 | background: #dfd; 38 | } 39 | 40 | .DifferencesSideBySide .ChangeInsert td.Right { 41 | background: #cfc; 42 | } 43 | 44 | .DifferencesSideBySide .ChangeDelete td.Left { 45 | background: #f88; 46 | } 47 | 48 | .DifferencesSideBySide .ChangeDelete td.Right { 49 | background: #faa; 50 | } 51 | 52 | .DifferencesSideBySide .ChangeReplace .Left { 53 | background: #fe9; 54 | } 55 | 56 | .DifferencesSideBySide .ChangeReplace .Right { 57 | background: #fd8; 58 | } 59 | 60 | .Differences ins, .Differences del { 61 | text-decoration: none; 62 | } 63 | 64 | .DifferencesSideBySide .ChangeReplace ins, .DifferencesSideBySide .ChangeReplace del { 65 | background: #fc0; 66 | } 67 | 68 | .Differences .Skipped { 69 | background: #f7f7f7; 70 | } 71 | 72 | .DifferencesInline .ChangeReplace .Left, 73 | .DifferencesInline .ChangeDelete .Left { 74 | background: #fdd; 75 | } 76 | 77 | .DifferencesInline .ChangeReplace .Right, 78 | .DifferencesInline .ChangeInsert .Right { 79 | background: #dfd; 80 | } 81 | 82 | .DifferencesInline .ChangeReplace ins { 83 | background: #9e9; 84 | } 85 | 86 | .DifferencesInline .ChangeReplace del { 87 | background: #e99; 88 | } 89 | 90 | pre { 91 | width: 100%; 92 | overflow: auto; 93 | } -------------------------------------------------------------------------------- /lib/php-gettext/AUTHORS: -------------------------------------------------------------------------------- 1 | Danilo Segan2 | Nico Kaiser (contributed most changes between 1.0.2 and 1.0.3, bugfix for 1.0.5) 3 | Steven Armstrong (gettext.inc, leading to 1.0.6) 4 | -------------------------------------------------------------------------------- /lib/php-gettext/Makefile: -------------------------------------------------------------------------------- 1 | PACKAGE = php-gettext-$(VERSION) 2 | VERSION = 1.0.11 3 | 4 | DIST_FILES = \ 5 | gettext.php \ 6 | gettext.inc \ 7 | streams.php \ 8 | AUTHORS \ 9 | README \ 10 | COPYING \ 11 | Makefile \ 12 | examples/index.php \ 13 | examples/pigs_dropin.php \ 14 | examples/pigs_fallback.php \ 15 | examples/locale/sr_CS/LC_MESSAGES/messages.po \ 16 | examples/locale/sr_CS/LC_MESSAGES/messages.mo \ 17 | examples/locale/de_CH/LC_MESSAGES/messages.po \ 18 | examples/locale/de_CH/LC_MESSAGES/messages.mo \ 19 | examples/update \ 20 | tests/LocalesTest.php \ 21 | tests/ParsingTest.php 22 | 23 | check: 24 | phpunit --verbose tests 25 | 26 | dist: check 27 | if [ -d $(PACKAGE) ]; then \ 28 | rm -rf $(PACKAGE); \ 29 | fi; \ 30 | mkdir $(PACKAGE); \ 31 | if [ -d $(PACKAGE) ]; then \ 32 | cp -rp --parents $(DIST_FILES) $(PACKAGE); \ 33 | tar cvzf $(PACKAGE).tar.gz $(PACKAGE); \ 34 | rm -rf $(PACKAGE); \ 35 | fi; 36 | 37 | clean: 38 | rm -f $(PACKAGE).tar.gz 39 | -------------------------------------------------------------------------------- /lib/php-gettext/examples/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | PHP-gettext examples 4 | 5 | 6 |PHP-gettext
7 | 8 |Introduction
9 |PHP-gettext provides a simple gettext replacement that works independently from the system's gettext abilities. 10 | It can read MO files and use them for translating strings.
11 |This version has the ability to cache all strings and translations to speed up the string lookup. 12 | While the cache is enabled by default, it can be switched off with the second parameter in the constructor (e.g. when using very large MO files 13 | that you don't want to keep in memory)
14 | 15 | 16 |Examples
17 | 21 | 22 |
23 |Copyright (c) 2003-2006 Danilo Segan
24 |Copyright (c) 2005-2006 Steven Armstrong
25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /lib/php-gettext/examples/locale/de_CH/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/php-gettext/examples/locale/de_CH/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /lib/php-gettext/examples/locale/de_CH/LC_MESSAGES/messages.po: -------------------------------------------------------------------------------- 1 | # Sample translation for PHP-gettext 1.0 2 | # Copyright (c) 2003 Danilo Segan3 | # 4 | msgid "" 5 | msgstr "" 6 | "Project-Id-Version: pigs\n" 7 | "Report-Msgid-Bugs-To: \n" 8 | "POT-Creation-Date: 2003-10-23 04:50+0200\n" 9 | "PO-Revision-Date: 2003-11-01 23:40+0100\n" 10 | "Last-Translator: Danilo Segan \n" 11 | "Language-Team: Serbian (sr) \n" 12 | "MIME-Version: 1.0\n" 13 | "Content-Type: text/plain; charset=UTF-8\n" 14 | "Content-Transfer-Encoding: 8bit\n" 15 | #"Plural-Forms: nplurals=2; plural=n != 1;\n" 16 | 17 | #: pigs.php:19 18 | msgid "" 19 | "This is how the story goes.\n" 20 | "\n" 21 | msgstr "" 22 | "Und so geht die Geschichte.\n" 23 | "\n" 24 | 25 | #: pigs.php:21 26 | #, php-format 27 | msgid "%d pig went to the market\n" 28 | msgid_plural "%d pigs went to the market\n" 29 | msgstr[0] "%d Schwein ging zum Markt\n" 30 | msgstr[1] "%d Schweine gingen zum Markt\n" 31 | -------------------------------------------------------------------------------- /lib/php-gettext/examples/locale/sr_CS/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/php-gettext/examples/locale/sr_CS/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /lib/php-gettext/examples/locale/sr_CS/LC_MESSAGES/messages.po: -------------------------------------------------------------------------------- 1 | # Sample translation for PHP-gettext 1.0 2 | # Copyright (c) 2003,2006 Danilo Segan 3 | # 4 | msgid "" 5 | msgstr "" 6 | "Project-Id-Version: pigs\n" 7 | "Report-Msgid-Bugs-To: \n" 8 | "POT-Creation-Date: 2003-10-23 04:50+0200\n" 9 | "PO-Revision-Date: 2006-02-02 21:06+0100\n" 10 | "Last-Translator: Danilo Segan \n" 11 | "Language-Team: Serbian (sr) \n" 12 | "MIME-Version: 1.0\n" 13 | "Content-Type: text/plain; charset=UTF-8\n" 14 | "Content-Transfer-Encoding: 8bit\n" 15 | "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " 16 | "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" 17 | 18 | #: pigs.php:19 19 | msgid "" 20 | "This is how the story goes.\n" 21 | "\n" 22 | msgstr "Овако иде прича.\n\n" 23 | 24 | #: pigs.php:21 25 | #, php-format 26 | msgid "%d pig went to the market\n" 27 | msgid_plural "%d pigs went to the market\n" 28 | msgstr[0] "%d мало прасе је отишло на пијац\n" 29 | msgstr[1] "%d мала прасета су отишла на пијац\n" 30 | msgstr[2] "%d малих прасића је отишло на пијац\n" 31 | -------------------------------------------------------------------------------- /lib/php-gettext/examples/update: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | TEMPLATE=pigs.pot 3 | xgettext -kT_ngettext:1,2 -kT_ -L PHP -o $TEMPLATE pigs_dropin.php 4 | if [ "x$1" = "x-p" ]; then 5 | msgfmt --statistics $TEMPLATE 6 | else 7 | if [ -f $1.po ]; then 8 | msgmerge -o .tmp$1.po $1.po $TEMPLATE 9 | mv .tmp$1.po $1.po 10 | msgfmt --statistics $1.po 11 | else 12 | echo "Usage: $0 [-p| ]" 13 | fi 14 | fi 15 | -------------------------------------------------------------------------------- /lib/repo/Pickle.inc.php: -------------------------------------------------------------------------------- 1 | GetPath() . '/.repopickle_config' 10 | */ 11 | function ReadRepoPickleConfig($repopickle_config) 12 | { 13 | $config = file_get_contents($repopickle_config); 14 | 15 | if (substr($config,0,1) != "\x80") { // PROTO 2 16 | return array(); 17 | } 18 | 19 | $f = explode("\x71",$config); // BINPUT (followed by 1-byte index) 20 | 21 | array_shift($f); //skip first 22 | array_pop($f); // and last items 23 | 24 | $secure = 255; 25 | $keys = array(); 26 | $values = array(); 27 | foreach ($f as $k => $item) { 28 | 29 | $a = unpack('C*', $item); 30 | $n = array_shift($a); 31 | $op = reset($a); // get first item 32 | 33 | $next_is_value = ($op == 0x5D); // EMPTY_LIST ie "=>" 34 | if ($next_is_value) { 35 | $key = $k - 1; 36 | continue; 37 | } 38 | $t = array_shift($a); 39 | 40 | append_remain: 41 | if ($t == 0x61 or $t == 0x28) { // APPEND or MARK 42 | $t = array_shift($a); 43 | $item =substr($item, 1); 44 | } 45 | 46 | $new = $item; 47 | if ($t == 0x55) { //'U' SHORT_BINSTRING (<= 255) 48 | $sz = array_shift($a); 49 | $new = substr($item,3,$sz); 50 | $remain = substr($item, 3+$sz); 51 | } 52 | 53 | if (isset($key)) { 54 | $values[$key] = $new; 55 | unset($key); 56 | } else { 57 | $keys[$k] = $new; 58 | } 59 | 60 | if (!empty($remain) && $secure > 0) { 61 | $item = $remain; 62 | $secure--; 63 | goto append_remain; 64 | } 65 | } 66 | $repo_config = array_combine($keys, $values); 67 | return $repo_config; 68 | } 69 | ?> -------------------------------------------------------------------------------- /lib/rhino/js.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpruvot/GitPHP/8d5347f2cad0f4f901dfe26c7025a2390df1e133/lib/rhino/js.jar -------------------------------------------------------------------------------- /lib/smarty-gettext/ChangeLog: -------------------------------------------------------------------------------- 1 | 2005-07-27 Sagi Bashari 2 | * README: 3 | - Redone 4 | 5 | * smarty-gettext.php: 6 | - Renamed file to block.t.php 7 | 8 | * block.t.php: 9 | - Rename smarty_translate() to smarty_block_t() 10 | - Rename strarg() to smarty_gettext_strarg 11 | - Better comments, new installation method 12 | - url escaping method 13 | 14 | * tsmarty2c.php: 15 | - Use 'env php' as php bin path 16 | - Output file name along with ripped strings 17 | - Comments, wrapping 18 | 19 | 2004-04-30 Sagi Bashari 20 | 21 | * README: 22 | - replace smarty_gettext with smarty-gettext 23 | - correct package name, project urls, add vrsion 24 | 25 | * tsmarty2.c: 26 | - check if file extension exists before checking if is in array (Florian Lanthaler ) 27 | - correct package name, project urls, add version 28 | 29 | * smarty_gettext: 30 | - rename to smarty-gettext 31 | - correct package name, project urls, add version 32 | 33 | 2004-03-01 Sagi Bashari 34 | 35 | * tsmarty2c.php: 36 | - added support for directories (originally by Uros Gruber ) 37 | - fixed bug that prevented more than 1 block per line (reported by Eneko Lacunza ) 38 | - convert new line to \n in output string 39 | 40 | * smarty_gettext.php: 41 | - run nl2br() when escaping html 42 | -------------------------------------------------------------------------------- /lib/smarty/SMARTY_3.0_BC_NOTES.txt: -------------------------------------------------------------------------------- 1 | == Smarty2 backward compatibility == 2 | All Smarty2 specific API functions and deprecated functionallity has been moved 3 | to the SmartyBC class. 4 | 5 | == {php} Tag == 6 | The {php} tag is no longer available in the standard Smarty calls. 7 | The use of {php} tags is deprecated and only available in the SmartyBC class. 8 | 9 | == {include_php} Tag == 10 | The {include_php} tag is no longer available in the standard Smarty calls. 11 | The use of {include_php} tags is deprecated and only available in the SmartyBC class. 12 | 13 | == php template resource == 14 | The support of the php template resource is removed. 15 | 16 | == $cache_dir, $compile_dir, $config_dir, $template_dir access == 17 | The mentioned properties can't be accessed directly any longer. You must use 18 | corresponding getter/setters like addConfigDir(), setConfigDir(), getConfigDir() 19 | 20 | == obsolete Smarty class properties == 21 | The following no longer used properties are removed: 22 | $allow_php_tag 23 | $allow_php_template 24 | $deprecation_notices -------------------------------------------------------------------------------- /lib/smarty/demo/configs/test.conf: -------------------------------------------------------------------------------- 1 | title = Welcome to Smarty! 2 | cutoff_size = 40 3 | 4 | [setup] 5 | bold = true 6 | -------------------------------------------------------------------------------- /lib/smarty/demo/index.php: -------------------------------------------------------------------------------- 1 | force_compile = true; 15 | $smarty->debugging = true; 16 | $smarty->caching = true; 17 | $smarty->cache_lifetime = 120; 18 | 19 | $smarty->assign("Name","Fred Irving Johnathan Bradley Peppergill",true); 20 | $smarty->assign("FirstName",array("John","Mary","James","Henry")); 21 | $smarty->assign("LastName",array("Doe","Smith","Johnson","Case")); 22 | $smarty->assign("Class",array(array("A","B","C","D"), array("E", "F", "G", "H"), 23 | array("I", "J", "K", "L"), array("M", "N", "O", "P"))); 24 | 25 | $smarty->assign("contacts", array(array("phone" => "1", "fax" => "2", "cell" => "3"), 26 | array("phone" => "555-4444", "fax" => "555-3333", "cell" => "760-1234"))); 27 | 28 | $smarty->assign("option_values", array("NY","NE","KS","IA","OK","TX")); 29 | $smarty->assign("option_output", array("New York","Nebraska","Kansas","Iowa","Oklahoma","Texas")); 30 | $smarty->assign("option_selected", "NE"); 31 | 32 | $smarty->display('index.tpl'); 33 | ?> 34 | -------------------------------------------------------------------------------- /lib/smarty/demo/plugins/resource.extendsall.php: -------------------------------------------------------------------------------- 1 | smarty->getTemplateDir() as $key => $directory) { 27 | try { 28 | $s = Smarty_Resource::source(null, $source->smarty, '[' . $key . ']' . $source->name ); 29 | if (!$s->exists) { 30 | continue; 31 | } 32 | $sources[$s->uid] = $s; 33 | $uid .= $s->filepath; 34 | } 35 | catch (SmartyException $e) {} 36 | } 37 | 38 | if (!$sources) { 39 | $source->exists = false; 40 | $source->template = $_template; 41 | return; 42 | } 43 | 44 | $sources = array_reverse($sources, true); 45 | reset($sources); 46 | $s = current($sources); 47 | 48 | $source->components = $sources; 49 | $source->filepath = $s->filepath; 50 | $source->uid = sha1($uid); 51 | $source->exists = $exists; 52 | if ($_template && $_template->smarty->compile_check) { 53 | $source->timestamp = $s->timestamp; 54 | } 55 | // need the template at getContent() 56 | $source->template = $_template; 57 | } 58 | } 59 | 60 | ?> -------------------------------------------------------------------------------- /lib/smarty/demo/templates/footer.tpl: -------------------------------------------------------------------------------- 1 |