├── .gitignore ├── .jshintrc ├── .scrutinizer.yml ├── .tm_properties ├── .travis.yml ├── DEV_INSTALL.sh ├── DEV_UPDATE.sh ├── README.md ├── bin └── install-wp-tests.sh ├── bower.json ├── composer.json ├── css ├── admin-styles.css ├── admin-theme-customizer-styles.css ├── class-option-date.css ├── class-option-font.css ├── class-option-select.css └── select2 │ └── select2.min.css ├── gulpfile.js ├── inc ├── edd-licensing │ ├── EDD_SL_Plugin_Updater.php │ └── theme-updater-class.php └── scssphp │ ├── LICENSE.md │ ├── README.md │ ├── composer.json │ └── scss.inc.php ├── js ├── ace-min-noconflict │ ├── ace.js │ ├── mode-css.js │ ├── mode-html.js │ ├── mode-javascript.js │ ├── mode-json.js │ ├── mode-less.js │ ├── mode-lua.js │ ├── mode-markdown.js │ ├── mode-mysql.js │ ├── mode-php.js │ ├── mode-plain_text.js │ ├── mode-python.js │ ├── mode-ruby.js │ ├── mode-sass.js │ ├── mode-scss.js │ ├── mode-sh.js │ ├── mode-text.js │ ├── mode-xml.js │ ├── snippets │ │ ├── css.js │ │ ├── html.js │ │ ├── javascript.js │ │ ├── json.js │ │ ├── less.js │ │ ├── lua.js │ │ ├── markdown.js │ │ ├── mysql.js │ │ ├── php.js │ │ ├── plain_text.js │ │ ├── python.js │ │ ├── ruby.js │ │ ├── sass.js │ │ ├── scss.js │ │ ├── sh.js │ │ ├── text.js │ │ └── xml.js │ ├── theme-ambiance.js │ ├── theme-chaos.js │ ├── theme-chrome.js │ ├── theme-clouds.js │ ├── theme-clouds_midnight.js │ ├── theme-cobalt.js │ ├── theme-crimson_editor.js │ ├── theme-dawn.js │ ├── theme-dreamweaver.js │ ├── theme-eclipse.js │ ├── theme-github.js │ ├── theme-idle_fingers.js │ ├── theme-iplastic.js │ ├── theme-katzenmilch.js │ ├── theme-kr_theme.js │ ├── theme-kuroir.js │ ├── theme-merbivore.js │ ├── theme-merbivore_soft.js │ ├── theme-mono_industrial.js │ ├── theme-monokai.js │ ├── theme-pastel_on_dark.js │ ├── theme-solarized_dark.js │ ├── theme-solarized_light.js │ ├── theme-sqlserver.js │ ├── theme-terminal.js │ ├── theme-textmate.js │ ├── theme-tomorrow.js │ ├── theme-tomorrow_night.js │ ├── theme-tomorrow_night_blue.js │ ├── theme-tomorrow_night_bright.js │ ├── theme-tomorrow_night_eighties.js │ ├── theme-twilight.js │ ├── theme-vibrant_ink.js │ ├── theme-xcode.js │ ├── worker-css.js │ ├── worker-html.js │ ├── worker-javascript.js │ ├── worker-json.js │ ├── worker-lua.js │ ├── worker-php.js │ └── worker-xml.js ├── admin-styling.js ├── dev │ ├── admin-styling.js │ ├── jquery-ui-timepicker-addon.js │ ├── serialize.js │ └── wp-color-picker-alpha.js ├── jquery-ui-timepicker-addon.js ├── min │ ├── admin-styling-min.js │ ├── jquery-ui-timepicker-addon-min.js │ ├── serialize-min.js │ └── wp-color-picker-alpha-min.js ├── multicheck-select-all.js ├── select2 │ └── select2.min.js ├── serialize.js └── wp-color-picker-alpha.js ├── languages ├── titan-framework-de_DE.mo ├── titan-framework-de_DE.po ├── titan-framework-en_US.mo ├── titan-framework-en_US.po ├── titan-framework-es_ES.mo ├── titan-framework-es_ES.po ├── titan-framework-fa_IR.po ├── titan-framework-fr_FR.mo ├── titan-framework-fr_FR.po ├── titan-framework-it_IT.mo ├── titan-framework-it_IT.po ├── titan-framework-pt_BR.mo ├── titan-framework-pt_BR.po ├── titan-framework-ru_RU.mo ├── titan-framework-ru_RU.po ├── titan-framework-tr_TR.mo ├── titan-framework-tr_TR.po └── titan-framework.pot ├── lib ├── class-admin-notification.php ├── class-admin-page.php ├── class-admin-tab.php ├── class-customizer.php ├── class-meta-box.php ├── class-option-ajax-button.php ├── class-option-checkbox.php ├── class-option-code.php ├── class-option-color.php ├── class-option-custom.php ├── class-option-date.php ├── class-option-edd-license.php ├── class-option-editor.php ├── class-option-enable.php ├── class-option-file.php ├── class-option-font.php ├── class-option-gallery.php ├── class-option-group.php ├── class-option-heading.php ├── class-option-iframe.php ├── class-option-multicheck-categories.php ├── class-option-multicheck-pages.php ├── class-option-multicheck-post-types.php ├── class-option-multicheck-posts.php ├── class-option-multicheck.php ├── class-option-note.php ├── class-option-number.php ├── class-option-radio-image.php ├── class-option-radio-palette.php ├── class-option-radio.php ├── class-option-save.php ├── class-option-select-categories.php ├── class-option-select-pages.php ├── class-option-select-post-types.php ├── class-option-select-posts.php ├── class-option-select.php ├── class-option-separator.php ├── class-option-sortable.php ├── class-option-text.php ├── class-option-textarea.php ├── class-option-upload.php ├── class-option.php ├── class-titan-css.php ├── class-titan-framework.php ├── class-wp-customize-control.php ├── functions-googlefonts.php ├── functions-utils.php └── iframe-font-preview.php ├── package-lock.json ├── package.json ├── phpcs.ruleset.xml ├── phpunit.xml.dist ├── readme.txt ├── ruleset.xml ├── tests ├── bootstrap.php ├── helpers │ └── shims.php ├── test-option-color.php ├── test-option-text.php ├── test-sample.php ├── test-titan-framework-checker.php └── test-titan-framework.php ├── titan-framework-checker.php ├── titan-framework-embedder.php └── titan-framework.php /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .AppleDouble 3 | .LSOverride 4 | Icon 5 | 6 | 7 | # Thumbnails 8 | ._* 9 | 10 | # Files that might appear on external disk 11 | .Spotlight-V100 12 | .Trashes 13 | 14 | *.codekit 15 | /vendor 16 | composer.phar 17 | 18 | composer.lock 19 | 20 | README.html 21 | 22 | /bower_components 23 | npm-debug.log 24 | /node_modules 25 | coverage 26 | coverage.clover 27 | /dist -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | /** 2 | * WordPress standards from https://develop.svn.wordpress.org/trunk/.jshintrc 3 | */ 4 | 5 | { 6 | "boss": true, 7 | "curly": true, 8 | "eqeqeq": true, 9 | "eqnull": true, 10 | "es3": true, 11 | "expr": true, 12 | "immed": true, 13 | "noarg": true, 14 | "onevar": true, 15 | "quotmark": "single", 16 | "trailing": true, 17 | "undef": true, // This reports `console` in `console.log()` as an error 18 | "unused": true, 19 | 20 | "browser": true, 21 | 22 | "globals": { 23 | "_": false, 24 | "Backbone": false, 25 | "jQuery": false, 26 | "JSON": false, 27 | "wp": false 28 | } 29 | } -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- 1 | checks: 2 | php: 3 | custom_coding_standard: 4 | git_repository: 'https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards' 5 | ruleset_path: 'WordPress-Core/ruleset.xml' 6 | tools: 7 | external_code_coverage: true 8 | php_code_sniffer: 9 | config: 10 | standard: "WordPress" -------------------------------------------------------------------------------- /.tm_properties: -------------------------------------------------------------------------------- 1 | # Inspired from https://github.com/hmans/homedir/blob/master/.tm_properties 2 | 3 | # Extra files to include 4 | # 5 | myExtraIncludes = ".tm_properties,.htaccess,.gitignore,.jshintrc,.travis.yml,.scrutinizer.yml" 6 | fileBrowserGlob = "{*,$myExtraIncludes}" 7 | include = "{$include,$myExtraIncludes}" 8 | 9 | # Hide log, vendor and tmp directories from search popups. 10 | # 11 | myExtraExcludes = "coverage,node_modules,vendor,bower_components" 12 | excludeInFileChooser = "{$excludeInFileChooser,$myExtraExcludes}" 13 | excludeInFolderSearch = "{$excludeInFolderSearch,$myExtraExcludes}" 14 | 15 | # Default editing configuration 16 | # 17 | softWrap = false 18 | softTabs = false 19 | tabSize = 4 -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # Tell Travis CI we're using PHP 2 | language: php 3 | 4 | # PHP version used in first build configuration. 5 | php: 6 | - "hhvm" 7 | - "7.0" 8 | - "5.6" 9 | - "5.5" 10 | - "5.4" 11 | - "5.3" 12 | # - "5.2" 13 | 14 | # WordPress version used in first build configuration. 15 | env: 16 | - WP_VERSION=latest WP_MULTISITE=0 17 | - WP_VERSION=4.2 WP_MULTISITE=0 18 | - WP_VERSION=4.1 WP_MULTISITE=0 19 | - WP_VERSION=latest WP_MULTISITE=1 20 | - WP_VERSION=4.2 WP_MULTISITE=1 21 | - WP_VERSION=4.1 WP_MULTISITE=1 22 | 23 | # Clones WordPress and configures our testing environment. 24 | before_script: 25 | - bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION 26 | - export PLUGIN_SLUG=$(basename $(pwd)) 27 | - cd .. 28 | - mv $PLUGIN_SLUG "/tmp/wordpress/wp-content/plugins/$PLUGIN_SLUG" 29 | - cd "/tmp/wordpress/wp-content/plugins/$PLUGIN_SLUG" 30 | 31 | script: 32 | - phpunit --coverage-text --coverage-clover=coverage.clover 33 | 34 | after_success: 35 | - wget https://scrutinizer-ci.com/ocular.phar 36 | - php ocular.phar code-coverage:upload --format=php-clover coverage.clover 37 | -------------------------------------------------------------------------------- /DEV_INSTALL.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # FILE="/tmp/out.$$" 3 | # GREP="/bin/grep" 4 | 5 | # Make sure only root can run our script 6 | if [ "$(id -u)" == "0" ]; then 7 | echo "This script must be run as a normal user" 1>&2 8 | exit 1 9 | fi 10 | 11 | # Make sure this can only run outside VirtualBox / VVV 12 | if [ "$(dmesg | grep VirtualBox || echo '1')" != '1' ]; then 13 | echo "This script must be run outside VirtualBox / VVV" 1>&2 14 | exit 1 15 | fi 16 | 17 | # Install Homebrew (needed for gettext & node) 18 | which brew || ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 19 | 20 | # Install node.js 21 | npm -v || sudo brew install node 22 | 23 | # Install bower 24 | bower -v || sudo npm install -g bower 25 | 26 | # Install VASSH for sending commands to VVV 27 | vassh --help || brew install vassh 28 | 29 | # Install pear if not installed 30 | pear list || ( curl -O http://pear.php.net/go-pear.phar && sudo php -d detect_unicode=0 go-pear.phar && sudo rm go-pear.phar ) 31 | 32 | # Install Ruby Sass since we need it for compiling sass (gulp-ruby-sass) 33 | gem list -i sass || sudo gem install sass 34 | 35 | # Install Gulp 36 | gulp -v || sudo npm install -g gulp 37 | 38 | # Install all the node packages we need for development 39 | npm install -d 40 | 41 | # Install PHP Code Sniffer 42 | pear list PHP_CodeSniffer || sudo pear install PHP_CodeSniffer 43 | 44 | # Install WordPress Standards for PHPCS 45 | rm -fR wpcs 46 | git clone -b master https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git wpcs && sudo cp -r wpcs/WordPress* $(pear config-get php_dir)/PHP/CodeSniffer/Standards && rm -fR wpcs && phpcs -i 47 | 48 | # Sometimes PHPCS fails, make it work: from http://viastudio.com/configure-php-codesniffer-for-mac-os-x/ 49 | phpcs -i || ( sudo mkdir -p /Library/Server/Web/Config/php && sudo touch /Library/Server/Web/Config/php/local.ini && echo 'include_path = ".:'`pear config-get php_dir`'"' | sudo tee -a /Library/Server/Web/Config/php/local.ini ) 50 | 51 | # Install SCP-2 52 | npm install gulp-scp2 --save-dev 53 | 54 | # Install RSync 55 | npm install gulp-rsync --save-dev 56 | 57 | # Install gettext for tranlations 58 | brew list gettext || brew install gettext -------------------------------------------------------------------------------- /DEV_UPDATE.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #FILE="/tmp/out.$$" 3 | #GREP="/bin/grep" 4 | 5 | # Make sure only root can run our script 6 | if [ "$(id -u)" == "0" ]; then 7 | echo "This script must be run as a normal user" 1>&2 8 | exit 1 9 | fi 10 | 11 | # Make sure this can only run outside VirtualBox / VVV 12 | if [ "$(dmesg | grep VirtualBox || echo '1')" != '1' ]; then 13 | echo "This script must be run outside VirtualBox / VVV" 1>&2 14 | exit 1 15 | fi 16 | 17 | # Check for Node module updates 18 | (npm-check-updates -V || npm install -g npm-check-updates) && npm-check-updates -u 19 | 20 | # Delete all and re-install everything 21 | rm -fr node_modules && npm install -d -------------------------------------------------------------------------------- /bin/install-wp-tests.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | if [ $# -lt 3 ]; then 4 | echo "usage: $0 [db-host] [wp-version]" 5 | exit 1 6 | fi 7 | 8 | DB_NAME=$1 9 | DB_USER=$2 10 | DB_PASS=$3 11 | DB_HOST=${4-localhost} 12 | WP_VERSION=${5-latest} 13 | 14 | WP_TESTS_DIR=${WP_TESTS_DIR-/tmp/wordpress-tests-lib} 15 | WP_CORE_DIR=${WP_CORE_DIR-/tmp/wordpress/} 16 | 17 | download() { 18 | # if [ `which curl` ]; then 19 | # curl -s "$1" > "$2"; 20 | # elif [ `which wget` ]; then 21 | wget --timestamping -nv -O "$2" "$1" 22 | # fi 23 | } 24 | 25 | if [[ $WP_VERSION =~ [0-9]+\.[0-9]+(\.[0-9]+)? ]]; then 26 | WP_TESTS_TAG="tags/$WP_VERSION" 27 | else 28 | # http serves a single offer, whereas https serves multiple. we only want one 29 | download http://api.wordpress.org/core/version-check/1.7/ /tmp/wp-latest.json 30 | grep '[0-9]+\.[0-9]+(\.[0-9]+)?' /tmp/wp-latest.json 31 | LATEST_VERSION=$(grep -o '"version":"[^"]*' /tmp/wp-latest.json | sed 's/"version":"//') 32 | if [[ -z "$LATEST_VERSION" ]]; then 33 | echo "Latest WordPress version could not be found" 34 | exit 1 35 | fi 36 | WP_TESTS_TAG="tags/$LATEST_VERSION" 37 | fi 38 | 39 | set -ex 40 | 41 | install_wp() { 42 | 43 | if [ -d $WP_CORE_DIR ]; then 44 | return; 45 | fi 46 | 47 | mkdir -p $WP_CORE_DIR 48 | 49 | if [ $WP_VERSION == 'latest' ]; then 50 | local ARCHIVE_NAME='latest' 51 | else 52 | local ARCHIVE_NAME="wordpress-$WP_VERSION" 53 | fi 54 | 55 | # download https://wordpress.org/${ARCHIVE_NAME}.tar.gz /tmp/wordpress.tar.gz 56 | # tar --strip-components=1 -zxmf /tmp/wordpress.tar.gz -C $WP_CORE_DIR 57 | download https://wordpress.org/${ARCHIVE_NAME}.tar.gz /tmp/${ARCHIVE_NAME}.tar.gz 58 | tar --strip-components=1 -zxmf /tmp/${ARCHIVE_NAME}.tar.gz -C $WP_CORE_DIR 59 | 60 | download https://raw.github.com/markoheijnen/wp-mysqli/master/db.php $WP_CORE_DIR/wp-content/db.php 61 | } 62 | 63 | install_test_suite() { 64 | # portable in-place argument for both GNU sed and Mac OSX sed 65 | if [[ $(uname -s) == 'Darwin' ]]; then 66 | local ioption='-i .bak' 67 | else 68 | local ioption='-i' 69 | fi 70 | 71 | # set up testing suite if it doesn't yet exist 72 | if [ ! -d $WP_TESTS_DIR ]; then 73 | # set up testing suite 74 | mkdir -p $WP_TESTS_DIR 75 | svn co --quiet https://develop.svn.wordpress.org/${WP_TESTS_TAG}/tests/phpunit/includes/ $WP_TESTS_DIR/includes 76 | fi 77 | 78 | cd $WP_TESTS_DIR 79 | 80 | if [ ! -f wp-tests-config.php ]; then 81 | download https://develop.svn.wordpress.org/${WP_TESTS_TAG}/wp-tests-config-sample.php "$WP_TESTS_DIR"/wp-tests-config.php 82 | sed $ioption "s:dirname( __FILE__ ) . '/src/':'$WP_CORE_DIR':" "$WP_TESTS_DIR"/wp-tests-config.php 83 | sed $ioption "s/youremptytestdbnamehere/$DB_NAME/" "$WP_TESTS_DIR"/wp-tests-config.php 84 | sed $ioption "s/yourusernamehere/$DB_USER/" "$WP_TESTS_DIR"/wp-tests-config.php 85 | sed $ioption "s/yourpasswordhere/$DB_PASS/" "$WP_TESTS_DIR"/wp-tests-config.php 86 | sed $ioption "s|localhost|${DB_HOST}|" "$WP_TESTS_DIR"/wp-tests-config.php 87 | fi 88 | 89 | } 90 | 91 | install_db() { 92 | # parse DB_HOST for port or socket references 93 | local PARTS=(${DB_HOST//\:/ }) 94 | local DB_HOSTNAME=${PARTS[0]}; 95 | local DB_SOCK_OR_PORT=${PARTS[1]}; 96 | local EXTRA="" 97 | 98 | if ! [ -z $DB_HOSTNAME ] ; then 99 | if [ $(echo $DB_SOCK_OR_PORT | grep -e '^[0-9]\{1,\}$') ]; then 100 | EXTRA=" --host=$DB_HOSTNAME --port=$DB_SOCK_OR_PORT --protocol=tcp" 101 | elif ! [ -z $DB_SOCK_OR_PORT ] ; then 102 | EXTRA=" --socket=$DB_SOCK_OR_PORT" 103 | elif ! [ -z $DB_HOSTNAME ] ; then 104 | EXTRA=" --host=$DB_HOSTNAME --protocol=tcp" 105 | fi 106 | fi 107 | 108 | # create database 109 | mysqladmin create $DB_NAME --user="$DB_USER" --password="$DB_PASS"$EXTRA 110 | } 111 | 112 | install_wp 113 | install_test_suite 114 | install_db -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Titan Framework", 3 | "version": "1.9.2", 4 | "homepage": "http://titanframework.net", 5 | "authors": [ 6 | "Benjamin Intal " 7 | ], 8 | "description": "Titan Framework allows theme and plugin developers to create a admin pages, options, meta boxes, and theme customizer options with just a few simple lines of code.", 9 | "main": "titan-framework.php", 10 | "keywords": [ 11 | "framework", 12 | "options", 13 | "admin", 14 | "admin", 15 | "panel", 16 | "meta", 17 | "box", 18 | "theme", 19 | "customizer", 20 | "option", 21 | "framework", 22 | "library", 23 | "sdk", 24 | "edd", 25 | "settings", 26 | "api", 27 | "theme", 28 | "creator", 29 | "theme", 30 | "framework" 31 | ], 32 | "license": "GPLv2 or later", 33 | "ignore": [ 34 | "**/.*", 35 | "node_modules", 36 | "bower_components", 37 | "test", 38 | "tests" 39 | ], 40 | "dependencies": { 41 | "ace-builds": "~1.2", 42 | "wp-color-picker-alpha": "23r9i0/wp-color-picker-alpha", 43 | "jqueryui-timepicker-addon": "~1.5" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gambitph/titan-framework", 3 | "description": "Titan Framework allows theme and plugin developers to create admin pages, options, meta boxes, and theme customizer options with just a few simple lines of code.", 4 | "keywords": ["wordpress", "titan", "framework", "options", "titan framework", "Titan Framework"], 5 | "homepage" : "https://github.com/gambitph/Titan-Framework", 6 | "license": "GPLv2+", 7 | "authors": [ 8 | { 9 | "name": "Gambit Technologies", 10 | "email" : "info@gambit.ph", 11 | "homepage" : "http://www.titanframework.net/", 12 | "role" : "Developer" 13 | } 14 | ], 15 | "type": "library", 16 | "autoload": { 17 | "files": ["titan-framework.php"] 18 | }, 19 | "repositories": [ 20 | ], 21 | "require": { 22 | }, 23 | "require-dev": { 24 | }, 25 | "scripts": { 26 | "post-install-cmd": [ 27 | "bower install", 28 | "npm install -d" 29 | ], 30 | "post-update-cmd": [ 31 | "bower install", 32 | "npm install -d" 33 | ] 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /css/class-option-font.css: -------------------------------------------------------------------------------- 1 | .tf-upload .tf-image-preview, .tf-upload .tf-image-preview:before, 2 | .tf-gallery .tf-image-preview, .tf-gallery .tf-image-preview:before, 3 | .tf-file .tf-file-upload { 4 | -webkit-transition: all .3s; 5 | -moz-transition: all .3s; 6 | -ms-transition: all .3s; 7 | -o-transition: all .3s; 8 | transition: all .3s; 9 | } 10 | .tf-upload .tf-image-preview, 11 | .tf-gallery .tf-image-preview { 12 | line-height: 0; 13 | position: relative; 14 | display: inline-block; 15 | min-width: 150px; 16 | min-height: 150px; 17 | background: #FAFAFA; 18 | box-shadow: inset 0 0 0 1px #EEE; 19 | cursor: pointer; 20 | } 21 | .tf-upload .tf-image-preview:hover, 22 | .tf-gallery .tf-image-preview:hover { 23 | box-shadow: inset 0 0 0 4px #EEE; 24 | } 25 | 26 | .tf-gallery .tf-image-preview { 27 | display: inline-flex; 28 | margin-right: 5px; 29 | } 30 | 31 | .tf-upload .tf-image-preview:before, 32 | .tf-gallery .tf-image-preview:before { 33 | content: '\f132'; 34 | font-family: 'dashicons'; 35 | position: absolute; 36 | top: 60px; 37 | left: 60px; 38 | width: 30px; 39 | text-align: center; 40 | line-height: 30px; 41 | font-size: 30px; 42 | color: #ddd; 43 | } 44 | .tf-upload .tf-image-preview:hover:before, 45 | .tf-gallery .tf-image-preview:hover:before { 46 | color: #bbb; 47 | } 48 | .tf-upload .tf-image-preview i.remove:hover, 49 | .tf-gallery .tf-image-preview i.remove:hover { 50 | border-color: #999; 51 | } 52 | .tf-upload .tf-image-preview i.remove, 53 | .tf-gallery .tf-image-preview i.remove { 54 | opacity: 1; 55 | position: absolute; 56 | top: 10px; 57 | right: 10px; 58 | z-index: 2; 59 | cursor: pointer; 60 | background: #FAFAFA; 61 | width: 30px; 62 | text-align: center; 63 | font-size: 20px; 64 | line-height: 30px; 65 | color: #444; 66 | top: 0; 67 | border: 1px solid #DDD; 68 | right: 0; 69 | height: auto; 70 | } 71 | .tf-upload .tf-image-preview img, 72 | .tf-gallery .tf-image-preview img { 73 | max-width: 100%; 74 | max-height: 200px; 75 | position: relative; 76 | z-index: 1; 77 | display: block; 78 | cursor: pointer; 79 | } 80 | -------------------------------------------------------------------------------- /css/class-option-select.css: -------------------------------------------------------------------------------- 1 | /* 2 | ========================================================================== 3 | WordPress Style for Select2 4.0.0 4 | http://select2.github.io/select2/ 5 | ========================================================================== 6 | */ 7 | .tf-select2 { 8 | width: 25em; 9 | } 10 | .customize-control .tf-select select { 11 | width: 100%; 12 | } 13 | .select2-container { 14 | margin: 1px; 15 | } 16 | .wp-customizer .select2-container { 17 | z-index: 999999; 18 | width: 260px !important; 19 | } 20 | .select2-container--open .select2-dropdown { 21 | left: -1px; 22 | top: -1px; 23 | } 24 | .select2-container--default .select2-selection--single, 25 | .select2-container--default .select2-selection--multiple { 26 | border: 1px solid #ddd; 27 | border-radius: 0px; 28 | -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 ); 29 | box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 ); 30 | color: #32373c; 31 | outline: none; 32 | -webkit-transition: 0.05s border-color ease-in-out; 33 | transition: 0.05s border-color ease-in-out; 34 | } 35 | .select2-dropdown { 36 | border: 1px solid #ddd; 37 | border-radius: 0px; 38 | } 39 | .select2-results__option { 40 | margin-bottom: 0px; 41 | } 42 | .select2-container--default .select2-results__option--highlighted[aria-selected] { 43 | background-color: #0073aa; 44 | } 45 | .select2-container .select2-selection--single .select2-selection__rendered, 46 | .select2-container .select2-selection--multiple .select2-selection__rendered { 47 | font-size: 14px; 48 | } 49 | 50 | /* 51 | Select Multiple 52 | */ 53 | .select2-container--default .select2-selection--multiple { 54 | padding: 2px 6px; 55 | } 56 | .select2-container--default .select2-selection--multiple .select2-selection__rendered { 57 | padding: 0; 58 | } 59 | .select2-container--default .select2-selection--multiple .select2-selection__choice { 60 | margin-bottom: 0; 61 | 62 | /* Truncate long names: */ 63 | max-width: 22em; 64 | white-space: nowrap; 65 | overflow: hidden; 66 | text-overflow: ellipsis; 67 | } 68 | .select2-container--default.select2-container--focus .select2-selection--multiple { 69 | border: 1px solid #ddd; 70 | } 71 | .select2-container--default .select2-search--inline .select2-search__field { 72 | box-shadow: none; 73 | /* Show the cursor on focus: */ 74 | padding: 0; 75 | } 76 | .select2-container--default .select2-search--inline { 77 | margin-bottom: none; 78 | } 79 | -------------------------------------------------------------------------------- /inc/scssphp/README.md: -------------------------------------------------------------------------------- 1 | # scssphp v0.0.15 2 | ### 3 | 4 | [![Build Status](https://secure.travis-ci.org/leafo/scssphp.png)](http://travis-ci.org/leafo/scssphp) 5 | 6 | `scssphp` is a compiler for SCSS written in PHP. 7 | 8 | It implements SCSS 3.2.12. It does not implement the SASS syntax, only the SCSS 9 | syntax. 10 | 11 | Checkout the homepage, , for directions on how to use. 12 | 13 | ## Running Tests 14 | 15 | `scssphp` uses [PHPUnit](https://github.com/sebastianbergmann/phpunit) for testing. 16 | 17 | Run the following command from the root directory to run every test: 18 | 19 | phpunit tests 20 | 21 | There are two kinds of tests in the `tests/` directory: 22 | 23 | * `ApiTest.php` contains various unit tests that test the PHP interface. 24 | * `ExceptionTest.php` contains unit tests that test for exceptions thrown by the parser and compiler. 25 | * `InputTest.php` compiles every `.scss` file in the `tests/inputs` directory 26 | then compares to the respective `.css` file in the `tests/outputs` directory. 27 | 28 | When changing any of the tests in `tests/inputs`, the tests will most likely 29 | fail because the output has changed. Once you verify that the output is correct 30 | you can run the following command to rebuild all the tests: 31 | 32 | BUILD=true phpunit tests 33 | 34 | This will compile all the tests, and save results into `tests/outputs`. 35 | -------------------------------------------------------------------------------- /inc/scssphp/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "leafo/scssphp", 3 | "type": "library", 4 | "description": "scssphp is a compiler for SCSS written in PHP.", 5 | "homepage": "http://leafo.net/scssphp/", 6 | "license": [ 7 | "MIT", 8 | "GPL-3.0" 9 | ], 10 | "authors": [ 11 | { 12 | "name": "Leaf Corcoran", 13 | "email": "leafot@gmail.com", 14 | "homepage": "http://leafo.net" 15 | } 16 | ], 17 | "autoload": { 18 | "classmap": ["scss.inc.php"] 19 | }, 20 | "require": { 21 | "php": ">=5.2.0" 22 | }, 23 | "require-dev": { 24 | "php": ">=5.3.0", 25 | "phpunit/phpunit": "3.7.*" 26 | }, 27 | "bin": ["pscss"] 28 | } 29 | -------------------------------------------------------------------------------- /js/ace-min-noconflict/mode-plain_text.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/mode/plain_text",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/behaviour"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./text_highlight_rules").TextHighlightRules,o=e("./behaviour").Behaviour,u=function(){this.HighlightRules=s,this.$behaviour=new o};r.inherits(u,i),function(){this.type="text",this.getNextLineIndent=function(e,t,n){return""},this.$id="ace/mode/plain_text"}.call(u.prototype),t.Mode=u}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/mode-python.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield",t="True|False|None|NotImplemented|Ellipsis|__debug__",n="abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|binfile|iter|property|tuple|bool|filter|len|range|type|bytearray|float|list|raw_input|unichr|callable|format|locals|reduce|unicode|chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|__import__|complex|hash|min|set|apply|delattr|help|next|setattr|buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern",r=this.createKeywordMapper({"invalid.deprecated":"debugger","support.function":n,"constant.language":t,keyword:e},"identifier"),i="(?:r|u|ur|R|U|UR|Ur|uR)?",s="(?:(?:[1-9]\\d*)|(?:0))",o="(?:0[oO]?[0-7]+)",u="(?:0[xX][\\dA-Fa-f]+)",a="(?:0[bB][01]+)",f="(?:"+s+"|"+o+"|"+u+"|"+a+")",l="(?:[eE][+-]?\\d+)",c="(?:\\.\\d+)",h="(?:\\d+)",p="(?:(?:"+h+"?"+c+")|(?:"+h+"\\.))",d="(?:(?:"+p+"|"+h+")"+l+")",v="(?:"+d+"|"+p+")",m="\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'\"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})";this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"string",regex:i+'"{3}',next:"qqstring3"},{token:"string",regex:i+'"(?=.)',next:"qqstring"},{token:"string",regex:i+"'{3}",next:"qstring3"},{token:"string",regex:i+"'(?=.)",next:"qstring"},{token:"constant.numeric",regex:"(?:"+v+"|\\d+)[jJ]\\b"},{token:"constant.numeric",regex:v},{token:"constant.numeric",regex:f+"[lL]\\b"},{token:"constant.numeric",regex:f+"\\b"},{token:r,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]\\)\\}]"},{token:"text",regex:"\\s+"}],qqstring3:[{token:"constant.language.escape",regex:m},{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],qstring3:[{token:"constant.language.escape",regex:m},{token:"string",regex:"'{3}",next:"start"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:m},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:m},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"start"},{defaultToken:"string"}]}};r.inherits(s,i),t.PythonHighlightRules=s}),ace.define("ace/mode/folding/pythonic",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){this.foldingStartMarker=new RegExp("([\\[{])(?:\\s*)$|("+e+")(?:\\s*)(?:#.*)?$")};r.inherits(s,i),function(){this.getFoldWidgetRange=function(e,t,n){var r=e.getLine(n),i=r.match(this.foldingStartMarker);if(i)return i[1]?this.openingBracketBlock(e,i[1],n,i.index):i[2]?this.indentationBlock(e,n,i.index+i[2].length):this.indentationBlock(e,n)}}.call(s.prototype)}),ace.define("ace/mode/python",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/python_highlight_rules","ace/mode/folding/pythonic","ace/range"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./python_highlight_rules").PythonHighlightRules,o=e("./folding/pythonic").FoldMode,u=e("../range").Range,a=function(){this.HighlightRules=s,this.foldingRules=new o("\\:")};r.inherits(a,i),function(){this.lineCommentStart="#",this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),i=this.getTokenizer().getLineTokens(t,e),s=i.tokens;if(s.length&&s[s.length-1].type=="comment")return r;if(e=="start"){var o=t.match(/^.*[\{\(\[\:]\s*$/);o&&(r+=n)}return r};var e={pass:1,"return":1,raise:1,"break":1,"continue":1};this.checkOutdent=function(t,n,r){if(r!=="\r\n"&&r!=="\r"&&r!=="\n")return!1;var i=this.getTokenizer().getLineTokens(n.trim(),t).tokens;if(!i)return!1;do var s=i.pop();while(s&&(s.type=="comment"||s.type=="text"&&s.value.match(/^\s+$/)));return s?s.type=="keyword"&&e[s.value]:!1},this.autoOutdent=function(e,t,n){n+=1;var r=this.$getIndent(t.getLine(n)),i=t.getTabString();r.slice(-i.length)==i&&t.remove(new u(n,r.length-i.length,n,r.length))},this.$id="ace/mode/python"}.call(a.prototype),t.Mode=a}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/mode-text.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gambitph/Titan-Framework/5a1098213bd55c31360b77512dad02b3dead3a48/js/ace-min-noconflict/mode-text.js -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/javascript.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/javascript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# Prototype\nsnippet proto\n ${1:class_name}.prototype.${2:method_name} = function(${3:first_argument}) {\n ${4:// body...}\n };\n# Function\nsnippet fun\n function ${1?:function_name}(${2:argument}) {\n ${3:// body...}\n }\n# Anonymous Function\nregex /((=)\\s*|(:)\\s*|(\\()|\\b)/f/(\\))?/\nsnippet f\n function${M1?: ${1:functionName}}($2) {\n ${0:$TM_SELECTED_TEXT}\n }${M2?;}${M3?,}${M4?)}\n# Immediate function\ntrigger \\(?f\\(\nendTrigger \\)?\nsnippet f(\n (function(${1}) {\n ${0:${TM_SELECTED_TEXT:/* code */}}\n }(${1}));\n# if\nsnippet if\n if (${1:true}) {\n ${0}\n }\n# if ... else\nsnippet ife\n if (${1:true}) {\n ${2}\n } else {\n ${0}\n }\n# tertiary conditional\nsnippet ter\n ${1:/* condition */} ? ${2:a} : ${3:b}\n# switch\nsnippet switch\n switch (${1:expression}) {\n case \'${3:case}\':\n ${4:// code}\n break;\n ${5}\n default:\n ${2:// code}\n }\n# case\nsnippet case\n case \'${1:case}\':\n ${2:// code}\n break;\n ${3}\n\n# while (...) {...}\nsnippet wh\n while (${1:/* condition */}) {\n ${0:/* code */}\n }\n# try\nsnippet try\n try {\n ${0:/* code */}\n } catch (e) {}\n# do...while\nsnippet do\n do {\n ${2:/* code */}\n } while (${1:/* condition */});\n# Object Method\nsnippet :f\nregex /([,{[])|^\\s*/:f/\n ${1:method_name}: function(${2:attribute}) {\n ${0}\n }${3:,}\n# setTimeout function\nsnippet setTimeout\nregex /\\b/st|timeout|setTimeo?u?t?/\n setTimeout(function() {${3:$TM_SELECTED_TEXT}}, ${1:10});\n# Get Elements\nsnippet gett\n getElementsBy${1:TagName}(\'${2}\')${3}\n# Get Element\nsnippet get\n getElementBy${1:Id}(\'${2}\')${3}\n# console.log (Firebug)\nsnippet cl\n console.log(${1});\n# return\nsnippet ret\n return ${1:result}\n# for (property in object ) { ... }\nsnippet fori\n for (var ${1:prop} in ${2:Things}) {\n ${0:$2[$1]}\n }\n# hasOwnProperty\nsnippet has\n hasOwnProperty(${1})\n# docstring\nsnippet /**\nsnippet @par\nregex /^\\s*\\*\\s*/@(para?m?)?/\n @param {${1:type}} ${2:name} ${3:description}\nsnippet @ret\n @return {${1:type}} ${2:description}\n# JSON.parse\nsnippet jsonp\n JSON.parse(${1:jstr});\n# JSON.stringify\nsnippet jsons\n JSON.stringify(${1:object});\n# self-defining function\nsnippet sdf\n var ${1:function_name} = function(${2:argument}) {\n ${3:// initial code ...}\n\n $1 = function($2) {\n ${4:// main code}\n };\n }\n# singleton\nsnippet sing\n function ${1:Singleton} (${2:argument}) {\n var instance;\n $1 = function $1($2) {\n return instance;\n };\n $1.prototype = this;\n instance = new $1();\n instance.constructor = $1;\n\n ${3:// code ...}\n\n return instance;\n }\n# class\nsnippet class\nregex /^\\s*/clas{0,2}/\n var ${1:class} = function(${20}) {\n $40$0\n };\n \n (function() {\n ${60:this.prop = ""}\n }).call(${1:class}.prototype);\n \n exports.${1:class} = ${1:class};\n# \nsnippet for-\n for (var ${1:i} = ${2:Things}.length; ${1:i}--; ) {\n ${0:${2:Things}[${1:i}];}\n }\n# for (...) {...}\nsnippet for\n for (var ${1:i} = 0; $1 < ${2:Things}.length; $1++) {\n ${3:$2[$1]}$0\n }\n# for (...) {...} (Improved Native For-Loop)\nsnippet forr\n for (var ${1:i} = ${2:Things}.length - 1; $1 >= 0; $1--) {\n ${3:$2[$1]}$0\n }\n\n\n#modules\nsnippet def\n ace.define(function(require, exports, module) {\n "use strict";\n var ${1/.*\\///} = require("${1}");\n \n $TM_SELECTED_TEXT\n });\nsnippet req\nguard ^\\s*\n var ${1/.*\\///} = require("${1}");\n $0\nsnippet requ\nguard ^\\s*\n var ${1/.*\\/(.)/\\u$1/} = require("${1}").${1/.*\\/(.)/\\u$1/};\n $0\n',t.scope="javascript"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/json.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/json",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="json"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/less.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/less",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="less"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/lua.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/lua",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet #!\n #!/usr/bin/env lua\n $1\nsnippet local\n local ${1:x} = ${2:1}\nsnippet fun\n function ${1:fname}(${2:...})\n ${3:-- body}\n end\nsnippet for\n for ${1:i}=${2:1},${3:10} do\n ${4:print(i)}\n end\nsnippet forp\n for ${1:i},${2:v} in pairs(${3:table_name}) do\n ${4:-- body}\n end\nsnippet fori\n for ${1:i},${2:v} in ipairs(${3:table_name}) do\n ${4:-- body}\n end\n",t.scope="lua"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/markdown.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/markdown",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# Markdown\n\n# Includes octopress (http://octopress.org/) snippets\n\nsnippet [\n [${1:text}](http://${2:address} "${3:title}")\nsnippet [*\n [${1:link}](${2:`@*`} "${3:title}")${4}\n\nsnippet [:\n [${1:id}]: http://${2:url} "${3:title}"\nsnippet [:*\n [${1:id}]: ${2:`@*`} "${3:title}"\n\nsnippet ![\n ![${1:alttext}](${2:/images/image.jpg} "${3:title}")\nsnippet ![*\n ![${1:alt}](${2:`@*`} "${3:title}")${4}\n\nsnippet ![:\n ![${1:id}]: ${2:url} "${3:title}"\nsnippet ![:*\n ![${1:id}]: ${2:`@*`} "${3:title}"\n\nsnippet ===\nregex /^/=+/=*//\n ${PREV_LINE/./=/g}\n \n ${0}\nsnippet ---\nregex /^/-+/-*//\n ${PREV_LINE/./-/g}\n \n ${0}\nsnippet blockquote\n {% blockquote %}\n ${1:quote}\n {% endblockquote %}\n\nsnippet blockquote-author\n {% blockquote ${1:author}, ${2:title} %}\n ${3:quote}\n {% endblockquote %}\n\nsnippet blockquote-link\n {% blockquote ${1:author} ${2:URL} ${3:link_text} %}\n ${4:quote}\n {% endblockquote %}\n\nsnippet bt-codeblock-short\n ```\n ${1:code_snippet}\n ```\n\nsnippet bt-codeblock-full\n ``` ${1:language} ${2:title} ${3:URL} ${4:link_text}\n ${5:code_snippet}\n ```\n\nsnippet codeblock-short\n {% codeblock %}\n ${1:code_snippet}\n {% endcodeblock %}\n\nsnippet codeblock-full\n {% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}\n ${5:code_snippet}\n {% endcodeblock %}\n\nsnippet gist-full\n {% gist ${1:gist_id} ${2:filename} %}\n\nsnippet gist-short\n {% gist ${1:gist_id} %}\n\nsnippet img\n {% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${6:alt_text} %}\n\nsnippet youtube\n {% youtube ${1:video_id} %}\n\n# The quote should appear only once in the text. It is inherently part of it.\n# See http://octopress.org/docs/plugins/pullquote/ for more info.\n\nsnippet pullquote\n {% pullquote %}\n ${1:text} {" ${2:quote} "} ${3:text}\n {% endpullquote %}\n',t.scope="markdown"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/mysql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mysql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mysql"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/plain_text.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/plain_text",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="plain_text"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/python.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/python",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='snippet #!\n #!/usr/bin/env python\nsnippet imp\n import ${1:module}\nsnippet from\n from ${1:package} import ${2:module}\n# Module Docstring\nsnippet docs\n \'\'\'\n File: ${1:FILENAME:file_name}\n Author: ${2:author}\n Description: ${3}\n \'\'\'\nsnippet wh\n while ${1:condition}:\n ${2:# TODO: write code...}\n# dowh - does the same as do...while in other languages\nsnippet dowh\n while True:\n ${1:# TODO: write code...}\n if ${2:condition}:\n break\nsnippet with\n with ${1:expr} as ${2:var}:\n ${3:# TODO: write code...}\n# New Class\nsnippet cl\n class ${1:ClassName}(${2:object}):\n """${3:docstring for $1}"""\n def __init__(self, ${4:arg}):\n ${5:super($1, self).__init__()}\n self.$4 = $4\n ${6}\n# New Function\nsnippet def\n def ${1:fname}(${2:`indent(\'.\') ? \'self\' : \'\'`}):\n """${3:docstring for $1}"""\n ${4:# TODO: write code...}\nsnippet deff\n def ${1:fname}(${2:`indent(\'.\') ? \'self\' : \'\'`}):\n ${3:# TODO: write code...}\n# New Method\nsnippet defs\n def ${1:mname}(self, ${2:arg}):\n ${3:# TODO: write code...}\n# New Property\nsnippet property\n def ${1:foo}():\n doc = "${2:The $1 property.}"\n def fget(self):\n ${3:return self._$1}\n def fset(self, value):\n ${4:self._$1 = value}\n# Ifs\nsnippet if\n if ${1:condition}:\n ${2:# TODO: write code...}\nsnippet el\n else:\n ${1:# TODO: write code...}\nsnippet ei\n elif ${1:condition}:\n ${2:# TODO: write code...}\n# For\nsnippet for\n for ${1:item} in ${2:items}:\n ${3:# TODO: write code...}\n# Encodes\nsnippet cutf8\n # -*- coding: utf-8 -*-\nsnippet clatin1\n # -*- coding: latin-1 -*-\nsnippet cascii\n # -*- coding: ascii -*-\n# Lambda\nsnippet ld\n ${1:var} = lambda ${2:vars} : ${3:action}\nsnippet .\n self.\nsnippet try Try/Except\n try:\n ${1:# TODO: write code...}\n except ${2:Exception}, ${3:e}:\n ${4:raise $3}\nsnippet try Try/Except/Else\n try:\n ${1:# TODO: write code...}\n except ${2:Exception}, ${3:e}:\n ${4:raise $3}\n else:\n ${5:# TODO: write code...}\nsnippet try Try/Except/Finally\n try:\n ${1:# TODO: write code...}\n except ${2:Exception}, ${3:e}:\n ${4:raise $3}\n finally:\n ${5:# TODO: write code...}\nsnippet try Try/Except/Else/Finally\n try:\n ${1:# TODO: write code...}\n except ${2:Exception}, ${3:e}:\n ${4:raise $3}\n else:\n ${5:# TODO: write code...}\n finally:\n ${6:# TODO: write code...}\n# if __name__ == \'__main__\':\nsnippet ifmain\n if __name__ == \'__main__\':\n ${1:main()}\n# __magic__\nsnippet _\n __${1:init}__${2}\n# python debugger (pdb)\nsnippet pdb\n import pdb; pdb.set_trace()\n# ipython debugger (ipdb)\nsnippet ipdb\n import ipdb; ipdb.set_trace()\n# ipython debugger (pdbbb)\nsnippet pdbbb\n import pdbpp; pdbpp.set_trace()\nsnippet pprint\n import pprint; pprint.pprint(${1})${2}\nsnippet "\n """\n ${1:doc}\n """\n# test function/method\nsnippet test\n def test_${1:description}(${2:self}):\n ${3:# TODO: write code...}\n# test case\nsnippet testcase\n class ${1:ExampleCase}(unittest.TestCase):\n \n def test_${2:description}(self):\n ${3:# TODO: write code...}\nsnippet fut\n from __future__ import ${1}\n#getopt\nsnippet getopt\n try:\n # Short option syntax: "hv:"\n # Long option syntax: "help" or "verbose="\n opts, args = getopt.getopt(sys.argv[1:], "${1:short_options}", [${2:long_options}])\n \n except getopt.GetoptError, err:\n # Print debug info\n print str(err)\n ${3:error_action}\n\n for option, argument in opts:\n if option in ("-h", "--help"):\n ${4}\n elif option in ("-v", "--verbose"):\n verbose = argument\n',t.scope="python"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/sass.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/sass",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="sass"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/scss.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scss",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scss"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/sh.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/sh",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# Shebang. Executing bash via /usr/bin/env makes scripts more portable.\nsnippet #!\n #!/usr/bin/env bash\n \nsnippet if\n if [[ ${1:condition} ]]; then\n ${2:#statements}\n fi\nsnippet elif\n elif [[ ${1:condition} ]]; then\n ${2:#statements}\nsnippet for\n for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do\n ${3:#statements}\n done\nsnippet fori\n for ${1:needle} in ${2:haystack} ; do\n ${3:#statements}\n done\nsnippet wh\n while [[ ${1:condition} ]]; do\n ${2:#statements}\n done\nsnippet until\n until [[ ${1:condition} ]]; do\n ${2:#statements}\n done\nsnippet case\n case ${1:word} in\n ${2:pattern})\n ${3};;\n esac\nsnippet go \n while getopts \'${1:o}\' ${2:opts} \n do \n case $$2 in\n ${3:o0})\n ${4:#staments};;\n esac\n done\n# Set SCRIPT_DIR variable to directory script is located.\nsnippet sdir\n SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"\n# getopt\nsnippet getopt\n __ScriptVersion="${1:version}"\n\n #=== FUNCTION ================================================================\n # NAME: usage\n # DESCRIPTION: Display usage information.\n #===============================================================================\n function usage ()\n {\n cat <<- EOT\n\n Usage : $${0:0} [options] [--] \n\n Options: \n -h|help Display this message\n -v|version Display script version\n\n EOT\n } # ---------- end of function usage ----------\n\n #-----------------------------------------------------------------------\n # Handle command line arguments\n #-----------------------------------------------------------------------\n\n while getopts ":hv" opt\n do\n case $opt in\n\n h|help ) usage; exit 0 ;;\n\n v|version ) echo "$${0:0} -- Version $__ScriptVersion"; exit 0 ;;\n\n \\? ) echo -e "\\n Option does not exist : $OPTARG\\n"\n usage; exit 1 ;;\n\n esac # --- end of case ---\n done\n shift $(($OPTIND-1))\n\n',t.scope="sh"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/text.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/text",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="text"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/snippets/xml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/xml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="xml"}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-chaos.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/chaos",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-chaos",t.cssText=".ace-chaos .ace_gutter {background: #141414;color: #595959;border-right: 1px solid #282828;}.ace-chaos .ace_gutter-cell.ace_warning {background-image: none;background: #FC0;border-left: none;padding-left: 0;color: #000;}.ace-chaos .ace_gutter-cell.ace_error {background-position: -6px center;background-image: none;background: #F10;border-left: none;padding-left: 0;color: #000;}.ace-chaos .ace_print-margin {border-left: 1px solid #555;right: 0;background: #1D1D1D;}.ace-chaos {background-color: #161616;color: #E6E1DC;}.ace-chaos .ace_cursor {border-left: 2px solid #FFFFFF;}.ace-chaos .ace_cursor.ace_overwrite {border-left: 0px;border-bottom: 1px solid #FFFFFF;}.ace-chaos .ace_marker-layer .ace_selection {background: #494836;}.ace-chaos .ace_marker-layer .ace_step {background: rgb(198, 219, 174);}.ace-chaos .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #FCE94F;}.ace-chaos .ace_marker-layer .ace_active-line {background: #333;}.ace-chaos .ace_gutter-active-line {background-color: #222;}.ace-chaos .ace_invisible {color: #404040;}.ace-chaos .ace_keyword {color:#00698F;}.ace-chaos .ace_keyword.ace_operator {color:#FF308F;}.ace-chaos .ace_constant {color:#1EDAFB;}.ace-chaos .ace_constant.ace_language {color:#FDC251;}.ace-chaos .ace_constant.ace_library {color:#8DFF0A;}.ace-chaos .ace_constant.ace_numeric {color:#58C554;}.ace-chaos .ace_invalid {color:#FFFFFF;background-color:#990000;}.ace-chaos .ace_invalid.ace_deprecated {color:#FFFFFF;background-color:#990000;}.ace-chaos .ace_support {color: #999;}.ace-chaos .ace_support.ace_function {color:#00AEEF;}.ace-chaos .ace_function {color:#00AEEF;}.ace-chaos .ace_string {color:#58C554;}.ace-chaos .ace_comment {color:#555;font-style:italic;padding-bottom: 0px;}.ace-chaos .ace_variable {color:#997744;}.ace-chaos .ace_meta.ace_tag {color:#BE53E6;}.ace-chaos .ace_entity.ace_other.ace_attribute-name {color:#FFFF89;}.ace-chaos .ace_markup.ace_underline {text-decoration: underline;}.ace-chaos .ace_fold-widget {text-align: center;}.ace-chaos .ace_fold-widget:hover {color: #777;}.ace-chaos .ace_fold-widget.ace_start,.ace-chaos .ace_fold-widget.ace_end,.ace-chaos .ace_fold-widget.ace_closed{background: none;border: none;box-shadow: none;}.ace-chaos .ace_fold-widget.ace_start:after {content: '\u25be'}.ace-chaos .ace_fold-widget.ace_end:after {content: '\u25b4'}.ace-chaos .ace_fold-widget.ace_closed:after {content: '\u2023'}.ace-chaos .ace_indent-guide {border-right:1px dotted #333;margin-right:-1px;}.ace-chaos .ace_fold { background: #222; border-radius: 3px; color: #7AF; border: none; }.ace-chaos .ace_fold:hover {background: #CCC; color: #000;}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-chrome.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/chrome",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-chrome",t.cssText='.ace-chrome .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-chrome .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-chrome {background-color: #FFFFFF;color: black;}.ace-chrome .ace_cursor {color: black;}.ace-chrome .ace_invisible {color: rgb(191, 191, 191);}.ace-chrome .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-chrome .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-chrome .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-chrome .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-chrome .ace_fold {}.ace-chrome .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-chrome .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-chrome .ace_support.ace_type,.ace-chrome .ace_support.ace_class.ace-chrome .ace_support.ace_other {color: rgb(109, 121, 222);}.ace-chrome .ace_variable.ace_parameter {font-style:italic;color:#FD971F;}.ace-chrome .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-chrome .ace_comment {color: #236e24;}.ace-chrome .ace_comment.ace_doc {color: #236e24;}.ace-chrome .ace_comment.ace_doc.ace_tag {color: #236e24;}.ace-chrome .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-chrome .ace_variable {color: rgb(49, 132, 149);}.ace-chrome .ace_xml-pe {color: rgb(104, 104, 91);}.ace-chrome .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-chrome .ace_heading {color: rgb(12, 7, 255);}.ace-chrome .ace_list {color:rgb(185, 6, 144);}.ace-chrome .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-chrome .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-chrome .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-chrome .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-chrome .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-chrome .ace_gutter-active-line {background-color : #dcdcdc;}.ace-chrome .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-chrome .ace_storage,.ace-chrome .ace_keyword,.ace-chrome .ace_meta.ace_tag {color: rgb(147, 15, 128);}.ace-chrome .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-chrome .ace_string {color: #1A1AA6;}.ace-chrome .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-chrome .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-clouds.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/clouds",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-clouds",t.cssText='.ace-clouds .ace_gutter {background: #ebebeb;color: #333}.ace-clouds .ace_print-margin {width: 1px;background: #e8e8e8}.ace-clouds {background-color: #FFFFFF;color: #000000}.ace-clouds .ace_cursor {color: #000000}.ace-clouds .ace_marker-layer .ace_selection {background: #BDD5FC}.ace-clouds.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-clouds .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-clouds .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-clouds .ace_marker-layer .ace_active-line {background: #FFFBD1}.ace-clouds .ace_gutter-active-line {background-color : #dcdcdc}.ace-clouds .ace_marker-layer .ace_selected-word {border: 1px solid #BDD5FC}.ace-clouds .ace_invisible {color: #BFBFBF}.ace-clouds .ace_keyword,.ace-clouds .ace_meta,.ace-clouds .ace_support.ace_constant.ace_property-value {color: #AF956F}.ace-clouds .ace_keyword.ace_operator {color: #484848}.ace-clouds .ace_keyword.ace_other.ace_unit {color: #96DC5F}.ace-clouds .ace_constant.ace_language {color: #39946A}.ace-clouds .ace_constant.ace_numeric {color: #46A609}.ace-clouds .ace_constant.ace_character.ace_entity {color: #BF78CC}.ace-clouds .ace_invalid {background-color: #FF002A}.ace-clouds .ace_fold {background-color: #AF956F;border-color: #000000}.ace-clouds .ace_storage,.ace-clouds .ace_support.ace_class,.ace-clouds .ace_support.ace_function,.ace-clouds .ace_support.ace_other,.ace-clouds .ace_support.ace_type {color: #C52727}.ace-clouds .ace_string {color: #5D90CD}.ace-clouds .ace_comment {color: #BCC8BA}.ace-clouds .ace_entity.ace_name.ace_tag,.ace-clouds .ace_entity.ace_other.ace_attribute-name {color: #606060}.ace-clouds .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-clouds_midnight.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/clouds_midnight",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-clouds-midnight",t.cssText=".ace-clouds-midnight .ace_gutter {background: #232323;color: #929292}.ace-clouds-midnight .ace_print-margin {width: 1px;background: #232323}.ace-clouds-midnight {background-color: #191919;color: #929292}.ace-clouds-midnight .ace_cursor {color: #7DA5DC}.ace-clouds-midnight .ace_marker-layer .ace_selection {background: #000000}.ace-clouds-midnight.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #191919;}.ace-clouds-midnight .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-clouds-midnight .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-clouds-midnight .ace_marker-layer .ace_active-line {background: rgba(215, 215, 215, 0.031)}.ace-clouds-midnight .ace_gutter-active-line {background-color: rgba(215, 215, 215, 0.031)}.ace-clouds-midnight .ace_marker-layer .ace_selected-word {border: 1px solid #000000}.ace-clouds-midnight .ace_invisible {color: #666}.ace-clouds-midnight .ace_keyword,.ace-clouds-midnight .ace_meta,.ace-clouds-midnight .ace_support.ace_constant.ace_property-value {color: #927C5D}.ace-clouds-midnight .ace_keyword.ace_operator {color: #4B4B4B}.ace-clouds-midnight .ace_keyword.ace_other.ace_unit {color: #366F1A}.ace-clouds-midnight .ace_constant.ace_language {color: #39946A}.ace-clouds-midnight .ace_constant.ace_numeric {color: #46A609}.ace-clouds-midnight .ace_constant.ace_character.ace_entity {color: #A165AC}.ace-clouds-midnight .ace_invalid {color: #FFFFFF;background-color: #E92E2E}.ace-clouds-midnight .ace_fold {background-color: #927C5D;border-color: #929292}.ace-clouds-midnight .ace_storage,.ace-clouds-midnight .ace_support.ace_class,.ace-clouds-midnight .ace_support.ace_function,.ace-clouds-midnight .ace_support.ace_other,.ace-clouds-midnight .ace_support.ace_type {color: #E92E2E}.ace-clouds-midnight .ace_string {color: #5D90CD}.ace-clouds-midnight .ace_comment {color: #3C403B}.ace-clouds-midnight .ace_entity.ace_name.ace_tag,.ace-clouds-midnight .ace_entity.ace_other.ace_attribute-name {color: #606060}.ace-clouds-midnight .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-cobalt.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/cobalt",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-cobalt",t.cssText=".ace-cobalt .ace_gutter {background: #011e3a;color: rgb(128,145,160)}.ace-cobalt .ace_print-margin {width: 1px;background: #555555}.ace-cobalt {background-color: #002240;color: #FFFFFF}.ace-cobalt .ace_cursor {color: #FFFFFF}.ace-cobalt .ace_marker-layer .ace_selection {background: rgba(179, 101, 57, 0.75)}.ace-cobalt.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #002240;}.ace-cobalt .ace_marker-layer .ace_step {background: rgb(127, 111, 19)}.ace-cobalt .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 255, 255, 0.15)}.ace-cobalt .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.35)}.ace-cobalt .ace_gutter-active-line {background-color: rgba(0, 0, 0, 0.35)}.ace-cobalt .ace_marker-layer .ace_selected-word {border: 1px solid rgba(179, 101, 57, 0.75)}.ace-cobalt .ace_invisible {color: rgba(255, 255, 255, 0.15)}.ace-cobalt .ace_keyword,.ace-cobalt .ace_meta {color: #FF9D00}.ace-cobalt .ace_constant,.ace-cobalt .ace_constant.ace_character,.ace-cobalt .ace_constant.ace_character.ace_escape,.ace-cobalt .ace_constant.ace_other {color: #FF628C}.ace-cobalt .ace_invalid {color: #F8F8F8;background-color: #800F00}.ace-cobalt .ace_support {color: #80FFBB}.ace-cobalt .ace_support.ace_constant {color: #EB939A}.ace-cobalt .ace_fold {background-color: #FF9D00;border-color: #FFFFFF}.ace-cobalt .ace_support.ace_function {color: #FFB054}.ace-cobalt .ace_storage {color: #FFEE80}.ace-cobalt .ace_entity {color: #FFDD00}.ace-cobalt .ace_string {color: #3AD900}.ace-cobalt .ace_string.ace_regexp {color: #80FFC2}.ace-cobalt .ace_comment {font-style: italic;color: #0088FF}.ace-cobalt .ace_heading,.ace-cobalt .ace_markup.ace_heading {color: #C8E4FD;background-color: #001221}.ace-cobalt .ace_list,.ace-cobalt .ace_markup.ace_list {background-color: #130D26}.ace-cobalt .ace_variable {color: #CCCCCC}.ace-cobalt .ace_variable.ace_language {color: #FF80E1}.ace-cobalt .ace_meta.ace_tag {color: #9EFFFF}.ace-cobalt .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHCLSvkPAAP3AgSDTRd4AAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-crimson_editor.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/crimson_editor",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssText='.ace-crimson-editor .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-crimson-editor .ace_gutter-layer {width: 100%;text-align: right;}.ace-crimson-editor .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-crimson-editor {background-color: #FFFFFF;color: rgb(64, 64, 64);}.ace-crimson-editor .ace_cursor {color: black;}.ace-crimson-editor .ace_invisible {color: rgb(191, 191, 191);}.ace-crimson-editor .ace_identifier {color: black;}.ace-crimson-editor .ace_keyword {color: blue;}.ace-crimson-editor .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-crimson-editor .ace_constant.ace_language {color: rgb(255, 156, 0);}.ace-crimson-editor .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-crimson-editor .ace_invalid {text-decoration: line-through;color: rgb(224, 0, 0);}.ace-crimson-editor .ace_fold {}.ace-crimson-editor .ace_support.ace_function {color: rgb(192, 0, 0);}.ace-crimson-editor .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-crimson-editor .ace_support.ace_type,.ace-crimson-editor .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-crimson-editor .ace_keyword.ace_operator {color: rgb(49, 132, 149);}.ace-crimson-editor .ace_string {color: rgb(128, 0, 128);}.ace-crimson-editor .ace_comment {color: rgb(76, 136, 107);}.ace-crimson-editor .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-crimson-editor .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-crimson-editor .ace_constant.ace_numeric {color: rgb(0, 0, 64);}.ace-crimson-editor .ace_variable {color: rgb(0, 64, 128);}.ace-crimson-editor .ace_xml-pe {color: rgb(104, 104, 91);}.ace-crimson-editor .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-crimson-editor .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-crimson-editor .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-crimson-editor .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-crimson-editor .ace_marker-layer .ace_active-line {background: rgb(232, 242, 254);}.ace-crimson-editor .ace_gutter-active-line {background-color : #dcdcdc;}.ace-crimson-editor .ace_meta.ace_tag {color:rgb(28, 2, 255);}.ace-crimson-editor .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-crimson-editor .ace_string.ace_regex {color: rgb(192, 0, 192);}.ace-crimson-editor .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',t.cssClass="ace-crimson-editor";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-dawn.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/dawn",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-dawn",t.cssText=".ace-dawn .ace_gutter {background: #ebebeb;color: #333}.ace-dawn .ace_print-margin {width: 1px;background: #e8e8e8}.ace-dawn {background-color: #F9F9F9;color: #080808}.ace-dawn .ace_cursor {color: #000000}.ace-dawn .ace_marker-layer .ace_selection {background: rgba(39, 95, 255, 0.30)}.ace-dawn.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #F9F9F9;}.ace-dawn .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-dawn .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(75, 75, 126, 0.50)}.ace-dawn .ace_marker-layer .ace_active-line {background: rgba(36, 99, 180, 0.12)}.ace-dawn .ace_gutter-active-line {background-color : #dcdcdc}.ace-dawn .ace_marker-layer .ace_selected-word {border: 1px solid rgba(39, 95, 255, 0.30)}.ace-dawn .ace_invisible {color: rgba(75, 75, 126, 0.50)}.ace-dawn .ace_keyword,.ace-dawn .ace_meta {color: #794938}.ace-dawn .ace_constant,.ace-dawn .ace_constant.ace_character,.ace-dawn .ace_constant.ace_character.ace_escape,.ace-dawn .ace_constant.ace_other {color: #811F24}.ace-dawn .ace_invalid.ace_illegal {text-decoration: underline;font-style: italic;color: #F8F8F8;background-color: #B52A1D}.ace-dawn .ace_invalid.ace_deprecated {text-decoration: underline;font-style: italic;color: #B52A1D}.ace-dawn .ace_support {color: #691C97}.ace-dawn .ace_support.ace_constant {color: #B4371F}.ace-dawn .ace_fold {background-color: #794938;border-color: #080808}.ace-dawn .ace_list,.ace-dawn .ace_markup.ace_list,.ace-dawn .ace_support.ace_function {color: #693A17}.ace-dawn .ace_storage {font-style: italic;color: #A71D5D}.ace-dawn .ace_string {color: #0B6125}.ace-dawn .ace_string.ace_regexp {color: #CF5628}.ace-dawn .ace_comment {font-style: italic;color: #5A525F}.ace-dawn .ace_heading,.ace-dawn .ace_markup.ace_heading {color: #19356D}.ace-dawn .ace_variable {color: #234A97}.ace-dawn .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-dreamweaver.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/dreamweaver",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-dreamweaver",t.cssText='.ace-dreamweaver .ace_gutter {background: #e8e8e8;color: #333;}.ace-dreamweaver .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-dreamweaver {background-color: #FFFFFF;color: black;}.ace-dreamweaver .ace_fold {background-color: #757AD8;}.ace-dreamweaver .ace_cursor {color: black;}.ace-dreamweaver .ace_invisible {color: rgb(191, 191, 191);}.ace-dreamweaver .ace_storage,.ace-dreamweaver .ace_keyword {color: blue;}.ace-dreamweaver .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-dreamweaver .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-dreamweaver .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-dreamweaver .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-dreamweaver .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-dreamweaver .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-dreamweaver .ace_support.ace_type,.ace-dreamweaver .ace_support.ace_class {color: #009;}.ace-dreamweaver .ace_support.ace_php_tag {color: #f00;}.ace-dreamweaver .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-dreamweaver .ace_string {color: #00F;}.ace-dreamweaver .ace_comment {color: rgb(76, 136, 107);}.ace-dreamweaver .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-dreamweaver .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-dreamweaver .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-dreamweaver .ace_variable {color: #06F}.ace-dreamweaver .ace_xml-pe {color: rgb(104, 104, 91);}.ace-dreamweaver .ace_entity.ace_name.ace_function {color: #00F;}.ace-dreamweaver .ace_heading {color: rgb(12, 7, 255);}.ace-dreamweaver .ace_list {color:rgb(185, 6, 144);}.ace-dreamweaver .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-dreamweaver .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-dreamweaver .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-dreamweaver .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-dreamweaver .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-dreamweaver .ace_gutter-active-line {background-color : #DCDCDC;}.ace-dreamweaver .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-dreamweaver .ace_meta.ace_tag {color:#009;}.ace-dreamweaver .ace_meta.ace_tag.ace_anchor {color:#060;}.ace-dreamweaver .ace_meta.ace_tag.ace_form {color:#F90;}.ace-dreamweaver .ace_meta.ace_tag.ace_image {color:#909;}.ace-dreamweaver .ace_meta.ace_tag.ace_script {color:#900;}.ace-dreamweaver .ace_meta.ace_tag.ace_style {color:#909;}.ace-dreamweaver .ace_meta.ace_tag.ace_table {color:#099;}.ace-dreamweaver .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-dreamweaver .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-eclipse.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/eclipse",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";t.isDark=!1,t.cssText='.ace-eclipse .ace_gutter {background: #ebebeb;border-right: 1px solid rgb(159, 159, 159);color: rgb(136, 136, 136);}.ace-eclipse .ace_print-margin {width: 1px;background: #ebebeb;}.ace-eclipse {background-color: #FFFFFF;color: black;}.ace-eclipse .ace_fold {background-color: rgb(60, 76, 114);}.ace-eclipse .ace_cursor {color: black;}.ace-eclipse .ace_storage,.ace-eclipse .ace_keyword,.ace-eclipse .ace_variable {color: rgb(127, 0, 85);}.ace-eclipse .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-eclipse .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-eclipse .ace_function {color: rgb(60, 76, 114);}.ace-eclipse .ace_string {color: rgb(42, 0, 255);}.ace-eclipse .ace_comment {color: rgb(113, 150, 130);}.ace-eclipse .ace_comment.ace_doc {color: rgb(63, 95, 191);}.ace-eclipse .ace_comment.ace_doc.ace_tag {color: rgb(127, 159, 191);}.ace-eclipse .ace_constant.ace_numeric {color: darkblue;}.ace-eclipse .ace_tag {color: rgb(25, 118, 116);}.ace-eclipse .ace_type {color: rgb(127, 0, 127);}.ace-eclipse .ace_xml-pe {color: rgb(104, 104, 91);}.ace-eclipse .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-eclipse .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-eclipse .ace_meta.ace_tag {color:rgb(25, 118, 116);}.ace-eclipse .ace_invisible {color: #ddd;}.ace-eclipse .ace_entity.ace_other.ace_attribute-name {color:rgb(127, 0, 127);}.ace-eclipse .ace_marker-layer .ace_step {background: rgb(255, 255, 0);}.ace-eclipse .ace_active-line {background: rgb(232, 242, 254);}.ace-eclipse .ace_gutter-active-line {background-color : #DADADA;}.ace-eclipse .ace_marker-layer .ace_selected-word {border: 1px solid rgb(181, 213, 255);}.ace-eclipse .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',t.cssClass="ace-eclipse";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-github.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/github",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-github",t.cssText='.ace-github .ace_gutter {background: #e8e8e8;color: #AAA;}.ace-github {background: #fff;color: #000;}.ace-github .ace_keyword {font-weight: bold;}.ace-github .ace_string {color: #D14;}.ace-github .ace_variable.ace_class {color: teal;}.ace-github .ace_constant.ace_numeric {color: #099;}.ace-github .ace_constant.ace_buildin {color: #0086B3;}.ace-github .ace_support.ace_function {color: #0086B3;}.ace-github .ace_comment {color: #998;font-style: italic;}.ace-github .ace_variable.ace_language {color: #0086B3;}.ace-github .ace_paren {font-weight: bold;}.ace-github .ace_boolean {font-weight: bold;}.ace-github .ace_string.ace_regexp {color: #009926;font-weight: normal;}.ace-github .ace_variable.ace_instance {color: teal;}.ace-github .ace_constant.ace_language {font-weight: bold;}.ace-github .ace_cursor {color: black;}.ace-github.ace_focus .ace_marker-layer .ace_active-line {background: rgb(255, 255, 204);}.ace-github .ace_marker-layer .ace_active-line {background: rgb(245, 245, 245);}.ace-github .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-github.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;border-radius: 2px;}.ace-github.ace_nobold .ace_line > span {font-weight: normal !important;}.ace-github .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-github .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-github .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-github .ace_gutter-active-line {background-color : rgba(0, 0, 0, 0.07);}.ace-github .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-github .ace_invisible {color: #BFBFBF}.ace-github .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-github .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-idle_fingers.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/idle_fingers",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-idle-fingers",t.cssText=".ace-idle-fingers .ace_gutter {background: #3b3b3b;color: rgb(153,153,153)}.ace-idle-fingers .ace_print-margin {width: 1px;background: #3b3b3b}.ace-idle-fingers {background-color: #323232;color: #FFFFFF}.ace-idle-fingers .ace_cursor {color: #91FF00}.ace-idle-fingers .ace_marker-layer .ace_selection {background: rgba(90, 100, 126, 0.88)}.ace-idle-fingers.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #323232;}.ace-idle-fingers .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-idle-fingers .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-idle-fingers .ace_marker-layer .ace_active-line {background: #353637}.ace-idle-fingers .ace_gutter-active-line {background-color: #353637}.ace-idle-fingers .ace_marker-layer .ace_selected-word {border: 1px solid rgba(90, 100, 126, 0.88)}.ace-idle-fingers .ace_invisible {color: #404040}.ace-idle-fingers .ace_keyword,.ace-idle-fingers .ace_meta {color: #CC7833}.ace-idle-fingers .ace_constant,.ace-idle-fingers .ace_constant.ace_character,.ace-idle-fingers .ace_constant.ace_character.ace_escape,.ace-idle-fingers .ace_constant.ace_other,.ace-idle-fingers .ace_support.ace_constant {color: #6C99BB}.ace-idle-fingers .ace_invalid {color: #FFFFFF;background-color: #FF0000}.ace-idle-fingers .ace_fold {background-color: #CC7833;border-color: #FFFFFF}.ace-idle-fingers .ace_support.ace_function {color: #B83426}.ace-idle-fingers .ace_variable.ace_parameter {font-style: italic}.ace-idle-fingers .ace_string {color: #A5C261}.ace-idle-fingers .ace_string.ace_regexp {color: #CCCC33}.ace-idle-fingers .ace_comment {font-style: italic;color: #BC9458}.ace-idle-fingers .ace_meta.ace_tag {color: #FFE5BB}.ace-idle-fingers .ace_entity.ace_name {color: #FFC66D}.ace-idle-fingers .ace_collab.ace_user1 {color: #323232;background-color: #FFF980}.ace-idle-fingers .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjLyZYiPj/8PAAreAwAI1+g0AAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-katzenmilch.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/katzenmilch",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-katzenmilch",t.cssText=".ace-katzenmilch .ace_gutter,.ace-katzenmilch .ace_gutter {background: #e8e8e8;color: #333}.ace-katzenmilch .ace_print-margin {width: 1px;background: #e8e8e8}.ace-katzenmilch {background-color: #f3f2f3;color: rgba(15, 0, 9, 1.0)}.ace-katzenmilch .ace_cursor {border-left: 2px solid #100011}.ace-katzenmilch .ace_overwrite-cursors .ace_cursor {border-left: 0px;border-bottom: 1px solid #100011}.ace-katzenmilch .ace_marker-layer .ace_selection {background: rgba(100, 5, 208, 0.27)}.ace-katzenmilch.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #f3f2f3;}.ace-katzenmilch .ace_marker-layer .ace_step {background: rgb(198, 219, 174)}.ace-katzenmilch .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(0, 0, 0, 0.33);}.ace-katzenmilch .ace_marker-layer .ace_active-line {background: rgb(232, 242, 254)}.ace-katzenmilch .ace_gutter-active-line {background-color: rgb(232, 242, 254)}.ace-katzenmilch .ace_marker-layer .ace_selected-word {border: 1px solid rgba(100, 5, 208, 0.27)}.ace-katzenmilch .ace_invisible {color: #BFBFBF}.ace-katzenmilch .ace_fold {background-color: rgba(2, 95, 73, 0.97);border-color: rgba(15, 0, 9, 1.0)}.ace-katzenmilch .ace_keyword {color: #674Aa8;rbackground-color: rgba(163, 170, 216, 0.055)}.ace-katzenmilch .ace_constant.ace_language {color: #7D7e52;rbackground-color: rgba(189, 190, 130, 0.059)}.ace-katzenmilch .ace_constant.ace_numeric {color: rgba(79, 130, 123, 0.93);rbackground-color: rgba(119, 194, 187, 0.059)}.ace-katzenmilch .ace_constant.ace_character,.ace-katzenmilch .ace_constant.ace_other {color: rgba(2, 95, 105, 1.0);rbackground-color: rgba(127, 34, 153, 0.063)}.ace-katzenmilch .ace_support.ace_function {color: #9D7e62;rbackground-color: rgba(189, 190, 130, 0.039)}.ace-katzenmilch .ace_support.ace_class {color: rgba(239, 106, 167, 1.0);rbackground-color: rgba(239, 106, 167, 0.063)}.ace-katzenmilch .ace_storage {color: rgba(123, 92, 191, 1.0);rbackground-color: rgba(139, 93, 223, 0.051)}.ace-katzenmilch .ace_invalid {color: #DFDFD5;rbackground-color: #CC1B27}.ace-katzenmilch .ace_string {color: #5a5f9b;rbackground-color: rgba(170, 175, 219, 0.035)}.ace-katzenmilch .ace_comment {font-style: italic;color: rgba(64, 79, 80, 0.67);rbackground-color: rgba(95, 15, 255, 0.0078)}.ace-katzenmilch .ace_entity.ace_name.ace_function,.ace-katzenmilch .ace_variable {color: rgba(2, 95, 73, 0.97);rbackground-color: rgba(34, 255, 73, 0.12)}.ace-katzenmilch .ace_variable.ace_language {color: #316fcf;rbackground-color: rgba(58, 175, 255, 0.039)}.ace-katzenmilch .ace_variable.ace_parameter {font-style: italic;color: rgba(51, 150, 159, 0.87);rbackground-color: rgba(5, 214, 249, 0.043)}.ace-katzenmilch .ace_entity.ace_other.ace_attribute-name {color: rgba(73, 70, 194, 0.93);rbackground-color: rgba(73, 134, 194, 0.035)}.ace-katzenmilch .ace_entity.ace_name.ace_tag {color: #3976a2;rbackground-color: rgba(73, 166, 210, 0.039)}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-kr_theme.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/kr_theme",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-kr-theme",t.cssText=".ace-kr-theme .ace_gutter {background: #1c1917;color: #FCFFE0}.ace-kr-theme .ace_print-margin {width: 1px;background: #1c1917}.ace-kr-theme {background-color: #0B0A09;color: #FCFFE0}.ace-kr-theme .ace_cursor {color: #FF9900}.ace-kr-theme .ace_marker-layer .ace_selection {background: rgba(170, 0, 255, 0.45)}.ace-kr-theme.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #0B0A09;}.ace-kr-theme .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-kr-theme .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 177, 111, 0.32)}.ace-kr-theme .ace_marker-layer .ace_active-line {background: #38403D}.ace-kr-theme .ace_gutter-active-line {background-color : #38403D}.ace-kr-theme .ace_marker-layer .ace_selected-word {border: 1px solid rgba(170, 0, 255, 0.45)}.ace-kr-theme .ace_invisible {color: rgba(255, 177, 111, 0.32)}.ace-kr-theme .ace_keyword,.ace-kr-theme .ace_meta {color: #949C8B}.ace-kr-theme .ace_constant,.ace-kr-theme .ace_constant.ace_character,.ace-kr-theme .ace_constant.ace_character.ace_escape,.ace-kr-theme .ace_constant.ace_other {color: rgba(210, 117, 24, 0.76)}.ace-kr-theme .ace_invalid {color: #F8F8F8;background-color: #A41300}.ace-kr-theme .ace_support {color: #9FC28A}.ace-kr-theme .ace_support.ace_constant {color: #C27E66}.ace-kr-theme .ace_fold {background-color: #949C8B;border-color: #FCFFE0}.ace-kr-theme .ace_support.ace_function {color: #85873A}.ace-kr-theme .ace_storage {color: #FFEE80}.ace-kr-theme .ace_string {color: rgba(164, 161, 181, 0.8)}.ace-kr-theme .ace_string.ace_regexp {color: rgba(125, 255, 192, 0.65)}.ace-kr-theme .ace_comment {font-style: italic;color: #706D5B}.ace-kr-theme .ace_variable {color: #D1A796}.ace-kr-theme .ace_list,.ace-kr-theme .ace_markup.ace_list {background-color: #0F0040}.ace-kr-theme .ace_variable.ace_language {color: #FF80E1}.ace-kr-theme .ace_meta.ace_tag {color: #BABD9C}.ace-kr-theme .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-kuroir.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/kuroir",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-kuroir",t.cssText=".ace-kuroir .ace_gutter {background: #e8e8e8;color: #333;}.ace-kuroir .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-kuroir {background-color: #E8E9E8;color: #363636;}.ace-kuroir .ace_cursor {color: #202020;}.ace-kuroir .ace_marker-layer .ace_selection {background: rgba(245, 170, 0, 0.57);}.ace-kuroir.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #E8E9E8;border-radius: 2px;}.ace-kuroir .ace_marker-layer .ace_step {background: rgb(198, 219, 174);}.ace-kuroir .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(0, 0, 0, 0.29);}.ace-kuroir .ace_marker-layer .ace_active-line {background: rgba(203, 220, 47, 0.22);}.ace-kuroir .ace_gutter-active-line {background-color: rgba(203, 220, 47, 0.22);}.ace-kuroir .ace_marker-layer .ace_selected-word {border: 1px solid rgba(245, 170, 0, 0.57);}.ace-kuroir .ace_invisible {color: #BFBFBF}.ace-kuroir .ace_fold {border-color: #363636;}.ace-kuroir .ace_constant{color:#CD6839;}.ace-kuroir .ace_constant.ace_numeric{color:#9A5925;}.ace-kuroir .ace_support{color:#104E8B;}.ace-kuroir .ace_support.ace_function{color:#005273;}.ace-kuroir .ace_support.ace_constant{color:#CF6A4C;}.ace-kuroir .ace_storage{color:#A52A2A;}.ace-kuroir .ace_invalid.ace_illegal{color:#FD1224;background-color:rgba(255, 6, 0, 0.15);}.ace-kuroir .ace_invalid.ace_deprecated{text-decoration:underline;font-style:italic;color:#FD1732;background-color:#E8E9E8;}.ace-kuroir .ace_string{color:#639300;}.ace-kuroir .ace_string.ace_regexp{color:#417E00;background-color:#C9D4BE;}.ace-kuroir .ace_comment{color:rgba(148, 148, 148, 0.91);background-color:rgba(220, 220, 220, 0.56);}.ace-kuroir .ace_variable{color:#009ACD;}.ace-kuroir .ace_meta.ace_tag{color:#005273;}.ace-kuroir .ace_markup.ace_heading{color:#B8012D;background-color:rgba(191, 97, 51, 0.051);}.ace-kuroir .ace_markup.ace_list{color:#8F5B26;}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-merbivore.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/merbivore",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-merbivore",t.cssText=".ace-merbivore .ace_gutter {background: #202020;color: #E6E1DC}.ace-merbivore .ace_print-margin {width: 1px;background: #555651}.ace-merbivore {background-color: #161616;color: #E6E1DC}.ace-merbivore .ace_cursor {color: #FFFFFF}.ace-merbivore .ace_marker-layer .ace_selection {background: #454545}.ace-merbivore.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #161616;}.ace-merbivore .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-merbivore .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-merbivore .ace_marker-layer .ace_active-line {background: #333435}.ace-merbivore .ace_gutter-active-line {background-color: #333435}.ace-merbivore .ace_marker-layer .ace_selected-word {border: 1px solid #454545}.ace-merbivore .ace_invisible {color: #404040}.ace-merbivore .ace_entity.ace_name.ace_tag,.ace-merbivore .ace_keyword,.ace-merbivore .ace_meta,.ace-merbivore .ace_meta.ace_tag,.ace-merbivore .ace_storage,.ace-merbivore .ace_support.ace_function {color: #FC6F09}.ace-merbivore .ace_constant,.ace-merbivore .ace_constant.ace_character,.ace-merbivore .ace_constant.ace_character.ace_escape,.ace-merbivore .ace_constant.ace_other,.ace-merbivore .ace_support.ace_type {color: #1EDAFB}.ace-merbivore .ace_constant.ace_character.ace_escape {color: #519F50}.ace-merbivore .ace_constant.ace_language {color: #FDC251}.ace-merbivore .ace_constant.ace_library,.ace-merbivore .ace_string,.ace-merbivore .ace_support.ace_constant {color: #8DFF0A}.ace-merbivore .ace_constant.ace_numeric {color: #58C554}.ace-merbivore .ace_invalid {color: #FFFFFF;background-color: #990000}.ace-merbivore .ace_fold {background-color: #FC6F09;border-color: #E6E1DC}.ace-merbivore .ace_comment {font-style: italic;color: #AD2EA4}.ace-merbivore .ace_entity.ace_other.ace_attribute-name {color: #FFFF89}.ace-merbivore .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-merbivore_soft.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/merbivore_soft",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-merbivore-soft",t.cssText=".ace-merbivore-soft .ace_gutter {background: #262424;color: #E6E1DC}.ace-merbivore-soft .ace_print-margin {width: 1px;background: #262424}.ace-merbivore-soft {background-color: #1C1C1C;color: #E6E1DC}.ace-merbivore-soft .ace_cursor {color: #FFFFFF}.ace-merbivore-soft .ace_marker-layer .ace_selection {background: #494949}.ace-merbivore-soft.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #1C1C1C;}.ace-merbivore-soft .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-merbivore-soft .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-merbivore-soft .ace_marker-layer .ace_active-line {background: #333435}.ace-merbivore-soft .ace_gutter-active-line {background-color: #333435}.ace-merbivore-soft .ace_marker-layer .ace_selected-word {border: 1px solid #494949}.ace-merbivore-soft .ace_invisible {color: #404040}.ace-merbivore-soft .ace_entity.ace_name.ace_tag,.ace-merbivore-soft .ace_keyword,.ace-merbivore-soft .ace_meta,.ace-merbivore-soft .ace_meta.ace_tag,.ace-merbivore-soft .ace_storage {color: #FC803A}.ace-merbivore-soft .ace_constant,.ace-merbivore-soft .ace_constant.ace_character,.ace-merbivore-soft .ace_constant.ace_character.ace_escape,.ace-merbivore-soft .ace_constant.ace_other,.ace-merbivore-soft .ace_support.ace_type {color: #68C1D8}.ace-merbivore-soft .ace_constant.ace_character.ace_escape {color: #B3E5B4}.ace-merbivore-soft .ace_constant.ace_language {color: #E1C582}.ace-merbivore-soft .ace_constant.ace_library,.ace-merbivore-soft .ace_string,.ace-merbivore-soft .ace_support.ace_constant {color: #8EC65F}.ace-merbivore-soft .ace_constant.ace_numeric {color: #7FC578}.ace-merbivore-soft .ace_invalid,.ace-merbivore-soft .ace_invalid.ace_deprecated {color: #FFFFFF;background-color: #FE3838}.ace-merbivore-soft .ace_fold {background-color: #FC803A;border-color: #E6E1DC}.ace-merbivore-soft .ace_comment,.ace-merbivore-soft .ace_meta {font-style: italic;color: #AC4BB8}.ace-merbivore-soft .ace_entity.ace_other.ace_attribute-name {color: #EAF1A3}.ace-merbivore-soft .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkpLyZfD09PwPAAfYAnaStpHRAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-mono_industrial.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/mono_industrial",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-mono-industrial",t.cssText=".ace-mono-industrial .ace_gutter {background: #1d2521;color: #C5C9C9}.ace-mono-industrial .ace_print-margin {width: 1px;background: #555651}.ace-mono-industrial {background-color: #222C28;color: #FFFFFF}.ace-mono-industrial .ace_cursor {color: #FFFFFF}.ace-mono-industrial .ace_marker-layer .ace_selection {background: rgba(145, 153, 148, 0.40)}.ace-mono-industrial.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #222C28;}.ace-mono-industrial .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-mono-industrial .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(102, 108, 104, 0.50)}.ace-mono-industrial .ace_marker-layer .ace_active-line {background: rgba(12, 13, 12, 0.25)}.ace-mono-industrial .ace_gutter-active-line {background-color: rgba(12, 13, 12, 0.25)}.ace-mono-industrial .ace_marker-layer .ace_selected-word {border: 1px solid rgba(145, 153, 148, 0.40)}.ace-mono-industrial .ace_invisible {color: rgba(102, 108, 104, 0.50)}.ace-mono-industrial .ace_string {background-color: #151C19;color: #FFFFFF}.ace-mono-industrial .ace_keyword,.ace-mono-industrial .ace_meta {color: #A39E64}.ace-mono-industrial .ace_constant,.ace-mono-industrial .ace_constant.ace_character,.ace-mono-industrial .ace_constant.ace_character.ace_escape,.ace-mono-industrial .ace_constant.ace_numeric,.ace-mono-industrial .ace_constant.ace_other {color: #E98800}.ace-mono-industrial .ace_entity.ace_name.ace_function,.ace-mono-industrial .ace_keyword.ace_operator,.ace-mono-industrial .ace_variable {color: #A8B3AB}.ace-mono-industrial .ace_invalid {color: #FFFFFF;background-color: rgba(153, 0, 0, 0.68)}.ace-mono-industrial .ace_support.ace_constant {color: #C87500}.ace-mono-industrial .ace_fold {background-color: #A8B3AB;border-color: #FFFFFF}.ace-mono-industrial .ace_support.ace_function {color: #588E60}.ace-mono-industrial .ace_entity.ace_name,.ace-mono-industrial .ace_support.ace_class,.ace-mono-industrial .ace_support.ace_type {color: #5778B6}.ace-mono-industrial .ace_storage {color: #C23B00}.ace-mono-industrial .ace_variable.ace_language,.ace-mono-industrial .ace_variable.ace_parameter {color: #648BD2}.ace-mono-industrial .ace_comment {color: #666C68;background-color: #151C19}.ace-mono-industrial .ace_entity.ace_other.ace_attribute-name {color: #909993}.ace-mono-industrial .ace_entity.ace_name.ace_tag {color: #A65EFF}.ace-mono-industrial .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ1NbwZfALD/4PAAlTArlEC4r/AAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-monokai.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/monokai",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-monokai",t.cssText=".ace-monokai .ace_gutter {background: #2F3129;color: #8F908A}.ace-monokai .ace_print-margin {width: 1px;background: #555651}.ace-monokai {background-color: #272822;color: #F8F8F2}.ace-monokai .ace_cursor {color: #F8F8F0}.ace-monokai .ace_marker-layer .ace_selection {background: #49483E}.ace-monokai.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #272822;}.ace-monokai .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-monokai .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #49483E}.ace-monokai .ace_marker-layer .ace_active-line {background: #202020}.ace-monokai .ace_gutter-active-line {background-color: #272727}.ace-monokai .ace_marker-layer .ace_selected-word {border: 1px solid #49483E}.ace-monokai .ace_invisible {color: #52524d}.ace-monokai .ace_entity.ace_name.ace_tag,.ace-monokai .ace_keyword,.ace-monokai .ace_meta.ace_tag,.ace-monokai .ace_storage {color: #F92672}.ace-monokai .ace_punctuation,.ace-monokai .ace_punctuation.ace_tag {color: #fff}.ace-monokai .ace_constant.ace_character,.ace-monokai .ace_constant.ace_language,.ace-monokai .ace_constant.ace_numeric,.ace-monokai .ace_constant.ace_other {color: #AE81FF}.ace-monokai .ace_invalid {color: #F8F8F0;background-color: #F92672}.ace-monokai .ace_invalid.ace_deprecated {color: #F8F8F0;background-color: #AE81FF}.ace-monokai .ace_support.ace_constant,.ace-monokai .ace_support.ace_function {color: #66D9EF}.ace-monokai .ace_fold {background-color: #A6E22E;border-color: #F8F8F2}.ace-monokai .ace_storage.ace_type,.ace-monokai .ace_support.ace_class,.ace-monokai .ace_support.ace_type {font-style: italic;color: #66D9EF}.ace-monokai .ace_entity.ace_name.ace_function,.ace-monokai .ace_entity.ace_other,.ace-monokai .ace_entity.ace_other.ace_attribute-name,.ace-monokai .ace_variable {color: #A6E22E}.ace-monokai .ace_variable.ace_parameter {font-style: italic;color: #FD971F}.ace-monokai .ace_string {color: #E6DB74}.ace-monokai .ace_comment {color: #75715E}.ace-monokai .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-pastel_on_dark.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/pastel_on_dark",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-pastel-on-dark",t.cssText=".ace-pastel-on-dark .ace_gutter {background: #353030;color: #8F938F}.ace-pastel-on-dark .ace_print-margin {width: 1px;background: #353030}.ace-pastel-on-dark {background-color: #2C2828;color: #8F938F}.ace-pastel-on-dark .ace_cursor {color: #A7A7A7}.ace-pastel-on-dark .ace_marker-layer .ace_selection {background: rgba(221, 240, 255, 0.20)}.ace-pastel-on-dark.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #2C2828;}.ace-pastel-on-dark .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-pastel-on-dark .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 255, 255, 0.25)}.ace-pastel-on-dark .ace_marker-layer .ace_active-line {background: rgba(255, 255, 255, 0.031)}.ace-pastel-on-dark .ace_gutter-active-line {background-color: rgba(255, 255, 255, 0.031)}.ace-pastel-on-dark .ace_marker-layer .ace_selected-word {border: 1px solid rgba(221, 240, 255, 0.20)}.ace-pastel-on-dark .ace_invisible {color: rgba(255, 255, 255, 0.25)}.ace-pastel-on-dark .ace_keyword,.ace-pastel-on-dark .ace_meta {color: #757aD8}.ace-pastel-on-dark .ace_constant,.ace-pastel-on-dark .ace_constant.ace_character,.ace-pastel-on-dark .ace_constant.ace_character.ace_escape,.ace-pastel-on-dark .ace_constant.ace_other {color: #4FB7C5}.ace-pastel-on-dark .ace_keyword.ace_operator {color: #797878}.ace-pastel-on-dark .ace_constant.ace_character {color: #AFA472}.ace-pastel-on-dark .ace_constant.ace_language {color: #DE8E30}.ace-pastel-on-dark .ace_constant.ace_numeric {color: #CCCCCC}.ace-pastel-on-dark .ace_invalid,.ace-pastel-on-dark .ace_invalid.ace_illegal {color: #F8F8F8;background-color: rgba(86, 45, 86, 0.75)}.ace-pastel-on-dark .ace_invalid.ace_deprecated {text-decoration: underline;font-style: italic;color: #D2A8A1}.ace-pastel-on-dark .ace_fold {background-color: #757aD8;border-color: #8F938F}.ace-pastel-on-dark .ace_support.ace_function {color: #AEB2F8}.ace-pastel-on-dark .ace_string {color: #66A968}.ace-pastel-on-dark .ace_string.ace_regexp {color: #E9C062}.ace-pastel-on-dark .ace_comment {color: #A6C6FF}.ace-pastel-on-dark .ace_variable {color: #BEBF55}.ace-pastel-on-dark .ace_variable.ace_language {color: #C1C144}.ace-pastel-on-dark .ace_xml-pe {color: #494949}.ace-pastel-on-dark .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYIiPj/8PAARgAh2NTMh8AAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-solarized_dark.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/solarized_dark",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-solarized-dark",t.cssText=".ace-solarized-dark .ace_gutter {background: #01313f;color: #d0edf7}.ace-solarized-dark .ace_print-margin {width: 1px;background: #33555E}.ace-solarized-dark {background-color: #002B36;color: #93A1A1}.ace-solarized-dark .ace_entity.ace_other.ace_attribute-name,.ace-solarized-dark .ace_storage {color: #93A1A1}.ace-solarized-dark .ace_cursor,.ace-solarized-dark .ace_string.ace_regexp {color: #D30102}.ace-solarized-dark .ace_marker-layer .ace_active-line,.ace-solarized-dark .ace_marker-layer .ace_selection {background: rgba(255, 255, 255, 0.1)}.ace-solarized-dark.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #002B36;}.ace-solarized-dark .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-solarized-dark .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(147, 161, 161, 0.50)}.ace-solarized-dark .ace_gutter-active-line {background-color: #0d3440}.ace-solarized-dark .ace_marker-layer .ace_selected-word {border: 1px solid #073642}.ace-solarized-dark .ace_invisible {color: rgba(147, 161, 161, 0.50)}.ace-solarized-dark .ace_keyword,.ace-solarized-dark .ace_meta,.ace-solarized-dark .ace_support.ace_class,.ace-solarized-dark .ace_support.ace_type {color: #859900}.ace-solarized-dark .ace_constant.ace_character,.ace-solarized-dark .ace_constant.ace_other {color: #CB4B16}.ace-solarized-dark .ace_constant.ace_language {color: #B58900}.ace-solarized-dark .ace_constant.ace_numeric {color: #D33682}.ace-solarized-dark .ace_fold {background-color: #268BD2;border-color: #93A1A1}.ace-solarized-dark .ace_entity.ace_name.ace_function,.ace-solarized-dark .ace_entity.ace_name.ace_tag,.ace-solarized-dark .ace_support.ace_function,.ace-solarized-dark .ace_variable,.ace-solarized-dark .ace_variable.ace_language {color: #268BD2}.ace-solarized-dark .ace_string {color: #2AA198}.ace-solarized-dark .ace_comment {font-style: italic;color: #657B83}.ace-solarized-dark .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db1ZVCxc/sPAAd4AlUHlLenAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-solarized_light.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/solarized_light",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-solarized-light",t.cssText=".ace-solarized-light .ace_gutter {background: #fbf1d3;color: #333}.ace-solarized-light .ace_print-margin {width: 1px;background: #e8e8e8}.ace-solarized-light {background-color: #FDF6E3;color: #586E75}.ace-solarized-light .ace_cursor {color: #000000}.ace-solarized-light .ace_marker-layer .ace_selection {background: rgba(7, 54, 67, 0.09)}.ace-solarized-light.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FDF6E3;}.ace-solarized-light .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-solarized-light .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(147, 161, 161, 0.50)}.ace-solarized-light .ace_marker-layer .ace_active-line {background: #EEE8D5}.ace-solarized-light .ace_gutter-active-line {background-color : #EDE5C1}.ace-solarized-light .ace_marker-layer .ace_selected-word {border: 1px solid #073642}.ace-solarized-light .ace_invisible {color: rgba(147, 161, 161, 0.50)}.ace-solarized-light .ace_keyword,.ace-solarized-light .ace_meta,.ace-solarized-light .ace_support.ace_class,.ace-solarized-light .ace_support.ace_type {color: #859900}.ace-solarized-light .ace_constant.ace_character,.ace-solarized-light .ace_constant.ace_other {color: #CB4B16}.ace-solarized-light .ace_constant.ace_language {color: #B58900}.ace-solarized-light .ace_constant.ace_numeric {color: #D33682}.ace-solarized-light .ace_fold {background-color: #268BD2;border-color: #586E75}.ace-solarized-light .ace_entity.ace_name.ace_function,.ace-solarized-light .ace_entity.ace_name.ace_tag,.ace-solarized-light .ace_support.ace_function,.ace-solarized-light .ace_variable,.ace-solarized-light .ace_variable.ace_language {color: #268BD2}.ace-solarized-light .ace_storage {color: #073642}.ace-solarized-light .ace_string {color: #2AA198}.ace-solarized-light .ace_string.ace_regexp {color: #D30102}.ace-solarized-light .ace_comment,.ace-solarized-light .ace_entity.ace_other.ace_attribute-name {color: #93A1A1}.ace-solarized-light .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHjy8NJ/AAjgA5fzQUmBAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-sqlserver.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/sqlserver",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-sqlserver",t.cssText='.ace-sqlserver .ace_gutter {background: #ebebeb;color: #333;overflow: hidden;}.ace-sqlserver .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-sqlserver {background-color: #FFFFFF;color: black;}.ace-sqlserver .ace_identifier {color: black;}.ace-sqlserver .ace_keyword {color: #0000FF;}.ace-sqlserver .ace_numeric {color: black;}.ace-sqlserver .ace_storage {color: #11B7BE;}.ace-sqlserver .ace_keyword.ace_operator,.ace-sqlserver .ace_lparen,.ace-sqlserver .ace_rparen,.ace-sqlserver .ace_punctuation {color: #808080;}.ace-sqlserver .ace_set.ace_statement {color: #0000FF;text-decoration: underline;}.ace-sqlserver .ace_cursor {color: black;}.ace-sqlserver .ace_invisible {color: rgb(191, 191, 191);}.ace-sqlserver .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-sqlserver .ace_constant.ace_language {color: #979797;}.ace-sqlserver .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-sqlserver .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-sqlserver .ace_support.ace_function {color: #FF00FF;}.ace-sqlserver .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-sqlserver .ace_class {color: #008080;}.ace-sqlserver .ace_support.ace_other {color: #6D79DE;}.ace-sqlserver .ace_variable.ace_parameter {font-style: italic;color: #FD971F;}.ace-sqlserver .ace_comment {color: #008000;}.ace-sqlserver .ace_constant.ace_numeric {color: black;}.ace-sqlserver .ace_variable {color: rgb(49, 132, 149);}.ace-sqlserver .ace_xml-pe {color: rgb(104, 104, 91);}.ace-sqlserver .ace_support.ace_storedprocedure {color: #800000;}.ace-sqlserver .ace_heading {color: rgb(12, 7, 255);}.ace-sqlserver .ace_list {color: rgb(185, 6, 144);}.ace-sqlserver .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-sqlserver .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-sqlserver .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-sqlserver .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-sqlserver .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-sqlserver .ace_gutter-active-line {background-color: #dcdcdc;}.ace-sqlserver .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-sqlserver .ace_meta.ace_tag {color: #0000FF;}.ace-sqlserver .ace_string.ace_regex {color: #FF0000;}.ace-sqlserver .ace_string {color: #FF0000;}.ace-sqlserver .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-sqlserver .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-terminal.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/terminal",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-terminal-theme",t.cssText=".ace-terminal-theme .ace_gutter {background: #1a0005;color: steelblue}.ace-terminal-theme .ace_print-margin {width: 1px;background: #1a1a1a}.ace-terminal-theme {background-color: black;color: #DEDEDE}.ace-terminal-theme .ace_cursor {color: #9F9F9F}.ace-terminal-theme .ace_marker-layer .ace_selection {background: #424242}.ace-terminal-theme.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px black;}.ace-terminal-theme .ace_marker-layer .ace_step {background: rgb(0, 0, 0)}.ace-terminal-theme .ace_marker-layer .ace_bracket {background: #090;}.ace-terminal-theme .ace_marker-layer .ace_bracket-start {background: #090;}.ace-terminal-theme .ace_marker-layer .ace_bracket-unmatched {margin: -1px 0 0 -1px;border: 1px solid #900}.ace-terminal-theme .ace_marker-layer .ace_active-line {background: #2A2A2A}.ace-terminal-theme .ace_gutter-active-line {background-color: #2A112A}.ace-terminal-theme .ace_marker-layer .ace_selected-word {border: 1px solid #424242}.ace-terminal-theme .ace_invisible {color: #343434}.ace-terminal-theme .ace_keyword,.ace-terminal-theme .ace_meta,.ace-terminal-theme .ace_storage,.ace-terminal-theme .ace_storage.ace_type,.ace-terminal-theme .ace_support.ace_type {color: tomato}.ace-terminal-theme .ace_keyword.ace_operator {color: deeppink}.ace-terminal-theme .ace_constant.ace_character,.ace-terminal-theme .ace_constant.ace_language,.ace-terminal-theme .ace_constant.ace_numeric,.ace-terminal-theme .ace_keyword.ace_other.ace_unit,.ace-terminal-theme .ace_support.ace_constant,.ace-terminal-theme .ace_variable.ace_parameter {color: #E78C45}.ace-terminal-theme .ace_constant.ace_other {color: gold}.ace-terminal-theme .ace_invalid {color: yellow;background-color: red}.ace-terminal-theme .ace_invalid.ace_deprecated {color: #CED2CF;background-color: #B798BF}.ace-terminal-theme .ace_fold {background-color: #7AA6DA;border-color: #DEDEDE}.ace-terminal-theme .ace_entity.ace_name.ace_function,.ace-terminal-theme .ace_support.ace_function,.ace-terminal-theme .ace_variable {color: #7AA6DA}.ace-terminal-theme .ace_support.ace_class,.ace-terminal-theme .ace_support.ace_type {color: #E7C547}.ace-terminal-theme .ace_heading,.ace-terminal-theme .ace_string {color: #B9CA4A}.ace-terminal-theme .ace_entity.ace_name.ace_tag,.ace-terminal-theme .ace_entity.ace_other.ace_attribute-name,.ace-terminal-theme .ace_meta.ace_tag,.ace-terminal-theme .ace_string.ace_regexp,.ace-terminal-theme .ace_variable {color: #D54E53}.ace-terminal-theme .ace_comment {color: orangered}.ace-terminal-theme .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLBWV/8PAAK4AYnhiq+xAAAAAElFTkSuQmCC) right repeat-y;}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-textmate.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-tomorrow.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/tomorrow",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-tomorrow",t.cssText=".ace-tomorrow .ace_gutter {background: #f6f6f6;color: #4D4D4C}.ace-tomorrow .ace_print-margin {width: 1px;background: #f6f6f6}.ace-tomorrow {background-color: #FFFFFF;color: #4D4D4C}.ace-tomorrow .ace_cursor {color: #AEAFAD}.ace-tomorrow .ace_marker-layer .ace_selection {background: #D6D6D6}.ace-tomorrow.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-tomorrow .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-tomorrow .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #D1D1D1}.ace-tomorrow .ace_marker-layer .ace_active-line {background: #EFEFEF}.ace-tomorrow .ace_gutter-active-line {background-color : #dcdcdc}.ace-tomorrow .ace_marker-layer .ace_selected-word {border: 1px solid #D6D6D6}.ace-tomorrow .ace_invisible {color: #D1D1D1}.ace-tomorrow .ace_keyword,.ace-tomorrow .ace_meta,.ace-tomorrow .ace_storage,.ace-tomorrow .ace_storage.ace_type,.ace-tomorrow .ace_support.ace_type {color: #8959A8}.ace-tomorrow .ace_keyword.ace_operator {color: #3E999F}.ace-tomorrow .ace_constant.ace_character,.ace-tomorrow .ace_constant.ace_language,.ace-tomorrow .ace_constant.ace_numeric,.ace-tomorrow .ace_keyword.ace_other.ace_unit,.ace-tomorrow .ace_support.ace_constant,.ace-tomorrow .ace_variable.ace_parameter {color: #F5871F}.ace-tomorrow .ace_constant.ace_other {color: #666969}.ace-tomorrow .ace_invalid {color: #FFFFFF;background-color: #C82829}.ace-tomorrow .ace_invalid.ace_deprecated {color: #FFFFFF;background-color: #8959A8}.ace-tomorrow .ace_fold {background-color: #4271AE;border-color: #4D4D4C}.ace-tomorrow .ace_entity.ace_name.ace_function,.ace-tomorrow .ace_support.ace_function,.ace-tomorrow .ace_variable {color: #4271AE}.ace-tomorrow .ace_support.ace_class,.ace-tomorrow .ace_support.ace_type {color: #C99E00}.ace-tomorrow .ace_heading,.ace-tomorrow .ace_markup.ace_heading,.ace-tomorrow .ace_string {color: #718C00}.ace-tomorrow .ace_entity.ace_name.ace_tag,.ace-tomorrow .ace_entity.ace_other.ace_attribute-name,.ace-tomorrow .ace_meta.ace_tag,.ace-tomorrow .ace_string.ace_regexp,.ace-tomorrow .ace_variable {color: #C82829}.ace-tomorrow .ace_comment {color: #8E908C}.ace-tomorrow .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-tomorrow_night.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/tomorrow_night",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-tomorrow-night",t.cssText=".ace-tomorrow-night .ace_gutter {background: #25282c;color: #C5C8C6}.ace-tomorrow-night .ace_print-margin {width: 1px;background: #25282c}.ace-tomorrow-night {background-color: #1D1F21;color: #C5C8C6}.ace-tomorrow-night .ace_cursor {color: #AEAFAD}.ace-tomorrow-night .ace_marker-layer .ace_selection {background: #373B41}.ace-tomorrow-night.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #1D1F21;}.ace-tomorrow-night .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-tomorrow-night .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #4B4E55}.ace-tomorrow-night .ace_marker-layer .ace_active-line {background: #282A2E}.ace-tomorrow-night .ace_gutter-active-line {background-color: #282A2E}.ace-tomorrow-night .ace_marker-layer .ace_selected-word {border: 1px solid #373B41}.ace-tomorrow-night .ace_invisible {color: #4B4E55}.ace-tomorrow-night .ace_keyword,.ace-tomorrow-night .ace_meta,.ace-tomorrow-night .ace_storage,.ace-tomorrow-night .ace_storage.ace_type,.ace-tomorrow-night .ace_support.ace_type {color: #B294BB}.ace-tomorrow-night .ace_keyword.ace_operator {color: #8ABEB7}.ace-tomorrow-night .ace_constant.ace_character,.ace-tomorrow-night .ace_constant.ace_language,.ace-tomorrow-night .ace_constant.ace_numeric,.ace-tomorrow-night .ace_keyword.ace_other.ace_unit,.ace-tomorrow-night .ace_support.ace_constant,.ace-tomorrow-night .ace_variable.ace_parameter {color: #DE935F}.ace-tomorrow-night .ace_constant.ace_other {color: #CED1CF}.ace-tomorrow-night .ace_invalid {color: #CED2CF;background-color: #DF5F5F}.ace-tomorrow-night .ace_invalid.ace_deprecated {color: #CED2CF;background-color: #B798BF}.ace-tomorrow-night .ace_fold {background-color: #81A2BE;border-color: #C5C8C6}.ace-tomorrow-night .ace_entity.ace_name.ace_function,.ace-tomorrow-night .ace_support.ace_function,.ace-tomorrow-night .ace_variable {color: #81A2BE}.ace-tomorrow-night .ace_support.ace_class,.ace-tomorrow-night .ace_support.ace_type {color: #F0C674}.ace-tomorrow-night .ace_heading,.ace-tomorrow-night .ace_markup.ace_heading,.ace-tomorrow-night .ace_string {color: #B5BD68}.ace-tomorrow-night .ace_entity.ace_name.ace_tag,.ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name,.ace-tomorrow-night .ace_meta.ace_tag,.ace-tomorrow-night .ace_string.ace_regexp,.ace-tomorrow-night .ace_variable {color: #CC6666}.ace-tomorrow-night .ace_comment {color: #969896}.ace-tomorrow-night .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-tomorrow_night_blue.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/tomorrow_night_blue",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-tomorrow-night-blue",t.cssText=".ace-tomorrow-night-blue .ace_gutter {background: #00204b;color: #7388b5}.ace-tomorrow-night-blue .ace_print-margin {width: 1px;background: #00204b}.ace-tomorrow-night-blue {background-color: #002451;color: #FFFFFF}.ace-tomorrow-night-blue .ace_constant.ace_other,.ace-tomorrow-night-blue .ace_cursor {color: #FFFFFF}.ace-tomorrow-night-blue .ace_marker-layer .ace_selection {background: #003F8E}.ace-tomorrow-night-blue.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #002451;}.ace-tomorrow-night-blue .ace_marker-layer .ace_step {background: rgb(127, 111, 19)}.ace-tomorrow-night-blue .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404F7D}.ace-tomorrow-night-blue .ace_marker-layer .ace_active-line {background: #00346E}.ace-tomorrow-night-blue .ace_gutter-active-line {background-color: #022040}.ace-tomorrow-night-blue .ace_marker-layer .ace_selected-word {border: 1px solid #003F8E}.ace-tomorrow-night-blue .ace_invisible {color: #404F7D}.ace-tomorrow-night-blue .ace_keyword,.ace-tomorrow-night-blue .ace_meta,.ace-tomorrow-night-blue .ace_storage,.ace-tomorrow-night-blue .ace_storage.ace_type,.ace-tomorrow-night-blue .ace_support.ace_type {color: #EBBBFF}.ace-tomorrow-night-blue .ace_keyword.ace_operator {color: #99FFFF}.ace-tomorrow-night-blue .ace_constant.ace_character,.ace-tomorrow-night-blue .ace_constant.ace_language,.ace-tomorrow-night-blue .ace_constant.ace_numeric,.ace-tomorrow-night-blue .ace_keyword.ace_other.ace_unit,.ace-tomorrow-night-blue .ace_support.ace_constant,.ace-tomorrow-night-blue .ace_variable.ace_parameter {color: #FFC58F}.ace-tomorrow-night-blue .ace_invalid {color: #FFFFFF;background-color: #F99DA5}.ace-tomorrow-night-blue .ace_invalid.ace_deprecated {color: #FFFFFF;background-color: #EBBBFF}.ace-tomorrow-night-blue .ace_fold {background-color: #BBDAFF;border-color: #FFFFFF}.ace-tomorrow-night-blue .ace_entity.ace_name.ace_function,.ace-tomorrow-night-blue .ace_support.ace_function,.ace-tomorrow-night-blue .ace_variable {color: #BBDAFF}.ace-tomorrow-night-blue .ace_support.ace_class,.ace-tomorrow-night-blue .ace_support.ace_type {color: #FFEEAD}.ace-tomorrow-night-blue .ace_heading,.ace-tomorrow-night-blue .ace_markup.ace_heading,.ace-tomorrow-night-blue .ace_string {color: #D1F1A9}.ace-tomorrow-night-blue .ace_entity.ace_name.ace_tag,.ace-tomorrow-night-blue .ace_entity.ace_other.ace_attribute-name,.ace-tomorrow-night-blue .ace_meta.ace_tag,.ace-tomorrow-night-blue .ace_string.ace_regexp,.ace-tomorrow-night-blue .ace_variable {color: #FF9DA4}.ace-tomorrow-night-blue .ace_comment {color: #7285B7}.ace-tomorrow-night-blue .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYJDzqfwPAANXAeNsiA+ZAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-tomorrow_night_bright.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/tomorrow_night_bright",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-tomorrow-night-bright",t.cssText=".ace-tomorrow-night-bright .ace_gutter {background: #1a1a1a;color: #DEDEDE}.ace-tomorrow-night-bright .ace_print-margin {width: 1px;background: #1a1a1a}.ace-tomorrow-night-bright {background-color: #000000;color: #DEDEDE}.ace-tomorrow-night-bright .ace_cursor {color: #9F9F9F}.ace-tomorrow-night-bright .ace_marker-layer .ace_selection {background: #424242}.ace-tomorrow-night-bright.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #000000;}.ace-tomorrow-night-bright .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-tomorrow-night-bright .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #888888}.ace-tomorrow-night-bright .ace_marker-layer .ace_highlight {border: 1px solid rgb(110, 119, 0);border-bottom: 0;box-shadow: inset 0 -1px rgb(110, 119, 0);margin: -1px 0 0 -1px;background: rgba(255, 235, 0, 0.1)}.ace-tomorrow-night-bright .ace_marker-layer .ace_active-line {background: #2A2A2A}.ace-tomorrow-night-bright .ace_gutter-active-line {background-color: #2A2A2A}.ace-tomorrow-night-bright .ace_stack {background-color: rgb(66, 90, 44)}.ace-tomorrow-night-bright .ace_marker-layer .ace_selected-word {border: 1px solid #888888}.ace-tomorrow-night-bright .ace_invisible {color: #343434}.ace-tomorrow-night-bright .ace_keyword,.ace-tomorrow-night-bright .ace_meta,.ace-tomorrow-night-bright .ace_storage,.ace-tomorrow-night-bright .ace_storage.ace_type,.ace-tomorrow-night-bright .ace_support.ace_type {color: #C397D8}.ace-tomorrow-night-bright .ace_keyword.ace_operator {color: #70C0B1}.ace-tomorrow-night-bright .ace_constant.ace_character,.ace-tomorrow-night-bright .ace_constant.ace_language,.ace-tomorrow-night-bright .ace_constant.ace_numeric,.ace-tomorrow-night-bright .ace_keyword.ace_other.ace_unit,.ace-tomorrow-night-bright .ace_support.ace_constant,.ace-tomorrow-night-bright .ace_variable.ace_parameter {color: #E78C45}.ace-tomorrow-night-bright .ace_constant.ace_other {color: #EEEEEE}.ace-tomorrow-night-bright .ace_invalid {color: #CED2CF;background-color: #DF5F5F}.ace-tomorrow-night-bright .ace_invalid.ace_deprecated {color: #CED2CF;background-color: #B798BF}.ace-tomorrow-night-bright .ace_fold {background-color: #7AA6DA;border-color: #DEDEDE}.ace-tomorrow-night-bright .ace_entity.ace_name.ace_function,.ace-tomorrow-night-bright .ace_support.ace_function,.ace-tomorrow-night-bright .ace_variable {color: #7AA6DA}.ace-tomorrow-night-bright .ace_support.ace_class,.ace-tomorrow-night-bright .ace_support.ace_type {color: #E7C547}.ace-tomorrow-night-bright .ace_heading,.ace-tomorrow-night-bright .ace_markup.ace_heading,.ace-tomorrow-night-bright .ace_string {color: #B9CA4A}.ace-tomorrow-night-bright .ace_entity.ace_name.ace_tag,.ace-tomorrow-night-bright .ace_entity.ace_other.ace_attribute-name,.ace-tomorrow-night-bright .ace_meta.ace_tag,.ace-tomorrow-night-bright .ace_string.ace_regexp,.ace-tomorrow-night-bright .ace_variable {color: #D54E53}.ace-tomorrow-night-bright .ace_comment {color: #969896}.ace-tomorrow-night-bright .ace_c9searchresults.ace_keyword {color: #C2C280}.ace-tomorrow-night-bright .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-tomorrow_night_eighties.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/tomorrow_night_eighties",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-tomorrow-night-eighties",t.cssText=".ace-tomorrow-night-eighties .ace_gutter {background: #272727;color: #CCC}.ace-tomorrow-night-eighties .ace_print-margin {width: 1px;background: #272727}.ace-tomorrow-night-eighties {background-color: #2D2D2D;color: #CCCCCC}.ace-tomorrow-night-eighties .ace_constant.ace_other,.ace-tomorrow-night-eighties .ace_cursor {color: #CCCCCC}.ace-tomorrow-night-eighties .ace_marker-layer .ace_selection {background: #515151}.ace-tomorrow-night-eighties.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #2D2D2D;}.ace-tomorrow-night-eighties .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-tomorrow-night-eighties .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #6A6A6A}.ace-tomorrow-night-bright .ace_stack {background: rgb(66, 90, 44)}.ace-tomorrow-night-eighties .ace_marker-layer .ace_active-line {background: #393939}.ace-tomorrow-night-eighties .ace_gutter-active-line {background-color: #393939}.ace-tomorrow-night-eighties .ace_marker-layer .ace_selected-word {border: 1px solid #515151}.ace-tomorrow-night-eighties .ace_invisible {color: #6A6A6A}.ace-tomorrow-night-eighties .ace_keyword,.ace-tomorrow-night-eighties .ace_meta,.ace-tomorrow-night-eighties .ace_storage,.ace-tomorrow-night-eighties .ace_storage.ace_type,.ace-tomorrow-night-eighties .ace_support.ace_type {color: #CC99CC}.ace-tomorrow-night-eighties .ace_keyword.ace_operator {color: #66CCCC}.ace-tomorrow-night-eighties .ace_constant.ace_character,.ace-tomorrow-night-eighties .ace_constant.ace_language,.ace-tomorrow-night-eighties .ace_constant.ace_numeric,.ace-tomorrow-night-eighties .ace_keyword.ace_other.ace_unit,.ace-tomorrow-night-eighties .ace_support.ace_constant,.ace-tomorrow-night-eighties .ace_variable.ace_parameter {color: #F99157}.ace-tomorrow-night-eighties .ace_invalid {color: #CDCDCD;background-color: #F2777A}.ace-tomorrow-night-eighties .ace_invalid.ace_deprecated {color: #CDCDCD;background-color: #CC99CC}.ace-tomorrow-night-eighties .ace_fold {background-color: #6699CC;border-color: #CCCCCC}.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_function,.ace-tomorrow-night-eighties .ace_support.ace_function,.ace-tomorrow-night-eighties .ace_variable {color: #6699CC}.ace-tomorrow-night-eighties .ace_support.ace_class,.ace-tomorrow-night-eighties .ace_support.ace_type {color: #FFCC66}.ace-tomorrow-night-eighties .ace_heading,.ace-tomorrow-night-eighties .ace_markup.ace_heading,.ace-tomorrow-night-eighties .ace_string {color: #99CC99}.ace-tomorrow-night-eighties .ace_comment {color: #999999}.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_tag,.ace-tomorrow-night-eighties .ace_entity.ace_other.ace_attribute-name,.ace-tomorrow-night-eighties .ace_meta.ace_tag,.ace-tomorrow-night-eighties .ace_variable {color: #F2777A}.ace-tomorrow-night-eighties .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ09NrYAgMjP4PAAtGAwchHMyAAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-twilight.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/twilight",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-twilight",t.cssText=".ace-twilight .ace_gutter {background: #232323;color: #E2E2E2}.ace-twilight .ace_print-margin {width: 1px;background: #232323}.ace-twilight {background-color: #141414;color: #F8F8F8}.ace-twilight .ace_cursor {color: #A7A7A7}.ace-twilight .ace_marker-layer .ace_selection {background: rgba(221, 240, 255, 0.20)}.ace-twilight.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #141414;}.ace-twilight .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-twilight .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 255, 255, 0.25)}.ace-twilight .ace_marker-layer .ace_active-line {background: rgba(255, 255, 255, 0.031)}.ace-twilight .ace_gutter-active-line {background-color: rgba(255, 255, 255, 0.031)}.ace-twilight .ace_marker-layer .ace_selected-word {border: 1px solid rgba(221, 240, 255, 0.20)}.ace-twilight .ace_invisible {color: rgba(255, 255, 255, 0.25)}.ace-twilight .ace_keyword,.ace-twilight .ace_meta {color: #CDA869}.ace-twilight .ace_constant,.ace-twilight .ace_constant.ace_character,.ace-twilight .ace_constant.ace_character.ace_escape,.ace-twilight .ace_constant.ace_other,.ace-twilight .ace_heading,.ace-twilight .ace_markup.ace_heading,.ace-twilight .ace_support.ace_constant {color: #CF6A4C}.ace-twilight .ace_invalid.ace_illegal {color: #F8F8F8;background-color: rgba(86, 45, 86, 0.75)}.ace-twilight .ace_invalid.ace_deprecated {text-decoration: underline;font-style: italic;color: #D2A8A1}.ace-twilight .ace_support {color: #9B859D}.ace-twilight .ace_fold {background-color: #AC885B;border-color: #F8F8F8}.ace-twilight .ace_support.ace_function {color: #DAD085}.ace-twilight .ace_list,.ace-twilight .ace_markup.ace_list,.ace-twilight .ace_storage {color: #F9EE98}.ace-twilight .ace_entity.ace_name.ace_function,.ace-twilight .ace_meta.ace_tag,.ace-twilight .ace_variable {color: #AC885B}.ace-twilight .ace_string {color: #8F9D6A}.ace-twilight .ace_string.ace_regexp {color: #E9C062}.ace-twilight .ace_comment {font-style: italic;color: #5F5A60}.ace-twilight .ace_variable {color: #7587A6}.ace-twilight .ace_xml-pe {color: #494949}.ace-twilight .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERFpYLC1tf0PAAgOAnPnhxyiAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-vibrant_ink.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/vibrant_ink",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-vibrant-ink",t.cssText=".ace-vibrant-ink .ace_gutter {background: #1a1a1a;color: #BEBEBE}.ace-vibrant-ink .ace_print-margin {width: 1px;background: #1a1a1a}.ace-vibrant-ink {background-color: #0F0F0F;color: #FFFFFF}.ace-vibrant-ink .ace_cursor {color: #FFFFFF}.ace-vibrant-ink .ace_marker-layer .ace_selection {background: #6699CC}.ace-vibrant-ink.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #0F0F0F;}.ace-vibrant-ink .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-vibrant-ink .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-vibrant-ink .ace_marker-layer .ace_active-line {background: #333333}.ace-vibrant-ink .ace_gutter-active-line {background-color: #333333}.ace-vibrant-ink .ace_marker-layer .ace_selected-word {border: 1px solid #6699CC}.ace-vibrant-ink .ace_invisible {color: #404040}.ace-vibrant-ink .ace_keyword,.ace-vibrant-ink .ace_meta {color: #FF6600}.ace-vibrant-ink .ace_constant,.ace-vibrant-ink .ace_constant.ace_character,.ace-vibrant-ink .ace_constant.ace_character.ace_escape,.ace-vibrant-ink .ace_constant.ace_other {color: #339999}.ace-vibrant-ink .ace_constant.ace_numeric {color: #99CC99}.ace-vibrant-ink .ace_invalid,.ace-vibrant-ink .ace_invalid.ace_deprecated {color: #CCFF33;background-color: #000000}.ace-vibrant-ink .ace_fold {background-color: #FFCC00;border-color: #FFFFFF}.ace-vibrant-ink .ace_entity.ace_name.ace_function,.ace-vibrant-ink .ace_support.ace_function,.ace-vibrant-ink .ace_variable {color: #FFCC00}.ace-vibrant-ink .ace_variable.ace_parameter {font-style: italic}.ace-vibrant-ink .ace_string {color: #66FF00}.ace-vibrant-ink .ace_string.ace_regexp {color: #44B4CC}.ace-vibrant-ink .ace_comment {color: #9933CC}.ace-vibrant-ink .ace_entity.ace_other.ace_attribute-name {font-style: italic;color: #99CC99}.ace-vibrant-ink .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYNDTc/oPAALPAZ7hxlbYAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/ace-min-noconflict/theme-xcode.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/theme/xcode",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-xcode",t.cssText=".ace-xcode .ace_gutter {background: #e8e8e8;color: #333}.ace-xcode .ace_print-margin {width: 1px;background: #e8e8e8}.ace-xcode {background-color: #FFFFFF;color: #000000}.ace-xcode .ace_cursor {color: #000000}.ace-xcode .ace_marker-layer .ace_selection {background: #B5D5FF}.ace-xcode.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-xcode .ace_marker-layer .ace_step {background: rgb(198, 219, 174)}.ace-xcode .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-xcode .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.071)}.ace-xcode .ace_gutter-active-line {background-color: rgba(0, 0, 0, 0.071)}.ace-xcode .ace_marker-layer .ace_selected-word {border: 1px solid #B5D5FF}.ace-xcode .ace_constant.ace_language,.ace-xcode .ace_keyword,.ace-xcode .ace_meta,.ace-xcode .ace_variable.ace_language {color: #C800A4}.ace-xcode .ace_invisible {color: #BFBFBF}.ace-xcode .ace_constant.ace_character,.ace-xcode .ace_constant.ace_other {color: #275A5E}.ace-xcode .ace_constant.ace_numeric {color: #3A00DC}.ace-xcode .ace_entity.ace_other.ace_attribute-name,.ace-xcode .ace_support.ace_constant,.ace-xcode .ace_support.ace_function {color: #450084}.ace-xcode .ace_fold {background-color: #C800A4;border-color: #000000}.ace-xcode .ace_entity.ace_name.ace_tag,.ace-xcode .ace_support.ace_class,.ace-xcode .ace_support.ace_type {color: #790EAD}.ace-xcode .ace_storage {color: #C900A4}.ace-xcode .ace_string {color: #DF0002}.ace-xcode .ace_comment {color: #008E00}.ace-xcode .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /js/admin-styling.js: -------------------------------------------------------------------------------- 1 | jQuery(document).ready(function($) { 2 | "use strict"; 3 | 4 | // Removes the last blank table in admin pages. This is because a blank table is left if the last 5 | // option is a save option 6 | $('.titan-framework-panel-wrap table.form-table').filter(function() { 7 | return $(this).find('tbody tr').length === 0; 8 | }).remove(); 9 | }); -------------------------------------------------------------------------------- /js/dev/admin-styling.js: -------------------------------------------------------------------------------- 1 | jQuery(document).ready(function($) { 2 | "use strict"; 3 | 4 | // Removes the last blank table in admin pages. This is because a blank table is left if the last 5 | // option is a save option 6 | $('.titan-framework-panel-wrap table.form-table').filter(function() { 7 | return $(this).find('tbody tr').length === 0; 8 | }).remove(); 9 | }); -------------------------------------------------------------------------------- /js/min/admin-styling-min.js: -------------------------------------------------------------------------------- 1 | jQuery(document).ready(function(t){"use strict";t(".titan-framework-panel-wrap table.form-table").filter(function(){return 0===t(this).find("tbody tr").length}).remove()}); -------------------------------------------------------------------------------- /js/min/serialize-min.js: -------------------------------------------------------------------------------- 1 | function serialize(r){var e,n,t,a="",i="",o=0,s=function(r){var e=0,n=0,t=r.length,a="";for(n=0;nr.length&&error("Error","Invalid"),a.push(i),i=r.slice(e+(t-1),e+t),t+=1;return[a.length,a.join("")]},read_chrs=function(r,e,t){var a,i,o;for(o=[],a=0;a, 2014 4 | msgid "" 5 | msgstr "" 6 | "Project-Id-Version: Titan Framework\n" 7 | "POT-Creation-Date: 2014-02-26 22:38+0800\n" 8 | "PO-Revision-Date: 2014-07-28 19:31+0800\n" 9 | "Last-Translator: Benjamin Intal \n" 10 | "Language-Team: German (http://www.transifex.com/projects/p/titan-framework/" 11 | "language/de/)\n" 12 | "MIME-Version: 1.0\n" 13 | "Content-Type: text/plain; charset=UTF-8\n" 14 | "Content-Transfer-Encoding: 8bit\n" 15 | "Language: de\n" 16 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 17 | "X-Generator: Poedit 1.5.4\n" 18 | "X-Poedit-Basepath: .\n" 19 | "X-Poedit-KeywordsList: __;_e\n" 20 | "X-Poedit-SearchPath-0: ..\n" 21 | 22 | #: ../class-admin-panel.php:268 23 | msgid "Settings saved." 24 | msgstr "Einstellungen gespeichert." 25 | 26 | #: ../class-admin-panel.php:270 27 | msgid "Settings reset to default." 28 | msgstr "Einstellungen wurden auf Standards zurückgesetzt" 29 | 30 | #: ../class-meta-box.php:35 ../class-theme-customizer-section.php:27 31 | msgid "More Options" 32 | msgstr "Mehr Optionen" 33 | 34 | #: ../class-option-save.php:20 35 | msgid "Save Changes" 36 | msgstr "Änderungen speichern" 37 | 38 | #: ../class-option-save.php:23 39 | msgid "Reset to Default" 40 | msgstr "Auf Standards zurücksetzen" 41 | 42 | #: ../class-option-select-categories.php:37 43 | #: ../class-option-select-categories.php:104 44 | #: ../class-option-select-pages.php:30 ../class-option-select-posts.php:38 45 | #: ../class-option-select-posts.php:106 46 | msgid "Select" 47 | msgstr "Auswählen" 48 | 49 | #: ../class-option-select-googlefont.php:54 50 | msgid "Ultra-light" 51 | msgstr "Ultra-leicht" 52 | 53 | #: ../class-option-select-googlefont.php:57 54 | msgid "Light" 55 | msgstr "Leicht" 56 | 57 | #: ../class-option-select-googlefont.php:60 58 | msgid "Book" 59 | msgstr "Buch" 60 | 61 | #: ../class-option-select-googlefont.php:63 62 | msgid "Medium" 63 | msgstr "Mittel" 64 | 65 | #: ../class-option-select-googlefont.php:66 66 | msgid "Semi-Bold" 67 | msgstr "Mittel-Fett" 68 | 69 | #: ../class-option-select-googlefont.php:69 70 | msgid "Bold" 71 | msgstr "Fett" 72 | 73 | #: ../class-option-select-googlefont.php:72 74 | msgid "Extra-Bold" 75 | msgstr "Extra-Fett" 76 | 77 | #: ../class-option-select-googlefont.php:75 78 | msgid "Ultra-Bold" 79 | msgstr "Ultra-Fett" 80 | 81 | #: ../class-option-select-googlefont.php:78 82 | msgid "Regular" 83 | msgstr "Regulär" 84 | 85 | #: ../class-option-upload.php:34 86 | msgid "Upload" 87 | msgstr "Hochladen" 88 | 89 | #: ../class-option.php:35 90 | #, php-format 91 | msgid "Option type or extended class %s does not exist." 92 | msgstr "Optionen Typ oder erweiterte Klasse %s existiert nicht." 93 | 94 | #: ../class-titan-framework.php:79 95 | #, php-format 96 | msgid "All option IDs must be unique. The id %s has been used multiple times." 97 | msgstr "" 98 | "Alle IDs von Optionen müssen einzigartig sein. Die ID %s wurde mehrmals " 99 | "verwendet." 100 | 101 | #: ../class-titan-framework.php:310 ../class-titan-framework.php:345 102 | #, php-format 103 | msgid "" 104 | "Wrong usage of %s, this should be called inside a hook or from within a " 105 | "theme file." 106 | msgstr "" 107 | "Falsche Verwendung: %s muss in einem Theme Hook oder Theme File ausgeführt " 108 | "werden." 109 | 110 | #: ../titan-framework.php:122 111 | msgid "Documentation" 112 | msgstr "Dokumentation" 113 | 114 | #: ../titan-framework.php:126 115 | msgid "GitHub Repo" 116 | msgstr "Github Repo" 117 | 118 | #: ../titan-framework.php:130 119 | msgid "Issue Tracker" 120 | msgstr "Issue Tracker" 121 | -------------------------------------------------------------------------------- /languages/titan-framework-en_US.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gambitph/Titan-Framework/5a1098213bd55c31360b77512dad02b3dead3a48/languages/titan-framework-en_US.mo -------------------------------------------------------------------------------- /languages/titan-framework-es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gambitph/Titan-Framework/5a1098213bd55c31360b77512dad02b3dead3a48/languages/titan-framework-es_ES.mo -------------------------------------------------------------------------------- /languages/titan-framework-es_ES.po: -------------------------------------------------------------------------------- 1 | # 2 | # Translators: 3 | # maperezotero , 2014 4 | msgid "" 5 | msgstr "" 6 | "Project-Id-Version: Titan Framework\n" 7 | "POT-Creation-Date: 2014-02-26 22:38+0800\n" 8 | "PO-Revision-Date: 2014-02-28 07:54+0800\n" 9 | "Last-Translator: Benjamin Intal \n" 10 | "Language-Team: Spanish (http://www.transifex.com/projects/p/titan-framework/" 11 | "language/es/)\n" 12 | "MIME-Version: 1.0\n" 13 | "Content-Type: text/plain; charset=UTF-8\n" 14 | "Content-Transfer-Encoding: 8bit\n" 15 | "Language: es\n" 16 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 17 | "X-Generator: Poedit 1.5.4\n" 18 | "X-Poedit-Basepath: .\n" 19 | "X-Poedit-KeywordsList: __;_e\n" 20 | "X-Poedit-SearchPath-0: ..\n" 21 | 22 | #: ../class-admin-panel.php:268 23 | msgid "Settings saved." 24 | msgstr "Ajustes guardados." 25 | 26 | #: ../class-admin-panel.php:270 27 | msgid "Settings reset to default." 28 | msgstr "Ajustes restablecidos a los valores por defecto." 29 | 30 | #: ../class-meta-box.php:35 ../class-theme-customizer-section.php:27 31 | msgid "More Options" 32 | msgstr "Más Opciones" 33 | 34 | #: ../class-option-save.php:20 35 | msgid "Save Changes" 36 | msgstr "Guardar Cambios" 37 | 38 | #: ../class-option-save.php:23 39 | msgid "Reset to Default" 40 | msgstr "Restablecer a valores por defecto" 41 | 42 | #: ../class-option-select-categories.php:37 43 | #: ../class-option-select-categories.php:104 44 | #: ../class-option-select-pages.php:30 ../class-option-select-posts.php:38 45 | #: ../class-option-select-posts.php:106 46 | msgid "Select" 47 | msgstr "Seleccionar" 48 | 49 | #: ../class-option-select-googlefont.php:54 50 | msgid "Ultra-light" 51 | msgstr "Ultra-light" 52 | 53 | #: ../class-option-select-googlefont.php:57 54 | msgid "Light" 55 | msgstr "Light" 56 | 57 | #: ../class-option-select-googlefont.php:60 58 | msgid "Book" 59 | msgstr "Book" 60 | 61 | #: ../class-option-select-googlefont.php:63 62 | msgid "Medium" 63 | msgstr "Medium" 64 | 65 | #: ../class-option-select-googlefont.php:66 66 | msgid "Semi-Bold" 67 | msgstr "Semi-Bold" 68 | 69 | #: ../class-option-select-googlefont.php:69 70 | msgid "Bold" 71 | msgstr "Bold" 72 | 73 | #: ../class-option-select-googlefont.php:72 74 | msgid "Extra-Bold" 75 | msgstr "Extra-Bold" 76 | 77 | #: ../class-option-select-googlefont.php:75 78 | msgid "Ultra-Bold" 79 | msgstr "Ultra-Bold" 80 | 81 | #: ../class-option-select-googlefont.php:78 82 | msgid "Regular" 83 | msgstr "Regular" 84 | 85 | #: ../class-option-upload.php:34 86 | msgid "Upload" 87 | msgstr "Subir" 88 | 89 | #: ../class-option.php:35 90 | #, php-format 91 | msgid "Option type or extended class %s does not exist." 92 | msgstr "El tipo de opción o clase extendida %s no existe." 93 | 94 | #: ../class-titan-framework.php:79 95 | #, php-format 96 | msgid "All option IDs must be unique. The id %s has been used multiple times." 97 | msgstr "" 98 | "Todas las ID de las opciones deben ser únicas. La id %s ha sido utilizada " 99 | "varias veces." 100 | 101 | #: ../class-titan-framework.php:310 ../class-titan-framework.php:345 102 | #, php-format 103 | msgid "" 104 | "Wrong usage of %s, this should be called inside a hook or from within a " 105 | "theme file." 106 | msgstr "" 107 | "Uso erróneo de %s, se debe llamar desde dentro de un hook o desde un archivo " 108 | "del theme o plantilla." 109 | 110 | #: ../titan-framework.php:122 111 | msgid "Documentation" 112 | msgstr "Documentación" 113 | 114 | #: ../titan-framework.php:126 115 | msgid "GitHub Repo" 116 | msgstr "Repositorio en GitHub" 117 | 118 | #: ../titan-framework.php:130 119 | msgid "Issue Tracker" 120 | msgstr "Seguimiento de Incidencias" 121 | -------------------------------------------------------------------------------- /languages/titan-framework-fa_IR.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: Titan Framework\n" 4 | "POT-Creation-Date: 2014-02-26 22:38+0800\n" 5 | "PO-Revision-Date: 2015-06-29 12:31+0330\n" 6 | "Last-Translator: Milad \n" 7 | "Language-Team: Gambit \n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | "X-Generator: Poedit 1.5.5\n" 12 | "X-Poedit-KeywordsList: __;_e\n" 13 | "X-Poedit-Basepath: .\n" 14 | "X-Poedit-SearchPath-0: ..\n" 15 | 16 | #: ../class-admin-panel.php:268 17 | msgid "Settings saved." 18 | msgstr "تنظیمات ذخیره شد" 19 | 20 | #: ../class-admin-panel.php:270 21 | msgid "Settings reset to defaults." 22 | msgstr "تنظیمات به حالت اول برگردانده شد" 23 | 24 | #: ../class-meta-box.php:35 ../class-theme-customizer-section.php:27 25 | msgid "More Options" 26 | msgstr "تنظیمات بیشتر" 27 | 28 | #: ../class-option-save.php:20 29 | msgid "Save Changes" 30 | msgstr "ذخیره تغییرات" 31 | 32 | #: ../class-option-save.php:23 33 | msgid "Reset to Defaults" 34 | msgstr "برگرداندن به حالت پیشفرض" 35 | 36 | #: ../class-option-save.php:27 37 | msgid "Save changes now?" 38 | msgstr "تنظیمات ذخیره شود؟" 39 | 40 | #: ../class-option-save.php:31 41 | msgid "Reset all fields to defaults now?" 42 | msgstr "تنظیمات به حالت پیشفرض برگردانده شود؟" 43 | 44 | #: ../class-option-select-categories.php:37 45 | #: ../class-option-select-categories.php:104 46 | #: ../class-option-select-pages.php:30 ../class-option-select-posts.php:38 47 | #: ../class-option-select-posts.php:106 48 | msgid "Select" 49 | msgstr "انتخاب" 50 | 51 | #: ../class-option-select-googlefont.php:54 52 | msgid "Ultra-light" 53 | msgstr "بسیار نازک" 54 | 55 | #: ../class-option-select-googlefont.php:57 56 | msgid "Light" 57 | msgstr "نازک" 58 | 59 | #: ../class-option-select-googlefont.php:60 60 | msgid "Book" 61 | msgstr "کتاب" 62 | 63 | #: ../class-option-select-googlefont.php:63 64 | msgid "Medium" 65 | msgstr "معمولی" 66 | 67 | #: ../class-option-select-googlefont.php:66 68 | msgid "Semi-Bold" 69 | msgstr "کمی کلفت" 70 | 71 | #: ../class-option-select-googlefont.php:69 72 | msgid "Bold" 73 | msgstr "کلفت" 74 | 75 | #: ../class-option-select-googlefont.php:72 76 | msgid "Extra-Bold" 77 | msgstr "خیلی کلفت" 78 | 79 | #: ../class-option-select-googlefont.php:75 80 | msgid "Ultra-Bold" 81 | msgstr "بسیار کلفت" 82 | 83 | #: ../class-option-select-googlefont.php:78 84 | msgid "Regular" 85 | msgstr "طبیعی" 86 | 87 | #: ../class-option-upload.php:34 88 | msgid "Upload" 89 | msgstr "بارگزاری" 90 | 91 | #: ../class-option.php:35 92 | #, php-format 93 | msgid "Option type or extended class %s does not exist." 94 | msgstr "نوع تنظیمات یا کلاس %s پیدا نشد." 95 | 96 | #: ../class-titan-framework.php:79 97 | #, php-format 98 | msgid "All option IDs must be unique. The id %s has been used multiple times." 99 | msgstr "ایدی تنظیمات باید خاص باشد. ایدی %s چند بار استفاده شده است." 100 | 101 | #: ../class-titan-framework.php:310 ../class-titan-framework.php:345 102 | #, php-format 103 | msgid "" 104 | "Wrong usage of %s, this should be called inside a hook or from within a " 105 | "theme file." 106 | msgstr "" 107 | 108 | #: ../titan-framework.php:122 109 | msgid "Documentation" 110 | msgstr "آموزش" 111 | 112 | #: ../titan-framework.php:126 113 | msgid "GitHub Repo" 114 | msgstr "گیتهاب" 115 | 116 | #: ../titan-framework.php:130 117 | msgid "Issue Tracker" 118 | msgstr "مشکل یاب" 119 | -------------------------------------------------------------------------------- /languages/titan-framework-fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gambitph/Titan-Framework/5a1098213bd55c31360b77512dad02b3dead3a48/languages/titan-framework-fr_FR.mo -------------------------------------------------------------------------------- /languages/titan-framework-fr_FR.po: -------------------------------------------------------------------------------- 1 | # 2 | # Translators: 3 | # РunКeel, 2014 4 | msgid "" 5 | msgstr "" 6 | "Project-Id-Version: Titan Framework\n" 7 | "POT-Creation-Date: 2014-02-26 22:38+0800\n" 8 | "PO-Revision-Date: 2014-02-27 00:58+0800\n" 9 | "Last-Translator: Benjamin Intal \n" 10 | "Language-Team: French (http://www.transifex.com/projects/p/titan-framework/" 11 | "language/fr/)\n" 12 | "MIME-Version: 1.0\n" 13 | "Content-Type: text/plain; charset=UTF-8\n" 14 | "Content-Transfer-Encoding: 8bit\n" 15 | "Language: fr\n" 16 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 17 | "X-Generator: Poedit 1.5.4\n" 18 | "X-Poedit-Basepath: .\n" 19 | "X-Poedit-KeywordsList: __;_e\n" 20 | "X-Poedit-SearchPath-0: ..\n" 21 | 22 | #: ../class-admin-panel.php:268 23 | msgid "Settings saved." 24 | msgstr "Paramètres enregistrés." 25 | 26 | #: ../class-admin-panel.php:270 27 | msgid "Settings reset to default." 28 | msgstr "Paramètres remis à zéro." 29 | 30 | #: ../class-meta-box.php:35 ../class-theme-customizer-section.php:27 31 | msgid "More Options" 32 | msgstr "Plus d'options" 33 | 34 | #: ../class-option-save.php:20 35 | msgid "Save Changes" 36 | msgstr "Valider" 37 | 38 | #: ../class-option-save.php:23 39 | msgid "Reset to Default" 40 | msgstr "Remettre à zéro" 41 | 42 | #: ../class-option-select-categories.php:37 43 | #: ../class-option-select-categories.php:104 44 | #: ../class-option-select-pages.php:30 ../class-option-select-posts.php:38 45 | #: ../class-option-select-posts.php:106 46 | msgid "Select" 47 | msgstr "Sélectionner" 48 | 49 | #: ../class-option-select-googlefont.php:54 50 | msgid "Ultra-light" 51 | msgstr "Ultra-light" 52 | 53 | #: ../class-option-select-googlefont.php:57 54 | msgid "Light" 55 | msgstr "Light" 56 | 57 | #: ../class-option-select-googlefont.php:60 58 | msgid "Book" 59 | msgstr "Book" 60 | 61 | #: ../class-option-select-googlefont.php:63 62 | msgid "Medium" 63 | msgstr "Medium" 64 | 65 | #: ../class-option-select-googlefont.php:66 66 | msgid "Semi-Bold" 67 | msgstr "Semi-Bold" 68 | 69 | #: ../class-option-select-googlefont.php:69 70 | msgid "Bold" 71 | msgstr "Bold" 72 | 73 | #: ../class-option-select-googlefont.php:72 74 | msgid "Extra-Bold" 75 | msgstr "Extra-Bold" 76 | 77 | #: ../class-option-select-googlefont.php:75 78 | msgid "Ultra-Bold" 79 | msgstr "Ultra-Bold" 80 | 81 | #: ../class-option-select-googlefont.php:78 82 | msgid "Regular" 83 | msgstr "Regular" 84 | 85 | #: ../class-option-upload.php:34 86 | msgid "Upload" 87 | msgstr "Envoyer" 88 | 89 | #: ../class-option.php:35 90 | #, php-format 91 | msgid "Option type or extended class %s does not exist." 92 | msgstr "L'option ou la classe %s n'existe pas." 93 | 94 | #: ../class-titan-framework.php:79 95 | #, php-format 96 | msgid "All option IDs must be unique. The id %s has been used multiple times." 97 | msgstr "" 98 | "Les identifiants d'options doivent être uniques. L'ID %s a été utilisé " 99 | "plusieurs fois." 100 | 101 | #: ../class-titan-framework.php:310 ../class-titan-framework.php:345 102 | #, php-format 103 | msgid "" 104 | "Wrong usage of %s, this should be called inside a hook or from within a " 105 | "theme file." 106 | msgstr "" 107 | "Mauvais usage de %s : celui-ci devrait être appelé depuis un fichier de " 108 | "thème ou un hook." 109 | 110 | #: ../titan-framework.php:122 111 | msgid "Documentation" 112 | msgstr "Documentation" 113 | 114 | #: ../titan-framework.php:126 115 | msgid "GitHub Repo" 116 | msgstr "Dépot Github" 117 | 118 | #: ../titan-framework.php:130 119 | msgid "Issue Tracker" 120 | msgstr "Gestionnaire d'incidents" 121 | -------------------------------------------------------------------------------- /languages/titan-framework-it_IT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gambitph/Titan-Framework/5a1098213bd55c31360b77512dad02b3dead3a48/languages/titan-framework-it_IT.mo -------------------------------------------------------------------------------- /languages/titan-framework-it_IT.po: -------------------------------------------------------------------------------- 1 | # 2 | # Translators: 3 | # Giuseppe Pignataro , 2014 4 | msgid "" 5 | msgstr "" 6 | "Project-Id-Version: Titan Framework\n" 7 | "POT-Creation-Date: 2014-02-26 22:38+0800\n" 8 | "PO-Revision-Date: 2014-07-28 19:43+0800\n" 9 | "Last-Translator: Benjamin Intal \n" 10 | "Language-Team: Italian (http://www.transifex.com/projects/p/titan-framework/" 11 | "language/it/)\n" 12 | "MIME-Version: 1.0\n" 13 | "Content-Type: text/plain; charset=UTF-8\n" 14 | "Content-Transfer-Encoding: 8bit\n" 15 | "Language: it\n" 16 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 17 | "X-Generator: Poedit 1.5.4\n" 18 | "X-Poedit-Basepath: .\n" 19 | "X-Poedit-KeywordsList: __;_e\n" 20 | "X-Poedit-SearchPath-0: ..\n" 21 | 22 | #: ../class-admin-panel.php:268 23 | msgid "Settings saved." 24 | msgstr "Impostazioni salvate." 25 | 26 | #: ../class-admin-panel.php:270 27 | msgid "Settings reset to default." 28 | msgstr "Impostazioni ripristinate a quelle di default." 29 | 30 | #: ../class-meta-box.php:35 ../class-theme-customizer-section.php:27 31 | msgid "More Options" 32 | msgstr "Più opzioni" 33 | 34 | #: ../class-option-save.php:20 35 | msgid "Save Changes" 36 | msgstr "Salva cambiamenti" 37 | 38 | #: ../class-option-save.php:23 39 | msgid "Reset to Default" 40 | msgstr "Ripristina a default" 41 | 42 | #: ../class-option-select-categories.php:37 43 | #: ../class-option-select-categories.php:104 44 | #: ../class-option-select-pages.php:30 ../class-option-select-posts.php:38 45 | #: ../class-option-select-posts.php:106 46 | msgid "Select" 47 | msgstr "Seleziona" 48 | 49 | #: ../class-option-select-googlefont.php:54 50 | msgid "Ultra-light" 51 | msgstr "Ultra-leggero" 52 | 53 | #: ../class-option-select-googlefont.php:57 54 | msgid "Light" 55 | msgstr "Leggero" 56 | 57 | #: ../class-option-select-googlefont.php:60 58 | msgid "Book" 59 | msgstr "Blocchetto" 60 | 61 | #: ../class-option-select-googlefont.php:63 62 | msgid "Medium" 63 | msgstr "Medio" 64 | 65 | #: ../class-option-select-googlefont.php:66 66 | msgid "Semi-Bold" 67 | msgstr "Semi-grassetto" 68 | 69 | #: ../class-option-select-googlefont.php:69 70 | msgid "Bold" 71 | msgstr "Grassetto" 72 | 73 | #: ../class-option-select-googlefont.php:72 74 | msgid "Extra-Bold" 75 | msgstr "Extra-grassetto" 76 | 77 | #: ../class-option-select-googlefont.php:75 78 | msgid "Ultra-Bold" 79 | msgstr "Ultra-grassetto" 80 | 81 | #: ../class-option-select-googlefont.php:78 82 | msgid "Regular" 83 | msgstr "Regolare" 84 | 85 | #: ../class-option-upload.php:34 86 | msgid "Upload" 87 | msgstr "Carica" 88 | 89 | #: ../class-option.php:35 90 | #, php-format 91 | msgid "Option type or extended class %s does not exist." 92 | msgstr "Il tipo di opzione o la classe estesa %s non esiste." 93 | 94 | #: ../class-titan-framework.php:79 95 | #, php-format 96 | msgid "All option IDs must be unique. The id %s has been used multiple times." 97 | msgstr "" 98 | "Tutte le opzioni devono avere un ID unico. L'id %s è stato usato diverse " 99 | "volte." 100 | 101 | #: ../class-titan-framework.php:310 ../class-titan-framework.php:345 102 | #, php-format 103 | msgid "" 104 | "Wrong usage of %s, this should be called inside a hook or from within a " 105 | "theme file." 106 | msgstr "" 107 | "Uso sbagliato di %s, questo dovrebbe essere chiamato dentro un hook o con un " 108 | "file di tema." 109 | 110 | #: ../titan-framework.php:122 111 | msgid "Documentation" 112 | msgstr "Documentazione" 113 | 114 | #: ../titan-framework.php:126 115 | msgid "GitHub Repo" 116 | msgstr "Repository GitHub" 117 | 118 | #: ../titan-framework.php:130 119 | msgid "Issue Tracker" 120 | msgstr "Issue Tracker" 121 | -------------------------------------------------------------------------------- /languages/titan-framework-pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gambitph/Titan-Framework/5a1098213bd55c31360b77512dad02b3dead3a48/languages/titan-framework-pt_BR.mo -------------------------------------------------------------------------------- /languages/titan-framework-pt_BR.po: -------------------------------------------------------------------------------- 1 | # 2 | # Translators: 3 | # pagelab , 2014 4 | msgid "" 5 | msgstr "" 6 | "Project-Id-Version: Titan Framework\n" 7 | "POT-Creation-Date: 2014-02-26 22:38+0800\n" 8 | "PO-Revision-Date: 2014-07-28 19:37+0800\n" 9 | "Last-Translator: Benjamin Intal \n" 10 | "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/" 11 | "titan-framework/language/pt_BR/)\n" 12 | "MIME-Version: 1.0\n" 13 | "Content-Type: text/plain; charset=UTF-8\n" 14 | "Content-Transfer-Encoding: 8bit\n" 15 | "Language: pt_BR\n" 16 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 17 | "X-Generator: Poedit 1.5.4\n" 18 | "X-Poedit-Basepath: .\n" 19 | "X-Poedit-KeywordsList: __;_e\n" 20 | "X-Poedit-SearchPath-0: ..\n" 21 | 22 | #: ../class-admin-panel.php:268 23 | msgid "Settings saved." 24 | msgstr "Configurações salvas." 25 | 26 | #: ../class-admin-panel.php:270 27 | msgid "Settings reset to default." 28 | msgstr "Redefinir configurações." 29 | 30 | #: ../class-meta-box.php:35 ../class-theme-customizer-section.php:27 31 | msgid "More Options" 32 | msgstr "Mais opções" 33 | 34 | #: ../class-option-save.php:20 35 | msgid "Save Changes" 36 | msgstr "Salvar alterações" 37 | 38 | #: ../class-option-save.php:23 39 | msgid "Reset to Default" 40 | msgstr "Reverter para o padrão" 41 | 42 | #: ../class-option-select-categories.php:37 43 | #: ../class-option-select-categories.php:104 44 | #: ../class-option-select-pages.php:30 ../class-option-select-posts.php:38 45 | #: ../class-option-select-posts.php:106 46 | msgid "Select" 47 | msgstr "Selecionar" 48 | 49 | #: ../class-option-select-googlefont.php:54 50 | msgid "Ultra-light" 51 | msgstr "Ultra claro" 52 | 53 | #: ../class-option-select-googlefont.php:57 54 | msgid "Light" 55 | msgstr "Claro" 56 | 57 | #: ../class-option-select-googlefont.php:60 58 | msgid "Book" 59 | msgstr "Livro" 60 | 61 | #: ../class-option-select-googlefont.php:63 62 | msgid "Medium" 63 | msgstr "Mediano" 64 | 65 | #: ../class-option-select-googlefont.php:66 66 | msgid "Semi-Bold" 67 | msgstr "Seminegrito" 68 | 69 | #: ../class-option-select-googlefont.php:69 70 | msgid "Bold" 71 | msgstr "Negrito" 72 | 73 | #: ../class-option-select-googlefont.php:72 74 | msgid "Extra-Bold" 75 | msgstr "Extranegrito" 76 | 77 | #: ../class-option-select-googlefont.php:75 78 | msgid "Ultra-Bold" 79 | msgstr "Ultranegrito" 80 | 81 | #: ../class-option-select-googlefont.php:78 82 | msgid "Regular" 83 | msgstr "Regular" 84 | 85 | #: ../class-option-upload.php:34 86 | msgid "Upload" 87 | msgstr "Enviar" 88 | 89 | #: ../class-option.php:35 90 | #, php-format 91 | msgid "Option type or extended class %s does not exist." 92 | msgstr "O tipo de opção ou classe extendida %s não existe." 93 | 94 | #: ../class-titan-framework.php:79 95 | #, php-format 96 | msgid "All option IDs must be unique. The id %s has been used multiple times." 97 | msgstr "" 98 | "Todos os identificadores das opções precisam ser únicos. O identificador %s " 99 | "foi utilizado múltiplas vezes." 100 | 101 | #: ../class-titan-framework.php:310 ../class-titan-framework.php:345 102 | #, php-format 103 | msgid "" 104 | "Wrong usage of %s, this should be called inside a hook or from within a " 105 | "theme file." 106 | msgstr "" 107 | "Uso incorreto de %s. Ele precisa ser chamado a partir de um gancho ou dentro " 108 | "de um arquivo de tema." 109 | 110 | #: ../titan-framework.php:122 111 | msgid "Documentation" 112 | msgstr "Documentação" 113 | 114 | #: ../titan-framework.php:126 115 | msgid "GitHub Repo" 116 | msgstr "Repositório do GitHub" 117 | 118 | #: ../titan-framework.php:130 119 | msgid "Issue Tracker" 120 | msgstr "Rastreador de problemas" 121 | -------------------------------------------------------------------------------- /languages/titan-framework-ru_RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gambitph/Titan-Framework/5a1098213bd55c31360b77512dad02b3dead3a48/languages/titan-framework-ru_RU.mo -------------------------------------------------------------------------------- /languages/titan-framework-tr_TR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gambitph/Titan-Framework/5a1098213bd55c31360b77512dad02b3dead3a48/languages/titan-framework-tr_TR.mo -------------------------------------------------------------------------------- /languages/titan-framework-tr_TR.po: -------------------------------------------------------------------------------- 1 | # 2 | # Translators: 3 | # gurkankara , 2014 4 | msgid "" 5 | msgstr "" 6 | "Project-Id-Version: Titan Framework\n" 7 | "POT-Creation-Date: 2014-02-26 22:38+0800\n" 8 | "PO-Revision-Date: 2014-07-28 19:37+0800\n" 9 | "Last-Translator: Benjamin Intal \n" 10 | "Language-Team: Turkish (Turkey) (http://www.transifex.com/projects/p/titan-" 11 | "framework/language/tr_TR/)\n" 12 | "MIME-Version: 1.0\n" 13 | "Content-Type: text/plain; charset=UTF-8\n" 14 | "Content-Transfer-Encoding: 8bit\n" 15 | "Language: tr_TR\n" 16 | "Plural-Forms: nplurals=1; plural=0;\n" 17 | "X-Generator: Poedit 1.5.4\n" 18 | "X-Poedit-Basepath: .\n" 19 | "X-Poedit-KeywordsList: __;_e\n" 20 | "X-Poedit-SearchPath-0: ..\n" 21 | 22 | #: ../class-admin-panel.php:268 23 | msgid "Settings saved." 24 | msgstr "Ayarlar kaydedildi." 25 | 26 | #: ../class-admin-panel.php:270 27 | msgid "Settings reset to default." 28 | msgstr "Fabrika ayarlarına dönüldü." 29 | 30 | #: ../class-meta-box.php:35 ../class-theme-customizer-section.php:27 31 | msgid "More Options" 32 | msgstr "Diğer Ayarlar" 33 | 34 | #: ../class-option-save.php:20 35 | msgid "Save Changes" 36 | msgstr "Değişiklikleri Kaydet" 37 | 38 | #: ../class-option-save.php:23 39 | msgid "Reset to Default" 40 | msgstr "Fabrika Ayarlarına Dön" 41 | 42 | #: ../class-option-select-categories.php:37 43 | #: ../class-option-select-categories.php:104 44 | #: ../class-option-select-pages.php:30 ../class-option-select-posts.php:38 45 | #: ../class-option-select-posts.php:106 46 | msgid "Select" 47 | msgstr "Seçiniz" 48 | 49 | #: ../class-option-select-googlefont.php:54 50 | msgid "Ultra-light" 51 | msgstr "Ultra-light" 52 | 53 | #: ../class-option-select-googlefont.php:57 54 | msgid "Light" 55 | msgstr "Light" 56 | 57 | #: ../class-option-select-googlefont.php:60 58 | msgid "Book" 59 | msgstr "Book" 60 | 61 | #: ../class-option-select-googlefont.php:63 62 | msgid "Medium" 63 | msgstr "Medium" 64 | 65 | #: ../class-option-select-googlefont.php:66 66 | msgid "Semi-Bold" 67 | msgstr "Semi-Bold" 68 | 69 | #: ../class-option-select-googlefont.php:69 70 | msgid "Bold" 71 | msgstr "Bold" 72 | 73 | #: ../class-option-select-googlefont.php:72 74 | msgid "Extra-Bold" 75 | msgstr "Extra-Bold" 76 | 77 | #: ../class-option-select-googlefont.php:75 78 | msgid "Ultra-Bold" 79 | msgstr "Ultra-Bold" 80 | 81 | #: ../class-option-select-googlefont.php:78 82 | msgid "Regular" 83 | msgstr "Regular" 84 | 85 | #: ../class-option-upload.php:34 86 | msgid "Upload" 87 | msgstr "Yükle" 88 | 89 | #: ../class-option.php:35 90 | #, php-format 91 | msgid "Option type or extended class %s does not exist." 92 | msgstr "%s seçeneği veya sınıfı bulunmuyor." 93 | 94 | #: ../class-titan-framework.php:79 95 | #, php-format 96 | msgid "All option IDs must be unique. The id %s has been used multiple times." 97 | msgstr "" 98 | "Tüm seçenek ID'leri benzersiz olmalıdır. %s ID'si daha önce kullanılmış." 99 | 100 | #: ../class-titan-framework.php:310 ../class-titan-framework.php:345 101 | #, php-format 102 | msgid "" 103 | "Wrong usage of %s, this should be called inside a hook or from within a " 104 | "theme file." 105 | msgstr "" 106 | "%s kullanımı yanlış. Bu, bir kanca içinden veya bir tema dosyasından " 107 | "çağırılmalı." 108 | 109 | #: ../titan-framework.php:122 110 | msgid "Documentation" 111 | msgstr "Dökümantasyon" 112 | 113 | #: ../titan-framework.php:126 114 | msgid "GitHub Repo" 115 | msgstr "GitHub Repo" 116 | 117 | #: ../titan-framework.php:130 118 | msgid "Issue Tracker" 119 | msgstr "Yayın Takibi" 120 | -------------------------------------------------------------------------------- /lib/class-admin-notification.php: -------------------------------------------------------------------------------- 1 | ' . $message . ''; 25 | $type = 'updated'; 26 | } 27 | 28 | return "

{$message}

"; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /lib/class-admin-tab.php: -------------------------------------------------------------------------------- 1 | '', 21 | 22 | /** 23 | * (Optional) A unique slug for this admin tab. Defaults to a generated slug based from the name parameter. This is appended to the url such as admin.php?page=current_page&tab=id 24 | * 25 | * @since 1.0 26 | * @var string 27 | */ 28 | 'id' => '', 29 | 30 | /** 31 | * (Optional) A description displayed just below the tab when it’s active. You can use HTML tags here. 32 | * 33 | * @since 1.0 34 | * @var string 35 | */ 36 | 'desc' => '', 37 | ); 38 | 39 | public $options = array(); 40 | public $settings; 41 | public $owner; 42 | 43 | function __construct( $settings, $owner ) { 44 | $this->owner = $owner; 45 | $this->settings = array_merge( $this->defaultSettings, $settings ); 46 | 47 | if ( empty( $this->settings['id'] ) ) { 48 | $this->settings['id'] = str_replace( ' ', '-', trim( strtolower( $this->settings['name'] ) ) ); 49 | } 50 | } 51 | 52 | public function isActiveTab() { 53 | return $this->settings['id'] == $this->owner->getActiveTab()->settings['id']; 54 | } 55 | 56 | public function createOption( $settings ) { 57 | if ( ! apply_filters( 'tf_create_option_continue_' . $this->owner->owner->optionNamespace, true, $settings ) ) { 58 | return null; 59 | } 60 | 61 | $obj = TitanFrameworkOption::factory( $settings, $this ); 62 | $this->options[] = $obj; 63 | 64 | do_action( 'tf_create_option_' . $this->owner->owner->optionNamespace, $obj ); 65 | 66 | return $obj; 67 | } 68 | 69 | public function displayTab() { 70 | $url = add_query_arg( 71 | array( 72 | 'page' => $this->owner->settings['id'], 73 | 'tab' => $this->settings['id'], 74 | ), 75 | remove_query_arg( 'message' ) 76 | ); 77 | ?> 78 | settings['name'] ?> 79 | options as $option ) { 84 | $option->display(); 85 | } 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /lib/class-option-checkbox.php: -------------------------------------------------------------------------------- 1 | echoOptionHeader(); 12 | 13 | ?> 14 | 18 | echoOptionFooter( false ); 21 | } 22 | 23 | public function cleanValueForSaving( $value ) { 24 | return $value != '1' ? '0' : '1'; 25 | } 26 | 27 | public function cleanValueForGetting( $value ) { 28 | if ( is_bool( $value ) ) { 29 | return $value; 30 | } 31 | 32 | return $value == '1' ? true : false; 33 | } 34 | 35 | /* 36 | * Display for theme customizer 37 | */ 38 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 39 | $wp_customize->add_control( new TitanFrameworkCustomizeControl( $wp_customize, $this->getID(), array( 40 | 'label' => $this->settings['name'], 41 | 'section' => $section->settings['id'], 42 | 'settings' => $this->getID(), 43 | 'type' => 'checkbox', 44 | 'description' => $this->settings['desc'], 45 | 'priority' => $priority, 46 | ) ) ); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /lib/class-option-custom.php: -------------------------------------------------------------------------------- 1 | '', // Custom HTML 24 | ); 25 | 26 | /** 27 | * Display for options and meta 28 | */ 29 | public function display() { 30 | if ( ! empty( $this->settings['name'] ) ) { 31 | 32 | $this->echoOptionHeader(); 33 | echo $this->settings['custom']; 34 | $this->echoOptionFooter( false ); 35 | 36 | } else { 37 | 38 | $this->echoOptionHeaderBare(); 39 | echo $this->settings['custom']; 40 | $this->echoOptionFooterBare( false ); 41 | 42 | } 43 | } 44 | 45 | /** 46 | * Display for theme customizer 47 | * 48 | * @param WP_Customize $wp_customize The customizer object. 49 | * @param TitanFrameworkCustomizer $section The customizer section. 50 | * @param int $priority The display priority of the control. 51 | */ 52 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 53 | $wp_customize->add_control( new TitanFrameworkOptionCustomControl( $wp_customize, $this->getID(), array( 54 | 'label' => $this->settings['name'], 55 | 'section' => $section->settings['id'], 56 | 'type' => 'select', 57 | 'settings' => $this->getID(), 58 | 'priority' => $priority, 59 | 'custom' => $this->settings['custom'], 60 | ) ) ); 61 | } 62 | } 63 | 64 | 65 | // We create a new control for the theme customizer. 66 | add_action( 'customize_register', 'register_titan_framework_option_custom_control', 1 ); 67 | 68 | /** 69 | * Register the customizer control 70 | */ 71 | function register_titan_framework_option_custom_control() { 72 | 73 | /** 74 | * Custom option class 75 | * 76 | * @since 1.0 77 | */ 78 | class TitanFrameworkOptionCustomControl extends WP_Customize_Control { 79 | 80 | /** 81 | * The custom content control 82 | * 83 | * @var bool 84 | */ 85 | public $custom; 86 | 87 | /** 88 | * Renders the control 89 | */ 90 | public function render_content() { 91 | echo $this->custom; 92 | } 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /lib/class-option-editor.php: -------------------------------------------------------------------------------- 1 | true, 9 | 'media_buttons' => true, 10 | 'rows' => 10, 11 | 'editor_settings' => array(), 12 | ); 13 | 14 | /* 15 | * Display for options and meta 16 | */ 17 | public function display() { 18 | 19 | $editorSettings = array( 20 | 'wpautop' => $this->settings['wpautop'], 21 | 'media_buttons' => $this->settings['media_buttons'], 22 | 'textarea_rows' => $this->settings['rows'], 23 | ); 24 | 25 | if ( is_array( $this->settings['editor_settings'] ) ) { 26 | $editorSettings = array_merge( $editorSettings, $this->settings['editor_settings'] ); 27 | } 28 | 29 | $this->echoOptionHeader(); 30 | 31 | wp_editor( $this->getValue(), $this->getID(), $editorSettings ); 32 | 33 | $this->echoOptionFooter(); 34 | } 35 | 36 | public function cleanValueForGetting( $value ) { 37 | if ( $this->settings['wpautop'] ) { 38 | return wpautop( stripslashes( $value ) ); 39 | } 40 | return stripslashes( $value ); 41 | } 42 | 43 | 44 | /* 45 | * Display for theme customizer 46 | */ 47 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 48 | $wp_customize->add_control( new TitanFrameworkCustomizeControl( $wp_customize, $this->getID(), array( 49 | 'label' => $this->settings['name'], 50 | 'section' => $section->settings['id'], 51 | 'settings' => $this->getID(), 52 | 'description' => $this->settings['desc'], 53 | 'priority' => $priority, 54 | ) ) ); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /lib/class-option-group.php: -------------------------------------------------------------------------------- 1 | array(), 15 | ); 16 | 17 | 18 | /** 19 | * Holds the options of this group. 20 | * 21 | * @var array 22 | */ 23 | public $options = array(); 24 | 25 | 26 | /** 27 | * Override the constructor to include the creation of the options within 28 | * the group. 29 | * 30 | * @param array $settings The settings of the option. 31 | * @param TitanFrameworkAdminPage $owner The owner of the option. 32 | */ 33 | function __construct( $settings, $owner ) { 34 | parent::__construct( $settings, $owner ); 35 | $this->init_group_options(); 36 | } 37 | 38 | 39 | /** 40 | * Creates the options contained in the group. Mimics how Admin pages 41 | * create options. 42 | * 43 | * @return void 44 | */ 45 | public function init_group_options() { 46 | if ( ! empty( $this->settings['options'] ) ) { 47 | 48 | if ( is_array( $this->settings['options'] ) ) { 49 | 50 | foreach ( $this->settings['options'] as $settings ) { 51 | 52 | if ( ! apply_filters( 'tf_create_option_continue_' . $this->getOptionNamespace(), true, $settings ) ) { 53 | continue; 54 | } 55 | 56 | $obj = TitanFrameworkOption::factory( $settings, $this->owner ); 57 | $this->options[] = $obj; 58 | 59 | do_action( 'tf_create_option_' . $this->getOptionNamespace(), $obj ); 60 | } 61 | } 62 | } 63 | } 64 | 65 | 66 | /** 67 | * Display for options and meta 68 | */ 69 | public function display() { 70 | 71 | $this->echoOptionHeader(); 72 | 73 | if ( ! empty( $this->options ) ) { 74 | foreach ( $this->options as $option ) { 75 | 76 | // Display the name of the option. 77 | $name = $option->getName(); 78 | if ( ! empty( $name ) && ! $option->getHidden() ) { 79 | echo '' . esc_html( $name ) . ' '; 80 | } 81 | 82 | // Disable wrapper printing. 83 | $option->echo_wrapper = false; 84 | 85 | // Display the option field. 86 | echo ''; 87 | $option->display(); 88 | echo ''; 89 | } 90 | } 91 | 92 | $this->echoOptionFooter(); 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /lib/class-option-heading.php: -------------------------------------------------------------------------------- 1 | Creating a heading option with a description: 17 | *
$adminPage->createOption( array(
 18 |  *     'name' => __( 'General Settings', 'default' ),
 19 |  *     'type' => 'heading',
 20 |  *     'desc' => __( 'Settings for the general usage of the plugin', 'default' ),
 21 |  * ) );
22 | * 23 | * @since 1.0 24 | * @type heading 25 | * @availability Admin Pages|Meta Boxes|Customizer 26 | * @no id,default,livepreview,css,hidden 27 | */ 28 | class TitanFrameworkOptionHeading extends TitanFrameworkOption { 29 | 30 | /** 31 | * Display for options and meta 32 | */ 33 | public function display() { 34 | $headingID = str_replace( ' ', '-', strtolower( $this->settings['name'] ) ); 35 | ?> 36 | 37 | 38 |

settings['name'] ?>

39 | settings['desc'] ) ) { 41 | ?>

settings['desc'] ?>

44 | 45 | 46 | add_control( new TitanFrameworkOptionHeadingControl( $wp_customize, $this->getID(), array( 58 | 'label' => $this->settings['name'], 59 | 'section' => $section->settings['id'], 60 | 'type' => 'select', 61 | 'settings' => $this->getID(), 62 | 'description' => $this->settings['desc'], 63 | 'priority' => $priority, 64 | ) ) ); 65 | } 66 | } 67 | 68 | 69 | // We create a new control for the theme customizer. 70 | add_action( 'customize_register', 'register_titan_framework_option_heading_control', 1 ); 71 | 72 | /** 73 | * Register the customizer control 74 | */ 75 | function register_titan_framework_option_heading_control() { 76 | 77 | /** 78 | * Heading option class 79 | * 80 | * @since 1.0 81 | */ 82 | class TitanFrameworkOptionHeadingControl extends WP_Customize_Control { 83 | 84 | /** 85 | * The description of this control 86 | * 87 | * @var bool 88 | */ 89 | public $description; 90 | 91 | /** 92 | * Renders the control 93 | */ 94 | public function render_content() { 95 | 96 | ?> 97 |

98 | label ) ?> 99 | description ) ) { 101 | echo "

" . wp_kses_post( $this->description ) . '

'; 102 | } 103 | ?> 104 |

105 | '', 24 | 'height' => '400', // In pixels. 25 | ); 26 | 27 | /** 28 | * Display for options and meta 29 | */ 30 | public function display() { 31 | 32 | $this->echoOptionHeader(); 33 | 34 | printf( '', 35 | $this->settings['url'], 36 | $this->settings['height'] 37 | ); 38 | $this->echoOptionFooter(); 39 | 40 | } 41 | 42 | /** 43 | * Display for theme customizer 44 | * 45 | * @param WP_Customize $wp_customize The customizer object. 46 | * @param TitanFrameworkCustomizer $section The customizer section. 47 | * @param int $priority The display priority of the control. 48 | */ 49 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 50 | $wp_customize->add_control( new TitanFrameworkOptionIframeControl( $wp_customize, $this->getID(), array( 51 | 'label' => $this->settings['name'], 52 | 'section' => $section->settings['id'], 53 | 'type' => 'select', 54 | 'settings' => $this->getID(), 55 | 'priority' => $priority, 56 | 'optionSettings' => $this->settings, 57 | ) ) ); 58 | } 59 | } 60 | 61 | 62 | // We create a new control for the theme customizer. 63 | add_action( 'customize_register', 'register_titan_framework_option_iframe_control', 1 ); 64 | 65 | /** 66 | * Register the customizer control 67 | */ 68 | function register_titan_framework_option_iframe_control() { 69 | 70 | /** 71 | * Iframe option class 72 | * 73 | * @since 1.0 74 | */ 75 | class TitanFrameworkOptionIframeControl extends WP_Customize_Control { 76 | 77 | /** 78 | * The iframe content control 79 | * 80 | * @var bool 81 | */ 82 | public $optionSettings; 83 | 84 | /** 85 | * Renders the control 86 | */ 87 | public function render_content() { 88 | ?> 89 | 102 | array(), 9 | 'orderby' => 'name', 10 | 'order' => 'ASC', 11 | 'taxonomy' => 'category', 12 | 'hide_empty' => false, 13 | 'show_count' => false, 14 | 'select_all' => false 15 | ); 16 | 17 | /* 18 | * Display for options and meta 19 | */ 20 | public function display() { 21 | $args = array( 22 | 'orderby' => $this->settings['orderby'], 23 | 'order' => $this->settings['order'], 24 | 'taxonomy' => $this->settings['taxonomy'], 25 | 'hide_empty' => $this->settings['hide_empty'] ? '1' : '0', 26 | ); 27 | 28 | $categories = get_categories( $args ); 29 | 30 | $this->settings['options'] = array(); 31 | foreach ( $categories as $category ) { 32 | $this->settings['options'][ $category->term_id ] = $category->name . ( $this->settings['show_count'] ? ' (' . $category->count . ')' : '' ); 33 | } 34 | 35 | parent::display(); 36 | } 37 | 38 | /* 39 | * Display for theme customizer 40 | */ 41 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 42 | $args = array( 43 | 'orderby' => $this->settings['orderby'], 44 | 'order' => $this->settings['order'], 45 | 'taxonomy' => $this->settings['taxonomy'], 46 | 'hide_empty' => $this->settings['hide_empty'] ? '1' : '0', 47 | ); 48 | 49 | $categories = get_categories( $args ); 50 | 51 | $this->settings['options'] = array(); 52 | foreach ( $categories as $category ) { 53 | $this->settings['options'][ $category->term_id ] = $category->name . ( $this->settings['show_count'] ? ' (' . $category->count . ')' : '' ); 54 | } 55 | 56 | $wp_customize->add_control( new TitanFrameworkOptionMulticheckControl( $wp_customize, $this->getID(), array( 57 | 'label' => $this->settings['name'], 58 | 'section' => $section->settings['id'], 59 | 'settings' => $this->getID(), 60 | 'description' => $this->settings['desc'], 61 | 'options' => $this->settings['options'], 62 | 'select_all' => $this->settings['select_all'], 63 | 'priority' => $priority, 64 | ) ) ); 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /lib/class-option-multicheck-pages.php: -------------------------------------------------------------------------------- 1 | array(), 9 | 'select_all' => false 10 | ); 11 | 12 | private static $allPages; 13 | 14 | /* 15 | * Display for options and meta 16 | */ 17 | public function display() { 18 | 19 | // Remember the pages so as not to perform any more lookups 20 | if ( ! isset( self::$allPages ) ) { 21 | self::$allPages = get_pages(); 22 | } 23 | 24 | $this->settings['options'] = array(); 25 | foreach ( self::$allPages as $page ) { 26 | $title = $page->post_title; 27 | if ( empty( $title ) ) { 28 | $title = sprintf( __( 'Untitled %s', TF_I18NDOMAIN ), '(ID #' . $page->ID . ')' ); 29 | } 30 | $this->settings['options'][ $page->ID ] = $title; 31 | } 32 | 33 | parent::display(); 34 | } 35 | 36 | /* 37 | * Display for theme customizer 38 | */ 39 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 40 | // Remember the pages so as not to perform any more lookups 41 | if ( ! isset( self::$allPages ) ) { 42 | self::$allPages = get_pages(); 43 | } 44 | 45 | $this->settings['options'] = array(); 46 | foreach ( self::$allPages as $page ) { 47 | $title = $page->post_title; 48 | if ( empty( $title ) ) { 49 | $title = sprintf( __( 'Untitled %s', TF_I18NDOMAIN ), '(ID #' . $page->ID . ')' ); 50 | } 51 | $this->settings['options'][ $page->ID ] = $title; 52 | } 53 | 54 | $wp_customize->add_control( new TitanFrameworkOptionMulticheckControl( $wp_customize, $this->getID(), array( 55 | 'label' => $this->settings['name'], 56 | 'section' => $section->settings['id'], 57 | 'settings' => $this->getID(), 58 | 'description' => $this->settings['desc'], 59 | 'options' => $this->settings['options'], 60 | 'select_all' => $this->settings['select_all'], 61 | 'priority' => $priority, 62 | ) ) ); 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /lib/class-option-multicheck-post-types.php: -------------------------------------------------------------------------------- 1 | array(), 9 | 'public' => true, 10 | 'value' => 'all', 11 | 'slug' => true, 12 | 'select_all' => false 13 | ); 14 | 15 | /* 16 | * Display for options and meta 17 | */ 18 | public function display() { 19 | 20 | // Fetch post types. 21 | $post_types = tf_get_post_types( $this->settings['public'], $this->settings['value'] ); 22 | 23 | $this->settings['options'] = array(); 24 | foreach ( $post_types as $post_type ) { 25 | 26 | $slug = $post_type->name; 27 | 28 | $slugname = true == $this->settings['slug'] ? ' (' . $slug . ')' : ''; 29 | 30 | $name = $post_type->name; 31 | if ( ! empty( $post_type->labels->singular_name ) ) { 32 | $name = $post_type->labels->singular_name . $slugname; 33 | } 34 | 35 | $this->settings['options'][ $slug ] = $name; 36 | } 37 | 38 | parent::display(); 39 | } 40 | 41 | /* 42 | * Display for theme customizer 43 | */ 44 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 45 | 46 | // Fetch post types. 47 | $post_types = tf_get_post_types( $this->settings['public'], $this->settings['value'] ); 48 | 49 | $this->settings['options'] = array(); 50 | foreach ( $post_types as $post_type ) { 51 | 52 | $slug = $post_type->name; 53 | 54 | $slugname = true == $this->settings['slug'] ? ' (' . $slug . ')' : ''; 55 | 56 | $name = $post_type->name; 57 | if ( ! empty( $post_type->labels->singular_name ) ) { 58 | $name = $post_type->labels->singular_name . $slugname; 59 | } 60 | 61 | $this->settings['options'][ $slug ] = $name; 62 | } 63 | 64 | $wp_customize->add_control( new TitanFrameworkOptionMulticheckControl( $wp_customize, $this->getID(), array( 65 | 'label' => $this->settings['name'], 66 | 'section' => $section->settings['id'], 67 | 'settings' => $this->getID(), 68 | 'description' => $this->settings['desc'], 69 | 'public' => $this->settings['public'], 70 | 'value' => $this->settings['value'], 71 | 'slug' => $this->settings['slug'], 72 | 'options' => $this->settings['options'], 73 | 'select_all' => $this->settings['select_all'], 74 | 'priority' => $priority, 75 | ) ) ); 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /lib/class-option-multicheck-posts.php: -------------------------------------------------------------------------------- 1 | array(), 9 | 'post_type' => 'post', 10 | 'num' => -1, 11 | 'post_status' => 'any', 12 | 'orderby' => 'post_date', 13 | 'order' => 'DESC', 14 | 'select_all' => false 15 | ); 16 | 17 | /* 18 | * Display for options and meta 19 | */ 20 | public function display() { 21 | $args = array( 22 | 'post_type' => $this->settings['post_type'], 23 | 'posts_per_page' => $this->settings['num'], 24 | 'post_status' => $this->settings['post_status'], 25 | 'orderby' => $this->settings['orderby'], 26 | 'order' => $this->settings['order'], 27 | ); 28 | 29 | $posts = get_posts( $args ); 30 | 31 | $this->settings['options'] = array(); 32 | foreach ( $posts as $post ) { 33 | $title = $post->post_title; 34 | if ( empty( $title ) ) { 35 | $title = sprintf( __( 'Untitled %s', TF_I18NDOMAIN ), '(ID #' . $post->ID . ')' ); 36 | } 37 | $this->settings['options'][ $post->ID ] = $title; 38 | } 39 | 40 | parent::display(); 41 | } 42 | 43 | /* 44 | * Display for theme customizer 45 | */ 46 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 47 | $args = array( 48 | 'post_type' => $this->settings['post_type'], 49 | 'posts_per_page' => $this->settings['num'], 50 | 'post_status' => $this->settings['post_status'], 51 | 'orderby' => $this->settings['orderby'], 52 | 'order' => $this->settings['order'], 53 | ); 54 | 55 | $posts = get_posts( $args ); 56 | 57 | $this->settings['options'] = array(); 58 | foreach ( $posts as $post ) { 59 | $title = $post->post_title; 60 | if ( empty( $title ) ) { 61 | $title = sprintf( __( 'Untitled %s', TF_I18NDOMAIN ), '(ID #' . $post->ID . ')' ); 62 | } 63 | $this->settings['options'][ $post->ID ] = $title; 64 | } 65 | 66 | $wp_customize->add_control( new TitanFrameworkOptionMulticheckControl( $wp_customize, $this->getID(), array( 67 | 'label' => $this->settings['name'], 68 | 'section' => $section->settings['id'], 69 | 'settings' => $this->getID(), 70 | 'description' => $this->settings['desc'], 71 | 'options' => $this->settings['options'], 72 | 'select_all' => $this->settings['select_all'], 73 | 'priority' => $priority, 74 | ) ) ); 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /lib/class-option-note.php: -------------------------------------------------------------------------------- 1 | 'green', // The color of the note's border 9 | 'notification' => false, 10 | 'paragraph' => true, 11 | ); 12 | 13 | /* 14 | * Display for options and meta 15 | */ 16 | public function display() { 17 | $this->echoOptionHeader(); 18 | 19 | $color = $this->settings['color'] == 'green' ? '' : 'error'; 20 | 21 | if ( $this->settings['notification'] ) { 22 | ?>
settings['paragraph'] ) { 26 | echo "

"; 27 | } 28 | 29 | echo $this->settings['desc']; 30 | 31 | if ( $this->settings['paragraph'] ) { 32 | echo '

'; 33 | } 34 | 35 | if ( $this->settings['notification'] ) { 36 | ?>
echoOptionFooter( false ); 40 | } 41 | 42 | /* 43 | * Display for theme customizer 44 | */ 45 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 46 | $wp_customize->add_control( new TitanFrameworkOptionNoteControl( $wp_customize, $this->getID(), array( 47 | 'label' => $this->settings['name'], 48 | 'section' => $section->getID(), 49 | 'settings' => $this->getID(), 50 | 'description' => $this->settings['desc'], 51 | 'priority' => $priority, 52 | ) ) ); 53 | } 54 | } 55 | 56 | /* 57 | * WP_Customize_Control with description 58 | */ 59 | add_action( 'customize_register', 'registerTitanFrameworkOptionNoteControl', 1 ); 60 | function registerTitanFrameworkOptionNoteControl() { 61 | class TitanFrameworkOptionNoteControl extends WP_Customize_Control { 62 | public $description; 63 | 64 | public function render_content() { 65 | if ( ! empty( $this->description ) ) { 66 | echo "

" . $this->description . '

'; 67 | } 68 | } 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /lib/class-option-radio-image.php: -------------------------------------------------------------------------------- 1 | array(), 9 | 'is_font_icon' => false 10 | ); 11 | 12 | function __construct( $settings, $owner ) { 13 | parent::__construct( $settings, $owner ); 14 | } 15 | 16 | /* 17 | * Display for options and meta 18 | */ 19 | public function display() { 20 | if ( empty( $this->settings['options'] ) ) { 21 | return; 22 | } 23 | if ( $this->settings['options'] == array() ) { 24 | return; 25 | } 26 | 27 | $this->echoOptionHeader(); 28 | 29 | // Get the correct value, since we are accepting indices in the default setting 30 | $value = $this->getValue(); 31 | if ($this->settings['is_font_icon']){ 32 | $template = ''; 33 | } else { 34 | $template = ''; 35 | } 36 | 37 | // print the images 38 | foreach ( $this->settings['options'] as $key => $imageURL ) { 39 | if ( $value == '' ) { 40 | $value = $key; 41 | } 42 | printf( $template, 43 | $this->getID() . $key, 44 | $this->getID() . $key, 45 | $this->getID(), 46 | esc_attr( $key ), 47 | checked( $value, $key, false ), 48 | esc_attr( $imageURL ) 49 | ); 50 | } 51 | 52 | $this->echoOptionFooter(); 53 | } 54 | 55 | // Save the index of the selected option 56 | public function cleanValueForSaving( $value ) { 57 | if ( ! is_array( $this->settings['options'] ) ) { 58 | return $value; 59 | } 60 | // if the key above is zero, we will get a blank value 61 | if ( $value == '' ) { 62 | $keys = array_keys( $this->settings['options'] ); 63 | return $keys[0]; 64 | } 65 | return $value; 66 | } 67 | 68 | // The value we should return is a key of one of the options 69 | public function cleanValueForGetting( $value ) { 70 | if ( ! empty( $this->settings['options'] ) && $value == '' ) { 71 | $keys = array_keys( $this->settings['options'] ); 72 | return $keys[0]; 73 | } 74 | return $value; 75 | } 76 | 77 | /* 78 | * Display for theme customizer 79 | */ 80 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 81 | $wp_customize->add_control( new TitanFrameworkOptionRadioImageControl( $wp_customize, $this->getID(), array( 82 | 'label' => $this->settings['name'], 83 | 'section' => $section->settings['id'], 84 | 'type' => 'select', 85 | 'choices' => $this->settings['options'], 86 | 'settings' => $this->getID(), 87 | 'description' => $this->settings['desc'], 88 | 'priority' => $priority, 89 | 'is_font_icon' => $this->settings['is_font_icon'] 90 | ) ) ); 91 | } 92 | } 93 | 94 | 95 | /* 96 | * We create a new control for the theme customizer 97 | */ 98 | add_action( 'customize_register', 'registerTitanFrameworkOptionRadioImageControl', 1 ); 99 | function registerTitanFrameworkOptionRadioImageControl() { 100 | class TitanFrameworkOptionRadioImageControl extends WP_Customize_Control { 101 | public $description; 102 | public $is_font_icon; 103 | 104 | public function render_content() { 105 | 106 | ?>label ); ?>description ) ) { 109 | echo "

" . $this->description . '

'; 110 | } 111 | 112 | // print the images 113 | $value = $this->value(); 114 | foreach ( $this->choices as $key => $imageURL ) { 115 | // Get the correct value, we might get a blank if index / value is 0 116 | if ( $value === '' ) { 117 | $value = $key; 118 | } 119 | ?> 120 | 121 | 130 | 131 | array(), 9 | ); 10 | 11 | /* 12 | * Display for options and meta 13 | */ 14 | public function display() { 15 | $this->echoOptionHeader( true ); 16 | 17 | echo '
'; 18 | 19 | foreach ( $this->settings['options'] as $value => $label ) { 20 | printf('
', 21 | $this->getID() . $value, 22 | $this->getID() . $value, 23 | $this->getID(), 24 | esc_attr( $value ), 25 | checked( $this->getValue(), $value, false ), 26 | $label 27 | ); 28 | } 29 | 30 | echo '
'; 31 | 32 | $this->echoOptionFooter( false ); 33 | } 34 | 35 | /* 36 | * Display for theme customizer 37 | */ 38 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 39 | $wp_customize->add_control( new TitanFrameworkCustomizeControl( $wp_customize, $this->getID(), array( 40 | 'label' => $this->settings['name'], 41 | 'section' => $section->settings['id'], 42 | 'settings' => $this->getID(), 43 | 'choices' => $this->settings['options'], 44 | 'type' => 'radio', 45 | 'description' => $this->settings['desc'], 46 | 'priority' => $priority, 47 | ) ) ); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /lib/class-option-save.php: -------------------------------------------------------------------------------- 1 | '', 9 | 'reset' => '', 10 | 'use_reset' => true, 11 | 'reset_question' => '', 12 | 'action' => 'save', 13 | ); 14 | 15 | public function display() { 16 | if ( ! empty( $this->owner->postID ) ) { 17 | return; 18 | } 19 | 20 | if ( empty( $this->settings['save'] ) ) { 21 | $this->settings['save'] = __( 'Save Changes', TF_I18NDOMAIN ); 22 | } 23 | if ( empty( $this->settings['reset'] ) ) { 24 | $this->settings['reset'] = __( 'Reset to Defaults', TF_I18NDOMAIN ); 25 | } 26 | if ( empty( $this->settings['reset_question'] ) ) { 27 | $this->settings['reset_question'] = __( 'Are you sure you want to reset ALL options to their default values?', TF_I18NDOMAIN ); 28 | } 29 | 30 | ?> 31 | 32 | 33 | 34 |

35 | 38 | 39 | settings['use_reset'] ) : 41 | ?> 42 | 46 | 49 |

50 | 51 | 52 | 53 | '0', // show this when blank 9 | 'orderby' => 'name', 10 | 'order' => 'ASC', 11 | 'taxonomy' => 'category', 12 | 'hide_empty' => false, 13 | 'show_count' => false, 14 | ); 15 | 16 | 17 | /** 18 | * Creates the options for the select input. Puts the options in $this->settings['options'] 19 | * 20 | * @since 1.11 21 | * 22 | * @return void 23 | */ 24 | public function create_select_options() { 25 | $args = array( 26 | 'orderby' => $this->settings['orderby'], 27 | 'order' => $this->settings['order'], 28 | 'taxonomy' => $this->settings['taxonomy'], 29 | 'hide_empty' => $this->settings['hide_empty'] ? '1' : '0', 30 | ); 31 | 32 | $categories = get_terms( $args ); 33 | 34 | $this->settings['options'] = array( 35 | '' => '— ' . __( 'Select', TF_I18NDOMAIN ) . ' —' 36 | ); 37 | 38 | foreach ( $categories as $category ) { 39 | $category_id = esc_attr( $category->term_id ); 40 | $category->name .= $this->settings['show_count'] ? ' (' . $category->count . ')' : ''; 41 | $this->settings['options'][ $category_id ] = esc_html( $category->name ); 42 | } 43 | } 44 | 45 | 46 | /** 47 | * Display for options and meta 48 | */ 49 | public function display() { 50 | $this->create_select_options(); 51 | parent::display(); 52 | } 53 | 54 | 55 | /** 56 | * Display for theme customizer 57 | */ 58 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 59 | $this->create_select_options(); 60 | parent::registerCustomizerControl( $wp_customize, $section, $priority ); 61 | 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /lib/class-option-select-pages.php: -------------------------------------------------------------------------------- 1 | '0', // show this when blank 9 | ); 10 | 11 | private static $allPages; 12 | 13 | /** 14 | * Creates the options for the select input. Puts the options in $this->settings['options'] 15 | * 16 | * @since 1.11 17 | * 18 | * @return void 19 | */ 20 | public function create_select_options() { 21 | // Remember the pages so as not to perform any more lookups 22 | if ( ! isset( self::$allPages ) ) { 23 | self::$allPages = get_pages(); 24 | } 25 | 26 | $this->settings['options'] = array( 27 | '' => '— ' . __( 'Select', TF_I18NDOMAIN ) . ' —' 28 | ); 29 | 30 | // Print all the other pages 31 | foreach ( self::$allPages as $page ) { 32 | $title = $page->post_title; 33 | if ( empty( $title ) ) { 34 | $title = sprintf( __( 'Untitled %s', TF_I18NDOMAIN ), '(ID #' . $page->ID . ')' ); 35 | } 36 | $this->settings['options'][ $page->ID ] = $title; 37 | } 38 | } 39 | 40 | /* 41 | * Display for options and meta 42 | */ 43 | public function display() { 44 | $this->create_select_options(); 45 | parent::display(); 46 | } 47 | 48 | 49 | /* 50 | * Display for theme customizer 51 | */ 52 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 53 | $this->create_select_options(); 54 | parent::registerCustomizerControl( $wp_customize, $section, $priority ); 55 | } 56 | 57 | } 58 | -------------------------------------------------------------------------------- /lib/class-option-select-post-types.php: -------------------------------------------------------------------------------- 1 | '0', // show this when blank 9 | 'public' => true, 10 | 'value' => 'all', 11 | 'slug' => true, 12 | ); 13 | 14 | 15 | /** 16 | * Creates the options for the select input. Puts the options in $this->settings['options'] 17 | * 18 | * @since 1.11 19 | * 20 | * @return void 21 | */ 22 | public function create_select_options() { 23 | // Fetch post types. 24 | $post_types = tf_get_post_types( $this->settings['public'], $this->settings['value'] ); 25 | 26 | $this->settings['options'] = array( 27 | '' => '— ' . __( 'Select', TF_I18NDOMAIN ) . ' —' 28 | ); 29 | 30 | // Print all the other pages 31 | foreach ( $post_types as $post_type ) { 32 | 33 | if ( ! empty( $post_type->labels->singular_name ) ) { 34 | $slugname = true == $this->settings['slug'] ? ' (' . $post_type->name . ')' : ''; 35 | $name = $post_type->labels->singular_name . $slugname; 36 | } else { 37 | $name = $post_type->name; 38 | } 39 | 40 | $this->settings['options'][ $post_type->name ] = $name; 41 | } 42 | } 43 | 44 | 45 | /* 46 | * Display for options and meta 47 | */ 48 | public function display() { 49 | $this->create_select_options(); 50 | parent::display(); 51 | } 52 | 53 | 54 | /* 55 | * Display for theme customizer 56 | */ 57 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 58 | $this->create_select_options(); 59 | parent::registerCustomizerControl( $wp_customize, $section, $priority ); 60 | } 61 | 62 | } 63 | -------------------------------------------------------------------------------- /lib/class-option-select-posts.php: -------------------------------------------------------------------------------- 1 | '0', // show this when blank 9 | 'post_type' => 'post', 10 | 'num' => -1, 11 | 'post_status' => 'any', 12 | 'orderby' => 'post_date', 13 | 'order' => 'DESC', 14 | 'query_args' => null, 15 | ); 16 | 17 | 18 | /** 19 | * Creates the options for the select input. Puts the options in $this->settings['options'] 20 | * 21 | * @since 1.11 22 | * 23 | * @return void 24 | */ 25 | public function create_select_options() { 26 | 27 | if ( ! empty( $this->settings['query_args'] ) ) { 28 | $args = $this->settings['query_args']; 29 | 30 | } else { 31 | $args = array( 32 | 'post_type' => $this->settings['post_type'], 33 | 'posts_per_page' => $this->settings['num'], 34 | 'post_status' => $this->settings['post_status'], 35 | 'orderby' => $this->settings['orderby'], 36 | 'order' => $this->settings['order'], 37 | ); 38 | } 39 | 40 | $posts = get_posts( $args ); 41 | 42 | $this->settings['options'] = array( 43 | '' => '— ' . __( 'Select', TF_I18NDOMAIN ) . ' —' 44 | ); 45 | 46 | foreach ( $posts as $post ) { 47 | $title = esc_html( $post->post_title ); 48 | if ( empty( $title ) ) { 49 | $title = sprintf( __( 'Untitled %s', TF_I18NDOMAIN ), '(ID #' . $post->ID . ')' ); 50 | } 51 | $this->settings['options'][ $post->ID ] = $title; 52 | } 53 | } 54 | 55 | 56 | /* 57 | * Display for options and meta 58 | */ 59 | public function display() { 60 | $this->create_select_options(); 61 | parent::display(); 62 | } 63 | 64 | 65 | /* 66 | * Display for theme customizer 67 | */ 68 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 69 | $this->create_select_options(); 70 | parent::registerCustomizerControl( $wp_customize, $section, $priority ); 71 | } 72 | 73 | } 74 | -------------------------------------------------------------------------------- /lib/class-option-separator.php: -------------------------------------------------------------------------------- 1 | echoOptionHeader(); 12 | ?> 13 |
14 | echoOptionFooter( false ); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /lib/class-option-textarea.php: -------------------------------------------------------------------------------- 1 | '', // show this when blank 9 | 'is_code' => false, // if true, a more code-like font will be used 10 | 'sanitize_callbacks' => array(), 11 | ); 12 | 13 | /* 14 | * Display for options and meta 15 | */ 16 | public function display() { 17 | $this->echoOptionHeader( true ); 18 | printf("", 19 | $this->settings['is_code'] ? 'code' : '', 20 | $this->getID(), 21 | $this->settings['placeholder'], 22 | $this->getID(), 23 | esc_textarea( stripslashes( $this->getValue() ) ) 24 | ); 25 | $this->echoOptionFooter( false ); 26 | } 27 | 28 | public function cleanValueForSaving( $value ) { 29 | if ( ! empty( $this->settings['sanitize_callbacks'] ) ) { 30 | foreach ( $this->settings['sanitize_callbacks'] as $callback ) { 31 | $value = call_user_func_array( $callback, array( $value, $this ) ); 32 | } 33 | } 34 | 35 | return $value; 36 | } 37 | 38 | /* 39 | * Display for theme customizer 40 | */ 41 | public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { 42 | $wp_customize->add_control( new TitanFrameworkOptionTextareaControl( $wp_customize, $this->getID(), array( 43 | 'label' => $this->settings['name'], 44 | 'section' => $section->getID(), 45 | 'settings' => $this->getID(), 46 | 'description' => $this->settings['desc'], 47 | 'is_code' => $this->settings['is_code'], 48 | 'priority' => $priority, 49 | ) ) ); 50 | } 51 | } 52 | 53 | /* 54 | * WP_Customize_Control with description 55 | */ 56 | add_action( 'customize_register', 'registerTitanFrameworkOptionTextareaControl', 1 ); 57 | function registerTitanFrameworkOptionTextareaControl() { 58 | class TitanFrameworkOptionTextareaControl extends WP_Customize_Control { 59 | public $description; 60 | public $is_code; 61 | 62 | public function render_content() { 63 | ?> 64 | 68 | {$this->description}

"; 70 | } 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /lib/class-wp-customize-control.php: -------------------------------------------------------------------------------- 1 | {$this->description}

"; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Titan-Framework", 3 | "version": "1.9.2", 4 | "description": "Titan Framework allows theme and plugin developers to create a admin pages, options, meta boxes, and theme customizer options with just a few simple lines of code.", 5 | "main": "titan-framework.php", 6 | "directories": { 7 | "test": "tests" 8 | }, 9 | "scripts": { 10 | "test": "echo \"Error: no test specified\" && exit 1" 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "https://github.com/gambitph/Titan-Framework.git" 15 | }, 16 | "keywords": [ 17 | "framework", 18 | "options", 19 | "admin", 20 | "admin", 21 | "panel", 22 | "meta", 23 | "box", 24 | "theme", 25 | "customizer", 26 | "option", 27 | "framework", 28 | "library", 29 | "sdk", 30 | "edd", 31 | "settings", 32 | "api", 33 | "theme", 34 | "creator", 35 | "theme", 36 | "framework" 37 | ], 38 | "author": "Benjamin Intal, Gambit", 39 | "license": "GPLv2", 40 | "bugs": { 41 | "url": "https://github.com/gambitph/Titan-Framework/issues" 42 | }, 43 | "homepage": "https://github.com/gambitph/Titan-Framework", 44 | "devDependencies": { 45 | "gulp": "^3.9.0", 46 | "gulp-autoprefixer": "^2.3.1", 47 | "gulp-bower": "0.0.10", 48 | "gulp-concat": "^2.6.0", 49 | "gulp-debug": "^2.1.0", 50 | "gulp-group-css-media-queries": "^1.2.2", 51 | "gulp-if": "^1.2.5", 52 | "gulp-ignore": "^1.2.1", 53 | "gulp-imagemin": "^2.3.0", 54 | "gulp-include": "^2.0.2", 55 | "gulp-jshint": "^1.11.2", 56 | "gulp-minify-css": "^1.2.1", 57 | "gulp-notify": "^2.2.0", 58 | "gulp-prompt": "^0.1.2", 59 | "gulp-rename": "^1.2.2", 60 | "gulp-replace": "^0.5.4", 61 | "gulp-rsync": "0.0.7", 62 | "gulp-ruby-sass": "^1.4.0", 63 | "gulp-run": "^1.6.10", 64 | "gulp-scp2": "^0.2.0", 65 | "gulp-shell": "^0.4.3", 66 | "gulp-sort": "^1.1.1", 67 | "gulp-sourcemaps": "^1.5.2", 68 | "gulp-uglify": "^1.4.0", 69 | "gulp-watch": "^4.3.5", 70 | "gulp-wp-pot": "^1.0.3", 71 | "gulp-zip": "^3.0.2", 72 | "jshint-stylish": "^2.0.1", 73 | "merge-stream": "^1.0.0" 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /phpcs.ruleset.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | WordPress Coding Standards 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | tests 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | lib 17 | titan-framework.php 18 | titan-framework-embedder.php 19 | titan-framework-checker.php 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /ruleset.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | WordPress Coding Standards 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | array( 'Titan-Framework/titan-framework.php' ), 14 | ); 15 | 16 | function _manually_load_plugin() { 17 | require dirname( dirname( __FILE__ ) ) . '/titan-framework.php'; 18 | } 19 | tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' ); 20 | 21 | require $_tests_dir . '/includes/bootstrap.php'; 22 | require dirname( __FILE__ ) . '/helpers/shims.php'; -------------------------------------------------------------------------------- /tests/helpers/shims.php: -------------------------------------------------------------------------------- 1 | publicly_queryable || ( $post_type_object->_builtin && $post_type_object->public ); 27 | } 28 | } -------------------------------------------------------------------------------- /tests/test-option-color.php: -------------------------------------------------------------------------------- 1 | deleteAllOptions(); 28 | 29 | parent::tearDown(); 30 | } 31 | 32 | public function tf_create_options() { 33 | $titan = TitanFramework::getInstance( 'testing' ); 34 | 35 | $container = $titan->createAdminPage( array( 36 | 'name' => 'test container', 37 | ) ); 38 | $this->adminPageOption = $container->createOption( array( 39 | 'id' => 'test1', 40 | 'type' => 'color', 41 | 'default' => '#123456', 42 | ) ); 43 | 44 | $container = $container->createTab( array( 45 | 'name' => 'test container', 46 | ) ); 47 | $this->adminTabOption = $container->createOption( array( 48 | 'id' => 'test2', 49 | 'type' => 'color', 50 | 'default' => '#123456', 51 | ) ); 52 | 53 | 54 | $container = $titan->createCustomizer( array( 55 | 'name' => 'test container', 56 | ) ); 57 | $this->customizerOption = $container->createOption( array( 58 | 'id' => 'test3', 59 | 'type' => 'color', 60 | 'default' => '#123456', 61 | ) ); 62 | 63 | 64 | $container = $titan->createMetaBox( array( 65 | 'name' => 'test container', 66 | ) ); 67 | $this->metaOption = $container->createOption( array( 68 | 'id' => 'test4', 69 | 'type' => 'color', 70 | 'default' => '#123456', 71 | ) ); 72 | } 73 | 74 | protected function checkValues( $option ) { 75 | $titan = TitanFramework::getInstance( 'testing' ); 76 | 77 | $id = $option->settings['id']; 78 | $this->assertEquals( '#123456', $titan->getOption( $id ) ); 79 | 80 | $option->setValue( 'rgba(0,0,0,.5)' ); 81 | $titan->saveInternalAdminPageOptions(); // Does nothing for non-admin options 82 | $this->assertEquals( 'rgba(0,0,0,.5)', $titan->getOption( $id ) ); 83 | 84 | $option->setValue( '' ); 85 | $titan->saveInternalAdminPageOptions(); // Does nothing for non-admin options 86 | $this->assertEquals( '', $titan->getOption( $id ) ); 87 | } 88 | 89 | function test_option_save_get_admin_page() { 90 | $this->checkValues( $this->adminPageOption ); 91 | } 92 | 93 | function test_option_save_get_admin_tab() { 94 | $this->checkValues( $this->adminTabOption ); 95 | } 96 | 97 | function test_option_save_get_customizer() { 98 | $this->checkValues( $this->customizerOption ); 99 | } 100 | 101 | function test_option_save_get_meta_box() { 102 | $p = $this->factory->post->create( array( 'post_title' => 'Test Post' ) ); 103 | 104 | global $post; 105 | $post = get_post( $p ); 106 | setup_postdata( $post ); 107 | 108 | $this->checkValues( $this->metaOption ); 109 | } 110 | 111 | } 112 | 113 | -------------------------------------------------------------------------------- /tests/test-option-text.php: -------------------------------------------------------------------------------- 1 | deleteAllOptions(); 28 | 29 | parent::tearDown(); 30 | } 31 | 32 | public function tf_create_options() { 33 | $titan = TitanFramework::getInstance( 'testing' ); 34 | 35 | $container = $titan->createAdminPage( array( 36 | 'name' => 'test container', 37 | ) ); 38 | $this->adminPageOption = $container->createOption( array( 39 | 'id' => 'test1', 40 | 'type' => 'text', 41 | 'default' => 'default', 42 | ) ); 43 | 44 | $container = $container->createTab( array( 45 | 'name' => 'test container', 46 | ) ); 47 | $this->adminTabOption = $container->createOption( array( 48 | 'id' => 'test2', 49 | 'type' => 'text', 50 | 'default' => 'default', 51 | ) ); 52 | 53 | 54 | $container = $titan->createCustomizer( array( 55 | 'name' => 'test container', 56 | ) ); 57 | $this->customizerOption = $container->createOption( array( 58 | 'id' => 'test3', 59 | 'type' => 'text', 60 | 'default' => 'default', 61 | ) ); 62 | 63 | 64 | $container = $titan->createMetaBox( array( 65 | 'name' => 'test container', 66 | ) ); 67 | $this->metaOption = $container->createOption( array( 68 | 'id' => 'test4', 69 | 'type' => 'text', 70 | 'default' => 'default', 71 | ) ); 72 | } 73 | 74 | protected function checkValues( $option ) { 75 | $titan = TitanFramework::getInstance( 'testing' ); 76 | 77 | $id = $option->settings['id']; 78 | $this->assertEquals( 'default', $titan->getOption( $id ) ); 79 | 80 | $option->setValue( 'modified' ); 81 | $titan->saveInternalAdminPageOptions(); // Does nothing for non-admin options 82 | $this->assertEquals( 'modified', $titan->getOption( $id ) ); 83 | 84 | $option->setValue( '' ); 85 | $titan->saveInternalAdminPageOptions(); // Does nothing for non-admin options 86 | $this->assertEquals( '', $titan->getOption( $id ) ); 87 | 88 | $option->setValue( '0' ); 89 | $titan->saveInternalAdminPageOptions(); // Does nothing for non-admin options 90 | $this->assertEquals( '0', $titan->getOption( $id ) ); 91 | } 92 | 93 | function test_option_save_get_admin_page() { 94 | $this->checkValues( $this->adminPageOption ); 95 | } 96 | 97 | function test_option_save_get_admin_tab() { 98 | $this->checkValues( $this->adminTabOption ); 99 | } 100 | 101 | function test_option_save_get_customizer() { 102 | $this->checkValues( $this->customizerOption ); 103 | } 104 | 105 | function test_option_save_get_meta_box() { 106 | $p = $this->factory->post->create( array( 'post_title' => 'Test Post' ) ); 107 | 108 | global $post; 109 | $post = get_post( $p ); 110 | setup_postdata( $post ); 111 | 112 | $this->checkValues( $this->metaOption ); 113 | } 114 | 115 | } 116 | 117 | -------------------------------------------------------------------------------- /tests/test-sample.php: -------------------------------------------------------------------------------- 1 | assertTrue( is_plugin_active( 'Titan-Framework/titan-framework.php' ) ); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /tests/test-titan-framework-checker.php: -------------------------------------------------------------------------------- 1 | hasTitanChecker = true; 19 | } 20 | } 21 | 22 | function titan_regex_pass( $regex ) { 23 | return '/hello\.php/i'; // Sure installed 24 | } 25 | 26 | function titan_regex_fail( $regex ) { 27 | return '/something-sure-not-installed/i'; // Sure not installed 28 | } 29 | 30 | function titan_class_fail( $class ) { 31 | return 'Titan_That_Does_Not_Exist'; // Sure class that does not exist 32 | } 33 | 34 | function titan_class_pass( $class ) { 35 | return 'TitanFrameworkChecker'; // Sure class that exists 36 | } 37 | 38 | function test_display_install_or_active_notice() { 39 | if ( ! class_exists( 'TitanFrameworkChecker' ) ) { 40 | return; 41 | } 42 | 43 | $o = new TitanFrameworkChecker(); 44 | 45 | if ( ! function_exists( 'tgmpa' ) ) { 46 | 47 | // Titan is not installed, show message. 48 | add_filter( 'tf_framework_checker_regex', array( $this, 'titan_regex_fail' ) ); 49 | 50 | ob_start(); 51 | $o->display_install_or_active_notice(); 52 | $result = ob_get_contents(); 53 | ob_end_clean(); 54 | $this->assertNotEmpty( $result ); 55 | 56 | remove_filter( 'tf_framework_checker_regex', array( $this, 'titan_regex_fail' ) ); 57 | 58 | // Titan is installed, but not activated, show message. 59 | add_filter( 'tf_framework_checker_regex', array( $this, 'titan_regex_pass' ) ); 60 | add_filter( 'tf_framework_checker_titan_class', array( $this, 'titan_class_fail' ) ); 61 | 62 | ob_start(); 63 | $o->display_install_or_active_notice(); 64 | $result = ob_get_contents(); 65 | ob_end_clean(); 66 | $this->assertNotEmpty( $result ); 67 | 68 | remove_filter( 'tf_framework_checker_titan_class', array( $this, 'titan_class_fail' ) ); 69 | remove_filter( 'tf_framework_checker_regex', array( $this, 'titan_regex_pass' ) ); 70 | 71 | // Titan is installed and activated, don't show message. 72 | add_filter( 'tf_framework_checker_regex', array( $this, 'titan_regex_pass' ) ); 73 | add_filter( 'tf_framework_checker_titan_class', array( $this, 'titan_class_pass' ) ); 74 | 75 | ob_start(); 76 | $o->display_install_or_active_notice(); 77 | $result = ob_get_contents(); 78 | ob_end_clean(); 79 | $this->assertEmpty( $result ); 80 | 81 | remove_filter( 'tf_framework_checker_regex', array( $this, 'titan_regex_pass' ) ); 82 | remove_filter( 'tf_framework_checker_titan_class', array( $this, 'titan_class_pass' ) ); 83 | 84 | function tgmpa() {} 85 | } 86 | 87 | if ( function_exists( 'tgmpa' ) ) { 88 | ob_start(); 89 | $o->display_install_or_active_notice(); 90 | $result = ob_get_contents(); 91 | ob_end_clean(); 92 | $this->assertEmpty( $result ); 93 | } 94 | } 95 | 96 | function test_titan_admin_plugin_exists() { 97 | if ( ! class_exists( 'TitanFrameworkChecker' ) ) { 98 | return; 99 | } 100 | 101 | $o = new TitanFrameworkChecker(); 102 | 103 | add_filter( 'tf_framework_checker_regex', array( $this, 'titan_regex_fail' ) ); 104 | 105 | $result = $o->plugin_exists(); 106 | $this->assertFalse( $result ); 107 | 108 | remove_filter( 'tf_framework_checker_regex', array( $this, 'titan_regex_fail' ) ); 109 | 110 | add_filter( 'tf_framework_checker_regex', array( $this, 'titan_regex_pass' ) ); 111 | 112 | $result = $o->plugin_exists(); 113 | $this->assertTrue( $result ); 114 | 115 | add_filter( 'tf_framework_checker_regex', array( $this, 'titan_regex_pass' ) ); 116 | } 117 | 118 | } 119 | 120 | -------------------------------------------------------------------------------- /tests/test-titan-framework.php: -------------------------------------------------------------------------------- 1 | tf_create_options_called = true; 13 | } 14 | public $tf_done_called = false; 15 | public function tf_done() { 16 | $this->tf_done_called = true; 17 | } 18 | 19 | function test_trigger_actual_option_creation() { 20 | $o = new TitanFrameworkPlugin(); 21 | 22 | $this->tf_create_options_called = false; 23 | $this->tf_done_called = false; 24 | 25 | add_action( 'tf_create_options', array( $this, 'tf_create_options' ) ); 26 | add_action( 'tf_done', array( $this, 'tf_done' ) ); 27 | 28 | $o->trigger_option_creation(); 29 | $this->assertTrue( $this->tf_create_options_called ); 30 | $this->assertTrue( $this->tf_done_called ); 31 | 32 | remove_action( 'tf_create_options', array( $this, 'tf_create_options' ) ); 33 | remove_action( 'tf_done', array( $this, 'tf_done' ) ); 34 | } 35 | 36 | function test_plugin_links() { 37 | $o = new TitanFrameworkPlugin(); 38 | 39 | $meta = $o->plugin_links( array( 'existing' ), TF_PLUGIN_BASENAME ); 40 | $this->assertContains( 'existing', $meta, 'Existing meta should not be touched.' ); 41 | $this->assertGreaterThan( 1, count( $meta ), 'New meta links should be added' ); 42 | 43 | $meta = $o->plugin_links( array( 'existing' ), 'another-plugin/plugin.php' ); 44 | $this->assertContains( 'existing', $meta, 'Non TF meta should not be touched.' ); 45 | $this->assertCount( 1, $meta, 'Non TF meta should not be touched.' ); 46 | } 47 | 48 | function test_force_load_first() { 49 | $o = new TitanFrameworkPlugin(); 50 | 51 | $plugins = $o->force_load_first( array( '1', '2' ) ); 52 | $this->assertEquals( array( '1', '2' ), $plugins ); 53 | 54 | $plugins = $o->force_load_first( array( '1', '2', TF_PLUGIN_BASENAME ) ); 55 | $this->assertCount( 3, $plugins ); 56 | $this->assertEquals( TF_PLUGIN_BASENAME, $plugins[0] ); 57 | 58 | $plugins = $o->force_load_first( array( TF_PLUGIN_BASENAME, '1', '2' ) ); 59 | $this->assertCount( 3, $plugins ); 60 | $this->assertEquals( TF_PLUGIN_BASENAME, $plugins[0] ); 61 | } 62 | } 63 | 64 | -------------------------------------------------------------------------------- /titan-framework-embedder.php: -------------------------------------------------------------------------------- 1 |