Crayon Syntax Highlighter - Version 2.2.1

Version Description

  • ADDED:
    • Mirc Dark theme
    • Feeldesign theme
    • IntelliJ theme
    • Arabic translation
  • FIXED:
    • All language css classes are prefixed with "crayon-" to prevent conflicts
    • Terminal theme fix
    • Improved language readme
    • Lines containing a single zero appeared blank when highlighting was disabled
    • AppleScript regex (thanks to darricktheprogrammer)
Download this release

Release Info

Developer akarmenia
Plugin Icon wp plugin Crayon Syntax Highlighter
Version 2.2.1
Comparing to
See all releases

Code changes from version 2.1.3 to 2.2.1

Files changed (78) hide show
  1. crayon_formatter.class.php +4 -4
  2. crayon_highlighter.class.php +2 -2
  3. crayon_settings.class.php +827 -754
  4. crayon_settings_wp.class.php +32 -11
  5. crayon_wp.class.php +49 -29
  6. css/images/toolbar/arrow_down.png +0 -0
  7. css/images/toolbar/arrow_down@2x.png +0 -0
  8. css/images/toolbar/buttons.png +0 -0
  9. css/images/toolbar/buttons@2x.png +0 -0
  10. css/images/toolbar/copy.png +0 -0
  11. css/images/toolbar/copy@2x.png +0 -0
  12. css/images/toolbar/expand.png +0 -0
  13. css/images/toolbar/expand@2x.png +0 -0
  14. css/images/toolbar/nums.png +0 -0
  15. css/images/toolbar/nums@2x.png +0 -0
  16. css/images/toolbar/plain.png +0 -0
  17. css/images/toolbar/plain@2x.png +0 -0
  18. css/images/toolbar/plus.png +0 -0
  19. css/images/toolbar/plus@2x.png +0 -0
  20. css/images/toolbar/popup.png +0 -0
  21. css/images/toolbar/popup@2x.png +0 -0
  22. css/images/toolbar/wrap.png +0 -0
  23. css/images/toolbar/wrap@2x.png +0 -0
  24. css/min/crayon.min.css +1 -0
  25. css/minify.sh +16 -0
  26. css/{admin_style.css → src/admin_style.css} +6 -6
  27. css/{crayon_style.css → src/crayon_style.css} +98 -37
  28. css/{global_style.css → src/global_style.css} +1 -1
  29. global.php +22 -9
  30. js/min/crayon.min.js +1 -0
  31. js/min/crayon.te.min.js +15 -0
  32. js/minify.sh +9 -0
  33. js/{crayon.js → src/crayon.js} +2 -2
  34. js/{crayon_admin.js → src/crayon_admin.js} +0 -0
  35. js/{cssjson.js → src/cssjson.js} +0 -0
  36. js/{jquery.popup.js → src/jquery.popup.js} +0 -0
  37. js/{util.js → src/util.js} +0 -0
  38. langs/aliases.txt +0 -3
  39. langs/applescript/applescript.txt +1 -1
  40. langs/asp/asp.txt +22 -0
  41. langs/asp/reserved.txt +70 -0
  42. langs/asp/statement.txt +25 -0
  43. langs/asp/type.txt +48 -0
  44. langs/delimiters.txt +0 -4
  45. langs/readme.md +106 -0
  46. langs/readme.txt +0 -96
  47. readme.txt +38 -0
  48. themes/ado/ado.css +18 -18
  49. themes/arduino-ide/arduino-ide.css +18 -18
  50. themes/classic/classic.css +18 -18
  51. themes/eclipse/eclipse.css +178 -0
  52. themes/epicgeeks/epicgeeks.css +17 -17
  53. themes/familiar/familiar.css +18 -18
  54. themes/feeldesign/feeldesign.css +168 -0
  55. themes/github/github.css +18 -18
  56. themes/idle/idle.css +18 -18
  57. themes/inlellij-idea/inlellij-idea.css +191 -0
  58. themes/mirc-dark/mirc-dark.css +171 -0
  59. themes/neon/neon.css +17 -17
  60. themes/secrets-of-rock/secrets-of-rock.css +171 -0
  61. themes/solarized-dark/solarized-dark.css +18 -18
  62. themes/solarized-light/solarized-light.css +18 -18
  63. themes/son-of-obsidian/son-of-obsidian.css +18 -18
  64. themes/ssms2012/ssms2012.css +18 -18
  65. themes/terminal/terminal.css +21 -20
  66. themes/tomorrow-night/tomorrow-night.css +18 -18
  67. themes/tomorrow/tomorrow.css +18 -18
  68. themes/twilight/twilight.css +18 -18
  69. themes/vs2012-black/vs2012-black.css +18 -18
  70. themes/vs2012/vs2012.css +18 -18
  71. trans/crayon-syntax-highlighter-ar_AR.mo +0 -0
  72. trans/crayon-syntax-highlighter-ar_AR.po +1269 -0
  73. trans/crayon-syntax-highlighter-tr_TR.mo +0 -0
  74. trans/crayon-syntax-highlighter-tr_TR.po +297 -265
  75. util/minify.sh +17 -0
  76. util/sample/asp.txt +7 -0
  77. util/tag-editor/crayon_tag_editor_wp.class.php +14 -6
  78. util/theme-editor/theme_editor.php +14 -4
crayon_formatter.class.php CHANGED
@@ -26,7 +26,7 @@ class CrayonFormatter {
26
  /* Formats the code using the parsed language elements. */
27
  public static function format_code($code, $language, $hl = NULL) {
28
  // Ensure the language is defined
29
- if ($language != NULL && $hl->is_highlighted) {
30
  $code = self::clean_code($code, FALSE, FALSE, FALSE, TRUE);
31
  /* Perform the replace on the code using the regex, pass the captured matches for
32
  formatting before they are replaced */
@@ -44,7 +44,6 @@ class CrayonFormatter {
44
  $error = 'An error occured when formatting: ' . $e->message();
45
  $hl ? $hl->log($error) : CrayonLog::syslog($error);
46
  }
47
-
48
  return $code;
49
  } else {
50
  return self::clean_code($code, TRUE, TRUE, TRUE, TRUE);
@@ -169,7 +168,7 @@ class CrayonFormatter {
169
  $code_line = $code_lines[0][$i - 1];
170
 
171
  // If line is blank, add a space so the div has the correct height
172
- if (empty($code_line)) {
173
  $code_line = ' ';
174
  }
175
 
@@ -316,7 +315,7 @@ class CrayonFormatter {
316
  foreach ($value as $k=>$v) {
317
  $buttons_str .= ' ' . $k . '="' . $v . '"';
318
  }
319
- $buttons_str .= '></div>';
320
  }
321
 
322
  // $print_plain_button = $hl->setting_val(CrayonSettings::PLAIN) && $hl->setting_val(CrayonSettings::PLAIN_TOGGLE) ? '<div class="crayon-plain-button crayon-button" title="'.crayon__('Toggle Plain Code').'"></div>' : '';
@@ -594,6 +593,7 @@ class CrayonFormatter {
594
 
595
  public static function split_lines($code, $class) {
596
  $code = self::clean_code($code, TRUE, TRUE, TRUE, FALSE);
 
597
  $code = preg_replace('#^([^\r\n]+)(?=\r\n|\r|\n|$)#m', '<span class="'.$class.'">$1</span>', $code);
598
  return $code;
599
  }
26
  /* Formats the code using the parsed language elements. */
27
  public static function format_code($code, $language, $hl = NULL) {
28
  // Ensure the language is defined
29
+ if ($language != NULL && $hl->is_highlighted()) {
30
  $code = self::clean_code($code, FALSE, FALSE, FALSE, TRUE);
31
  /* Perform the replace on the code using the regex, pass the captured matches for
32
  formatting before they are replaced */
44
  $error = 'An error occured when formatting: ' . $e->message();
45
  $hl ? $hl->log($error) : CrayonLog::syslog($error);
46
  }
 
47
  return $code;
48
  } else {
49
  return self::clean_code($code, TRUE, TRUE, TRUE, TRUE);
168
  $code_line = $code_lines[0][$i - 1];
169
 
170
  // If line is blank, add a space so the div has the correct height
171
+ if ($code_line == '') {
172
  $code_line = '&nbsp;';
173
  }
174
 
315
  foreach ($value as $k=>$v) {
316
  $buttons_str .= ' ' . $k . '="' . $v . '"';
317
  }
318
+ $buttons_str .= '><div class="crayon-button-icon"></div></div>';
319
  }
320
 
321
  // $print_plain_button = $hl->setting_val(CrayonSettings::PLAIN) && $hl->setting_val(CrayonSettings::PLAIN_TOGGLE) ? '<div class="crayon-plain-button crayon-button" title="'.crayon__('Toggle Plain Code').'"></div>' : '';
593
 
594
  public static function split_lines($code, $class) {
595
  $code = self::clean_code($code, TRUE, TRUE, TRUE, FALSE);
596
+ $class = preg_replace('#(\w+)#m', 'crayon-$1', $class);
597
  $code = preg_replace('#^([^\r\n]+)(?=\r\n|\r|\n|$)#m', '<span class="'.$class.'">$1</span>', $code);
598
  return $code;
599
  }
crayon_highlighter.class.php CHANGED
@@ -28,7 +28,7 @@ class CrayonHighlighter {
28
  private $is_mixed = FALSE;
29
  // Inline code on a single floating line
30
  private $is_inline = FALSE;
31
- public $is_highlighted = TRUE;
32
 
33
  // Objects
34
  // Stores the CrayonLang being used
@@ -184,7 +184,7 @@ class CrayonHighlighter {
184
  $this->formatted_code = CrayonFormatter::format_code($code, $this->language, $this);
185
  } else {
186
  // Format the code with Mixed Highlighting
187
- $this->formatted_code = CrayonFormatter::format_mixed_code($code, $this->language, $this);
188
  }
189
  } catch (Exception $e) {
190
  $this->error($e->message());
28
  private $is_mixed = FALSE;
29
  // Inline code on a single floating line
30
  private $is_inline = FALSE;
31
+ private $is_highlighted = TRUE;
32
 
33
  // Objects
34
  // Stores the CrayonLang being used
184
  $this->formatted_code = CrayonFormatter::format_code($code, $this->language, $this);
185
  } else {
186
  // Format the code with Mixed Highlighting
187
+ $this->formatted_code = CrayonFormatter::format_mixed_code($code, $this->language, $this);
188
  }
189
  } catch (Exception $e) {
190
  $this->error($e->message());
crayon_settings.class.php CHANGED
@@ -8,529 +8,533 @@ require_once (CRAYON_THEMES_PHP);
8
  * Each Crayon instance stores an instance of this class containing its specific settings.
9
  */
10
  class CrayonSettings {
11
- // Properties and Constants ===============================================
12
- const INVALID = -1; // Used for invalid dropdown index
13
- // Plugin data
14
- const VERSION = 'version';
15
-
16
- // Added when used in HTML to avoid id conflicts
17
- const PREFIX = 'crayon-';
18
- const SETTING = 'crayon-setting';
19
- const SETTING_SELECTED = 'crayon-setting-selected';
20
- const SETTING_CHANGED = 'crayon-setting-changed';
21
- const SETTING_SPECIAL = 'crayon-setting-special';
22
- const SETTING_ORIG_VALUE = 'data-orig-value';
23
-
24
- // Global names for settings
25
- const THEME = 'theme';
26
- const FONT = 'font';
27
- const FONT_SIZE_ENABLE = 'font-size-enable';
28
- const FONT_SIZE = 'font-size';
29
  const LINE_HEIGHT = 'line-height';
30
- const PREVIEW = 'preview';
31
- const HEIGHT_SET = 'height-set';
32
- const HEIGHT_MODE = 'height-mode';
33
- const HEIGHT = 'height';
34
- const HEIGHT_UNIT = 'height-unit';
35
- const WIDTH_SET = 'width-set';
36
- const WIDTH_MODE = 'width-mode';
37
- const WIDTH = 'width';
38
- const WIDTH_UNIT = 'width-unit';
39
- const TOP_SET = 'top-set';
40
- const TOP_MARGIN = 'top-margin';
41
- const LEFT_SET = 'left-set';
42
- const LEFT_MARGIN = 'left-margin';
43
- const BOTTOM_SET = 'bottom-set';
44
- const BOTTOM_MARGIN = 'bottom-margin';
45
- const RIGHT_SET = 'right-set';
46
- const RIGHT_MARGIN = 'right-margin';
47
- const H_ALIGN = 'h-align';
48
- const FLOAT_ENABLE = 'float-enable';
49
- const TOOLBAR = 'toolbar';
50
- const TOOLBAR_OVERLAY = 'toolbar-overlay';
51
- const TOOLBAR_HIDE = 'toolbar-hide';
52
- const TOOLBAR_DELAY = 'toolbar-delay';
53
- const COPY = 'copy';
54
- const POPUP = 'popup';
55
- const SHOW_LANG = 'show-lang';
56
- const SHOW_TITLE = 'show-title';
57
- const STRIPED = 'striped';
58
- const MARKING = 'marking';
59
- const START_LINE = 'start-line';
60
- const NUMS = 'nums';
61
- const NUMS_TOGGLE = 'nums-toggle';
62
- const TRIM_WHITESPACE = 'trim-whitespace';
63
- const WHITESPACE_BEFORE = 'whitespace-before';
64
- const WHITESPACE_AFTER = 'whitespace-after';
65
- const TAB_SIZE = 'tab-size';
66
- const FALLBACK_LANG = 'fallback-lang';
67
- const LOCAL_PATH = 'local-path';
68
- const SCROLL = 'scroll';
69
- const PLAIN = 'plain';
70
- const PLAIN_TOGGLE = 'plain-toggle';
71
- const SHOW_PLAIN = 'show-plain';
72
- const DISABLE_RUNTIME = 'runtime';
73
- const TOUCHSCREEN = 'touchscreen';
74
- const DISABLE_ANIM = 'disable-anim';
75
- const ERROR_LOG = 'error-log';
76
- const ERROR_LOG_SYS = 'error-log-sys';
77
- const ERROR_MSG_SHOW = 'error-msg-show';
78
- const ERROR_MSG = 'error-msg';
79
- const HIDE_HELP = 'hide-help';
80
- const CACHE = 'cache';
81
- const EFFICIENT_ENQUEUE = 'efficient-enqueue';
82
- const CAPTURE_PRE = 'capture-pre';
83
- const CAPTURE_MINI_TAG= 'capture-mini-tag';
84
- const MIXED = 'mixed';
85
- const SHOW_MIXED = 'show_mixed';
86
- const PLAIN_TAG = 'plain_tag';
87
- const SHOW_PLAIN_DEFAULT = 'show-plain-default';
88
- const ENQUEUE_THEMES = 'enqueque-themes';
89
- const ENQUEUE_FONTS = 'enqueque-fonts';
90
- const MAIN_QUERY = 'main-query';
91
- const SAFE_ENQUEUE = 'safe-enqueue';
92
- const INLINE_TAG = 'inline-tag';
93
  const INLINE_TAG_CAPTURE = 'inline-tag-capture';
94
- const INLINE_CODE_TAG_CAPTURE = 'inline-code-tag-capture';
95
- const INLINE_MARGIN = 'inline-margin';
96
- const INLINE_WRAP = 'inline-wrap';
97
- const BACKQUOTE = 'backquote';
98
- const COMMENTS = 'comments';
99
- const DECODE = 'decode';
100
- const DECODE_ATTRIBUTES = 'decode-attributes';
 
101
  // const TINYMCE_USED = 'tinymce-used';
102
- const ATTR_SEP = 'attr-sep';
103
- const EXCERPT_STRIP = 'excerpt-strip';
104
- const RANGES = 'ranges';
105
- const TAG_EDITOR_FRONT = 'tag-editor-front';
106
- const TAG_EDITOR_SETTINGS = 'tag-editor-front-hide';
107
- const WRAP_TOGGLE = 'wrap-toggle';
108
- const WRAP = 'wrap';
109
- const EXPAND = 'expand';
110
- const EXPAND_TOGGLE = 'expand-toggle';
111
  const MINIMIZE = 'minimize';
112
-
113
- private static $cache_array;
114
-
115
- public static function get_cache_sec($cache) {
116
- $values = array_values(self::$cache_array);
117
- if (array_key_exists($cache, $values)) {
118
- return $values[$cache];
119
- } else {
120
- return $values[0];
121
- }
122
- }
123
-
124
- // The current settings, should be loaded with default if none exists
125
- private $settings = array();
126
-
127
- // The settings with default values
128
- private static $default = NULL;
129
-
130
- function __construct() {
131
- $this->init();
132
- }
133
-
134
- function copy() {
135
- $settings = new CrayonSettings();
136
- foreach ($this->settings as $setting) {
137
- $settings->set($setting); // Overuse of set?
138
- }
139
- return $settings;
140
- }
141
-
142
- // Methods ================================================================
143
-
144
- private function init() {
145
- global $CRAYON_VERSION;
146
-
147
- crayon_load_plugin_textdomain();
148
-
149
- self::$cache_array = array(crayon__('Hourly') => 3600, crayon__('Daily') => 86400,
150
- crayon__('Weekly') => 604800, crayon__('Monthly') => 18144000,
151
- crayon__('Immediately') => 1);
152
-
153
- $settings = array(
154
- new CrayonSetting(self::VERSION, $CRAYON_VERSION, NULL, TRUE),
155
- new CrayonSetting(self::THEME, CrayonThemes::DEFAULT_THEME),
156
- new CrayonSetting(self::FONT, CrayonFonts::DEFAULT_FONT),
157
- new CrayonSetting(self::FONT_SIZE_ENABLE, TRUE),
158
- new CrayonSetting(self::FONT_SIZE, 12),
159
  new CrayonSetting(self::LINE_HEIGHT, 15),
160
- new CrayonSetting(self::PREVIEW, TRUE),
161
- new CrayonSetting(self::HEIGHT_SET, FALSE),
162
- new CrayonSetting(self::HEIGHT_MODE, array(crayon__('Max'), crayon__('Min'), crayon__('Static'))),
163
- new CrayonSetting(self::HEIGHT, '500'),
164
- new CrayonSetting(self::HEIGHT_UNIT, array(crayon__('Pixels'), crayon__('Percent'))),
165
- new CrayonSetting(self::WIDTH_SET, FALSE),
166
- new CrayonSetting(self::WIDTH_MODE, array(crayon__('Max'), crayon__('Min'), crayon__('Static'))),
167
- new CrayonSetting(self::WIDTH, '500'),
168
- new CrayonSetting(self::WIDTH_UNIT, array(crayon__('Pixels'), crayon__('Percent'))),
169
- new CrayonSetting(self::TOP_SET, TRUE),
170
- new CrayonSetting(self::TOP_MARGIN, 12),
171
- new CrayonSetting(self::BOTTOM_SET, TRUE),
172
- new CrayonSetting(self::BOTTOM_MARGIN, 12),
173
- new CrayonSetting(self::LEFT_SET, FALSE),
174
- new CrayonSetting(self::LEFT_MARGIN, 12),
175
- new CrayonSetting(self::RIGHT_SET, FALSE),
176
- new CrayonSetting(self::RIGHT_MARGIN, 12),
177
- new CrayonSetting(self::H_ALIGN, array(crayon__('None'), crayon__('Left'), crayon__('Center'), crayon__('Right'))),
178
- new CrayonSetting(self::FLOAT_ENABLE, FALSE),
179
- new CrayonSetting(self::TOOLBAR, array(crayon__('On MouseOver'), crayon__('Always'), crayon__('Never'))),
180
- new CrayonSetting(self::TOOLBAR_OVERLAY, TRUE),
181
- new CrayonSetting(self::TOOLBAR_HIDE, TRUE),
182
- new CrayonSetting(self::TOOLBAR_DELAY, TRUE),
183
- new CrayonSetting(self::COPY, TRUE),
184
- new CrayonSetting(self::POPUP, TRUE),
185
- new CrayonSetting(self::SHOW_LANG, array(crayon__('When Found'), crayon__('Always'), crayon__('Never'))),
186
- new CrayonSetting(self::SHOW_TITLE, TRUE),
187
- new CrayonSetting(self::STRIPED, TRUE),
188
- new CrayonSetting(self::MARKING, TRUE),
189
- new CrayonSetting(self::START_LINE, 1),
190
- new CrayonSetting(self::NUMS, TRUE),
191
- new CrayonSetting(self::NUMS_TOGGLE, TRUE),
192
- new CrayonSetting(self::TRIM_WHITESPACE, TRUE),
193
- new CrayonSetting(self::WHITESPACE_BEFORE, 0),
194
- new CrayonSetting(self::WHITESPACE_AFTER, 0),
195
- new CrayonSetting(self::TAB_SIZE, 4),
196
- new CrayonSetting(self::FALLBACK_LANG, CrayonLangs::DEFAULT_LANG),
197
- new CrayonSetting(self::LOCAL_PATH, ''),
198
- new CrayonSetting(self::SCROLL, FALSE),
199
- new CrayonSetting(self::PLAIN, TRUE),
200
- new CrayonSetting(self::PLAIN_TOGGLE, TRUE),
201
- new CrayonSetting(self::SHOW_PLAIN_DEFAULT, FALSE),
202
- new CrayonSetting(self::SHOW_PLAIN,
203
- array(crayon__('On Double Click'), crayon__('On Single Click'), crayon__('On MouseOver'), crayon__('Disable Mouse Events'))),
204
- new CrayonSetting(self::DISABLE_ANIM, FALSE),
205
- new CrayonSetting(self::TOUCHSCREEN, TRUE),
206
- new CrayonSetting(self::DISABLE_RUNTIME, FALSE),
207
- new CrayonSetting(self::ERROR_LOG, TRUE),
208
- new CrayonSetting(self::ERROR_LOG_SYS, TRUE),
209
- new CrayonSetting(self::ERROR_MSG_SHOW, TRUE),
210
- new CrayonSetting(self::ERROR_MSG, crayon__('An error has occurred. Please try again later.')),
211
- new CrayonSetting(self::HIDE_HELP, FALSE),
212
- new CrayonSetting(self::CACHE, array_keys(self::$cache_array), 1),
213
- new CrayonSetting(self::EFFICIENT_ENQUEUE, FALSE),
214
- new CrayonSetting(self::CAPTURE_PRE, TRUE),
215
- new CrayonSetting(self::CAPTURE_MINI_TAG, FALSE),
216
- new CrayonSetting(self::MIXED, TRUE),
217
- new CrayonSetting(self::SHOW_MIXED, TRUE),
218
- new CrayonSetting(self::PLAIN_TAG, FALSE),
219
- new CrayonSetting(self::ENQUEUE_THEMES, TRUE),
220
- new CrayonSetting(self::ENQUEUE_FONTS, TRUE),
221
- new CrayonSetting(self::MAIN_QUERY, FALSE),
222
- new CrayonSetting(self::SAFE_ENQUEUE, TRUE),
223
- new CrayonSetting(self::INLINE_TAG, TRUE),
224
  new CrayonSetting(self::INLINE_TAG_CAPTURE, FALSE),
225
- new CrayonSetting(self::INLINE_CODE_TAG_CAPTURE, FALSE),
226
- new CrayonSetting(self::INLINE_MARGIN, 5),
227
- new CrayonSetting(self::INLINE_WRAP, TRUE),
228
- new CrayonSetting(self::BACKQUOTE, TRUE),
229
- new CrayonSetting(self::COMMENTS, TRUE),
230
- new CrayonSetting(self::DECODE, FALSE),
231
- new CrayonSetting(self::DECODE_ATTRIBUTES, TRUE),
 
232
  // new CrayonSetting(self::TINYMCE_USED, FALSE),
233
- new CrayonSetting(self::ATTR_SEP, array(':', '_')),
234
- new CrayonSetting(self::EXCERPT_STRIP, FALSE),
235
- new CrayonSetting(self::RANGES, TRUE),
236
- new CrayonSetting(self::TAG_EDITOR_FRONT, FALSE),
237
- new CrayonSetting(self::TAG_EDITOR_SETTINGS, TRUE),
238
- new CrayonSetting(self::WRAP_TOGGLE, TRUE),
239
- new CrayonSetting(self::WRAP, FALSE),
240
- new CrayonSetting(self::EXPAND, FALSE),
241
- new CrayonSetting(self::EXPAND_TOGGLE, TRUE),
242
  new CrayonSetting(self::MINIMIZE, FALSE)
243
- );
244
-
245
- $this->set($settings);
246
- }
247
-
248
- // Getter and Setter ======================================================
249
-
250
- // TODO this needs simplification
251
- function set($name, $value = NULL, $replace = FALSE) {
252
- // Set associative array of settings
253
- if (is_array($name)) {
254
- $keys = array_keys($name);
255
- foreach ($keys as $key) {
256
- if ( is_string($key) ) {
257
- // Associative value
258
- $this->set($key, $name[$key], $replace);
259
- } else if ( is_int($key) ) {
260
- $setting = $name[$key];
261
- $this->set($setting, NULL, $replace);
262
- }
263
- }
264
- } else if (is_string($name) && !empty($name) && $value !== NULL) {
265
- $value = CrayonSettings::validate($name, $value);
266
- if ($replace || !$this->is_setting($name)) {
267
- // Replace/Create
268
- $this->settings[$name] = new CrayonSetting($name, $value);
269
- } else {
270
- // Update
271
- $this->settings[$name]->value($value);
272
- }
273
- } else if ( is_object($name) && get_class($name) == CRAYON_SETTING_CLASS ) {
274
- $setting = $name; // Semantics
275
- if ( $replace || !$this->is_setting($setting->name()) ) {
276
- // Replace/Create
277
- $this->settings[$setting->name()] = $setting->copy();
278
- } else {
279
- // Update
280
- if ( $setting->is_array() ) {
281
- $this->settings[$setting->name()]->index($setting->index());
282
- } else {
283
- $this->settings[$setting->name()]->value($setting->value());
284
- }
285
- }
286
- }
287
- }
288
-
289
- function get($name = NULL) {
290
- if ($name === NULL) {
291
- $copy = array();
292
- foreach ($this->settings as $name=>$setting) {
293
- $copy[$name] = $setting->copy(); // Deep copy
294
- }
295
- return $copy;
296
- } else if (is_string($name)) {
297
- if ($this->is_setting($name)) {
298
- return $this->settings[$name];
299
- }
300
- }
301
- return FALSE;
302
- }
303
-
304
- function val($name = NULL) {
305
- if (($setting = self::get($name)) != FALSE) {
306
- return $setting->value();
307
- } else {
308
- return NULL;
309
- }
310
- }
311
-
312
- function val_str($name) {
313
- if (($setting = self::get($name)) != FALSE) {
314
- $def = $setting->def();
315
- $index = $setting->value();
316
- if (array_key_exists($index, $def)) {
317
- return $def[$index];
318
- } else {
319
- return NULL;
320
- }
321
- }
322
- }
323
-
324
- function get_array() {
325
- $array = array();
326
- foreach ($this->settings as $setting) {
327
- $array[$setting->name()] = $setting->value();
328
- }
329
- return $array;
330
- }
331
-
332
- function is_setting($name) {
333
- return ( is_string($name) && array_key_exists($name, $this->settings) );
334
- }
335
-
336
- /* Gets default settings, either as associative array of name=>value or CrayonSetting
337
- objects */
338
- public static function get_defaults($name = NULL, $objects = TRUE) {
339
- if (self::$default === NULL) {
340
- self::$default = new CrayonSettings();
341
- }
342
- if ($name === NULL) {
343
- // Get all settings
344
- if ($objects) {
345
- // Return array of objects
346
- return self::$default->get();
347
- } else {
348
- // Return associative array of name=>value
349
- $settings = self::$default->get();
350
- $defaults = array();
351
- foreach ($settings as $setting) {
352
- $defaults[$setting->name()] = $setting->value();
353
- }
354
- return $defaults;
355
- }
356
- } else {
357
- // Return specific setting
358
- if ($objects) {
359
- return self::$default->get($name);
360
- } else {
361
- return self::$default->get($name)->value();
362
- }
363
- }
364
- }
365
-
366
- public static function get_defaults_array() {
367
- return self::get_defaults(NULL, FALSE);
368
- }
369
-
370
- // Validation =============================================================
371
-
372
- /**
373
- * Validates settings coming from an HTML form and also for internal use.
374
- * This is used when saving form an HTML form to the db, and also when reading from the db
375
- * back into the global settings.
376
- * @param string $name
377
- * @param mixed $value
378
- */
379
- public static function validate($name, $value) {
380
- if (!is_string($name)) {
381
- return '';
382
- }
383
-
384
- // Type-cast to correct value for known settings
385
- if (($setting = CrayonGlobalSettings::get($name)) != FALSE) {
386
- // Booleans settings that are sent as string are allowed to have "false" == false
387
- if (is_string($value) && is_bool($setting->def())) {
388
- $value = CrayonUtil::str_to_bool($value);
389
- }
390
- // Ensure we don't cast integer settings to 0 because $value doesn't have any numbers in it
391
- if (is_string($value) && is_int($setting->def())) {
392
- // Only occurs when saving from the form ($_POST values are strings)
393
- if ($value == '' || ($cleaned = CrayonUtil::clean_int($value, FALSE)) == '') {
394
- // The value sent has no integers, change to default
395
- $value = $setting->def();
396
- } else {
397
- // Cleaned value is int
398
- $value = $cleaned;
399
- }
400
- $value = intval($value);
401
- // Cast all other settings as usual
402
- } else if (!settype($value, $setting->type())) {
403
- // If we can't cast, then use default value
404
- if ($setting->is_array()) {
405
- $value = 0; // default index
406
- } else {
407
- $value = $setting->def();
408
- }
409
- }
410
- } else {
411
- // If setting not found, remove value
412
- return '';
413
- }
414
- // Validations
415
- $pos_names = array(CrayonSettings::TAB_SIZE, CrayonSettings::HEIGHT, CrayonSettings::WIDTH, CrayonSettings::WHITESPACE_AFTER, CrayonSettings::WHITESPACE_BEFORE);
416
- if ( in_array($name, $pos_names) && $value < 0 ) {
417
- $value = abs($value);
418
- }
419
-
420
- switch ($name) {
421
- case CrayonSettings::LOCAL_PATH:
422
- $path = parse_url($value, PHP_URL_PATH);
423
- // Remove all spaces, prefixed and trailing forward slashes
424
- $path = preg_replace('#^/*|/*$|\s*#', '', $path);
425
- // Replace backslashes
426
- $path = preg_replace('#\\\\#', '/', $path);
427
- // Append trailing forward slash
428
- if (!empty($path)) {
429
- $path .= '/';
430
- }
431
- return $path;
432
- case CrayonSettings::FONT_SIZE:
433
- if ($value < 1) {
434
- $value = 1;
435
- }
436
- break;
 
 
 
437
  case CrayonSettings::LINE_HEIGHT:
438
  $font_size = CrayonGlobalSettings::val(CrayonSettings::FONT_SIZE);
439
  $value = $value >= $font_size ? $value : $font_size;
440
  break;
441
- case CrayonSettings::THEME:
442
- $value = strtolower($value);
443
- // XXX validate settings here
444
- }
445
-
446
- // If no validation occurs, return value
447
- return $value;
448
- }
449
-
450
- // Takes an associative array of "smart settings" and regular settings. Smart settings can be used
451
- // to configure regular settings quickly.
452
- // E.g. 'max_height="20px"' will set 'height="20"', 'height_mode="0", height_unit="0"'
453
- public static function smart_settings($settings) {
454
- if (!is_array($settings)) {
455
- return FALSE;
456
- }
457
-
458
- // If a setting is given, it is automatically enabled
459
- foreach ($settings as $name=>$value) {
460
- if ( ($setting = CrayonGlobalSettings::get($name)) !== FALSE && is_bool($setting->def()) ) {
461
- $value = CrayonUtil::str_to_bool($value);
462
- }
463
-
464
- // XXX removed height and width, since it wasn't using the global settings for mode if only height was provided
465
- if ($name == 'min-height' || $name == 'max-height'/* || $name == 'height'*/) {
466
- self::smart_hw($name, CrayonSettings::HEIGHT_SET, CrayonSettings::HEIGHT_MODE, CrayonSettings::HEIGHT_UNIT, $settings);
467
- } else if ($name == 'min-width' || $name == 'max-width'/* || $name == 'width'*/) {
468
- self::smart_hw($name, CrayonSettings::WIDTH_SET, CrayonSettings::WIDTH_MODE, CrayonSettings::WIDTH_UNIT, $settings);
469
- } else if ($name == CrayonSettings::FONT_SIZE) {
470
- $settings[CrayonSettings::FONT_SIZE_ENABLE] = TRUE;
471
- } else if ($name == CrayonSettings::TOP_MARGIN) {
472
- $settings[CrayonSettings::TOP_SET] = TRUE;
473
- } else if ($name == CrayonSettings::LEFT_MARGIN) {
474
- $settings[CrayonSettings::LEFT_SET] = TRUE;
475
- } else if ($name == CrayonSettings::BOTTOM_MARGIN) {
476
- $settings[CrayonSettings::BOTTOM_SET] = TRUE;
477
- } else if ($name == CrayonSettings::RIGHT_MARGIN) {
478
- $settings[CrayonSettings::RIGHT_SET] = TRUE;
479
- } else if ($name == CrayonSettings::ERROR_MSG) {
480
- $settings[CrayonSettings::ERROR_MSG_SHOW] = TRUE;
481
- } else if ($name == CrayonSettings::H_ALIGN) {
482
- $settings[CrayonSettings::FLOAT_ENABLE] = TRUE;
483
- $value = CrayonUtil::tlower($value);
484
- $values = array('none'=>0, 'left'=>1, 'center'=>2, 'right'=>3);
485
- if (array_key_exists($value, $values)) {
486
- $settings[CrayonSettings::H_ALIGN] = $values[$value];
487
- }
488
- } else if ($name == CrayonSettings::SHOW_LANG) {
489
- $value = CrayonUtil::tlower($value);
490
- $values = array('found'=>0, 'always'=>1, 'true'=>1, 'never'=>2, 'false'=>2);
491
- if (array_key_exists($value, $values)) {
492
- $settings[CrayonSettings::SHOW_LANG] = $values[$value];
493
- }
494
- } else if ($name == CrayonSettings::TOOLBAR) {
495
- if ( CrayonUtil::tlower($value) == 'always' ) {
496
- $settings[CrayonSettings::TOOLBAR] = 1;
497
- }
498
- else if (CrayonUtil::str_to_bool($value) === FALSE) {
499
- $settings[CrayonSettings::TOOLBAR] = 2;
500
- }
501
- }
502
- }
503
-
504
- return $settings;
505
- }
506
-
507
- // Used for height and width smart settings, I couldn't bear to copy paste code twice...
508
- private static function smart_hw($name, $set, $mode, $unit, &$settings) {
509
- if (!is_string($name) || !is_string($set) || !is_string($mode) || !is_string($unit) || !is_array($settings)) {
510
- return;
511
- }
512
- $settings[$set] = TRUE;
513
- if ( strpos($name, 'max-') !== FALSE ) {
514
- $settings[$mode] = 0;
515
- } else if ( strpos($name, 'min-') !== FALSE ) {
516
- $settings[$mode] = 1;
517
- } else {
518
- $settings[$mode] = 2;
519
- }
520
- preg_match('#(\d+)\s*([^\s]*)#', $settings[$name], $match);
521
- if ( count($match) == 3 ) {
522
- $name = str_replace(array('max-', 'min-'), '', $name);
523
- $settings[$name] = $match[1];
524
- switch (strtolower($match[2])) {
525
- case 'px':
526
- $settings[$unit] = 0;
527
- break;
528
- case '%':
529
- $settings[$unit] = 1;
530
- break;
531
- }
532
- }
533
- }
534
  }
535
 
536
  /**
@@ -539,84 +543,86 @@ class CrayonSettings {
539
  * Also manages global site settings and paths.
540
  */
541
  class CrayonGlobalSettings {
542
- // The global settings stored as a CrayonSettings object.
543
- private static $global = NULL;
544
- /* These are used to load local files reliably and prevent scripts like PHP from executing
545
- when attempting to load their code. */
546
- // The URL of the site (eg. http://localhost/example/)
547
- private static $site_http = '';
548
- // The absolute root directory of the site (eg. /User/example/)
549
- private static $site_path = '';
550
- // The absolute root directory of the plugins (eg. /User/example/plugins)
551
- private static $plugin_path = '';
552
  private static $upload_path = '';
553
  private static $upload_url = '';
554
  private static $mkdir = NULL;
555
- private function __construct() {}
556
-
557
- private static function init() {
558
- if (self::$global === NULL) {
559
- self::$global = new CrayonSettings();
560
- }
561
- }
562
-
563
- public static function get($name = NULL) {
564
- self::init();
565
- return self::$global->get($name);
566
- }
567
-
568
- public static function get_array() {
569
- self::init();
570
- return self::$global->get_array();
571
- }
572
-
573
- public static function get_obj() {
574
- self::init();
575
- return self::$global->copy();
576
- }
577
-
578
- public static function val($name = NULL) {
579
- self::init();
580
- return self::$global->val($name);
581
- }
582
-
583
- public static function val_str($name = NULL) {
584
- self::init();
585
- return self::$global->val_str($name);
586
- }
 
 
587
 
588
  public static function has_changed($input, $setting, $value) {
589
  return $input == $setting && $value != CrayonGlobalSettings::val($setting);
590
  }
591
 
592
- public static function set($name, $value = NULL, $replace = FALSE) {
593
- self::init();
594
- self::$global->set($name, $value, $replace);
595
- }
596
-
597
- public static function site_url($site_http = NULL) {
598
- if ($site_http === NULL) {
599
- return self::$site_http;
600
- } else {
601
- self::$site_http = CrayonUtil::url_slash($site_http);
602
- }
603
- }
604
-
605
- public static function site_path($site_path = NULL) {
606
- if ($site_path === NULL) {
607
- return self::$site_path;
608
- } else {
609
- self::$site_path = CrayonUtil::path_slash($site_path);
610
- }
611
- }
612
-
613
- public static function plugin_path($plugin_path = NULL) {
614
- if ($plugin_path === NULL) {
615
- return self::$plugin_path;
616
- } else {
617
- self::$plugin_path = CrayonUtil::path_slash($plugin_path);
618
- }
619
- }
620
 
621
  public static function upload_path($upload_path = NULL) {
622
  if ($upload_path === NULL) {
@@ -643,11 +649,58 @@ class CrayonGlobalSettings {
643
  }
644
 
645
  public static function mkdir($dir = NULL) {
646
- if (self::$mkdir) {
647
- call_user_func(self::$mkdir, $dir);
648
- } else {
649
- @mkdir($dir, 0777, TRUE);
650
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
651
  }
652
  }
653
 
@@ -656,174 +709,194 @@ class CrayonGlobalSettings {
656
  * Can store boolean, string, dropdown (with array of strings), etc.
657
  */
658
  class CrayonSetting {
659
- private $name = '';
660
- /* The type of variables that can be set as the value.
661
- * For dropdown settings, value is int, even though value() will return a string. */
662
- private $type = NULL;
663
- private $default = NULL; // stores string array for dropdown settings
664
-
665
- private $value = NULL; // stores index int for dropdown settings
666
-
667
- private $is_array = FALSE; // only TRUE for dropdown settings
668
- private $locked = FALSE;
669
-
670
-
671
- public function __construct($name, $default = '', $value = NULL, $locked = NULL) {
672
- $this->name($name);
673
- if ($default !== NULL) {
674
- $this->def($default); // Perform first to set type
675
-
676
- }
677
- if ($value !== NULL) {
678
- $this->value($value);
679
- }
680
- if ($locked !== NULL) {
681
- $this->locked($locked);
682
- }
683
- }
684
-
685
- function __tostring() {
686
- return $this->name;
687
- }
688
-
689
- function copy() {
690
- return new CrayonSetting($this->name, $this->default, $this->value, $this->locked);
691
- }
692
-
693
- function name($name = NULL) {
694
- if (!CrayonUtil::str($this->name, $name)) {
695
- return $this->name;
696
- }
697
- }
698
-
699
- function type() {
700
- return $this->type;
701
- }
702
-
703
- function is_array() {
704
- return $this->is_array;
705
- }
706
-
707
- function locked($locked = NULL) {
708
- if ($locked === NULL) {
709
- return $this->locked;
710
- } else {
711
- $this->locked = ($locked == TRUE);
712
- }
713
- }
714
-
715
- /**
716
-
717
- * Sets/gets value;
718
- * Value is index (int) in default value (array) for dropdown settings.
719
- * value($value) is alias for index($index) if dropdown setting.
720
- * value() returns string value at current index for dropdown settings.
721
- * @param $value
722
- */
723
- function value($value = NULL) {
724
- if ($value === NULL) {
725
- /*if ($this->is_array) {
726
- return $this->default[$this->value]; // value at index
727
- } else */if ($this->value !== NULL) {
728
- return $this->value;
729
- } else {
730
- if ($this->is_array) {
731
- return 0;
732
- } else {
733
- return $this->default;
734
- }
735
- }
736
- } else if ($this->locked === FALSE) {
737
- if ($this->is_array) {
738
- $this->index($value); // $value is index
739
- } else {
740
- settype($value, $this->type); // Type case
741
- $this->value = $value;
742
- }
743
- }
744
- }
745
-
746
- function array_value() {
747
- if ($this->is_array) {
748
- return NULL;
749
- }
750
- return $this->default[$this->value];
751
- }
752
-
753
- /**
754
- * Sets/gets default value.
755
- * For dropdown settings, default value is array of all possible value strings.
756
- * @param $default
757
- */
758
- function def($default = NULL) {
759
- // Only allow default to be set once
760
-
761
- if ($this->type === NULL && $default !== NULL) {
762
- // For dropdown settings
763
-
764
- if (is_array($default)) { // The only time we don't use $this->is_array
765
-
766
- // If empty, set to blank array
767
-
768
- if (empty($default)) {
769
- $default = array('');
770
- } else {
771
- // Ensure all values are unique strings
772
-
773
- $default = CrayonUtil::array_unique_str($default);
774
- }
775
- $this->value = 0; // initial index
776
-
777
- $this->is_array = TRUE;
778
- $this->type = gettype(0); // Type is int (index)
779
-
780
- } else {
781
- $this->is_array = FALSE;
782
- $this->type = gettype($default);
783
- }
784
- $this->default = $default;
785
- } else {
786
- return $this->default;
787
- }
788
- }
789
-
790
- /**
791
- * Sets/gets index.
792
- * @param int|string $index
793
- * @return FALSE if not dropdown setting
794
- */
795
- function index($index = NULL) {
796
- if (!$this->is_array) {
797
- return FALSE;
798
- } else if ($index === NULL) {
799
- return $this->value; // return current index
800
- } else {
801
- if (!is_int($index)) {
802
- // Ensure $value is int for index
803
- $index = intval($index);
804
- }
805
- // Validate index
806
- if ($index < 0 || $index > count($this->default) - 1) {
807
- $index = 0;
808
- }
809
- $this->value = $index;
810
- }
811
- }
812
-
813
- /**
814
- * Finds the index of a string in an array setting
815
- */
816
- function find_index($str) {
817
- if (!$this->is_array || is_string($str)) {
818
- return FALSE;
819
- }
820
- for ($i = 0; $i < count($this->default); $i++) {
821
- if ($this->default[$i] == $str) {
822
- return $i;
823
- }
824
- }
825
- return FALSE;
826
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
827
 
828
  }
829
 
8
  * Each Crayon instance stores an instance of this class containing its specific settings.
9
  */
10
  class CrayonSettings {
11
+ // Properties and Constants ===============================================
12
+ const INVALID = -1; // Used for invalid dropdown index
13
+ // Plugin data
14
+ const VERSION = 'version';
15
+
16
+ // Added when used in HTML to avoid id conflicts
17
+ const PREFIX = 'crayon-';
18
+ const SETTING = 'crayon-setting';
19
+ const SETTING_SELECTED = 'crayon-setting-selected';
20
+ const SETTING_CHANGED = 'crayon-setting-changed';
21
+ const SETTING_SPECIAL = 'crayon-setting-special';
22
+ const SETTING_ORIG_VALUE = 'data-orig-value';
23
+
24
+ // Global names for settings
25
+ const THEME = 'theme';
26
+ const FONT = 'font';
27
+ const FONT_SIZE_ENABLE = 'font-size-enable';
28
+ const FONT_SIZE = 'font-size';
29
  const LINE_HEIGHT = 'line-height';
30
+ const PREVIEW = 'preview';
31
+ const HEIGHT_SET = 'height-set';
32
+ const HEIGHT_MODE = 'height-mode';
33
+ const HEIGHT = 'height';
34
+ const HEIGHT_UNIT = 'height-unit';
35
+ const WIDTH_SET = 'width-set';
36
+ const WIDTH_MODE = 'width-mode';
37
+ const WIDTH = 'width';
38
+ const WIDTH_UNIT = 'width-unit';
39
+ const TOP_SET = 'top-set';
40
+ const TOP_MARGIN = 'top-margin';
41
+ const LEFT_SET = 'left-set';
42
+ const LEFT_MARGIN = 'left-margin';
43
+ const BOTTOM_SET = 'bottom-set';
44
+ const BOTTOM_MARGIN = 'bottom-margin';
45
+ const RIGHT_SET = 'right-set';
46
+ const RIGHT_MARGIN = 'right-margin';
47
+ const H_ALIGN = 'h-align';
48
+ const FLOAT_ENABLE = 'float-enable';
49
+ const TOOLBAR = 'toolbar';
50
+ const TOOLBAR_OVERLAY = 'toolbar-overlay';
51
+ const TOOLBAR_HIDE = 'toolbar-hide';
52
+ const TOOLBAR_DELAY = 'toolbar-delay';
53
+ const COPY = 'copy';
54
+ const POPUP = 'popup';
55
+ const SHOW_LANG = 'show-lang';
56
+ const SHOW_TITLE = 'show-title';
57
+ const STRIPED = 'striped';
58
+ const MARKING = 'marking';
59
+ const START_LINE = 'start-line';
60
+ const NUMS = 'nums';
61
+ const NUMS_TOGGLE = 'nums-toggle';
62
+ const TRIM_WHITESPACE = 'trim-whitespace';
63
+ const WHITESPACE_BEFORE = 'whitespace-before';
64
+ const WHITESPACE_AFTER = 'whitespace-after';
65
+ const TAB_SIZE = 'tab-size';
66
+ const FALLBACK_LANG = 'fallback-lang';
67
+ const LOCAL_PATH = 'local-path';
68
+ const SCROLL = 'scroll';
69
+ const PLAIN = 'plain';
70
+ const PLAIN_TOGGLE = 'plain-toggle';
71
+ const SHOW_PLAIN = 'show-plain';
72
+ const DISABLE_RUNTIME = 'runtime';
73
+ const TOUCHSCREEN = 'touchscreen';
74
+ const DISABLE_ANIM = 'disable-anim';
75
+ const ERROR_LOG = 'error-log';
76
+ const ERROR_LOG_SYS = 'error-log-sys';
77
+ const ERROR_MSG_SHOW = 'error-msg-show';
78
+ const ERROR_MSG = 'error-msg';
79
+ const HIDE_HELP = 'hide-help';
80
+ const CACHE = 'cache';
81
+ const EFFICIENT_ENQUEUE = 'efficient-enqueue';
82
+ const CAPTURE_PRE = 'capture-pre';
83
+ const CAPTURE_MINI_TAG = 'capture-mini-tag';
84
+ const MIXED = 'mixed';
85
+ const SHOW_MIXED = 'show_mixed';
86
+ const PLAIN_TAG = 'plain_tag';
87
+ const SHOW_PLAIN_DEFAULT = 'show-plain-default';
88
+ const ENQUEUE_THEMES = 'enqueque-themes';
89
+ const ENQUEUE_FONTS = 'enqueque-fonts';
90
+ const MAIN_QUERY = 'main-query';
91
+ const SAFE_ENQUEUE = 'safe-enqueue';
92
+ const INLINE_TAG = 'inline-tag';
93
  const INLINE_TAG_CAPTURE = 'inline-tag-capture';
94
+ const CODE_TAG_CAPTURE = 'code-tag-capture';
95
+ const CODE_TAG_CAPTURE_TYPE = 'code-tag-capture-type';
96
+ const INLINE_MARGIN = 'inline-margin';
97
+ const INLINE_WRAP = 'inline-wrap';
98
+ const BACKQUOTE = 'backquote';
99
+ const COMMENTS = 'comments';
100
+ const DECODE = 'decode';
101
+ const DECODE_ATTRIBUTES = 'decode-attributes';
102
  // const TINYMCE_USED = 'tinymce-used';
103
+ const ATTR_SEP = 'attr-sep';
104
+ const EXCERPT_STRIP = 'excerpt-strip';
105
+ const RANGES = 'ranges';
106
+ const TAG_EDITOR_FRONT = 'tag-editor-front';
107
+ const TAG_EDITOR_SETTINGS = 'tag-editor-front-hide';
108
+ const WRAP_TOGGLE = 'wrap-toggle';
109
+ const WRAP = 'wrap';
110
+ const EXPAND = 'expand';
111
+ const EXPAND_TOGGLE = 'expand-toggle';
112
  const MINIMIZE = 'minimize';
113
+
114
+ private static $cache_array;
115
+
116
+ public static function get_cache_sec($cache) {
117
+ $values = array_values(self::$cache_array);
118
+ if (array_key_exists($cache, $values)) {
119
+ return $values[$cache];
120
+ } else {
121
+ return $values[0];
122
+ }
123
+ }
124
+
125
+ // The current settings, should be loaded with default if none exists
126
+ private $settings = array();
127
+
128
+ // The settings with default values
129
+ private static $default = NULL;
130
+
131
+ function __construct() {
132
+ $this->init();
133
+ }
134
+
135
+ function copy() {
136
+ $settings = new CrayonSettings();
137
+ foreach ($this->settings as $setting) {
138
+ $settings->set($setting); // Overuse of set?
139
+ }
140
+ return $settings;
141
+ }
142
+
143
+ // Methods ================================================================
144
+
145
+ private function init() {
146
+ global $CRAYON_VERSION;
147
+
148
+ crayon_load_plugin_textdomain();
149
+
150
+ self::$cache_array = array(crayon__('Hourly') => 3600, crayon__('Daily') => 86400,
151
+ crayon__('Weekly') => 604800, crayon__('Monthly') => 18144000,
152
+ crayon__('Immediately') => 1);
153
+
154
+ $settings = array(
155
+ new CrayonSetting(self::VERSION, $CRAYON_VERSION, NULL, TRUE),
156
+ new CrayonSetting(self::THEME, CrayonThemes::DEFAULT_THEME),
157
+ new CrayonSetting(self::FONT, CrayonFonts::DEFAULT_FONT),
158
+ new CrayonSetting(self::FONT_SIZE_ENABLE, TRUE),
159
+ new CrayonSetting(self::FONT_SIZE, 12),
160
  new CrayonSetting(self::LINE_HEIGHT, 15),
161
+ new CrayonSetting(self::PREVIEW, TRUE),
162
+ new CrayonSetting(self::HEIGHT_SET, FALSE),
163
+ new CrayonSetting(self::HEIGHT_MODE, array(crayon__('Max'), crayon__('Min'), crayon__('Static'))),
164
+ new CrayonSetting(self::HEIGHT, '500'),
165
+ new CrayonSetting(self::HEIGHT_UNIT, array(crayon__('Pixels'), crayon__('Percent'))),
166
+ new CrayonSetting(self::WIDTH_SET, FALSE),
167
+ new CrayonSetting(self::WIDTH_MODE, array(crayon__('Max'), crayon__('Min'), crayon__('Static'))),
168
+ new CrayonSetting(self::WIDTH, '500'),
169
+ new CrayonSetting(self::WIDTH_UNIT, array(crayon__('Pixels'), crayon__('Percent'))),
170
+ new CrayonSetting(self::TOP_SET, TRUE),
171
+ new CrayonSetting(self::TOP_MARGIN, 12),
172
+ new CrayonSetting(self::BOTTOM_SET, TRUE),
173
+ new CrayonSetting(self::BOTTOM_MARGIN, 12),
174
+ new CrayonSetting(self::LEFT_SET, FALSE),
175
+ new CrayonSetting(self::LEFT_MARGIN, 12),
176
+ new CrayonSetting(self::RIGHT_SET, FALSE),
177
+ new CrayonSetting(self::RIGHT_MARGIN, 12),
178
+ new CrayonSetting(self::H_ALIGN, array(crayon__('None'), crayon__('Left'), crayon__('Center'), crayon__('Right'))),
179
+ new CrayonSetting(self::FLOAT_ENABLE, FALSE),
180
+ new CrayonSetting(self::TOOLBAR, array(crayon__('On MouseOver'), crayon__('Always'), crayon__('Never'))),
181
+ new CrayonSetting(self::TOOLBAR_OVERLAY, TRUE),
182
+ new CrayonSetting(self::TOOLBAR_HIDE, TRUE),
183
+ new CrayonSetting(self::TOOLBAR_DELAY, TRUE),
184
+ new CrayonSetting(self::COPY, TRUE),
185
+ new CrayonSetting(self::POPUP, TRUE),
186
+ new CrayonSetting(self::SHOW_LANG, array(crayon__('When Found'), crayon__('Always'), crayon__('Never'))),
187
+ new CrayonSetting(self::SHOW_TITLE, TRUE),
188
+ new CrayonSetting(self::STRIPED, TRUE),
189
+ new CrayonSetting(self::MARKING, TRUE),
190
+ new CrayonSetting(self::START_LINE, 1),
191
+ new CrayonSetting(self::NUMS, TRUE),
192
+ new CrayonSetting(self::NUMS_TOGGLE, TRUE),
193
+ new CrayonSetting(self::TRIM_WHITESPACE, TRUE),
194
+ new CrayonSetting(self::WHITESPACE_BEFORE, 0),
195
+ new CrayonSetting(self::WHITESPACE_AFTER, 0),
196
+ new CrayonSetting(self::TAB_SIZE, 4),
197
+ new CrayonSetting(self::FALLBACK_LANG, CrayonLangs::DEFAULT_LANG),
198
+ new CrayonSetting(self::LOCAL_PATH, ''),
199
+ new CrayonSetting(self::SCROLL, FALSE),
200
+ new CrayonSetting(self::PLAIN, TRUE),
201
+ new CrayonSetting(self::PLAIN_TOGGLE, TRUE),
202
+ new CrayonSetting(self::SHOW_PLAIN_DEFAULT, FALSE),
203
+ new CrayonSetting(self::SHOW_PLAIN,
204
+ array(crayon__('On Double Click'), crayon__('On Single Click'), crayon__('On MouseOver'), crayon__('Disable Mouse Events'))),
205
+ new CrayonSetting(self::DISABLE_ANIM, FALSE),
206
+ new CrayonSetting(self::TOUCHSCREEN, TRUE),
207
+ new CrayonSetting(self::DISABLE_RUNTIME, FALSE),
208
+ new CrayonSetting(self::ERROR_LOG, TRUE),
209
+ new CrayonSetting(self::ERROR_LOG_SYS, TRUE),
210
+ new CrayonSetting(self::ERROR_MSG_SHOW, TRUE),
211
+ new CrayonSetting(self::ERROR_MSG, crayon__('An error has occurred. Please try again later.')),
212
+ new CrayonSetting(self::HIDE_HELP, FALSE),
213
+ new CrayonSetting(self::CACHE, array_keys(self::$cache_array), 1),
214
+ new CrayonSetting(self::EFFICIENT_ENQUEUE, FALSE),
215
+ new CrayonSetting(self::CAPTURE_PRE, TRUE),
216
+ new CrayonSetting(self::CAPTURE_MINI_TAG, FALSE),
217
+ new CrayonSetting(self::MIXED, TRUE),
218
+ new CrayonSetting(self::SHOW_MIXED, TRUE),
219
+ new CrayonSetting(self::PLAIN_TAG, FALSE),
220
+ new CrayonSetting(self::ENQUEUE_THEMES, TRUE),
221
+ new CrayonSetting(self::ENQUEUE_FONTS, TRUE),
222
+ new CrayonSetting(self::MAIN_QUERY, FALSE),
223
+ new CrayonSetting(self::SAFE_ENQUEUE, TRUE),
224
+ new CrayonSetting(self::INLINE_TAG, TRUE),
225
  new CrayonSetting(self::INLINE_TAG_CAPTURE, FALSE),
226
+ new CrayonSetting(self::CODE_TAG_CAPTURE, FALSE),
227
+ new CrayonSetting(self::CODE_TAG_CAPTURE_TYPE, array(crayon__('Inline Tag'), crayon__('Block Tag'))),
228
+ new CrayonSetting(self::INLINE_MARGIN, 5),
229
+ new CrayonSetting(self::INLINE_WRAP, TRUE),
230
+ new CrayonSetting(self::BACKQUOTE, TRUE),
231
+ new CrayonSetting(self::COMMENTS, TRUE),
232
+ new CrayonSetting(self::DECODE, FALSE),
233
+ new CrayonSetting(self::DECODE_ATTRIBUTES, TRUE),
234
  // new CrayonSetting(self::TINYMCE_USED, FALSE),
235
+ new CrayonSetting(self::ATTR_SEP, array(':', '_')),
236
+ new CrayonSetting(self::EXCERPT_STRIP, FALSE),
237
+ new CrayonSetting(self::RANGES, TRUE),
238
+ new CrayonSetting(self::TAG_EDITOR_FRONT, FALSE),
239
+ new CrayonSetting(self::TAG_EDITOR_SETTINGS, TRUE),
240
+ new CrayonSetting(self::WRAP_TOGGLE, TRUE),
241
+ new CrayonSetting(self::WRAP, FALSE),
242
+ new CrayonSetting(self::EXPAND, FALSE),
243
+ new CrayonSetting(self::EXPAND_TOGGLE, TRUE),
244
  new CrayonSetting(self::MINIMIZE, FALSE)
245
+ );
246
+
247
+ $this->set($settings);
248
+
249
+ $nonNegs = array(self::FONT_SIZE, self::LINE_HEIGHT, self::HEIGHT, self::WIDTH, self::START_LINE, self::WHITESPACE_BEFORE, self::WHITESPACE_AFTER, self::TAB_SIZE, self::INLINE_MARGIN);
250
+ $intNonNegValid = new CrayonNonNegIntValidator();
251
+ foreach ($nonNegs as $name) {
252
+ $this->get($name)->validator($intNonNegValid);
253
+ }
254
+ }
255
+
256
+ // Getter and Setter ======================================================
257
+
258
+ // TODO this needs simplification
259
+ function set($name, $value = NULL, $replace = FALSE) {
260
+ // Set associative array of settings
261
+ if (is_array($name)) {
262
+ $keys = array_keys($name);
263
+ foreach ($keys as $key) {
264
+ if (is_string($key)) {
265
+ // Associative value
266
+ $this->set($key, $name[$key], $replace);
267
+ } else if (is_int($key)) {
268
+ $setting = $name[$key];
269
+ $this->set($setting, NULL, $replace);
270
+ }
271
+ }
272
+ } else if (is_string($name) && !empty($name) && $value !== NULL) {
273
+ $value = CrayonSettings::validate($name, $value);
274
+ if ($replace || !$this->is_setting($name)) {
275
+ // Replace/Create
276
+ $this->settings[$name] = new CrayonSetting($name, $value);
277
+ } else {
278
+ // Update
279
+ $this->settings[$name]->value($value);
280
+ }
281
+ } else if (is_object($name) && get_class($name) == CRAYON_SETTING_CLASS) {
282
+ $setting = $name; // Semantics
283
+ if ($replace || !$this->is_setting($setting->name())) {
284
+ // Replace/Create
285
+ $this->settings[$setting->name()] = $setting->copy();
286
+ } else {
287
+ // Update
288
+ if ($setting->is_array()) {
289
+ $this->settings[$setting->name()]->index($setting->index());
290
+ } else {
291
+ $this->settings[$setting->name()]->value($setting->value());
292
+ }
293
+ }
294
+ }
295
+ }
296
+
297
+ function get($name = NULL) {
298
+ if ($name === NULL) {
299
+ $copy = array();
300
+ foreach ($this->settings as $name => $setting) {
301
+ $copy[$name] = $setting->copy(); // Deep copy
302
+ }
303
+ return $copy;
304
+ } else if (is_string($name)) {
305
+ if ($this->is_setting($name)) {
306
+ return $this->settings[$name];
307
+ }
308
+ }
309
+ return FALSE;
310
+ }
311
+
312
+ function val($name = NULL) {
313
+ if (($setting = self::get($name)) != FALSE) {
314
+ return $setting->value();
315
+ } else {
316
+ return NULL;
317
+ }
318
+ }
319
+
320
+ function val_str($name) {
321
+ if (($setting = self::get($name)) != FALSE) {
322
+ $def = $setting->def();
323
+ $index = $setting->value();
324
+ if (array_key_exists($index, $def)) {
325
+ return $def[$index];
326
+ } else {
327
+ return NULL;
328
+ }
329
+ }
330
+ }
331
+
332
+ function get_array() {
333
+ $array = array();
334
+ foreach ($this->settings as $setting) {
335
+ $array[$setting->name()] = $setting->value();
336
+ }
337
+ return $array;
338
+ }
339
+
340
+ function is_setting($name) {
341
+ return (is_string($name) && array_key_exists($name, $this->settings));
342
+ }
343
+
344
+ /* Gets default settings, either as associative array of name=>value or CrayonSetting
345
+ objects */
346
+ public static function get_defaults($name = NULL, $objects = TRUE) {
347
+ if (self::$default === NULL) {
348
+ self::$default = new CrayonSettings();
349
+ }
350
+ if ($name === NULL) {
351
+ // Get all settings
352
+ if ($objects) {
353
+ // Return array of objects
354
+ return self::$default->get();
355
+ } else {
356
+ // Return associative array of name=>value
357
+ $settings = self::$default->get();
358
+ $defaults = array();
359
+ foreach ($settings as $setting) {
360
+ $defaults[$setting->name()] = $setting->value();
361
+ }
362
+ return $defaults;
363
+ }
364
+ } else {
365
+ // Return specific setting
366
+ if ($objects) {
367
+ return self::$default->get($name);
368
+ } else {
369
+ return self::$default->get($name)->value();
370
+ }
371
+ }
372
+ }
373
+
374
+ public static function get_defaults_array() {
375
+ return self::get_defaults(NULL, FALSE);
376
+ }
377
+
378
+ // Validation =============================================================
379
+
380
+ /**
381
+ * Validates settings coming from an HTML form and also for internal use.
382
+ * This is used when saving form an HTML form to the db, and also when reading from the db
383
+ * back into the global settings.
384
+ * @param string $name
385
+ * @param mixed $value
386
+ */
387
+ public static function validate($name, $value) {
388
+ if (!is_string($name)) {
389
+ return '';
390
+ }
391
+
392
+ // Type-cast to correct value for known settings
393
+ if (($setting = CrayonGlobalSettings::get($name)) != FALSE) {
394
+ // Booleans settings that are sent as string are allowed to have "false" == false
395
+ if (is_bool($setting->def())) {
396
+ if (is_string($value)) {
397
+ $value = CrayonUtil::str_to_bool($value);
398
+ }
399
+ } else {
400
+ // Ensure we don't cast integer settings to 0 because $value doesn't have any numbers in it
401
+ $value = strval($value);
402
+ // Only occurs when saving from the form ($_POST values are strings)
403
+ if ($value == '' || ($cleaned = $setting->sanitize($value, FALSE)) == '') {
404
+ // The value sent has no integers, change to default
405
+ $value = $setting->def();
406
+ } else {
407
+ // Cleaned value is int
408
+ $value = $cleaned;
409
+ }
410
+ // Cast all other settings as usual
411
+ if (!settype($value, $setting->type())) {
412
+ // If we can't cast, then use default value
413
+ if ($setting->is_array()) {
414
+ $value = 0; // default index
415
+ } else {
416
+ $value = $setting->def();
417
+ }
418
+ }
419
+ }
420
+ } else {
421
+ // If setting not found, remove value
422
+ return '';
423
+ }
424
+
425
+ switch ($name) {
426
+ case CrayonSettings::LOCAL_PATH:
427
+ $path = parse_url($value, PHP_URL_PATH);
428
+ // Remove all spaces, prefixed and trailing forward slashes
429
+ $path = preg_replace('#^/*|/*$|\s*#', '', $path);
430
+ // Replace backslashes
431
+ $path = preg_replace('#\\\\#', '/', $path);
432
+ // Append trailing forward slash
433
+ if (!empty($path)) {
434
+ $path .= '/';
435
+ }
436
+ return $path;
437
+ case CrayonSettings::FONT_SIZE:
438
+ if ($value < 1) {
439
+ $value = 1;
440
+ }
441
+ break;
442
  case CrayonSettings::LINE_HEIGHT:
443
  $font_size = CrayonGlobalSettings::val(CrayonSettings::FONT_SIZE);
444
  $value = $value >= $font_size ? $value : $font_size;
445
  break;
446
+ case CrayonSettings::THEME:
447
+ $value = strtolower($value);
448
+ // XXX validate settings here
449
+ }
450
+
451
+ // If no validation occurs, return value
452
+ return $value;
453
+ }
454
+
455
+ // Takes an associative array of "smart settings" and regular settings. Smart settings can be used
456
+ // to configure regular settings quickly.
457
+ // E.g. 'max_height="20px"' will set 'height="20"', 'height_mode="0", height_unit="0"'
458
+ public static function smart_settings($settings) {
459
+ if (!is_array($settings)) {
460
+ return FALSE;
461
+ }
462
+
463
+ // If a setting is given, it is automatically enabled
464
+ foreach ($settings as $name => $value) {
465
+ if (($setting = CrayonGlobalSettings::get($name)) !== FALSE && is_bool($setting->def())) {
466
+ $value = CrayonUtil::str_to_bool($value);
467
+ }
468
+
469
+ // XXX removed height and width, since it wasn't using the global settings for mode if only height was provided
470
+ if ($name == 'min-height' || $name == 'max-height' /* || $name == 'height'*/) {
471
+ self::smart_hw($name, CrayonSettings::HEIGHT_SET, CrayonSettings::HEIGHT_MODE, CrayonSettings::HEIGHT_UNIT, $settings);
472
+ } else if ($name == 'min-width' || $name == 'max-width' /* || $name == 'width'*/) {
473
+ self::smart_hw($name, CrayonSettings::WIDTH_SET, CrayonSettings::WIDTH_MODE, CrayonSettings::WIDTH_UNIT, $settings);
474
+ } else if ($name == CrayonSettings::FONT_SIZE) {
475
+ $settings[CrayonSettings::FONT_SIZE_ENABLE] = TRUE;
476
+ } else if ($name == CrayonSettings::TOP_MARGIN) {
477
+ $settings[CrayonSettings::TOP_SET] = TRUE;
478
+ } else if ($name == CrayonSettings::LEFT_MARGIN) {
479
+ $settings[CrayonSettings::LEFT_SET] = TRUE;
480
+ } else if ($name == CrayonSettings::BOTTOM_MARGIN) {
481
+ $settings[CrayonSettings::BOTTOM_SET] = TRUE;
482
+ } else if ($name == CrayonSettings::RIGHT_MARGIN) {
483
+ $settings[CrayonSettings::RIGHT_SET] = TRUE;
484
+ } else if ($name == CrayonSettings::ERROR_MSG) {
485
+ $settings[CrayonSettings::ERROR_MSG_SHOW] = TRUE;
486
+ } else if ($name == CrayonSettings::H_ALIGN) {
487
+ $settings[CrayonSettings::FLOAT_ENABLE] = TRUE;
488
+ $value = CrayonUtil::tlower($value);
489
+ $values = array('none' => 0, 'left' => 1, 'center' => 2, 'right' => 3);
490
+ if (array_key_exists($value, $values)) {
491
+ $settings[CrayonSettings::H_ALIGN] = $values[$value];
492
+ }
493
+ } else if ($name == CrayonSettings::SHOW_LANG) {
494
+ $value = CrayonUtil::tlower($value);
495
+ $values = array('found' => 0, 'always' => 1, 'true' => 1, 'never' => 2, 'false' => 2);
496
+ if (array_key_exists($value, $values)) {
497
+ $settings[CrayonSettings::SHOW_LANG] = $values[$value];
498
+ }
499
+ } else if ($name == CrayonSettings::TOOLBAR) {
500
+ if (CrayonUtil::tlower($value) == 'always') {
501
+ $settings[CrayonSettings::TOOLBAR] = 1;
502
+ } else if (CrayonUtil::str_to_bool($value) === FALSE) {
503
+ $settings[CrayonSettings::TOOLBAR] = 2;
504
+ }
505
+ }
506
+ }
507
+
508
+ return $settings;
509
+ }
510
+
511
+ // Used for height and width smart settings, I couldn't bear to copy paste code twice...
512
+ private static function smart_hw($name, $set, $mode, $unit, &$settings) {
513
+ if (!is_string($name) || !is_string($set) || !is_string($mode) || !is_string($unit) || !is_array($settings)) {
514
+ return;
515
+ }
516
+ $settings[$set] = TRUE;
517
+ if (strpos($name, 'max-') !== FALSE) {
518
+ $settings[$mode] = 0;
519
+ } else if (strpos($name, 'min-') !== FALSE) {
520
+ $settings[$mode] = 1;
521
+ } else {
522
+ $settings[$mode] = 2;
523
+ }
524
+ preg_match('#(\d+)\s*([^\s]*)#', $settings[$name], $match);
525
+ if (count($match) == 3) {
526
+ $name = str_replace(array('max-', 'min-'), '', $name);
527
+ $settings[$name] = $match[1];
528
+ switch (strtolower($match[2])) {
529
+ case 'px':
530
+ $settings[$unit] = 0;
531
+ break;
532
+ case '%':
533
+ $settings[$unit] = 1;
534
+ break;
535
+ }
536
+ }
537
+ }
 
538
  }
539
 
540
  /**
543
  * Also manages global site settings and paths.
544
  */
545
  class CrayonGlobalSettings {
546
+ // The global settings stored as a CrayonSettings object.
547
+ private static $global = NULL;
548
+ /* These are used to load local files reliably and prevent scripts like PHP from executing
549
+ when attempting to load their code. */
550
+ // The URL of the site (eg. http://localhost/example/)
551
+ private static $site_http = '';
552
+ // The absolute root directory of the site (eg. /User/example/)
553
+ private static $site_path = '';
554
+ // The absolute root directory of the plugins (eg. /User/example/plugins)
555
+ private static $plugin_path = '';
556
  private static $upload_path = '';
557
  private static $upload_url = '';
558
  private static $mkdir = NULL;
559
+
560
+ private function __construct() {
561
+ }
562
+
563
+ private static function init() {
564
+ if (self::$global === NULL) {
565
+ self::$global = new CrayonSettings();
566
+ }
567
+ }
568
+
569
+ public static function get($name = NULL) {
570
+ self::init();
571
+ return self::$global->get($name);
572
+ }
573
+
574
+ public static function get_array() {
575
+ self::init();
576
+ return self::$global->get_array();
577
+ }
578
+
579
+ public static function get_obj() {
580
+ self::init();
581
+ return self::$global->copy();
582
+ }
583
+
584
+ public static function val($name = NULL) {
585
+ self::init();
586
+ return self::$global->val($name);
587
+ }
588
+
589
+ public static function val_str($name = NULL) {
590
+ self::init();
591
+ return self::$global->val_str($name);
592
+ }
593
 
594
  public static function has_changed($input, $setting, $value) {
595
  return $input == $setting && $value != CrayonGlobalSettings::val($setting);
596
  }
597
 
598
+ public static function set($name, $value = NULL, $replace = FALSE) {
599
+ self::init();
600
+ self::$global->set($name, $value, $replace);
601
+ }
602
+
603
+ public static function site_url($site_http = NULL) {
604
+ if ($site_http === NULL) {
605
+ return self::$site_http;
606
+ } else {
607
+ self::$site_http = CrayonUtil::url_slash($site_http);
608
+ }
609
+ }
610
+
611
+ public static function site_path($site_path = NULL) {
612
+ if ($site_path === NULL) {
613
+ return self::$site_path;
614
+ } else {
615
+ self::$site_path = CrayonUtil::path_slash($site_path);
616
+ }
617
+ }
618
+
619
+ public static function plugin_path($plugin_path = NULL) {
620
+ if ($plugin_path === NULL) {
621
+ return self::$plugin_path;
622
+ } else {
623
+ self::$plugin_path = CrayonUtil::path_slash($plugin_path);
624
+ }
625
+ }
626
 
627
  public static function upload_path($upload_path = NULL) {
628
  if ($upload_path === NULL) {
649
  }
650
 
651
  public static function mkdir($dir = NULL) {
652
+ if (self::$mkdir) {
653
+ call_user_func(self::$mkdir, $dir);
654
+ } else {
655
+ @mkdir($dir, 0777, TRUE);
656
+ }
657
+ }
658
+ }
659
+
660
+
661
+ $INT = new CrayonValidator('#\d+#');
662
+
663
+ /**
664
+ * Validation class.
665
+ */
666
+ class CrayonValidator {
667
+ private $pattern = '#*#msi';
668
+
669
+ public function __construct($pattern) {
670
+ $this->pattern($pattern);
671
+ }
672
+
673
+ public function pattern($pattern) {
674
+ if ($pattern === NULL) {
675
+ return $pattern;
676
+ } else {
677
+ $this->pattern = $pattern;
678
+ }
679
+ }
680
+
681
+ public function validate($str) {
682
+ return preg_match($this->pattern, $str) !== FALSE;
683
+ }
684
+
685
+ public function sanitize($str) {
686
+ preg_match_all($this->pattern, $str, $matches);
687
+ $result = '';
688
+ foreach ($matches as $match) {
689
+ $result .= $match[0];
690
+ }
691
+ return $result;
692
+ }
693
+ }
694
+
695
+ class CrayonNonNegIntValidator extends CrayonValidator {
696
+ public function __construct() {
697
+ parent::__construct('#\d+#');
698
+ }
699
+ }
700
+
701
+ class CrayonIntValidator extends CrayonValidator {
702
+ public function __construct() {
703
+ parent::__construct('#-?\d+#');
704
  }
705
  }
706
 
709
  * Can store boolean, string, dropdown (with array of strings), etc.
710
  */
711
  class CrayonSetting {
712
+ private $name = '';
713
+ /* The type of variables that can be set as the value.
714
+ * For dropdown settings, value is int, even though value() will return a string. */
715
+ private $type = NULL;
716
+ private $default = NULL; // stores string array for dropdown settings
717
+
718
+ private $value = NULL; // stores index int for dropdown settings
719
+
720
+ private $is_array = FALSE; // only TRUE for dropdown settings
721
+ private $locked = FALSE;
722
+
723
+ private $validator = NULL;
724
+
725
+
726
+ public function __construct($name, $default = '', $value = NULL, $locked = NULL) {
727
+ $this->name($name);
728
+ if ($default !== NULL) {
729
+ $this->def($default); // Perform first to set type
730
+ }
731
+ if ($value !== NULL) {
732
+ $this->value($value);
733
+ }
734
+ if ($locked !== NULL) {
735
+ $this->locked($locked);
736
+ }
737
+ }
738
+
739
+ function __tostring() {
740
+ return $this->name;
741
+ }
742
+
743
+ function copy() {
744
+ return new CrayonSetting($this->name, $this->default, $this->value, $this->locked);
745
+ }
746
+
747
+ function name($name = NULL) {
748
+ if (!CrayonUtil::str($this->name, $name)) {
749
+ return $this->name;
750
+ }
751
+ }
752
+
753
+ function type() {
754
+ return $this->type;
755
+ }
756
+
757
+ function is_array() {
758
+ return $this->is_array;
759
+ }
760
+
761
+ function locked($locked = NULL) {
762
+ if ($locked === NULL) {
763
+ return $this->locked;
764
+ } else {
765
+ $this->locked = ($locked == TRUE);
766
+ }
767
+ }
768
+
769
+ /**
770
+ * Sets/gets value;
771
+ * Value is index (int) in default value (array) for dropdown settings.
772
+ * value($value) is alias for index($index) if dropdown setting.
773
+ * value() returns string value at current index for dropdown settings.
774
+ * @param $value
775
+ */
776
+ function value($value = NULL) {
777
+ if ($value === NULL) {
778
+ /*if ($this->is_array) {
779
+ return $this->default[$this->value]; // value at index
780
+ } else */
781
+ if ($this->value !== NULL) {
782
+ return $this->value;
783
+ } else {
784
+ if ($this->is_array) {
785
+ return 0;
786
+ } else {
787
+ return $this->default;
788
+ }
789
+ }
790
+ } else if ($this->locked === FALSE) {
791
+ if ($this->is_array) {
792
+ $this->index($value); // $value is index
793
+ } else {
794
+ settype($value, $this->type); // Type cast
795
+ $this->value = $value;
796
+ }
797
+ }
798
+ }
799
+
800
+ function array_value() {
801
+ if ($this->is_array) {
802
+ return NULL;
803
+ }
804
+ return $this->default[$this->value];
805
+ }
806
+
807
+ /**
808
+ * Sets/gets default value.
809
+ * For dropdown settings, default value is array of all possible value strings.
810
+ * @param $default
811
+ */
812
+ function def($default = NULL) {
813
+ // Only allow default to be set once
814
+
815
+ if ($this->type === NULL && $default !== NULL) {
816
+ // For dropdown settings
817
+
818
+ if (is_array($default)) { // The only time we don't use $this->is_array
819
+
820
+ // If empty, set to blank array
821
+
822
+ if (empty($default)) {
823
+ $default = array('');
824
+ } else {
825
+ // Ensure all values are unique strings
826
+
827
+ $default = CrayonUtil::array_unique_str($default);
828
+ }
829
+ $this->value = 0; // initial index
830
+
831
+ $this->is_array = TRUE;
832
+ $this->type = gettype(0); // Type is int (index)
833
+
834
+ } else {
835
+ $this->is_array = FALSE;
836
+ $this->type = gettype($default);
837
+ if (is_int($default)) {
838
+ $this->validator(new CrayonIntValidator());
839
+ }
840
+ }
841
+ $this->default = $default;
842
+ } else {
843
+ return $this->default;
844
+ }
845
+ }
846
+
847
+ /**
848
+ * Sets/gets index.
849
+ * @param int|string $index
850
+ * @return FALSE if not dropdown setting
851
+ */
852
+ function index($index = NULL) {
853
+ if (!$this->is_array) {
854
+ return FALSE;
855
+ } else if ($index === NULL) {
856
+ return $this->value; // return current index
857
+ } else {
858
+ if (!is_int($index)) {
859
+ // Ensure $value is int for index
860
+ $index = intval($index);
861
+ }
862
+ // Validate index
863
+ if ($index < 0 || $index > count($this->default) - 1) {
864
+ $index = 0;
865
+ }
866
+ $this->value = $index;
867
+ }
868
+ }
869
+
870
+ /**
871
+ * Finds the index of a string in an array setting
872
+ */
873
+ function find_index($str) {
874
+ if (!$this->is_array || is_string($str)) {
875
+ return FALSE;
876
+ }
877
+ for ($i = 0; $i < count($this->default); $i++) {
878
+ if ($this->default[$i] == $str) {
879
+ return $i;
880
+ }
881
+ }
882
+ return FALSE;
883
+ }
884
+
885
+ function validator($validator) {
886
+ if ($validator === NULL) {
887
+ return $this->validator;
888
+ } else {
889
+ $this->validator = $validator;
890
+ }
891
+ }
892
+
893
+ function sanitize($str) {
894
+ if ($this->validator != NULL) {
895
+ return $this->validator->sanitize($str);
896
+ } else {
897
+ return $str;
898
+ }
899
+ }
900
 
901
  }
902
 
crayon_settings_wp.class.php CHANGED
@@ -74,20 +74,31 @@ class CrayonSettingsWP {
74
 
75
  public static function admin_styles() {
76
  global $CRAYON_VERSION;
77
- wp_enqueue_style('crayon', plugins_url(CRAYON_STYLE, __FILE__), array(), $CRAYON_VERSION);
78
- wp_enqueue_style('crayon_global', plugins_url(CRAYON_STYLE_GLOBAL, __FILE__), array(), $CRAYON_VERSION);
79
- wp_enqueue_style('crayon_admin', plugins_url(CRAYON_STYLE_ADMIN, __FILE__), array('editor-buttons'), $CRAYON_VERSION);
 
 
 
 
80
  }
81
 
82
  public static function admin_scripts() {
83
  global $CRAYON_VERSION;
84
- wp_enqueue_script('crayon_util_js', plugins_url(CRAYON_JS_UTIL, __FILE__), array('jquery'), $CRAYON_VERSION);
 
 
 
 
 
 
 
85
  self::init_js_settings();
 
86
  if (is_admin()) {
87
- wp_enqueue_script('crayon_admin_js', plugins_url(CRAYON_JS_ADMIN, __FILE__), array('jquery', 'crayon_util_js', 'wpdialogs', 'wpdialogs-popup'), $CRAYON_VERSION);
88
  self::init_admin_js_settings();
89
  }
90
- self::other_scripts();
91
  }
92
 
93
  public static function other_scripts() {
@@ -95,6 +106,7 @@ class CrayonSettingsWP {
95
  self::load_settings(TRUE);
96
  $deps = array('jquery', 'crayon_util_js');
97
  if (CrayonGlobalSettings::val(CrayonSettings::POPUP) || is_admin()) {
 
98
  wp_enqueue_script('crayon_jquery_popup', plugins_url(CRAYON_JQUERY_POPUP, __FILE__), array('jquery'), $CRAYON_VERSION);
99
  $deps[] = 'crayon_jquery_popup';
100
  }
@@ -118,13 +130,18 @@ class CrayonSettingsWP {
118
  'orig_value' => CrayonSettings::SETTING_ORIG_VALUE,
119
  'debug' => CRAYON_DEBUG
120
  );
121
- wp_localize_script('crayon_util_js', 'CrayonSyntaxSettings', self::$js_settings);
122
  }
123
  if (!self::$js_strings) {
124
  self::$js_strings = array(
125
  'copy' => crayon__('Press %s to Copy, %s to Paste'),
126
  'minimize' => crayon__('Click To Expand Code')
127
  );
 
 
 
 
 
 
128
  wp_localize_script('crayon_util_js', 'CrayonSyntaxStrings', self::$js_strings);
129
  }
130
  }
@@ -583,14 +600,13 @@ class CrayonSettingsWP {
583
  // These should trigger a refresh of which posts contain crayons, since they affect capturing
584
  CrayonSettings::INLINE_TAG => TRUE,
585
  CrayonSettings::INLINE_TAG_CAPTURE => TRUE,
586
- CrayonSettings::INLINE_CODE_TAG_CAPTURE => TRUE,
587
  CrayonSettings::BACKQUOTE => TRUE,
588
  CrayonSettings::CAPTURE_PRE => TRUE,
589
  CrayonSettings::CAPTURE_MINI_TAG => TRUE,
590
  CrayonSettings::PLAIN_TAG => TRUE
591
  );
592
 
593
-
594
  // Validate inputs
595
  foreach ($inputs as $input => $value) {
596
  // Convert all array setting values to ints
@@ -1091,7 +1107,10 @@ class Human {
1091
  public static function tags() {
1092
  self::checkbox(array(CrayonSettings::INLINE_TAG, crayon__('Capture Inline Tags') . self::help_button('http://bit.ly/yFafFL')));
1093
  self::checkbox(array(CrayonSettings::INLINE_WRAP, crayon__('Wrap Inline Tags') . self::help_button('http://bit.ly/yFafFL')));
1094
- self::checkbox(array(CrayonSettings::INLINE_CODE_TAG_CAPTURE, crayon__('Capture &lt;code&gt; as Inline Tags') . self::help_button('http://bit.ly/yFafFL')));
 
 
 
1095
  self::checkbox(array(CrayonSettings::BACKQUOTE, crayon__('Capture `backquotes` as &lt;code&gt;') . self::help_button('http://bit.ly/yFafFL')));
1096
  self::checkbox(array(CrayonSettings::CAPTURE_PRE, crayon__('Capture &lt;pre&gt; tags as Crayons') . self::help_button('http://bit.ly/rRZuzk')));
1097
 
@@ -1185,7 +1204,9 @@ class Human {
1185
  $date = $CRAYON_DATE;
1186
  $developer = '<strong>' . crayon__('Developer') . ':</strong> ' . '<a href="' . $CRAYON_AUTHOR_SITE . '" target="_blank">' . $CRAYON_AUTHOR . '</a>';
1187
  $translators = '<strong>' . crayon__('Translators') . ':</strong> ' .
1188
- 'Chinese (<a href="http://smerpup.com/" target="_blank">Dezhi Liu</a>, <a href="http://neverno.me/" target="_blank">Jash Yin</a>),
 
 
1189
  Dutch (<a href="https://twitter.com/#!/chilionsnoek" target="_blank">Chilion Snoek</a>),
1190
  French (<a href="http://tech.dupeu.pl" target="_blank">Victor Felder</a>),
1191
  German (<a href="http://www.technologyblog.de/" target="_blank">Stephan Knau&#223;</a>),
74
 
75
  public static function admin_styles() {
76
  global $CRAYON_VERSION;
77
+ if (CRAYON_MINIFY) {
78
+ wp_enqueue_style('crayon', plugins_url(CRAYON_STYLE_MIN, __FILE__), array('editor-buttons'), $CRAYON_VERSION);
79
+ } else {
80
+ wp_enqueue_style('crayon', plugins_url(CRAYON_STYLE, __FILE__), array(), $CRAYON_VERSION);
81
+ wp_enqueue_style('crayon_global', plugins_url(CRAYON_STYLE_GLOBAL, __FILE__), array(), $CRAYON_VERSION);
82
+ wp_enqueue_style('crayon_admin', plugins_url(CRAYON_STYLE_ADMIN, __FILE__), array('editor-buttons'), $CRAYON_VERSION);
83
+ }
84
  }
85
 
86
  public static function admin_scripts() {
87
  global $CRAYON_VERSION;
88
+
89
+ if (CRAYON_MINIFY) {
90
+ CrayonWP::enqueue_resources();
91
+ } else {
92
+ wp_enqueue_script('crayon_util_js', plugins_url(CRAYON_JS_UTIL, __FILE__), array('jquery'), $CRAYON_VERSION);
93
+ self::other_scripts();
94
+ }
95
+
96
  self::init_js_settings();
97
+
98
  if (is_admin()) {
99
+ wp_enqueue_script('crayon_admin_js', plugins_url(CRAYON_JS_ADMIN, __FILE__), array('jquery', 'crayon_js_min', 'wpdialogs', 'wpdialogs-popup'), $CRAYON_VERSION);
100
  self::init_admin_js_settings();
101
  }
 
102
  }
103
 
104
  public static function other_scripts() {
106
  self::load_settings(TRUE);
107
  $deps = array('jquery', 'crayon_util_js');
108
  if (CrayonGlobalSettings::val(CrayonSettings::POPUP) || is_admin()) {
109
+ // TODO include anyway and minify
110
  wp_enqueue_script('crayon_jquery_popup', plugins_url(CRAYON_JQUERY_POPUP, __FILE__), array('jquery'), $CRAYON_VERSION);
111
  $deps[] = 'crayon_jquery_popup';
112
  }
130
  'orig_value' => CrayonSettings::SETTING_ORIG_VALUE,
131
  'debug' => CRAYON_DEBUG
132
  );
 
133
  }
134
  if (!self::$js_strings) {
135
  self::$js_strings = array(
136
  'copy' => crayon__('Press %s to Copy, %s to Paste'),
137
  'minimize' => crayon__('Click To Expand Code')
138
  );
139
+ }
140
+ if (CRAYON_MINIFY) {
141
+ wp_localize_script('crayon_js_min', 'CrayonSyntaxSettings', self::$js_settings);
142
+ wp_localize_script('crayon_js_min', 'CrayonSyntaxStrings', self::$js_strings);
143
+ } else {
144
+ wp_localize_script('crayon_util_js', 'CrayonSyntaxSettings', self::$js_settings);
145
  wp_localize_script('crayon_util_js', 'CrayonSyntaxStrings', self::$js_strings);
146
  }
147
  }
600
  // These should trigger a refresh of which posts contain crayons, since they affect capturing
601
  CrayonSettings::INLINE_TAG => TRUE,
602
  CrayonSettings::INLINE_TAG_CAPTURE => TRUE,
603
+ CrayonSettings::CODE_TAG_CAPTURE => TRUE,
604
  CrayonSettings::BACKQUOTE => TRUE,
605
  CrayonSettings::CAPTURE_PRE => TRUE,
606
  CrayonSettings::CAPTURE_MINI_TAG => TRUE,
607
  CrayonSettings::PLAIN_TAG => TRUE
608
  );
609
 
 
610
  // Validate inputs
611
  foreach ($inputs as $input => $value) {
612
  // Convert all array setting values to ints
1107
  public static function tags() {
1108
  self::checkbox(array(CrayonSettings::INLINE_TAG, crayon__('Capture Inline Tags') . self::help_button('http://bit.ly/yFafFL')));
1109
  self::checkbox(array(CrayonSettings::INLINE_WRAP, crayon__('Wrap Inline Tags') . self::help_button('http://bit.ly/yFafFL')));
1110
+ self::checkbox(array(CrayonSettings::CODE_TAG_CAPTURE, crayon__('Capture &lt;code&gt; as')), FALSE);
1111
+ echo ' ';
1112
+ self::dropdown(CrayonSettings::CODE_TAG_CAPTURE_TYPE, FALSE);
1113
+ echo self::help_button('http://bit.ly/yFafFL') . '<br/>';
1114
  self::checkbox(array(CrayonSettings::BACKQUOTE, crayon__('Capture `backquotes` as &lt;code&gt;') . self::help_button('http://bit.ly/yFafFL')));
1115
  self::checkbox(array(CrayonSettings::CAPTURE_PRE, crayon__('Capture &lt;pre&gt; tags as Crayons') . self::help_button('http://bit.ly/rRZuzk')));
1116
 
1204
  $date = $CRAYON_DATE;
1205
  $developer = '<strong>' . crayon__('Developer') . ':</strong> ' . '<a href="' . $CRAYON_AUTHOR_SITE . '" target="_blank">' . $CRAYON_AUTHOR . '</a>';
1206
  $translators = '<strong>' . crayon__('Translators') . ':</strong> ' .
1207
+ '
1208
+ Arabic (<a href="http://djennadhamza.eb2a.com/" target="_blank">Djennad Hamza</a>),
1209
+ Chinese (<a href="http://smerpup.com/" target="_blank">Dezhi Liu</a>, <a href="http://neverno.me/" target="_blank">Jash Yin</a>),
1210
  Dutch (<a href="https://twitter.com/#!/chilionsnoek" target="_blank">Chilion Snoek</a>),
1211
  French (<a href="http://tech.dupeu.pl" target="_blank">Victor Felder</a>),
1212
  German (<a href="http://www.technologyblog.de/" target="_blank">Stephan Knau&#223;</a>),
crayon_wp.class.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Crayon Syntax Highlighter
4
  Plugin URI: http://aramk.com/projects/crayon-syntax-highlighter
5
  Description: Supports multiple languages, themes, highlighting from a URL, local file or post text.
6
- Version: 2.1.3
7
  Author: Aram Kocharyan
8
  Author URI: http://aramk.com/
9
  Text Domain: crayon-syntax-highlighter
@@ -74,6 +74,7 @@ class CrayonWP {
74
  private static $legacy_flags = NULL;
75
 
76
  // Used to detect the shortcode
 
77
  const REGEX_CLOSED = '(?:\[\s*crayon(?:-(\w+))?\b([^\]]*)/\s*\])'; // [crayon atts="" /]
78
  const REGEX_TAG = '(?:\[\s*crayon(?:-(\w+))?\b([^\]]*)\](.*?)\[\s*/\s*crayon\s*\])'; // [crayon atts=""] ... [/crayon]
79
  const REGEX_INLINE_CLASS = '\bcrayon-inline\b';
@@ -127,8 +128,7 @@ class CrayonWP {
127
  CrayonLog::debug('shortcode');
128
 
129
  // Load attributes from shortcode
130
- $allowed_atts = array('url' => NULL, 'lang' => NULL, 'title' => NULL, 'mark' => NULL, 'range' => NULL, 'inline' => NULL);
131
- $filtered_atts = shortcode_atts($allowed_atts, $atts);
132
 
133
  // Clean attributes
134
  $keys = array_keys($filtered_atts);
@@ -143,7 +143,7 @@ class CrayonWP {
143
  // Contains all other attributes not found in allowed, used to override global settings
144
  $extra_attr = array();
145
  if (!empty($atts)) {
146
- $extra_attr = array_diff_key($atts, $allowed_atts);
147
  $extra_attr = CrayonSettings::smart_settings($extra_attr);
148
  }
149
  $url = $lang = $title = $mark = $range = $inline = '';
@@ -188,10 +188,10 @@ class CrayonWP {
188
  }
189
 
190
  /* For manually highlighting code, useful for other PHP contexts */
191
- public static function highlight($code) {
192
  $captures = CrayonWP::capture_crayons(0, $code);
193
  $the_captures = $captures['capture'];
194
- if (count($the_captures) == 0) {
195
  // Nothing captured, so wrap in a pre and try again
196
  $code = '<pre>' . $code . '</pre>';
197
  $captures = CrayonWP::capture_crayons(0, $code);
@@ -267,15 +267,18 @@ class CrayonWP {
267
  $wp_content = preg_replace('#(?<!\$)\[\s*(' . self::$alias_regex . ')\b([^\]]*)/\s*\](?!\$)#msi', '[crayon lang="\1" \2 /]', $wp_content);
268
  }
269
 
 
 
 
 
 
 
 
270
  if ((CrayonGlobalSettings::val(CrayonSettings::INLINE_TAG) || $skip_setting_check) && $in_flag[CrayonSettings::INLINE_TAG]) {
271
  if (CrayonGlobalSettings::val(CrayonSettings::INLINE_TAG_CAPTURE)) {
272
  // Convert inline {php}{/php} tags to crayon tags, if needed
273
  $wp_content = preg_replace('#(?<!\$)\{\s*(' . self::$alias_regex . ')\b([^\}]*)\}(.*?)\{/(?:\1)\}(?!\$)#msi', '[crayon lang="\1" inline="true" \2]\3[/crayon]', $wp_content);
274
  }
275
- // Convert <code> to inline tags
276
- if (CrayonGlobalSettings::val(CrayonSettings::INLINE_CODE_TAG_CAPTURE)) {
277
- $wp_content = preg_replace('#<(\s*code\b)([^>]*)>(.*?)</\1[^>]*>#msi', '[crayon inline="true" \2]\3[/crayon]', $wp_content);
278
- }
279
  // Convert <span class="crayon-inline"> tags to inline crayon tags
280
  $wp_content = preg_replace_callback('#(?<!\$)<\s*span([^>]*)\bclass\s*=\s*(["\'])(.*?)\2([^>]*)>(.*?)<\s*/\s*span\s*>#msi', 'CrayonWP::span_tag', $wp_content);
281
  }
@@ -482,7 +485,8 @@ class CrayonWP {
482
  continue;
483
  }
484
  // Capture comment Crayons, decode their contents if decode not specified
485
- $captures = self::capture_crayons($comment->comment_ID, $comment->comment_content, array(CrayonSettings::DECODE => TRUE));
 
486
  self::$comment_captures[$id_str] = $captures['content'];
487
  if ($captures['has_captured'] === TRUE) {
488
  self::$comment_queue[$id_str] = array();
@@ -507,19 +511,29 @@ class CrayonWP {
507
  return self::$next_id++;
508
  }
509
 
510
- private static function enqueue_resources() {
511
  if (!self::$enqueued) {
 
512
  CrayonLog::debug('enqueue');
513
  global $CRAYON_VERSION;
514
- wp_enqueue_style('crayon_style', plugins_url(CRAYON_STYLE, __FILE__), array(), $CRAYON_VERSION);
515
- wp_enqueue_style('crayon_global_style', plugins_url(CRAYON_STYLE_GLOBAL, __FILE__), array(), $CRAYON_VERSION);
516
- wp_enqueue_script('crayon_util_js', plugins_url(CRAYON_JS_UTIL, __FILE__), array('jquery'), $CRAYON_VERSION);
517
- CrayonSettingsWP::other_scripts();
 
 
 
 
 
518
  CrayonSettingsWP::init_js_settings();
519
  self::$enqueued = TRUE;
520
  }
521
  }
522
 
 
 
 
 
523
  private static function init_tags_regex($force = FALSE, $flags = NULL, &$tags_regex = NULL) {
524
  self::init_tag_bits();
525
 
@@ -874,9 +888,6 @@ class CrayonWP {
874
  CrayonSettingsWP::remove_post($postID, $save);
875
  CrayonSettingsWP::remove_legacy_post($postID, $save);
876
  }
877
- // CrayonLog::syslog($postID, "TEST");
878
- // CrayonSettingsWP::remove_post($postID, $save);
879
- // CrayonSettingsWP::remove_legacy_post($postID, $save);
880
  }
881
 
882
  public static function refresh_posts() {
@@ -1037,7 +1048,6 @@ class CrayonWP {
1037
  public static function scan_comment($comment, $flags = NULL) {
1038
  if ($flags === NULL) {
1039
  self::init_tags_regex();
1040
- // $tags_regex = self::$tags_regex;
1041
  }
1042
  $args = array(
1043
  'ignore' => FALSE,
@@ -1045,16 +1055,13 @@ class CrayonWP {
1045
  'skip_setting_check' => TRUE,
1046
  'just_check' => TRUE
1047
  );
1048
- $captures = self::capture_crayons($comment->comment_ID, $comment->comment_content, array(), $args);
 
1049
  return $captures['has_captured'];
1050
- // if (preg_match($tags_regex, $comment->comment_content)) {
1051
- // return TRUE;
1052
- // } else {
1053
- // return FALSE;
1054
- // }
1055
  }
1056
 
1057
  public static function install() {
 
1058
  self::update();
1059
  }
1060
 
@@ -1222,14 +1229,22 @@ class CrayonWP {
1222
  return $args;
1223
  }
1224
 
 
 
 
 
 
 
 
 
 
 
 
1225
  }
1226
 
1227
  // Only if WP is loaded
1228
  if (defined('ABSPATH')) {
1229
  if (!is_admin()) {
1230
- register_activation_hook(__FILE__, 'CrayonWP::install');
1231
- register_deactivation_hook(__FILE__, 'CrayonWP::uninstall');
1232
-
1233
  // Filters and Actions
1234
 
1235
  add_filter('init', 'CrayonWP::init');
@@ -1250,6 +1265,9 @@ if (defined('ABSPATH')) {
1250
  add_filter('bbp_get_forum_content', 'CrayonWP::highlight', 100);
1251
  add_filter('bbp_get_topic_excerpt', 'CrayonWP::highlight', 100);
1252
 
 
 
 
1253
  if (CrayonGlobalSettings::val(CrayonSettings::COMMENTS)) {
1254
  /* XXX This is called first to match Crayons, then higher priority replaces after other filters.
1255
  Prevents Crayon from being formatted by the filters, and also keeps original comment formatting. */
@@ -1274,6 +1292,8 @@ if (defined('ABSPATH')) {
1274
  add_action('update_post', 'CrayonWP::save_post', 10, 2);
1275
  add_action('save_post', 'CrayonWP::save_post', 10, 2);
1276
  }
 
 
1277
  if (CrayonGlobalSettings::val(CrayonSettings::COMMENTS)) {
1278
  add_action('comment_post', 'CrayonWP::save_comment', 10, 2);
1279
  add_action('edit_comment', 'CrayonWP::save_comment', 10, 2);
3
  Plugin Name: Crayon Syntax Highlighter
4
  Plugin URI: http://aramk.com/projects/crayon-syntax-highlighter
5
  Description: Supports multiple languages, themes, highlighting from a URL, local file or post text.
6
+ Version: 2.2.1
7
  Author: Aram Kocharyan
8
  Author URI: http://aramk.com/
9
  Text Domain: crayon-syntax-highlighter
74
  private static $legacy_flags = NULL;
75
 
76
  // Used to detect the shortcode
77
+ private static $allowed_atts = array('url' => NULL, 'lang' => NULL, 'title' => NULL, 'mark' => NULL, 'range' => NULL, 'inline' => NULL);
78
  const REGEX_CLOSED = '(?:\[\s*crayon(?:-(\w+))?\b([^\]]*)/\s*\])'; // [crayon atts="" /]
79
  const REGEX_TAG = '(?:\[\s*crayon(?:-(\w+))?\b([^\]]*)\](.*?)\[\s*/\s*crayon\s*\])'; // [crayon atts=""] ... [/crayon]
80
  const REGEX_INLINE_CLASS = '\bcrayon-inline\b';
128
  CrayonLog::debug('shortcode');
129
 
130
  // Load attributes from shortcode
131
+ $filtered_atts = shortcode_atts(self::$allowed_atts, $atts);
 
132
 
133
  // Clean attributes
134
  $keys = array_keys($filtered_atts);
143
  // Contains all other attributes not found in allowed, used to override global settings
144
  $extra_attr = array();
145
  if (!empty($atts)) {
146
+ $extra_attr = array_diff_key($atts, self::$allowed_atts);
147
  $extra_attr = CrayonSettings::smart_settings($extra_attr);
148
  }
149
  $url = $lang = $title = $mark = $range = $inline = '';
188
  }
189
 
190
  /* For manually highlighting code, useful for other PHP contexts */
191
+ public static function highlight($code, $add_tags = FALSE) {
192
  $captures = CrayonWP::capture_crayons(0, $code);
193
  $the_captures = $captures['capture'];
194
+ if (count($the_captures) == 0 && $add_tags) {
195
  // Nothing captured, so wrap in a pre and try again
196
  $code = '<pre>' . $code . '</pre>';
197
  $captures = CrayonWP::capture_crayons(0, $code);
267
  $wp_content = preg_replace('#(?<!\$)\[\s*(' . self::$alias_regex . ')\b([^\]]*)/\s*\](?!\$)#msi', '[crayon lang="\1" \2 /]', $wp_content);
268
  }
269
 
270
+ // Convert <code> to inline tags
271
+ if (CrayonGlobalSettings::val(CrayonSettings::CODE_TAG_CAPTURE)) {
272
+ $inline = CrayonGlobalSettings::val(CrayonSettings::CODE_TAG_CAPTURE_TYPE) === 0;
273
+ $inline_setting = $inline ? 'inline="true"' : '';
274
+ $wp_content = preg_replace('#<(\s*code\b)([^>]*)>(.*?)</\1[^>]*>#msi', '[crayon ' . $inline_setting . ' \2]\3[/crayon]', $wp_content);
275
+ }
276
+
277
  if ((CrayonGlobalSettings::val(CrayonSettings::INLINE_TAG) || $skip_setting_check) && $in_flag[CrayonSettings::INLINE_TAG]) {
278
  if (CrayonGlobalSettings::val(CrayonSettings::INLINE_TAG_CAPTURE)) {
279
  // Convert inline {php}{/php} tags to crayon tags, if needed
280
  $wp_content = preg_replace('#(?<!\$)\{\s*(' . self::$alias_regex . ')\b([^\}]*)\}(.*?)\{/(?:\1)\}(?!\$)#msi', '[crayon lang="\1" inline="true" \2]\3[/crayon]', $wp_content);
281
  }
 
 
 
 
282
  // Convert <span class="crayon-inline"> tags to inline crayon tags
283
  $wp_content = preg_replace_callback('#(?<!\$)<\s*span([^>]*)\bclass\s*=\s*(["\'])(.*?)\2([^>]*)>(.*?)<\s*/\s*span\s*>#msi', 'CrayonWP::span_tag', $wp_content);
284
  }
485
  continue;
486
  }
487
  // Capture comment Crayons, decode their contents if decode not specified
488
+ $content = apply_filters('get_comment_text', $comment->comment_content, $comment);
489
+ $captures = self::capture_crayons($comment->comment_ID, $content, array(CrayonSettings::DECODE => TRUE));
490
  self::$comment_captures[$id_str] = $captures['content'];
491
  if ($captures['has_captured'] === TRUE) {
492
  self::$comment_queue[$id_str] = array();
511
  return self::$next_id++;
512
  }
513
 
514
+ public static function enqueue_resources() {
515
  if (!self::$enqueued) {
516
+
517
  CrayonLog::debug('enqueue');
518
  global $CRAYON_VERSION;
519
+ if (CRAYON_MINIFY) {
520
+ wp_enqueue_style('crayon', plugins_url(CRAYON_STYLE_MIN, __FILE__), array(), $CRAYON_VERSION);
521
+ wp_enqueue_script('crayon_js_min', plugins_url(CRAYON_JS_MIN, __FILE__), array('jquery'), $CRAYON_VERSION);
522
+ } else {
523
+ wp_enqueue_style('crayon_style', plugins_url(CRAYON_STYLE, __FILE__), array(), $CRAYON_VERSION);
524
+ wp_enqueue_style('crayon_global_style', plugins_url(CRAYON_STYLE_GLOBAL, __FILE__), array(), $CRAYON_VERSION);
525
+ wp_enqueue_script('crayon_util_js', plugins_url(CRAYON_JS_UTIL, __FILE__), array('jquery'), $CRAYON_VERSION);
526
+ CrayonSettingsWP::other_scripts();
527
+ }
528
  CrayonSettingsWP::init_js_settings();
529
  self::$enqueued = TRUE;
530
  }
531
  }
532
 
533
+ // public static function prevent_resources() {
534
+ // self::$enqueued = TRUE;
535
+ // }
536
+
537
  private static function init_tags_regex($force = FALSE, $flags = NULL, &$tags_regex = NULL) {
538
  self::init_tag_bits();
539
 
888
  CrayonSettingsWP::remove_post($postID, $save);
889
  CrayonSettingsWP::remove_legacy_post($postID, $save);
890
  }
 
 
 
891
  }
892
 
893
  public static function refresh_posts() {
1048
  public static function scan_comment($comment, $flags = NULL) {
1049
  if ($flags === NULL) {
1050
  self::init_tags_regex();
 
1051
  }
1052
  $args = array(
1053
  'ignore' => FALSE,
1055
  'skip_setting_check' => TRUE,
1056
  'just_check' => TRUE
1057
  );
1058
+ $content = apply_filters('get_comment_text', $comment->comment_content, $comment);
1059
+ $captures = self::capture_crayons($comment->comment_ID, $content, array(), $args);
1060
  return $captures['has_captured'];
 
 
 
 
 
1061
  }
1062
 
1063
  public static function install() {
1064
+ self::refresh_posts();
1065
  self::update();
1066
  }
1067
 
1229
  return $args;
1230
  }
1231
 
1232
+ public static function allowed_tags() {
1233
+ global $allowedtags;
1234
+ $tags = array('pre', 'span', 'code');
1235
+ foreach ($tags as $tag) {
1236
+ $current_atts = isset($allowedtags[$tag]) ? $allowedtags[$tag] : array();
1237
+ // TODO data-url isn't recognised by WP
1238
+ $new_atts = array('class' => TRUE, 'title' => TRUE, 'data-url' => TRUE);
1239
+ $allowedtags[$tag] = array_merge($current_atts, $new_atts);
1240
+ }
1241
+ }
1242
+
1243
  }
1244
 
1245
  // Only if WP is loaded
1246
  if (defined('ABSPATH')) {
1247
  if (!is_admin()) {
 
 
 
1248
  // Filters and Actions
1249
 
1250
  add_filter('init', 'CrayonWP::init');
1265
  add_filter('bbp_get_forum_content', 'CrayonWP::highlight', 100);
1266
  add_filter('bbp_get_topic_excerpt', 'CrayonWP::highlight', 100);
1267
 
1268
+ // Allow tags
1269
+ add_action('init', 'CrayonWP::allowed_tags', 11);
1270
+
1271
  if (CrayonGlobalSettings::val(CrayonSettings::COMMENTS)) {
1272
  /* XXX This is called first to match Crayons, then higher priority replaces after other filters.
1273
  Prevents Crayon from being formatted by the filters, and also keeps original comment formatting. */
1292
  add_action('update_post', 'CrayonWP::save_post', 10, 2);
1293
  add_action('save_post', 'CrayonWP::save_post', 10, 2);
1294
  }
1295
+ register_activation_hook(__FILE__, 'CrayonWP::install');
1296
+ register_deactivation_hook(__FILE__, 'CrayonWP::uninstall');
1297
  if (CrayonGlobalSettings::val(CrayonSettings::COMMENTS)) {
1298
  add_action('comment_post', 'CrayonWP::save_comment', 10, 2);
1299
  add_action('edit_comment', 'CrayonWP::save_comment', 10, 2);
css/images/toolbar/arrow_down.png DELETED
Binary file
css/images/toolbar/arrow_down@2x.png DELETED
Binary file
css/images/toolbar/buttons.png ADDED
Binary file
css/images/toolbar/buttons@2x.png ADDED
Binary file
css/images/toolbar/copy.png DELETED
Binary file
css/images/toolbar/copy@2x.png DELETED
Binary file
css/images/toolbar/expand.png DELETED
Binary file
css/images/toolbar/expand@2x.png DELETED
Binary file
css/images/toolbar/nums.png DELETED
Binary file
css/images/toolbar/nums@2x.png DELETED
Binary file
css/images/toolbar/plain.png DELETED
Binary file
css/images/toolbar/plain@2x.png DELETED
Binary file
css/images/toolbar/plus.png DELETED
Binary file
css/images/toolbar/plus@2x.png DELETED
Binary file
css/images/toolbar/popup.png DELETED
Binary file
css/images/toolbar/popup@2x.png DELETED
Binary file
css/images/toolbar/wrap.png DELETED
Binary file
css/images/toolbar/wrap@2x.png DELETED
Binary file
css/min/crayon.min.css ADDED
@@ -0,0 +1 @@
 
1
+ #crayon-main-wrap .form-table th{width:100px}#crayon-log{display:none;max-height:200px;border-color:#dfdfdf;background-color:white;border-width:1px;border-style:solid;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;margin:1px;padding:3px;overflow:auto;white-space:pre;margin-bottom:5px}.crayon-span,.crayon-span-5,.crayon-span-10,.crayon-span-50,.crayon-span-100,.crayon-span-110{line-height:24px;display:inline-block}.crayon-span-5{min-width:5px}.crayon-span-10{min-width:10px}.crayon-span-50{min-width:50px}.crayon-span-100{min-width:100px}.crayon-span-110{min-width:117px}.crayon-span-margin{margin-left:5px}#height_mode,#width_mode{min-width:65px}.crayon-error{color:#F00}.crayon-success{color:#00F}.crayon-warning{color:#ff8000}.crayon-help{min-height:30px;padding:5px 10px}.crayon-help .crayon-help-close,.crayon-help .crayon-help-close:active,.crayon-help .crayon-help-close:hover{text-decoration:none;float:right;color:#000}.crayon-help span,.crayon-help a{margin:0;padding:0;font-size:12px}#crayon-log-text{font:11px/13px Monaco,'MonacoRegular','Courier New',monospace}#crayon-log-controls{float:left;margin-right:5px}.crayon-table{font-size:12px;border:1px solid #999;padding:0;margin:0;margin-top:12px}.crayon-table td{vertical-align:top;border-bottom:1px solid #AAA;padding:0 6px;margin:0;background:#EEE}.crayon-table-light td{background:#f8f8f8}.crayon-table-header td{font-weight:bold;background:#CCC}.crayon-table-last td,.crayon-table tr:last-child td{border:0}#lang-info div{padding:5px 0}.crayon-table .not-parsed{color:#F00}.crayon-table .parsed-with-errors{color:#f90}.crayon-table .successfully-parsed{color:#77a000}#crayon-live-preview,#crayon-log-wrapper{padding:0;width:100%;float:left;clear:both}#crayon-live-preview{float:none;padding:0}#crayon-logo{text-align:center}#crayon-info,#crayon-info td{border:0;padding:0 5px;margin:0}.crayon-admin-button{display:inline-block;text-align:center}#crayon-subsection-langs-info{margin-top:5px}#crayon-theme-editor-admin-buttons{display:inline}#crayon-theme-editor-admin-buttons .crayon-admin-button{margin-left:5px}#crayon-theme-info{display:table;padding:0;margin:0;margin-top:5px}#crayon-theme-info>div{display:table-cell;vertical-align:middle}#crayon-theme-info .content *{float:left}#crayon-theme-info .field{font-weight:bold}#crayon-theme-info .field,#crayon-theme-info .value{margin-left:5px}#crayon-theme-info .description.value{font-style:italic;color:#999}#crayon-theme-info .type{text-align:center;min-width:120px;font-weight:bold;border-right:1px solid #ccc;padding-right:5px}#crayon-theme-info .type.stock{color:#666}#crayon-theme-info .type.user{color:#5b9a00}#crayon-editor-table td{vertical-align:top}.small-icon{width:24px;height:24px;display:inline-block;margin:5px 5px 0 0}#twitter-icon{background:url(../images/twitter.png)}#gmail-icon{background:url(../images/google.png)}#docs-icon{background:url(../images/docs.png)}#git-icon{background:url(../images/github.png)}#wp-icon{background:url(../images/wordpress-blue.png)}#donate-icon{background:url(../images/donate.png);width:75px}#crayon-donate,#crayon-donate input{margin:0;display:inline;padding:0}#crayon-theme-editor-info a{text-decoration:none!important;font-style:italic!important;color:#666!important}.note{font-style:italic;color:#999}#crayon-change-code-text{width:400px;height:300px}.crayon-syntax{overflow:hidden!important;position:relative!important;direction:ltr;text-align:left;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.crayon-syntax div{background:0;border:0;padding:0;margin:0;text-align:left}.crayon-syntax.crayon-loading{visibility:hidden}.crayon-syntax,.crayon-syntax .crayon-main,.crayon-syntax .crayon-toolbar,.crayon-syntax .crayon-info,.crayon-syntax .crayon-plain,.crayon-syntax .crayon-code{width:100%}.crayon-syntax .crayon-main,.crayon-syntax .crayon-plain{overflow:auto}.crayon-syntax,.crayon-syntax .crayon-main,.crayon-syntax .crayon-plain,.crayon-syntax .crayon-table{padding:0;margin:0}.crayon-syntax-inline{margin:0 2px;padding:0 2px}.crayon-syntax .crayon-table{border:none!important;background:none!important;padding:0!important;margin-top:0!important;margin-right:0!important;margin-bottom:0!important;width:auto!important;border-spacing:0!important;border-collapse:collapse!important}.crayon-syntax .crayon-table td,.crayon-syntax .crayon-table tr{padding:0!important;border:none!important;background:0;vertical-align:top!important;margin:0!important}.crayon-syntax .crayon-invisible{display:none!important}.crayon-plain-tag{margin-bottom:12px}.crayon-popup .crayon-plain{display:block!important;width:100%!important;height:100%!important;opacity:100!important;position:relative!important}.crayon-popup-window{background:#fff}.crayon-syntax .crayon-num{text-align:center;padding:0 5px;margin:0}.crayon-syntax .crayon-toolbar{position:relative;overflow:hidden;z-index:4}.crayon-syntax .crayon-info{position:absolute;overflow:hidden;display:none;z-index:3;padding:0;min-height:18px;line-height:18px}.crayon-syntax .crayon-info div{padding:2px!important;text-align:center}.crayon-syntax .crayon-toolbar span{padding:0 4px!important}.crayon-syntax .crayon-toolbar .crayon-button{display:inline;float:left!important;position:relative;width:24px;background-repeat:no-repeat;line-height:15px;border:0;text-decoration:none}.crayon-toolbar .crayon-button,.crayon-toolbar .crayon-button:hover,.crayon-toolbar .crayon-button.crayon-pressed:hover{background-position:0 center}.crayon-toolbar .crayon-button.crayon-pressed,.crayon-toolbar .crayon-button:active,.crayon-toolbar .crayon-button.crayon-pressed:active{background-position:-24px 0}.crayon-toolbar .crayon-button.crayon-popup-button .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-popup-button:hover .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-popup-button.crayon-pressed:hover .crayon-button-icon{background-position:0 0}.crayon-toolbar .crayon-button.crayon-copy-button .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-copy-button:hover .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-copy-button.crayon-pressed:hover .crayon-button-icon{background-position:0 -16px}.crayon-toolbar .crayon-button.crayon-nums-button .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-nums-button:hover .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-nums-button.crayon-pressed:hover .crayon-button-icon{background-position:0 -32px}.crayon-toolbar .crayon-button.crayon-plain-button .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-plain-button:hover .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-plain-button.crayon-pressed:hover .crayon-button-icon{background-position:0 -48px}.crayon-toolbar .crayon-button.crayon-mixed-button .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-mixed-button:hover .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-mixed-button.crayon-pressed:hover .crayon-button-icon{background-position:0 -64px}.crayon-toolbar .crayon-button.crayon-minimize .crayon-button-icon{background-position:0 -80px;background-color:transparent!important}.crayon-toolbar .crayon-button.crayon-expand-button .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-expand-button:hover .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-expand-button.crayon-pressed:hover .crayon-button-icon{background-position:0 -96px}.crayon-toolbar .crayon-button.crayon-wrap-button .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-wrap-button:hover .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-wrap-button.crayon-pressed:hover .crayon-button-icon{background-position:0 -112px}.crayon-toolbar .crayon-button.crayon-popup-button.crayon-pressed .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-popup-button:active .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-popup-button.crayon-pressed:active .crayon-button-icon{background-position:-24px 0}.crayon-toolbar .crayon-button.crayon-copy-button.crayon-pressed .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-copy-button:active .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-copy-button.crayon-pressed:active .crayon-button-icon{background-position:-24px -16px}.crayon-toolbar .crayon-button.crayon-nums-button.crayon-pressed .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-nums-button:active .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-nums-button.crayon-pressed:active .crayon-button-icon{background-position:-24px -32px}.crayon-toolbar .crayon-button.crayon-plain-button.crayon-pressed .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-plain-button:active .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-plain-button.crayon-pressed:active .crayon-button-icon{background-position:-24px -48px}.crayon-toolbar .crayon-button.crayon-mixed-button.crayon-pressed .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-mixed-button:active .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-mixed-button.crayon-pressed:active .crayon-button-icon{background-position:-24px -64px}.crayon-toolbar .crayon-button.crayon-minimize .crayon-button-icon{background-position:-24px -80px;background-color:transparent!important}.crayon-toolbar .crayon-button.crayon-expand-button.crayon-pressed .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-expand-button:active .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-expand-button.crayon-pressed:active .crayon-button-icon{background-position:-24px -96px}.crayon-toolbar .crayon-button.crayon-wrap-button.crayon-pressed .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-wrap-button:active .crayon-button-icon,.crayon-toolbar .crayon-button.crayon-wrap-button.crayon-pressed:active .crayon-button-icon{background-position:-24px -112px}.crayon-syntax .crayon-toolbar .crayon-language{padding-right:8px!important}.crayon-syntax .crayon-title,.crayon-syntax .crayon-language{float:left}.crayon-main::-webkit-scrollbar,.crayon-plain::-webkit-scrollbar{height:6px;overflow:visible;width:6px;background:#EEE}.crayon-main::-webkit-scrollbar-thumb,.crayon-plain::-webkit-scrollbar-thumb{background-color:#CCC;background-clip:padding-box;border:1px solid #AAA;box-shadow:inset 0 0 2px #999;min-height:8px;padding:0;border-width:1px}.crayon-main::-webkit-scrollbar-button,.crayon-plain::-webkit-scrollbar-button{height:0;width:0;padding:0}.crayon-main::-webkit-scrollbar-track,.crayon-plain::-webkit-scrollbar-track{background-clip:padding-box;border:solid transparent;border-width:0 0 0 4px;border:1px solid #BBB;border-right:0;border-bottom:0}.crayon-main::-webkit-scrollbar-corner,.crayon-plain::-webkit-scrollbar-corner{background:#EEE}.crayon-main::-webkit-scrollbar-thumb:hover,.crayon-plain::-webkit-scrollbar-thumb:hover{background:#AAA;border:1px solid #777;box-shadow:inset 0 0 2px #777}.crayon-syntax .crayon-pre,.crayon-syntax pre{color:#000;white-space:pre;margin:0;padding:0;overflow:visible;background:none!important;border:none!important}.crayon-syntax .crayon-line{padding:0 5px}.crayon-syntax.crayon-wrapped .crayon-line{white-space:pre-wrap!important}.crayon-syntax-inline .crayon-pre,.crayon-syntax-inline pre{white-space:normal}.crayon-syntax-inline-nowrap .crayon-pre,.crayon-syntax-inline-nowrap pre{white-space:pre}.crayon-syntax{font-family:Monaco,'MonacoRegular','Courier New',monospace;font-weight:500}.crayon-syntax.crayon-wrapped .crayon-line{height:auto}.crayon-syntax .crayon-num,.crayon-syntax .crayon-pre .crayon-line,.crayon-syntax .crayon-toolbar *,.crayon-syntax .crayon-pre *{font-family:inherit;font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;height:inherit!important}.crayon-syntax .crayon-toolbar .crayon-button .crayon-button-icon{background-image:url('../images/toolbar/buttons.png');height:16px!important;width:100%;position:absolute;left:0;top:50%;margin-top:-8px}.crayon-syntax .crayon-pre .crayon-line span{display:inline-block;*display:inline;zoom:1}.crayon-syntax .crayon-toolbar .crayon-tools{position:absolute;right:0}.crayon-syntax.crayon-expanded{position:absolute!important;margin:0!important}.crayon-syntax.crayon-expanded .crayon-main{overflow:hidden!important}.crayon-placeholder{width:100%!important}.crayon-toolbar-visible .crayon-toolbar{position:relative!important;margin-top:0!important;display:block!important}.crayon-syntax.crayon-expanded .crayon-toolbar .crayon-tools{position:relative;right:auto;float:left!important}.crayon-syntax .crayon-plain-wrap{height:auto!important;padding:0!important;margin:0!important}.crayon-syntax .crayon-plain{width:100%;height:100%;position:absolute;opacity:0;padding:0 5px;margin:0;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-shadow:none;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;white-space:pre;word-wrap:normal;overflow:auto;resize:none;color:#000;background:#FFF}.crayon-wrapped .crayon-plain{white-space:pre-wrap}.bbp-body .crayon-syntax{clear:none!important}.crayon-minimized .crayon-toolbar{cursor:pointer}.crayon-minimized .crayon-plain-wrap,.crayon-minimized .crayon-main,.crayon-minimized .crayon-toolbar .crayon-tools *{display:none!important}.crayon-minimized .crayon-toolbar .crayon-tools .crayon-minimize{display:block!important}.crayon-minimized .crayon-toolbar{position:relative!important}.crayon-syntax.crayon-minimized .crayon-toolbar{border-bottom:none!important}/*! fancyBox v2.1.0 fancyapps.com | fancyapps.com/fancybox/#license */.fancybox-wrap,.fancybox-skin,.fancybox-outer,.fancybox-inner,.fancybox-image,.fancybox-wrap iframe,.fancybox-wrap object,.fancybox-nav,.fancybox-nav span,.fancybox-tmp{padding:0;margin:0;border:0;outline:0;vertical-align:top}.fancybox-wrap{position:absolute;top:0;left:0;z-index:8020}.fancybox-skin{position:relative;background:#f9f9f9;color:#444;text-shadow:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fancybox-opened{z-index:8030}.fancybox-opened .fancybox-skin{-webkit-box-shadow:0 10px 25px rgba(0,0,0,0.5);-moz-box-shadow:0 10px 25px rgba(0,0,0,0.5);box-shadow:0 10px 25px rgba(0,0,0,0.5)}.fancybox-outer,.fancybox-inner{position:relative}.fancybox-inner{overflow:hidden}.fancybox-type-iframe .fancybox-inner{-webkit-overflow-scrolling:touch}.fancybox-error{color:#444;font:14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;margin:0;padding:15px;white-space:nowrap}.fancybox-image,.fancybox-iframe{display:block;width:100%;height:100%}.fancybox-image{max-width:100%;max-height:100%}#fancybox-loading,.fancybox-close,.fancybox-prev span,.fancybox-next span{background-image:url('../../js/fancybox/fancybox_sprite.png')}#fancybox-loading{position:fixed;top:50%;left:50%;margin-top:-22px;margin-left:-22px;background-position:0 -108px;opacity:.8;cursor:pointer;z-index:8060}#fancybox-loading div{width:44px;height:44px;background:url('../../js/fancybox/fancybox_loading.gif') center center no-repeat}.fancybox-close{position:absolute;top:-18px;right:-18px;width:36px;height:36px;cursor:pointer;z-index:8040}.fancybox-nav{position:absolute;top:0;width:40%;height:100%;cursor:pointer;text-decoration:none;background:transparent url('../../js/fancybox/blank.gif');-webkit-tap-highlight-color:rgba(0,0,0,0);z-index:8040}.fancybox-prev{left:0}.fancybox-next{right:0}.fancybox-nav span{position:absolute;top:50%;width:36px;height:34px;margin-top:-18px;cursor:pointer;z-index:8040;visibility:hidden}.fancybox-prev span{left:10px;background-position:0 -36px}.fancybox-next span{right:10px;background-position:0 -72px}.fancybox-nav:hover span{visibility:visible}.fancybox-tmp{position:absolute;top:-9999px;left:-9999px;visibility:hidden}.fancybox-lock{overflow:hidden}.fancybox-overlay{position:absolute;top:0;left:0;overflow:hidden;display:none;z-index:8010;background:url('../../js/fancybox/fancybox_overlay.png') repeat}.fancybox-overlay-fixed{position:fixed;bottom:0;right:0}.fancybox-lock .fancybox-overlay{overflow:auto;overflow-y:scroll}.fancybox-title{visibility:hidden;font:normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;position:relative;text-shadow:none;z-index:8050}.fancybox-opened .fancybox-title{visibility:visible}.fancybox-title-float-wrap{position:absolute;bottom:0;right:50%;margin-bottom:-35px;z-index:8050;text-align:center}.fancybox-title-float-wrap .child{display:inline-block;margin-right:-100%;padding:2px 20px;background:transparent;background:rgba(0,0,0,0.8);-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;text-shadow:0 1px 2px #222;color:#FFF;font-weight:bold;line-height:24px;white-space:nowrap}.fancybox-title-outside-wrap{position:relative;margin-top:10px;color:#fff}.fancybox-title-inside-wrap{padding-top:10px}.fancybox-title-over-wrap{position:absolute;bottom:0;left:0;color:#fff;padding:10px;background:#000;background:rgba(0,0,0,.8)}.crayon-te *,#crayon-te-bar-content{font-family:"Lucida Grande",Arial,sans-serif!important;font-size:12px}.crayon-te input[type="text"],.crayon-te textarea{background:#f9f9f9;border:1px solid #CCC;box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);-moz-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);-webkit-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);padding:2px 4px;-webkit-border-radius:3px;border-radius:3px;border-width:1px;border-style:solid}.crayon-te #crayon-code{font-family:monospace!important}#crayon-te-content,#crayon-te-table{width:100%;height:auto!important}#crayon-range,#crayon-mark{width:100px}#crayon-te-table th,#crayon-te-table td{vertical-align:top;text-align:left}#crayon-te-table .crayon-tr-center td,#crayon-te-table .crayon-tr-center th{vertical-align:middle}#crayon-te-table .crayon-nowrap{white-space:nowrap}#crayon-te-bar-content{border:1px solid #666;border-bottom:0;height:26px;line-height:25px;padding:0 8px;padding-right:0;background-color:#222;color:#cfcfcf}#crayon-te-bar-content a{line-height:25px;padding:5px 10px;color:#DDD;font-weight:bold;text-decoration:none!important}#crayon-te-bar-content a:hover{color:#FFF}.crayon-te-seperator{color:#666;margin:0;padding:0}#crayon-te-bar-block{height:34px;width:100%}#crayon-te-title{float:left}#crayon-te-controls{float:right}#crayon-url-th{vertical-align:top!important;padding-top:5px}.crayon-te-heading{font-size:14px;font-weight:bold}#crayon-te-settings-info{text-align:center}.crayon-te-section{font-weight:bold;padding:0 10px}#crayon-te-sub-section{margin-left:10px}#crayon-te-sub-section .crayon-te-section{font-weight:normal;padding:0}#crayon-code{height:200px;white-space:pre}#crayon-code,#crayon-url{width:555px!important}.crayon-disabled{background:#EEE!important}.mce_crayon_tinymce_highlight,.qt_crayon_highlight{border:1px solid #7c9dde!important}.qt_crayon_highlight{background-image:-ms-linear-gradient(bottom,#daf2ff,white)!important;background-image:-moz-linear-gradient(bottom,#daf2ff,white)!important;background-image:-o-linear-gradient(bottom,#daf2ff,white)!important;background-image:-webkit-linear-gradient(bottom,#daf2ff,white)!important;background-image:linear-gradient(bottom,#daf2ff,white)!important}.qt_crayon_highlight:hover{background:#ddebf2!important}.wp_themeSkin .mceButtonEnabled:hover span.mce_crayon_tinymce,.wp_themeSkin .mceButtonActive span.mce_crayon_tinymce{background-position:-20px 0}#crayon-te-table{padding:10px;border-collapse:separate!important;border-spacing:2px!important}#crayon-te-table th{width:100px}#crayon-te-clear{margin-left:10px;color:#666;background-color:#f4f4f4;border:1px solid #CCC;border-radius:3px;margin-left:8px}#crayon-title{width:360px}#TB_window.crayon-te-ajax{overflow:auto!important}#TB_window.crayon-te-ajax,#TB_window.crayon-te-ajax #TB_ajaxContent,#TB_window.crayon-te-ajax #TB_title{width:680px!important}#TB_window.crayon-te-ajax #TB_ajaxContent{padding:0!important;margin:0!important;width:100%!important;height:auto!important;margin-top:28px!important}#TB_window.crayon-te-ajax #TB_title{position:fixed!important}#TB_window.crayon-te-ajax #TB_title .crayon-te-submit{margin-top:3px!important;float:right!important}#TB_window.crayon-te-ajax a{color:#2587e2;text-decoration:none}#TB_window.crayon-te-ajax a:hover{color:#499ce9}.crayon-te-quote{background:#DDD;padding:0 2px}#crayon-te-submit-wrapper{display:none}#crayon-te-clear{display:none;margin:0;margin-top:10px}.crayon-syntax-pre{background:red;white-space:pre;overflow:auto;display:block;word-wrap:break-word}.crayon-question{padding:1px 4px!important;background:#83b3cb!important;text-decoration:none!important;color:white!important;border-radius:10px!important;height:15px!important;width:15px!important}.crayon-setting-changed,.crayon-setting-selected{background:#fffaad!important}.crayon-question:hover{color:white;background:#a6d6ef}#crayon-te-warning{display:none}.crayon-te-info{padding:5px!important;margin:2px 0!important}#crayon-te-submit{margin-bottom:5px}.wp_themeSkin span.mce_crayon_tinymce{background:url(../images/crayon_tinymce.png)}
css/minify.sh ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ BASEDIR=$(dirname $0)
3
+ cd $BASEDIR
4
+
5
+ source ../util/minify.sh
6
+
7
+ NEWPATH=../$FANCY_PATH/
8
+ FANCY_CSS=$FANCY_PATH/jquery.fancybox.css
9
+ FANCY_CSS_REPL=$FANCY_CSS.repl
10
+ test=`cat $FANCY_CSS`
11
+ URL="url('"
12
+ echo "${test//$URL/$URL$NEWPATH}" > $FANCY_CSS_REPL
13
+
14
+ minify $INPUT_PATH/admin_style.css $INPUT_PATH/crayon_style.css $FANCY_CSS_REPL $INPUT_PATH/global_style.css $OUTPUT_PATH/crayon.min.css
15
+
16
+ rm $FANCY_CSS_REPL
css/{admin_style.css → src/admin_style.css} RENAMED
@@ -241,23 +241,23 @@
241
  }
242
 
243
  #twitter-icon {
244
- background: url(images/twitter.png);
245
  }
246
  #gmail-icon {
247
- background: url(images/google.png);
248
  }
249
  #docs-icon {
250
- background: url(images/docs.png);
251
  }
252
  #git-icon {
253
- background: url(images/github.png);
254
  }
255
  #wp-icon {
256
- background: url(images/wordpress-blue.png);
257
  }
258
 
259
  #donate-icon {
260
- background: url(images/donate.png);
261
  width: 75px;
262
  }
263
 
241
  }
242
 
243
  #twitter-icon {
244
+ background: url(../images/twitter.png);
245
  }
246
  #gmail-icon {
247
+ background: url(../images/google.png);
248
  }
249
  #docs-icon {
250
+ background: url(../images/docs.png);
251
  }
252
  #git-icon {
253
+ background: url(../images/github.png);
254
  }
255
  #wp-icon {
256
+ background: url(../images/wordpress-blue.png);
257
  }
258
 
259
  #donate-icon {
260
+ background: url(../images/donate.png);
261
  width: 75px;
262
  }
263
 
css/{crayon_style.css → src/crayon_style.css} RENAMED
@@ -147,12 +147,12 @@ coloring etc.
147
  text-align: center;
148
  }
149
 
150
- .crayon-syntax .crayon-toolbar,
151
- .crayon-syntax .crayon-toolbar * {
152
- height: 18px;
153
- line-height: 18px;
154
- padding: 0px;
155
- }
156
 
157
  .crayon-syntax .crayon-toolbar span {
158
  padding: 0 4px !important;
@@ -161,6 +161,7 @@ coloring etc.
161
  .crayon-syntax .crayon-toolbar .crayon-button {
162
  display: inline;
163
  float: left !important;
 
164
  width: 24px;
165
  background-repeat: no-repeat;
166
  /*height: 16px;*/
@@ -182,53 +183,103 @@ coloring etc.
182
  .crayon-toolbar .crayon-button.crayon-pressed,
183
  .crayon-toolbar .crayon-button:active,
184
  .crayon-toolbar .crayon-button.crayon-pressed:active {
185
- background-position: -24px center;
 
 
 
 
 
 
186
  }
187
 
188
- /* Plain Button */
189
- .crayon-toolbar .crayon-button.crayon-plain-button {
190
- background-image: url('images/toolbar/plain.png');
 
191
  }
192
 
193
- /* Wrap Button */
194
- .crayon-toolbar .crayon-button.crayon-wrap-button {
195
- background-image: url('images/toolbar/wrap.png');
 
196
  }
197
 
198
- /* Expand Button */
199
- .crayon-toolbar .crayon-button.crayon-expand-button {
200
- background-image: url('images/toolbar/expand.png');
 
201
  }
202
 
203
- /* Click to Expand */
204
- .crayon-toolbar .crayon-button.crayon-minimize {
205
- background-image: url('images/toolbar/arrow_down.png');
 
 
 
 
 
206
  background-color: transparent !important;
207
  }
208
 
209
- /* Copy Button */
210
- .crayon-toolbar .crayon-button.crayon-copy-button {
211
- background-image: url('images/toolbar/copy.png');
 
212
  }
213
 
214
- /* Popup Button */
215
- .crayon-toolbar .crayon-button.crayon-popup-button {
216
- background-image: url('images/toolbar/popup.png');
 
217
  }
218
 
219
- /* Nums Button */
220
- .crayon-toolbar .crayon-button.crayon-nums-button {
221
- background-image: url('images/toolbar/nums.png');
 
 
 
222
  }
223
 
224
- /* Plus Sign */
225
- .crayon-syntax .crayon-toolbar .crayon-mixed-highlight {
226
- background-image: url('images/toolbar/plus.png');
227
- /* background-position: center;*/
228
- background-position: 0px center;
229
- background-repeat: no-repeat;
230
- float: left;
231
- min-width: 15px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
  }
233
 
234
  /* Language */
@@ -302,6 +353,7 @@ coloring etc.
302
  /* Code ============================ */
303
  .crayon-syntax .crayon-pre,
304
  .crayon-syntax pre {
 
305
  white-space: pre;
306
  margin: 0;
307
  padding: 0;
@@ -366,6 +418,16 @@ This has been disabled to allow more flexibility in changing font sizes.
366
  height: inherit !important;
367
  }
368
 
 
 
 
 
 
 
 
 
 
 
369
  .crayon-syntax .crayon-pre .crayon-line span {
370
  display: inline-block;
371
  *display: inline;
@@ -393,7 +455,6 @@ This has been disabled to allow more flexibility in changing font sizes.
393
 
394
  .crayon-placeholder {
395
  width: 100% !important;
396
- /*background: red;*/
397
  }
398
 
399
  .crayon-toolbar-visible .crayon-toolbar {
147
  text-align: center;
148
  }
149
 
150
+ /*.crayon-syntax .crayon-toolbar,*/
151
+ /*.crayon-syntax .crayon-toolbar * {*/
152
+ /*height: 18px;*/
153
+ /*line-height: 18px;*/
154
+ /*padding: 0px;*/
155
+ /*}*/
156
 
157
  .crayon-syntax .crayon-toolbar span {
158
  padding: 0 4px !important;
161
  .crayon-syntax .crayon-toolbar .crayon-button {
162
  display: inline;
163
  float: left !important;
164
+ position: relative;
165
  width: 24px;
166
  background-repeat: no-repeat;
167
  /*height: 16px;*/
183
  .crayon-toolbar .crayon-button.crayon-pressed,
184
  .crayon-toolbar .crayon-button:active,
185
  .crayon-toolbar .crayon-button.crayon-pressed:active {
186
+ background-position: -24px 0;
187
+ }
188
+
189
+ .crayon-toolbar .crayon-button.crayon-popup-button .crayon-button-icon,
190
+ .crayon-toolbar .crayon-button.crayon-popup-button:hover .crayon-button-icon,
191
+ .crayon-toolbar .crayon-button.crayon-popup-button.crayon-pressed:hover .crayon-button-icon {
192
+ background-position: 0 0;
193
  }
194
 
195
+ .crayon-toolbar .crayon-button.crayon-copy-button .crayon-button-icon,
196
+ .crayon-toolbar .crayon-button.crayon-copy-button:hover .crayon-button-icon,
197
+ .crayon-toolbar .crayon-button.crayon-copy-button.crayon-pressed:hover .crayon-button-icon {
198
+ background-position: 0 -16px;
199
  }
200
 
201
+ .crayon-toolbar .crayon-button.crayon-nums-button .crayon-button-icon,
202
+ .crayon-toolbar .crayon-button.crayon-nums-button:hover .crayon-button-icon,
203
+ .crayon-toolbar .crayon-button.crayon-nums-button.crayon-pressed:hover .crayon-button-icon {
204
+ background-position: 0 -32px;
205
  }
206
 
207
+ .crayon-toolbar .crayon-button.crayon-plain-button .crayon-button-icon,
208
+ .crayon-toolbar .crayon-button.crayon-plain-button:hover .crayon-button-icon,
209
+ .crayon-toolbar .crayon-button.crayon-plain-button.crayon-pressed:hover .crayon-button-icon {
210
+ background-position: 0 -48px;
211
  }
212
 
213
+ .crayon-toolbar .crayon-button.crayon-mixed-button .crayon-button-icon,
214
+ .crayon-toolbar .crayon-button.crayon-mixed-button:hover .crayon-button-icon,
215
+ .crayon-toolbar .crayon-button.crayon-mixed-button.crayon-pressed:hover .crayon-button-icon {
216
+ background-position: 0 -64px;
217
+ }
218
+
219
+ .crayon-toolbar .crayon-button.crayon-minimize .crayon-button-icon {
220
+ background-position: 0 -80px;
221
  background-color: transparent !important;
222
  }
223
 
224
+ .crayon-toolbar .crayon-button.crayon-expand-button .crayon-button-icon,
225
+ .crayon-toolbar .crayon-button.crayon-expand-button:hover .crayon-button-icon,
226
+ .crayon-toolbar .crayon-button.crayon-expand-button.crayon-pressed:hover .crayon-button-icon {
227
+ background-position: 0 -96px;
228
  }
229
 
230
+ .crayon-toolbar .crayon-button.crayon-wrap-button .crayon-button-icon,
231
+ .crayon-toolbar .crayon-button.crayon-wrap-button:hover .crayon-button-icon,
232
+ .crayon-toolbar .crayon-button.crayon-wrap-button.crayon-pressed:hover .crayon-button-icon {
233
+ background-position: 0 -112px;
234
  }
235
 
236
+ /* -- */
237
+
238
+ .crayon-toolbar .crayon-button.crayon-popup-button.crayon-pressed .crayon-button-icon,
239
+ .crayon-toolbar .crayon-button.crayon-popup-button:active .crayon-button-icon,
240
+ .crayon-toolbar .crayon-button.crayon-popup-button.crayon-pressed:active .crayon-button-icon {
241
+ background-position: -24px 0;
242
  }
243
 
244
+ .crayon-toolbar .crayon-button.crayon-copy-button.crayon-pressed .crayon-button-icon,
245
+ .crayon-toolbar .crayon-button.crayon-copy-button:active .crayon-button-icon,
246
+ .crayon-toolbar .crayon-button.crayon-copy-button.crayon-pressed:active .crayon-button-icon {
247
+ background-position: -24px -16px;
248
+ }
249
+
250
+ .crayon-toolbar .crayon-button.crayon-nums-button.crayon-pressed .crayon-button-icon,
251
+ .crayon-toolbar .crayon-button.crayon-nums-button:active .crayon-button-icon,
252
+ .crayon-toolbar .crayon-button.crayon-nums-button.crayon-pressed:active .crayon-button-icon {
253
+ background-position: -24px -32px;
254
+ }
255
+
256
+ .crayon-toolbar .crayon-button.crayon-plain-button.crayon-pressed .crayon-button-icon,
257
+ .crayon-toolbar .crayon-button.crayon-plain-button:active .crayon-button-icon,
258
+ .crayon-toolbar .crayon-button.crayon-plain-button.crayon-pressed:active .crayon-button-icon {
259
+ background-position: -24px -48px;
260
+ }
261
+
262
+ .crayon-toolbar .crayon-button.crayon-mixed-button.crayon-pressed .crayon-button-icon,
263
+ .crayon-toolbar .crayon-button.crayon-mixed-button:active .crayon-button-icon,
264
+ .crayon-toolbar .crayon-button.crayon-mixed-button.crayon-pressed:active .crayon-button-icon {
265
+ background-position: -24px -64px;
266
+ }
267
+
268
+ .crayon-toolbar .crayon-button.crayon-minimize .crayon-button-icon {
269
+ background-position: -24px -80px;
270
+ background-color: transparent !important;
271
+ }
272
+
273
+ .crayon-toolbar .crayon-button.crayon-expand-button.crayon-pressed .crayon-button-icon,
274
+ .crayon-toolbar .crayon-button.crayon-expand-button:active .crayon-button-icon,
275
+ .crayon-toolbar .crayon-button.crayon-expand-button.crayon-pressed:active .crayon-button-icon {
276
+ background-position: -24px -96px;
277
+ }
278
+
279
+ .crayon-toolbar .crayon-button.crayon-wrap-button.crayon-pressed .crayon-button-icon,
280
+ .crayon-toolbar .crayon-button.crayon-wrap-button:active .crayon-button-icon,
281
+ .crayon-toolbar .crayon-button.crayon-wrap-button.crayon-pressed:active .crayon-button-icon {
282
+ background-position: -24px -112px;
283
  }
284
 
285
  /* Language */
353
  /* Code ============================ */
354
  .crayon-syntax .crayon-pre,
355
  .crayon-syntax pre {
356
+ color: #000;
357
  white-space: pre;
358
  margin: 0;
359
  padding: 0;
418
  height: inherit !important;
419
  }
420
 
421
+ .crayon-syntax .crayon-toolbar .crayon-button .crayon-button-icon {
422
+ background-image: url('../images/toolbar/buttons.png');
423
+ height: 16px !important;
424
+ width: 100%;
425
+ position: absolute;
426
+ left: 0;
427
+ top: 50%;
428
+ margin-top: -8px;
429
+ }
430
+
431
  .crayon-syntax .crayon-pre .crayon-line span {
432
  display: inline-block;
433
  *display: inline;
455
 
456
  .crayon-placeholder {
457
  width: 100% !important;
 
458
  }
459
 
460
  .crayon-toolbar-visible .crayon-toolbar {
css/{global_style.css → src/global_style.css} RENAMED
@@ -267,5 +267,5 @@
267
  }
268
 
269
  .wp_themeSkin span.mce_crayon_tinymce {
270
- background: url(images/crayon_tinymce.png);
271
  }
267
  }
268
 
269
  .wp_themeSkin span.mce_crayon_tinymce {
270
+ background: url(../images/crayon_tinymce.png);
271
  }
global.php CHANGED
@@ -8,6 +8,8 @@ define('CRAYON_DEBUG', FALSE);
8
  define('CRAYON_TAG_EDITOR', TRUE);
9
  define('CRAYON_THEME_EDITOR', TRUE);
10
 
 
 
11
  // Constants
12
 
13
  // General definitions
@@ -39,7 +41,11 @@ define('CRAYON_THEME_DIR', crayon_s('themes'));
39
  define('CRAYON_FONT_DIR', crayon_s('fonts'));
40
  define('CRAYON_UTIL_DIR', crayon_s('util'));
41
  define('CRAYON_CSS_DIR', crayon_s('css'));
 
 
42
  define('CRAYON_JS_DIR', crayon_s('js'));
 
 
43
  define('CRAYON_TRANS_DIR', crayon_s('trans'));
44
  define('CRAYON_THEME_EDITOR_DIR', crayon_s('theme-editor'));
45
  define('CRAYON_TAG_EDITOR_DIR', crayon_s('tag-editor'));
@@ -65,12 +71,18 @@ define('CRAYON_LANG_EXT', CRAYON_LANG_PATH . 'extensions.txt');
65
  define('CRAYON_LANG_ALIAS', CRAYON_LANG_PATH . 'aliases.txt');
66
  define('CRAYON_LANG_DELIM', CRAYON_LANG_PATH . 'delimiters.txt');
67
  define('CRAYON_HELP_FILE', CRAYON_UTIL_PATH . 'help.htm');
68
- //define('CRAYON_JQUERY', CRAYON_JS_DIR . 'jquery-1.7.min.js');
69
- define('CRAYON_JQUERY_POPUP', CRAYON_JS_DIR . 'jquery.popup.js');
70
- define('CRAYON_JS', CRAYON_JS_DIR . 'crayon.js');
71
- define('CRAYON_JS_ADMIN', CRAYON_JS_DIR . 'crayon_admin.js');
72
- define('CRAYON_JS_UTIL', CRAYON_JS_DIR . 'util.js');
73
- define('CRAYON_CSSJSON_JS', CRAYON_JS_DIR . 'cssjson.js');
 
 
 
 
 
 
74
  define('CRAYON_JS_FANCYBOX', CRAYON_JS_DIR . 'fancybox/jquery.fancybox.init.pack.js');
75
  define('CRAYON_CSS_FANCYBOX', CRAYON_JS_DIR . 'fancybox/jquery.fancybox.css');
76
  define('CRAYON_CSS_JQUERY_COLORPICKER', CRAYON_JS_DIR . 'jquery-colorpicker/jquery.colorpicker.css');
@@ -82,9 +94,10 @@ define('CRAYON_TAG_EDITOR_PHP', CRAYON_TAG_EDITOR_PATH . 'crayon_tag_editor_wp.c
82
  // TODO Fix these
83
  define('CRAYON_TINYMCE_JS', 'crayon_tinymce.js');
84
  define('CRAYON_QUICKTAGS_JS', 'crayon_qt.js');
85
- define('CRAYON_STYLE', CRAYON_CSS_DIR . 'crayon_style.css');
86
- define('CRAYON_STYLE_ADMIN', CRAYON_CSS_DIR . 'admin_style.css');
87
- define('CRAYON_STYLE_GLOBAL', CRAYON_CSS_DIR . 'global_style.css');
 
88
  define('CRAYON_LOGO', CRAYON_CSS_DIR . 'images/crayon_logo.png');
89
  define('CRAYON_DONATE_BUTTON', CRAYON_CSS_DIR . 'images/donate.png');
90
  define('CRAYON_THEME_EDITOR_PHP', CRAYON_THEME_EDITOR_PATH . 'theme_editor.php');
8
  define('CRAYON_TAG_EDITOR', TRUE);
9
  define('CRAYON_THEME_EDITOR', TRUE);
10
 
11
+ define('CRAYON_MINIFY', TRUE);
12
+
13
  // Constants
14
 
15
  // General definitions
41
  define('CRAYON_FONT_DIR', crayon_s('fonts'));
42
  define('CRAYON_UTIL_DIR', crayon_s('util'));
43
  define('CRAYON_CSS_DIR', crayon_s('css'));
44
+ define('CRAYON_CSS_SRC_DIR', CRAYON_CSS_DIR . crayon_s('src'));
45
+ define('CRAYON_CSS_MIN_DIR', CRAYON_CSS_DIR . crayon_s('min'));
46
  define('CRAYON_JS_DIR', crayon_s('js'));
47
+ define('CRAYON_JS_SRC_DIR', CRAYON_JS_DIR . crayon_s('src'));
48
+ define('CRAYON_JS_MIN_DIR', CRAYON_JS_DIR . crayon_s('min'));
49
  define('CRAYON_TRANS_DIR', crayon_s('trans'));
50
  define('CRAYON_THEME_EDITOR_DIR', crayon_s('theme-editor'));
51
  define('CRAYON_TAG_EDITOR_DIR', crayon_s('tag-editor'));
71
  define('CRAYON_LANG_ALIAS', CRAYON_LANG_PATH . 'aliases.txt');
72
  define('CRAYON_LANG_DELIM', CRAYON_LANG_PATH . 'delimiters.txt');
73
  define('CRAYON_HELP_FILE', CRAYON_UTIL_PATH . 'help.htm');
74
+
75
+ // Minified
76
+ define('CRAYON_JS_MIN', CRAYON_JS_MIN_DIR . 'crayon.min.js');
77
+ define('CRAYON_JS_TE_MIN', CRAYON_JS_MIN_DIR . 'crayon.te.min.js');
78
+
79
+ // Source
80
+ define('CRAYON_JQUERY_POPUP', CRAYON_JS_SRC_DIR . 'jquery.popup.js');
81
+ define('CRAYON_JS', CRAYON_JS_SRC_DIR . 'crayon.js');
82
+ define('CRAYON_JS_ADMIN', CRAYON_JS_SRC_DIR . 'crayon_admin.js');
83
+ define('CRAYON_JS_UTIL', CRAYON_JS_SRC_DIR . 'util.js');
84
+ define('CRAYON_CSSJSON_JS', CRAYON_JS_SRC_DIR . 'cssjson.js');
85
+
86
  define('CRAYON_JS_FANCYBOX', CRAYON_JS_DIR . 'fancybox/jquery.fancybox.init.pack.js');
87
  define('CRAYON_CSS_FANCYBOX', CRAYON_JS_DIR . 'fancybox/jquery.fancybox.css');
88
  define('CRAYON_CSS_JQUERY_COLORPICKER', CRAYON_JS_DIR . 'jquery-colorpicker/jquery.colorpicker.css');
94
  // TODO Fix these
95
  define('CRAYON_TINYMCE_JS', 'crayon_tinymce.js');
96
  define('CRAYON_QUICKTAGS_JS', 'crayon_qt.js');
97
+ define('CRAYON_STYLE', CRAYON_CSS_SRC_DIR . 'crayon_style.css');
98
+ define('CRAYON_STYLE_ADMIN', CRAYON_CSS_SRC_DIR . 'admin_style.css');
99
+ define('CRAYON_STYLE_GLOBAL', CRAYON_CSS_SRC_DIR . 'global_style.css');
100
+ define('CRAYON_STYLE_MIN', CRAYON_CSS_MIN_DIR . 'crayon.min.css');
101
  define('CRAYON_LOGO', CRAYON_CSS_DIR . 'images/crayon_logo.png');
102
  define('CRAYON_DONATE_BUTTON', CRAYON_CSS_DIR . 'images/donate.png');
103
  define('CRAYON_THEME_EDITOR_PHP', CRAYON_THEME_EDITOR_PATH . 'theme_editor.php');
js/min/crayon.min.js ADDED
@@ -0,0 +1 @@
 
1
+ var jQueryCrayon=jQuery;(function(a){a(document).ready(function(){CrayonUtil.init()});CrayonUtil=new function(){var c=this;var b=null;c.init=function(){b=CrayonSyntaxSettings;c.initGET()};c.addPrefixToID=function(d){return d.replace(/^([#.])?(.*)$/,"$1"+b.prefix+"$2")};c.removePrefixFromID=function(e){var d=new RegExp("^[#.]?"+b.prefix,"i");return e.replace(d,"")};c.cssElem=function(d){return a(c.addPrefixToID(d))};c.setDefault=function(e,f){return(typeof e=="undefined")?f:e};c.setMax=function(e,d){return e<=d?e:d};c.setMin=function(d,e){return d>=e?d:e};c.setRange=function(e,f,d){return c.setMax(c.setMin(e,f),d)};c.initFancybox=function(){if(fancyboxInit){fancyboxInit(window,document,a,"crayonFancybox")}};c.getExt=function(e){if(e.indexOf(".")==-1){return undefined}var d=e.split(".");if(d.length){d=d[d.length-1]}else{d=""}return d};c.initGET=function(){window.currentURL=window.location.protocol+"//"+window.location.host+window.location.pathname;window.currentDir=window.currentURL.substring(0,window.currentURL.lastIndexOf("/"));function d(e){e=e.split("+").join(" ");var h={},g,f=/[?&]?([^=]+)=([^&]*)/g;while(g=f.exec(e)){h[decodeURIComponent(g[1])]=decodeURIComponent(g[2])}return h}window.GET=d(document.location.search)};c.getAJAX=function(d,e){d.version=b.version;a.get(b.ajaxurl,d,e)};c.postAJAX=function(d,e){d.version=b.version;a.post(b.ajaxurl,d,e)};c.reload=function(){var d="?";for(var e in window.GET){d+=e+"="+window.GET[e]+"&"}window.location=window.currentURL+d};c.escape=function(d){if(typeof encodeURIComponent=="function"){return encodeURIComponent(d)}else{if(typeof escape!="function"){return escape(d)}else{return d}}};c.log=function(d){if(typeof console!="undefined"&&b.debug){console.log(d)}};c.decode_html=function(d){return String(d).replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">")};c.encode_html=function(d){return String(d).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")};c.getReadableColor=function(g,f){f=a.extend({amount:0.5,xMulti:1,yMulti:1.5,normalizeHue:[20,180],normalizeHueXMulti:1/2.5,normalizeHueYMulti:1},f);var d=tinycolor(g);var e=d.toHsv();var j={x:e.s,y:1-e.v};j.x*=f.xMulti;j.y*=f.yMulti;if(f.normalizeHue&&e.h>f.normalizeHue[0]&&e.h<f.normalizeHue[1]){j.x*=f.normalizeHueXMulti;j.y*=f.normalizeHueYMulti}var h=Math.sqrt(Math.pow(j.x,2)+Math.pow(j.y,2));if(h<f.amount){e.v=0}else{e.v=1}e.s=0;return tinycolor(e).toHexString()};c.removeChars=function(e,f){var d=new RegExp("["+e+"]","gmi");return f.replace(d,"")}};a.fn.bindFirst=function(c,e){this.bind(c,e);var b=this.data("events")[c.split(".")[0]];var d=b.pop();b.splice(0,0,d)};a.keys=function(d){var c=[];for(var b in d){c.push(b)}return c};RegExp.prototype.execAll=function(c){var f=[];var b=null;while((b=this.exec(c))!=null){var e=[];for(var d in b){if(parseInt(d)==d){e.push(b[d])}}f.push(e)}return f};RegExp.prototype.escape=function(b){return b.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};String.prototype.sliceReplace=function(d,b,c){return this.substring(0,d)+c+this.substring(b)};String.prototype.escape=function(){var b={"&":"&amp;","<":"&lt;",">":"&gt;"};return this.replace(/[&<>]/g,function(c){return b[c]||c})};String.prototype.linkify=function(b){b=typeof b!="undefined"?b:"";return this.replace(/(http(s)?:\/\/(\S)+)/gmi,'<a href="$1" target="'+b+'">$1</a>')};String.prototype.toTitleCase=function(){var b=this.split(/\s+/);var c="";a.each(b,function(e,d){if(d!=""){c+=d.slice(0,1).toUpperCase()+d.slice(1,d.length);if(e!=b.length-1&&b[e+1]!=""){c+=" "}}});return c}})(jQueryCrayon);jqueryPopup=Object();jqueryPopup.defaultSettings={centerBrowser:0,centerScreen:0,height:500,left:0,location:0,menubar:0,resizable:0,scrollbars:0,status:0,width:500,windowName:null,windowURL:null,top:0,toolbar:0,data:null,event:"click"};(function(a){popupWindow=function(d,c,f,b){f=typeof f!=="undefined"?f:null;b=typeof b!=="undefined"?b:null;if(typeof d=="string"){d=jQuery(d)}if(!(d instanceof jQuery)){return false}var e=jQuery.extend({},jqueryPopup.defaultSettings,c||{});d.handler=jQuery(d).bind(e.event,function(){if(f){f()}var g="height="+e.height+",width="+e.width+",toolbar="+e.toolbar+",scrollbars="+e.scrollbars+",status="+e.status+",resizable="+e.resizable+",location="+e.location+",menuBar="+e.menubar;e.windowName=e.windowName||jQuery(this).attr("name");var h=jQuery(this).attr("href");if(!e.windowURL&&!(h=="#")&&!(h=="")){e.windowURL=jQuery(this).attr("href")}var j,k;var l=null;if(e.centerBrowser){if(jQuery.browser.msie){j=(window.screenTop-120)+((((document.documentElement.clientHeight+120)/2)-(e.height/2)));k=window.screenLeft+((((document.body.offsetWidth+20)/2)-(e.width/2)))}else{j=window.screenY+(((window.outerHeight/2)-(e.height/2)));k=window.screenX+(((window.outerWidth/2)-(e.width/2)))}l=window.open(e.windowURL,e.windowName,g+",left="+k+",top="+j)}else{if(e.centerScreen){j=(screen.height-e.height)/2;k=(screen.width-e.width)/2;l=window.open(e.windowURL,e.windowName,g+",left="+k+",top="+j)}else{l=window.open(e.windowURL,e.windowName,g+",left="+e.left+",top="+e.top)}}if(l!=null){l.focus();if(e.data){l.document.write(e.data)}}if(b){b()}});return e};popdownWindow=function(b,c){if(typeof c=="undefined"){c="click"}b=jQuery(b);if(!(b instanceof jQuery)){return false}b.unbind(c,b.handler)}})(jQueryCrayon);(function(f){f.fn.exists=function(){return this.length!==0};f.fn.style=function(C,F,B){var E=this.get(0);if(typeof E=="undefined"){return}var D=E.style;if(typeof C!="undefined"){if(typeof F!="undefined"){B=typeof B!="undefined"?B:"";if(typeof D.setProperty!="undefined"){D.setProperty(C,F,B)}else{D[C]=F}}else{return D[C]}}else{return D}};var d="crayon-pressed";var a="";var o="div.crayon-syntax";var e=".crayon-toolbar";var c=".crayon-info";var x=".crayon-plain";var p=".crayon-main";var n=".crayon-table";var w=".crayon-loading";var h=".crayon-code";var q=".crayon-title";var m=".crayon-tools";var b=".crayon-nums";var k=".crayon-num";var r=".crayon-line";var g="crayon-wrapped";var t=".crayon-nums-content";var v=".crayon-nums-button";var l=".crayon-wrap-button";var j=".crayon-expand-button";var u="crayon-expanded crayon-toolbar-visible";var z="crayon-placeholder";var y=".crayon-popup-button";var s=".crayon-copy-button";var A=".crayon-plain-button";f(document).ready(function(){CrayonSyntax.init()});CrayonSyntax=new function(){var J=this;var O=new Object();var ah;var I;var H=0;var aa;J.init=function(){if(typeof O=="undefined"){O=new Object()}ah=CrayonSyntaxSettings;I=CrayonSyntaxStrings;f(o).each(function(){J.process(this)})};J.process=function(aE,aF){aE=f(aE);var at=aE.attr("id");if(at=="crayon-"){at+=Y()}aE.attr("id",at);CrayonUtil.log(at);if(typeof aF=="undefined"){aF=false}if(!aF&&!ab(at)){return}var av=aE.find(e);var aD=aE.find(c);var aq=aE.find(x);var ar=aE.find(p);var aC=aE.find(n);var ak=aE.find(h);var aH=aE.find(q);var aB=aE.find(m);var az=aE.find(b);var aw=aE.find(t);var aA=aE.find(v);var an=aE.find(l);var ap=aE.find(j);var aG=aE.find(y);var au=aE.find(s);var am=aE.find(A);O[at]=aE;O[at].toolbar=av;O[at].plain=aq;O[at].info=aD;O[at].main=ar;O[at].table=aC;O[at].code=ak;O[at].title=aH;O[at].tools=aB;O[at].nums=az;O[at].nums_content=aw;O[at].numsButton=aA;O[at].wrapButton=an;O[at].expandButton=ap;O[at].popup_button=aG;O[at].copy_button=au;O[at].plainButton=am;O[at].numsVisible=true;O[at].wrapped=false;O[at].plainVisible=false;O[at].toolbar_delay=0;O[at].time=1;f(x).css("z-index",0);var ax=ar.style();O[at].mainStyle={height:ax&&ax.height||"","max-height":ax&&ax.maxHeight||"","min-height":ax&&ax.minHeight||"",width:ax&&ax.width||"","max-width":ax&&ax.maxWidth||"","min-width":ax&&ax.minWidth||""};O[at].mainHeightAuto=O[at].mainStyle.height==""&&O[at].mainStyle["max-height"]=="";var al;var ay=0;O[at].loading=true;O[at].scrollBlockFix=false;aA.click(function(){CrayonSyntax.toggleNums(at)});an.click(function(){CrayonSyntax.toggleWrap(at)});ap.click(function(){CrayonSyntax.toggleExpand(at)});am.click(function(){CrayonSyntax.togglePlain(at)});au.click(function(){CrayonSyntax.copyPlain(at)});C(at);var ao=function(){if(az.filter('[data-settings~="hide"]').length!=0){aw.ready(function(){CrayonUtil.log("function"+at);CrayonSyntax.toggleNums(at,true,true)})}else{ad(at)}if(typeof O[at].expanded=="undefined"){if(Math.abs(O[at].main.outerWidth()-O[at].table.outerWidth())<10){O[at].expandButton.hide()}else{O[at].expandButton.show()}}if(ay==5){clearInterval(al);O[at].loading=false}ay++};al=setInterval(ao,300);D(at);f(k,O[at]).each(function(){var aK=f(this).attr("data-line");var aJ=f("#"+aK);var aI=aJ.style("height");if(aI){aJ.attr("data-height",aI)}});ar.css("position","relative");ar.css("z-index",1);aa=(aE.filter('[data-settings~="touchscreen"]').length!=0);if(!aa){ar.click(function(){B(at,"",false)});aq.click(function(){B(at,"",false)});aD.click(function(){B(at,"",false)})}if(aE.filter('[data-settings~="no-popup"]').length==0){O[at].popup_settings=popupWindow(aG,{height:screen.height-200,width:screen.width-100,top:75,left:50,scrollbars:1,windowURL:"",data:""},function(){G(at)},function(){})}aq.css("opacity",0);O[at].toolbarVisible=true;O[at].hasOneLine=aC.outerHeight()<av.outerHeight()*2;O[at].toolbarMouseover=false;if(av.filter('[data-settings~="mouseover"]').length!=0&&!aa){O[at].toolbarMouseover=true;O[at].toolbarVisible=false;av.css("margin-top","-"+av.outerHeight()+"px");av.hide();if(av.filter('[data-settings~="overlay"]').length!=0&&!O[at].hasOneLine){av.css("position","absolute");av.css("z-index",2);if(av.filter('[data-settings~="hide"]').length!=0){ar.click(function(){U(at,undefined,undefined,0)});aq.click(function(){U(at,false,undefined,0)})}}else{av.css("z-index",4)}if(av.filter('[data-settings~="delay"]').length!=0){O[at].toolbar_delay=500}aE.mouseenter(function(){U(at,true)}).mouseleave(function(){U(at,false)})}else{if(aa){av.show()}}if(aE.filter('[data-settings~="minimize"]').length==0){J.minimize(at)}if(aq.length!=0&&!aa){if(aq.filter('[data-settings~="dblclick"]').length!=0){ar.dblclick(function(){CrayonSyntax.togglePlain(at)})}else{if(aq.filter('[data-settings~="click"]').length!=0){ar.click(function(){CrayonSyntax.togglePlain(at)})}else{if(aq.filter('[data-settings~="mouseover"]').length!=0){aE.mouseenter(function(){CrayonSyntax.togglePlain(at,true)}).mouseleave(function(){CrayonSyntax.togglePlain(at,false)});aA.hide()}}}if(aq.filter('[data-settings~="show-plain-default"]').length!=0){CrayonSyntax.togglePlain(at,true)}}var aj=aE.filter('[data-settings~="expand"]').length!=0;if(!aa&&aE.filter('[data-settings~="scroll-mouseover"]').length!=0){ar.css("overflow","hidden");aq.css("overflow","hidden");aE.mouseenter(function(){N(at,true,aj)}).mouseleave(function(){N(at,false,aj)})}if(aj){aE.mouseenter(function(){E(at,true)}).mouseleave(function(){E(at,false)})}if(aE.filter('[data-settings~="disable-anim"]').length!=0){O[at].time=0}if(aE.filter('[data-settings~="wrap"]').length!=0){O[at].wrapped=true}O[at].mac=aE.hasClass("crayon-os-mac");ad(at);ac(at);Z(at)};var ab=function(aj){CrayonUtil.log(O);if(typeof O[aj]=="undefined"){O[aj]=f("#"+aj);CrayonUtil.log("make "+aj);return true}CrayonUtil.log("no make "+aj);return false};var Y=function(){return H++};var G=function(aj){if(typeof O[aj]=="undefined"){return ab(aj)}var ak=O[aj].popup_settings;if(ak.data){return}var am=O[aj].clone(true);am.removeClass("crayon-wrapped");if(O[aj].wrapped){f(k,am).each(function(){var ap=f(this).attr("data-line");var ao=f("#"+ap);var an=ao.attr("data-height");an=an?an:"";if(typeof an!="undefined"){ao.css("height",an);f(this).css("height",an)}})}am.find(p).css("height","");var al="";if(O[aj].plainVisible){al=am.find(x)}else{al=am.find(p)}ak.data=J.getAllCSS()+'<body class="crayon-popup-window" style="padding:0; margin:0;"><div class="'+am.attr("class")+' crayon-popup">'+J.removeCssInline(J.getHtmlString(al))+"</div></body>"};J.minimize=function(am){var al=f('<div class="crayon-minimize crayon-button"><div>');O[am].tools.append(al);O[am].origTitle=O[am].title.html();if(!O[am].origTitle){O[am].title.html(I.minimize)}var ak="crayon-minimized";var aj=function(){O[am].toolbarPreventHide=false;al.remove();O[am].removeClass(ak);O[am].title.html(O[am].origTitle);var an=O[am].toolbar;if(an.filter('[data-settings~="never-show"]').length!=0){an.remove()}};O[am].toolbar.click(aj);al.click(aj);O[am].addClass(ak);O[am].toolbarPreventHide=true;U(am,undefined,undefined,0)};J.getHtmlString=function(aj){return f("<div>").append(aj.clone()).remove().html()};J.removeCssInline=function(al){var ak=/style\s*=\s*"([^"]+)"/gmi;var aj=null;while((aj=ak.exec(al))!=null){var am=aj[1];am=am.replace(/\b(?:width|height)\s*:[^;]+;/gmi,"");al=al.sliceReplace(aj.index,aj.index+aj[0].length,'style="'+am+'"')}return al};J.getAllCSS=function(){var al="";var ak=f('link[rel="stylesheet"]');var aj=[];if(ak.length==1){aj=ak}else{aj=ak.filter('[href*="crayon-syntax-highlighter"], [href*="min/"]')}aj.each(function(){var am=J.getHtmlString(f(this));al+=am});return al};J.copyPlain=function(al,am){if(typeof O[al]=="undefined"){return ab(al)}var ak=O[al].plain;J.togglePlain(al,true,true);U(al,true);var aj=O[al].mac?"\u2318":"CTRL";var an=I.copy;an=an.replace(/%s/,aj+"+C");an=an.replace(/%s/,aj+"+V");B(al,an);return false};var B=function(ak,am,aj){if(typeof O[ak]=="undefined"){return ab(ak)}var al=O[ak].info;if(typeof am=="undefined"){am=""}if(typeof aj=="undefined"){aj=true}if(M(al)&&aj){al.html("<div>"+am+"</div>");al.css("margin-top",-al.outerHeight());al.show();R(ak,al,true);setTimeout(function(){R(ak,al,false)},5000)}if(!aj){R(ak,al,false)}};var C=function(aj){if(window.devicePixelRatio>1){var ak=f(".crayon-button-icon",O[aj].toolbar);ak.each(function(){var am=f(this).css("background-image");var al=am.replace(/\.(?=[^\.]+$)/g,"@2x.");f(this).css("background-size","48px 128px");f(this).css("background-image",al)})}};var M=function(aj){var ak="-"+aj.outerHeight()+"px";if(aj.css("margin-top")==ak||aj.css("display")=="none"){return true}else{return false}};var R=function(am,al,ak,ao,an,aq){var aj=function(){if(aq){aq(am,al)}};var ap="-"+al.outerHeight()+"px";if(typeof ak=="undefined"){if(M(al)){ak=true}else{ak=false}}if(typeof ao=="undefined"){ao=100}if(ao==false){ao=false}if(typeof an=="undefined"){an=0}al.stop(true);if(ak==true){al.show();al.animate({marginTop:0},ai(ao,am),aj)}else{if(ak==false){if(al.css("margin-top")=="0px"&&an){al.delay(an)}al.animate({marginTop:ap},ai(ao,am),function(){al.hide();aj()})}}};J.togglePlain=function(am,an,ak){if(typeof O[am]=="undefined"){return ab(am)}var aj=O[am].main;var al=O[am].plain;if((aj.is(":animated")||al.is(":animated"))&&typeof an=="undefined"){return}af(am);var ap,ao;if(typeof an!="undefined"){if(an){ap=aj;ao=al}else{ap=al;ao=aj}}else{if(aj.css("z-index")==1){ap=aj;ao=al}else{ap=al;ao=aj}}O[am].plainVisible=(ao==al);O[am].top=ap.scrollTop();O[am].left=ap.scrollLeft();O[am].scrollChanged=false;D(am);ap.stop(true);ap.fadeTo(ai(500,am),0,function(){ap.css("z-index",0)});ao.stop(true);ao.fadeTo(ai(500,am),1,function(){ao.css("z-index",1);if(ao==al){if(ak){al.select()}else{}}ao.scrollTop(O[am].top+1);ao.scrollTop(O[am].top);ao.scrollLeft(O[am].left+1);ao.scrollLeft(O[am].left)});ao.scrollTop(O[am].top);ao.scrollLeft(O[am].left);ac(am);U(am,false);return false};J.toggleNums=function(an,am,aj){if(typeof O[an]=="undefined"){ab(an);return false}if(O[an].table.is(":animated")){return false}var ap=Math.round(O[an].nums_content.outerWidth()+1);var ao="-"+ap+"px";var al;if(typeof am!="undefined"){al=false}else{al=(O[an].table.css("margin-left")==ao)}var ak;if(al){ak="0px";O[an].numsVisible=true}else{O[an].table.css("margin-left","0px");O[an].numsVisible=false;ak=ao}if(typeof aj!="undefined"){O[an].table.css("margin-left",ak);ad(an);return false}var aq=(O[an].table.outerWidth()+K(O[an].table.css("margin-left"))>O[an].main.outerWidth());var ar=(O[an].table.outerHeight()>O[an].main.outerHeight());if(!aq&&!ar){O[an].main.css("overflow","hidden")}O[an].table.animate({marginLeft:ak},ai(200,an),function(){if(typeof O[an]!="undefined"){ad(an);if(!aq&&!ar){O[an].main.css("overflow","auto")}}});return false};J.toggleWrap=function(aj){O[aj].wrapped=!O[aj].wrapped;Z(aj)};J.toggleExpand=function(aj){var ak=!CrayonUtil.setDefault(O[aj].expanded,false);E(aj,ak)};var Z=function(aj,ak){ak=CrayonUtil.setDefault(ak,true);if(O[aj].wrapped){O[aj].addClass(g)}else{O[aj].removeClass(g)}F(aj);if(!O[aj].expanded&&ak){W(aj)}O[aj].wrapTimes=0;clearInterval(O[aj].wrapTimer);O[aj].wrapTimer=setInterval(function(){if(O[aj].is(":visible")){P(aj);O[aj].wrapTimes++;if(O[aj].wrapTimes==5){clearInterval(O[aj].wrapTimer)}}},200)};var ae=function(aj){if(typeof O[aj]=="undefined"){ab(aj);return false}};var K=function(ak){if(typeof ak!="string"){return 0}var aj=ak.replace(/[^-0-9]/g,"");if(aj.length==0){return 0}else{return parseInt(aj)}};var ad=function(aj){if(typeof O[aj]=="undefined"||typeof O[aj].numsVisible=="undefined"){return}if(O[aj].numsVisible){O[aj].numsButton.removeClass(a);O[aj].numsButton.addClass(d)}else{O[aj].numsButton.removeClass(d);O[aj].numsButton.addClass(a)}};var F=function(aj){if(typeof O[aj]=="undefined"||typeof O[aj].wrapped=="undefined"){return}if(O[aj].wrapped){O[aj].wrapButton.removeClass(a);O[aj].wrapButton.addClass(d)}else{O[aj].wrapButton.removeClass(d);O[aj].wrapButton.addClass(a)}};var X=function(aj){if(typeof O[aj]=="undefined"||typeof O[aj].expanded=="undefined"){return}if(O[aj].expanded){O[aj].expandButton.removeClass(a);O[aj].expandButton.addClass(d)}else{O[aj].expandButton.removeClass(d);O[aj].expandButton.addClass(a)}};var ac=function(aj){if(typeof O[aj]=="undefined"||typeof O[aj].plainVisible=="undefined"){return}if(O[aj].plainVisible){O[aj].plainButton.removeClass(a);O[aj].plainButton.addClass(d)}else{O[aj].plainButton.removeClass(d);O[aj].plainButton.addClass(a)}};var U=function(ak,aj,am,al){if(typeof O[ak]=="undefined"){return ab(ak)}else{if(!O[ak].toolbarMouseover){return}else{if(aj==false&&O[ak].toolbarPreventHide){return}else{if(aa){return}}}}var an=O[ak].toolbar;if(typeof al=="undefined"){al=O[ak].toolbar_delay}R(ak,an,aj,am,al,function(){O[ak].toolbarVisible=aj})};var S=function(al,aj){var ak=f.extend({},al);ak.width+=aj.width;ak.height+=aj.height;return ak};var Q=function(al,aj){var ak=f.extend({},al);ak.width-=aj.width;ak.height-=aj.height;return ak};var V=function(aj){if(typeof O[aj].initialSize=="undefined"){O[aj].toolbarHeight=O[aj].toolbar.outerHeight();O[aj].innerSize={width:O[aj].width(),height:O[aj].height()};O[aj].outerSize={width:O[aj].outerWidth(),height:O[aj].outerHeight()};O[aj].borderSize=Q(O[aj].outerSize,O[aj].innerSize);O[aj].initialSize={width:O[aj].main.outerWidth(),height:O[aj].main.outerHeight()};O[aj].initialSize.height+=O[aj].toolbarHeight;O[aj].initialOuterSize=S(O[aj].initialSize,O[aj].borderSize);O[aj].finalSize={width:O[aj].table.outerWidth(),height:O[aj].table.outerHeight()};O[aj].finalSize.height+=O[aj].toolbarHeight;O[aj].finalSize.width=CrayonUtil.setMin(O[aj].finalSize.width,O[aj].initialSize.width);O[aj].finalSize.height=CrayonUtil.setMin(O[aj].finalSize.height,O[aj].initialSize.height);O[aj].diffSize=Q(O[aj].finalSize,O[aj].initialSize);O[aj].finalOuterSize=S(O[aj].finalSize,O[aj].borderSize);O[aj].initialSize.height+=O[aj].toolbar.outerHeight()}};var E=function(am,ap){if(typeof O[am]=="undefined"){return ab(am)}if(typeof ap=="undefined"){return}var ak=O[am].main;var ar=O[am].plain;if(ap){if(typeof O[am].expanded=="undefined"){V(am);O[am].expandTime=CrayonUtil.setRange(O[am].diffSize.width/3,300,800);O[am].expanded=false;var aq=O[am].finalOuterSize;O[am].placeholder=f("<div></div>");O[am].placeholder.addClass(z);O[am].placeholder.css(aq);O[am].before(O[am].placeholder);O[am].placeholder.css("margin",O[am].css("margin"));f(window).bind("resize",L)}var an={height:"auto","min-height":"none","max-height":"none"};var aj={width:"auto","min-width":"none","max-width":"none"};O[am].outerWidth(O[am].outerWidth());O[am].css({"min-width":"none","max-width":"none"});var ao={width:O[am].finalOuterSize.width};if(!O[am].mainHeightAuto&&!O[am].hasOneLine){ao.height=O[am].finalOuterSize.height;O[am].outerHeight(O[am].outerHeight())}ak.css(an);ak.css(aj);O[am].stop(true);O[am].animate(ao,ai(O[am].expandTime,am),function(){O[am].expanded=true;X(am)});O[am].placeholder.show();f("body").prepend(O[am]);O[am].addClass(u);L()}else{var at=O[am].initialOuterSize;var al=O[am].toolbar_delay;if(at){O[am].stop(true);if(!O[am].expanded){O[am].delay(al)}var ao={width:at.width};if(!O[am].mainHeightAuto&&!O[am].hasOneLine){ao.height=at.height}O[am].animate(ao,ai(O[am].expandTime,am),function(){ag(am)})}else{setTimeout(function(){ag(am)},al)}O[am].placeholder.hide();O[am].placeholder.before(O[am]);O[am].css({left:"auto",top:"auto"});O[am].removeClass(u)}af(am);if(ap){Z(am,false)}};var L=function(){for(uid in O){if(O[uid].hasClass(u)){O[uid].css(O[uid].placeholder.offset())}}};var ag=function(aj){O[aj].expanded=false;W(aj);X(aj);if(O[aj].wrapped){Z(aj)}};var N=function(am,ak,an){if(typeof O[am]=="undefined"){return ab(am)}if(typeof ak=="undefined"||an||O[am].expanded){return}var aj=O[am].main;var al=O[am].plain;if(ak){aj.css("overflow","auto");al.css("overflow","auto");if(typeof O[am].top!="undefined"){visible=(aj.css("z-index")==1?aj:al);visible.scrollTop(O[am].top-1);visible.scrollTop(O[am].top);visible.scrollLeft(O[am].left-1);visible.scrollLeft(O[am].left)}}else{visible=(aj.css("z-index")==1?aj:al);O[am].top=visible.scrollTop();O[am].left=visible.scrollLeft();aj.css("overflow","hidden");al.css("overflow","hidden")}O[am].scrollChanged=true;D(am)};var D=function(aj){O[aj].table.style("width","100%","important");var ak=setTimeout(function(){O[aj].table.style("width","");clearInterval(ak)},10)};var W=function(al){var ak=O[al].main;var aj=O[al].mainStyle;ak.css(aj);O[al].css("height","auto");O[al].css("width",aj.width);O[al].css("max-width",aj["max-width"]);O[al].css("min-width",aj["min-width"])};var af=function(aj){O[aj].plain.outerHeight(O[aj].main.outerHeight())};var P=function(aj){f(k,O[aj]).each(function(){var am=f(this).attr("data-line");var al=f("#"+am);var ak=null;if(O[aj].wrapped){al.css("height","");ak=al.outerHeight();ak=ak?ak:""}else{ak=al.attr("data-height");ak=ak?ak:"";al.css("height",ak)}f(this).css("height",ak)})};var ai=function(aj,ak){if(aj=="fast"){aj=200}else{if(aj=="slow"){aj=600}else{if(!T(aj)){aj=parseInt(aj);if(isNaN(aj)){return 0}}}}return aj*O[ak].time};var T=function(aj){return typeof aj=="number"}}})(jQueryCrayon);var CSSJSON=new function(){var c=this;c.init=function(){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.repeat=function(p){return new Array(1+p).join(this)}};c.init();var h=/([^\s\;\{\}][^\;\{\}]*)\{/g;var n=/\}/g;var d=/([^\;\{\}]*)\;/g;var l=/\/\*[\s\S]*?\*\//g;var g=/([^\:]+):([^\;]*);/;var o=/(\/\*[\s\S]*?\*\/)|([^\s\;\{\}][^\;\{\}]*(?=\{))|(\})|([^\;\{\}]+\;(?!\s*\*\/))/gmi;var j=1;var f=2;var b=3;var k=4;var e=function(p){return typeof p=="undefined"||p.length==0||p==null};c.toJSON=function(r,x){var s={children:{},attributes:{}};var u=null;var v=0;if(typeof x=="undefined"){var x={ordered:false,comments:false,stripComments:false,split:false}}if(x.stripComments){x.comments=false;r=r.replace(l,"")}while((u=o.exec(r))!=null){if(!e(u[j])&&x.comments){var C=u[j].trim();s[v++]=C}else{if(!e(u[f])){var p=u[f].trim();var A=c.toJSON(r,x);if(x.ordered){var t={};t.name=p;t.value=A;t.type="rule";s[v++]=t}else{if(x.split){var B=p.split(",")}else{var B=[p]}for(i in B){var q=B[i].trim();if(q in s.children){for(var y in A.attributes){s.children[q].attributes[y]=A.attributes[y]}}else{s.children[q]=A}}}}else{if(!e(u[b])){return s}else{if(!e(u[k])){var D=u[k].trim();var w=g.exec(D);if(w){var p=w[1].trim();var z=w[2].trim();if(x.ordered){var t={};t.name=p;t.value=z;t.type="attr";s[v++]=t}else{s.attributes[p]=z}}else{s[v++]=D}}}}}}return s};c.toCSS=function(r,t,q){var p="";if(typeof t=="undefined"){t=0}if(typeof q=="undefined"){q=false}if(r.attributes){for(i in r.attributes){p+=a(i,r.attributes[i],t)}}if(r.children){var s=true;for(i in r.children){if(q&&!s){p+="\n"}else{s=false}p+=m(i,r.children[i],t)}}return p};var a=function(p,q,r){return"\t".repeat(r)+p+": "+q+";\n"};var m=function(p,r,s){var q="\t".repeat(s)+p+" {\n";q+=c.toCSS(r,s+1);q+="\t".repeat(s)+"}\n";return q}};
js/min/crayon.te.min.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var jQueryCrayon=jQuery;(function(a){a(document).ready(function(){CrayonUtil.init()});CrayonUtil=new function(){var c=this;var b=null;c.init=function(){b=CrayonSyntaxSettings;c.initGET()};c.addPrefixToID=function(d){return d.replace(/^([#.])?(.*)$/,"$1"+b.prefix+"$2")};c.removePrefixFromID=function(e){var d=new RegExp("^[#.]?"+b.prefix,"i");return e.replace(d,"")};c.cssElem=function(d){return a(c.addPrefixToID(d))};c.setDefault=function(e,f){return(typeof e=="undefined")?f:e};c.setMax=function(e,d){return e<=d?e:d};c.setMin=function(d,e){return d>=e?d:e};c.setRange=function(e,f,d){return c.setMax(c.setMin(e,f),d)};c.initFancybox=function(){if(fancyboxInit){fancyboxInit(window,document,a,"crayonFancybox")}};c.getExt=function(e){if(e.indexOf(".")==-1){return undefined}var d=e.split(".");if(d.length){d=d[d.length-1]}else{d=""}return d};c.initGET=function(){window.currentURL=window.location.protocol+"//"+window.location.host+window.location.pathname;window.currentDir=window.currentURL.substring(0,window.currentURL.lastIndexOf("/"));function d(e){e=e.split("+").join(" ");var h={},g,f=/[?&]?([^=]+)=([^&]*)/g;while(g=f.exec(e)){h[decodeURIComponent(g[1])]=decodeURIComponent(g[2])}return h}window.GET=d(document.location.search)};c.getAJAX=function(d,e){d.version=b.version;a.get(b.ajaxurl,d,e)};c.postAJAX=function(d,e){d.version=b.version;a.post(b.ajaxurl,d,e)};c.reload=function(){var d="?";for(var e in window.GET){d+=e+"="+window.GET[e]+"&"}window.location=window.currentURL+d};c.escape=function(d){if(typeof encodeURIComponent=="function"){return encodeURIComponent(d)}else{if(typeof escape!="function"){return escape(d)}else{return d}}};c.log=function(d){if(typeof console!="undefined"&&b.debug){console.log(d)}};c.decode_html=function(d){return String(d).replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">")};c.encode_html=function(d){return String(d).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")};c.getReadableColor=function(g,f){f=a.extend({amount:0.5,xMulti:1,yMulti:1.5,normalizeHue:[20,180],normalizeHueXMulti:1/2.5,normalizeHueYMulti:1},f);var d=tinycolor(g);var e=d.toHsv();var j={x:e.s,y:1-e.v};j.x*=f.xMulti;j.y*=f.yMulti;if(f.normalizeHue&&e.h>f.normalizeHue[0]&&e.h<f.normalizeHue[1]){j.x*=f.normalizeHueXMulti;j.y*=f.normalizeHueYMulti}var h=Math.sqrt(Math.pow(j.x,2)+Math.pow(j.y,2));if(h<f.amount){e.v=0}else{e.v=1}e.s=0;return tinycolor(e).toHexString()};c.removeChars=function(e,f){var d=new RegExp("["+e+"]","gmi");return f.replace(d,"")}};a.fn.bindFirst=function(c,e){this.bind(c,e);var b=this.data("events")[c.split(".")[0]];var d=b.pop();b.splice(0,0,d)};a.keys=function(d){var c=[];for(var b in d){c.push(b)}return c};RegExp.prototype.execAll=function(c){var f=[];var b=null;while((b=this.exec(c))!=null){var e=[];for(var d in b){if(parseInt(d)==d){e.push(b[d])}}f.push(e)}return f};RegExp.prototype.escape=function(b){return b.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};String.prototype.sliceReplace=function(d,b,c){return this.substring(0,d)+c+this.substring(b)};String.prototype.escape=function(){var b={"&":"&amp;","<":"&lt;",">":"&gt;"};return this.replace(/[&<>]/g,function(c){return b[c]||c})};String.prototype.linkify=function(b){b=typeof b!="undefined"?b:"";return this.replace(/(http(s)?:\/\/(\S)+)/gmi,'<a href="$1" target="'+b+'">$1</a>')};String.prototype.toTitleCase=function(){var b=this.split(/\s+/);var c="";a.each(b,function(e,d){if(d!=""){c+=d.slice(0,1).toUpperCase()+d.slice(1,d.length);if(e!=b.length-1&&b[e+1]!=""){c+=" "}}});return c}})(jQueryCrayon);jqueryPopup=Object();jqueryPopup.defaultSettings={centerBrowser:0,centerScreen:0,height:500,left:0,location:0,menubar:0,resizable:0,scrollbars:0,status:0,width:500,windowName:null,windowURL:null,top:0,toolbar:0,data:null,event:"click"};(function(a){popupWindow=function(d,c,f,b){f=typeof f!=="undefined"?f:null;b=typeof b!=="undefined"?b:null;if(typeof d=="string"){d=jQuery(d)}if(!(d instanceof jQuery)){return false}var e=jQuery.extend({},jqueryPopup.defaultSettings,c||{});d.handler=jQuery(d).bind(e.event,function(){if(f){f()}var g="height="+e.height+",width="+e.width+",toolbar="+e.toolbar+",scrollbars="+e.scrollbars+",status="+e.status+",resizable="+e.resizable+",location="+e.location+",menuBar="+e.menubar;e.windowName=e.windowName||jQuery(this).attr("name");var h=jQuery(this).attr("href");if(!e.windowURL&&!(h=="#")&&!(h=="")){e.windowURL=jQuery(this).attr("href")}var j,k;var l=null;if(e.centerBrowser){if(jQuery.browser.msie){j=(window.screenTop-120)+((((document.documentElement.clientHeight+120)/2)-(e.height/2)));k=window.screenLeft+((((document.body.offsetWidth+20)/2)-(e.width/2)))}else{j=window.screenY+(((window.outerHeight/2)-(e.height/2)));k=window.screenX+(((window.outerWidth/2)-(e.width/2)))}l=window.open(e.windowURL,e.windowName,g+",left="+k+",top="+j)}else{if(e.centerScreen){j=(screen.height-e.height)/2;k=(screen.width-e.width)/2;l=window.open(e.windowURL,e.windowName,g+",left="+k+",top="+j)}else{l=window.open(e.windowURL,e.windowName,g+",left="+e.left+",top="+e.top)}}if(l!=null){l.focus();if(e.data){l.document.write(e.data)}}if(b){b()}});return e};popdownWindow=function(b,c){if(typeof c=="undefined"){c="click"}b=jQuery(b);if(!(b instanceof jQuery)){return false}b.unbind(c,b.handler)}})(jQueryCrayon);(function(f){f.fn.exists=function(){return this.length!==0};f.fn.style=function(C,F,B){var E=this.get(0);if(typeof E=="undefined"){return}var D=E.style;if(typeof C!="undefined"){if(typeof F!="undefined"){B=typeof B!="undefined"?B:"";if(typeof D.setProperty!="undefined"){D.setProperty(C,F,B)}else{D[C]=F}}else{return D[C]}}else{return D}};var d="crayon-pressed";var a="";var o="div.crayon-syntax";var e=".crayon-toolbar";var c=".crayon-info";var x=".crayon-plain";var p=".crayon-main";var n=".crayon-table";var w=".crayon-loading";var h=".crayon-code";var q=".crayon-title";var m=".crayon-tools";var b=".crayon-nums";var k=".crayon-num";var r=".crayon-line";var g="crayon-wrapped";var t=".crayon-nums-content";var v=".crayon-nums-button";var l=".crayon-wrap-button";var j=".crayon-expand-button";var u="crayon-expanded crayon-toolbar-visible";var z="crayon-placeholder";var y=".crayon-popup-button";var s=".crayon-copy-button";var A=".crayon-plain-button";f(document).ready(function(){CrayonSyntax.init()});CrayonSyntax=new function(){var J=this;var O=new Object();var ah;var I;var H=0;var aa;J.init=function(){if(typeof O=="undefined"){O=new Object()}ah=CrayonSyntaxSettings;I=CrayonSyntaxStrings;f(o).each(function(){J.process(this)})};J.process=function(aE,aF){aE=f(aE);var at=aE.attr("id");if(at=="crayon-"){at+=Y()}aE.attr("id",at);CrayonUtil.log(at);if(typeof aF=="undefined"){aF=false}if(!aF&&!ab(at)){return}var av=aE.find(e);var aD=aE.find(c);var aq=aE.find(x);var ar=aE.find(p);var aC=aE.find(n);var ak=aE.find(h);var aH=aE.find(q);var aB=aE.find(m);var az=aE.find(b);var aw=aE.find(t);var aA=aE.find(v);var an=aE.find(l);var ap=aE.find(j);var aG=aE.find(y);var au=aE.find(s);var am=aE.find(A);O[at]=aE;O[at].toolbar=av;O[at].plain=aq;O[at].info=aD;O[at].main=ar;O[at].table=aC;O[at].code=ak;O[at].title=aH;O[at].tools=aB;O[at].nums=az;O[at].nums_content=aw;O[at].numsButton=aA;O[at].wrapButton=an;O[at].expandButton=ap;O[at].popup_button=aG;O[at].copy_button=au;O[at].plainButton=am;O[at].numsVisible=true;O[at].wrapped=false;O[at].plainVisible=false;O[at].toolbar_delay=0;O[at].time=1;f(x).css("z-index",0);var ax=ar.style();O[at].mainStyle={height:ax&&ax.height||"","max-height":ax&&ax.maxHeight||"","min-height":ax&&ax.minHeight||"",width:ax&&ax.width||"","max-width":ax&&ax.maxWidth||"","min-width":ax&&ax.minWidth||""};O[at].mainHeightAuto=O[at].mainStyle.height==""&&O[at].mainStyle["max-height"]=="";var al;var ay=0;O[at].loading=true;O[at].scrollBlockFix=false;aA.click(function(){CrayonSyntax.toggleNums(at)});an.click(function(){CrayonSyntax.toggleWrap(at)});ap.click(function(){CrayonSyntax.toggleExpand(at)});am.click(function(){CrayonSyntax.togglePlain(at)});au.click(function(){CrayonSyntax.copyPlain(at)});C(at);var ao=function(){if(az.filter('[data-settings~="hide"]').length!=0){aw.ready(function(){CrayonUtil.log("function"+at);CrayonSyntax.toggleNums(at,true,true)})}else{ad(at)}if(typeof O[at].expanded=="undefined"){if(Math.abs(O[at].main.outerWidth()-O[at].table.outerWidth())<10){O[at].expandButton.hide()}else{O[at].expandButton.show()}}if(ay==5){clearInterval(al);O[at].loading=false}ay++};al=setInterval(ao,300);D(at);f(k,O[at]).each(function(){var aK=f(this).attr("data-line");var aJ=f("#"+aK);var aI=aJ.style("height");if(aI){aJ.attr("data-height",aI)}});ar.css("position","relative");ar.css("z-index",1);aa=(aE.filter('[data-settings~="touchscreen"]').length!=0);if(!aa){ar.click(function(){B(at,"",false)});aq.click(function(){B(at,"",false)});aD.click(function(){B(at,"",false)})}if(aE.filter('[data-settings~="no-popup"]').length==0){O[at].popup_settings=popupWindow(aG,{height:screen.height-200,width:screen.width-100,top:75,left:50,scrollbars:1,windowURL:"",data:""},function(){G(at)},function(){})}aq.css("opacity",0);O[at].toolbarVisible=true;O[at].hasOneLine=aC.outerHeight()<av.outerHeight()*2;O[at].toolbarMouseover=false;if(av.filter('[data-settings~="mouseover"]').length!=0&&!aa){O[at].toolbarMouseover=true;O[at].toolbarVisible=false;av.css("margin-top","-"+av.outerHeight()+"px");av.hide();if(av.filter('[data-settings~="overlay"]').length!=0&&!O[at].hasOneLine){av.css("position","absolute");av.css("z-index",2);if(av.filter('[data-settings~="hide"]').length!=0){ar.click(function(){U(at,undefined,undefined,0)});aq.click(function(){U(at,false,undefined,0)})}}else{av.css("z-index",4)}if(av.filter('[data-settings~="delay"]').length!=0){O[at].toolbar_delay=500}aE.mouseenter(function(){U(at,true)}).mouseleave(function(){U(at,false)})}else{if(aa){av.show()}}if(aE.filter('[data-settings~="minimize"]').length==0){J.minimize(at)}if(aq.length!=0&&!aa){if(aq.filter('[data-settings~="dblclick"]').length!=0){ar.dblclick(function(){CrayonSyntax.togglePlain(at)})}else{if(aq.filter('[data-settings~="click"]').length!=0){ar.click(function(){CrayonSyntax.togglePlain(at)})}else{if(aq.filter('[data-settings~="mouseover"]').length!=0){aE.mouseenter(function(){CrayonSyntax.togglePlain(at,true)}).mouseleave(function(){CrayonSyntax.togglePlain(at,false)});aA.hide()}}}if(aq.filter('[data-settings~="show-plain-default"]').length!=0){CrayonSyntax.togglePlain(at,true)}}var aj=aE.filter('[data-settings~="expand"]').length!=0;if(!aa&&aE.filter('[data-settings~="scroll-mouseover"]').length!=0){ar.css("overflow","hidden");aq.css("overflow","hidden");aE.mouseenter(function(){N(at,true,aj)}).mouseleave(function(){N(at,false,aj)})}if(aj){aE.mouseenter(function(){E(at,true)}).mouseleave(function(){E(at,false)})}if(aE.filter('[data-settings~="disable-anim"]').length!=0){O[at].time=0}if(aE.filter('[data-settings~="wrap"]').length!=0){O[at].wrapped=true}O[at].mac=aE.hasClass("crayon-os-mac");ad(at);ac(at);Z(at)};var ab=function(aj){CrayonUtil.log(O);if(typeof O[aj]=="undefined"){O[aj]=f("#"+aj);CrayonUtil.log("make "+aj);return true}CrayonUtil.log("no make "+aj);return false};var Y=function(){return H++};var G=function(aj){if(typeof O[aj]=="undefined"){return ab(aj)}var ak=O[aj].popup_settings;if(ak.data){return}var am=O[aj].clone(true);am.removeClass("crayon-wrapped");if(O[aj].wrapped){f(k,am).each(function(){var ap=f(this).attr("data-line");var ao=f("#"+ap);var an=ao.attr("data-height");an=an?an:"";if(typeof an!="undefined"){ao.css("height",an);f(this).css("height",an)}})}am.find(p).css("height","");var al="";if(O[aj].plainVisible){al=am.find(x)}else{al=am.find(p)}ak.data=J.getAllCSS()+'<body class="crayon-popup-window" style="padding:0; margin:0;"><div class="'+am.attr("class")+' crayon-popup">'+J.removeCssInline(J.getHtmlString(al))+"</div></body>"};J.minimize=function(am){var al=f('<div class="crayon-minimize crayon-button"><div>');O[am].tools.append(al);O[am].origTitle=O[am].title.html();if(!O[am].origTitle){O[am].title.html(I.minimize)}var ak="crayon-minimized";var aj=function(){O[am].toolbarPreventHide=false;al.remove();O[am].removeClass(ak);O[am].title.html(O[am].origTitle);var an=O[am].toolbar;if(an.filter('[data-settings~="never-show"]').length!=0){an.remove()}};O[am].toolbar.click(aj);al.click(aj);O[am].addClass(ak);O[am].toolbarPreventHide=true;U(am,undefined,undefined,0)};J.getHtmlString=function(aj){return f("<div>").append(aj.clone()).remove().html()};J.removeCssInline=function(al){var ak=/style\s*=\s*"([^"]+)"/gmi;var aj=null;while((aj=ak.exec(al))!=null){var am=aj[1];am=am.replace(/\b(?:width|height)\s*:[^;]+;/gmi,"");al=al.sliceReplace(aj.index,aj.index+aj[0].length,'style="'+am+'"')}return al};J.getAllCSS=function(){var al="";var ak=f('link[rel="stylesheet"]');var aj=[];if(ak.length==1){aj=ak}else{aj=ak.filter('[href*="crayon-syntax-highlighter"], [href*="min/"]')}aj.each(function(){var am=J.getHtmlString(f(this));al+=am});return al};J.copyPlain=function(al,am){if(typeof O[al]=="undefined"){return ab(al)}var ak=O[al].plain;J.togglePlain(al,true,true);U(al,true);var aj=O[al].mac?"\u2318":"CTRL";var an=I.copy;an=an.replace(/%s/,aj+"+C");an=an.replace(/%s/,aj+"+V");B(al,an);return false};var B=function(ak,am,aj){if(typeof O[ak]=="undefined"){return ab(ak)}var al=O[ak].info;if(typeof am=="undefined"){am=""}if(typeof aj=="undefined"){aj=true}if(M(al)&&aj){al.html("<div>"+am+"</div>");al.css("margin-top",-al.outerHeight());al.show();R(ak,al,true);setTimeout(function(){R(ak,al,false)},5000)}if(!aj){R(ak,al,false)}};var C=function(aj){if(window.devicePixelRatio>1){var ak=f(".crayon-button-icon",O[aj].toolbar);ak.each(function(){var am=f(this).css("background-image");var al=am.replace(/\.(?=[^\.]+$)/g,"@2x.");f(this).css("background-size","48px 128px");f(this).css("background-image",al)})}};var M=function(aj){var ak="-"+aj.outerHeight()+"px";if(aj.css("margin-top")==ak||aj.css("display")=="none"){return true}else{return false}};var R=function(am,al,ak,ao,an,aq){var aj=function(){if(aq){aq(am,al)}};var ap="-"+al.outerHeight()+"px";if(typeof ak=="undefined"){if(M(al)){ak=true}else{ak=false}}if(typeof ao=="undefined"){ao=100}if(ao==false){ao=false}if(typeof an=="undefined"){an=0}al.stop(true);if(ak==true){al.show();al.animate({marginTop:0},ai(ao,am),aj)}else{if(ak==false){if(al.css("margin-top")=="0px"&&an){al.delay(an)}al.animate({marginTop:ap},ai(ao,am),function(){al.hide();aj()})}}};J.togglePlain=function(am,an,ak){if(typeof O[am]=="undefined"){return ab(am)}var aj=O[am].main;var al=O[am].plain;if((aj.is(":animated")||al.is(":animated"))&&typeof an=="undefined"){return}af(am);var ap,ao;if(typeof an!="undefined"){if(an){ap=aj;ao=al}else{ap=al;ao=aj}}else{if(aj.css("z-index")==1){ap=aj;ao=al}else{ap=al;ao=aj}}O[am].plainVisible=(ao==al);O[am].top=ap.scrollTop();O[am].left=ap.scrollLeft();O[am].scrollChanged=false;D(am);ap.stop(true);ap.fadeTo(ai(500,am),0,function(){ap.css("z-index",0)});ao.stop(true);ao.fadeTo(ai(500,am),1,function(){ao.css("z-index",1);if(ao==al){if(ak){al.select()}else{}}ao.scrollTop(O[am].top+1);ao.scrollTop(O[am].top);ao.scrollLeft(O[am].left+1);ao.scrollLeft(O[am].left)});ao.scrollTop(O[am].top);ao.scrollLeft(O[am].left);ac(am);U(am,false);return false};J.toggleNums=function(an,am,aj){if(typeof O[an]=="undefined"){ab(an);return false}if(O[an].table.is(":animated")){return false}var ap=Math.round(O[an].nums_content.outerWidth()+1);var ao="-"+ap+"px";var al;if(typeof am!="undefined"){al=false}else{al=(O[an].table.css("margin-left")==ao)}var ak;if(al){ak="0px";O[an].numsVisible=true}else{O[an].table.css("margin-left","0px");O[an].numsVisible=false;ak=ao}if(typeof aj!="undefined"){O[an].table.css("margin-left",ak);ad(an);return false}var aq=(O[an].table.outerWidth()+K(O[an].table.css("margin-left"))>O[an].main.outerWidth());var ar=(O[an].table.outerHeight()>O[an].main.outerHeight());if(!aq&&!ar){O[an].main.css("overflow","hidden")}O[an].table.animate({marginLeft:ak},ai(200,an),function(){if(typeof O[an]!="undefined"){ad(an);if(!aq&&!ar){O[an].main.css("overflow","auto")}}});return false};J.toggleWrap=function(aj){O[aj].wrapped=!O[aj].wrapped;Z(aj)};J.toggleExpand=function(aj){var ak=!CrayonUtil.setDefault(O[aj].expanded,false);E(aj,ak)};var Z=function(aj,ak){ak=CrayonUtil.setDefault(ak,true);if(O[aj].wrapped){O[aj].addClass(g)}else{O[aj].removeClass(g)}F(aj);if(!O[aj].expanded&&ak){W(aj)}O[aj].wrapTimes=0;clearInterval(O[aj].wrapTimer);O[aj].wrapTimer=setInterval(function(){if(O[aj].is(":visible")){P(aj);O[aj].wrapTimes++;if(O[aj].wrapTimes==5){clearInterval(O[aj].wrapTimer)}}},200)};var ae=function(aj){if(typeof O[aj]=="undefined"){ab(aj);return false}};var K=function(ak){if(typeof ak!="string"){return 0}var aj=ak.replace(/[^-0-9]/g,"");if(aj.length==0){return 0}else{return parseInt(aj)}};var ad=function(aj){if(typeof O[aj]=="undefined"||typeof O[aj].numsVisible=="undefined"){return}if(O[aj].numsVisible){O[aj].numsButton.removeClass(a);O[aj].numsButton.addClass(d)}else{O[aj].numsButton.removeClass(d);O[aj].numsButton.addClass(a)}};var F=function(aj){if(typeof O[aj]=="undefined"||typeof O[aj].wrapped=="undefined"){return}if(O[aj].wrapped){O[aj].wrapButton.removeClass(a);O[aj].wrapButton.addClass(d)}else{O[aj].wrapButton.removeClass(d);O[aj].wrapButton.addClass(a)}};var X=function(aj){if(typeof O[aj]=="undefined"||typeof O[aj].expanded=="undefined"){return}if(O[aj].expanded){O[aj].expandButton.removeClass(a);O[aj].expandButton.addClass(d)}else{O[aj].expandButton.removeClass(d);O[aj].expandButton.addClass(a)}};var ac=function(aj){if(typeof O[aj]=="undefined"||typeof O[aj].plainVisible=="undefined"){return}if(O[aj].plainVisible){O[aj].plainButton.removeClass(a);O[aj].plainButton.addClass(d)}else{O[aj].plainButton.removeClass(d);O[aj].plainButton.addClass(a)}};var U=function(ak,aj,am,al){if(typeof O[ak]=="undefined"){return ab(ak)}else{if(!O[ak].toolbarMouseover){return}else{if(aj==false&&O[ak].toolbarPreventHide){return}else{if(aa){return}}}}var an=O[ak].toolbar;if(typeof al=="undefined"){al=O[ak].toolbar_delay}R(ak,an,aj,am,al,function(){O[ak].toolbarVisible=aj})};var S=function(al,aj){var ak=f.extend({},al);ak.width+=aj.width;ak.height+=aj.height;return ak};var Q=function(al,aj){var ak=f.extend({},al);ak.width-=aj.width;ak.height-=aj.height;return ak};var V=function(aj){if(typeof O[aj].initialSize=="undefined"){O[aj].toolbarHeight=O[aj].toolbar.outerHeight();O[aj].innerSize={width:O[aj].width(),height:O[aj].height()};O[aj].outerSize={width:O[aj].outerWidth(),height:O[aj].outerHeight()};O[aj].borderSize=Q(O[aj].outerSize,O[aj].innerSize);O[aj].initialSize={width:O[aj].main.outerWidth(),height:O[aj].main.outerHeight()};O[aj].initialSize.height+=O[aj].toolbarHeight;O[aj].initialOuterSize=S(O[aj].initialSize,O[aj].borderSize);O[aj].finalSize={width:O[aj].table.outerWidth(),height:O[aj].table.outerHeight()};O[aj].finalSize.height+=O[aj].toolbarHeight;O[aj].finalSize.width=CrayonUtil.setMin(O[aj].finalSize.width,O[aj].initialSize.width);O[aj].finalSize.height=CrayonUtil.setMin(O[aj].finalSize.height,O[aj].initialSize.height);O[aj].diffSize=Q(O[aj].finalSize,O[aj].initialSize);O[aj].finalOuterSize=S(O[aj].finalSize,O[aj].borderSize);O[aj].initialSize.height+=O[aj].toolbar.outerHeight()}};var E=function(am,ap){if(typeof O[am]=="undefined"){return ab(am)}if(typeof ap=="undefined"){return}var ak=O[am].main;var ar=O[am].plain;if(ap){if(typeof O[am].expanded=="undefined"){V(am);O[am].expandTime=CrayonUtil.setRange(O[am].diffSize.width/3,300,800);O[am].expanded=false;var aq=O[am].finalOuterSize;O[am].placeholder=f("<div></div>");O[am].placeholder.addClass(z);O[am].placeholder.css(aq);O[am].before(O[am].placeholder);O[am].placeholder.css("margin",O[am].css("margin"));f(window).bind("resize",L)}var an={height:"auto","min-height":"none","max-height":"none"};var aj={width:"auto","min-width":"none","max-width":"none"};O[am].outerWidth(O[am].outerWidth());O[am].css({"min-width":"none","max-width":"none"});var ao={width:O[am].finalOuterSize.width};if(!O[am].mainHeightAuto&&!O[am].hasOneLine){ao.height=O[am].finalOuterSize.height;O[am].outerHeight(O[am].outerHeight())}ak.css(an);ak.css(aj);O[am].stop(true);O[am].animate(ao,ai(O[am].expandTime,am),function(){O[am].expanded=true;X(am)});O[am].placeholder.show();f("body").prepend(O[am]);O[am].addClass(u);L()}else{var at=O[am].initialOuterSize;var al=O[am].toolbar_delay;if(at){O[am].stop(true);if(!O[am].expanded){O[am].delay(al)}var ao={width:at.width};if(!O[am].mainHeightAuto&&!O[am].hasOneLine){ao.height=at.height}O[am].animate(ao,ai(O[am].expandTime,am),function(){ag(am)})}else{setTimeout(function(){ag(am)},al)}O[am].placeholder.hide();O[am].placeholder.before(O[am]);O[am].css({left:"auto",top:"auto"});O[am].removeClass(u)}af(am);if(ap){Z(am,false)}};var L=function(){for(uid in O){if(O[uid].hasClass(u)){O[uid].css(O[uid].placeholder.offset())}}};var ag=function(aj){O[aj].expanded=false;W(aj);X(aj);if(O[aj].wrapped){Z(aj)}};var N=function(am,ak,an){if(typeof O[am]=="undefined"){return ab(am)}if(typeof ak=="undefined"||an||O[am].expanded){return}var aj=O[am].main;var al=O[am].plain;if(ak){aj.css("overflow","auto");al.css("overflow","auto");if(typeof O[am].top!="undefined"){visible=(aj.css("z-index")==1?aj:al);visible.scrollTop(O[am].top-1);visible.scrollTop(O[am].top);visible.scrollLeft(O[am].left-1);visible.scrollLeft(O[am].left)}}else{visible=(aj.css("z-index")==1?aj:al);O[am].top=visible.scrollTop();O[am].left=visible.scrollLeft();aj.css("overflow","hidden");al.css("overflow","hidden")}O[am].scrollChanged=true;D(am)};var D=function(aj){O[aj].table.style("width","100%","important");var ak=setTimeout(function(){O[aj].table.style("width","");clearInterval(ak)},10)};var W=function(al){var ak=O[al].main;var aj=O[al].mainStyle;ak.css(aj);O[al].css("height","auto");O[al].css("width",aj.width);O[al].css("max-width",aj["max-width"]);O[al].css("min-width",aj["min-width"])};var af=function(aj){O[aj].plain.outerHeight(O[aj].main.outerHeight())};var P=function(aj){f(k,O[aj]).each(function(){var am=f(this).attr("data-line");var al=f("#"+am);var ak=null;if(O[aj].wrapped){al.css("height","");ak=al.outerHeight();ak=ak?ak:""}else{ak=al.attr("data-height");ak=ak?ak:"";al.css("height",ak)}f(this).css("height",ak)})};var ai=function(aj,ak){if(aj=="fast"){aj=200}else{if(aj=="slow"){aj=600}else{if(!T(aj)){aj=parseInt(aj);if(isNaN(aj)){return 0}}}}return aj*O[ak].time};var T=function(aj){return typeof aj=="number"}}})(jQueryCrayon);var CSSJSON=new function(){var c=this;c.init=function(){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.repeat=function(p){return new Array(1+p).join(this)}};c.init();var h=/([^\s\;\{\}][^\;\{\}]*)\{/g;var n=/\}/g;var d=/([^\;\{\}]*)\;/g;var l=/\/\*[\s\S]*?\*\//g;var g=/([^\:]+):([^\;]*);/;var o=/(\/\*[\s\S]*?\*\/)|([^\s\;\{\}][^\;\{\}]*(?=\{))|(\})|([^\;\{\}]+\;(?!\s*\*\/))/gmi;var j=1;var f=2;var b=3;var k=4;var e=function(p){return typeof p=="undefined"||p.length==0||p==null};c.toJSON=function(r,x){var s={children:{},attributes:{}};var u=null;var v=0;if(typeof x=="undefined"){var x={ordered:false,comments:false,stripComments:false,split:false}}if(x.stripComments){x.comments=false;r=r.replace(l,"")}while((u=o.exec(r))!=null){if(!e(u[j])&&x.comments){var C=u[j].trim();s[v++]=C}else{if(!e(u[f])){var p=u[f].trim();var A=c.toJSON(r,x);if(x.ordered){var t={};t.name=p;t.value=A;t.type="rule";s[v++]=t}else{if(x.split){var B=p.split(",")}else{var B=[p]}for(i in B){var q=B[i].trim();if(q in s.children){for(var y in A.attributes){s.children[q].attributes[y]=A.attributes[y]}}else{s.children[q]=A}}}}else{if(!e(u[b])){return s}else{if(!e(u[k])){var D=u[k].trim();var w=g.exec(D);if(w){var p=w[1].trim();var z=w[2].trim();if(x.ordered){var t={};t.name=p;t.value=z;t.type="attr";s[v++]=t}else{s.attributes[p]=z}}else{s[v++]=D}}}}}}return s};c.toCSS=function(r,t,q){var p="";if(typeof t=="undefined"){t=0}if(typeof q=="undefined"){q=false}if(r.attributes){for(i in r.attributes){p+=a(i,r.attributes[i],t)}}if(r.children){var s=true;for(i in r.children){if(q&&!s){p+="\n"}else{s=false}p+=m(i,r.children[i],t)}}return p};var a=function(p,q,r){return"\t".repeat(r)+p+": "+q+";\n"};var m=function(p,r,s){var q="\t".repeat(s)+p+" {\n";q+=c.toCSS(r,s+1);q+="\t".repeat(s)+"}\n";return q}};
2
+ /*!
3
+ * fancyBox - jQuery Plugin
4
+ * version: 2.1.3 (Tue, 23 Oct 2012)
5
+ * @requires jQuery v1.6 or later
6
+ *
7
+ * Examples at http://fancyapps.com/fancybox/
8
+ * License: www.fancyapps.com/fancybox/#license
9
+ *
10
+ * Copyright 2012 Janis Skarnelis - janis@fancyapps.com
11
+ *
12
+ * Modified by Aram Kocharyan:
13
+ * http://aramk.com/crayon/initialising-fancybox-with-custom-objects
14
+ */
15
+ window.fancyboxInit=function(t,q,v,x){var A=v(t),D=v(q),p=v[x]=function(){p.open.apply(this,arguments)},B=null,z=q.createTouch!==undefined,u=function(a){return a&&a.hasOwnProperty&&a instanceof v},C=function(a){return a&&v.type(a)==="string"},s=function(a){return C(a)&&a.indexOf("%")>0},w=function(a){return(a&&!(a.style.overflow&&a.style.overflow==="hidden")&&((a.clientWidth&&a.scrollWidth>a.clientWidth)||(a.clientHeight&&a.scrollHeight>a.clientHeight)))},r=function(a,b){var c=parseInt(a,10)||0;if(b&&s(a)){c=p.getViewport()[b]/100*c}return Math.ceil(c)},y=function(b,a){return r(b,a)+"px"};v.extend(p,{version:"2.1.3",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,autoSize:true,autoHeight:false,autoWidth:false,autoResize:true,autoCenter:!z,fitToView:true,aspectRatio:false,topRatio:0.5,leftRatio:0.5,scrolling:"auto",wrapCSS:"",arrows:true,closeBtn:true,closeClick:false,nextClick:false,mouseWheel:true,autoPlay:false,playSpeed:3000,preload:3,modal:false,loop:true,ajax:{dataType:"html",headers:{"X-fancyBox":true}},iframe:{scrolling:"auto",preload:true},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:true,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(v.browser.msie?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:true,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:true,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:true,title:true},onCancel:v.noop,beforeLoad:v.noop,afterLoad:v.noop,beforeShow:v.noop,afterShow:v.noop,beforeChange:v.noop,beforeClose:v.noop,afterClose:v.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:false,isOpen:false,isOpened:false,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:false},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,b){if(!a){return}if(!v.isPlainObject(b)){b={}}if(false===p.close(true)){return}if(!v.isArray(a)){a=u(a)?v(a).get():[a]}v.each(a,function(j,h){var k={},c,e,g,f,l,d,m;if(v.type(h)==="object"){if(h.nodeType){h=v(h)}if(u(h)){k={href:h.data("fancybox-href")||h.attr("href"),title:h.data("fancybox-title")||h.attr("title"),isDom:true,element:h};if(v.metadata){v.extend(true,k,h.metadata())}}else{k=h}}c=b.href||k.href||(C(h)?h:null);e=b.title!==undefined?b.title:k.title||"";g=b.content||k.content;f=g?"html":(b.type||k.type);if(!f&&k.isDom){f=h.data("fancybox-type");if(!f){l=h.prop("class").match(/fancybox\.(\w+)/);f=l?l[1]:null}}if(C(c)){if(!f){if(p.isImage(c)){f="image"}else{if(p.isSWF(c)){f="swf"}else{if(c.charAt(0)==="#"){f="inline"}else{if(C(h)){f="html";g=h}}}}}if(f==="ajax"){d=c.split(/\s+/,2);c=d.shift();m=d.shift()}}if(!g){if(f==="inline"){if(c){g=v(C(c)?c.replace(/.*(?=#[^\s]+$)/,""):c)}else{if(k.isDom){g=h}}}else{if(f==="html"){g=c}else{if(!f&&!c&&k.isDom){f="inline";g=h}}}}v.extend(k,{href:c,type:f,content:g,title:e,selector:m});a[j]=k});p.opts=v.extend(true,{},p.defaults,b);if(b.keys!==undefined){p.opts.keys=b.keys?v.extend({},p.defaults.keys,b.keys):false}p.group=a;return p._start(p.opts.index)},cancel:function(){var a=p.coming;if(!a||false===p.trigger("onCancel")){return}p.hideLoading();if(p.ajaxLoad){p.ajaxLoad.abort()}p.ajaxLoad=null;if(p.imgPreload){p.imgPreload.onload=p.imgPreload.onerror=null}if(a.wrap){a.wrap.stop(true,true).trigger("onReset").remove()}p.coming=null;if(!p.current){p._afterZoomOut(a)}},close:function(a){p.cancel();if(false===p.trigger("beforeClose")){return}p.unbindEvents();if(!p.isActive){return}if(!p.isOpen||a===true){v(".fancybox-wrap").stop(true).trigger("onReset").remove();p._afterZoomOut()}else{p.isOpen=p.isOpened=false;p.isClosing=true;v(".fancybox-item, .fancybox-nav").remove();p.wrap.stop(true,true).removeClass("fancybox-opened");p.transitions[p.current.closeMethod]()}},play:function(c){var e=function(){clearTimeout(p.player.timer)},a=function(){e();if(p.current&&p.player.isActive){p.player.timer=setTimeout(p.next,p.current.playSpeed)}},d=function(){e();v("body").unbind(".player");p.player.isActive=false;p.trigger("onPlayEnd")},b=function(){if(p.current&&(p.current.loop||p.current.index<p.group.length-1)){p.player.isActive=true;v("body").bind({"afterShow.player onUpdate.player":a,"onCancel.player beforeClose.player":d,"beforeLoad.player":e});a();p.trigger("onPlayStart")}};if(c===true||(!p.player.isActive&&c!==false)){b()}else{d()}},next:function(a){var b=p.current;if(b){if(!C(a)){a=b.direction.next}p.jumpto(b.index+1,a,"next")}},prev:function(a){var b=p.current;if(b){if(!C(a)){a=b.direction.prev}p.jumpto(b.index-1,a,"prev")}},jumpto:function(c,a,d){var b=p.current;if(!b){return}c=r(c);p.direction=a||b.direction[(c>=b.index?"next":"prev")];p.router=d||"jumpto";if(b.loop){if(c<0){c=b.group.length+(c%b.group.length)}c=c%b.group.length}if(b.group[c]!==undefined){p.cancel();p._start(c)}},reposition:function(b,e){var c=p.current,d=c?c.wrap:null,a;if(d){a=p._getPosition(e);if(b&&b.type==="scroll"){delete a.position;d.stop(true,true).animate(a,200)}else{d.css(a);c.pos=v.extend({},c.dim,a)}}},update:function(a){var c=(a&&a.type),b=!c||c==="orientationchange";if(b){clearTimeout(B);B=null}if(!p.isOpen||B){return}B=setTimeout(function(){var d=p.current;if(!d||p.isClosing){return}p.wrap.removeClass("fancybox-tmp");if(b||c==="load"||(c==="resize"&&d.autoResize)){p._setDimension()}if(!(c==="scroll"&&d.canShrink)){p.reposition(a)}p.trigger("onUpdate");B=null},(b&&!z?0:300))},toggle:function(a){if(p.isOpen){p.current.fitToView=v.type(a)==="boolean"?a:!p.current.fitToView;if(z){p.wrap.removeAttr("style").addClass("fancybox-tmp");p.trigger("onUpdate")}p.update()}},hideLoading:function(){D.unbind(".loading");v("#fancybox-loading").remove()},showLoading:function(){var a,b;p.hideLoading();a=v('<div id="fancybox-loading"><div></div></div>').click(p.cancel).appendTo("body");D.bind("keydown.loading",function(c){if((c.which||c.keyCode)===27){c.preventDefault();p.cancel()}});if(!p.defaults.fixed){b=p.getViewport();a.css({position:"absolute",top:(b.h*0.5)+b.y,left:(b.w*0.5)+b.x})}},getViewport:function(){var b=(p.current&&p.current.locked)||false,a={x:A.scrollLeft(),y:A.scrollTop()};if(b){a.w=b[0].clientWidth;a.h=b[0].clientHeight}else{a.w=z&&t.innerWidth?t.innerWidth:A.width();a.h=z&&t.innerHeight?t.innerHeight:A.height()}return a},unbindEvents:function(){if(p.wrap&&u(p.wrap)){p.wrap.unbind(".fb")}D.unbind(".fb");A.unbind(".fb")},bindEvents:function(){var a=p.current,b;if(!a){return}A.bind("orientationchange.fb"+(z?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),p.update);b=a.keys;if(b){D.bind("keydown.fb",function(c){var e=c.which||c.keyCode,d=c.target||c.srcElement;if(e===27&&p.coming){return false}if(!c.ctrlKey&&!c.altKey&&!c.shiftKey&&!c.metaKey&&!(d&&(d.type||v(d).is("[contenteditable]")))){v.each(b,function(g,f){if(a.group.length>1&&f[e]!==undefined){p[g](f[e]);c.preventDefault();return false}if(v.inArray(e,f)>-1){p[g]();c.preventDefault();return false}})}})}if(v.fn.mousewheel&&a.mouseWheel){p.wrap.bind("mousewheel.fb",function(d,c,h,j){var e=d.target||null,g=v(e),f=false;while(g.length){if(f||g.is(".fancybox-skin")||g.is(".fancybox-wrap")){break}f=w(g[0]);g=v(g).parent()}if(c!==0&&!f){if(p.group.length>1&&!a.canShrink){if(j>0||h>0){p.prev(j>0?"down":"left")}else{if(j<0||h<0){p.next(j<0?"up":"right")}}d.preventDefault()}}})}},trigger:function(c,a){var d,b=a||p.coming||p.current;if(!b){return}if(v.isFunction(b[c])){d=b[c].apply(b,Array.prototype.slice.call(arguments,1))}if(d===false){return false}if(b.helpers){v.each(b.helpers,function(e,f){if(f&&p.helpers[e]&&v.isFunction(p.helpers[e][c])){f=v.extend(true,{},p.helpers[e].defaults,f);p.helpers[e][c](f,b)}})}v.event.trigger(c+".fb")},isImage:function(a){return C(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp)((\?|#).*)?$)/i)},isSWF:function(a){return C(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(f){var e={},a,g,d,c,b;f=r(f);a=p.group[f]||null;if(!a){return false}e=v.extend(true,{},p.opts,a);c=e.margin;b=e.padding;if(v.type(c)==="number"){e.margin=[c,c,c,c]}if(v.type(b)==="number"){e.padding=[b,b,b,b]}if(e.modal){v.extend(true,e,{closeBtn:false,closeClick:false,nextClick:false,arrows:false,mouseWheel:false,keys:null,helpers:{overlay:{closeClick:false}}})}if(e.autoSize){e.autoWidth=e.autoHeight=true}if(e.width==="auto"){e.autoWidth=true}if(e.height==="auto"){e.autoHeight=true}e.group=p.group;e.index=f;p.coming=e;if(false===p.trigger("beforeLoad")){p.coming=null;return}d=e.type;g=e.href;if(!d){p.coming=null;if(p.current&&p.router&&p.router!=="jumpto"){p.current.index=f;return p[p.router](p.direction)}return false}p.isActive=true;if(d==="image"||d==="swf"){e.autoHeight=e.autoWidth=false;e.scrolling="visible"}if(d==="image"){e.aspectRatio=true}if(d==="iframe"&&z){e.scrolling="scroll"}e.wrap=v(e.tpl.wrap).addClass("fancybox-"+(z?"mobile":"desktop")+" fancybox-type-"+d+" fancybox-tmp "+e.wrapCSS).appendTo(e.parent||"body");v.extend(e,{skin:v(".fancybox-skin",e.wrap),outer:v(".fancybox-outer",e.wrap),inner:v(".fancybox-inner",e.wrap)});v.each(["Top","Right","Bottom","Left"],function(h,j){e.skin.css("padding"+j,y(e.padding[h]))});p.trigger("onReady");if(d==="inline"||d==="html"){if(!e.content||!e.content.length){return p._error("content")}}else{if(!g){return p._error("href")}}if(d==="image"){p._loadImage()}else{if(d==="ajax"){p._loadAjax()}else{if(d==="iframe"){p._loadIframe()}else{p._afterLoad()}}}},_error:function(a){v.extend(p.coming,{type:"html",autoWidth:true,autoHeight:true,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:p.coming.tpl.error});p._afterLoad()},_loadImage:function(){var a=p.imgPreload=new Image();a.onload=function(){this.onload=this.onerror=null;p.coming.width=this.width;p.coming.height=this.height;p._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;p._error("image")};a.src=p.coming.href;if(a.complete!==true){p.showLoading()}},_loadAjax:function(){var a=p.coming;p.showLoading();p.ajaxLoad=v.ajax(v.extend({},a.ajax,{url:a.href,error:function(c,b){if(p.coming&&b!=="abort"){p._error("ajax",c)}else{p.hideLoading()}},success:function(c,b){if(b==="success"){a.content=c;p._afterLoad()}}}))},_loadIframe:function(){var b=p.coming,a=v(b.tpl.iframe.replace(/\{rnd\}/g,new Date().getTime())).attr("scrolling",z?"auto":b.iframe.scrolling).attr("src",b.href);v(b.wrap).bind("onReset",function(){try{v(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(c){}});if(b.iframe.preload){p.showLoading();a.one("load",function(){v(this).data("ready",1);if(!z){v(this).bind("load.fb",p.update)}v(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();p._afterLoad()})}b.content=a.appendTo(b.inner);if(!b.iframe.preload){p._afterLoad()}},_preloadImages:function(){var a=p.group,b=p.current,f=a.length,d=b.preload?Math.min(b.preload,f-1):0,c,e;for(e=1;e<=d;e+=1){c=a[(b.index+e)%f];if(c.type==="image"&&c.href){new Image().src=c.href}}},_afterLoad:function(){var b=p.coming,j=p.current,d="fancybox-placeholder",g,f,e,a,c,h;p.hideLoading();if(!b||p.isActive===false){return}if(false===p.trigger("afterLoad",b,j)){b.wrap.stop(true).trigger("onReset").remove();p.coming=null;return}if(j){p.trigger("beforeChange",j);j.wrap.stop(true).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()}p.unbindEvents();g=b;f=b.content;e=b.type;a=b.scrolling;v.extend(p,{wrap:g.wrap,skin:g.skin,outer:g.outer,inner:g.inner,current:g,previous:j});c=g.href;switch(e){case"inline":case"ajax":case"html":if(g.selector){f=v("<div>").html(f).find(g.selector)}else{if(u(f)){if(!f.data(d)){f.data(d,v('<div class="'+d+'"></div>').insertAfter(f).hide())}f=f.show().detach();g.wrap.bind("onReset",function(){if(v(this).find(f).length){f.hide().replaceAll(f.data(d)).data(d,false)}})}}break;case"image":f=g.tpl.image.replace("{href}",c);break;case"swf":f='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+c+'"></param>';h="";v.each(g.swf,function(l,k){f+='<param name="'+l+'" value="'+k+'"></param>';h+=" "+l+'="'+k+'"'});f+='<embed src="'+c+'" type="application/x-shockwave-flash" width="100%" height="100%"'+h+"></embed></object>";break}if(!(u(f)&&f.parent().is(g.inner))){g.inner.append(f)}p.trigger("beforeShow");g.inner.css("overflow",a==="yes"?"scroll":(a==="no"?"hidden":a));p._setDimension();p.reposition();p.isOpen=false;p.coming=null;p.bindEvents();if(!p.isOpened){v(".fancybox-wrap").not(g.wrap).stop(true).trigger("onReset").remove()}else{if(j.prevMethod){p.transitions[j.prevMethod]()}}p.transitions[p.isOpened?g.nextMethod:g.openMethod]();p._preloadImages()},_setDimension:function(){var f=p.getViewport(),k=0,d=false,b=false,at=p.wrap,m=p.skin,a=p.inner,aa=p.current,Y=aa.width,ad=aa.height,am=aa.minWidth,ae=aa.minHeight,h=aa.maxWidth,ac=aa.maxHeight,ao=aa.scrolling,ai=aa.scrollOutside?aa.scrollbarWidth:0,ag=aa.margin,af=r(ag[1]+ag[3]),ak=r(ag[0]+ag[2]),an,aq,l,j,ah,aj,n,Z,ab,e,al,c,ar,o,ap;at.add(m).add(a).width("auto").height("auto").removeClass("fancybox-tmp");an=r(m.outerWidth(true)-m.width());aq=r(m.outerHeight(true)-m.height());l=af+an;j=ak+aq;ah=s(Y)?(f.w-l)*r(Y)/100:Y;aj=s(ad)?(f.h-j)*r(ad)/100:ad;if(aa.type==="iframe"){o=aa.content;if(aa.autoHeight&&o.data("ready")===1){try{if(o[0].contentWindow.document.location){a.width(ah).height(9999);ap=o.contents().find("body");if(ai){ap.css("overflow-x","hidden")}aj=ap.height()}}catch(g){}}}else{if(aa.autoWidth||aa.autoHeight){a.addClass("fancybox-tmp");if(!aa.autoWidth){a.width(ah)}if(!aa.autoHeight){a.height(aj)}if(aa.autoWidth){ah=a.width()}if(aa.autoHeight){aj=a.height()}a.removeClass("fancybox-tmp")}}Y=r(ah);ad=r(aj);ab=ah/aj;am=r(s(am)?r(am,"w")-l:am);h=r(s(h)?r(h,"w")-l:h);ae=r(s(ae)?r(ae,"h")-j:ae);ac=r(s(ac)?r(ac,"h")-j:ac);n=h;Z=ac;if(aa.fitToView){h=Math.min(f.w-l,h);ac=Math.min(f.h-j,ac)}c=f.w-af;ar=f.h-ak;if(aa.aspectRatio){if(Y>h){Y=h;ad=r(Y/ab)}if(ad>ac){ad=ac;Y=r(ad*ab)}if(Y<am){Y=am;ad=r(Y/ab)}if(ad<ae){ad=ae;Y=r(ad*ab)}}else{Y=Math.max(am,Math.min(Y,h));if(aa.autoHeight&&aa.type!=="iframe"){a.width(Y);ad=a.height()}ad=Math.max(ae,Math.min(ad,ac))}if(aa.fitToView){a.width(Y).height(ad);at.width(Y+an);e=at.width();al=at.height();if(aa.aspectRatio){while((e>c||al>ar)&&Y>am&&ad>ae){if(k++>19){break}ad=Math.max(ae,Math.min(ac,ad-10));Y=r(ad*ab);if(Y<am){Y=am;ad=r(Y/ab)}if(Y>h){Y=h;ad=r(Y/ab)}a.width(Y).height(ad);at.width(Y+an);e=at.width();al=at.height()}}else{Y=Math.max(am,Math.min(Y,Y-(e-c)));ad=Math.max(ae,Math.min(ad,ad-(al-ar)))}}if(ai&&ao==="auto"&&ad<aj&&(Y+an+ai)<c){Y+=ai}a.width(Y).height(ad);at.width(Y+an);e=at.width();al=at.height();d=(e>c||al>ar)&&Y>am&&ad>ae;b=aa.aspectRatio?(Y<n&&ad<Z&&Y<ah&&ad<aj):((Y<n||ad<Z)&&(Y<ah||ad<aj));v.extend(aa,{dim:{width:y(e),height:y(al)},origWidth:ah,origHeight:aj,canShrink:d,canExpand:b,wPadding:an,hPadding:aq,wrapSpace:al-m.outerHeight(true),skinSpace:m.height()-ad});if(!o&&aa.autoHeight&&ad>ae&&ad<ac&&!b){a.height("auto")}},_getPosition:function(e){var a=p.current,f=p.getViewport(),c=a.margin,d=p.wrap.width()+c[1]+c[3],g=p.wrap.height()+c[0]+c[2],b={position:"absolute",top:c[0],left:c[3]};if(a.autoCenter&&a.fixed&&!e&&g<=f.h&&d<=f.w){b.position="fixed"}else{if(!a.locked){b.top+=f.y;b.left+=f.x}}b.top=y(Math.max(b.top,b.top+((f.h-g)*a.topRatio)));b.left=y(Math.max(b.left,b.left+((f.w-d)*a.leftRatio)));return b},_afterZoomIn:function(){var a=p.current;if(!a){return}p.isOpen=p.isOpened=true;p.wrap.css("overflow","visible").addClass("fancybox-opened");p.update();if(a.closeClick||(a.nextClick&&p.group.length>1)){p.inner.css("cursor","pointer").bind("click.fb",function(b){if(!v(b.target).is("a")&&!v(b.target).parent().is("a")){b.preventDefault();p[a.closeClick?"close":"next"]()}})}if(a.closeBtn){v(a.tpl.closeBtn).appendTo(p.skin).bind(z?"touchstart.fb":"click.fb",function(b){b.preventDefault();p.close()})}if(a.arrows&&p.group.length>1){if(a.loop||a.index>0){v(a.tpl.prev).appendTo(p.outer).bind("click.fb",p.prev)}if(a.loop||a.index<p.group.length-1){v(a.tpl.next).appendTo(p.outer).bind("click.fb",p.next)}}p.trigger("afterShow");if(!a.loop&&a.index===a.group.length-1){p.play(false)}else{if(p.opts.autoPlay&&!p.player.isActive){p.opts.autoPlay=false;p.play()}}},_afterZoomOut:function(a){a=a||p.current;v(".fancybox-wrap").trigger("onReset").remove();v.extend(p,{group:{},opts:{},router:false,current:null,isActive:false,isOpened:false,isOpen:false,isClosing:false,wrap:null,skin:null,outer:null,inner:null});p.trigger("afterClose",a)}});p.transitions={getOrigPosition:function(){var j=p.current,b=j.element,f=j.orig,g={},c=50,e=50,h=j.hPadding,d=j.wPadding,a=p.getViewport();if(!f&&j.isDom&&b.is(":visible")){f=b.find("img:first");if(!f.length){f=b}}if(u(f)){g=f.offset();if(f.is("img")){c=f.outerWidth();e=f.outerHeight()}}else{g.top=a.y+(a.h-e)*j.topRatio;g.left=a.x+(a.w-c)*j.leftRatio}if(p.wrap.css("position")==="fixed"||j.locked){g.top-=a.y;g.left-=a.x}g={top:y(g.top-h*j.topRatio),left:y(g.left-d*j.leftRatio),width:y(c+d),height:y(e+h)};return g},step:function(b,a){var h,f,e,c=a.prop,j=p.current,g=j.wrapSpace,d=j.skinSpace;if(c==="width"||c==="height"){h=a.end===a.start?1:(b-a.start)/(a.end-a.start);if(p.isClosing){h=1-h}f=c==="width"?j.wPadding:j.hPadding;e=b-f;p.skin[c](r(c==="width"?e:e-(g*h)));p.inner[c](r(c==="width"?e:e-(g*h)-(d*h)))}},zoomIn:function(){var a=p.current,d=a.pos,c=a.openEffect,b=c==="elastic",e=v.extend({opacity:1},d);delete e.position;if(b){d=this.getOrigPosition();if(a.openOpacity){d.opacity=0.1}}else{if(c==="fade"){d.opacity=0.1}}p.wrap.css(d).animate(e,{duration:c==="none"?0:a.openSpeed,easing:a.openEasing,step:b?this.step:null,complete:p._afterZoomIn})},zoomOut:function(){var a=p.current,c=a.closeEffect,b=c==="elastic",d={opacity:0.1};if(b){d=this.getOrigPosition();if(a.closeOpacity){d.opacity=0.1}}p.wrap.animate(d,{duration:c==="none"?0:a.closeSpeed,easing:a.closeEasing,step:b?this.step:null,complete:p._afterZoomOut})},changeIn:function(){var b=p.current,e=b.nextEffect,f=b.pos,g={opacity:1},c=p.direction,a=200,d;f.opacity=0.1;if(e==="elastic"){d=c==="down"||c==="up"?"top":"left";if(c==="down"||c==="right"){f[d]=y(r(f[d])-a);g[d]="+="+a+"px"}else{f[d]=y(r(f[d])+a);g[d]="-="+a+"px"}}if(e==="none"){p._afterZoomIn()}else{p.wrap.css(f).animate(g,{duration:b.nextSpeed,easing:b.nextEasing,complete:function(){setTimeout(p._afterZoomIn,20)}})}},changeOut:function(){var c=p.previous,d=c.prevEffect,e={opacity:0.1},b=p.direction,a=200;if(d==="elastic"){e[b==="down"||b==="up"?"top":"left"]=(b==="up"||b==="left"?"-":"+")+"="+a+"px"}c.wrap.animate(e,{duration:d==="none"?0:c.prevSpeed,easing:c.prevEasing,complete:function(){v(this).trigger("onReset").remove()}})}};p.helpers.overlay={defaults:{closeClick:true,speedOut:200,showEarly:true,css:{},locked:!z,fixed:true},overlay:null,fixed:false,create:function(a){a=v.extend({},this.defaults,a);if(this.overlay){this.close()}this.overlay=v('<div class="fancybox-overlay"></div>').appendTo("body");this.fixed=false;if(a.fixed&&p.defaults.fixed){this.overlay.addClass("fancybox-overlay-fixed");this.fixed=true}},open:function(a){var b=this;a=v.extend({},this.defaults,a);if(this.overlay){this.overlay.unbind(".overlay").width("auto").height("auto")}else{this.create(a)}if(!this.fixed){A.bind("resize.overlay",v.proxy(this.update,this));this.update()}if(a.closeClick){this.overlay.bind("click.overlay",function(c){if(v(c.target).hasClass("fancybox-overlay")){if(p.isActive){p.close()}else{b.close()}}})}this.overlay.css(a.css).show()},close:function(){v(".fancybox-overlay").remove();A.unbind("resize.overlay");this.overlay=null;if(this.margin!==false){v("body").css("margin-right",this.margin);this.margin=false}if(this.el){this.el.removeClass("fancybox-lock")}},update:function(){var a="100%",b;this.overlay.width(a).height("100%");if(v.browser.msie){b=Math.max(q.documentElement.offsetWidth,q.body.offsetWidth);if(D.width()>b){a=D.width()}}else{if(D.width()>A.width()){a=D.width()}}this.overlay.width(a).height(D.height())},onReady:function(b,a){v(".fancybox-overlay").stop(true,true);if(!this.overlay){this.margin=D.height()>A.height()||v("body").css("overflow-y")==="scroll"?v("body").css("margin-right"):false;this.el=q.all&&!q.querySelector?v("html"):v("body");this.create(b)}if(b.locked&&this.fixed){a.locked=this.overlay.append(a.wrap);a.fixed=false}if(b.showEarly===true){this.beforeShow.apply(this,arguments)}},beforeShow:function(b,a){if(a.locked){this.el.addClass("fancybox-lock");if(this.margin!==false){v("body").css("margin-right",r(this.margin)+a.scrollbarWidth)}}this.open(b)},onUpdate:function(){if(!this.fixed){this.update()}},afterClose:function(a){if(this.overlay&&!p.isActive){this.overlay.fadeOut(a.speedOut,v.proxy(this.close,this))}}};p.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(e){var c=p.current,a=c.title,f=e.type,b,d;if(v.isFunction(a)){a=a.call(c.element,c)}if(!C(a)||v.trim(a)===""){return}b=v('<div class="fancybox-title fancybox-title-'+f+'-wrap">'+a+"</div>");switch(f){case"inside":d=p.skin;break;case"outside":d=p.wrap;break;case"over":d=p.inner;break;default:d=p.skin;b.appendTo("body");if(v.browser.msie){b.width(b.width())}b.wrapInner('<span class="child"></span>');p.current.margin[2]+=Math.abs(r(b.css("margin-bottom")));break}b[(e.position==="top"?"prependTo":"appendTo")](d)}};v.fn[x]=function(c){var d,b=v(this),e=this.selector||"",a=function(f){var g=v(this).blur(),j=d,h,k;if(!(f.ctrlKey||f.altKey||f.shiftKey||f.metaKey)&&!g.is(".fancybox-wrap")){h=c.groupAttr||"data-fancybox-group";k=g.attr(h);if(!k){h="rel";k=g.get(0)[h]}if(k&&k!==""&&k!=="nofollow"){g=e.length?v(e):b;g=g.filter("["+h+'="'+k+'"]');j=g.index(this)}c.index=j;if(p.open(g,c)!==false){f.preventDefault()}}};c=c||{};d=c.index||0;if(!e||c.live===false){b.unbind("click.fb-start").bind("click.fb-start",a)}else{D.undelegate(e,"click.fb-start").delegate(e+":not('.fancybox-item, .fancybox-nav')","click.fb-start",a)}this.filter("[data-fancybox-start=1]").trigger("click");return this};D.ready(function(){if(v.scrollbarWidth===undefined){v.scrollbarWidth=function(){var b=v('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),a=b.children(),c=a.innerWidth()-a.height(99).innerWidth();b.remove();return c}}if(v.support.fixedPosition===undefined){v.support.fixedPosition=(function(){var a=v('<div style="position:fixed;top:20px;"></div>').appendTo("body"),b=(a[0].offsetTop===20||a[0].offsetTop===15);a.remove();return b}())}v.extend(p.defaults,{scrollbarWidth:v.scrollbarWidth(),fixed:v.support.fixedPosition,parent:v("body")})})};(function(a){window.CrayonQuickTags=new function(){var b=this;b.init=function(){b.sel='*[id*="crayon_quicktag"],*[class*="crayon_quicktag"]';CrayonTagEditor.bind(b.sel);QTags.addButton("crayon_quicktag","crayon",function(){CrayonTagEditor.showDialog({insert:function(e){QTags.insertContent(e)},select:b.getSelectedText,editor_str:"html",output:"encode"});a(b.sel).removeClass("qt_crayon_highlight")});var c;var d=setInterval(function(){c=a(b.sel).first();if(typeof c!="undefined"){clearInterval(d)}},100)};b.getSelectedText=function(){if(QTags.instances.length==0){return null}else{var e=QTags.instances[0];var d=e.canvas.selectionStart;var c=e.canvas.selectionEnd;return e.canvas.value.substring(d,c)}}};a(document).ready(function(){CrayonQuickTags.init()})})(jQueryCrayon);(function(a){window.CrayonTagEditor=new function(){var k=this;var B=false;var y=false;var e=false;var o,f,r,A,w;var C,t,j,v;var x=0;var l,q;var b=null;var g="";var D=false;var n,p,d;var z,c,u,m,h;k.init=function(){n=CrayonTagEditorSettings;p=CrayonSyntaxSettings;d=CrayonUtil};k.bind=function(s){if(!B){B=true;k.init()}k.loadDialog();a(s).crayonFancybox({href:n.content_css,margin:[40,10,40,10],padding:0,width:690,height:"100%",autoSize:false,title:"",beforeShow:function(){a(this.outer).prepend(a(n.bar_content))},afterShow:function(){a(n.code_css).focus()},beforeClose:function(){a(n.bar).prepend(a(n.bar_content))},closeBtn:false})};k.hide=function(){a.crayonFancybox.close();return false};k.loadDialog=function(){if(!y){y=true}else{return}d.initFancybox();CrayonUtil.getAJAX({action:"crayon-tag-editor",is_admin:p.is_admin},function(H){z=a('<div id="'+n.css+'"></div>');z.appendTo("body").hide();z.html(H);k.setOrigValues();m=z.find(n.submit_css);h=z.find(n.cancel_css);c=a(n.code_css);u=a("#crayon-te-clear");l=function(){var I=u.is(":visible");if(c.val().length>0&&!I){u.show();c.removeClass(p.selected)}else{if(c.val().length<=0){u.hide()}}};c.keyup(l);c.change(l);u.click(function(){c.val("");c.removeClass(p.selected);c.focus()});var F=a(n.url_css);var E=a(n.url_info_css);var G=CrayonTagEditorSettings.extensions;q=function(){if(F.val().length>0&&!E.is(":visible")){E.show();F.removeClass(p.selected)}else{if(F.val().length<=0){E.hide()}}var K=CrayonUtil.getExt(F.val());if(K){var L=G[K];var J=L?L:K;var I=CrayonTagEditorSettings.fallback_lang;a(n.lang_css+" option").each(function(){if(a(this).val()==J){I=J}});a(n.lang_css).val(I)}};F.keyup(q);F.change(q);var s=function(){var K=a(this);var I=a(this).attr(p.orig_value);if(typeof I=="undefined"){I=""}var L=k.settingValue(K);CrayonUtil.log(K.attr("id")+" value: "+L);var J=null;if(K.is("input[type=checkbox]")){J=K.next("span")}CrayonUtil.log(" >>> "+K.attr("id")+" is "+I+" = "+L);if(I==L){K.removeClass(p.changed);if(J){J.removeClass(p.changed)}}else{K.addClass(p.changed);if(J){J.addClass(p.changed)}}k.settingValue(K,L)};a("."+p.setting+"[id]:not(."+p.special+")").each(function(){a(this).change(s);a(this).keyup(s)})})};k.showDialog=function(E){E=a.extend({insert:null,edit:null,show:null,hide:k.hide,select:null,editor_str:null,ed:null,node:null,input:null,output:null},E);k.resetSettings();o=E.insert;f=E.edit;r=E.show;A=E.hide;w=E.select;C=E.input;t=E.output;j=E.editor_str;var F=E.node;var F=E.node;D=false;m.unbind();m.click(function(V){k.submitButton();V.preventDefault()});k.setSubmitText(n.submit_add);h.unbind();h.click(function(V){k.hide();V.preventDefault()});if(k.isCrayon(F)){b=a(F);if(b.length!=0){g=b.attr("class");var L=new RegExp("\\b([A-Za-z-]+)"+n.attr_sep+"(\\S+)","gim");var s=L.execAll(g);g=a.trim(g.replace(L,""));var M={};for(var R in s){var J=s[R][1];var N=s[R][2];M[J]=N}var U=b.attr("title");if(U){M.title=U}var H=b.attr("data-url");if(H){M.url=H}if(typeof M.highlight!="undefined"){M.highlight="0"?"1":"0"}D=b.hasClass(n.inline_css);M.inline=D?"1":"0";var S=[];a(n.lang_css+" option").each(function(){var V=a(this).val();if(V){S.push(V)}});if(a.inArray(M.lang,S)==-1){M.lang=n.fallback_lang}M=k.validate(M);for(var O in M){var K=a("#"+p.prefix+O+"."+p.setting);var N=M[O];k.settingValue(K,N);K.change();if(!K.hasClass(p.special)){K.addClass(p.changed);if(K.is("input[type=checkbox]")){highlight=K.next("span");highlight.addClass(p.changed)}}CrayonUtil.log("loaded: "+O+":"+N)}e=true;k.setSubmitText(n.submit_edit);var Q=b.html();if(C=="encode"){Q=CrayonUtil.encode_html(Q)}else{if(C=="decode"){Q=CrayonUtil.decode_html(Q)}}c.val(Q)}else{CrayonUtil.log("cannot load currNode of type pre")}}else{if(w){c.val(w)}e=false;k.setSubmitText(n.submit_add);b=null;g=""}var G=a("#"+n.inline_css);G.change(function(){D=a(this).is(":checked");var V=a("."+n.inline_hide_css);var Z=a("."+n.inline_hide_only_css);var X=[n.mark_css,n.range_css,n.title_css,n.url_css];for(var W in X){var Y=a(X[W]);Y.attr("disabled",D)}if(D){V.hide();Z.hide();V.closest("tr").hide();for(var W in X){var Y=a(X[W]);Y.addClass("crayon-disabled")}}else{V.show();Z.show();V.closest("tr").show();for(var W in X){var Y=a(X[W]);Y.removeClass("crayon-disabled")}}});G.change();var I=e?n.dialog_title_edit:n.dialog_title_add;a(n.dialog_title_css).html(I);if(r){r()}c.focus();l();q();if(v){clearInterval(v);x=0}var T=a("#TB_window");T.hide();var P=function(){T.show();var V=a(window).scrollTop();a(window).scrollTop(V+10);a(window).scrollTop(V-10)};v=setInterval(function(){if(typeof T!="undefined"&&!T.hasClass("crayon-te-ajax")){T.addClass("crayon-te-ajax");clearInterval(v);P()}if(x>=100){clearInterval(v);P()}x++},40)};k.addCrayon=function(){var E=a(n.url_css);if(E.val().length==0&&c.val().length==0){c.addClass(p.selected);c.focus();return false}c.removeClass(p.selected);var M=a("#"+n.inline_css);D=M.length!=0&&M.is(":checked");var G=br_after="";if(!e){if(!D){if(j=="html"){br_after=G=" \n"}else{br_after="<p>&nbsp;</p>"}}else{if(j=="html"){br_after=G=" "}else{br_after="&nbsp;"}}}var P=(D?"span":"pre");var I=G+"<"+P+" ";var K={};I+='class="';var s=new RegExp("\\b"+n.inline_css+"\\b","gim");if(D){if(s.exec(g)==null){g+=" "+n.inline_css+" "}}else{g=g.replace(s,"")}a("."+p.changed+"[id],."+p.changed+"["+n.data_value+"]").each(function(){var R=a(this).attr("id");var Q=a(this).attr(n.data_value);R=d.removePrefixFromID(R);K[R]=Q});K.lang=a(n.lang_css).val();var H=a(n.mark_css).val();if(H.length!=0&&!D){K.mark=H}var J=a(n.range_css).val();if(J.length!=0&&!D){K.range=J}if(a(n.hl_css).is(":checked")){K.highlight="0"}K.decode="true";K=k.validate(K);for(var F in K){var O=K[F];CrayonUtil.log("add "+F+":"+O);I+=F+n.attr_sep+O+" "}I+=g;I+='" ';if(!D){var N=a(n.title_css).val();if(N.length!=0){I+='title="'+N+'" '}var E=a(n.url_css).val();if(E.length!=0){I+='data-url="'+E+'" '}}var L=a(n.code_css).val();if(t=="encode"){L=CrayonUtil.encode_html(L)}else{if(t=="decode"){L=CrayonUtil.decode_html(L)}}L=typeof L!="undefined"?L:"";I+=">"+L+"</"+P+">"+br_after;if(e&&f){f(I)}else{if(o){o(I)}}return true};k.submitButton=function(){CrayonUtil.log("submit");if(k.addCrayon()!=false){k.hideDialog()}};k.hideDialog=function(){CrayonUtil.log("hide");if(A){A()}};k.setOrigValues=function(){a("."+p.setting+"[id]").each(function(){var s=a(this);s.attr(p.orig_value,k.settingValue(s))})};k.resetSettings=function(){CrayonUtil.log("reset");a("."+p.setting).each(function(){var s=a(this);k.settingValue(s,s.attr(p.orig_value));s.change()});c.val("")};k.settingValue=function(s,E){if(typeof E=="undefined"){E="";if(s.is("input[type=checkbox]")){E=s.is(":checked")?"true":"false"}else{E=s.val()}return E}else{if(s.is("input[type=checkbox]")){if(typeof E=="string"){if(E=="true"||E=="1"){E=true}else{if(E=="false"||E=="0"){E=false}}}s.prop("checked",E)}else{s.val(E)}s.attr(n.data_value,E)}};k.validate=function(G){var s=["range","mark"];for(var E in s){var F=s[E];if(typeof G[F]!="undefined"){G[F]=G[F].replace(/\s/g,"")}}return G};k.isCrayon=function(s){return s!=null&&(s.nodeName=="PRE"||(s.nodeName=="SPAN"&&a(s).hasClass(n.inline_css)))};k.elemValue=function(E){var s=null;if(E.is("input[type=checkbox]")){s=E.is(":checked")}else{s=E.val()}return s};k.setSubmitText=function(s){m.html(s)}}})(jQueryCrayon);
js/minify.sh ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ BASEDIR=$(dirname $0)
3
+ cd $BASEDIR
4
+
5
+ source ../util/minify.sh
6
+
7
+ common=$"$INPUT_PATH/util.js $INPUT_PATH/jquery.popup.js $INPUT_PATH/crayon.js $INPUT_PATH/cssjson.js"
8
+ minify $common $OUTPUT_PATH/crayon.min.js
9
+ minify $common $FANCY_PATH/jquery.fancybox.init.pack.js $TE_PATH/crayon_qt.js $TE_PATH/crayon_tag_editor.js $OUTPUT_PATH/crayon.te.min.js
js/{crayon.js → src/crayon.js} RENAMED
@@ -554,11 +554,11 @@
554
 
555
  var retina = function (uid) {
556
  if (window.devicePixelRatio > 1) {
557
- var buttons = $('.crayon-button', crayons[uid].toolbar);
558
  buttons.each(function () {
559
  var lowres = $(this).css('background-image');
560
  var highres = lowres.replace(/\.(?=[^\.]+$)/g, '@2x.');
561
- $(this).css('background-size', '48px 16px');
562
  $(this).css('background-image', highres);
563
  });
564
  }
554
 
555
  var retina = function (uid) {
556
  if (window.devicePixelRatio > 1) {
557
+ var buttons = $('.crayon-button-icon', crayons[uid].toolbar);
558
  buttons.each(function () {
559
  var lowres = $(this).css('background-image');
560
  var highres = lowres.replace(/\.(?=[^\.]+$)/g, '@2x.');
561
+ $(this).css('background-size', '48px 128px');
562
  $(this).css('background-image', highres);
563
  });
564
  }
js/{crayon_admin.js → src/crayon_admin.js} RENAMED
File without changes
js/{cssjson.js → src/cssjson.js} RENAMED
File without changes
js/{jquery.popup.js → src/jquery.popup.js} RENAMED
File without changes
js/{util.js → src/util.js} RENAMED
File without changes
langs/aliases.txt CHANGED
@@ -1,6 +1,3 @@
1
- # This file contains aliases in the following structure. They are case insensitive
2
- # Format: id alias1 alias2
3
-
4
  c# cs csharp
5
  c++ cpp
6
  xhtml xml html
 
 
 
1
  c# cs csharp
2
  c++ cpp
3
  xhtml xml html
langs/applescript/applescript.txt CHANGED
@@ -6,7 +6,7 @@
6
  VERSION 1.9.13
7
 
8
  COMMENT ((--|#).*?$)|(\(\*.*?\*\))
9
- STRING (?default)
10
 
11
  STATEMENT \b(?alt:statement.txt)\b
12
  RESERVED \b(?alt:reserved.txt)\b
6
  VERSION 1.9.13
7
 
8
  COMMENT ((--|#).*?$)|(\(\*.*?\*\))
9
+ STRING (".*?")
10
 
11
  STATEMENT \b(?alt:statement.txt)\b
12
  RESERVED \b(?alt:reserved.txt)\b
langs/asp/asp.txt ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### ASP LANGUAGE ###
2
+
3
+ # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
+
5
+ NAME ASP
6
+ VERSION 1.0.0
7
+
8
+ COMMENT (?default)|('.*?$)
9
+ STRING (?default)
10
+
11
+ TAG <%=?|%>|^%
12
+ STATEMENT (?default)|\b(?alt:statement.txt)\b
13
+ RESERVED (?default)|\b(?alt:reserved.txt)\b
14
+ TYPE (?default)|\b(?alt:type.txt)\b
15
+ MODIFIER (?default)
16
+
17
+ ENTITY (?default)
18
+ VARIABLE (?default)
19
+ IDENTIFIER (?default)
20
+ CONSTANT (?default)
21
+ OPERATOR (?default)
22
+ SYMBOL (?default)
langs/asp/reserved.txt ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ include
2
+ file
3
+ Const
4
+ Dim
5
+ Option
6
+ Explicit
7
+ Implicit
8
+ Get
9
+ Set
10
+ Select
11
+ ReDim
12
+ Preserve
13
+ ByVal
14
+ ByRef
15
+ Fix
16
+ Xor
17
+ var
18
+ CreateObject
19
+ Write
20
+ Redirect
21
+ Cookies
22
+ BinaryRead
23
+ ServerVariables
24
+ TotalBytes
25
+ AddHeader
26
+ AppendToLog
27
+ BinaryWrite
28
+ Buffer
29
+ CacheControl
30
+ Clear
31
+ Expires
32
+ ExpiresAbsolute
33
+ Flush
34
+ End
35
+ IsClientConnected
36
+ PICS
37
+ Status
38
+ Recordset
39
+ Execute
40
+ Abandon
41
+ Lock
42
+ UnLock
43
+ Command
44
+ Fields
45
+ Properties
46
+ Property
47
+ Send
48
+ Replace
49
+ InStr
50
+ TRIM
51
+ NOW
52
+ LCase
53
+ UCase
54
+ Abs
55
+ Array
56
+ As
57
+ LEN
58
+ MoveFirst
59
+ MoveLast
60
+ MovePrevious
61
+ MoveNext
62
+ LBound
63
+ UBound
64
+ Transfer
65
+ Open
66
+ Close
67
+ MapPath
68
+ FileExists
69
+ OpenTextFile
70
+ ReadAll
langs/asp/statement.txt ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ with
2
+ If
3
+ Then
4
+ Else
5
+ Each
6
+ In
7
+ Is
8
+ ElseIf
9
+ Case
10
+ With
11
+ NOT
12
+ While
13
+ Wend
14
+ For
15
+ Loop
16
+ Do
17
+ Or
18
+ Request
19
+ Response
20
+ Server
21
+ To
22
+ Let
23
+ Resume
24
+ GoTo
25
+ Call
langs/asp/type.txt ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Null
2
+ Nothing
3
+ And
4
+ False
5
+ True
6
+ BOF
7
+ EOF
8
+ Function
9
+ Class
10
+ New
11
+ Sub
12
+ INT
13
+ CINT
14
+ CBOOL
15
+ CDATE
16
+ CBYTE
17
+ CCUR
18
+ CDBL
19
+ CLNG
20
+ CSNG
21
+ CSTR
22
+ String
23
+ Boolean
24
+ Currency
25
+ Me
26
+ Single
27
+ Long
28
+ Variant
29
+ Double
30
+ Error
31
+ Imp
32
+ Global
33
+ Session
34
+ Application
35
+ Sgn
36
+ Array
37
+ Day
38
+ Month
39
+ Hour
40
+ Minute
41
+ Second
42
+ Year
43
+ MonthName
44
+ Charset
45
+ ContentType
46
+ QueryString
47
+ Form
48
+ Command
langs/delimiters.txt CHANGED
@@ -1,7 +1,3 @@
1
- # This file contains regex to capture delimiters that allow code with mixed languages to have multiple highlighting. E.g. <script></script> tags are highlighted as JavaScript and <?php...?> as PHP. The "glue" is the remaining code in between these highlighted sections, and this can be highlighted as a given language using the "lang" attribute. For an XHTML document with PHP, this would be set to lang="XHTML".
2
-
3
- # Format: id REGEX1 REGEX2 ...
4
-
5
  php <\?(?:php)?.*?\?\>
6
  js <script\b[^\>]*>.*?</script>
7
  css <style\b[^\>]*>.*?</style>
 
 
 
 
1
  php <\?(?:php)?.*?\?\>
2
  js <script\b[^\>]*>.*?</script>
3
  css <style\b[^\>]*>.*?</style>
langs/readme.md ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Crayon Language Files
2
+
3
+ By Aram Kocharyan, <http://aramk.com/>
4
+
5
+ ## Known Elements
6
+
7
+ These are known, recognised and highlighted by Crayon. You can defined others, but if you want to highlight them, you must add your custom CSS class into a Theme file. The CSS classes are in square brackets, but have a "crayon-" prefix added to them to avoid conflicts.
8
+
9
+ * `COMMENT [c]`
10
+ * `STRING [s]`
11
+ * `PREPROCESSOR [p]`
12
+ * `TAG [ta]`
13
+ * `KEYWORD [k]`
14
+ * `STATEMENT [st]`
15
+ * `RESERVED [r]`
16
+ * `TYPE [t]`
17
+ * `MODIFIER [m]`
18
+ * `IDENTIFIER [i]`
19
+ * `ENTITY [e]`
20
+ * `VARIABLE [v]`
21
+ * `CONSTANT [cn]`
22
+ * `OPERATOR [o]`
23
+ * `SYMBOL [sy]`
24
+ * `NOTATION [n]`
25
+ * `FADED [f]`
26
+ * `HTML_CHAR [h]`
27
+
28
+ ## Rules
29
+
30
+ ### Global
31
+
32
+ * Whitespace must be used to separate element names, css classes and regex
33
+ * Must be defined on a single line
34
+
35
+ ### Elements
36
+
37
+ * Defined as `ELEMENT_NAME [css] REGEX` on a single line, in that order only
38
+ * Names cannot contain whitespace (must match `[-_a-zA-Z]+[-_a-zA-Z0-9]*`).
39
+ * When defining an unknown element, you can specify a fallback with a colon:
40
+ * e.g. `MAGIC_WORD:KEYWORD [mg] \bmagic|words|here\b`
41
+ * If the Theme doesn't support the '.mg' class, it will still highlight using the `KEYWORD` class from the Known Elements section.
42
+ * Add support for the '.mg' class by adding it at the bottom of the Theme CSS file, after the fallback
43
+ * If duplicate exists, it replaces previous
44
+
45
+ ### CSS
46
+
47
+ * CSS classes are defined in [square brackets], they are optional.
48
+ * No need to use '.' in class name. All characters are converted to lowercase and dots removed.
49
+ * If you use a space, then two classes are applied to the element matches e.g. [first second]
50
+ * If not specified, either default is used (if element is known), or element name is used
51
+ * Class can be applied to multiple elements
52
+ * Class should be valid: `[-_a-zA-Z]+[-_a-zA-Z0-9]*`
53
+ * If class is invalid, element is still parsed, error reported
54
+
55
+ ### Regex
56
+
57
+ * Written as per normal, without delimiters or escaping
58
+ * Applied in the order they appear in the file. If language has reserved keywords, these should be higher than variables
59
+ * Whitespace around regex is ignored - only first character to last forms regex
60
+ * If single space is intended, use \s to avoid conflict with whitespace used for separation e.g. `TEST [t] \s\s\shello`
61
+
62
+ ### Comments
63
+
64
+ * can be added to this file using `#`, `//` or `/* */`
65
+ * `//`, `#` and `/*` must be the first non-whitespace characters on that line
66
+ * The `*/` must be on a line by itself
67
+
68
+ ## Special Functions
69
+
70
+ * Written inside regex, replaced by their outputs when regex is parsed.
71
+
72
+ ### (?alt:file.txt)
73
+
74
+ * Import lines from a file and separate with alternation. e.g. `catdog|dog|cat`
75
+ * File should list words from longest to shortest to avoid clashes
76
+
77
+ ### (?default) or (?default:element_name)
78
+
79
+ * Substitute regex with Default language's regex for that element, or a specific element given after a colon.
80
+
81
+ ### (?html:somechars)
82
+
83
+ * Convert somechars to html entities. e.g. `(?html:<>"'&)` becomes `&lt;&gt;&quot;&amp;`.
84
+
85
+ ## Aliases
86
+
87
+ The `aliases.txt` contains aliases in the following structure. They are case insensitive:
88
+
89
+ Format: id alias1 alias2 ...
90
+ Example: c# cs csharp
91
+
92
+ Specifying the alias will use the original language, though it's recommended to use the original if manually specifying the language to reduce confusion and length.
93
+
94
+ ## Extensions
95
+
96
+ Crayon can autodetect a language when highlighting local or remote files with extensions. The `extensions.txt` file uses the following format:
97
+
98
+ Format: ID EXTENSION1 EXTENSION2 ...
99
+ Example: python py pyw pyc pyo pyd
100
+
101
+ ## Delimiters
102
+
103
+ Certain languages have tags which separate content in that language with that of another. An example is PHP's `<?php ?>` tags and the `<script>` and `<style>` tags in XHTML and CSS. The `delimiters.txt` file contains regex to capture delimiters that allow code with mixed highlighting. The format of these is:
104
+
105
+ Format: id REGEX1 REGEX2 ...
106
+ Example: php <\?(?:php)?.*?\?\>
langs/readme.txt DELETED
@@ -1,96 +0,0 @@
1
- ====================================================================================================
2
- A QUICK HOW-TO ABOUT CRAYON LANGUAGE FILES v.1.0
3
- For updated info, visit http://aramk.com/ or check out twitter.com/crayonsyntax
4
- ====================================================================================================
5
-
6
- ----------------------------------------------------------------------------------------------------
7
- KNOWN ELEMENTS
8
- ----------------------------------------------------------------------------------------------------
9
- These are known, recognised and highlighted by Crayon. You can defined others, but if you want to
10
- highlight them, you must add your custom CSS class into a Theme file.
11
-
12
- NAME CSS Class
13
- -------------------------------------
14
- COMMENT [c]
15
- STRING [s]
16
-
17
- PREPROCESSOR [p]
18
-
19
- TAG [ta]
20
-
21
- KEYWORD [k]
22
- STATEMENT [st]
23
- RESERVED [r]
24
- TYPE [t]
25
- MODIFIER [m]
26
-
27
- IDENTIFIER [i]
28
- ENTITY [e]
29
- VARIABLE [v]
30
-
31
- CONSTANT [cn]
32
-
33
- OPERATOR [o]
34
-
35
- SYMBOL [sy]
36
-
37
- NOTATION [n]
38
-
39
- FADED [f]
40
-
41
- HTML_CHAR [h]
42
-
43
- Read more about these in the online documentation (see link above).
44
-
45
- ----------------------------------------------------------------------------------------------------
46
- RULES
47
- ----------------------------------------------------------------------------------------------------
48
- # Global
49
- - Whitespace must be used to separate element names, css classes and regex
50
- - Must be defined on a single line
51
- # Elements
52
- - Defined as ELEMENT_NAME [css] REGEX, in that order only
53
- - Names cannot contain whitespace: [-_a-zA-Z]+[-_a-zA-Z0-9]*
54
- - When defining an unknown element, you can specify a fallback with a colon:
55
- e.g. MAGIC_WORD:KEYWORD [mg] \bmagic|words|here\b
56
- - If the Theme doesn't support the '.mg' class, it will still highlight using the KEYWORD
57
- class '.k'
58
- - Add support for the '.mg' class by adding it at the bottom of the Theme CSS file, after
59
- the fallback
60
- - If duplicate exists, it replaces previous
61
- # CSS
62
- - CSS classes are defined in [square brackets], they are optional.
63
- - No need to use '.' in class name. All characters are converted to lowercase and dots removed.
64
- - If you use a space, then two classes are applied to the element matches.
65
- e.g. [first second]
66
- - If not specified, either default is used (if element is known), or element name is used
67
- - Class can be applied to multiple elements
68
- - Class should be valid: [-_a-zA-Z]+[-_a-zA-Z0-9]*
69
- - If class is invalid, element is still parsed, error reported
70
- # Regex
71
- - Written as per normal, without delimiters or escaping
72
- - Applied in the order they appear in the file
73
- If language has reserved keywords, these should be higher than variables
74
- - Whitespace around regex is ignored - only first character to last forms regex
75
- - If single space is intended, use \s to avoid conflict with whitespace used for separation
76
- e.g. TEST [t] \s\s\shello
77
- # Comments
78
- - can be added to this file using # // or /* */
79
- - // # and /* must be the first non-whitespace characters on that line
80
- - The */ must be on a line by itself
81
-
82
- ----------------------------------------------------------------------------------------------------
83
- SPECIAL FUNCTIONS
84
- ----------------------------------------------------------------------------------------------------
85
- - Written inside regex, replaced by their outputs when regex is parsed.
86
- # (?alt:file.txt)
87
- - Import lines from a file and separate with alternation
88
- e.g. catdog|dog|cat
89
- - File should list words from longest to shortest to avoid clashes
90
- # (?default)
91
- (?default:element_name)
92
- - Substitute regex with Default language's regex for that element, or a specific element
93
- given after a colon.
94
- # (?html:somechars)
95
- - Convert somechars to html entities
96
- e.g. (?html:<>"'&) becomes &lt;&gt;&quot;&amp;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -120,6 +120,7 @@ See the <a href="http://aramk.com/projects/crayon-language-file-specification/"
120
 
121
  **International Languages**
122
 
 
123
  * Chinese (Simplified, thanks to <a href="http://smerpup.com/" target="_blank">Dezhi Liu</a> & <a href="http://neverno.me/" target="_blank">Jash Yin</a>)
124
  * Dutch (thanks to <a href="https://twitter.com/#!/chilionsnoek" target="_blank">Chilion Snoek</a>)
125
  * French (thanks to <a href="http://tech.dupeu.pl" target="_blank">Victor Felder</a>)
@@ -185,6 +186,9 @@ A handful of articles from others written about Crayon, thanks guys!
185
 
186
  Thanks to all those who donate to the project:
187
 
 
 
 
188
  * Anthony Steiner, (http://steinerd.com/), US
189
  * Alexander Harvey, (http://alexharvey.eu/), UK
190
  * Minhazul Haque Shawon, Cyprus
@@ -243,6 +247,40 @@ Contact me at http://twitter.com/crayonsyntax or crayon.syntax@gmail.com.
243
 
244
  == Changelog ==
245
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  = 2.1.3 =
247
  * ADDED:
248
  * Line height can now be customised along with font size
120
 
121
  **International Languages**
122
 
123
+ * Arabic (thanks to <a href="http://djennadhamza.eb2a.com/" target="_blank">Djennad Hamza</a>)
124
  * Chinese (Simplified, thanks to <a href="http://smerpup.com/" target="_blank">Dezhi Liu</a> & <a href="http://neverno.me/" target="_blank">Jash Yin</a>)
125
  * Dutch (thanks to <a href="https://twitter.com/#!/chilionsnoek" target="_blank">Chilion Snoek</a>)
126
  * French (thanks to <a href="http://tech.dupeu.pl" target="_blank">Victor Felder</a>)
186
 
187
  Thanks to all those who donate to the project:
188
 
189
+ * Saulius Stonys, Lithuania
190
+ * Konstantin Sabel, Germany
191
+ * Luigi Massa, (http://bwlab.it/), Italy
192
  * Anthony Steiner, (http://steinerd.com/), US
193
  * Alexander Harvey, (http://alexharvey.eu/), UK
194
  * Minhazul Haque Shawon, Cyprus
247
 
248
  == Changelog ==
249
 
250
+ = 2.2.1 =
251
+ * ADDED:
252
+ * Mirc Dark theme
253
+ * Feeldesign theme
254
+ * IntelliJ theme
255
+ * Arabic translation
256
+ * FIXED:
257
+ * All language css classes are prefixed with "crayon-" to prevent conflicts
258
+ * Terminal theme fix
259
+ * Improved language readme
260
+ * Lines containing a single zero appeared blank when highlighting was disabled
261
+ * AppleScript regex (thanks to darricktheprogrammer)
262
+
263
+ = 2.2.0 =
264
+ * ADDED:
265
+ * ASP language
266
+ * Added Secrets of Rock theme
267
+ * &lt;code&gt; tags can now be captured as either inline or block Crayons.
268
+ * FIXED:
269
+ * Comments now pass through filters before being checked for Crayons.
270
+ * JavaScript and CSS resources are minified into single files on the front-end to reduce HTTP requests.
271
+ * Toolbar buttons use a sprite sheet, not individual images.
272
+ * bbPress now allows posting Crayons for non-users
273
+
274
+ = 2.1.4 =
275
+ * ADDED:
276
+ * Eclipse theme
277
+ * Background colour for language added to Theme Editor
278
+ * More extendable handling and santisation of settings
279
+ * FIXED:
280
+ * Blog content was being treated as a single code block due to a change in the internal CrayonWP::highlight() method
281
+ * Crayon post management is now refreshed when plugin is activated
282
+ * Terminal theme improvement
283
+
284
  = 2.1.3 =
285
  * ADDED:
286
  * Line height can now be customised along with font size
themes/ado/ado.css CHANGED
@@ -125,59 +125,59 @@ URL: http://www.adostudio.it/
125
  background-color: #BBB !important;
126
  color: #FFF;
127
  }
128
- .crayon-theme-ado .crayon-pre .c {
129
  color: #ff8000 !important;
130
  }
131
- .crayon-theme-ado .crayon-pre .p {
132
  color: #b85c00 !important;
133
  }
134
- .crayon-theme-ado .crayon-pre .s {
135
  color: #008000 !important;
136
  }
137
- .crayon-theme-ado .crayon-pre .k {
138
  color: #800080 !important;
139
  }
140
- .crayon-theme-ado .crayon-pre .st {
141
  color: #800080 !important;
142
  }
143
- .crayon-theme-ado .crayon-pre .r {
144
  color: #800080 !important;
145
  }
146
- .crayon-theme-ado .crayon-pre .t {
147
  color: #800080 !important;
148
  }
149
- .crayon-theme-ado .crayon-pre .m {
150
  color: #800080 !important;
151
  }
152
- .crayon-theme-ado .crayon-pre .ta {
153
  color: #FF0000 !important;
154
  }
155
- .crayon-theme-ado .crayon-pre .i {
156
  color: #000 !important;
157
  }
158
- .crayon-theme-ado .crayon-pre .v {
159
  color: #002D7A !important;
160
  }
161
- .crayon-theme-ado .crayon-pre .e {
162
  color: #004ed0 !important;
163
  }
164
- .crayon-theme-ado .crayon-pre .cn {
165
  color: #ce0000 !important;
166
  }
167
- .crayon-theme-ado .crayon-pre .o {
168
  color: #006fe0 !important;
169
  }
170
- .crayon-theme-ado .crayon-pre .h {
171
  color: #006fe0 !important;
172
  }
173
- .crayon-theme-ado .crayon-pre .sy {
174
  color: #333 !important;
175
  }
176
- .crayon-theme-ado .crayon-pre .n {
177
  color: #666 !important;
178
  font-style: italic !important;
179
  }
180
- .crayon-theme-ado .crayon-pre .f {
181
  color: #999 !important;
182
  }
183
  .crayon-theme-ado .crayon-table {
125
  background-color: #BBB !important;
126
  color: #FFF;
127
  }
128
+ .crayon-theme-ado .crayon-pre .crayon-p {
129
  color: #ff8000 !important;
130
  }
131
+ .crayon-theme-ado .crayon-pre .crayon-p {
132
  color: #b85c00 !important;
133
  }
134
+ .crayon-theme-ado .crayon-pre .crayon-s {
135
  color: #008000 !important;
136
  }
137
+ .crayon-theme-ado .crayon-pre .crayon-k {
138
  color: #800080 !important;
139
  }
140
+ .crayon-theme-ado .crayon-pre .crayon-st {
141
  color: #800080 !important;
142
  }
143
+ .crayon-theme-ado .crayon-pre .crayon-r {
144
  color: #800080 !important;
145
  }
146
+ .crayon-theme-ado .crayon-pre .crayon-t {
147
  color: #800080 !important;
148
  }
149
+ .crayon-theme-ado .crayon-pre .crayon-m {
150
  color: #800080 !important;
151
  }
152
+ .crayon-theme-ado .crayon-pre .crayon-ta {
153
  color: #FF0000 !important;
154
  }
155
+ .crayon-theme-ado .crayon-pre .crayon-i {
156
  color: #000 !important;
157
  }
158
+ .crayon-theme-ado .crayon-pre .crayon-v {
159
  color: #002D7A !important;
160
  }
161
+ .crayon-theme-ado .crayon-pre .crayon-e {
162
  color: #004ed0 !important;
163
  }
164
+ .crayon-theme-ado .crayon-pre .crayon-cn {
165
  color: #ce0000 !important;
166
  }
167
+ .crayon-theme-ado .crayon-pre .crayon-o {
168
  color: #006fe0 !important;
169
  }
170
+ .crayon-theme-ado .crayon-pre .crayon-h {
171
  color: #006fe0 !important;
172
  }
173
+ .crayon-theme-ado .crayon-pre .crayon-sy {
174
  color: #333 !important;
175
  }
176
+ .crayon-theme-ado .crayon-pre .crayon-n {
177
  color: #666 !important;
178
  font-style: italic !important;
179
  }
180
+ .crayon-theme-ado .crayon-pre .crayon-f {
181
  color: #999 !important;
182
  }
183
  .crayon-theme-ado .crayon-table {
themes/arduino-ide/arduino-ide.css CHANGED
@@ -113,59 +113,59 @@ Url: http://majsterkowo.pl
113
  background-color: #dddddd !important;
114
  color: #FFF;
115
  }
116
- .crayon-theme-arduino-ide .crayon-pre .c {
117
  color: #888888 !important;
118
  }
119
- .crayon-theme-arduino-ide .crayon-pre .s {
120
  color: #006699 !important;
121
  }
122
- .crayon-theme-arduino-ide .crayon-pre .p {
123
  color: #222222 !important;
124
  }
125
- .crayon-theme-arduino-ide .crayon-pre .ta {
126
  color: #e91e1e !important;
127
  }
128
- .crayon-theme-arduino-ide .crayon-pre .k {
129
  color: #006699 !important;
130
  }
131
- .crayon-theme-arduino-ide .crayon-pre .st {
132
  color: #cc6600 !important;
133
  font-weight: bold !important;
134
  }
135
- .crayon-theme-arduino-ide .crayon-pre .r {
136
  color: #cc6600 !important;
137
  }
138
- .crayon-theme-arduino-ide .crayon-pre .t {
139
  color: #CC6600 !important;
140
  }
141
- .crayon-theme-arduino-ide .crayon-pre .m {
142
  color: #cc6600 !important;
143
  }
144
- .crayon-theme-arduino-ide .crayon-pre .i {
145
  color: #222222 !important;
146
  }
147
- .crayon-theme-arduino-ide .crayon-pre .e {
148
  color: #cc6600 !important;
149
  }
150
- .crayon-theme-arduino-ide .crayon-pre .v {
151
  color: #222222 !important;
152
  }
153
- .crayon-theme-arduino-ide .crayon-pre .cn {
154
  color: #222222 !important;
155
  }
156
- .crayon-theme-arduino-ide .crayon-pre .o {
157
  color: #222222 !important;
158
  }
159
- .crayon-theme-arduino-ide .crayon-pre .sy {
160
  color: #333 !important;
161
  }
162
- .crayon-theme-arduino-ide .crayon-pre .n {
163
  color: #666 !important;
164
  font-style: italic !important;
165
  }
166
- .crayon-theme-arduino-ide .crayon-pre .f {
167
  color: #999 !important;
168
  }
169
- .crayon-theme-arduino-ide .crayon-pre .h {
170
  color: #006fe0 !important;
171
  }
113
  background-color: #dddddd !important;
114
  color: #FFF;
115
  }
116
+ .crayon-theme-arduino-ide .crayon-pre .crayon-c {
117
  color: #888888 !important;
118
  }
119
+ .crayon-theme-arduino-ide .crayon-pre .crayon-s {
120
  color: #006699 !important;
121
  }
122
+ .crayon-theme-arduino-ide .crayon-pre .crayon-p {
123
  color: #222222 !important;
124
  }
125
+ .crayon-theme-arduino-ide .crayon-pre .crayon-ta {
126
  color: #e91e1e !important;
127
  }
128
+ .crayon-theme-arduino-ide .crayon-pre .crayon-k {
129
  color: #006699 !important;
130
  }
131
+ .crayon-theme-arduino-ide .crayon-pre .crayon-st {
132
  color: #cc6600 !important;
133
  font-weight: bold !important;
134
  }
135
+ .crayon-theme-arduino-ide .crayon-pre .crayon-r {
136
  color: #cc6600 !important;
137
  }
138
+ .crayon-theme-arduino-ide .crayon-pre .crayon-t {
139
  color: #CC6600 !important;
140
  }
141
+ .crayon-theme-arduino-ide .crayon-pre .crayon-m {
142
  color: #cc6600 !important;
143
  }
144
+ .crayon-theme-arduino-ide .crayon-pre .crayon-i {
145
  color: #222222 !important;
146
  }
147
+ .crayon-theme-arduino-ide .crayon-pre .crayon-e {
148
  color: #cc6600 !important;
149
  }
150
+ .crayon-theme-arduino-ide .crayon-pre .crayon-v {
151
  color: #222222 !important;
152
  }
153
+ .crayon-theme-arduino-ide .crayon-pre .crayon-cn {
154
  color: #222222 !important;
155
  }
156
+ .crayon-theme-arduino-ide .crayon-pre .crayon-o {
157
  color: #222222 !important;
158
  }
159
+ .crayon-theme-arduino-ide .crayon-pre .crayon-sy {
160
  color: #333 !important;
161
  }
162
+ .crayon-theme-arduino-ide .crayon-pre .crayon-n {
163
  color: #666 !important;
164
  font-style: italic !important;
165
  }
166
+ .crayon-theme-arduino-ide .crayon-pre .crayon-f {
167
  color: #999 !important;
168
  }
169
+ .crayon-theme-arduino-ide .crayon-pre .crayon-h {
170
  color: #006fe0 !important;
171
  }
themes/classic/classic.css CHANGED
@@ -114,58 +114,58 @@ URL: http://aramk.com/
114
  background-color: #BCBCBC;
115
  color: #FFF;
116
  }
117
- .crayon-theme-classic .crayon-pre .c {
118
  color: #ff8000 !important;
119
  }
120
- .crayon-theme-classic .crayon-pre .s {
121
  color: #008000 !important;
122
  }
123
- .crayon-theme-classic .crayon-pre .p {
124
  color: #b85c00 !important;
125
  }
126
- .crayon-theme-classic .crayon-pre .ta {
127
  color: #FF0000 !important;
128
  }
129
- .crayon-theme-classic .crayon-pre .k {
130
  color: #800080 !important;
131
  }
132
- .crayon-theme-classic .crayon-pre .st {
133
  color: #800080 !important;
134
  }
135
- .crayon-theme-classic .crayon-pre .r {
136
  color: #800080 !important;
137
  }
138
- .crayon-theme-classic .crayon-pre .t {
139
  color: #800080 !important;
140
  }
141
- .crayon-theme-classic .crayon-pre .m {
142
  color: #800080 !important;
143
  }
144
- .crayon-theme-classic .crayon-pre .i {
145
  color: #000 !important;
146
  }
147
- .crayon-theme-classic .crayon-pre .e {
148
  color: #004ed0 !important;
149
  }
150
- .crayon-theme-classic .crayon-pre .v {
151
  color: #002D7A !important;
152
  }
153
- .crayon-theme-classic .crayon-pre .cn {
154
  color: #ce0000 !important;
155
  }
156
- .crayon-theme-classic .crayon-pre .o {
157
  color: #006fe0 !important;
158
  }
159
- .crayon-theme-classic .crayon-pre .sy {
160
  color: #333 !important;
161
  }
162
- .crayon-theme-classic .crayon-pre .n {
163
  color: #666 !important;
164
  font-style: italic;
165
  }
166
- .crayon-theme-classic .crayon-pre .f {
167
  color: #999 !important;
168
  }
169
- .crayon-theme-classic .crayon-pre .h {
170
  color: #006fe0 !important;
171
  }
114
  background-color: #BCBCBC;
115
  color: #FFF;
116
  }
117
+ .crayon-theme-classic .crayon-pre .crayon-c {
118
  color: #ff8000 !important;
119
  }
120
+ .crayon-theme-classic .crayon-pre .crayon-s {
121
  color: #008000 !important;
122
  }
123
+ .crayon-theme-classic .crayon-pre .crayon-p {
124
  color: #b85c00 !important;
125
  }
126
+ .crayon-theme-classic .crayon-pre .crayon-ta {
127
  color: #FF0000 !important;
128
  }
129
+ .crayon-theme-classic .crayon-pre .crayon-k {
130
  color: #800080 !important;
131
  }
132
+ .crayon-theme-classic .crayon-pre .crayon-st {
133
  color: #800080 !important;
134
  }
135
+ .crayon-theme-classic .crayon-pre .crayon-r {
136
  color: #800080 !important;
137
  }
138
+ .crayon-theme-classic .crayon-pre .crayon-t {
139
  color: #800080 !important;
140
  }
141
+ .crayon-theme-classic .crayon-pre .crayon-m {
142
  color: #800080 !important;
143
  }
144
+ .crayon-theme-classic .crayon-pre .crayon-i {
145
  color: #000 !important;
146
  }
147
+ .crayon-theme-classic .crayon-pre .crayon-e {
148
  color: #004ed0 !important;
149
  }
150
+ .crayon-theme-classic .crayon-pre .crayon-v {
151
  color: #002D7A !important;
152
  }
153
+ .crayon-theme-classic .crayon-pre .crayon-cn {
154
  color: #ce0000 !important;
155
  }
156
+ .crayon-theme-classic .crayon-pre .crayon-o {
157
  color: #006fe0 !important;
158
  }
159
+ .crayon-theme-classic .crayon-pre .crayon-sy {
160
  color: #333 !important;
161
  }
162
+ .crayon-theme-classic .crayon-pre .crayon-n {
163
  color: #666 !important;
164
  font-style: italic;
165
  }
166
+ .crayon-theme-classic .crayon-pre .crayon-f {
167
  color: #999 !important;
168
  }
169
+ .crayon-theme-classic .crayon-pre .crayon-h {
170
  color: #006fe0 !important;
171
  }
themes/eclipse/eclipse.css ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Name: Eclipse
3
+ Description: Clean, crisp and colorful.
4
+ Version: 1.0
5
+ Author: Sunil
6
+ */
7
+ .crayon-theme-eclipse {
8
+ border-width: 1px !important;
9
+ border-color: #999 !important;
10
+ border-style: solid !important;
11
+ text-shadow: none !important;
12
+ background: #fdfdfd !important;
13
+ }
14
+ .crayon-theme-eclipse-inline {
15
+ border-width: 1px !important;
16
+ border-color: #ddd !important;
17
+ border-style: solid !important;
18
+ background: #fafafa !important;
19
+ }
20
+ .crayon-theme-eclipse .crayon-table .crayon-nums {
21
+ background: #eee !important;
22
+ color: #000000 !important;
23
+ border-right-width: 1px !important;
24
+ border-right-color: #008000 !important;
25
+ border-right-style: solid !important;
26
+ }
27
+ .crayon-theme-eclipse *::selection {
28
+ background: transparent !important;
29
+ }
30
+ .crayon-theme-eclipse .crayon-code *::selection {
31
+ background: #ddeeff !important;
32
+ color: #316ba5 !important;
33
+ }
34
+ .crayon-theme-eclipse .crayon-striped-line {
35
+ background: #f7f7f7 !important;
36
+ }
37
+ .crayon-theme-eclipse .crayon-striped-num {
38
+ background: #dddd !important;
39
+ color: #000000 !important;
40
+ }
41
+ .crayon-theme-eclipse .crayon-marked-line {
42
+ background: #fffee2 !important;
43
+ border-width: 1px !important;
44
+ border-color: #e9e579 !important;
45
+ }
46
+ .crayon-theme-eclipse .crayon-marked-num {
47
+ color: #000000 !important;
48
+ background: #eee !important;
49
+ border-width: 1px !important;
50
+ border-color: #eee !important;
51
+ }
52
+ .crayon-theme-eclipse .crayon-marked-line.crayon-striped-line {
53
+ background: #faf8d1 !important;
54
+ }
55
+ .crayon-theme-eclipse .crayon-marked-num.crayon-striped-num {
56
+ background: #eee !important;
57
+ color: #000000 !important;
58
+ }
59
+ .crayon-theme-eclipse .crayon-marked-line.crayon-top {
60
+ border-top-style: solid !important;
61
+ }
62
+ .crayon-theme-eclipse .crayon-marked-num.crayon-top {
63
+ border-top-style: solid !important;
64
+ }
65
+ .crayon-theme-eclipse .crayon-marked-line.crayon-bottom {
66
+ border-bottom-style: solid !important;
67
+ }
68
+ .crayon-theme-eclipse .crayon-marked-num.crayon-bottom {
69
+ border-bottom-style: solid !important;
70
+ }
71
+ .crayon-theme-eclipse .crayon-info {
72
+ background: #faf9d7 !important;
73
+ border-bottom-width: 1px !important;
74
+ border-bottom-color: #b1af5e !important;
75
+ border-bottom-style: solid !important;
76
+ color: #7e7d34 !important;
77
+ }
78
+ .crayon-theme-eclipse .crayon-toolbar {
79
+ background: #DDD !important;
80
+ border-bottom-width: 1px !important;
81
+ border-bottom-color: #BBB !important;
82
+ border-bottom-style: solid !important;
83
+ }
84
+ .crayon-theme-eclipse .crayon-toolbar > div {
85
+ float: left !important;
86
+ }
87
+ .crayon-theme-eclipse .crayon-toolbar .crayon-tools {
88
+ float: right !important;
89
+ }
90
+ .crayon-theme-eclipse .crayon-title {
91
+ color: #333 !important;
92
+ }
93
+ .crayon-theme-eclipse .crayon-language {
94
+ color: #999 !important;
95
+ }
96
+ .crayon-theme-eclipse .crayon-button {
97
+ background-color: #DDD !important;
98
+ }
99
+ .crayon-theme-eclipse .crayon-button:hover {
100
+ background-color: #EEE !important;
101
+ color: #666;
102
+ }
103
+ .crayon-theme-eclipse .crayon-button.crayon-pressed:hover {
104
+ background-color: #EEE !important;
105
+ color: #666;
106
+ }
107
+ .crayon-theme-eclipse .crayon-button.crayon-pressed {
108
+ background-color: #BCBCBC !important;
109
+ color: #FFF;
110
+ }
111
+ .crayon-theme-eclipse .crayon-button.crayon-pressed:active {
112
+ background-color: #BCBCBC !important;
113
+ color: #FFF;
114
+ }
115
+ .crayon-theme-eclipse .crayon-button:active {
116
+ background-color: #BCBCBC !important;
117
+ color: #FFF;
118
+ }
119
+ .crayon-theme-eclipse .crayon-pre .crayon-c {
120
+ color: #097109 !important;
121
+ }
122
+ .crayon-theme-eclipse .crayon-pre .crayon-s {
123
+ color: #0828fb !important;
124
+ }
125
+ .crayon-theme-eclipse .crayon-pre .crayon-p {
126
+ color: #000000 !important;
127
+ }
128
+ .crayon-theme-eclipse .crayon-pre .crayon-ta {
129
+ color: #000000 !important;
130
+ }
131
+ .crayon-theme-eclipse .crayon-pre .crayon-k {
132
+ color: #800080 !important;
133
+ font-weight: bold !important;
134
+ }
135
+ .crayon-theme-eclipse .crayon-pre .crayon-st {
136
+ color: #800080 !important;
137
+ font-weight: bold !important;
138
+ }
139
+ .crayon-theme-eclipse .crayon-pre .crayon-r {
140
+ color: #800080 !important;
141
+ font-weight: bold !important;
142
+ }
143
+ .crayon-theme-eclipse .crayon-pre .crayon-t {
144
+ color: #800080 !important;
145
+ font-weight: bold !important;
146
+ }
147
+ .crayon-theme-eclipse .crayon-pre .crayon-m {
148
+ color: #800080 !important;
149
+ font-weight: bold !important;
150
+ }
151
+ .crayon-theme-eclipse .crayon-pre .crayon-i {
152
+ color: #000000 !important;
153
+ }
154
+ .crayon-theme-eclipse .crayon-pre .crayon-e {
155
+ color: #000000 !important;
156
+ }
157
+ .crayon-theme-eclipse .crayon-pre .crayon-v {
158
+ color: #000000 !important;
159
+ }
160
+ .crayon-theme-eclipse .crayon-pre .crayon-cn {
161
+ color: #0828fb !important;
162
+ }
163
+ .crayon-theme-eclipse .crayon-pre .crayon-o {
164
+ color: #000000 !important;
165
+ }
166
+ .crayon-theme-eclipse .crayon-pre .crayon-sy {
167
+ color: #000000 !important;
168
+ }
169
+ .crayon-theme-eclipse .crayon-pre .crayon-n {
170
+ color: #000000 !important;
171
+ font-style: italic !important;
172
+ }
173
+ .crayon-theme-eclipse .crayon-pre .crayon-f {
174
+ color: #000000 !important;
175
+ }
176
+ .crayon-theme-eclipse .crayon-pre .crayon-h {
177
+ color: #006fe0 !important;
178
+ }
themes/epicgeeks/epicgeeks.css CHANGED
@@ -147,55 +147,55 @@ URL: http://epicgeeks.net/
147
  background-color: #DDD !important;
148
  color: #FFF;
149
  }
150
- .crayon-theme-epicgeeks .crayon-pre .c {
151
  color: #787878 !important;
152
  }
153
- .crayon-theme-epicgeeks .crayon-pre .p {
154
  color: #a3a3a3 !important;
155
  }
156
- .crayon-theme-epicgeeks .crayon-pre .s {
157
  color: #90c300 !important;
158
  }
159
- .crayon-theme-epicgeeks .crayon-pre .k {
160
  color: #ff00aa !important;
161
  }
162
- .crayon-theme-epicgeeks .crayon-pre .st {
163
  color: #ff00aa !important;
164
  }
165
- .crayon-theme-epicgeeks .crayon-pre .r {
166
  color: #ff00aa !important;
167
  }
168
- .crayon-theme-epicgeeks .crayon-pre .t {
169
  color: #ff00aa !important;
170
  }
171
- .crayon-theme-epicgeeks .crayon-pre .m {
172
  color: #ff00aa !important;
173
  }
174
- .crayon-theme-epicgeeks .crayon-pre .i {
175
  color: #878787 !important;
176
  }
177
- .crayon-theme-epicgeeks .crayon-pre .v {
178
  color: #ca00ff !important;
179
  }
180
- .crayon-theme-epicgeeks .crayon-pre .e {
181
  color: #00d5ff !important;
182
  }
183
- .crayon-theme-epicgeeks .crayon-pre .cn {
184
  color: #e87b7b !important;
185
  }
186
- .crayon-theme-epicgeeks .crayon-pre .o {
187
  color: #006fe0 !important;
188
  }
189
- .crayon-theme-epicgeeks .crayon-pre .h {
190
  color: #006fe0 !important;
191
  }
192
- .crayon-theme-epicgeeks .crayon-pre .sy {
193
  color: #3c3c3c !important;
194
  }
195
- .crayon-theme-epicgeeks .crayon-pre .n {
196
  color: #b7b7b7 !important;
197
  font-style: italic !important;
198
  }
199
- .crayon-theme-epicgeeks .crayon-pre .f {
200
  color: #cfcfcf !important;
201
  }
147
  background-color: #DDD !important;
148
  color: #FFF;
149
  }
150
+ .crayon-theme-epicgeeks .crayon-pre .crayon-c {
151
  color: #787878 !important;
152
  }
153
+ .crayon-theme-epicgeeks .crayon-pre .crayon-p {
154
  color: #a3a3a3 !important;
155
  }
156
+ .crayon-theme-epicgeeks .crayon-pre .crayon-s {
157
  color: #90c300 !important;
158
  }
159
+ .crayon-theme-epicgeeks .crayon-pre .crayon-k {
160
  color: #ff00aa !important;
161
  }
162
+ .crayon-theme-epicgeeks .crayon-pre .crayon-st {
163
  color: #ff00aa !important;
164
  }
165
+ .crayon-theme-epicgeeks .crayon-pre .crayon-r {
166
  color: #ff00aa !important;
167
  }
168
+ .crayon-theme-epicgeeks .crayon-pre .crayon-t {
169
  color: #ff00aa !important;
170
  }
171
+ .crayon-theme-epicgeeks .crayon-pre .crayon-m {
172
  color: #ff00aa !important;
173
  }
174
+ .crayon-theme-epicgeeks .crayon-pre .crayon-i {
175
  color: #878787 !important;
176
  }
177
+ .crayon-theme-epicgeeks .crayon-pre .crayon-v {
178
  color: #ca00ff !important;
179
  }
180
+ .crayon-theme-epicgeeks .crayon-pre .crayon-e {
181
  color: #00d5ff !important;
182
  }
183
+ .crayon-theme-epicgeeks .crayon-pre .crayon-cn {
184
  color: #e87b7b !important;
185
  }
186
+ .crayon-theme-epicgeeks .crayon-pre .crayon-o {
187
  color: #006fe0 !important;
188
  }
189
+ .crayon-theme-epicgeeks .crayon-pre .crayon-h {
190
  color: #006fe0 !important;
191
  }
192
+ .crayon-theme-epicgeeks .crayon-pre .crayon-sy {
193
  color: #3c3c3c !important;
194
  }
195
+ .crayon-theme-epicgeeks .crayon-pre .crayon-n {
196
  color: #b7b7b7 !important;
197
  font-style: italic !important;
198
  }
199
+ .crayon-theme-epicgeeks .crayon-pre .crayon-f {
200
  color: #cfcfcf !important;
201
  }
themes/familiar/familiar.css CHANGED
@@ -109,58 +109,58 @@ URL: http://aramk.com/
109
  background-color: #BCBCBC !important;
110
  color: #FFF;
111
  }
112
- .crayon-theme-familiar .crayon-pre .c {
113
  color: #ff8000 !important;
114
  }
115
- .crayon-theme-familiar .crayon-pre .s {
116
  color: #008000 !important;
117
  }
118
- .crayon-theme-familiar .crayon-pre .p {
119
  color: #b85c00 !important;
120
  }
121
- .crayon-theme-familiar .crayon-pre .ta {
122
  color: #FF0000 !important;
123
  }
124
- .crayon-theme-familiar .crayon-pre .k {
125
  color: #800080 !important;
126
  }
127
- .crayon-theme-familiar .crayon-pre .st {
128
  color: #800080 !important;
129
  }
130
- .crayon-theme-familiar .crayon-pre .r {
131
  color: #800080 !important;
132
  }
133
- .crayon-theme-familiar .crayon-pre .t {
134
  color: #800080 !important;
135
  }
136
- .crayon-theme-familiar .crayon-pre .m {
137
  color: #800080 !important;
138
  }
139
- .crayon-theme-familiar .crayon-pre .i {
140
  color: #000 !important;
141
  }
142
- .crayon-theme-familiar .crayon-pre .e {
143
  color: #004ed0 !important;
144
  }
145
- .crayon-theme-familiar .crayon-pre .v {
146
  color: #002D7A !important;
147
  }
148
- .crayon-theme-familiar .crayon-pre .cn {
149
  color: #ce0000 !important;
150
  }
151
- .crayon-theme-familiar .crayon-pre .o {
152
  color: #006fe0 !important;
153
  }
154
- .crayon-theme-familiar .crayon-pre .sy {
155
  color: #333 !important;
156
  }
157
- .crayon-theme-familiar .crayon-pre .n {
158
  color: #666 !important;
159
  font-style: italic !important;
160
  }
161
- .crayon-theme-familiar .crayon-pre .f {
162
  color: #999 !important;
163
  }
164
- .crayon-theme-familiar .crayon-pre .h {
165
  color: #006fe0 !important;
166
  }
109
  background-color: #BCBCBC !important;
110
  color: #FFF;
111
  }
112
+ .crayon-theme-familiar .crayon-pre .crayon-c {
113
  color: #ff8000 !important;
114
  }
115
+ .crayon-theme-familiar .crayon-pre .crayon-s {
116
  color: #008000 !important;
117
  }
118
+ .crayon-theme-familiar .crayon-pre .crayon-p {
119
  color: #b85c00 !important;
120
  }
121
+ .crayon-theme-familiar .crayon-pre .crayon-ta {
122
  color: #FF0000 !important;
123
  }
124
+ .crayon-theme-familiar .crayon-pre .crayon-k {
125
  color: #800080 !important;
126
  }
127
+ .crayon-theme-familiar .crayon-pre .crayon-st {
128
  color: #800080 !important;
129
  }
130
+ .crayon-theme-familiar .crayon-pre .crayon-r {
131
  color: #800080 !important;
132
  }
133
+ .crayon-theme-familiar .crayon-pre .crayon-t {
134
  color: #800080 !important;
135
  }
136
+ .crayon-theme-familiar .crayon-pre .crayon-m {
137
  color: #800080 !important;
138
  }
139
+ .crayon-theme-familiar .crayon-pre .crayon-i {
140
  color: #000 !important;
141
  }
142
+ .crayon-theme-familiar .crayon-pre .crayon-e {
143
  color: #004ed0 !important;
144
  }
145
+ .crayon-theme-familiar .crayon-pre .crayon-v {
146
  color: #002D7A !important;
147
  }
148
+ .crayon-theme-familiar .crayon-pre .crayon-cn {
149
  color: #ce0000 !important;
150
  }
151
+ .crayon-theme-familiar .crayon-pre .crayon-o {
152
  color: #006fe0 !important;
153
  }
154
+ .crayon-theme-familiar .crayon-pre .crayon-sy {
155
  color: #333 !important;
156
  }
157
+ .crayon-theme-familiar .crayon-pre .crayon-n {
158
  color: #666 !important;
159
  font-style: italic !important;
160
  }
161
+ .crayon-theme-familiar .crayon-pre .crayon-f {
162
  color: #999 !important;
163
  }
164
+ .crayon-theme-familiar .crayon-pre .crayon-h {
165
  color: #006fe0 !important;
166
  }
themes/feeldesign/feeldesign.css ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Name: Feeldesign
3
+ Description: FeeldesignStudio
4
+ Version: 1.0
5
+ Author: FeeldesignStudio
6
+ URL: http://www.feeldesignstudio.com
7
+ */
8
+ .crayon-theme-feeldesign {
9
+ border-width: 1px !important;
10
+ border-color: #000000 !important;
11
+ text-shadow: none !important;
12
+ background: #333333 !important;
13
+ }
14
+ .crayon-theme-feeldesign-inline {
15
+ border-width: 1px !important;
16
+ border-color: #000000 !important;
17
+ background: #27292c !important;
18
+ }
19
+ .crayon-theme-feeldesign .crayon-table .crayon-nums {
20
+ background: #222222 !important;
21
+ color: #898989 !important;
22
+ border-right-width: 1px !important;
23
+ border-right-color: #555555 !important;
24
+ border-right-style: solid !important;
25
+ }
26
+ .crayon-theme-feeldesign *::selection {
27
+ background: transparent !important;
28
+ }
29
+ .crayon-theme-feeldesign .crayon-code *::selection {
30
+ background: #ddeeff !important;
31
+ color: #316ba5 !important;
32
+ }
33
+ .crayon-theme-feeldesign .crayon-striped-line {
34
+ background: #363636 !important;
35
+ }
36
+ .crayon-theme-feeldesign .crayon-striped-num {
37
+ background: #282828 !important;
38
+ color: #979797 !important;
39
+ }
40
+ .crayon-theme-feeldesign .crayon-marked-line {
41
+ background: #444444 !important;
42
+ border-width: 1px !important;
43
+ border-color: #595959 !important;
44
+ }
45
+ .crayon-theme-feeldesign .crayon-marked-num {
46
+ color: #9e9e9e !important;
47
+ background: #363636 !important;
48
+ border-width: 1px !important;
49
+ border-color: #595959 !important;
50
+ }
51
+ .crayon-theme-feeldesign .crayon-marked-line.crayon-striped-line {
52
+ background: #494949 !important;
53
+ }
54
+ .crayon-theme-feeldesign .crayon-marked-num.crayon-striped-num {
55
+ background: #222222 !important;
56
+ color: #666666 !important;
57
+ }
58
+ .crayon-theme-feeldesign .crayon-marked-line.crayon-top {
59
+ }
60
+ .crayon-theme-feeldesign .crayon-marked-num.crayon-top {
61
+ }
62
+ .crayon-theme-feeldesign .crayon-marked-line.crayon-bottom {
63
+ }
64
+ .crayon-theme-feeldesign .crayon-marked-num.crayon-bottom {
65
+ }
66
+ .crayon-theme-feeldesign .crayon-info {
67
+ background: #333333 !important;
68
+ border-bottom-width: 1px !important;
69
+ border-bottom-color: #b1af5e !important;
70
+ color: #eeeeee !important;
71
+ border-bottom-style: solid !important;
72
+ }
73
+ .crayon-theme-feeldesign .crayon-toolbar {
74
+ background: #999999 !important;
75
+ border-bottom-width: 1px !important;
76
+ border-bottom-color: #2e2e2e !important;
77
+ border-bottom-style: solid !important;
78
+ }
79
+ .crayon-theme-feeldesign .crayon-toolbar > div {
80
+ float: left !important;
81
+ }
82
+ .crayon-theme-feeldesign .crayon-toolbar .crayon-tools {
83
+ float: right !important;
84
+ }
85
+ .crayon-theme-feeldesign .crayon-title {
86
+ color: #626262 !important;
87
+ }
88
+ .crayon-theme-feeldesign .crayon-language {
89
+ color: #626262 !important;
90
+ }
91
+ .crayon-theme-feeldesign .crayon-button {
92
+ }
93
+ .crayon-theme-feeldesign .crayon-button:hover {
94
+ background-color: #bcbcbc !important;
95
+ color: #666;
96
+ }
97
+ .crayon-theme-feeldesign .crayon-button.crayon-pressed:hover {
98
+ background-color: #bcbcbc !important;
99
+ color: #666;
100
+ }
101
+ .crayon-theme-feeldesign .crayon-button.crayon-pressed {
102
+ background-color: #626262 !important;
103
+ color: #FFF;
104
+ }
105
+ .crayon-theme-feeldesign .crayon-button.crayon-pressed:active {
106
+ background-color: #626262 !important;
107
+ color: #FFF;
108
+ }
109
+ .crayon-theme-feeldesign .crayon-button:active {
110
+ background-color: #bcbcbc !important;
111
+ color: #FFF;
112
+ }
113
+ .crayon-theme-feeldesign .crayon-pre .crayon-c {
114
+ color: #666666 !important;
115
+ font-style: italic !important;
116
+ }
117
+ .crayon-theme-feeldesign .crayon-pre .crayon-s {
118
+ color: #ab9b7c !important;
119
+ }
120
+ .crayon-theme-feeldesign .crayon-pre .crayon-p {
121
+ color: #b85c00 !important;
122
+ }
123
+ .crayon-theme-feeldesign .crayon-pre .crayon-ta {
124
+ color: #d35a5a !important;
125
+ }
126
+ .crayon-theme-feeldesign .crayon-pre .crayon-k {
127
+ color: #75d1f2 !important;
128
+ }
129
+ .crayon-theme-feeldesign .crayon-pre .crayon-st {
130
+ color: #75d1f2 !important;
131
+ }
132
+ .crayon-theme-feeldesign .crayon-pre .crayon-r {
133
+ color: #a6c147 !important;
134
+ }
135
+ .crayon-theme-feeldesign .crayon-pre .crayon-t {
136
+ color: #75d1f2 !important;
137
+ }
138
+ .crayon-theme-feeldesign .crayon-pre .crayon-m {
139
+ color: #d3a6ea !important;
140
+ }
141
+ .crayon-theme-feeldesign .crayon-pre .crayon-i {
142
+ color: #ffffbc !important;
143
+ }
144
+ .crayon-theme-feeldesign .crayon-pre .crayon-e {
145
+ color: #ffa9a9 !important;
146
+ }
147
+ .crayon-theme-feeldesign .crayon-pre .crayon-v {
148
+ color: #ffffbc !important;
149
+ }
150
+ .crayon-theme-feeldesign .crayon-pre .crayon-cn {
151
+ color: #e7a37a !important;
152
+ }
153
+ .crayon-theme-feeldesign .crayon-pre .crayon-o {
154
+ color: #c38eba !important;
155
+ }
156
+ .crayon-theme-feeldesign .crayon-pre .crayon-sy {
157
+ color: #c9d2d1 !important;
158
+ }
159
+ .crayon-theme-feeldesign .crayon-pre .crayon-n {
160
+ color: #666 !important;
161
+ font-style: italic !important;
162
+ }
163
+ .crayon-theme-feeldesign .crayon-pre .crayon-f {
164
+ color: #999999 !important;
165
+ }
166
+ .crayon-theme-feeldesign .crayon-pre .crayon-h {
167
+ color: #006fe0 !important;
168
+ }
themes/github/github.css CHANGED
@@ -56,62 +56,62 @@ URL: http://firn.jp/
56
  border-color: #5999d9 !important;
57
  }
58
 
59
- .crayon-theme-github .crayon-pre .c {
60
  color: #999 !important;
61
  font-style: italic !important;
62
  }
63
- .crayon-theme-github .crayon-pre .s {
64
  color: #d14 !important;
65
  }
66
- .crayon-theme-github .crayon-pre .p {
67
  color: #b85c00 !important;
68
  }
69
- .crayon-theme-github .crayon-pre .ta {
70
  color: #FF0000 !important;
71
  }
72
- .crayon-theme-github .crayon-pre .k {
73
  color: teal !important;
74
  }
75
- .crayon-theme-github .crayon-pre .st {
76
  color: #000 !important;
77
  font-weight: bold !important;
78
  }
79
- .crayon-theme-github .crayon-pre .r {
80
  color: #000 !important;
81
  font-weight: bold !important;
82
  }
83
- .crayon-theme-github .crayon-pre .t {
84
  color: #800080 !important;
85
  font-weight: bold !important;
86
  }
87
- .crayon-theme-github .crayon-pre .m {
88
  color: #800080 !important;
89
  }
90
- .crayon-theme-github .crayon-pre .i {
91
  color: #000 !important;
92
  }
93
- .crayon-theme-github .crayon-pre .e {
94
  color: teal !important;
95
  }
96
- .crayon-theme-github .crayon-pre .v {
97
  color: #002D7A !important;
98
  }
99
- .crayon-theme-github .crayon-pre .cn {
100
  color: #099 !important;
101
  }
102
- .crayon-theme-github .crayon-pre .o {
103
  color: #006fe0 !important;
104
  }
105
- .crayon-theme-github .crayon-pre .sy {
106
  color: #333 !important;
107
  }
108
- .crayon-theme-github .crayon-pre .n {
109
  color: #666 !important;
110
  font-style: italic;
111
  }
112
- .crayon-theme-github .crayon-pre .f {
113
  color: #999 !important;
114
  }
115
- .crayon-theme-github .crayon-pre .h {
116
  color: #006fe0 !important;
117
  }
56
  border-color: #5999d9 !important;
57
  }
58
 
59
+ .crayon-theme-github .crayon-pre .crayon-c {
60
  color: #999 !important;
61
  font-style: italic !important;
62
  }
63
+ .crayon-theme-github .crayon-pre .crayon-s {
64
  color: #d14 !important;
65
  }
66
+ .crayon-theme-github .crayon-pre .crayon-p {
67
  color: #b85c00 !important;
68
  }
69
+ .crayon-theme-github .crayon-pre .crayon-ta {
70
  color: #FF0000 !important;
71
  }
72
+ .crayon-theme-github .crayon-pre .crayon-k {
73
  color: teal !important;
74
  }
75
+ .crayon-theme-github .crayon-pre .crayon-st {
76
  color: #000 !important;
77
  font-weight: bold !important;
78
  }
79
+ .crayon-theme-github .crayon-pre .crayon-r {
80
  color: #000 !important;
81
  font-weight: bold !important;
82
  }
83
+ .crayon-theme-github .crayon-pre .crayon-t {
84
  color: #800080 !important;
85
  font-weight: bold !important;
86
  }
87
+ .crayon-theme-github .crayon-pre .crayon-m {
88
  color: #800080 !important;
89
  }
90
+ .crayon-theme-github .crayon-pre .crayon-i {
91
  color: #000 !important;
92
  }
93
+ .crayon-theme-github .crayon-pre .crayon-e {
94
  color: teal !important;
95
  }
96
+ .crayon-theme-github .crayon-pre .crayon-v {
97
  color: #002D7A !important;
98
  }
99
+ .crayon-theme-github .crayon-pre .crayon-cn {
100
  color: #099 !important;
101
  }
102
+ .crayon-theme-github .crayon-pre .crayon-o {
103
  color: #006fe0 !important;
104
  }
105
+ .crayon-theme-github .crayon-pre .crayon-sy {
106
  color: #333 !important;
107
  }
108
+ .crayon-theme-github .crayon-pre .crayon-n {
109
  color: #666 !important;
110
  font-style: italic;
111
  }
112
+ .crayon-theme-github .crayon-pre .crayon-f {
113
  color: #999 !important;
114
  }
115
+ .crayon-theme-github .crayon-pre .crayon-h {
116
  color: #006fe0 !important;
117
  }
themes/idle/idle.css CHANGED
@@ -116,58 +116,58 @@ URL: http://aramk.com/
116
  background-color: #BCBCBC !important;
117
  color: #FFF;
118
  }
119
- .crayon-theme-idle .crayon-pre .c {
120
  color: #a9a9a9 !important;
121
  }
122
- .crayon-theme-idle .crayon-pre .s {
123
  color: #00ae5d !important;
124
  }
125
- .crayon-theme-idle .crayon-pre .p {
126
  color: #b85c00 !important;
127
  }
128
- .crayon-theme-idle .crayon-pre .ta {
129
  color: #000000 !important;
130
  }
131
- .crayon-theme-idle .crayon-pre .k {
132
  color: #bf54b6 !important;
133
  }
134
- .crayon-theme-idle .crayon-pre .st {
135
  color: #ff6b2a !important;
136
  }
137
- .crayon-theme-idle .crayon-pre .r {
138
  color: #ff6b2a !important;
139
  }
140
- .crayon-theme-idle .crayon-pre .t {
141
  color: #ff6b2a !important;
142
  }
143
- .crayon-theme-idle .crayon-pre .m {
144
  color: #ff6b2a !important;
145
  }
146
- .crayon-theme-idle .crayon-pre .i {
147
  color: #000 !important;
148
  }
149
- .crayon-theme-idle .crayon-pre .e {
150
  color: #2a6dca !important;
151
  }
152
- .crayon-theme-idle .crayon-pre .v {
153
  color: #000000 !important;
154
  }
155
- .crayon-theme-idle .crayon-pre .cn {
156
  color: #000000 !important;
157
  }
158
- .crayon-theme-idle .crayon-pre .o {
159
  color: #ff6b2a !important;
160
  }
161
- .crayon-theme-idle .crayon-pre .sy {
162
  color: #0d0000 !important;
163
  }
164
- .crayon-theme-idle .crayon-pre .n {
165
  color: #666 !important;
166
  font-style: italic !important;
167
  }
168
- .crayon-theme-idle .crayon-pre .f {
169
  color: #999 !important;
170
  }
171
- .crayon-theme-idle .crayon-pre .h {
172
  color: #006fe0 !important;
173
  }
116
  background-color: #BCBCBC !important;
117
  color: #FFF;
118
  }
119
+ .crayon-theme-idle .crayon-pre .crayon-c {
120
  color: #a9a9a9 !important;
121
  }
122
+ .crayon-theme-idle .crayon-pre .crayon-s {
123
  color: #00ae5d !important;
124
  }
125
+ .crayon-theme-idle .crayon-pre .crayon-p {
126
  color: #b85c00 !important;
127
  }
128
+ .crayon-theme-idle .crayon-pre .crayon-ta {
129
  color: #000000 !important;
130
  }
131
+ .crayon-theme-idle .crayon-pre .crayon-k {
132
  color: #bf54b6 !important;
133
  }
134
+ .crayon-theme-idle .crayon-pre .crayon-st {
135
  color: #ff6b2a !important;
136
  }
137
+ .crayon-theme-idle .crayon-pre .crayon-r {
138
  color: #ff6b2a !important;
139
  }
140
+ .crayon-theme-idle .crayon-pre .crayon-t {
141
  color: #ff6b2a !important;
142
  }
143
+ .crayon-theme-idle .crayon-pre .crayon-m {
144
  color: #ff6b2a !important;
145
  }
146
+ .crayon-theme-idle .crayon-pre .crayon-i {
147
  color: #000 !important;
148
  }
149
+ .crayon-theme-idle .crayon-pre .crayon-e {
150
  color: #2a6dca !important;
151
  }
152
+ .crayon-theme-idle .crayon-pre .crayon-v {
153
  color: #000000 !important;
154
  }
155
+ .crayon-theme-idle .crayon-pre .crayon-cn {
156
  color: #000000 !important;
157
  }
158
+ .crayon-theme-idle .crayon-pre .crayon-o {
159
  color: #ff6b2a !important;
160
  }
161
+ .crayon-theme-idle .crayon-pre .crayon-sy {
162
  color: #0d0000 !important;
163
  }
164
+ .crayon-theme-idle .crayon-pre .crayon-n {
165
  color: #666 !important;
166
  font-style: italic !important;
167
  }
168
+ .crayon-theme-idle .crayon-pre .crayon-f {
169
  color: #999 !important;
170
  }
171
+ .crayon-theme-idle .crayon-pre .crayon-h {
172
  color: #006fe0 !important;
173
  }
themes/inlellij-idea/inlellij-idea.css ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Name: Inlellij Idea
3
+ Description: Classic extended.
4
+ Version: 1.1
5
+ Author: kelegorm
6
+ */
7
+ .crayon-theme-inlellij-idea {
8
+ border-width: 1px !important;
9
+ border-color: #999 !important;
10
+ border-style: solid !important;
11
+ text-shadow: none !important;
12
+ background: #fdfdfd !important;
13
+ -moz-border-radius: 5px;
14
+ -webkit-border-radius: 5px;
15
+ border-radius: 5px;
16
+ }
17
+ .crayon-theme-inlellij-idea-inline {
18
+ border-width: 1px !important;
19
+ border-color: #ddd !important;
20
+ background: #fafafa !important;
21
+ border-style: solid !important;
22
+ }
23
+ .crayon-theme-inlellij-idea .crayon-table .crayon-nums {
24
+ background: #ffffff !important;
25
+ color: #b2b2b2 !important;
26
+ border-right-width: 1px !important;
27
+ border-right-style: solid !important;
28
+ border-right-color: #202020 !important;
29
+ }
30
+ .crayon-theme-inlellij-idea .crayon-code::selection {
31
+ background: #BBEEDA !important;
32
+ color: #269B6C !important;
33
+ }
34
+ .crayon-theme-inlellij-idea .crayon-code *::selection {
35
+ background: #BBEEDA !important;
36
+ color: #269B6C !important;
37
+ }
38
+ .crayon-theme-inlellij-idea *::selection {
39
+ background: transparent !important;
40
+ }
41
+ .crayon-theme-inlellij-idea .crayon-striped-line {
42
+ background: #ffffff !important;
43
+ }
44
+ .crayon-theme-inlellij-idea .crayon-striped-num {
45
+ background: #ffffff !important;
46
+ color: #b2b2b2 !important;
47
+ }
48
+ .crayon-theme-inlellij-idea .crayon-marked-line {
49
+ background: #4169e1 !important;
50
+ border-width: 1px !important;
51
+ border-color: #9AE7DF !important;
52
+ }
53
+ .crayon-theme-inlellij-idea .crayon-marked-num {
54
+ color: #cd5c5c !important;
55
+ background: #dcdcdc !important;
56
+ border-width: 0px !important;
57
+ border-color: #202020 !important;
58
+ }
59
+ .crayon-theme-inlellij-idea .crayon-marked-line.crayon-striped-line {
60
+ background: #B7EEE9 !important;
61
+ }
62
+ .crayon-theme-inlellij-idea .crayon-marked-num.crayon-striped-num {
63
+ background: #dcdcdc !important;
64
+ color: #cd5c5c !important;
65
+ }
66
+ .crayon-theme-inlellij-idea .crayon-marked-line.crayon-top {
67
+ border-top-style: solid !important;
68
+ }
69
+ .crayon-theme-inlellij-idea .crayon-marked-num.crayon-top {
70
+ border-top-style: solid !important;
71
+ }
72
+ .crayon-theme-inlellij-idea .crayon-marked-line.crayon-bottom {
73
+ border-bottom-style: solid !important;
74
+ }
75
+ .crayon-theme-inlellij-idea .crayon-marked-num.crayon-bottom {
76
+ border-bottom-style: solid !important;
77
+ }
78
+ .crayon-theme-inlellij-idea .crayon-info {
79
+ background: #E8E8E8 !important;
80
+ border-bottom-width: 1px !important;
81
+ border-bottom-style: solid !important;
82
+ border-bottom-color: #888888 !important;
83
+ color: #595959 !important;
84
+ }
85
+ .crayon-theme-inlellij-idea .crayon-toolbar {
86
+ background: #DDD !important;
87
+ border-bottom-width: 1px !important;
88
+ border-bottom-style: solid !important;
89
+ border-bottom-color: #BBB !important;
90
+ }
91
+ .crayon-theme-inlellij-idea .crayon-toolbar > div {
92
+ float: left !important;
93
+ }
94
+ .crayon-theme-inlellij-idea .crayon-toolbar .crayon-tools {
95
+ float: right !important;
96
+ }
97
+ .crayon-theme-inlellij-idea .crayon-title {
98
+ color: #333 !important;
99
+ }
100
+ .crayon-theme-inlellij-idea .crayon-language {
101
+ color: #999 !important;
102
+ }
103
+ .crayon-theme-inlellij-idea .crayon-button {
104
+ background-color: transparent !important;
105
+ }
106
+ .crayon-theme-inlellij-idea .crayon-button:hover {
107
+ background-color: #F2F2F2 !important;
108
+ color: #666;
109
+ }
110
+ .crayon-theme-inlellij-idea .crayon-button.crayon-pressed:hover {
111
+ background-color: #F2F2F2 !important;
112
+ color: #666;
113
+ }
114
+ .crayon-theme-inlellij-idea .crayon-button.crayon-pressed {
115
+ background-color: #BBB !important;
116
+ color: #FFF;
117
+ }
118
+ .crayon-theme-inlellij-idea .crayon-button.crayon-pressed:active {
119
+ background-color: #BBB !important;
120
+ color: #FFF;
121
+ }
122
+ .crayon-theme-inlellij-idea .crayon-button:active {
123
+ background-color: #BBB !important;
124
+ color: #FFF;
125
+ }
126
+ .crayon-theme-inlellij-idea .crayon-pre .c {
127
+ color: #a9a9a9 !important;
128
+ }
129
+ .crayon-theme-inlellij-idea .crayon-pre .p {
130
+ color: #b85c00 !important;
131
+ }
132
+ .crayon-theme-inlellij-idea .crayon-pre .s {
133
+ color: #008000 !important;
134
+ font-weight: bold !important;
135
+ }
136
+ .crayon-theme-inlellij-idea .crayon-pre .k {
137
+ color: #00008b !important;
138
+ }
139
+ .crayon-theme-inlellij-idea .crayon-pre .st {
140
+ color: #00008b !important;
141
+ font-weight: bold !important;
142
+ }
143
+ .crayon-theme-inlellij-idea .crayon-pre .r {
144
+ color: #00008b !important;
145
+ }
146
+ .crayon-theme-inlellij-idea .crayon-pre .t {
147
+ color: #000000 !important;
148
+ }
149
+ .crayon-theme-inlellij-idea .crayon-pre .m {
150
+ color: #00008b !important;
151
+ font-weight: bold !important;
152
+ }
153
+ .crayon-theme-inlellij-idea .crayon-pre .ta {
154
+ color: #FF0000 !important;
155
+ }
156
+ .crayon-theme-inlellij-idea .crayon-pre .i {
157
+ color: #9932cc !important;
158
+ font-weight: bold !important;
159
+ }
160
+ .crayon-theme-inlellij-idea .crayon-pre .v {
161
+ color: #9932cc !important;
162
+ font-weight: bold !important;
163
+ }
164
+ .crayon-theme-inlellij-idea .crayon-pre .e {
165
+ color: #8f8615 !important;
166
+ }
167
+ .crayon-theme-inlellij-idea .crayon-pre .cn {
168
+ color: #9932cc !important;
169
+ }
170
+ .crayon-theme-inlellij-idea .crayon-pre .o {
171
+ color: #000000 !important;
172
+ }
173
+ .crayon-theme-inlellij-idea .crayon-pre .h {
174
+ color: #006fe0 !important;
175
+ }
176
+ .crayon-theme-inlellij-idea .crayon-pre .sy {
177
+ color: #333 !important;
178
+ }
179
+ .crayon-theme-inlellij-idea .crayon-pre .n {
180
+ color: #666 !important;
181
+ font-style: italic !important;
182
+ }
183
+ .crayon-theme-inlellij-idea .crayon-pre .f {
184
+ color: #999 !important;
185
+ }
186
+ .crayon-theme-inlellij-idea .crayon-table {
187
+ -moz-border-radius: 5px;
188
+ -webkit-border-radius: 5px;
189
+ border-radius: 5px;
190
+ overflow: hidden!important;
191
+ }
themes/mirc-dark/mirc-dark.css ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Name: Mirc Dark
3
+ Description: Based on Tomorrow-Theme by ChrisKempson
4
+ Version: 1.0
5
+ Author: AmFearLiath
6
+ URL: http://amfearliath.tk
7
+ */
8
+ .crayon-theme-mirc-dark {
9
+ border-width: 1px !important;
10
+ border-color: #000000 !important;
11
+ border-style: solid !important;
12
+ text-shadow: none !important;
13
+ background: #272727 !important;
14
+ }
15
+ .crayon-theme-mirc-dark-inline {
16
+ border-width: 1px !important;
17
+ border-color: #000000 !important;
18
+ border-style: solid !important;
19
+ background: #000103 !important;
20
+ }
21
+ .crayon-theme-mirc-dark .crayon-table .crayon-nums {
22
+ background: #000000 !important;
23
+ color: #898989 !important;
24
+ border-right-width: 1px !important;
25
+ }
26
+ .crayon-theme-mirc-dark *::selection {
27
+ background: transparent !important;
28
+ }
29
+ .crayon-theme-mirc-dark .crayon-code *::selection {
30
+ background: #ddeeff !important;
31
+ color: #316ba5 !important;
32
+ }
33
+ .crayon-theme-mirc-dark .crayon-striped-line {
34
+ background: #000000 !important;
35
+ }
36
+ .crayon-theme-mirc-dark .crayon-striped-num {
37
+ background: #1d1d1d !important;
38
+ color: #979797 !important;
39
+ }
40
+ .crayon-theme-mirc-dark .crayon-marked-line {
41
+ background: #3b3b3b !important;
42
+ border-width: 1px !important;
43
+ border-color: #3a3a47 !important;
44
+ }
45
+ .crayon-theme-mirc-dark .crayon-marked-num {
46
+ color: #9e9e9e !important;
47
+ background: #010000 !important;
48
+ border-width: 1px !important;
49
+ border-color: #595959 !important;
50
+ }
51
+ .crayon-theme-mirc-dark .crayon-marked-line.crayon-striped-line {
52
+ background: #000000 !important;
53
+ }
54
+ .crayon-theme-mirc-dark .crayon-marked-num.crayon-striped-num {
55
+ background: #3b3b3b !important;
56
+ color: #9e9e9e !important;
57
+ }
58
+ .crayon-theme-mirc-dark .crayon-marked-line.crayon-top {
59
+ border-top-style: solid !important;
60
+ }
61
+ .crayon-theme-mirc-dark .crayon-marked-num.crayon-top {
62
+ border-top-style: solid !important;
63
+ }
64
+ .crayon-theme-mirc-dark .crayon-marked-line.crayon-bottom {
65
+ border-bottom-style: solid !important;
66
+ }
67
+ .crayon-theme-mirc-dark .crayon-marked-num.crayon-bottom {
68
+ border-bottom-style: solid !important;
69
+ }
70
+ .crayon-theme-mirc-dark .crayon-info {
71
+ background: #faf9d7 !important;
72
+ border-bottom-width: 1px !important;
73
+ border-bottom-color: #b1af5e !important;
74
+ border-bottom-style: solid !important;
75
+ color: #7e7d34 !important;
76
+ }
77
+ .crayon-theme-mirc-dark .crayon-toolbar {
78
+ background: #8d8c8c !important;
79
+ border-bottom-width: 1px !important;
80
+ border-bottom-color: #2e2e2e !important;
81
+ border-bottom-style: solid !important;
82
+ }
83
+ .crayon-theme-mirc-dark .crayon-toolbar > div {
84
+ float: left !important;
85
+ }
86
+ .crayon-theme-mirc-dark .crayon-toolbar .crayon-tools {
87
+ float: right !important;
88
+ }
89
+ .crayon-theme-mirc-dark .crayon-title {
90
+ color: #2a2a2a !important;
91
+ }
92
+ .crayon-theme-mirc-dark .crayon-language {
93
+ color: #494949 !important;
94
+ }
95
+ .crayon-theme-mirc-dark .crayon-button {
96
+ }
97
+ .crayon-theme-mirc-dark .crayon-button:hover {
98
+ background-color: #bcbcbc !important;
99
+ color: #666;
100
+ }
101
+ .crayon-theme-mirc-dark .crayon-button.crayon-pressed:hover {
102
+ background-color: #bcbcbc !important;
103
+ color: #666;
104
+ }
105
+ .crayon-theme-mirc-dark .crayon-button.crayon-pressed {
106
+ background-color: #626262 !important;
107
+ color: #FFF;
108
+ }
109
+ .crayon-theme-mirc-dark .crayon-button.crayon-pressed:active {
110
+ background-color: #626262 !important;
111
+ color: #FFF;
112
+ }
113
+ .crayon-theme-mirc-dark .crayon-button:active {
114
+ background-color: #bcbcbc !important;
115
+ color: #FFF;
116
+ }
117
+ .crayon-theme-mirc-dark .crayon-pre .crayon-c {
118
+ color: #ff8c00 !important;
119
+ }
120
+ .crayon-theme-mirc-dark .crayon-pre .crayon-s {
121
+ color: #b2af75 !important;
122
+ }
123
+ .crayon-theme-mirc-dark .crayon-pre .crayon-p {
124
+ color: #b85c00 !important;
125
+ }
126
+ .crayon-theme-mirc-dark .crayon-pre .crayon-ta {
127
+ color: #e79663 !important;
128
+ }
129
+ .crayon-theme-mirc-dark .crayon-pre .crayon-k {
130
+ color: #dc2f2f !important;
131
+ }
132
+ .crayon-theme-mirc-dark .crayon-pre .crayon-st {
133
+ color: #0185d7 !important;
134
+ }
135
+ .crayon-theme-mirc-dark .crayon-pre .crayon-r {
136
+ color: #92afc1 !important;
137
+ }
138
+ .crayon-theme-mirc-dark .crayon-pre .crayon-t {
139
+ color: #bba7c5 !important;
140
+ }
141
+ .crayon-theme-mirc-dark .crayon-pre .crayon-m {
142
+ color: #bba7c5 !important;
143
+ }
144
+ .crayon-theme-mirc-dark .crayon-pre .crayon-i {
145
+ color: #c7c7c7 !important;
146
+ }
147
+ .crayon-theme-mirc-dark .crayon-pre .crayon-e {
148
+ color: #c29734 !important;
149
+ }
150
+ .crayon-theme-mirc-dark .crayon-pre .crayon-v {
151
+ color: #abfc04 !important;
152
+ }
153
+ .crayon-theme-mirc-dark .crayon-pre .crayon-cn {
154
+ color: #eb5b04 !important;
155
+ }
156
+ .crayon-theme-mirc-dark .crayon-pre .crayon-o {
157
+ color: #ffd700 !important;
158
+ }
159
+ .crayon-theme-mirc-dark .crayon-pre .crayon-sy {
160
+ color: #c9d2d1 !important;
161
+ }
162
+ .crayon-theme-mirc-dark .crayon-pre .crayon-n {
163
+ color: #fffff0 !important;
164
+ font-style: italic !important;
165
+ }
166
+ .crayon-theme-mirc-dark .crayon-pre .crayon-f {
167
+ color: #999 !important;
168
+ }
169
+ .crayon-theme-mirc-dark .crayon-pre .crayon-h {
170
+ color: #006fe0 !important;
171
+ }
themes/neon/neon.css CHANGED
@@ -156,60 +156,60 @@ URL: http://atlocal.net/
156
  background-color: #999 !important;
157
  color: #ccc;
158
  }
159
- .crayon-theme-neon .crayon-pre .c {
160
  color: #888 !important;
161
  }
162
- .crayon-theme-neon .crayon-pre .s {
163
  color: #99CC18 !important;
164
  }
165
- .crayon-theme-neon .crayon-pre .k {
166
  color: #EEEE33 !important;
167
  font-weight: bold !important;
168
  }
169
- .crayon-theme-neon .crayon-pre .st {
170
  color: #EEEE33 !important;
171
  font-weight: bold !important;
172
  }
173
- .crayon-theme-neon .crayon-pre .r {
174
  color: #EEEE33 !important;
175
  font-weight: bold !important;
176
  }
177
- .crayon-theme-neon .crayon-pre .t {
178
  color: #EEEE33 !important;
179
  font-weight: bold !important;
180
  }
181
- .crayon-theme-neon .crayon-pre .m {
182
  color: #EEEE33 !important;
183
  font-weight: bold !important;
184
  }
185
- .crayon-theme-neon .crayon-pre .ta {
186
  color: #AAA !important;
187
  }
188
- .crayon-theme-neon .crayon-pre .i {
189
  color: #fbefb1 !important;
190
  }
191
- .crayon-theme-neon .crayon-pre .v {
192
  color: #879ab2 !important;
193
  }
194
- .crayon-theme-neon .crayon-pre .e {
195
  color: #ED7218 !important;
196
  }
197
- .crayon-theme-neon .crayon-pre .cn {
198
  color: #FF2020 !important;
199
  }
200
- .crayon-theme-neon .crayon-pre .o {
201
  color: #ac99ab !important;
202
  }
203
- .crayon-theme-neon .crayon-pre .h {
204
  color: #ac99ab !important;
205
  }
206
- .crayon-theme-neon .crayon-pre .sy {
207
  color: #A069F8 !important;
208
  }
209
- .crayon-theme-neon .crayon-pre .n {
210
  color: #726e73 !important;
211
  font-style: italic !important;
212
  }
213
- .crayon-theme-neon .crayon-pre .f {
214
  color: #595959 !important;
215
  }
156
  background-color: #999 !important;
157
  color: #ccc;
158
  }
159
+ .crayon-theme-neon .crayon-pre .crayon-c {
160
  color: #888 !important;
161
  }
162
+ .crayon-theme-neon .crayon-pre .crayon-s {
163
  color: #99CC18 !important;
164
  }
165
+ .crayon-theme-neon .crayon-pre .crayon-k {
166
  color: #EEEE33 !important;
167
  font-weight: bold !important;
168
  }
169
+ .crayon-theme-neon .crayon-pre .crayon-st {
170
  color: #EEEE33 !important;
171
  font-weight: bold !important;
172
  }
173
+ .crayon-theme-neon .crayon-pre .crayon-r {
174
  color: #EEEE33 !important;
175
  font-weight: bold !important;
176
  }
177
+ .crayon-theme-neon .crayon-pre .crayon-t {
178
  color: #EEEE33 !important;
179
  font-weight: bold !important;
180
  }
181
+ .crayon-theme-neon .crayon-pre .crayon-m {
182
  color: #EEEE33 !important;
183
  font-weight: bold !important;
184
  }
185
+ .crayon-theme-neon .crayon-pre .crayon-ta {
186
  color: #AAA !important;
187
  }
188
+ .crayon-theme-neon .crayon-pre .crayon-i {
189
  color: #fbefb1 !important;
190
  }
191
+ .crayon-theme-neon .crayon-pre .crayon-v {
192
  color: #879ab2 !important;
193
  }
194
+ .crayon-theme-neon .crayon-pre .crayon-e {
195
  color: #ED7218 !important;
196
  }
197
+ .crayon-theme-neon .crayon-pre .crayon-cn {
198
  color: #FF2020 !important;
199
  }
200
+ .crayon-theme-neon .crayon-pre .crayon-o {
201
  color: #ac99ab !important;
202
  }
203
+ .crayon-theme-neon .crayon-pre .crayon-h {
204
  color: #ac99ab !important;
205
  }
206
+ .crayon-theme-neon .crayon-pre .crayon-sy {
207
  color: #A069F8 !important;
208
  }
209
+ .crayon-theme-neon .crayon-pre .crayon-n {
210
  color: #726e73 !important;
211
  font-style: italic !important;
212
  }
213
+ .crayon-theme-neon .crayon-pre .crayon-f {
214
  color: #595959 !important;
215
  }
themes/secrets-of-rock/secrets-of-rock.css ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Name: Secrets Of Rock 1
3
+ Description: Secrets of Rock CD
4
+ Version: 1.0
5
+ Author: Heffa Fuzzel
6
+ Url: http://www.secretsofrock.net
7
+ */
8
+ .crayon-theme-secrets-of-rock {
9
+ border-width: 1px !important;
10
+ border-color: #4fb9b1 !important;
11
+ border-style: solid !important;
12
+ text-shadow: none !important;
13
+ background: #fdfdfd !important;
14
+ }
15
+ .crayon-theme-secrets-of-rock-inline {
16
+ border-width: 0px !important;
17
+ border-color: #ddd !important;
18
+ border-style: solid !important;
19
+ background: #fafafa !important;
20
+ }
21
+ .crayon-theme-secrets-of-rock .crayon-table .crayon-nums {
22
+ background: #4fb9b1 !important;
23
+ color: #333 !important;
24
+ }
25
+ .crayon-theme-secrets-of-rock *::selection {
26
+ background: transparent !important;
27
+ }
28
+ .crayon-theme-secrets-of-rock .crayon-code *::selection {
29
+ background: #ddeeff !important;
30
+ color: #316ba5 !important;
31
+ }
32
+ .crayon-theme-secrets-of-rock .crayon-striped-line {
33
+ background: #f7f7f7 !important;
34
+ }
35
+ .crayon-theme-secrets-of-rock .crayon-striped-num {
36
+ background: #0f9f97 !important;
37
+ color: #333 !important;
38
+ }
39
+ .crayon-theme-secrets-of-rock .crayon-marked-line {
40
+ background: #c6e3e0 !important;
41
+ border-width: 1px !important;
42
+ border-color: #4fb9b1 !important;
43
+ }
44
+ .crayon-theme-secrets-of-rock .crayon-marked-num {
45
+ color: #00bfff !important;
46
+ background: #333 !important;
47
+ border-width: 1px !important;
48
+ border-color: #5999d9 !important;
49
+ }
50
+ .crayon-theme-secrets-of-rock .crayon-marked-line.crayon-striped-line {
51
+ background: #d9f3f1 !important;
52
+ }
53
+ .crayon-theme-secrets-of-rock .crayon-marked-num.crayon-striped-num {
54
+ background: #444 !important;
55
+ color: #afeeee !important;
56
+ }
57
+ .crayon-theme-secrets-of-rock .crayon-marked-line.crayon-top {
58
+ border-top-style: solid !important;
59
+ }
60
+ .crayon-theme-secrets-of-rock .crayon-marked-num.crayon-top {
61
+ border-top-style: solid !important;
62
+ }
63
+ .crayon-theme-secrets-of-rock .crayon-marked-line.crayon-bottom {
64
+ border-bottom-style: solid !important;
65
+ }
66
+ .crayon-theme-secrets-of-rock .crayon-marked-num.crayon-bottom {
67
+ border-bottom-style: solid !important;
68
+ }
69
+ .crayon-theme-secrets-of-rock .crayon-info {
70
+ background: #faf9d7 !important;
71
+ border-bottom-width: 1px !important;
72
+ border-bottom-color: #b1af5e !important;
73
+ border-bottom-style: solid !important;
74
+ color: #7e7d34 !important;
75
+ }
76
+ .crayon-theme-secrets-of-rock .crayon-toolbar {
77
+ background: #fdfdfd !important;
78
+ border-bottom-width: 1px !important;
79
+ border-bottom-color: #4fb9b1 !important;
80
+ border-bottom-style: solid !important;
81
+ }
82
+ .crayon-theme-secrets-of-rock .crayon-toolbar > div {
83
+ float: left !important;
84
+ }
85
+ .crayon-theme-secrets-of-rock .crayon-toolbar .crayon-tools {
86
+ float: right !important;
87
+ }
88
+ .crayon-theme-secrets-of-rock .crayon-title {
89
+ color: #333 !important;
90
+ }
91
+ .crayon-theme-secrets-of-rock .crayon-language {
92
+ color: #4fb9b1 !important;
93
+ }
94
+ .crayon-theme-secrets-of-rock a.crayon-button {
95
+ background-color: transparent !important;
96
+ }
97
+ .crayon-theme-secrets-of-rock a.crayon-button:hover {
98
+ background-color: #c0e3e1 !important;
99
+ color: #666;
100
+ }
101
+ .crayon-theme-secrets-of-rock a.crayon-button.crayon-pressed:hover {
102
+ background-color: #EEE !important;
103
+ color: #666;
104
+ }
105
+ .crayon-theme-secrets-of-rock a.crayon-button.crayon-pressed {
106
+ background-color: #4fb9b1 !important;
107
+ color: #FFF;
108
+ }
109
+ .crayon-theme-secrets-of-rock a.crayon-button.crayon-pressed:active {
110
+ background-color: #4fb9b1 !important;
111
+ color: #FFF;
112
+ }
113
+ .crayon-theme-secrets-of-rock a.crayon-button:active {
114
+ background-color: #4fb9b1 !important;
115
+ color: #FFF;
116
+ }
117
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-c {
118
+ color: #2e8b57 !important;
119
+ }
120
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-s {
121
+ color: #000333 !important;
122
+ }
123
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-p {
124
+ color: #b85c00 !important;
125
+ }
126
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-ta {
127
+ color: #00bfff !important;
128
+ }
129
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-k {
130
+ color: #2e8b57 !important;
131
+ }
132
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-st {
133
+ color: #333 !important;
134
+ }
135
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-r {
136
+ color: #4fb9b1 !important;
137
+ }
138
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-t {
139
+ color: #008b8b !important;
140
+ }
141
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-m {
142
+ color: #2e8b57 !important;
143
+ }
144
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-i {
145
+ color: #333 !important;
146
+ }
147
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-e {
148
+ color: #008b8b !important;
149
+ }
150
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-v {
151
+ color: #2e8b57 !important;
152
+ }
153
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-cn {
154
+ color: #2f4f4f !important;
155
+ }
156
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-o {
157
+ color: #008b8b !important;
158
+ }
159
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-sy {
160
+ color: #333 !important;
161
+ }
162
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-n {
163
+ color: #666 !important;
164
+ font-style: italic !important;
165
+ }
166
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-f {
167
+ color: #999 !important;
168
+ }
169
+ .crayon-theme-secrets-of-rock .crayon-pre .crayon-h {
170
+ color: #008b8b !important;
171
+ }
themes/solarized-dark/solarized-dark.css CHANGED
@@ -149,58 +149,58 @@ Notes: I don't provide striped lines because it would break the original purpose
149
  background-color: #BCBCBC !important;
150
  color: #FFF;
151
  }
152
- .crayon-theme-solarized-dark .crayon-pre .c {
153
  color: #586e75 !important;
154
  }
155
- .crayon-theme-solarized-dark .crayon-pre .s {
156
  color: #2aa198 !important;
157
  }
158
- .crayon-theme-solarized-dark .crayon-pre .k {
159
  color: #cb4b16 !important;
160
  }
161
- .crayon-theme-solarized-dark .crayon-pre .st {
162
  color: #859900 !important;
163
  }
164
- .crayon-theme-solarized-dark .crayon-pre .r {
165
  color: #cb4b16 !important;
166
  }
167
- .crayon-theme-solarized-dark .crayon-pre .t {
168
  color: #b58900 !important;
169
  }
170
- .crayon-theme-solarized-dark .crayon-pre .m {
171
  color: #b58900 !important;
172
  }
173
- .crayon-theme-solarized-dark .crayon-pre .i {
174
  color: #839496 !important;
175
  }
176
- .crayon-theme-solarized-dark .crayon-pre .e {
177
  color: #839496 !important;
178
  }
179
- .crayon-theme-solarized-dark .crayon-pre .v {
180
  color: #268bd2 !important;
181
  }
182
- .crayon-theme-solarized-dark .crayon-pre .cn {
183
  color: #2aa198 !important;
184
  }
185
- .crayon-theme-solarized-dark .crayon-pre .o {
186
  color: #859900 !important;
187
  }
188
- .crayon-theme-solarized-dark .crayon-pre .sy {
189
  color: #dc322f !important;
190
  }
191
- .crayon-theme-solarized-dark .crayon-pre .n {
192
  color: #666 !important;
193
  font-style: italic !important;
194
  }
195
- .crayon-theme-solarized-dark .crayon-pre .f {
196
  color: #999 !important;
197
  }
198
- .crayon-theme-solarized-dark .crayon-pre .h {
199
  color: #dc322f !important;
200
  }
201
- .crayon-theme-solarized-dark .crayon-pre .p {
202
  color: #dc322f !important;
203
  }
204
- .crayon-theme-solarized-dark .crayon-pre .ta {
205
  color: #268bd2 !important;
206
  }
149
  background-color: #BCBCBC !important;
150
  color: #FFF;
151
  }
152
+ .crayon-theme-solarized-dark .crayon-pre .crayon-c {
153
  color: #586e75 !important;
154
  }
155
+ .crayon-theme-solarized-dark .crayon-pre .crayon-s {
156
  color: #2aa198 !important;
157
  }
158
+ .crayon-theme-solarized-dark .crayon-pre .crayon-k {
159
  color: #cb4b16 !important;
160
  }
161
+ .crayon-theme-solarized-dark .crayon-pre .crayon-st {
162
  color: #859900 !important;
163
  }
164
+ .crayon-theme-solarized-dark .crayon-pre .crayon-r {
165
  color: #cb4b16 !important;
166
  }
167
+ .crayon-theme-solarized-dark .crayon-pre .crayon-t {
168
  color: #b58900 !important;
169
  }
170
+ .crayon-theme-solarized-dark .crayon-pre .crayon-m {
171
  color: #b58900 !important;
172
  }
173
+ .crayon-theme-solarized-dark .crayon-pre .crayon-i {
174
  color: #839496 !important;
175
  }
176
+ .crayon-theme-solarized-dark .crayon-pre .crayon-e {
177
  color: #839496 !important;
178
  }
179
+ .crayon-theme-solarized-dark .crayon-pre .crayon-v {
180
  color: #268bd2 !important;
181
  }
182
+ .crayon-theme-solarized-dark .crayon-pre .crayon-cn {
183
  color: #2aa198 !important;
184
  }
185
+ .crayon-theme-solarized-dark .crayon-pre .crayon-o {
186
  color: #859900 !important;
187
  }
188
+ .crayon-theme-solarized-dark .crayon-pre .crayon-sy {
189
  color: #dc322f !important;
190
  }
191
+ .crayon-theme-solarized-dark .crayon-pre .crayon-n {
192
  color: #666 !important;
193
  font-style: italic !important;
194
  }
195
+ .crayon-theme-solarized-dark .crayon-pre .crayon-f {
196
  color: #999 !important;
197
  }
198
+ .crayon-theme-solarized-dark .crayon-pre .crayon-h {
199
  color: #dc322f !important;
200
  }
201
+ .crayon-theme-solarized-dark .crayon-pre .crayon-p {
202
  color: #dc322f !important;
203
  }
204
+ .crayon-theme-solarized-dark .crayon-pre .crayon-ta {
205
  color: #268bd2 !important;
206
  }
themes/solarized-light/solarized-light.css CHANGED
@@ -149,58 +149,58 @@ Notes: I don't provide striped lines because it would break the original purpose
149
  background-color: #BCBCBC !important;
150
  color: #FFF;
151
  }
152
- .crayon-theme-solarized-light .crayon-pre .c {
153
  color: #93a1a1 !important;
154
  }
155
- .crayon-theme-solarized-light .crayon-pre .s {
156
  color: #2aa198 !important;
157
  }
158
- .crayon-theme-solarized-light .crayon-pre .k {
159
  color: #cb4b16 !important;
160
  }
161
- .crayon-theme-solarized-light .crayon-pre .st {
162
  color: #859900 !important;
163
  }
164
- .crayon-theme-solarized-light .crayon-pre .r {
165
  color: #cb4b16 !important;
166
  }
167
- .crayon-theme-solarized-light .crayon-pre .t {
168
  color: #b58900 !important;
169
  }
170
- .crayon-theme-solarized-light .crayon-pre .m {
171
  color: #b58900 !important;
172
  }
173
- .crayon-theme-solarized-light .crayon-pre .i {
174
  color: #839496 !important;
175
  }
176
- .crayon-theme-solarized-light .crayon-pre .e {
177
  color: #839496 !important;
178
  }
179
- .crayon-theme-solarized-light .crayon-pre .v {
180
  color: #268bd2 !important;
181
  }
182
- .crayon-theme-solarized-light .crayon-pre .cn {
183
  color: #2aa198 !important;
184
  }
185
- .crayon-theme-solarized-light .crayon-pre .o {
186
  color: #859900 !important;
187
  }
188
- .crayon-theme-solarized-light .crayon-pre .sy {
189
  color: #dc322f !important;
190
  }
191
- .crayon-theme-solarized-light .crayon-pre .n {
192
  color: #666 !important;
193
  font-style: italic !important;
194
  }
195
- .crayon-theme-solarized-light .crayon-pre .f {
196
  color: #999 !important;
197
  }
198
- .crayon-theme-solarized-light .crayon-pre .h {
199
  color: #dc322f !important;
200
  }
201
- .crayon-theme-solarized-light .crayon-pre .p {
202
  color: #dc322f !important;
203
  }
204
- .crayon-theme-solarized-light .crayon-pre .ta {
205
  color: #268bd2 !important;
206
  }
149
  background-color: #BCBCBC !important;
150
  color: #FFF;
151
  }
152
+ .crayon-theme-solarized-light .crayon-pre .crayon-c {
153
  color: #93a1a1 !important;
154
  }
155
+ .crayon-theme-solarized-light .crayon-pre .crayon-s {
156
  color: #2aa198 !important;
157
  }
158
+ .crayon-theme-solarized-light .crayon-pre .crayon-k {
159
  color: #cb4b16 !important;
160
  }
161
+ .crayon-theme-solarized-light .crayon-pre .crayon-st {
162
  color: #859900 !important;
163
  }
164
+ .crayon-theme-solarized-light .crayon-pre .crayon-r {
165
  color: #cb4b16 !important;
166
  }
167
+ .crayon-theme-solarized-light .crayon-pre .crayon-t {
168
  color: #b58900 !important;
169
  }
170
+ .crayon-theme-solarized-light .crayon-pre .crayon-m {
171
  color: #b58900 !important;
172
  }
173
+ .crayon-theme-solarized-light .crayon-pre .crayon-i {
174
  color: #839496 !important;
175
  }
176
+ .crayon-theme-solarized-light .crayon-pre .crayon-e {
177
  color: #839496 !important;
178
  }
179
+ .crayon-theme-solarized-light .crayon-pre .crayon-v {
180
  color: #268bd2 !important;
181
  }
182
+ .crayon-theme-solarized-light .crayon-pre .crayon-cn {
183
  color: #2aa198 !important;
184
  }
185
+ .crayon-theme-solarized-light .crayon-pre .crayon-o {
186
  color: #859900 !important;
187
  }
188
+ .crayon-theme-solarized-light .crayon-pre .crayon-sy {
189
  color: #dc322f !important;
190
  }
191
+ .crayon-theme-solarized-light .crayon-pre .crayon-n {
192
  color: #666 !important;
193
  font-style: italic !important;
194
  }
195
+ .crayon-theme-solarized-light .crayon-pre .crayon-f {
196
  color: #999 !important;
197
  }
198
+ .crayon-theme-solarized-light .crayon-pre .crayon-h {
199
  color: #dc322f !important;
200
  }
201
+ .crayon-theme-solarized-light .crayon-pre .crayon-p {
202
  color: #dc322f !important;
203
  }
204
+ .crayon-theme-solarized-light .crayon-pre .crayon-ta {
205
  color: #268bd2 !important;
206
  }
themes/son-of-obsidian/son-of-obsidian.css CHANGED
@@ -145,57 +145,57 @@ Twitter: @__phiphou__
145
  background-color: #bcbcbc !important;
146
  color: #fff;
147
  }
148
- .crayon-theme-son-of-obsidian .crayon-pre .c {
149
  color: #66747b !important;
150
  }
151
- .crayon-theme-son-of-obsidian .crayon-pre .p {
152
  color: #00FF00 !important;
153
  }
154
- .crayon-theme-son-of-obsidian .crayon-pre .s {
155
  color: #ec7600 !important;
156
  }
157
- .crayon-theme-son-of-obsidian .crayon-pre .k {
158
  color: #a082bd !important;
159
  }
160
- .crayon-theme-son-of-obsidian .crayon-pre .st {
161
  color: #a082bd !important;
162
  }
163
- .crayon-theme-son-of-obsidian .crayon-pre .r {
164
  color: #a082bd !important;
165
  }
166
- .crayon-theme-son-of-obsidian .crayon-pre .t {
167
  color: #a082bd !important;
168
  }
169
- .crayon-theme-son-of-obsidian .crayon-pre .m {
170
  color: #a082bd !important;
171
  }
172
- .crayon-theme-son-of-obsidian .crayon-pre .ta {
173
  color: #99daf9 !important;
174
  }
175
- .crayon-theme-son-of-obsidian .crayon-pre .i {
176
  color: #678cb1 !important;
177
  }
178
- .crayon-theme-son-of-obsidian .crayon-pre .v {
179
  color: #678cb1 !important;
180
  }
181
- .crayon-theme-son-of-obsidian .crayon-pre .e {
182
  color: #95c763 !important;
183
  }
184
- .crayon-theme-son-of-obsidian .crayon-pre .cn {
185
  color: #99daf9 !important;
186
  }
187
- .crayon-theme-son-of-obsidian .crayon-pre .o {
188
  color: #ffcd22 !important;
189
  }
190
- .crayon-theme-son-of-obsidian .crayon-pre .h {
191
  color: #ffcd22 !important;
192
  }
193
- .crayon-theme-son-of-obsidian .crayon-pre .sy {
194
  color: #f1f2f3 !important;
195
  }
196
- .crayon-theme-son-of-obsidian .crayon-pre .n {
197
  color: #f1f2f3 !important;
198
  font-style: italic !important;
199
  }
200
- .crayon-theme-son-of-obsidian .crayon-pre .f {
201
  }
145
  background-color: #bcbcbc !important;
146
  color: #fff;
147
  }
148
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-c {
149
  color: #66747b !important;
150
  }
151
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-p {
152
  color: #00FF00 !important;
153
  }
154
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-s {
155
  color: #ec7600 !important;
156
  }
157
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-k {
158
  color: #a082bd !important;
159
  }
160
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-st {
161
  color: #a082bd !important;
162
  }
163
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-r {
164
  color: #a082bd !important;
165
  }
166
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-t {
167
  color: #a082bd !important;
168
  }
169
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-m {
170
  color: #a082bd !important;
171
  }
172
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-ta {
173
  color: #99daf9 !important;
174
  }
175
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-i {
176
  color: #678cb1 !important;
177
  }
178
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-v {
179
  color: #678cb1 !important;
180
  }
181
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-e {
182
  color: #95c763 !important;
183
  }
184
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-cn {
185
  color: #99daf9 !important;
186
  }
187
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-o {
188
  color: #ffcd22 !important;
189
  }
190
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-h {
191
  color: #ffcd22 !important;
192
  }
193
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-sy {
194
  color: #f1f2f3 !important;
195
  }
196
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-n {
197
  color: #f1f2f3 !important;
198
  font-style: italic !important;
199
  }
200
+ .crayon-theme-son-of-obsidian .crayon-pre .crayon-f {
201
  }
themes/ssms2012/ssms2012.css CHANGED
@@ -113,58 +113,58 @@ URL: http://www.sqlxdetails.com
113
  background-color: #BCBCBC !important;
114
  color: #FFF;
115
  }
116
- .crayon-theme-ssms2012 .crayon-pre .c {
117
  color: #008000 !important;
118
  }
119
- .crayon-theme-ssms2012 .crayon-pre .s {
120
  color: #ff0000 !important;
121
  }
122
- .crayon-theme-ssms2012 .crayon-pre .p {
123
  color: #b85c00 !important;
124
  }
125
- .crayon-theme-ssms2012 .crayon-pre .ta {
126
  color: #FF0000 !important;
127
  }
128
- .crayon-theme-ssms2012 .crayon-pre .k {
129
  color: #0000ff !important;
130
  }
131
- .crayon-theme-ssms2012 .crayon-pre .st {
132
  color: #800080 !important;
133
  }
134
- .crayon-theme-ssms2012 .crayon-pre .r {
135
  color: #800080 !important;
136
  }
137
- .crayon-theme-ssms2012 .crayon-pre .t {
138
  color: #800080 !important;
139
  }
140
- .crayon-theme-ssms2012 .crayon-pre .m {
141
  color: #800080 !important;
142
  }
143
- .crayon-theme-ssms2012 .crayon-pre .i {
144
  color: #008080 !important;
145
  }
146
- .crayon-theme-ssms2012 .crayon-pre .e {
147
  color: #ff00ff !important;
148
  }
149
- .crayon-theme-ssms2012 .crayon-pre .v {
150
  color: #002D7A !important;
151
  }
152
- .crayon-theme-ssms2012 .crayon-pre .cn {
153
  color: #000000 !important;
154
  }
155
- .crayon-theme-ssms2012 .crayon-pre .o {
156
  color: #808080 !important;
157
  }
158
- .crayon-theme-ssms2012 .crayon-pre .sy {
159
  color: #333 !important;
160
  }
161
- .crayon-theme-ssms2012 .crayon-pre .n {
162
  color: #666 !important;
163
  font-style: italic !important;
164
  }
165
- .crayon-theme-ssms2012 .crayon-pre .f {
166
  color: #999 !important;
167
  }
168
- .crayon-theme-ssms2012 .crayon-pre .h {
169
  color: #006fe0 !important;
170
  }
113
  background-color: #BCBCBC !important;
114
  color: #FFF;
115
  }
116
+ .crayon-theme-ssms2012 .crayon-pre .crayon-c {
117
  color: #008000 !important;
118
  }
119
+ .crayon-theme-ssms2012 .crayon-pre .crayon-s {
120
  color: #ff0000 !important;
121
  }
122
+ .crayon-theme-ssms2012 .crayon-pre .crayon-p {
123
  color: #b85c00 !important;
124
  }
125
+ .crayon-theme-ssms2012 .crayon-pre .crayon-ta {
126
  color: #FF0000 !important;
127
  }
128
+ .crayon-theme-ssms2012 .crayon-pre .crayon-k {
129
  color: #0000ff !important;
130
  }
131
+ .crayon-theme-ssms2012 .crayon-pre .crayon-st {
132
  color: #800080 !important;
133
  }
134
+ .crayon-theme-ssms2012 .crayon-pre .crayon-r {
135
  color: #800080 !important;
136
  }
137
+ .crayon-theme-ssms2012 .crayon-pre .crayon-t {
138
  color: #800080 !important;
139
  }
140
+ .crayon-theme-ssms2012 .crayon-pre .crayon-m {
141
  color: #800080 !important;
142
  }
143
+ .crayon-theme-ssms2012 .crayon-pre .crayon-i {
144
  color: #008080 !important;
145
  }
146
+ .crayon-theme-ssms2012 .crayon-pre .crayon-e {
147
  color: #ff00ff !important;
148
  }
149
+ .crayon-theme-ssms2012 .crayon-pre .crayon-v {
150
  color: #002D7A !important;
151
  }
152
+ .crayon-theme-ssms2012 .crayon-pre .crayon-cn {
153
  color: #000000 !important;
154
  }
155
+ .crayon-theme-ssms2012 .crayon-pre .crayon-o {
156
  color: #808080 !important;
157
  }
158
+ .crayon-theme-ssms2012 .crayon-pre .crayon-sy {
159
  color: #333 !important;
160
  }
161
+ .crayon-theme-ssms2012 .crayon-pre .crayon-n {
162
  color: #666 !important;
163
  font-style: italic !important;
164
  }
165
+ .crayon-theme-ssms2012 .crayon-pre .crayon-f {
166
  color: #999 !important;
167
  }
168
+ .crayon-theme-ssms2012 .crayon-pre .crayon-h {
169
  color: #006fe0 !important;
170
  }
themes/terminal/terminal.css CHANGED
@@ -48,7 +48,7 @@ URL: http://aramk.com/
48
  color: #97cf32 !important;
49
  background: #2f5f00 !important;
50
  border-width: 1px !important;
51
- border-color: #5999d9 !important;
52
  }
53
  .crayon-theme-terminal .crayon-marked-line.crayon-striped-line {
54
  background: #4a6500 !important;
@@ -92,7 +92,8 @@ URL: http://aramk.com/
92
  color: #87ca00 !important;
93
  }
94
  .crayon-theme-terminal .crayon-language {
95
- color: #999 !important;
 
96
  }
97
  .crayon-theme-terminal .crayon-button {
98
  background-color: #669900 !important;
@@ -117,58 +118,58 @@ URL: http://aramk.com/
117
  background-color: #4e7a00 !important;
118
  color: #FFF;
119
  }
120
- .crayon-theme-terminal .crayon-pre .c {
121
  color: #ff9b00 !important;
122
  }
123
- .crayon-theme-terminal .crayon-pre .s {
124
  color: #3ec700 !important;
125
  }
126
- .crayon-theme-terminal .crayon-pre .p {
127
  color: #caaf00 !important;
128
  }
129
- .crayon-theme-terminal .crayon-pre .ta {
130
  color: #ffdd00 !important;
131
  }
132
- .crayon-theme-terminal .crayon-pre .k {
133
  color: #95e100 !important;
134
  }
135
- .crayon-theme-terminal .crayon-pre .st {
136
  color: #95e100 !important;
137
  }
138
- .crayon-theme-terminal .crayon-pre .r {
139
  color: #95e100 !important;
140
  }
141
- .crayon-theme-terminal .crayon-pre .t {
142
  color: #95e100 !important;
143
  }
144
- .crayon-theme-terminal .crayon-pre .m {
145
  color: #95e100 !important;
146
  }
147
- .crayon-theme-terminal .crayon-pre .i {
148
  color: #ffffff !important;
149
  }
150
- .crayon-theme-terminal .crayon-pre .e {
151
  color: #e7ff5e !important;
152
  }
153
- .crayon-theme-terminal .crayon-pre .v {
154
  color: #ffffff !important;
155
  }
156
- .crayon-theme-terminal .crayon-pre .cn {
157
  color: #e7ffb9 !important;
158
  }
159
- .crayon-theme-terminal .crayon-pre .o {
160
  color: #95e100 !important;
161
  }
162
- .crayon-theme-terminal .crayon-pre .sy {
163
  color: #c9c9c9 !important;
164
  }
165
- .crayon-theme-terminal .crayon-pre .n {
166
  color: #d4ff8e !important;
167
  font-style: italic !important;
168
  }
169
- .crayon-theme-terminal .crayon-pre .f {
170
  color: #639f00 !important;
171
  }
172
- .crayon-theme-terminal .crayon-pre .h {
173
  color: #ffffff !important;
174
  }
48
  color: #97cf32 !important;
49
  background: #2f5f00 !important;
50
  border-width: 1px !important;
51
+ border-color: #286900 !important;
52
  }
53
  .crayon-theme-terminal .crayon-marked-line.crayon-striped-line {
54
  background: #4a6500 !important;
92
  color: #87ca00 !important;
93
  }
94
  .crayon-theme-terminal .crayon-language {
95
+ color: #266400 !important;
96
+ background-color: #669900 !important;
97
  }
98
  .crayon-theme-terminal .crayon-button {
99
  background-color: #669900 !important;
118
  background-color: #4e7a00 !important;
119
  color: #FFF;
120
  }
121
+ .crayon-theme-terminal .crayon-pre .crayon-c {
122
  color: #ff9b00 !important;
123
  }
124
+ .crayon-theme-terminal .crayon-pre .crayon-s {
125
  color: #3ec700 !important;
126
  }
127
+ .crayon-theme-terminal .crayon-pre .crayon-p {
128
  color: #caaf00 !important;
129
  }
130
+ .crayon-theme-terminal .crayon-pre .crayon-ta {
131
  color: #ffdd00 !important;
132
  }
133
+ .crayon-theme-terminal .crayon-pre .crayon-k {
134
  color: #95e100 !important;
135
  }
136
+ .crayon-theme-terminal .crayon-pre .crayon-st {
137
  color: #95e100 !important;
138
  }
139
+ .crayon-theme-terminal .crayon-pre .crayon-r {
140
  color: #95e100 !important;
141
  }
142
+ .crayon-theme-terminal .crayon-pre .crayon-t {
143
  color: #95e100 !important;
144
  }
145
+ .crayon-theme-terminal .crayon-pre .crayon-m {
146
  color: #95e100 !important;
147
  }
148
+ .crayon-theme-terminal .crayon-pre .crayon-i {
149
  color: #ffffff !important;
150
  }
151
+ .crayon-theme-terminal .crayon-pre .crayon-e {
152
  color: #e7ff5e !important;
153
  }
154
+ .crayon-theme-terminal .crayon-pre .crayon-v {
155
  color: #ffffff !important;
156
  }
157
+ .crayon-theme-terminal .crayon-pre .crayon-cn {
158
  color: #e7ffb9 !important;
159
  }
160
+ .crayon-theme-terminal .crayon-pre .crayon-o {
161
  color: #95e100 !important;
162
  }
163
+ .crayon-theme-terminal .crayon-pre .crayon-sy {
164
  color: #c9c9c9 !important;
165
  }
166
+ .crayon-theme-terminal .crayon-pre .crayon-n {
167
  color: #d4ff8e !important;
168
  font-style: italic !important;
169
  }
170
+ .crayon-theme-terminal .crayon-pre .crayon-f {
171
  color: #639f00 !important;
172
  }
173
+ .crayon-theme-terminal .crayon-pre .crayon-h {
174
  color: #ffffff !important;
175
  }
themes/tomorrow-night/tomorrow-night.css CHANGED
@@ -114,58 +114,58 @@ URL: http://aramk.com/
114
  background-color: #bcbcbc !important;
115
  color: #FFF;
116
  }
117
- .crayon-theme-tomorrow-night .crayon-pre .c {
118
  color: #a7a8a2 !important;
119
  }
120
- .crayon-theme-tomorrow-night .crayon-pre .s {
121
  color: #b2af75 !important;
122
  }
123
- .crayon-theme-tomorrow-night .crayon-pre .p {
124
  color: #b85c00 !important;
125
  }
126
- .crayon-theme-tomorrow-night .crayon-pre .ta {
127
  color: #e79663 !important;
128
  }
129
- .crayon-theme-tomorrow-night .crayon-pre .k {
130
  color: #92afc1 !important;
131
  }
132
- .crayon-theme-tomorrow-night .crayon-pre .st {
133
  color: #92afc1 !important;
134
  }
135
- .crayon-theme-tomorrow-night .crayon-pre .r {
136
  color: #92afc1 !important;
137
  }
138
- .crayon-theme-tomorrow-night .crayon-pre .t {
139
  color: #bba7c5 !important;
140
  }
141
- .crayon-theme-tomorrow-night .crayon-pre .m {
142
  color: #bba7c5 !important;
143
  }
144
- .crayon-theme-tomorrow-night .crayon-pre .i {
145
  color: #c7c7c7 !important;
146
  }
147
- .crayon-theme-tomorrow-night .crayon-pre .e {
148
  color: #e8ce91 !important;
149
  }
150
- .crayon-theme-tomorrow-night .crayon-pre .v {
151
  color: #d87c7b !important;
152
  }
153
- .crayon-theme-tomorrow-night .crayon-pre .cn {
154
  color: #e7a37a !important;
155
  }
156
- .crayon-theme-tomorrow-night .crayon-pre .o {
157
  color: #99c9c4 !important;
158
  }
159
- .crayon-theme-tomorrow-night .crayon-pre .sy {
160
  color: #c9d2d1 !important;
161
  }
162
- .crayon-theme-tomorrow-night .crayon-pre .n {
163
  color: #666 !important;
164
  font-style: italic !important;
165
  }
166
- .crayon-theme-tomorrow-night .crayon-pre .f {
167
  color: #999 !important;
168
  }
169
- .crayon-theme-tomorrow-night .crayon-pre .h {
170
  color: #006fe0 !important;
171
  }
114
  background-color: #bcbcbc !important;
115
  color: #FFF;
116
  }
117
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-c {
118
  color: #a7a8a2 !important;
119
  }
120
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-s {
121
  color: #b2af75 !important;
122
  }
123
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-p {
124
  color: #b85c00 !important;
125
  }
126
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-ta {
127
  color: #e79663 !important;
128
  }
129
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-k {
130
  color: #92afc1 !important;
131
  }
132
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-st {
133
  color: #92afc1 !important;
134
  }
135
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-r {
136
  color: #92afc1 !important;
137
  }
138
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-t {
139
  color: #bba7c5 !important;
140
  }
141
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-m {
142
  color: #bba7c5 !important;
143
  }
144
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-i {
145
  color: #c7c7c7 !important;
146
  }
147
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-e {
148
  color: #e8ce91 !important;
149
  }
150
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-v {
151
  color: #d87c7b !important;
152
  }
153
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-cn {
154
  color: #e7a37a !important;
155
  }
156
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-o {
157
  color: #99c9c4 !important;
158
  }
159
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-sy {
160
  color: #c9d2d1 !important;
161
  }
162
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-n {
163
  color: #666 !important;
164
  font-style: italic !important;
165
  }
166
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-f {
167
  color: #999 !important;
168
  }
169
+ .crayon-theme-tomorrow-night .crayon-pre .crayon-h {
170
  color: #006fe0 !important;
171
  }
themes/tomorrow/tomorrow.css CHANGED
@@ -115,58 +115,58 @@ URL: http://aramk.com/
115
  background-color: #BCBCBC !important;
116
  color: #FFF;
117
  }
118
- .crayon-theme-tomorrow .crayon-pre .c {
119
  color: #a7a19e !important;
120
  }
121
- .crayon-theme-tomorrow .crayon-pre .s {
122
  color: #839a31 !important;
123
  }
124
- .crayon-theme-tomorrow .crayon-pre .p {
125
  color: #b85c00 !important;
126
  }
127
- .crayon-theme-tomorrow .crayon-pre .ta {
128
  color: #fa9844 !important;
129
  }
130
- .crayon-theme-tomorrow .crayon-pre .k {
131
  color: #6687b7 !important;
132
  }
133
- .crayon-theme-tomorrow .crayon-pre .st {
134
  color: #6687b7 !important;
135
  }
136
- .crayon-theme-tomorrow .crayon-pre .r {
137
  color: #6687b7 !important;
138
  }
139
- .crayon-theme-tomorrow .crayon-pre .t {
140
  color: #9d72b2 !important;
141
  }
142
- .crayon-theme-tomorrow .crayon-pre .m {
143
  color: #9d72b2 !important;
144
  }
145
- .crayon-theme-tomorrow .crayon-pre .i {
146
  color: #000 !important;
147
  }
148
- .crayon-theme-tomorrow .crayon-pre .e {
149
  color: #e3ae3a !important;
150
  }
151
- .crayon-theme-tomorrow .crayon-pre .v {
152
  color: #d73c3b !important;
153
  }
154
- .crayon-theme-tomorrow .crayon-pre .cn {
155
  color: #000000 !important;
156
  }
157
- .crayon-theme-tomorrow .crayon-pre .o {
158
  color: #48a9ae !important;
159
  }
160
- .crayon-theme-tomorrow .crayon-pre .sy {
161
  color: #0d0000 !important;
162
  }
163
- .crayon-theme-tomorrow .crayon-pre .n {
164
  color: #666 !important;
165
  font-style: italic !important;
166
  }
167
- .crayon-theme-tomorrow .crayon-pre .f {
168
  color: #999 !important;
169
  }
170
- .crayon-theme-tomorrow .crayon-pre .h {
171
  color: #006fe0 !important;
172
  }
115
  background-color: #BCBCBC !important;
116
  color: #FFF;
117
  }
118
+ .crayon-theme-tomorrow .crayon-pre .crayon-c {
119
  color: #a7a19e !important;
120
  }
121
+ .crayon-theme-tomorrow .crayon-pre .crayon-s {
122
  color: #839a31 !important;
123
  }
124
+ .crayon-theme-tomorrow .crayon-pre .crayon-p {
125
  color: #b85c00 !important;
126
  }
127
+ .crayon-theme-tomorrow .crayon-pre .crayon-ta {
128
  color: #fa9844 !important;
129
  }
130
+ .crayon-theme-tomorrow .crayon-pre .crayon-k {
131
  color: #6687b7 !important;
132
  }
133
+ .crayon-theme-tomorrow .crayon-pre .crayon-st {
134
  color: #6687b7 !important;
135
  }
136
+ .crayon-theme-tomorrow .crayon-pre .crayon-r {
137
  color: #6687b7 !important;
138
  }
139
+ .crayon-theme-tomorrow .crayon-pre .crayon-t {
140
  color: #9d72b2 !important;
141
  }
142
+ .crayon-theme-tomorrow .crayon-pre .crayon-m {
143
  color: #9d72b2 !important;
144
  }
145
+ .crayon-theme-tomorrow .crayon-pre .crayon-i {
146
  color: #000 !important;
147
  }
148
+ .crayon-theme-tomorrow .crayon-pre .crayon-e {
149
  color: #e3ae3a !important;
150
  }
151
+ .crayon-theme-tomorrow .crayon-pre .crayon-v {
152
  color: #d73c3b !important;
153
  }
154
+ .crayon-theme-tomorrow .crayon-pre .crayon-cn {
155
  color: #000000 !important;
156
  }
157
+ .crayon-theme-tomorrow .crayon-pre .crayon-o {
158
  color: #48a9ae !important;
159
  }
160
+ .crayon-theme-tomorrow .crayon-pre .crayon-sy {
161
  color: #0d0000 !important;
162
  }
163
+ .crayon-theme-tomorrow .crayon-pre .crayon-n {
164
  color: #666 !important;
165
  font-style: italic !important;
166
  }
167
+ .crayon-theme-tomorrow .crayon-pre .crayon-f {
168
  color: #999 !important;
169
  }
170
+ .crayon-theme-tomorrow .crayon-pre .crayon-h {
171
  color: #006fe0 !important;
172
  }
themes/twilight/twilight.css CHANGED
@@ -153,58 +153,58 @@ URL: http://aramk.com/
153
  background-color: #999 !important;
154
  color: #ccc;
155
  }
156
- .crayon-theme-twilight .crayon-pre .c {
157
  color: #7f7b80 !important;
158
  }
159
- .crayon-theme-twilight .crayon-pre .p {
160
  color: #a19ba2 !important;
161
  }
162
- .crayon-theme-twilight .crayon-pre .s {
163
  color: #a0ab83 !important;
164
  }
165
- .crayon-theme-twilight .crayon-pre .k {
166
  color: #d8b584 !important;
167
  }
168
- .crayon-theme-twilight .crayon-pre .st {
169
  color: #d8b584 !important;
170
  }
171
- .crayon-theme-twilight .crayon-pre .r {
172
  color: #d8b584 !important;
173
  }
174
- .crayon-theme-twilight .crayon-pre .t {
175
  color: #d8b584 !important;
176
  }
177
- .crayon-theme-twilight .crayon-pre .m {
178
  color: #d8b584 !important;
179
  }
180
- .crayon-theme-twilight .crayon-pre .ta {
181
  color: #AAA !important;
182
  }
183
- .crayon-theme-twilight .crayon-pre .i {
184
  color: #fbefb1 !important;
185
  }
186
- .crayon-theme-twilight .crayon-pre .v {
187
  color: #879ab2 !important;
188
  }
189
- .crayon-theme-twilight .crayon-pre .e {
190
  color: #ad8258 !important;
191
  }
192
- .crayon-theme-twilight .crayon-pre .cn {
193
  color: #db7e64 !important;
194
  }
195
- .crayon-theme-twilight .crayon-pre .o {
196
  color: #ac99ab !important;
197
  }
198
- .crayon-theme-twilight .crayon-pre .h {
199
  color: #ac99ab !important;
200
  }
201
- .crayon-theme-twilight .crayon-pre .sy {
202
  color: #ac99ab !important;
203
  }
204
- .crayon-theme-twilight .crayon-pre .n {
205
  color: #726e73 !important;
206
  font-style: italic !important;
207
  }
208
- .crayon-theme-twilight .crayon-pre .f {
209
  color: #595959 !important;
210
  }
153
  background-color: #999 !important;
154
  color: #ccc;
155
  }
156
+ .crayon-theme-twilight .crayon-pre .crayon-c {
157
  color: #7f7b80 !important;
158
  }
159
+ .crayon-theme-twilight .crayon-pre .crayon-p {
160
  color: #a19ba2 !important;
161
  }
162
+ .crayon-theme-twilight .crayon-pre .crayon-s {
163
  color: #a0ab83 !important;
164
  }
165
+ .crayon-theme-twilight .crayon-pre .crayon-k {
166
  color: #d8b584 !important;
167
  }
168
+ .crayon-theme-twilight .crayon-pre .crayon-st {
169
  color: #d8b584 !important;
170
  }
171
+ .crayon-theme-twilight .crayon-pre .crayon-r {
172
  color: #d8b584 !important;
173
  }
174
+ .crayon-theme-twilight .crayon-pre .crayon-t {
175
  color: #d8b584 !important;
176
  }
177
+ .crayon-theme-twilight .crayon-pre .crayon-m {
178
  color: #d8b584 !important;
179
  }
180
+ .crayon-theme-twilight .crayon-pre .crayon-ta {
181
  color: #AAA !important;
182
  }
183
+ .crayon-theme-twilight .crayon-pre .crayon-i {
184
  color: #fbefb1 !important;
185
  }
186
+ .crayon-theme-twilight .crayon-pre .crayon-v {
187
  color: #879ab2 !important;
188
  }
189
+ .crayon-theme-twilight .crayon-pre .crayon-e {
190
  color: #ad8258 !important;
191
  }
192
+ .crayon-theme-twilight .crayon-pre .crayon-cn {
193
  color: #db7e64 !important;
194
  }
195
+ .crayon-theme-twilight .crayon-pre .crayon-o {
196
  color: #ac99ab !important;
197
  }
198
+ .crayon-theme-twilight .crayon-pre .crayon-h {
199
  color: #ac99ab !important;
200
  }
201
+ .crayon-theme-twilight .crayon-pre .crayon-sy {
202
  color: #ac99ab !important;
203
  }
204
+ .crayon-theme-twilight .crayon-pre .crayon-n {
205
  color: #726e73 !important;
206
  font-style: italic !important;
207
  }
208
+ .crayon-theme-twilight .crayon-pre .crayon-f {
209
  color: #595959 !important;
210
  }
themes/vs2012-black/vs2012-black.css CHANGED
@@ -114,58 +114,58 @@ Url: http://nikolayzahariev.com/
114
  background-color: #BCBCBC !important;
115
  color: #FFF;
116
  }
117
- .crayon-theme-vs2012-black .crayon-pre .c {
118
  color: #458b45 !important;
119
  }
120
- .crayon-theme-vs2012-black .crayon-pre .s {
121
  color: #b78686 !important;
122
  }
123
- .crayon-theme-vs2012-black .crayon-pre .p {
124
  color: #7f7c79 !important;
125
  }
126
- .crayon-theme-vs2012-black .crayon-pre .ta {
127
  color: #FF0000 !important;
128
  }
129
- .crayon-theme-vs2012-black .crayon-pre .k {
130
  color: #94ccfd !important;
131
  }
132
- .crayon-theme-vs2012-black .crayon-pre .st {
133
  color: #94ccfd !important;
134
  }
135
- .crayon-theme-vs2012-black .crayon-pre .r {
136
  color: #94ccfd !important;
137
  }
138
- .crayon-theme-vs2012-black .crayon-pre .t {
139
  color: #94ccfd !important;
140
  }
141
- .crayon-theme-vs2012-black .crayon-pre .m {
142
  color: #94ccfd !important;
143
  }
144
- .crayon-theme-vs2012-black .crayon-pre .i {
145
  color: #6bdacc !important;
146
  }
147
- .crayon-theme-vs2012-black .crayon-pre .e {
148
  color: #ffffff !important;
149
  }
150
- .crayon-theme-vs2012-black .crayon-pre .v {
151
  color: #e3e8ea !important;
152
  }
153
- .crayon-theme-vs2012-black .crayon-pre .cn {
154
  color: #ffffff !important;
155
  }
156
- .crayon-theme-vs2012-black .crayon-pre .o {
157
  color: #ffffff !important;
158
  }
159
- .crayon-theme-vs2012-black .crayon-pre .sy {
160
  color: #ffffff !important;
161
  }
162
- .crayon-theme-vs2012-black .crayon-pre .n {
163
  color: #666 !important;
164
  font-style: italic !important;
165
  }
166
- .crayon-theme-vs2012-black .crayon-pre .f {
167
  color: #ffffff !important;
168
  }
169
- .crayon-theme-vs2012-black .crayon-pre .h {
170
  color: #006fe0 !important;
171
  }
114
  background-color: #BCBCBC !important;
115
  color: #FFF;
116
  }
117
+ .crayon-theme-vs2012-black .crayon-pre .crayon-c {
118
  color: #458b45 !important;
119
  }
120
+ .crayon-theme-vs2012-black .crayon-pre .crayon-s {
121
  color: #b78686 !important;
122
  }
123
+ .crayon-theme-vs2012-black .crayon-pre .crayon-p {
124
  color: #7f7c79 !important;
125
  }
126
+ .crayon-theme-vs2012-black .crayon-pre .crayon-ta {
127
  color: #FF0000 !important;
128
  }
129
+ .crayon-theme-vs2012-black .crayon-pre .crayon-k {
130
  color: #94ccfd !important;
131
  }
132
+ .crayon-theme-vs2012-black .crayon-pre .crayon-st {
133
  color: #94ccfd !important;
134
  }
135
+ .crayon-theme-vs2012-black .crayon-pre .crayon-r {
136
  color: #94ccfd !important;
137
  }
138
+ .crayon-theme-vs2012-black .crayon-pre .crayon-t {
139
  color: #94ccfd !important;
140
  }
141
+ .crayon-theme-vs2012-black .crayon-pre .crayon-m {
142
  color: #94ccfd !important;
143
  }
144
+ .crayon-theme-vs2012-black .crayon-pre .crayon-i {
145
  color: #6bdacc !important;
146
  }
147
+ .crayon-theme-vs2012-black .crayon-pre .crayon-e {
148
  color: #ffffff !important;
149
  }
150
+ .crayon-theme-vs2012-black .crayon-pre .crayon-v {
151
  color: #e3e8ea !important;
152
  }
153
+ .crayon-theme-vs2012-black .crayon-pre .crayon-cn {
154
  color: #ffffff !important;
155
  }
156
+ .crayon-theme-vs2012-black .crayon-pre .crayon-o {
157
  color: #ffffff !important;
158
  }
159
+ .crayon-theme-vs2012-black .crayon-pre .crayon-sy {
160
  color: #ffffff !important;
161
  }
162
+ .crayon-theme-vs2012-black .crayon-pre .crayon-n {
163
  color: #666 !important;
164
  font-style: italic !important;
165
  }
166
+ .crayon-theme-vs2012-black .crayon-pre .crayon-f {
167
  color: #ffffff !important;
168
  }
169
+ .crayon-theme-vs2012-black .crayon-pre .crayon-h {
170
  color: #006fe0 !important;
171
  }
themes/vs2012/vs2012.css CHANGED
@@ -114,58 +114,58 @@ Url: http://nikolayzahariev.com/
114
  background-color: #BCBCBC !important;
115
  color: #FFF;
116
  }
117
- .crayon-theme-vs2012 .crayon-pre .c {
118
  color: #008000 !important;
119
  }
120
- .crayon-theme-vs2012 .crayon-pre .s {
121
  color: #6e1717 !important;
122
  }
123
- .crayon-theme-vs2012 .crayon-pre .p {
124
  color: #b85c00 !important;
125
  }
126
- .crayon-theme-vs2012 .crayon-pre .ta {
127
  color: #FF0000 !important;
128
  }
129
- .crayon-theme-vs2012 .crayon-pre .k {
130
  color: #3215eb !important;
131
  }
132
- .crayon-theme-vs2012 .crayon-pre .st {
133
  color: #3215eb !important;
134
  }
135
- .crayon-theme-vs2012 .crayon-pre .r {
136
  color: #3215eb !important;
137
  }
138
- .crayon-theme-vs2012 .crayon-pre .t {
139
  color: #3215eb !important;
140
  }
141
- .crayon-theme-vs2012 .crayon-pre .m {
142
  color: #3215eb !important;
143
  }
144
- .crayon-theme-vs2012 .crayon-pre .i {
145
  color: #15a6eb !important;
146
  }
147
- .crayon-theme-vs2012 .crayon-pre .e {
148
  color: #000000 !important;
149
  }
150
- .crayon-theme-vs2012 .crayon-pre .v {
151
  color: #002D7A !important;
152
  }
153
- .crayon-theme-vs2012 .crayon-pre .cn {
154
  color: #000000 !important;
155
  }
156
- .crayon-theme-vs2012 .crayon-pre .o {
157
  color: #006fe0 !important;
158
  }
159
- .crayon-theme-vs2012 .crayon-pre .sy {
160
  color: #333 !important;
161
  }
162
- .crayon-theme-vs2012 .crayon-pre .n {
163
  color: #666 !important;
164
  font-style: italic !important;
165
  }
166
- .crayon-theme-vs2012 .crayon-pre .f {
167
  color: #ffffff !important;
168
  }
169
- .crayon-theme-vs2012 .crayon-pre .h {
170
  color: #006fe0 !important;
171
  }
114
  background-color: #BCBCBC !important;
115
  color: #FFF;
116
  }
117
+ .crayon-theme-vs2012 .crayon-pre .crayon-c {
118
  color: #008000 !important;
119
  }
120
+ .crayon-theme-vs2012 .crayon-pre .crayon-s {
121
  color: #6e1717 !important;
122
  }
123
+ .crayon-theme-vs2012 .crayon-pre .crayon-p {
124
  color: #b85c00 !important;
125
  }
126
+ .crayon-theme-vs2012 .crayon-pre .crayon-ta {
127
  color: #FF0000 !important;
128
  }
129
+ .crayon-theme-vs2012 .crayon-pre .crayon-k {
130
  color: #3215eb !important;
131
  }
132
+ .crayon-theme-vs2012 .crayon-pre .crayon-st {
133
  color: #3215eb !important;
134
  }
135
+ .crayon-theme-vs2012 .crayon-pre .crayon-r {
136
  color: #3215eb !important;
137
  }
138
+ .crayon-theme-vs2012 .crayon-pre .crayon-t {
139
  color: #3215eb !important;
140
  }
141
+ .crayon-theme-vs2012 .crayon-pre .crayon-m {
142
  color: #3215eb !important;
143
  }
144
+ .crayon-theme-vs2012 .crayon-pre .crayon-i {
145
  color: #15a6eb !important;
146
  }
147
+ .crayon-theme-vs2012 .crayon-pre .crayon-e {
148
  color: #000000 !important;
149
  }
150
+ .crayon-theme-vs2012 .crayon-pre .crayon-v {
151
  color: #002D7A !important;
152
  }
153
+ .crayon-theme-vs2012 .crayon-pre .crayon-cn {
154
  color: #000000 !important;
155
  }
156
+ .crayon-theme-vs2012 .crayon-pre .crayon-o {
157
  color: #006fe0 !important;
158
  }
159
+ .crayon-theme-vs2012 .crayon-pre .crayon-sy {
160
  color: #333 !important;
161
  }
162
+ .crayon-theme-vs2012 .crayon-pre .crayon-n {
163
  color: #666 !important;
164
  font-style: italic !important;
165
  }
166
+ .crayon-theme-vs2012 .crayon-pre .crayon-f {
167
  color: #ffffff !important;
168
  }
169
+ .crayon-theme-vs2012 .crayon-pre .crayon-h {
170
  color: #006fe0 !important;
171
  }
trans/crayon-syntax-highlighter-ar_AR.mo ADDED
Binary file
trans/crayon-syntax-highlighter-ar_AR.po ADDED
@@ -0,0 +1,1269 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: crayon-syntax-highlighter\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-05-23 23:09+1000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "Language: fr_FR\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;"
17
+ "crayon__;crayon_n;crayon_e\n"
18
+ "X-Poedit-Basepath: .\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "X-Generator: Poedit 1.5.4\n"
21
+ "X-Poedit-SearchPath-0: .\n"
22
+ "X-Poedit-SearchPath-1: ..\n"
23
+
24
+ # @ crayon-syntax-highlighter
25
+ #: ../crayon_formatter.class.php:286
26
+ msgid "Toggle Line Numbers"
27
+ msgstr "أظهر/أخف أرقام الأسطر"
28
+
29
+ # @ crayon-syntax-highlighter
30
+ #: ../crayon_formatter.class.php:290
31
+ msgid "Toggle Plain Code"
32
+ msgstr "الذهاب إلى كامل الكود"
33
+
34
+ # @ crayon-syntax-highlighter
35
+ #: ../crayon_formatter.class.php:294
36
+ msgid "Toggle Line Wrap"
37
+ msgstr "أظهر/ أخف الأسطر"
38
+
39
+ # @ crayon-syntax-highlighter
40
+ #: ../crayon_formatter.class.php:298 ../crayon_formatter.class.php:302
41
+ #, fuzzy
42
+ msgid "Expand Code"
43
+ msgstr "إنسخ كامل الكود"
44
+
45
+ # @ crayon-syntax-highlighter
46
+ #: ../crayon_formatter.class.php:306
47
+ msgid "Open Code In New Window"
48
+ msgstr "إفتح الكود في نافذة جديدة"
49
+
50
+ # @ crayon-syntax-highlighter
51
+ #: ../crayon_formatter.class.php:333
52
+ msgid "Contains Mixed Languages"
53
+ msgstr "يحتوى على لغات مدمجة فيما بينها"
54
+
55
+ # @ crayon-syntax-highlighter
56
+ #: ../crayon_settings.class.php:150
57
+ msgid "Hourly"
58
+ msgstr "ساعيا"
59
+
60
+ # @ crayon-syntax-highlighter
61
+ #: ../crayon_settings.class.php:150
62
+ msgid "Daily"
63
+ msgstr "يوميا"
64
+
65
+ # @ crayon-syntax-highlighter
66
+ #: ../crayon_settings.class.php:151
67
+ msgid "Weekly"
68
+ msgstr "أسبوعيا"
69
+
70
+ # @ crayon-syntax-highlighter
71
+ #: ../crayon_settings.class.php:151
72
+ msgid "Monthly"
73
+ msgstr "شهريا"
74
+
75
+ # @ crayon-syntax-highlighter
76
+ #: ../crayon_settings.class.php:152
77
+ msgid "Immediately"
78
+ msgstr "حاﻻ"
79
+
80
+ # @ crayon-syntax-highlighter
81
+ #: ../crayon_settings.class.php:163 ../crayon_settings.class.php:167
82
+ msgid "Max"
83
+ msgstr "أكبر"
84
+
85
+ # @ crayon-syntax-highlighter
86
+ #: ../crayon_settings.class.php:163 ../crayon_settings.class.php:167
87
+ msgid "Min"
88
+ msgstr "أقل"
89
+
90
+ # @ crayon-syntax-highlighter
91
+ #: ../crayon_settings.class.php:163 ../crayon_settings.class.php:167
92
+ msgid "Static"
93
+ msgstr "ثابتة"
94
+
95
+ # @ crayon-syntax-highlighter
96
+ #: ../crayon_settings.class.php:165 ../crayon_settings.class.php:169
97
+ #: ../crayon_settings_wp.class.php:774 ../crayon_settings_wp.class.php:783
98
+ #: ../crayon_settings_wp.class.php:1059 ../crayon_settings_wp.class.php:1061
99
+ msgid "Pixels"
100
+ msgstr "بيكسل"
101
+
102
+ # @ crayon-syntax-highlighter
103
+ #: ../crayon_settings.class.php:165 ../crayon_settings.class.php:169
104
+ msgid "Percent"
105
+ msgstr "بالمئة"
106
+
107
+ # @ crayon-syntax-highlighter
108
+ #: ../crayon_settings.class.php:178
109
+ msgid "None"
110
+ msgstr "بدون"
111
+
112
+ # @ crayon-syntax-highlighter
113
+ #: ../crayon_settings.class.php:178
114
+ msgid "Left"
115
+ msgstr "يسار"
116
+
117
+ # @ crayon-syntax-highlighter
118
+ #: ../crayon_settings.class.php:178
119
+ msgid "Center"
120
+ msgstr "توسيط"
121
+
122
+ # @ crayon-syntax-highlighter
123
+ #: ../crayon_settings.class.php:178
124
+ msgid "Right"
125
+ msgstr "يمين"
126
+
127
+ # @ crayon-syntax-highlighter
128
+ #: ../crayon_settings.class.php:180 ../crayon_settings.class.php:204
129
+ msgid "On MouseOver"
130
+ msgstr "عند تمرير الفأرة"
131
+
132
+ # @ crayon-syntax-highlighter
133
+ #: ../crayon_settings.class.php:180 ../crayon_settings.class.php:186
134
+ msgid "Always"
135
+ msgstr "دائما"
136
+
137
+ # @ crayon-syntax-highlighter
138
+ #: ../crayon_settings.class.php:180 ../crayon_settings.class.php:186
139
+ msgid "Never"
140
+ msgstr "أبدا"
141
+
142
+ # @ crayon-syntax-highlighter
143
+ #: ../crayon_settings.class.php:186
144
+ msgid "When Found"
145
+ msgstr "إذا استكشفت"
146
+
147
+ # @ crayon-syntax-highlighter
148
+ #: ../crayon_settings.class.php:204
149
+ msgid "On Double Click"
150
+ msgstr "عند النقر المزدوج"
151
+
152
+ # @ crayon-syntax-highlighter
153
+ #: ../crayon_settings.class.php:204
154
+ msgid "On Single Click"
155
+ msgstr "عند النقر مرة واحدة"
156
+
157
+ # @ crayon-syntax-highlighter
158
+ #: ../crayon_settings.class.php:204
159
+ msgid "Disable Mouse Events"
160
+ msgstr "تعطيل أفعال الفأرة"
161
+
162
+ # @ crayon-syntax-highlighter
163
+ #: ../crayon_settings.class.php:211
164
+ msgid "An error has occurred. Please try again later."
165
+ msgstr "لقد حدث خطأ . الرجاء اعادة المحاولة ﻻحقا."
166
+
167
+ # @ crayon-syntax-highlighter
168
+ #: ../crayon_settings.class.php:227
169
+ #, fuzzy
170
+ msgid "Inline Tag"
171
+ msgstr "الهامش بين الاسطر"
172
+
173
+ #: ../crayon_settings.class.php:227
174
+ msgid "Block Tag"
175
+ msgstr ""
176
+
177
+ # @ crayon-syntax-highlighter
178
+ #: ../crayon_settings_wp.class.php:53 ../crayon_settings_wp.class.php:210
179
+ #: ../crayon_settings_wp.class.php:1255
180
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:254
181
+ msgid "Settings"
182
+ msgstr "إعدادات"
183
+
184
+ # @ crayon-syntax-highlighter
185
+ #: ../crayon_settings_wp.class.php:136
186
+ #, php-format
187
+ msgid "Press %s to Copy, %s to Paste"
188
+ msgstr "قم ب %s للنسخ, %s للصق"
189
+
190
+ #: ../crayon_settings_wp.class.php:137
191
+ msgid "Click To Expand Code"
192
+ msgstr ""
193
+
194
+ #: ../crayon_settings_wp.class.php:179
195
+ msgid "Prompt"
196
+ msgstr ""
197
+
198
+ #: ../crayon_settings_wp.class.php:180
199
+ msgid "Value"
200
+ msgstr ""
201
+
202
+ #: ../crayon_settings_wp.class.php:181
203
+ msgid "Alert"
204
+ msgstr ""
205
+
206
+ # @ crayon-syntax-highlighter
207
+ #: ../crayon_settings_wp.class.php:182 ../crayon_settings_wp.class.php:920
208
+ msgid "No"
209
+ msgstr "لا"
210
+
211
+ #: ../crayon_settings_wp.class.php:183 ../crayon_settings_wp.class.php:920
212
+ msgid "Yes"
213
+ msgstr "نعم"
214
+
215
+ #: ../crayon_settings_wp.class.php:184
216
+ msgid "Confirm"
217
+ msgstr ""
218
+
219
+ # @ crayon-syntax-highlighter
220
+ #: ../crayon_settings_wp.class.php:185
221
+ #, fuzzy
222
+ msgid "Change Code"
223
+ msgstr "إنسخ كامل الكود"
224
+
225
+ # @ crayon-syntax-highlighter
226
+ #: ../crayon_settings_wp.class.php:193
227
+ msgid "You do not have sufficient permissions to access this page."
228
+ msgstr "ليس لديك تصاريح كافية لدخول هذه الصفحة"
229
+
230
+ # @ crayon-syntax-highlighter
231
+ #: ../crayon_settings_wp.class.php:225
232
+ msgid "Save Changes"
233
+ msgstr "حفظ التغييرات"
234
+
235
+ # @ crayon-syntax-highlighter
236
+ #: ../crayon_settings_wp.class.php:233
237
+ msgid "Reset Settings"
238
+ msgstr "إعادة تعيين الاعدادات"
239
+
240
+ # @ crayon-syntax-highlighter
241
+ #: ../crayon_settings_wp.class.php:491
242
+ msgid "General"
243
+ msgstr "عام"
244
+
245
+ # @ crayon-syntax-highlighter
246
+ #: ../crayon_settings_wp.class.php:492
247
+ msgid "Theme"
248
+ msgstr "الشكل"
249
+
250
+ # @ crayon-syntax-highlighter
251
+ #: ../crayon_settings_wp.class.php:493
252
+ msgid "Font"
253
+ msgstr "الخط"
254
+
255
+ # @ crayon-syntax-highlighter
256
+ #: ../crayon_settings_wp.class.php:494
257
+ msgid "Metrics"
258
+ msgstr "الأبعاد"
259
+
260
+ # @ crayon-syntax-highlighter
261
+ #: ../crayon_settings_wp.class.php:495
262
+ #: ../util/theme-editor/theme_editor.php:299
263
+ msgid "Toolbar"
264
+ msgstr "شريط الأدوات"
265
+
266
+ # @ crayon-syntax-highlighter
267
+ #: ../crayon_settings_wp.class.php:496
268
+ #: ../util/theme-editor/theme_editor.php:297
269
+ msgid "Lines"
270
+ msgstr "سطر"
271
+
272
+ # @ crayon-syntax-highlighter
273
+ #: ../crayon_settings_wp.class.php:497
274
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:214
275
+ msgid "Code"
276
+ msgstr "كود"
277
+
278
+ # @ crayon-syntax-highlighter
279
+ #: ../crayon_settings_wp.class.php:498
280
+ msgid "Tags"
281
+ msgstr "أوسمة"
282
+
283
+ # @ crayon-syntax-highlighter
284
+ #: ../crayon_settings_wp.class.php:499
285
+ msgid "Languages"
286
+ msgstr "لغات"
287
+
288
+ # @ crayon-syntax-highlighter
289
+ #: ../crayon_settings_wp.class.php:500
290
+ msgid "Files"
291
+ msgstr "ملفات"
292
+
293
+ #: ../crayon_settings_wp.class.php:501
294
+ msgid "Posts"
295
+ msgstr "تدوينات"
296
+
297
+ # @ crayon-syntax-highlighter
298
+ #: ../crayon_settings_wp.class.php:502
299
+ msgid "Tag Editor"
300
+ msgstr "محرر الأوسمة"
301
+
302
+ # @ crayon-syntax-highlighter
303
+ #: ../crayon_settings_wp.class.php:503
304
+ msgid "Misc"
305
+ msgstr "متفرقات"
306
+
307
+ # @ crayon-syntax-highlighter
308
+ #: ../crayon_settings_wp.class.php:506
309
+ msgid "Debug"
310
+ msgstr "تصحيح"
311
+
312
+ # @ crayon-syntax-highlighter
313
+ #: ../crayon_settings_wp.class.php:507
314
+ msgid "Errors"
315
+ msgstr "أخطاء"
316
+
317
+ # @ crayon-syntax-highlighter
318
+ #: ../crayon_settings_wp.class.php:508
319
+ msgid "Log"
320
+ msgstr "سجل"
321
+
322
+ # @ crayon-syntax-highlighter
323
+ #: ../crayon_settings_wp.class.php:511
324
+ msgid "About"
325
+ msgstr "حول"
326
+
327
+ # @ crayon-syntax-highlighter
328
+ #: ../crayon_settings_wp.class.php:751
329
+ msgid "Height"
330
+ msgstr "الارتفاع"
331
+
332
+ # @ crayon-syntax-highlighter
333
+ #: ../crayon_settings_wp.class.php:757
334
+ msgid "Width"
335
+ msgstr "الطول"
336
+
337
+ # @ crayon-syntax-highlighter
338
+ #: ../crayon_settings_wp.class.php:763
339
+ msgid "Top Margin"
340
+ msgstr "الهامش العلوي"
341
+
342
+ # @ crayon-syntax-highlighter
343
+ #: ../crayon_settings_wp.class.php:764
344
+ msgid "Bottom Margin"
345
+ msgstr "الهامش السفلي"
346
+
347
+ # @ crayon-syntax-highlighter
348
+ #: ../crayon_settings_wp.class.php:765 ../crayon_settings_wp.class.php:770
349
+ msgid "Left Margin"
350
+ msgstr "هامش اليسار"
351
+
352
+ # @ crayon-syntax-highlighter
353
+ #: ../crayon_settings_wp.class.php:766 ../crayon_settings_wp.class.php:770
354
+ msgid "Right Margin"
355
+ msgstr "هامش اليمين"
356
+
357
+ # @ crayon-syntax-highlighter
358
+ #: ../crayon_settings_wp.class.php:776
359
+ msgid "Horizontal Alignment"
360
+ msgstr "المحاذاة الأفقية"
361
+
362
+ # @ crayon-syntax-highlighter
363
+ #: ../crayon_settings_wp.class.php:779
364
+ msgid "Allow floating elements to surround Crayon"
365
+ msgstr "السماح لعناصر العائمة لتطويق ملون الكود"
366
+
367
+ # @ crayon-syntax-highlighter
368
+ #: ../crayon_settings_wp.class.php:781
369
+ msgid "Inline Margin"
370
+ msgstr "الهامش بين الاسطر"
371
+
372
+ # @ crayon-syntax-highlighter
373
+ #: ../crayon_settings_wp.class.php:789
374
+ msgid "Display the Toolbar"
375
+ msgstr "إظهار شريط الأدوات"
376
+
377
+ # @ crayon-syntax-highlighter
378
+ #: ../crayon_settings_wp.class.php:792
379
+ msgid "Overlay the toolbar on code rather than push it down when possible"
380
+ msgstr "ركب شريط الأدوات فوق الكود بدلا من دفعه نحو الأسفل إن كان ذلك ممكنا"
381
+
382
+ # @ crayon-syntax-highlighter
383
+ #: ../crayon_settings_wp.class.php:793
384
+ msgid "Toggle the toolbar on single click when it is overlayed"
385
+ msgstr "أظهر شريط الأدوات عند النقر مرة واحدةحينما يكون مركبا"
386
+
387
+ # @ crayon-syntax-highlighter
388
+ #: ../crayon_settings_wp.class.php:794
389
+ msgid "Delay hiding the toolbar on MouseOut"
390
+ msgstr "أخر اخفاء شريط الأدوات عندما تكون الفأرة فوقه"
391
+
392
+ # @ crayon-syntax-highlighter
393
+ #: ../crayon_settings_wp.class.php:796
394
+ msgid "Display the title when provided"
395
+ msgstr "أظهر العنوان اذا وجد"
396
+
397
+ # @ crayon-syntax-highlighter
398
+ #: ../crayon_settings_wp.class.php:797
399
+ msgid "Display the language"
400
+ msgstr "أظهر اللغة"
401
+
402
+ # @ crayon-syntax-highlighter
403
+ #: ../crayon_settings_wp.class.php:804
404
+ msgid "Display striped code lines"
405
+ msgstr "أظهر تلوين الأسطر"
406
+
407
+ # @ crayon-syntax-highlighter
408
+ #: ../crayon_settings_wp.class.php:805
409
+ msgid "Enable line marking for important lines"
410
+ msgstr "تفعيل تحديد الأسطر المهمة"
411
+
412
+ #: ../crayon_settings_wp.class.php:806
413
+ msgid "Enable line ranges for showing only parts of code"
414
+ msgstr "تفعيل نطاق الأسطر لإظهار جزء من الكود فقط"
415
+
416
+ # @ crayon-syntax-highlighter
417
+ #: ../crayon_settings_wp.class.php:807
418
+ msgid "Display line numbers by default"
419
+ msgstr "عرض أرقام الأسطر افتراضيا"
420
+
421
+ # @ crayon-syntax-highlighter
422
+ #: ../crayon_settings_wp.class.php:808
423
+ msgid "Enable line number toggling"
424
+ msgstr "تفعيل عرض أرقام الأسطر"
425
+
426
+ # @ crayon-syntax-highlighter
427
+ #: ../crayon_settings_wp.class.php:809
428
+ msgid "Wrap lines by default"
429
+ msgstr "عرض أرقام الأسطر الافتراضية"
430
+
431
+ # @ crayon-syntax-highlighter
432
+ #: ../crayon_settings_wp.class.php:810
433
+ msgid "Enable line wrap toggling"
434
+ msgstr "تفعيل عرض أرقام الأسطر"
435
+
436
+ # @ crayon-syntax-highlighter
437
+ #: ../crayon_settings_wp.class.php:811
438
+ msgid "Start line numbers from"
439
+ msgstr "إبدأ ترقيم الأسطر بـــ "
440
+
441
+ # @ crayon-syntax-highlighter
442
+ #: ../crayon_settings_wp.class.php:822
443
+ msgid "When no language is provided, use the fallback"
444
+ msgstr "إذا لم تهتر اللغة ،، استخدم الافتراضية"
445
+
446
+ # @ crayon-syntax-highlighter
447
+ #: ../crayon_settings_wp.class.php:828
448
+ #, php-format
449
+ msgid "%d language has been detected."
450
+ msgstr "تم ايجاد %d لغة"
451
+
452
+ # @ crayon-syntax-highlighter
453
+ #: ../crayon_settings_wp.class.php:829
454
+ msgid "Parsing was successful"
455
+ msgstr "تم التحويل بنجاح"
456
+
457
+ # @ crayon-syntax-highlighter
458
+ #: ../crayon_settings_wp.class.php:829
459
+ msgid "Parsing was unsuccessful"
460
+ msgstr "خطأ في التحويل "
461
+
462
+ # @ crayon-syntax-highlighter
463
+ #: ../crayon_settings_wp.class.php:835
464
+ #, php-format
465
+ msgid "The selected language with id %s could not be loaded"
466
+ msgstr " (%s) ﻻ نستطيع تحديد اللغة المختارة بـالرقم "
467
+
468
+ # @ crayon-syntax-highlighter
469
+ #: ../crayon_settings_wp.class.php:838
470
+ msgid "Show Languages"
471
+ msgstr "مشاهدة اللغات"
472
+
473
+ #: ../crayon_settings_wp.class.php:874
474
+ msgid "Show Crayon Posts"
475
+ msgstr "مشاهدة تدوينات المستعملة للاضافة"
476
+
477
+ #: ../crayon_settings_wp.class.php:875
478
+ msgid "Refresh"
479
+ msgstr "تحديث"
480
+
481
+ #: ../crayon_settings_wp.class.php:900
482
+ msgid "ID"
483
+ msgstr "الرقم"
484
+
485
+ # @ crayon-syntax-highlighter
486
+ #: ../crayon_settings_wp.class.php:900
487
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:191
488
+ #: ../util/theme-editor/theme_editor.php:314
489
+ msgid "Title"
490
+ msgstr "عنوان"
491
+
492
+ #: ../crayon_settings_wp.class.php:900
493
+ msgid "Posted"
494
+ msgstr "كتب في"
495
+
496
+ #: ../crayon_settings_wp.class.php:900
497
+ msgid "Modifed"
498
+ msgstr "حرر في"
499
+
500
+ # @ crayon-syntax-highlighter
501
+ #: ../crayon_settings_wp.class.php:900
502
+ msgid "Contains Legacy Tags?"
503
+ msgstr "يحتوي على الأوسمة؟"
504
+
505
+ #: ../crayon_settings_wp.class.php:1015
506
+ msgid "Edit"
507
+ msgstr "حرر"
508
+
509
+ #: ../crayon_settings_wp.class.php:1015
510
+ #: ../util/theme-editor/theme_editor.php:199
511
+ msgid "Duplicate"
512
+ msgstr "انسخ"
513
+
514
+ #: ../crayon_settings_wp.class.php:1015
515
+ msgid "Submit"
516
+ msgstr ""
517
+
518
+ #: ../crayon_settings_wp.class.php:1016
519
+ #: ../util/theme-editor/theme_editor.php:196
520
+ msgid "Delete"
521
+ msgstr "احذف"
522
+
523
+ # @ crayon-syntax-highlighter
524
+ #: ../crayon_settings_wp.class.php:1018
525
+ msgid "Loading..."
526
+ msgstr " جاري التحميل ..."
527
+
528
+ #: ../crayon_settings_wp.class.php:1020
529
+ msgid "Duplicate a Stock Theme into a User Theme to allow editing."
530
+ msgstr ""
531
+
532
+ # @ crayon-syntax-highlighter
533
+ #: ../crayon_settings_wp.class.php:1031
534
+ #, fuzzy, php-format
535
+ msgid ""
536
+ "Change the %1$sfallback language%2$s to change the sample code or %3$schange "
537
+ "it manually%4$s. Lines 5-7 are marked."
538
+ msgstr ""
539
+ "غير الـ %1$s اللغة الاحتياطية %2$s لتغيير كود المثال.تم تعليم الأسطر 5-7 "
540
+
541
+ # @ crayon-syntax-highlighter
542
+ #: ../crayon_settings_wp.class.php:1038
543
+ msgid "Enable Live Preview"
544
+ msgstr "المشاهدة المباشرة"
545
+
546
+ # @ crayon-syntax-highlighter
547
+ #: ../crayon_settings_wp.class.php:1040
548
+ msgid "Enqueue themes in the header (more efficient)."
549
+ msgstr "تحميل اعدادات الاضافة في التروسية -أكثر فعالية "
550
+
551
+ # @ crayon-syntax-highlighter
552
+ #: ../crayon_settings_wp.class.php:1043
553
+ #, php-format
554
+ msgid "The selected theme with id %s could not be loaded"
555
+ msgstr " %s ﻻ نستطيع تحميل الشكل المحدد بالرقم "
556
+
557
+ #: ../crayon_settings_wp.class.php:1055
558
+ msgid "Add More"
559
+ msgstr ""
560
+
561
+ # @ crayon-syntax-highlighter
562
+ #: ../crayon_settings_wp.class.php:1057
563
+ msgid "Custom Font Size"
564
+ msgstr "تخصيص حجم الخط"
565
+
566
+ # @ crayon-syntax-highlighter
567
+ #: ../crayon_settings_wp.class.php:1059
568
+ #, fuzzy
569
+ msgid "Line Height"
570
+ msgstr "الارتفاع"
571
+
572
+ # @ crayon-syntax-highlighter
573
+ #: ../crayon_settings_wp.class.php:1064
574
+ #, php-format
575
+ msgid "The selected font with id %s could not be loaded"
576
+ msgstr " (%s) ﻻ يمكن تحديد الخط المحدد بالــ"
577
+
578
+ # @ crayon-syntax-highlighter
579
+ #: ../crayon_settings_wp.class.php:1070
580
+ msgid "Enqueue fonts in the header (more efficient)."
581
+ msgstr "إدراج الخطوط بالتروسية ( أكثر فعالية ) "
582
+
583
+ # @ crayon-syntax-highlighter
584
+ #: ../crayon_settings_wp.class.php:1075
585
+ msgid "Enable plain code view and display"
586
+ msgstr "تفعيل اظهار ومشاهدة كامل الكود"
587
+
588
+ # @ crayon-syntax-highlighter
589
+ #: ../crayon_settings_wp.class.php:1078
590
+ msgid "Enable plain code toggling"
591
+ msgstr "تفعيل تغيير كامل الكود"
592
+
593
+ # @ crayon-syntax-highlighter
594
+ #: ../crayon_settings_wp.class.php:1079
595
+ msgid "Show the plain code by default"
596
+ msgstr "اظهار كامل الكود افتراضيا"
597
+
598
+ # @ crayon-syntax-highlighter
599
+ #: ../crayon_settings_wp.class.php:1080
600
+ msgid "Enable code copy/paste"
601
+ msgstr "السماح بنسخ الكود"
602
+
603
+ # @ crayon-syntax-highlighter
604
+ #: ../crayon_settings_wp.class.php:1082
605
+ msgid "Enable opening code in a window"
606
+ msgstr "السماح بفتح الكود في نافذة جديدة"
607
+
608
+ # @ crayon-syntax-highlighter
609
+ #: ../crayon_settings_wp.class.php:1083
610
+ msgid "Always display scrollbars"
611
+ msgstr "اظهار شريط التمرير دائما "
612
+
613
+ #: ../crayon_settings_wp.class.php:1084
614
+ msgid "Minimize code"
615
+ msgstr ""
616
+
617
+ #: ../crayon_settings_wp.class.php:1085
618
+ msgid "Expand code beyond page borders on mouseover"
619
+ msgstr ""
620
+
621
+ #: ../crayon_settings_wp.class.php:1086
622
+ msgid "Enable code expanding toggling when possible"
623
+ msgstr ""
624
+
625
+ # @ crayon-syntax-highlighter
626
+ #: ../crayon_settings_wp.class.php:1089
627
+ msgid "Decode HTML entities in code"
628
+ msgstr "تشفير أكواد الهتمل تلقائيا"
629
+
630
+ # @ crayon-syntax-highlighter
631
+ #: ../crayon_settings_wp.class.php:1091
632
+ msgid "Decode HTML entities in attributes"
633
+ msgstr "تشفير أكواد الهتمل تلقائيا "
634
+
635
+ # @ crayon-syntax-highlighter
636
+ #: ../crayon_settings_wp.class.php:1093
637
+ msgid "Remove whitespace surrounding the shortcode content"
638
+ msgstr "حذف الفراغات في حول الكود"
639
+
640
+ # @ crayon-syntax-highlighter
641
+ #: ../crayon_settings_wp.class.php:1095
642
+ msgid "Allow Mixed Language Highlighting with delimiters and tags."
643
+ msgstr "السماح بتلوين الكود المتعدد اللغات"
644
+
645
+ # @ crayon-syntax-highlighter
646
+ #: ../crayon_settings_wp.class.php:1097
647
+ msgid "Show Mixed Language Icon (+)"
648
+ msgstr "إظهار أيقونة اللغات المدمجة والمتعددة (+) "
649
+
650
+ # @ crayon-syntax-highlighter
651
+ #: ../crayon_settings_wp.class.php:1099
652
+ msgid "Tab size in spaces"
653
+ msgstr "حجم الفراغات"
654
+
655
+ #: ../crayon_settings_wp.class.php:1101
656
+ msgid "Blank lines before code:"
657
+ msgstr "أسطر فارغة قبل الكود"
658
+
659
+ #: ../crayon_settings_wp.class.php:1103
660
+ msgid "Blank lines after code:"
661
+ msgstr "أسطر فارغة بعد الكود"
662
+
663
+ # @ crayon-syntax-highlighter
664
+ #: ../crayon_settings_wp.class.php:1108
665
+ #, fuzzy
666
+ msgid "Capture Inline Tags"
667
+ msgstr "تمكين التعرف على أوسمة الروج الى السطر"
668
+
669
+ # @ crayon-syntax-highlighter
670
+ #: ../crayon_settings_wp.class.php:1109
671
+ msgid "Wrap Inline Tags"
672
+ msgstr "تمكين التعرف على أوسمة الروج الى السطر"
673
+
674
+ # @ crayon-syntax-highlighter
675
+ #: ../crayon_settings_wp.class.php:1110
676
+ #, fuzzy
677
+ msgid "Capture &lt;code&gt; as"
678
+ msgstr "تمكين التعرف على أوسمة &lt;pre&gt; في الاضافة "
679
+
680
+ # @ crayon-syntax-highlighter
681
+ #: ../crayon_settings_wp.class.php:1114
682
+ msgid "Capture `backquotes` as &lt;code&gt;"
683
+ msgstr "تمكين التعرف على الاقتباسات "
684
+
685
+ # @ crayon-syntax-highlighter
686
+ #: ../crayon_settings_wp.class.php:1115
687
+ msgid "Capture &lt;pre&gt; tags as Crayons"
688
+ msgstr "تمكين التعرف على أوسمة &lt;pre&gt; في الاضافة "
689
+
690
+ #: ../crayon_settings_wp.class.php:1117
691
+ #, php-format
692
+ msgid ""
693
+ "Using this markup for Mini Tags and Inline tags is now %sdepreciated%s! Use "
694
+ "the %sTag Editor%s instead and convert legacy tags."
695
+ msgstr ""
696
+
697
+ # @ crayon-syntax-highlighter
698
+ #: ../crayon_settings_wp.class.php:1118
699
+ msgid "Capture Mini Tags like [php][/php] as Crayons."
700
+ msgstr " [php][/php]تمكين التعرف على الاوسمة مثل "
701
+
702
+ # @ crayon-syntax-highlighter
703
+ #: ../crayon_settings_wp.class.php:1119
704
+ msgid "Capture Inline Tags like {php}{/php} inside sentences."
705
+ msgstr "تمكين التعرف على أكواد مثل {php}{/php} داخل التدوينات"
706
+
707
+ # @ crayon-syntax-highlighter
708
+ #: ../crayon_settings_wp.class.php:1120
709
+ msgid "Enable [plain][/plain] tag."
710
+ msgstr "تفعيل أوسمة [plain][/plain]"
711
+
712
+ # @ crayon-syntax-highlighter
713
+ #: ../crayon_settings_wp.class.php:1125
714
+ msgid ""
715
+ "When loading local files and a relative path is given for the URL, use the "
716
+ "absolute path"
717
+ msgstr "عند رفع ملفات من الجهاز ، عليك اعطاء الروابط الصحيحة "
718
+
719
+ # @ crayon-syntax-highlighter
720
+ #: ../crayon_settings_wp.class.php:1128
721
+ msgid "Followed by your relative URL."
722
+ msgstr "متبوعا برابطك "
723
+
724
+ #: ../crayon_settings_wp.class.php:1135
725
+ msgid "Convert Legacy Tags"
726
+ msgstr "تحويل الأوسمة "
727
+
728
+ #: ../crayon_settings_wp.class.php:1138
729
+ msgid "No Legacy Tags Found"
730
+ msgstr "لم يتم ايجاد اوسمة"
731
+
732
+ #: ../crayon_settings_wp.class.php:1142
733
+ msgid "Encode"
734
+ msgstr ""
735
+
736
+ # @ crayon-syntax-highlighter
737
+ #: ../crayon_settings_wp.class.php:1144
738
+ #, php-format
739
+ msgid ""
740
+ "Use %s to separate setting names from values in the &lt;pre&gt; class "
741
+ "attribute"
742
+ msgstr "استعمل %s لتفصل بين اسماء الاعدادات والقيم ف &lt;pre&gt; "
743
+
744
+ #: ../crayon_settings_wp.class.php:1147
745
+ msgid ""
746
+ "Display the Tag Editor in any TinyMCE instances on the frontend (e.g. "
747
+ "bbPress)"
748
+ msgstr "عرض أوسمة المحرر في أي واجهة محرر TinyMCE آخر "
749
+
750
+ #: ../crayon_settings_wp.class.php:1148
751
+ msgid "Display Tag Editor settings on the frontend"
752
+ msgstr "عرض أوسمة المحرر في الواجهة "
753
+
754
+ # @ crayon-syntax-highlighter
755
+ #: ../crayon_settings_wp.class.php:1152
756
+ msgid "Clear the cache used to store remote code requests"
757
+ msgstr "تفريغ الكاش المستعمل للحفظ التلقائي للكود"
758
+
759
+ # @ crayon-syntax-highlighter
760
+ #: ../crayon_settings_wp.class.php:1154
761
+ msgid "Clear Now"
762
+ msgstr "تفريغ الأن"
763
+
764
+ # @ crayon-syntax-highlighter
765
+ #: ../crayon_settings_wp.class.php:1155
766
+ msgid "Attempt to load Crayon's CSS and JavaScript only when needed"
767
+ msgstr "ﻻ تحاول أن تغير في ملفات الـ CSS و JavaScript في حالة الضرورة فقط "
768
+
769
+ # @ crayon-syntax-highlighter
770
+ #: ../crayon_settings_wp.class.php:1156
771
+ msgid "Disable enqueuing for page templates that may contain The Loop."
772
+ msgstr "تعطيل حقن الكود في القوالب التي تجتوي على Loop"
773
+
774
+ # @ crayon-syntax-highlighter
775
+ #: ../crayon_settings_wp.class.php:1157
776
+ msgid "Allow Crayons inside comments"
777
+ msgstr "تمكين الاضافة في التعليقات"
778
+
779
+ #: ../crayon_settings_wp.class.php:1158
780
+ msgid "Remove Crayons from excerpts"
781
+ msgstr "حذف تنسيقات اضافة كود التلوين في ال excerpts"
782
+
783
+ # @ crayon-syntax-highlighter
784
+ #: ../crayon_settings_wp.class.php:1159
785
+ msgid "Load Crayons only from the main Wordpress query"
786
+ msgstr "تمكين الاضافة من استعلامات ووردبريس الرئيسية فقط "
787
+
788
+ # @ crayon-syntax-highlighter
789
+ #: ../crayon_settings_wp.class.php:1160
790
+ msgid "Disable mouse gestures for touchscreen devices (eg. MouseOver)"
791
+ msgstr "تعطيل اعدادات الفأرة للأجهزة اللوحية "
792
+
793
+ # @ crayon-syntax-highlighter
794
+ #: ../crayon_settings_wp.class.php:1161
795
+ msgid "Disable animations"
796
+ msgstr "تعطيل التتنسيقات المتحركة "
797
+
798
+ # @ crayon-syntax-highlighter
799
+ #: ../crayon_settings_wp.class.php:1162
800
+ msgid "Disable runtime stats"
801
+ msgstr "تعطيل احصاءات العمل "
802
+
803
+ # @ crayon-syntax-highlighter
804
+ #: ../crayon_settings_wp.class.php:1168
805
+ msgid "Log errors for individual Crayons"
806
+ msgstr "سجلات الأخطاء الفردية للاضافة "
807
+
808
+ # @ crayon-syntax-highlighter
809
+ #: ../crayon_settings_wp.class.php:1169
810
+ msgid "Log system-wide errors"
811
+ msgstr "سجلات أخطاء النظام"
812
+
813
+ # @ crayon-syntax-highlighter
814
+ #: ../crayon_settings_wp.class.php:1170
815
+ msgid "Display custom message for errors"
816
+ msgstr "عرض رسالة مخصصة للأخطاء"
817
+
818
+ # @ crayon-syntax-highlighter
819
+ #: ../crayon_settings_wp.class.php:1182
820
+ msgid "Show Log"
821
+ msgstr "عرض السجلات"
822
+
823
+ # @ crayon-syntax-highlighter
824
+ #: ../crayon_settings_wp.class.php:1182
825
+ msgid "Hide Log"
826
+ msgstr "اخفاء السجلات"
827
+
828
+ # @ crayon-syntax-highlighter
829
+ #: ../crayon_settings_wp.class.php:1184
830
+ msgid "Clear Log"
831
+ msgstr "تفريغ السجلات"
832
+
833
+ # @ crayon-syntax-highlighter
834
+ #: ../crayon_settings_wp.class.php:1185
835
+ msgid "Email Admin"
836
+ msgstr "ايميل الادارة"
837
+
838
+ # @ crayon-syntax-highlighter
839
+ #: ../crayon_settings_wp.class.php:1187
840
+ msgid "Email Developer"
841
+ msgstr "ايميل المطور"
842
+
843
+ # @ crayon-syntax-highlighter
844
+ #: ../crayon_settings_wp.class.php:1189
845
+ msgid "The log is currently empty."
846
+ msgstr "السجلات فارغة "
847
+
848
+ # @ crayon-syntax-highlighter
849
+ #: ../crayon_settings_wp.class.php:1191
850
+ msgid "The log file exists and is writable."
851
+ msgstr "السجلات متاحة وتستطيع الكتابة عليها "
852
+
853
+ # @ crayon-syntax-highlighter
854
+ #: ../crayon_settings_wp.class.php:1191
855
+ msgid "The log file exists and is not writable."
856
+ msgstr "السجلات موجودة لكن ﻻ تسنطيع الكتابة عليها "
857
+
858
+ # @ crayon-syntax-highlighter
859
+ #: ../crayon_settings_wp.class.php:1193
860
+ msgid "The log file does not exist and is not writable."
861
+ msgstr "السجلات غير موجودة ، وﻻ تستطيع كتابتها"
862
+
863
+ # @ crayon-syntax-highlighter
864
+ #: ../crayon_settings_wp.class.php:1203
865
+ msgid "Version"
866
+ msgstr "النسخة"
867
+
868
+ # @ crayon-syntax-highlighter
869
+ #: ../crayon_settings_wp.class.php:1205
870
+ msgid "Developer"
871
+ msgstr "المطور"
872
+
873
+ # @ crayon-syntax-highlighter
874
+ #: ../crayon_settings_wp.class.php:1206
875
+ msgid "Translators"
876
+ msgstr "المترجم"
877
+
878
+ # @ crayon-syntax-highlighter
879
+ #: ../crayon_settings_wp.class.php:1249
880
+ msgid "?"
881
+ msgstr "؟"
882
+
883
+ # @ crayon-syntax-highlighter
884
+ #: ../crayon_settings_wp.class.php:1256
885
+ #: ../util/theme-editor/theme_editor.php:336
886
+ msgid "Theme Editor"
887
+ msgstr "محرر الاشكال"
888
+
889
+ # @ crayon-syntax-highlighter
890
+ #: ../crayon_settings_wp.class.php:1257
891
+ msgid "Donate"
892
+ msgstr "تبرع "
893
+
894
+ # @ crayon-syntax-highlighter
895
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:62
896
+ msgid "Add Crayon Code"
897
+ msgstr "أظف كود تلوين جديد"
898
+
899
+ # @ crayon-syntax-highlighter
900
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:63
901
+ msgid "Edit Crayon Code"
902
+ msgstr "عدل كود تلوين "
903
+
904
+ # @ crayon-syntax-highlighter
905
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:64
906
+ msgid "Add"
907
+ msgstr "أظف"
908
+
909
+ # @ crayon-syntax-highlighter
910
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:65
911
+ #: ../util/theme-editor/theme_editor.php:352
912
+ msgid "Save"
913
+ msgstr "احفظ"
914
+
915
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:182
916
+ msgid "OK"
917
+ msgstr "تأكيد"
918
+
919
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:184
920
+ msgid "Cancel"
921
+ msgstr "إلغاء"
922
+
923
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:193
924
+ msgid "A short description"
925
+ msgstr "وصف قصير "
926
+
927
+ # @ crayon-syntax-highlighter
928
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:195
929
+ #: ../util/theme-editor/theme_editor.php:318
930
+ msgid "Inline"
931
+ msgstr "تضمين"
932
+
933
+ # @ crayon-syntax-highlighter
934
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:197
935
+ msgid "Don't Highlight"
936
+ msgstr "تعطيل تلوين الكود"
937
+
938
+ # @ crayon-syntax-highlighter
939
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:202
940
+ #: ../util/theme-editor/theme_editor.php:322
941
+ msgid "Language"
942
+ msgstr "اللغات"
943
+
944
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:205
945
+ msgid "Line Range"
946
+ msgstr "نطاق الأسطر"
947
+
948
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:206
949
+ msgid "(e.g. 3-5 or 3)"
950
+ msgstr "(أمثلة : 3، 3-5 ) "
951
+
952
+ # @ crayon-syntax-highlighter
953
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:207
954
+ msgid "Marked Lines"
955
+ msgstr "الأسطر المعلمة "
956
+
957
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:208
958
+ msgid "(e.g. 1,2,3-5)"
959
+ msgstr "( أمثلة 3،2،1-5 )"
960
+
961
+ # @ crayon-syntax-highlighter
962
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:217
963
+ msgid "Clear"
964
+ msgstr "مسح"
965
+
966
+ # @ crayon-syntax-highlighter
967
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:221
968
+ msgid "Paste your code here, or type it in manually."
969
+ msgstr "الصق الكود هنا ، أو اكتبه يدويا "
970
+
971
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:225
972
+ msgid "URL"
973
+ msgstr "الرابط"
974
+
975
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:227
976
+ msgid "Relative local path or absolute URL"
977
+ msgstr "رابط داخلي أو رابط خارجي "
978
+
979
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:230
980
+ msgid ""
981
+ "If the URL fails to load, the code above will be shown instead. If no code "
982
+ "exists, an error is shown."
983
+ msgstr ""
984
+ "عند فشل تحميل الرابط ، سيظهر الكود مكانه ، في حال عدم وجود الكود ، ستظهر "
985
+ "رسالة خطأ "
986
+
987
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:232
988
+ #, php-format
989
+ msgid ""
990
+ "If a relative local path is given it will be appended to %s - which is "
991
+ "defined in %sCrayon &gt; Settings &gt; Files%s."
992
+ msgstr ""
993
+ "في حالة اعطاء الرابط الداخلي ، سيتم اضافته الى %s الموجود على المسار "
994
+ "%sكريون &gt; اعدادات &gt; ملفات %s."
995
+
996
+ # @ crayon-syntax-highlighter
997
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:259
998
+ msgid "Change the following settings to override their global values."
999
+ msgstr "غير الاعدادات التالية لتحل محل الاعدادات العامة لهذه التدوينة"
1000
+
1001
+ # @ crayon-syntax-highlighter
1002
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:261
1003
+ msgid "Only changes (shown yellow) are applied."
1004
+ msgstr "التغييرات باللون الاصفر هي فقط من فعلت "
1005
+
1006
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:263
1007
+ #, php-format
1008
+ msgid ""
1009
+ "Future changes to the global settings under %sCrayon &gt; Settings%s won't "
1010
+ "affect overridden settings."
1011
+ msgstr ""
1012
+ "التغييرات المستقبلية للاعدادات العامة %sللأضافة &gt; %s لن تأثر على "
1013
+ "الاعدادات المغيرة يدويا"
1014
+
1015
+ #: ../util/theme-editor/theme_editor.php:192
1016
+ msgid "User-Defined Theme"
1017
+ msgstr ""
1018
+
1019
+ # @ crayon-syntax-highlighter
1020
+ #: ../util/theme-editor/theme_editor.php:193
1021
+ #, fuzzy
1022
+ msgid "Stock Theme"
1023
+ msgstr "الشكل"
1024
+
1025
+ #: ../util/theme-editor/theme_editor.php:194
1026
+ msgid "Success!"
1027
+ msgstr ""
1028
+
1029
+ #: ../util/theme-editor/theme_editor.php:195
1030
+ msgid "Failed!"
1031
+ msgstr ""
1032
+
1033
+ #: ../util/theme-editor/theme_editor.php:197
1034
+ #, php-format
1035
+ msgid "Are you sure you want to delete the \"%s\" theme?"
1036
+ msgstr ""
1037
+
1038
+ #: ../util/theme-editor/theme_editor.php:198
1039
+ #, fuzzy
1040
+ msgid "Delete failed!"
1041
+ msgstr "احذف"
1042
+
1043
+ #: ../util/theme-editor/theme_editor.php:200
1044
+ msgid "New Name"
1045
+ msgstr ""
1046
+
1047
+ #: ../util/theme-editor/theme_editor.php:201
1048
+ #, fuzzy
1049
+ msgid "Duplicate failed!"
1050
+ msgstr "انسخ"
1051
+
1052
+ #: ../util/theme-editor/theme_editor.php:202
1053
+ msgid "Please check the log for details."
1054
+ msgstr ""
1055
+
1056
+ #: ../util/theme-editor/theme_editor.php:203
1057
+ msgid "Are you sure you want to discard all changes?"
1058
+ msgstr ""
1059
+
1060
+ #: ../util/theme-editor/theme_editor.php:204
1061
+ #, fuzzy, php-format
1062
+ msgid "Editing Theme: %s"
1063
+ msgstr " \"%s\" تحرير الشكل "
1064
+
1065
+ #: ../util/theme-editor/theme_editor.php:205
1066
+ #, fuzzy, php-format
1067
+ msgid "Creating Theme: %s"
1068
+ msgstr " \"%s\" أنشأ شكلا مبني على "
1069
+
1070
+ #: ../util/theme-editor/theme_editor.php:206
1071
+ msgid "Submit Your Theme"
1072
+ msgstr ""
1073
+
1074
+ #: ../util/theme-editor/theme_editor.php:207
1075
+ msgid ""
1076
+ "Submit your User Theme for inclusion as a Stock Theme in Crayon! This will "
1077
+ "email me your theme - make sure it's considerably different from the stock "
1078
+ "themes :)"
1079
+ msgstr ""
1080
+
1081
+ #: ../util/theme-editor/theme_editor.php:208
1082
+ msgid "Message"
1083
+ msgstr ""
1084
+
1085
+ #: ../util/theme-editor/theme_editor.php:209
1086
+ msgid "Please include this theme in Crayon!"
1087
+ msgstr ""
1088
+
1089
+ # @ crayon-syntax-highlighter
1090
+ #: ../util/theme-editor/theme_editor.php:210
1091
+ #, fuzzy
1092
+ msgid "Submit was successful."
1093
+ msgstr "تم التحويل بنجاح"
1094
+
1095
+ #: ../util/theme-editor/theme_editor.php:211
1096
+ msgid "Submit failed!"
1097
+ msgstr ""
1098
+
1099
+ #: ../util/theme-editor/theme_editor.php:294
1100
+ msgid "Information"
1101
+ msgstr ""
1102
+
1103
+ # @ crayon-syntax-highlighter
1104
+ #: ../util/theme-editor/theme_editor.php:295
1105
+ #, fuzzy
1106
+ msgid "Highlighting"
1107
+ msgstr "تعطيل تلوين الكود"
1108
+
1109
+ #: ../util/theme-editor/theme_editor.php:296
1110
+ msgid "Frame"
1111
+ msgstr ""
1112
+
1113
+ # @ crayon-syntax-highlighter
1114
+ #: ../util/theme-editor/theme_editor.php:298
1115
+ #, fuzzy
1116
+ msgid "Line Numbers"
1117
+ msgstr "أظهر/أخف أرقام الأسطر"
1118
+
1119
+ #: ../util/theme-editor/theme_editor.php:301
1120
+ msgid "Background"
1121
+ msgstr ""
1122
+
1123
+ #: ../util/theme-editor/theme_editor.php:302
1124
+ msgid "Text"
1125
+ msgstr ""
1126
+
1127
+ #: ../util/theme-editor/theme_editor.php:303
1128
+ msgid "Border"
1129
+ msgstr ""
1130
+
1131
+ #: ../util/theme-editor/theme_editor.php:304
1132
+ msgid "Top Border"
1133
+ msgstr ""
1134
+
1135
+ # @ crayon-syntax-highlighter
1136
+ #: ../util/theme-editor/theme_editor.php:305
1137
+ #, fuzzy
1138
+ msgid "Bottom Border"
1139
+ msgstr "الهامش السفلي"
1140
+
1141
+ #: ../util/theme-editor/theme_editor.php:306
1142
+ msgid "Right Border"
1143
+ msgstr ""
1144
+
1145
+ #: ../util/theme-editor/theme_editor.php:308
1146
+ msgid "Hover"
1147
+ msgstr ""
1148
+
1149
+ #: ../util/theme-editor/theme_editor.php:309
1150
+ msgid "Active"
1151
+ msgstr ""
1152
+
1153
+ #: ../util/theme-editor/theme_editor.php:310
1154
+ msgid "Pressed"
1155
+ msgstr ""
1156
+
1157
+ #: ../util/theme-editor/theme_editor.php:311
1158
+ msgid "Pressed & Hover"
1159
+ msgstr ""
1160
+
1161
+ #: ../util/theme-editor/theme_editor.php:312
1162
+ msgid "Pressed & Active"
1163
+ msgstr ""
1164
+
1165
+ #: ../util/theme-editor/theme_editor.php:315
1166
+ msgid "Buttons"
1167
+ msgstr ""
1168
+
1169
+ #: ../util/theme-editor/theme_editor.php:317
1170
+ msgid "Normal"
1171
+ msgstr ""
1172
+
1173
+ #: ../util/theme-editor/theme_editor.php:319
1174
+ msgid "Striped"
1175
+ msgstr ""
1176
+
1177
+ # @ crayon-syntax-highlighter
1178
+ #: ../util/theme-editor/theme_editor.php:320
1179
+ #, fuzzy
1180
+ msgid "Marked"
1181
+ msgstr "الأسطر المعلمة "
1182
+
1183
+ #: ../util/theme-editor/theme_editor.php:321
1184
+ msgid "Striped & Marked"
1185
+ msgstr ""
1186
+
1187
+ # @ crayon-syntax-highlighter
1188
+ #: ../util/theme-editor/theme_editor.php:351
1189
+ msgid "Back To Settings"
1190
+ msgstr "العودة للإعدادات"
1191
+
1192
+ #: ../util/theme-editor/theme_editor.php:390
1193
+ msgid "Comment"
1194
+ msgstr ""
1195
+
1196
+ #: ../util/theme-editor/theme_editor.php:391
1197
+ msgid "String"
1198
+ msgstr ""
1199
+
1200
+ #: ../util/theme-editor/theme_editor.php:392
1201
+ msgid "Preprocessor"
1202
+ msgstr ""
1203
+
1204
+ # @ crayon-syntax-highlighter
1205
+ #: ../util/theme-editor/theme_editor.php:393
1206
+ #, fuzzy
1207
+ msgid "Tag"
1208
+ msgstr "أوسمة"
1209
+
1210
+ #: ../util/theme-editor/theme_editor.php:394
1211
+ msgid "Keyword"
1212
+ msgstr ""
1213
+
1214
+ #: ../util/theme-editor/theme_editor.php:395
1215
+ msgid "Statement"
1216
+ msgstr ""
1217
+
1218
+ #: ../util/theme-editor/theme_editor.php:396
1219
+ msgid "Reserved"
1220
+ msgstr ""
1221
+
1222
+ #: ../util/theme-editor/theme_editor.php:397
1223
+ msgid "Type"
1224
+ msgstr ""
1225
+
1226
+ #: ../util/theme-editor/theme_editor.php:398
1227
+ #, fuzzy
1228
+ msgid "Modifier"
1229
+ msgstr "حرر في"
1230
+
1231
+ #: ../util/theme-editor/theme_editor.php:399
1232
+ msgid "Identifier"
1233
+ msgstr ""
1234
+
1235
+ #: ../util/theme-editor/theme_editor.php:400
1236
+ msgid "Entity"
1237
+ msgstr ""
1238
+
1239
+ #: ../util/theme-editor/theme_editor.php:401
1240
+ msgid "Variable"
1241
+ msgstr ""
1242
+
1243
+ #: ../util/theme-editor/theme_editor.php:402
1244
+ msgid "Constant"
1245
+ msgstr ""
1246
+
1247
+ #: ../util/theme-editor/theme_editor.php:403
1248
+ msgid "Operator"
1249
+ msgstr ""
1250
+
1251
+ #: ../util/theme-editor/theme_editor.php:404
1252
+ msgid "Symbol"
1253
+ msgstr ""
1254
+
1255
+ #: ../util/theme-editor/theme_editor.php:405
1256
+ msgid "Notation"
1257
+ msgstr ""
1258
+
1259
+ #: ../util/theme-editor/theme_editor.php:406
1260
+ msgid "Faded"
1261
+ msgstr ""
1262
+
1263
+ #: ../util/theme-editor/theme_editor.php:407
1264
+ msgid "HTML"
1265
+ msgstr ""
1266
+
1267
+ #: ../util/theme-editor/theme_editor.php:540
1268
+ msgid "(Used for Copy/Paste)"
1269
+ msgstr ""
trans/crayon-syntax-highlighter-tr_TR.mo CHANGED
Binary file
trans/crayon-syntax-highlighter-tr_TR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: crayon-syntax-highlighter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-01-24 16:29+0200\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: HakanEr <hakanerwptr@gmail.com>\n"
8
  "Language-Team: hakaner <hakanerwptr@gmail.com>\n"
@@ -17,509 +17,518 @@ msgstr ""
17
  "crayon__;crayon_e;crayon_n\n"
18
  "X-Poedit-Basepath: .\n"
19
  "X-Textdomain-Support: yes\n"
20
- "X-Generator: Poedit 1.5.4\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPath-1: ..\n"
23
 
24
  # @ crayon-syntax-highlighter
25
- #: ../crayon_formatter.class.php:283
26
  msgid "Toggle Line Numbers"
27
  msgstr "Satır Numaralarına Geç"
28
 
29
  # @ crayon-syntax-highlighter
30
- #: ../crayon_formatter.class.php:287
31
  msgid "Toggle Plain Code"
32
  msgstr "Düz Koda Geç"
33
 
34
  # @ crayon-syntax-highlighter
35
- #: ../crayon_formatter.class.php:291
36
  msgid "Toggle Line Wrap"
37
  msgstr "Satır Sarımına Geç"
38
 
39
  # @ crayon-syntax-highlighter
40
- #: ../crayon_formatter.class.php:295 ../crayon_formatter.class.php:299
41
  msgid "Expand Code"
42
  msgstr "Kodu Genişlet"
43
 
44
  # @ crayon-syntax-highlighter
45
- #: ../crayon_formatter.class.php:303
46
  msgid "Open Code In New Window"
47
  msgstr "Kodu Yeni Pencerede Aç"
48
 
49
  # @ crayon-syntax-highlighter
50
- #: ../crayon_formatter.class.php:330
51
  msgid "Contains Mixed Languages"
52
  msgstr "Karışık Diller içerir"
53
 
54
  # @ crayon-syntax-highlighter
55
- #: ../crayon_settings.class.php:147
56
  msgid "Hourly"
57
  msgstr "Saatlik"
58
 
59
  # @ crayon-syntax-highlighter
60
- #: ../crayon_settings.class.php:147
61
  msgid "Daily"
62
  msgstr "Günlük"
63
 
64
  # @ crayon-syntax-highlighter
65
- #: ../crayon_settings.class.php:148
66
  msgid "Weekly"
67
  msgstr "Haftalık"
68
 
69
  # @ crayon-syntax-highlighter
70
- #: ../crayon_settings.class.php:148
71
  msgid "Monthly"
72
  msgstr "Aylık"
73
 
74
  # @ crayon-syntax-highlighter
75
- #: ../crayon_settings.class.php:149
76
  msgid "Immediately"
77
  msgstr "Hemen"
78
 
79
  # @ crayon-syntax-highlighter
80
- #: ../crayon_settings.class.php:159 ../crayon_settings.class.php:163
81
  msgid "Max"
82
  msgstr "Max"
83
 
84
  # @ crayon-syntax-highlighter
85
- #: ../crayon_settings.class.php:159 ../crayon_settings.class.php:163
86
  msgid "Min"
87
  msgstr "Min"
88
 
89
  # @ crayon-syntax-highlighter
90
- #: ../crayon_settings.class.php:159 ../crayon_settings.class.php:163
91
  msgid "Static"
92
  msgstr "Sabit"
93
 
94
  # @ crayon-syntax-highlighter
95
- #: ../crayon_settings.class.php:161 ../crayon_settings.class.php:165
96
- #: ../crayon_settings_wp.class.php:737 ../crayon_settings_wp.class.php:746
97
- #: ../crayon_settings_wp.class.php:1020
98
  msgid "Pixels"
99
  msgstr "Piksel"
100
 
101
  # @ crayon-syntax-highlighter
102
- #: ../crayon_settings.class.php:161 ../crayon_settings.class.php:165
103
  msgid "Percent"
104
  msgstr "Yüzde"
105
 
106
  # @ crayon-syntax-highlighter
107
- #: ../crayon_settings.class.php:174
108
  msgid "None"
109
  msgstr "Yok"
110
 
111
  # @ crayon-syntax-highlighter
112
- #: ../crayon_settings.class.php:174
113
  msgid "Left"
114
  msgstr "Sol"
115
 
116
  # @ crayon-syntax-highlighter
117
- #: ../crayon_settings.class.php:174
118
  msgid "Center"
119
  msgstr "Merkez"
120
 
121
  # @ crayon-syntax-highlighter
122
- #: ../crayon_settings.class.php:174
123
  msgid "Right"
124
  msgstr "Sağ"
125
 
126
  # @ crayon-syntax-highlighter
127
- #: ../crayon_settings.class.php:176 ../crayon_settings.class.php:200
128
  msgid "On MouseOver"
129
  msgstr "Fare Üstündeyken"
130
 
131
  # @ crayon-syntax-highlighter
132
- #: ../crayon_settings.class.php:176 ../crayon_settings.class.php:182
133
  msgid "Always"
134
  msgstr "Herzaman"
135
 
136
  # @ crayon-syntax-highlighter
137
- #: ../crayon_settings.class.php:176 ../crayon_settings.class.php:182
138
  msgid "Never"
139
  msgstr "Asla"
140
 
141
  # @ crayon-syntax-highlighter
142
- #: ../crayon_settings.class.php:182
143
  msgid "When Found"
144
  msgstr "Bulunduğunda"
145
 
146
  # @ crayon-syntax-highlighter
147
- #: ../crayon_settings.class.php:200
148
  msgid "On Double Click"
149
  msgstr "Çift Tık ile aç"
150
 
151
  # @ crayon-syntax-highlighter
152
- #: ../crayon_settings.class.php:200
153
  msgid "On Single Click"
154
  msgstr "Tek Tık ile aç"
155
 
156
  # @ crayon-syntax-highlighter
157
- #: ../crayon_settings.class.php:200
158
  msgid "Disable Mouse Events"
159
  msgstr "Fare Etkinliği Devre Dışı"
160
 
161
  # @ crayon-syntax-highlighter
162
- #: ../crayon_settings.class.php:207
163
  msgid "An error has occurred. Please try again later."
164
  msgstr "Bir hata meydana geldi. Daha sonra tekrar deneyin."
165
 
166
  # @ crayon-syntax-highlighter
167
- #: ../crayon_settings_wp.class.php:52 ../crayon_settings_wp.class.php:193
168
- #: ../crayon_settings_wp.class.php:1210
169
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:242
 
 
 
 
 
 
 
 
 
170
  msgid "Settings"
171
  msgstr "Ayarlar"
172
 
173
  # @ crayon-syntax-highlighter
174
- #: ../crayon_settings_wp.class.php:124
175
  #, php-format
176
  msgid "Press %s to Copy, %s to Paste"
177
  msgstr "%s ile Kopyala, %s ile Yapıştır"
178
 
179
  # @ crayon-syntax-highlighter
180
- #: ../crayon_settings_wp.class.php:125
181
  msgid "Click To Expand Code"
182
  msgstr "Kodu Genişletmek İçin Tıkla"
183
 
184
- #: ../crayon_settings_wp.class.php:161
185
  msgid "Prompt"
186
  msgstr "Komut İstemi"
187
 
188
- #: ../crayon_settings_wp.class.php:162
189
  msgid "Value"
190
  msgstr "Değer"
191
 
192
- #: ../crayon_settings_wp.class.php:163
193
  msgid "Alert"
194
  msgstr "İkaz"
195
 
196
  # @ crayon-syntax-highlighter
197
- #: ../crayon_settings_wp.class.php:164 ../crayon_settings_wp.class.php:883
198
  msgid "No"
199
  msgstr "Hayır"
200
 
201
- #: ../crayon_settings_wp.class.php:165 ../crayon_settings_wp.class.php:883
202
  msgid "Yes"
203
  msgstr "Evet"
204
 
205
- #: ../crayon_settings_wp.class.php:166
206
  msgid "Confirm"
207
  msgstr "Onayla"
208
 
209
  # @ crayon-syntax-highlighter
210
- #: ../crayon_settings_wp.class.php:167
211
  msgid "Change Code"
212
  msgstr "Kodu Değiştir"
213
 
214
  # @ crayon-syntax-highlighter
215
- #: ../crayon_settings_wp.class.php:175
216
  msgid "You do not have sufficient permissions to access this page."
217
  msgstr "Bu sayfaya erişmek için yeterli izinlere sahip değilsiniz."
218
 
219
  # @ crayon-syntax-highlighter
220
- #: ../crayon_settings_wp.class.php:208
221
  msgid "Save Changes"
222
  msgstr "Kaydet"
223
 
224
  # @ crayon-syntax-highlighter
225
- #: ../crayon_settings_wp.class.php:215
226
  msgid "Reset Settings"
227
  msgstr "Ayarları Sıfırla"
228
 
229
  # @ crayon-syntax-highlighter
230
- #: ../crayon_settings_wp.class.php:473
231
  msgid "General"
232
  msgstr "Genel"
233
 
234
  # @ crayon-syntax-highlighter
235
- #: ../crayon_settings_wp.class.php:474
236
  msgid "Theme"
237
  msgstr "Tema"
238
 
239
  # @ crayon-syntax-highlighter
240
- #: ../crayon_settings_wp.class.php:475
241
  msgid "Font"
242
  msgstr "Font"
243
 
244
  # @ crayon-syntax-highlighter
245
- #: ../crayon_settings_wp.class.php:476
246
  msgid "Metrics"
247
  msgstr "Ölçüler"
248
 
249
  # @ crayon-syntax-highlighter
250
- #: ../crayon_settings_wp.class.php:477
251
- #: ../util/theme-editor/theme_editor.php:289
252
  msgid "Toolbar"
253
  msgstr "Araç Çubuğu"
254
 
255
  # @ crayon-syntax-highlighter
256
- #: ../crayon_settings_wp.class.php:478
257
- #: ../util/theme-editor/theme_editor.php:287
258
  msgid "Lines"
259
  msgstr "Satırlar"
260
 
261
  # @ crayon-syntax-highlighter
262
- #: ../crayon_settings_wp.class.php:479
263
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:202
264
  msgid "Code"
265
  msgstr "Kod"
266
 
267
  # @ crayon-syntax-highlighter
268
- #: ../crayon_settings_wp.class.php:480
269
  msgid "Tags"
270
  msgstr "Etiketler"
271
 
272
  # @ crayon-syntax-highlighter
273
- #: ../crayon_settings_wp.class.php:481
274
  msgid "Languages"
275
  msgstr "Diller"
276
 
277
  # @ crayon-syntax-highlighter
278
- #: ../crayon_settings_wp.class.php:482
279
  msgid "Files"
280
  msgstr "Dosyalar"
281
 
282
- #: ../crayon_settings_wp.class.php:483
283
  msgid "Posts"
284
  msgstr "Yazılar"
285
 
286
  # @ crayon-syntax-highlighter
287
- #: ../crayon_settings_wp.class.php:484
288
  msgid "Tag Editor"
289
  msgstr "Etiket Düzenleyici"
290
 
291
  # @ crayon-syntax-highlighter
292
- #: ../crayon_settings_wp.class.php:485
293
  msgid "Misc"
294
  msgstr "Çeşitli"
295
 
296
  # @ crayon-syntax-highlighter
297
- #: ../crayon_settings_wp.class.php:488
298
  msgid "Debug"
299
  msgstr "Hata Ayıklama"
300
 
301
  # @ crayon-syntax-highlighter
302
- #: ../crayon_settings_wp.class.php:489
303
  msgid "Errors"
304
  msgstr "Hatalar"
305
 
306
  # @ crayon-syntax-highlighter
307
- #: ../crayon_settings_wp.class.php:490
308
  msgid "Log"
309
  msgstr "Günlük"
310
 
311
  # @ crayon-syntax-highlighter
312
- #: ../crayon_settings_wp.class.php:493
313
  msgid "About"
314
  msgstr "Hakkında"
315
 
316
  # @ crayon-syntax-highlighter
317
- #: ../crayon_settings_wp.class.php:714
318
  msgid "Height"
319
  msgstr "Yükseklik"
320
 
321
  # @ crayon-syntax-highlighter
322
- #: ../crayon_settings_wp.class.php:720
323
  msgid "Width"
324
  msgstr "Genişlik"
325
 
326
  # @ crayon-syntax-highlighter
327
- #: ../crayon_settings_wp.class.php:726
328
  msgid "Top Margin"
329
  msgstr "Üst Boşluk"
330
 
331
  # @ crayon-syntax-highlighter
332
- #: ../crayon_settings_wp.class.php:727
333
  msgid "Bottom Margin"
334
  msgstr "Alt Boşluk"
335
 
336
  # @ crayon-syntax-highlighter
337
- #: ../crayon_settings_wp.class.php:728 ../crayon_settings_wp.class.php:733
338
  msgid "Left Margin"
339
  msgstr "Sol Boşluk"
340
 
341
  # @ crayon-syntax-highlighter
342
- #: ../crayon_settings_wp.class.php:729 ../crayon_settings_wp.class.php:733
343
  msgid "Right Margin"
344
  msgstr "Sağ Boşluk"
345
 
346
  # @ crayon-syntax-highlighter
347
- #: ../crayon_settings_wp.class.php:739
348
  msgid "Horizontal Alignment"
349
  msgstr "Yatay Hizalama"
350
 
351
  # @ crayon-syntax-highlighter
352
- #: ../crayon_settings_wp.class.php:742
353
  msgid "Allow floating elements to surround Crayon"
354
  msgstr "Geçişli elementleri Crayon çevrelemeye izin ver"
355
 
356
  # @ crayon-syntax-highlighter
357
- #: ../crayon_settings_wp.class.php:744
358
  msgid "Inline Margin"
359
  msgstr "Satıriçi Boşluk"
360
 
361
  # @ crayon-syntax-highlighter
362
- #: ../crayon_settings_wp.class.php:752
363
  msgid "Display the Toolbar"
364
  msgstr "Araç çubuğunu göster"
365
 
366
  # @ crayon-syntax-highlighter
367
- #: ../crayon_settings_wp.class.php:755
368
  msgid "Overlay the toolbar on code rather than push it down when possible"
369
  msgstr "Araç çubuğunu mümkünse kodları aşağı itmek yerine üstte göster"
370
 
371
  # @ crayon-syntax-highlighter
372
- #: ../crayon_settings_wp.class.php:756
373
  msgid "Toggle the toolbar on single click when it is overlayed"
374
  msgstr "Araç çubuğu üste çıktığında tek tıkla gizle"
375
 
376
  # @ crayon-syntax-highlighter
377
- #: ../crayon_settings_wp.class.php:757
378
  msgid "Delay hiding the toolbar on MouseOut"
379
  msgstr "Fare dışa çıktığında araç çubuğunu gizlemek için bekle"
380
 
381
  # @ crayon-syntax-highlighter
382
- #: ../crayon_settings_wp.class.php:759
383
  msgid "Display the title when provided"
384
  msgstr "Varsa başlığı görüntüle"
385
 
386
  # @ crayon-syntax-highlighter
387
- #: ../crayon_settings_wp.class.php:760
388
  msgid "Display the language"
389
  msgstr "Dilleri göster"
390
 
391
  # @ crayon-syntax-highlighter
392
- #: ../crayon_settings_wp.class.php:767
393
  msgid "Display striped code lines"
394
  msgstr "Şeritli kod satırını göster"
395
 
396
  # @ crayon-syntax-highlighter
397
- #: ../crayon_settings_wp.class.php:768
398
  msgid "Enable line marking for important lines"
399
  msgstr "Önemli satırlar için satır işaretleme etkin"
400
 
401
- #: ../crayon_settings_wp.class.php:769
402
  msgid "Enable line ranges for showing only parts of code"
403
  msgstr "Kodun sadece bir parçasını gösteren satır aralıklarını etkinleştir"
404
 
405
  # @ crayon-syntax-highlighter
406
- #: ../crayon_settings_wp.class.php:770
407
  msgid "Display line numbers by default"
408
  msgstr "Varsayılan olarak satır numaralarını göster"
409
 
410
  # @ crayon-syntax-highlighter
411
- #: ../crayon_settings_wp.class.php:771
412
  msgid "Enable line number toggling"
413
  msgstr "Satır numaraları geçişi etkin"
414
 
415
  # @ crayon-syntax-highlighter
416
- #: ../crayon_settings_wp.class.php:772
417
  msgid "Wrap lines by default"
418
  msgstr "Varsayılan olarak satırları sar"
419
 
420
  # @ crayon-syntax-highlighter
421
- #: ../crayon_settings_wp.class.php:773
422
  msgid "Enable line wrap toggling"
423
  msgstr "Satır sarıma geçişi etkin"
424
 
425
  # @ crayon-syntax-highlighter
426
- #: ../crayon_settings_wp.class.php:774
427
  msgid "Start line numbers from"
428
  msgstr "Satır numarasını buradan başlat"
429
 
430
  # @ crayon-syntax-highlighter
431
- #: ../crayon_settings_wp.class.php:785
432
  msgid "When no language is provided, use the fallback"
433
  msgstr "Belirlenmiş bir dil olmadığında son çareyi kullan"
434
 
435
  # @ crayon-syntax-highlighter
436
- #: ../crayon_settings_wp.class.php:791
437
  #, php-format
438
  msgid "%d language has been detected."
439
  msgstr "%d dil tespit edildi."
440
 
441
  # @ crayon-syntax-highlighter
442
- #: ../crayon_settings_wp.class.php:792
443
  msgid "Parsing was successful"
444
  msgstr "Ayrıştırma başarılı"
445
 
446
  # @ crayon-syntax-highlighter
447
- #: ../crayon_settings_wp.class.php:792
448
  msgid "Parsing was unsuccessful"
449
  msgstr "Ayrıştırma başarılı değil"
450
 
451
  # @ crayon-syntax-highlighter
452
- #: ../crayon_settings_wp.class.php:798
453
  #, php-format
454
  msgid "The selected language with id %s could not be loaded"
455
  msgstr "ID %s ile seçilen dil yüklenemedi"
456
 
457
  # @ crayon-syntax-highlighter
458
- #: ../crayon_settings_wp.class.php:801
459
  msgid "Show Languages"
460
  msgstr "Dilleri Göster"
461
 
462
- #: ../crayon_settings_wp.class.php:837
463
  msgid "Show Crayon Posts"
464
  msgstr "Crayon Yazıları Göster"
465
 
466
- #: ../crayon_settings_wp.class.php:838
467
  msgid "Refresh"
468
  msgstr "Yenile"
469
 
470
- #: ../crayon_settings_wp.class.php:863
471
  msgid "ID"
472
  msgstr "ID"
473
 
474
  # @ crayon-syntax-highlighter
475
- #: ../crayon_settings_wp.class.php:863
476
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:179
477
- #: ../util/theme-editor/theme_editor.php:304
478
  msgid "Title"
479
  msgstr "Başlık"
480
 
481
- #: ../crayon_settings_wp.class.php:863
482
  msgid "Posted"
483
  msgstr "Yayınlandı"
484
 
485
- #: ../crayon_settings_wp.class.php:863
486
  msgid "Modifed"
487
  msgstr "Değiştirildi"
488
 
489
- #: ../crayon_settings_wp.class.php:863
490
  msgid "Contains Legacy Tags?"
491
  msgstr "Eski Etiketleri İçersin?"
492
 
493
- #: ../crayon_settings_wp.class.php:978
494
  msgid "Edit"
495
  msgstr "Düzenle"
496
 
497
- #: ../crayon_settings_wp.class.php:978
498
- #: ../util/theme-editor/theme_editor.php:198
499
  msgid "Duplicate"
500
  msgstr "Çoğalt"
501
 
502
- #: ../crayon_settings_wp.class.php:978
503
  msgid "Submit"
504
  msgstr "Gönder"
505
 
506
- #: ../crayon_settings_wp.class.php:979
507
- #: ../util/theme-editor/theme_editor.php:195
508
  msgid "Delete"
509
  msgstr "Sil"
510
 
511
  # @ crayon-syntax-highlighter
512
- #: ../crayon_settings_wp.class.php:981
513
  msgid "Loading..."
514
  msgstr "Yükleniyor..."
515
 
516
- #: ../crayon_settings_wp.class.php:983
517
  msgid "Duplicate a Stock Theme into a User Theme to allow editing."
518
  msgstr ""
519
  "Düzenleyebilmek için, bir Kullanıcı Teması içine bir Hazır Tema çoğaltın."
520
 
521
  # @ crayon-syntax-highlighter
522
- #: ../crayon_settings_wp.class.php:994
523
  #, php-format
524
  msgid ""
525
  "Change the %1$sfallback language%2$s to change the sample code or %3$schange "
@@ -529,138 +538,152 @@ msgstr ""
529
  "el ile%4$s değiştirin. 5-7 satırlar işaretli."
530
 
531
  # @ crayon-syntax-highlighter
532
- #: ../crayon_settings_wp.class.php:1001
533
  msgid "Enable Live Preview"
534
  msgstr "Ön izleme etkin"
535
 
536
  # @ crayon-syntax-highlighter
537
- #: ../crayon_settings_wp.class.php:1003
538
  msgid "Enqueue themes in the header (more efficient)."
539
  msgstr "Temaları header içinde kuyrukla (daha etkin)."
540
 
541
  # @ crayon-syntax-highlighter
542
- #: ../crayon_settings_wp.class.php:1006
543
  #, php-format
544
  msgid "The selected theme with id %s could not be loaded"
545
  msgstr "ID %s ile seçilen tema yüklenemedi"
546
 
 
 
 
 
547
  # @ crayon-syntax-highlighter
548
- #: ../crayon_settings_wp.class.php:1018
549
  msgid "Custom Font Size"
550
  msgstr "Kişisel Font Boyutu"
551
 
552
  # @ crayon-syntax-highlighter
553
- #: ../crayon_settings_wp.class.php:1023
 
 
 
 
 
554
  #, php-format
555
  msgid "The selected font with id %s could not be loaded"
556
  msgstr "ID %s ile seçilen font yüklenemedi"
557
 
558
  # @ crayon-syntax-highlighter
559
- #: ../crayon_settings_wp.class.php:1029
560
  msgid "Enqueue fonts in the header (more efficient)."
561
  msgstr "Fontları header içinde kuyrukla (daha etkin)."
562
 
563
  # @ crayon-syntax-highlighter
564
- #: ../crayon_settings_wp.class.php:1034
565
  msgid "Enable plain code view and display"
566
  msgstr "Düz kod görünümü ve görüntüleme etkin"
567
 
568
  # @ crayon-syntax-highlighter
569
- #: ../crayon_settings_wp.class.php:1037
570
  msgid "Enable plain code toggling"
571
  msgstr "Düz kod geçişi etkin"
572
 
573
  # @ crayon-syntax-highlighter
574
- #: ../crayon_settings_wp.class.php:1038
575
  msgid "Show the plain code by default"
576
  msgstr "Düz kodu varsayılan olarak göster"
577
 
578
  # @ crayon-syntax-highlighter
579
- #: ../crayon_settings_wp.class.php:1039
580
  msgid "Enable code copy/paste"
581
  msgstr "Kod kopyala/yapıştır etkin"
582
 
583
  # @ crayon-syntax-highlighter
584
- #: ../crayon_settings_wp.class.php:1041
585
  msgid "Enable opening code in a window"
586
  msgstr "Kodları bir pencerede açma etkin"
587
 
588
  # @ crayon-syntax-highlighter
589
- #: ../crayon_settings_wp.class.php:1042
590
  msgid "Always display scrollbars"
591
  msgstr "Kaydırma çubuğu her zaman göster"
592
 
593
- #: ../crayon_settings_wp.class.php:1043
594
  msgid "Minimize code"
595
  msgstr "Kodu küçült"
596
 
597
- #: ../crayon_settings_wp.class.php:1044
598
  msgid "Expand code beyond page borders on mouseover"
599
  msgstr "Fare üzerindeyken sayfa sınırları dışında kodu genişlet"
600
 
601
- #: ../crayon_settings_wp.class.php:1045
602
  msgid "Enable code expanding toggling when possible"
603
  msgstr "Mümkün olduğunda kod genişletme geçişlerini etkinleştir"
604
 
605
  # @ crayon-syntax-highlighter
606
- #: ../crayon_settings_wp.class.php:1048
607
  msgid "Decode HTML entities in code"
608
  msgstr "HTML varlıkları kod içinde çöz"
609
 
610
  # @ crayon-syntax-highlighter
611
- #: ../crayon_settings_wp.class.php:1050
612
  msgid "Decode HTML entities in attributes"
613
  msgstr "HTML varlıkları nitelikler içinde çöz"
614
 
615
  # @ crayon-syntax-highlighter
616
- #: ../crayon_settings_wp.class.php:1052
617
  msgid "Remove whitespace surrounding the shortcode content"
618
  msgstr "Kısakod içeriğini çevreleyen beyaz alanları kaldır"
619
 
620
  # @ crayon-syntax-highlighter
621
- #: ../crayon_settings_wp.class.php:1054
622
  msgid "Allow Mixed Language Highlighting with delimiters and tags."
623
  msgstr "Sınırlayıcılar ve etiketler ile Karışık Dil Vurgulamaya izin ver."
624
 
625
  # @ crayon-syntax-highlighter
626
- #: ../crayon_settings_wp.class.php:1056
627
  msgid "Show Mixed Language Icon (+)"
628
  msgstr "Karışık Dil Simgesini Göster (+)"
629
 
630
  # @ crayon-syntax-highlighter
631
- #: ../crayon_settings_wp.class.php:1058
632
  msgid "Tab size in spaces"
633
  msgstr "Boşluk sekme boyutu"
634
 
635
- #: ../crayon_settings_wp.class.php:1060
636
  msgid "Blank lines before code:"
637
  msgstr "Kod öncesi boş satırlar:"
638
 
639
- #: ../crayon_settings_wp.class.php:1062
640
  msgid "Blank lines after code:"
641
  msgstr "Kod sonrası boş satırlar:"
642
 
643
  # @ crayon-syntax-highlighter
644
- #: ../crayon_settings_wp.class.php:1067
645
  msgid "Capture Inline Tags"
646
  msgstr "Satır içi Etiketleri Yakala"
647
 
648
  # @ crayon-syntax-highlighter
649
- #: ../crayon_settings_wp.class.php:1068
650
  msgid "Wrap Inline Tags"
651
  msgstr "Satıriçi Etiketleri Sar"
652
 
653
  # @ crayon-syntax-highlighter
654
- #: ../crayon_settings_wp.class.php:1069
 
 
 
 
 
655
  msgid "Capture `backquotes` as &lt;code&gt;"
656
  msgstr "&lt;code&gt; olarak `backquotes` yakalayın"
657
 
658
  # @ crayon-syntax-highlighter
659
- #: ../crayon_settings_wp.class.php:1070
660
  msgid "Capture &lt;pre&gt; tags as Crayons"
661
  msgstr "&lt;pre&gt; etiketleri Crayons olarak yakala"
662
 
663
- #: ../crayon_settings_wp.class.php:1072
664
  #, php-format
665
  msgid ""
666
  "Using this markup for Mini Tags and Inline tags is now %sdepreciated%s! Use "
@@ -671,22 +694,22 @@ msgstr ""
671
  "kullanın ve eski etiketleri dönüştürün."
672
 
673
  # @ crayon-syntax-highlighter
674
- #: ../crayon_settings_wp.class.php:1073
675
  msgid "Capture Mini Tags like [php][/php] as Crayons."
676
  msgstr "Crayons olarak [php][/php] gibi küçük etiketleri yakala."
677
 
678
  # @ crayon-syntax-highlighter
679
- #: ../crayon_settings_wp.class.php:1074
680
  msgid "Capture Inline Tags like {php}{/php} inside sentences."
681
  msgstr "Cümle içinde {php}{/php} gibi satıriçi etiketleri yakalayın."
682
 
683
  # @ crayon-syntax-highlighter
684
- #: ../crayon_settings_wp.class.php:1075
685
  msgid "Enable [plain][/plain] tag."
686
  msgstr "[plain][/plain] etiketi etkin."
687
 
688
  # @ crayon-syntax-highlighter
689
- #: ../crayon_settings_wp.class.php:1080
690
  msgid ""
691
  "When loading local files and a relative path is given for the URL, use the "
692
  "absolute path"
@@ -695,24 +718,24 @@ msgstr ""
695
  "yolu kullan"
696
 
697
  # @ crayon-syntax-highlighter
698
- #: ../crayon_settings_wp.class.php:1083
699
  msgid "Followed by your relative URL."
700
  msgstr "Bağlantılı URL tarafından izlendi."
701
 
702
- #: ../crayon_settings_wp.class.php:1090
703
  msgid "Convert Legacy Tags"
704
  msgstr "Eski Etiketleri Dönüştür"
705
 
706
- #: ../crayon_settings_wp.class.php:1093
707
  msgid "No Legacy Tags Found"
708
  msgstr "Eski Etiketler Bulunamadı"
709
 
710
- #: ../crayon_settings_wp.class.php:1097
711
  msgid "Encode"
712
  msgstr "Kodla"
713
 
714
  # @ crayon-syntax-highlighter
715
- #: ../crayon_settings_wp.class.php:1099
716
  #, php-format
717
  msgid ""
718
  "Use %s to separate setting names from values in the &lt;pre&gt; class "
@@ -721,7 +744,7 @@ msgstr ""
721
  "%s kullanarak &lt;pre&gt; sınıf niteliği içinde ayar adlarını değerlerden "
722
  "ayır"
723
 
724
- #: ../crayon_settings_wp.class.php:1102
725
  msgid ""
726
  "Display the Tag Editor in any TinyMCE instances on the frontend (e.g. "
727
  "bbPress)"
@@ -729,150 +752,150 @@ msgstr ""
729
  "Önyüzdeki herhangi bir TinyMCE örneğinde Etiket Düzenleyicisini göster (örn. "
730
  "bbPress)"
731
 
732
- #: ../crayon_settings_wp.class.php:1103
733
  msgid "Display Tag Editor settings on the frontend"
734
  msgstr "Önyüzde Etiket Düzenleyici ayarlarını göster"
735
 
736
  # @ crayon-syntax-highlighter
737
- #: ../crayon_settings_wp.class.php:1107
738
  msgid "Clear the cache used to store remote code requests"
739
  msgstr "Uzak kod isteklerini depolamak için ön belleği temizle"
740
 
741
  # @ crayon-syntax-highlighter
742
- #: ../crayon_settings_wp.class.php:1109
743
  msgid "Clear Now"
744
  msgstr "Şimdi Temizle"
745
 
746
  # @ crayon-syntax-highlighter
747
- #: ../crayon_settings_wp.class.php:1110
748
  msgid "Attempt to load Crayon's CSS and JavaScript only when needed"
749
  msgstr "Sadece ihtiyaç olduğunda Crayon CSS ve JavaScript yüklemeyi dene"
750
 
751
  # @ crayon-syntax-highlighter
752
- #: ../crayon_settings_wp.class.php:1111
753
  msgid "Disable enqueuing for page templates that may contain The Loop."
754
  msgstr "Döngü içeren sayfa şablonları için kuyruklama devre dışı."
755
 
756
  # @ crayon-syntax-highlighter
757
- #: ../crayon_settings_wp.class.php:1112
758
  msgid "Allow Crayons inside comments"
759
  msgstr "Yorum içinde Crayons izini verin"
760
 
761
  # @ crayon-syntax-highlighter
762
- #: ../crayon_settings_wp.class.php:1113
763
  msgid "Remove Crayons from excerpts"
764
  msgstr "Crayon'ı alıntılardan çıkar"
765
 
766
  # @ crayon-syntax-highlighter
767
- #: ../crayon_settings_wp.class.php:1114
768
  msgid "Load Crayons only from the main Wordpress query"
769
  msgstr "Sadece ana Wordpress sorgusundan Crayons yükle"
770
 
771
  # @ crayon-syntax-highlighter
772
- #: ../crayon_settings_wp.class.php:1115
773
  msgid "Disable mouse gestures for touchscreen devices (eg. MouseOver)"
774
  msgstr ""
775
  "Dokunmatik cihazlar için fare hareketlerini devre dışı bırak (örn. Fare "
776
  "Üzerinde)"
777
 
778
  # @ crayon-syntax-highlighter
779
- #: ../crayon_settings_wp.class.php:1116
780
  msgid "Disable animations"
781
  msgstr "Animasyonlar devre dışı"
782
 
783
  # @ crayon-syntax-highlighter
784
- #: ../crayon_settings_wp.class.php:1117
785
  msgid "Disable runtime stats"
786
  msgstr "İşlem istatistikleri devre dışı"
787
 
788
  # @ crayon-syntax-highlighter
789
- #: ../crayon_settings_wp.class.php:1123
790
  msgid "Log errors for individual Crayons"
791
  msgstr "Özgün Crayons hataları günlükle"
792
 
793
  # @ crayon-syntax-highlighter
794
- #: ../crayon_settings_wp.class.php:1124
795
  msgid "Log system-wide errors"
796
  msgstr "Sistem-geneli hataları günlükle"
797
 
798
  # @ crayon-syntax-highlighter
799
- #: ../crayon_settings_wp.class.php:1125
800
  msgid "Display custom message for errors"
801
  msgstr "Hatalar için kişisel mesaj göster"
802
 
803
  # @ crayon-syntax-highlighter
804
- #: ../crayon_settings_wp.class.php:1137
805
  msgid "Show Log"
806
  msgstr "Günlüğü Göster"
807
 
808
  # @ crayon-syntax-highlighter
809
- #: ../crayon_settings_wp.class.php:1137
810
  msgid "Hide Log"
811
  msgstr "Günlüğü Gizle"
812
 
813
  # @ crayon-syntax-highlighter
814
- #: ../crayon_settings_wp.class.php:1139
815
  msgid "Clear Log"
816
  msgstr "Günlüğü Temizle"
817
 
818
  # @ crayon-syntax-highlighter
819
- #: ../crayon_settings_wp.class.php:1140
820
  msgid "Email Admin"
821
  msgstr "Yönetici E-Posta"
822
 
823
  # @ crayon-syntax-highlighter
824
- #: ../crayon_settings_wp.class.php:1142
825
  msgid "Email Developer"
826
  msgstr "Geliştirici E-Posta"
827
 
828
  # @ crayon-syntax-highlighter
829
- #: ../crayon_settings_wp.class.php:1144
830
  msgid "The log is currently empty."
831
  msgstr "Günlük şu anda boş."
832
 
833
  # @ crayon-syntax-highlighter
834
- #: ../crayon_settings_wp.class.php:1146
835
  msgid "The log file exists and is writable."
836
  msgstr "Günlük dosyası var ve yazılabilir."
837
 
838
  # @ crayon-syntax-highlighter
839
- #: ../crayon_settings_wp.class.php:1146
840
  msgid "The log file exists and is not writable."
841
  msgstr "Günlük dosyası var ve yazılabilir değil."
842
 
843
  # @ crayon-syntax-highlighter
844
- #: ../crayon_settings_wp.class.php:1148
845
  msgid "The log file does not exist and is not writable."
846
  msgstr "Günlük dosyası yok ve yazılabilir değil."
847
 
848
  # @ crayon-syntax-highlighter
849
- #: ../crayon_settings_wp.class.php:1158
850
  msgid "Version"
851
  msgstr "Sürüm"
852
 
853
  # @ crayon-syntax-highlighter
854
- #: ../crayon_settings_wp.class.php:1160
855
  msgid "Developer"
856
  msgstr "Geliştirici"
857
 
858
  # @ crayon-syntax-highlighter
859
- #: ../crayon_settings_wp.class.php:1161
860
  msgid "Translators"
861
  msgstr "Çevirmenler"
862
 
863
  # @ crayon-syntax-highlighter
864
- #: ../crayon_settings_wp.class.php:1204
865
  msgid "?"
866
  msgstr "?"
867
 
868
  # @ crayon-syntax-highlighter
869
- #: ../crayon_settings_wp.class.php:1211
870
- #: ../util/theme-editor/theme_editor.php:326
871
  msgid "Theme Editor"
872
  msgstr "Tema Düzenleyici"
873
 
874
  # @ crayon-syntax-highlighter
875
- #: ../crayon_settings_wp.class.php:1212
876
  msgid "Donate"
877
  msgstr "Bağış"
878
 
@@ -893,81 +916,81 @@ msgstr "Ekle"
893
 
894
  # @ crayon-syntax-highlighter
895
  #: ../util/tag-editor/crayon_tag_editor_wp.class.php:65
896
- #: ../util/theme-editor/theme_editor.php:342
897
  msgid "Save"
898
  msgstr "Kaydet"
899
 
900
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:170
901
  msgid "OK"
902
  msgstr "Tamam"
903
 
904
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:172
905
  msgid "Cancel"
906
  msgstr "İptal"
907
 
908
  # @ crayon-syntax-highlighter
909
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:181
910
  msgid "A short description"
911
  msgstr "Kısa açıklama"
912
 
913
  # @ crayon-syntax-highlighter
914
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:183
915
- #: ../util/theme-editor/theme_editor.php:308
916
  msgid "Inline"
917
  msgstr "Satıriçi"
918
 
919
  # @ crayon-syntax-highlighter
920
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:185
921
  msgid "Don't Highlight"
922
  msgstr "Vurgulama"
923
 
924
  # @ crayon-syntax-highlighter
925
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:190
926
- #: ../util/theme-editor/theme_editor.php:312
927
  msgid "Language"
928
  msgstr "Dil"
929
 
930
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:193
931
  msgid "Line Range"
932
  msgstr "Satır Aralığı"
933
 
934
  # @ crayon-syntax-highlighter
935
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:194
936
  msgid "(e.g. 3-5 or 3)"
937
  msgstr "(örn. 1,2,3-5)"
938
 
939
  # @ crayon-syntax-highlighter
940
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:195
941
  msgid "Marked Lines"
942
  msgstr "İşaretli Satırlar"
943
 
944
  # @ crayon-syntax-highlighter
945
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:196
946
  msgid "(e.g. 1,2,3-5)"
947
  msgstr "(örn. 1,2,3-5)"
948
 
949
  # @ crayon-syntax-highlighter
950
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:205
951
  msgid "Clear"
952
  msgstr "Temizle"
953
 
954
  # @ crayon-syntax-highlighter
955
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:209
956
  msgid "Paste your code here, or type it in manually."
957
  msgstr "Kodu buraya yapıştır, ya da onu el ile yaz."
958
 
959
  # @ crayon-syntax-highlighter
960
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:213
961
  msgid "URL"
962
  msgstr "URL"
963
 
964
  # @ crayon-syntax-highlighter
965
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:215
966
  msgid "Relative local path or absolute URL"
967
  msgstr "İlgili yerel yol veya tam URL"
968
 
969
  # @ crayon-syntax-highlighter
970
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:218
971
  msgid ""
972
  "If the URL fails to load, the code above will be shown instead. If no code "
973
  "exists, an error is shown."
@@ -976,7 +999,7 @@ msgstr ""
976
  "herhangi bir kod yoksa, bir hata görünür."
977
 
978
  # @ crayon-syntax-highlighter
979
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:220
980
  #, php-format
981
  msgid ""
982
  "If a relative local path is given it will be appended to %s - which is "
@@ -986,17 +1009,17 @@ msgstr ""
986
  "Ayarlar &gt; Dosyalar%s içinde belirtildiği gibi."
987
 
988
  # @ crayon-syntax-highlighter
989
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:247
990
  msgid "Change the following settings to override their global values."
991
  msgstr "Genel değerleri geçersiz kılmak için aşağıdaki ayarları değiştirin."
992
 
993
  # @ crayon-syntax-highlighter
994
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:249
995
  msgid "Only changes (shown yellow) are applied."
996
  msgstr "Sadece değişiklikler (sarı ile gösterilir) uygulanır."
997
 
998
  # @ crayon-syntax-highlighter
999
- #: ../util/tag-editor/crayon_tag_editor_wp.class.php:251
1000
  #, php-format
1001
  msgid ""
1002
  "Future changes to the global settings under %sCrayon &gt; Settings%s won't "
@@ -1005,247 +1028,256 @@ msgstr ""
1005
  "%sCrayon &gt; Ayarlar%s altındaki genel ayarların gelecek değişiklikleri, "
1006
  "geçersiz ayarları etkilemez."
1007
 
1008
- #: ../util/theme-editor/theme_editor.php:191
1009
  msgid "User-Defined Theme"
1010
  msgstr "Kullanıcı-Tanımlı Tema"
1011
 
1012
  # @ crayon-syntax-highlighter
1013
- #: ../util/theme-editor/theme_editor.php:192
1014
  msgid "Stock Theme"
1015
  msgstr "Hazır Tema"
1016
 
1017
- #: ../util/theme-editor/theme_editor.php:193
1018
  msgid "Success!"
1019
  msgstr "Başarılı!"
1020
 
1021
- #: ../util/theme-editor/theme_editor.php:194
1022
  msgid "Failed!"
1023
  msgstr "Başarısız!"
1024
 
1025
- #: ../util/theme-editor/theme_editor.php:196
1026
  #, php-format
1027
  msgid "Are you sure you want to delete the \"%s\" theme?"
1028
  msgstr "\"%s\" temasını silmek istediğinizden emin misiniz?"
1029
 
1030
- #: ../util/theme-editor/theme_editor.php:197
1031
  msgid "Delete failed!"
1032
  msgstr "Silme başarısız!"
1033
 
1034
- #: ../util/theme-editor/theme_editor.php:199
1035
  msgid "New Name"
1036
  msgstr "Yeni İsim"
1037
 
1038
- #: ../util/theme-editor/theme_editor.php:200
1039
  msgid "Duplicate failed!"
1040
  msgstr "Çoğaltma başarısız!"
1041
 
1042
- #: ../util/theme-editor/theme_editor.php:201
1043
  msgid "Please check the log for details."
1044
  msgstr "Lütfen ayrıntılar için günlüğü kontrol edin."
1045
 
1046
- #: ../util/theme-editor/theme_editor.php:202
1047
  msgid "Are you sure you want to discard all changes?"
1048
  msgstr "Tüm değişiklikleri iptal etmek istediğinizden emin misiniz?"
1049
 
1050
- #: ../util/theme-editor/theme_editor.php:203
1051
  #, php-format
1052
  msgid "Editing Theme: %s"
1053
  msgstr "Tema Düzenleme: %s"
1054
 
1055
- #: ../util/theme-editor/theme_editor.php:204
1056
  #, php-format
1057
  msgid "Creating Theme: %s"
1058
  msgstr "Tema Oluşturma: %s"
1059
 
1060
- #: ../util/theme-editor/theme_editor.php:205
1061
  msgid "Submit Your Theme"
1062
  msgstr "Temanızı Gönderin"
1063
 
1064
- #: ../util/theme-editor/theme_editor.php:206
1065
- msgid "Submit your User Theme for inclusion as a Stock Theme in Crayon!"
 
 
 
1066
  msgstr ""
1067
- "Crayon içine bir Hazır Tema olarak eklenmesi için Kullanıcı Temanızı "
1068
- "gönderin!"
 
1069
 
1070
- #: ../util/theme-editor/theme_editor.php:207
1071
  msgid "Message"
1072
  msgstr "Mesaj"
1073
 
1074
- #: ../util/theme-editor/theme_editor.php:208
1075
  msgid "Please include this theme in Crayon!"
1076
  msgstr "Lütfen bu temayı Crayon içine dahil edin!"
1077
 
1078
  # @ crayon-syntax-highlighter
1079
- #: ../util/theme-editor/theme_editor.php:209
1080
  msgid "Submit was successful."
1081
  msgstr "Gönderme başarılı."
1082
 
1083
- #: ../util/theme-editor/theme_editor.php:210
1084
  msgid "Submit failed!"
1085
  msgstr "Gönderme başarısız!"
1086
 
1087
- #: ../util/theme-editor/theme_editor.php:284
1088
  msgid "Information"
1089
  msgstr "Bilgi"
1090
 
1091
  # @ crayon-syntax-highlighter
1092
- #: ../util/theme-editor/theme_editor.php:285
1093
  msgid "Highlighting"
1094
  msgstr "Vurgulama"
1095
 
1096
- #: ../util/theme-editor/theme_editor.php:286
1097
  msgid "Frame"
1098
  msgstr "Çerçeve"
1099
 
1100
  # @ crayon-syntax-highlighter
1101
- #: ../util/theme-editor/theme_editor.php:288
1102
  msgid "Line Numbers"
1103
  msgstr "Satır Numaralarına Geç"
1104
 
1105
- #: ../util/theme-editor/theme_editor.php:291
1106
  msgid "Background"
1107
  msgstr "Arkaplan"
1108
 
1109
- #: ../util/theme-editor/theme_editor.php:292
1110
  msgid "Text"
1111
  msgstr "Metin"
1112
 
1113
- #: ../util/theme-editor/theme_editor.php:293
1114
  msgid "Border"
1115
  msgstr "Kenarlık"
1116
 
1117
- #: ../util/theme-editor/theme_editor.php:294
1118
  msgid "Top Border"
1119
  msgstr "Üst Kenar"
1120
 
1121
  # @ crayon-syntax-highlighter
1122
- #: ../util/theme-editor/theme_editor.php:295
1123
  msgid "Bottom Border"
1124
  msgstr "Alt Kenarlık"
1125
 
1126
- #: ../util/theme-editor/theme_editor.php:296
1127
  msgid "Right Border"
1128
  msgstr "Sağ Kenarlık"
1129
 
1130
- #: ../util/theme-editor/theme_editor.php:298
1131
  msgid "Hover"
1132
  msgstr "Vurgu"
1133
 
1134
- #: ../util/theme-editor/theme_editor.php:299
1135
  msgid "Active"
1136
  msgstr "Aktif"
1137
 
1138
- #: ../util/theme-editor/theme_editor.php:300
1139
  msgid "Pressed"
1140
  msgstr "Sıkıştırıldı"
1141
 
1142
- #: ../util/theme-editor/theme_editor.php:301
1143
  msgid "Pressed & Hover"
1144
  msgstr "Sıkıştırma & Vurgu"
1145
 
1146
- #: ../util/theme-editor/theme_editor.php:302
1147
  msgid "Pressed & Active"
1148
  msgstr "Sıkıştırma & Aktif"
1149
 
1150
- #: ../util/theme-editor/theme_editor.php:305
1151
  msgid "Buttons"
1152
  msgstr "Butonlar"
1153
 
1154
- #: ../util/theme-editor/theme_editor.php:307
1155
  msgid "Normal"
1156
  msgstr "Normal"
1157
 
1158
- #: ../util/theme-editor/theme_editor.php:309
1159
  msgid "Striped"
1160
  msgstr "Şeritli"
1161
 
1162
  # @ crayon-syntax-highlighter
1163
- #: ../util/theme-editor/theme_editor.php:310
1164
  msgid "Marked"
1165
  msgstr "İşaretlendi"
1166
 
1167
- #: ../util/theme-editor/theme_editor.php:311
1168
  msgid "Striped & Marked"
1169
  msgstr "Şeritli & İşaretli"
1170
 
1171
  # @ crayon-syntax-highlighter
1172
- #: ../util/theme-editor/theme_editor.php:341
1173
  msgid "Back To Settings"
1174
  msgstr "Ayarlara Geri Dön"
1175
 
1176
- #: ../util/theme-editor/theme_editor.php:380
1177
  msgid "Comment"
1178
  msgstr "Yorum"
1179
 
1180
- #: ../util/theme-editor/theme_editor.php:381
1181
  msgid "String"
1182
  msgstr "Dize"
1183
 
1184
- #: ../util/theme-editor/theme_editor.php:382
1185
  msgid "Preprocessor"
1186
  msgstr "Ön işlemci"
1187
 
1188
  # @ crayon-syntax-highlighter
1189
- #: ../util/theme-editor/theme_editor.php:383
1190
  msgid "Tag"
1191
  msgstr "Etiket"
1192
 
1193
- #: ../util/theme-editor/theme_editor.php:384
1194
  msgid "Keyword"
1195
  msgstr "Anahtar kelime"
1196
 
1197
- #: ../util/theme-editor/theme_editor.php:385
1198
  msgid "Statement"
1199
  msgstr "Açıklama"
1200
 
1201
- #: ../util/theme-editor/theme_editor.php:386
1202
  msgid "Reserved"
1203
  msgstr "Rezerve"
1204
 
1205
- #: ../util/theme-editor/theme_editor.php:387
1206
  msgid "Type"
1207
  msgstr "Tür"
1208
 
1209
- #: ../util/theme-editor/theme_editor.php:388
1210
  msgid "Modifier"
1211
  msgstr "Değiştirici"
1212
 
1213
- #: ../util/theme-editor/theme_editor.php:389
1214
  msgid "Identifier"
1215
  msgstr "Tanımlayıcı"
1216
 
1217
- #: ../util/theme-editor/theme_editor.php:390
1218
  msgid "Entity"
1219
  msgstr "Öğe"
1220
 
1221
- #: ../util/theme-editor/theme_editor.php:391
1222
  msgid "Variable"
1223
  msgstr "Değişken"
1224
 
1225
- #: ../util/theme-editor/theme_editor.php:392
1226
  msgid "Constant"
1227
  msgstr "Sabit"
1228
 
1229
- #: ../util/theme-editor/theme_editor.php:393
1230
  msgid "Operator"
1231
  msgstr "Operatör"
1232
 
1233
- #: ../util/theme-editor/theme_editor.php:394
1234
  msgid "Symbol"
1235
  msgstr "Sembol"
1236
 
1237
- #: ../util/theme-editor/theme_editor.php:395
1238
  msgid "Notation"
1239
  msgstr "Notasyon"
1240
 
1241
- #: ../util/theme-editor/theme_editor.php:396
1242
  msgid "Faded"
1243
  msgstr "Soluk"
1244
 
1245
- #: ../util/theme-editor/theme_editor.php:397
1246
  msgid "HTML"
1247
  msgstr "HTML"
1248
 
1249
- #: ../util/theme-editor/theme_editor.php:530
1250
  msgid "(Used for Copy/Paste)"
1251
  msgstr "(Kopyala/Yapıştır için kullanılır)"
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: crayon-syntax-highlighter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-03-26 06:24+0200\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: HakanEr <hakanerwptr@gmail.com>\n"
8
  "Language-Team: hakaner <hakanerwptr@gmail.com>\n"
17
  "crayon__;crayon_e;crayon_n\n"
18
  "X-Poedit-Basepath: .\n"
19
  "X-Textdomain-Support: yes\n"
20
+ "X-Generator: Poedit 1.5.5\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPath-1: ..\n"
23
 
24
  # @ crayon-syntax-highlighter
25
+ #: ../crayon_formatter.class.php:287
26
  msgid "Toggle Line Numbers"
27
  msgstr "Satır Numaralarına Geç"
28
 
29
  # @ crayon-syntax-highlighter
30
+ #: ../crayon_formatter.class.php:291
31
  msgid "Toggle Plain Code"
32
  msgstr "Düz Koda Geç"
33
 
34
  # @ crayon-syntax-highlighter
35
+ #: ../crayon_formatter.class.php:295
36
  msgid "Toggle Line Wrap"
37
  msgstr "Satır Sarımına Geç"
38
 
39
  # @ crayon-syntax-highlighter
40
+ #: ../crayon_formatter.class.php:299 ../crayon_formatter.class.php:303
41
  msgid "Expand Code"
42
  msgstr "Kodu Genişlet"
43
 
44
  # @ crayon-syntax-highlighter
45
+ #: ../crayon_formatter.class.php:307
46
  msgid "Open Code In New Window"
47
  msgstr "Kodu Yeni Pencerede Aç"
48
 
49
  # @ crayon-syntax-highlighter
50
+ #: ../crayon_formatter.class.php:334
51
  msgid "Contains Mixed Languages"
52
  msgstr "Karışık Diller içerir"
53
 
54
  # @ crayon-syntax-highlighter
55
+ #: ../crayon_settings.class.php:150
56
  msgid "Hourly"
57
  msgstr "Saatlik"
58
 
59
  # @ crayon-syntax-highlighter
60
+ #: ../crayon_settings.class.php:150
61
  msgid "Daily"
62
  msgstr "Günlük"
63
 
64
  # @ crayon-syntax-highlighter
65
+ #: ../crayon_settings.class.php:151
66
  msgid "Weekly"
67
  msgstr "Haftalık"
68
 
69
  # @ crayon-syntax-highlighter
70
+ #: ../crayon_settings.class.php:151
71
  msgid "Monthly"
72
  msgstr "Aylık"
73
 
74
  # @ crayon-syntax-highlighter
75
+ #: ../crayon_settings.class.php:152
76
  msgid "Immediately"
77
  msgstr "Hemen"
78
 
79
  # @ crayon-syntax-highlighter
80
+ #: ../crayon_settings.class.php:163 ../crayon_settings.class.php:167
81
  msgid "Max"
82
  msgstr "Max"
83
 
84
  # @ crayon-syntax-highlighter
85
+ #: ../crayon_settings.class.php:163 ../crayon_settings.class.php:167
86
  msgid "Min"
87
  msgstr "Min"
88
 
89
  # @ crayon-syntax-highlighter
90
+ #: ../crayon_settings.class.php:163 ../crayon_settings.class.php:167
91
  msgid "Static"
92
  msgstr "Sabit"
93
 
94
  # @ crayon-syntax-highlighter
95
+ #: ../crayon_settings.class.php:165 ../crayon_settings.class.php:169
96
+ #: ../crayon_settings_wp.class.php:774 ../crayon_settings_wp.class.php:783
97
+ #: ../crayon_settings_wp.class.php:1059 ../crayon_settings_wp.class.php:1061
98
  msgid "Pixels"
99
  msgstr "Piksel"
100
 
101
  # @ crayon-syntax-highlighter
102
+ #: ../crayon_settings.class.php:165 ../crayon_settings.class.php:169
103
  msgid "Percent"
104
  msgstr "Yüzde"
105
 
106
  # @ crayon-syntax-highlighter
107
+ #: ../crayon_settings.class.php:178
108
  msgid "None"
109
  msgstr "Yok"
110
 
111
  # @ crayon-syntax-highlighter
112
+ #: ../crayon_settings.class.php:178
113
  msgid "Left"
114
  msgstr "Sol"
115
 
116
  # @ crayon-syntax-highlighter
117
+ #: ../crayon_settings.class.php:178
118
  msgid "Center"
119
  msgstr "Merkez"
120
 
121
  # @ crayon-syntax-highlighter
122
+ #: ../crayon_settings.class.php:178
123
  msgid "Right"
124
  msgstr "Sağ"
125
 
126
  # @ crayon-syntax-highlighter
127
+ #: ../crayon_settings.class.php:180 ../crayon_settings.class.php:204
128
  msgid "On MouseOver"
129
  msgstr "Fare Üstündeyken"
130
 
131
  # @ crayon-syntax-highlighter
132
+ #: ../crayon_settings.class.php:180 ../crayon_settings.class.php:186
133
  msgid "Always"
134
  msgstr "Herzaman"
135
 
136
  # @ crayon-syntax-highlighter
137
+ #: ../crayon_settings.class.php:180 ../crayon_settings.class.php:186
138
  msgid "Never"
139
  msgstr "Asla"
140
 
141
  # @ crayon-syntax-highlighter
142
+ #: ../crayon_settings.class.php:186
143
  msgid "When Found"
144
  msgstr "Bulunduğunda"
145
 
146
  # @ crayon-syntax-highlighter
147
+ #: ../crayon_settings.class.php:204
148
  msgid "On Double Click"
149
  msgstr "Çift Tık ile aç"
150
 
151
  # @ crayon-syntax-highlighter
152
+ #: ../crayon_settings.class.php:204
153
  msgid "On Single Click"
154
  msgstr "Tek Tık ile aç"
155
 
156
  # @ crayon-syntax-highlighter
157
+ #: ../crayon_settings.class.php:204
158
  msgid "Disable Mouse Events"
159
  msgstr "Fare Etkinliği Devre Dışı"
160
 
161
  # @ crayon-syntax-highlighter
162
+ #: ../crayon_settings.class.php:211
163
  msgid "An error has occurred. Please try again later."
164
  msgstr "Bir hata meydana geldi. Daha sonra tekrar deneyin."
165
 
166
  # @ crayon-syntax-highlighter
167
+ #: ../crayon_settings.class.php:227
168
+ msgid "Inline Tag"
169
+ msgstr "Satıriçi Etiket"
170
+
171
+ #: ../crayon_settings.class.php:227
172
+ msgid "Block Tag"
173
+ msgstr "Blok Etiket"
174
+
175
+ # @ crayon-syntax-highlighter
176
+ #: ../crayon_settings_wp.class.php:53 ../crayon_settings_wp.class.php:210
177
+ #: ../crayon_settings_wp.class.php:1255
178
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:254
179
  msgid "Settings"
180
  msgstr "Ayarlar"
181
 
182
  # @ crayon-syntax-highlighter
183
+ #: ../crayon_settings_wp.class.php:136
184
  #, php-format
185
  msgid "Press %s to Copy, %s to Paste"
186
  msgstr "%s ile Kopyala, %s ile Yapıştır"
187
 
188
  # @ crayon-syntax-highlighter
189
+ #: ../crayon_settings_wp.class.php:137
190
  msgid "Click To Expand Code"
191
  msgstr "Kodu Genişletmek İçin Tıkla"
192
 
193
+ #: ../crayon_settings_wp.class.php:179
194
  msgid "Prompt"
195
  msgstr "Komut İstemi"
196
 
197
+ #: ../crayon_settings_wp.class.php:180
198
  msgid "Value"
199
  msgstr "Değer"
200
 
201
+ #: ../crayon_settings_wp.class.php:181
202
  msgid "Alert"
203
  msgstr "İkaz"
204
 
205
  # @ crayon-syntax-highlighter
206
+ #: ../crayon_settings_wp.class.php:182 ../crayon_settings_wp.class.php:920
207
  msgid "No"
208
  msgstr "Hayır"
209
 
210
+ #: ../crayon_settings_wp.class.php:183 ../crayon_settings_wp.class.php:920
211
  msgid "Yes"
212
  msgstr "Evet"
213
 
214
+ #: ../crayon_settings_wp.class.php:184
215
  msgid "Confirm"
216
  msgstr "Onayla"
217
 
218
  # @ crayon-syntax-highlighter
219
+ #: ../crayon_settings_wp.class.php:185
220
  msgid "Change Code"
221
  msgstr "Kodu Değiştir"
222
 
223
  # @ crayon-syntax-highlighter
224
+ #: ../crayon_settings_wp.class.php:193
225
  msgid "You do not have sufficient permissions to access this page."
226
  msgstr "Bu sayfaya erişmek için yeterli izinlere sahip değilsiniz."
227
 
228
  # @ crayon-syntax-highlighter
229
+ #: ../crayon_settings_wp.class.php:225
230
  msgid "Save Changes"
231
  msgstr "Kaydet"
232
 
233
  # @ crayon-syntax-highlighter
234
+ #: ../crayon_settings_wp.class.php:233
235
  msgid "Reset Settings"
236
  msgstr "Ayarları Sıfırla"
237
 
238
  # @ crayon-syntax-highlighter
239
+ #: ../crayon_settings_wp.class.php:491
240
  msgid "General"
241
  msgstr "Genel"
242
 
243
  # @ crayon-syntax-highlighter
244
+ #: ../crayon_settings_wp.class.php:492
245
  msgid "Theme"
246
  msgstr "Tema"
247
 
248
  # @ crayon-syntax-highlighter
249
+ #: ../crayon_settings_wp.class.php:493
250
  msgid "Font"
251
  msgstr "Font"
252
 
253
  # @ crayon-syntax-highlighter
254
+ #: ../crayon_settings_wp.class.php:494
255
  msgid "Metrics"
256
  msgstr "Ölçüler"
257
 
258
  # @ crayon-syntax-highlighter
259
+ #: ../crayon_settings_wp.class.php:495
260
+ #: ../util/theme-editor/theme_editor.php:299
261
  msgid "Toolbar"
262
  msgstr "Araç Çubuğu"
263
 
264
  # @ crayon-syntax-highlighter
265
+ #: ../crayon_settings_wp.class.php:496
266
+ #: ../util/theme-editor/theme_editor.php:297
267
  msgid "Lines"
268
  msgstr "Satırlar"
269
 
270
  # @ crayon-syntax-highlighter
271
+ #: ../crayon_settings_wp.class.php:497
272
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:214
273
  msgid "Code"
274
  msgstr "Kod"
275
 
276
  # @ crayon-syntax-highlighter
277
+ #: ../crayon_settings_wp.class.php:498
278
  msgid "Tags"
279
  msgstr "Etiketler"
280
 
281
  # @ crayon-syntax-highlighter
282
+ #: ../crayon_settings_wp.class.php:499
283
  msgid "Languages"
284
  msgstr "Diller"
285
 
286
  # @ crayon-syntax-highlighter
287
+ #: ../crayon_settings_wp.class.php:500
288
  msgid "Files"
289
  msgstr "Dosyalar"
290
 
291
+ #: ../crayon_settings_wp.class.php:501
292
  msgid "Posts"
293
  msgstr "Yazılar"
294
 
295
  # @ crayon-syntax-highlighter
296
+ #: ../crayon_settings_wp.class.php:502
297
  msgid "Tag Editor"
298
  msgstr "Etiket Düzenleyici"
299
 
300
  # @ crayon-syntax-highlighter
301
+ #: ../crayon_settings_wp.class.php:503
302
  msgid "Misc"
303
  msgstr "Çeşitli"
304
 
305
  # @ crayon-syntax-highlighter
306
+ #: ../crayon_settings_wp.class.php:506
307
  msgid "Debug"
308
  msgstr "Hata Ayıklama"
309
 
310
  # @ crayon-syntax-highlighter
311
+ #: ../crayon_settings_wp.class.php:507
312
  msgid "Errors"
313
  msgstr "Hatalar"
314
 
315
  # @ crayon-syntax-highlighter
316
+ #: ../crayon_settings_wp.class.php:508
317
  msgid "Log"
318
  msgstr "Günlük"
319
 
320
  # @ crayon-syntax-highlighter
321
+ #: ../crayon_settings_wp.class.php:511
322
  msgid "About"
323
  msgstr "Hakkında"
324
 
325
  # @ crayon-syntax-highlighter
326
+ #: ../crayon_settings_wp.class.php:751
327
  msgid "Height"
328
  msgstr "Yükseklik"
329
 
330
  # @ crayon-syntax-highlighter
331
+ #: ../crayon_settings_wp.class.php:757
332
  msgid "Width"
333
  msgstr "Genişlik"
334
 
335
  # @ crayon-syntax-highlighter
336
+ #: ../crayon_settings_wp.class.php:763
337
  msgid "Top Margin"
338
  msgstr "Üst Boşluk"
339
 
340
  # @ crayon-syntax-highlighter
341
+ #: ../crayon_settings_wp.class.php:764
342
  msgid "Bottom Margin"
343
  msgstr "Alt Boşluk"
344
 
345
  # @ crayon-syntax-highlighter
346
+ #: ../crayon_settings_wp.class.php:765 ../crayon_settings_wp.class.php:770
347
  msgid "Left Margin"
348
  msgstr "Sol Boşluk"
349
 
350
  # @ crayon-syntax-highlighter
351
+ #: ../crayon_settings_wp.class.php:766 ../crayon_settings_wp.class.php:770
352
  msgid "Right Margin"
353
  msgstr "Sağ Boşluk"
354
 
355
  # @ crayon-syntax-highlighter
356
+ #: ../crayon_settings_wp.class.php:776
357
  msgid "Horizontal Alignment"
358
  msgstr "Yatay Hizalama"
359
 
360
  # @ crayon-syntax-highlighter
361
+ #: ../crayon_settings_wp.class.php:779
362
  msgid "Allow floating elements to surround Crayon"
363
  msgstr "Geçişli elementleri Crayon çevrelemeye izin ver"
364
 
365
  # @ crayon-syntax-highlighter
366
+ #: ../crayon_settings_wp.class.php:781
367
  msgid "Inline Margin"
368
  msgstr "Satıriçi Boşluk"
369
 
370
  # @ crayon-syntax-highlighter
371
+ #: ../crayon_settings_wp.class.php:789
372
  msgid "Display the Toolbar"
373
  msgstr "Araç çubuğunu göster"
374
 
375
  # @ crayon-syntax-highlighter
376
+ #: ../crayon_settings_wp.class.php:792
377
  msgid "Overlay the toolbar on code rather than push it down when possible"
378
  msgstr "Araç çubuğunu mümkünse kodları aşağı itmek yerine üstte göster"
379
 
380
  # @ crayon-syntax-highlighter
381
+ #: ../crayon_settings_wp.class.php:793
382
  msgid "Toggle the toolbar on single click when it is overlayed"
383
  msgstr "Araç çubuğu üste çıktığında tek tıkla gizle"
384
 
385
  # @ crayon-syntax-highlighter
386
+ #: ../crayon_settings_wp.class.php:794
387
  msgid "Delay hiding the toolbar on MouseOut"
388
  msgstr "Fare dışa çıktığında araç çubuğunu gizlemek için bekle"
389
 
390
  # @ crayon-syntax-highlighter
391
+ #: ../crayon_settings_wp.class.php:796
392
  msgid "Display the title when provided"
393
  msgstr "Varsa başlığı görüntüle"
394
 
395
  # @ crayon-syntax-highlighter
396
+ #: ../crayon_settings_wp.class.php:797
397
  msgid "Display the language"
398
  msgstr "Dilleri göster"
399
 
400
  # @ crayon-syntax-highlighter
401
+ #: ../crayon_settings_wp.class.php:804
402
  msgid "Display striped code lines"
403
  msgstr "Şeritli kod satırını göster"
404
 
405
  # @ crayon-syntax-highlighter
406
+ #: ../crayon_settings_wp.class.php:805
407
  msgid "Enable line marking for important lines"
408
  msgstr "Önemli satırlar için satır işaretleme etkin"
409
 
410
+ #: ../crayon_settings_wp.class.php:806
411
  msgid "Enable line ranges for showing only parts of code"
412
  msgstr "Kodun sadece bir parçasını gösteren satır aralıklarını etkinleştir"
413
 
414
  # @ crayon-syntax-highlighter
415
+ #: ../crayon_settings_wp.class.php:807
416
  msgid "Display line numbers by default"
417
  msgstr "Varsayılan olarak satır numaralarını göster"
418
 
419
  # @ crayon-syntax-highlighter
420
+ #: ../crayon_settings_wp.class.php:808
421
  msgid "Enable line number toggling"
422
  msgstr "Satır numaraları geçişi etkin"
423
 
424
  # @ crayon-syntax-highlighter
425
+ #: ../crayon_settings_wp.class.php:809
426
  msgid "Wrap lines by default"
427
  msgstr "Varsayılan olarak satırları sar"
428
 
429
  # @ crayon-syntax-highlighter
430
+ #: ../crayon_settings_wp.class.php:810
431
  msgid "Enable line wrap toggling"
432
  msgstr "Satır sarıma geçişi etkin"
433
 
434
  # @ crayon-syntax-highlighter
435
+ #: ../crayon_settings_wp.class.php:811
436
  msgid "Start line numbers from"
437
  msgstr "Satır numarasını buradan başlat"
438
 
439
  # @ crayon-syntax-highlighter
440
+ #: ../crayon_settings_wp.class.php:822
441
  msgid "When no language is provided, use the fallback"
442
  msgstr "Belirlenmiş bir dil olmadığında son çareyi kullan"
443
 
444
  # @ crayon-syntax-highlighter
445
+ #: ../crayon_settings_wp.class.php:828
446
  #, php-format
447
  msgid "%d language has been detected."
448
  msgstr "%d dil tespit edildi."
449
 
450
  # @ crayon-syntax-highlighter
451
+ #: ../crayon_settings_wp.class.php:829
452
  msgid "Parsing was successful"
453
  msgstr "Ayrıştırma başarılı"
454
 
455
  # @ crayon-syntax-highlighter
456
+ #: ../crayon_settings_wp.class.php:829
457
  msgid "Parsing was unsuccessful"
458
  msgstr "Ayrıştırma başarılı değil"
459
 
460
  # @ crayon-syntax-highlighter
461
+ #: ../crayon_settings_wp.class.php:835
462
  #, php-format
463
  msgid "The selected language with id %s could not be loaded"
464
  msgstr "ID %s ile seçilen dil yüklenemedi"
465
 
466
  # @ crayon-syntax-highlighter
467
+ #: ../crayon_settings_wp.class.php:838
468
  msgid "Show Languages"
469
  msgstr "Dilleri Göster"
470
 
471
+ #: ../crayon_settings_wp.class.php:874
472
  msgid "Show Crayon Posts"
473
  msgstr "Crayon Yazıları Göster"
474
 
475
+ #: ../crayon_settings_wp.class.php:875
476
  msgid "Refresh"
477
  msgstr "Yenile"
478
 
479
+ #: ../crayon_settings_wp.class.php:900
480
  msgid "ID"
481
  msgstr "ID"
482
 
483
  # @ crayon-syntax-highlighter
484
+ #: ../crayon_settings_wp.class.php:900
485
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:191
486
+ #: ../util/theme-editor/theme_editor.php:314
487
  msgid "Title"
488
  msgstr "Başlık"
489
 
490
+ #: ../crayon_settings_wp.class.php:900
491
  msgid "Posted"
492
  msgstr "Yayınlandı"
493
 
494
+ #: ../crayon_settings_wp.class.php:900
495
  msgid "Modifed"
496
  msgstr "Değiştirildi"
497
 
498
+ #: ../crayon_settings_wp.class.php:900
499
  msgid "Contains Legacy Tags?"
500
  msgstr "Eski Etiketleri İçersin?"
501
 
502
+ #: ../crayon_settings_wp.class.php:1015
503
  msgid "Edit"
504
  msgstr "Düzenle"
505
 
506
+ #: ../crayon_settings_wp.class.php:1015
507
+ #: ../util/theme-editor/theme_editor.php:199
508
  msgid "Duplicate"
509
  msgstr "Çoğalt"
510
 
511
+ #: ../crayon_settings_wp.class.php:1015
512
  msgid "Submit"
513
  msgstr "Gönder"
514
 
515
+ #: ../crayon_settings_wp.class.php:1016
516
+ #: ../util/theme-editor/theme_editor.php:196
517
  msgid "Delete"
518
  msgstr "Sil"
519
 
520
  # @ crayon-syntax-highlighter
521
+ #: ../crayon_settings_wp.class.php:1018
522
  msgid "Loading..."
523
  msgstr "Yükleniyor..."
524
 
525
+ #: ../crayon_settings_wp.class.php:1020
526
  msgid "Duplicate a Stock Theme into a User Theme to allow editing."
527
  msgstr ""
528
  "Düzenleyebilmek için, bir Kullanıcı Teması içine bir Hazır Tema çoğaltın."
529
 
530
  # @ crayon-syntax-highlighter
531
+ #: ../crayon_settings_wp.class.php:1031
532
  #, php-format
533
  msgid ""
534
  "Change the %1$sfallback language%2$s to change the sample code or %3$schange "
538
  "el ile%4$s değiştirin. 5-7 satırlar işaretli."
539
 
540
  # @ crayon-syntax-highlighter
541
+ #: ../crayon_settings_wp.class.php:1038
542
  msgid "Enable Live Preview"
543
  msgstr "Ön izleme etkin"
544
 
545
  # @ crayon-syntax-highlighter
546
+ #: ../crayon_settings_wp.class.php:1040
547
  msgid "Enqueue themes in the header (more efficient)."
548
  msgstr "Temaları header içinde kuyrukla (daha etkin)."
549
 
550
  # @ crayon-syntax-highlighter
551
+ #: ../crayon_settings_wp.class.php:1043
552
  #, php-format
553
  msgid "The selected theme with id %s could not be loaded"
554
  msgstr "ID %s ile seçilen tema yüklenemedi"
555
 
556
+ #: ../crayon_settings_wp.class.php:1055
557
+ msgid "Add More"
558
+ msgstr "Başka Ekle"
559
+
560
  # @ crayon-syntax-highlighter
561
+ #: ../crayon_settings_wp.class.php:1057
562
  msgid "Custom Font Size"
563
  msgstr "Kişisel Font Boyutu"
564
 
565
  # @ crayon-syntax-highlighter
566
+ #: ../crayon_settings_wp.class.php:1059
567
+ msgid "Line Height"
568
+ msgstr "Satır Yüksekliği"
569
+
570
+ # @ crayon-syntax-highlighter
571
+ #: ../crayon_settings_wp.class.php:1064
572
  #, php-format
573
  msgid "The selected font with id %s could not be loaded"
574
  msgstr "ID %s ile seçilen font yüklenemedi"
575
 
576
  # @ crayon-syntax-highlighter
577
+ #: ../crayon_settings_wp.class.php:1070
578
  msgid "Enqueue fonts in the header (more efficient)."
579
  msgstr "Fontları header içinde kuyrukla (daha etkin)."
580
 
581
  # @ crayon-syntax-highlighter
582
+ #: ../crayon_settings_wp.class.php:1075
583
  msgid "Enable plain code view and display"
584
  msgstr "Düz kod görünümü ve görüntüleme etkin"
585
 
586
  # @ crayon-syntax-highlighter
587
+ #: ../crayon_settings_wp.class.php:1078
588
  msgid "Enable plain code toggling"
589
  msgstr "Düz kod geçişi etkin"
590
 
591
  # @ crayon-syntax-highlighter
592
+ #: ../crayon_settings_wp.class.php:1079
593
  msgid "Show the plain code by default"
594
  msgstr "Düz kodu varsayılan olarak göster"
595
 
596
  # @ crayon-syntax-highlighter
597
+ #: ../crayon_settings_wp.class.php:1080
598
  msgid "Enable code copy/paste"
599
  msgstr "Kod kopyala/yapıştır etkin"
600
 
601
  # @ crayon-syntax-highlighter
602
+ #: ../crayon_settings_wp.class.php:1082
603
  msgid "Enable opening code in a window"
604
  msgstr "Kodları bir pencerede açma etkin"
605
 
606
  # @ crayon-syntax-highlighter
607
+ #: ../crayon_settings_wp.class.php:1083
608
  msgid "Always display scrollbars"
609
  msgstr "Kaydırma çubuğu her zaman göster"
610
 
611
+ #: ../crayon_settings_wp.class.php:1084
612
  msgid "Minimize code"
613
  msgstr "Kodu küçült"
614
 
615
+ #: ../crayon_settings_wp.class.php:1085
616
  msgid "Expand code beyond page borders on mouseover"
617
  msgstr "Fare üzerindeyken sayfa sınırları dışında kodu genişlet"
618
 
619
+ #: ../crayon_settings_wp.class.php:1086
620
  msgid "Enable code expanding toggling when possible"
621
  msgstr "Mümkün olduğunda kod genişletme geçişlerini etkinleştir"
622
 
623
  # @ crayon-syntax-highlighter
624
+ #: ../crayon_settings_wp.class.php:1089
625
  msgid "Decode HTML entities in code"
626
  msgstr "HTML varlıkları kod içinde çöz"
627
 
628
  # @ crayon-syntax-highlighter
629
+ #: ../crayon_settings_wp.class.php:1091
630
  msgid "Decode HTML entities in attributes"
631
  msgstr "HTML varlıkları nitelikler içinde çöz"
632
 
633
  # @ crayon-syntax-highlighter
634
+ #: ../crayon_settings_wp.class.php:1093
635
  msgid "Remove whitespace surrounding the shortcode content"
636
  msgstr "Kısakod içeriğini çevreleyen beyaz alanları kaldır"
637
 
638
  # @ crayon-syntax-highlighter
639
+ #: ../crayon_settings_wp.class.php:1095
640
  msgid "Allow Mixed Language Highlighting with delimiters and tags."
641
  msgstr "Sınırlayıcılar ve etiketler ile Karışık Dil Vurgulamaya izin ver."
642
 
643
  # @ crayon-syntax-highlighter
644
+ #: ../crayon_settings_wp.class.php:1097
645
  msgid "Show Mixed Language Icon (+)"
646
  msgstr "Karışık Dil Simgesini Göster (+)"
647
 
648
  # @ crayon-syntax-highlighter
649
+ #: ../crayon_settings_wp.class.php:1099
650
  msgid "Tab size in spaces"
651
  msgstr "Boşluk sekme boyutu"
652
 
653
+ #: ../crayon_settings_wp.class.php:1101
654
  msgid "Blank lines before code:"
655
  msgstr "Kod öncesi boş satırlar:"
656
 
657
+ #: ../crayon_settings_wp.class.php:1103
658
  msgid "Blank lines after code:"
659
  msgstr "Kod sonrası boş satırlar:"
660
 
661
  # @ crayon-syntax-highlighter
662
+ #: ../crayon_settings_wp.class.php:1108
663
  msgid "Capture Inline Tags"
664
  msgstr "Satır içi Etiketleri Yakala"
665
 
666
  # @ crayon-syntax-highlighter
667
+ #: ../crayon_settings_wp.class.php:1109
668
  msgid "Wrap Inline Tags"
669
  msgstr "Satıriçi Etiketleri Sar"
670
 
671
  # @ crayon-syntax-highlighter
672
+ #: ../crayon_settings_wp.class.php:1110
673
+ msgid "Capture &lt;code&gt; as"
674
+ msgstr "&lt;code&gt; yakalama şekli"
675
+
676
+ # @ crayon-syntax-highlighter
677
+ #: ../crayon_settings_wp.class.php:1114
678
  msgid "Capture `backquotes` as &lt;code&gt;"
679
  msgstr "&lt;code&gt; olarak `backquotes` yakalayın"
680
 
681
  # @ crayon-syntax-highlighter
682
+ #: ../crayon_settings_wp.class.php:1115
683
  msgid "Capture &lt;pre&gt; tags as Crayons"
684
  msgstr "&lt;pre&gt; etiketleri Crayons olarak yakala"
685
 
686
+ #: ../crayon_settings_wp.class.php:1117
687
  #, php-format
688
  msgid ""
689
  "Using this markup for Mini Tags and Inline tags is now %sdepreciated%s! Use "
694
  "kullanın ve eski etiketleri dönüştürün."
695
 
696
  # @ crayon-syntax-highlighter
697
+ #: ../crayon_settings_wp.class.php:1118
698
  msgid "Capture Mini Tags like [php][/php] as Crayons."
699
  msgstr "Crayons olarak [php][/php] gibi küçük etiketleri yakala."
700
 
701
  # @ crayon-syntax-highlighter
702
+ #: ../crayon_settings_wp.class.php:1119
703
  msgid "Capture Inline Tags like {php}{/php} inside sentences."
704
  msgstr "Cümle içinde {php}{/php} gibi satıriçi etiketleri yakalayın."
705
 
706
  # @ crayon-syntax-highlighter
707
+ #: ../crayon_settings_wp.class.php:1120
708
  msgid "Enable [plain][/plain] tag."
709
  msgstr "[plain][/plain] etiketi etkin."
710
 
711
  # @ crayon-syntax-highlighter
712
+ #: ../crayon_settings_wp.class.php:1125
713
  msgid ""
714
  "When loading local files and a relative path is given for the URL, use the "
715
  "absolute path"
718
  "yolu kullan"
719
 
720
  # @ crayon-syntax-highlighter
721
+ #: ../crayon_settings_wp.class.php:1128
722
  msgid "Followed by your relative URL."
723
  msgstr "Bağlantılı URL tarafından izlendi."
724
 
725
+ #: ../crayon_settings_wp.class.php:1135
726
  msgid "Convert Legacy Tags"
727
  msgstr "Eski Etiketleri Dönüştür"
728
 
729
+ #: ../crayon_settings_wp.class.php:1138
730
  msgid "No Legacy Tags Found"
731
  msgstr "Eski Etiketler Bulunamadı"
732
 
733
+ #: ../crayon_settings_wp.class.php:1142
734
  msgid "Encode"
735
  msgstr "Kodla"
736
 
737
  # @ crayon-syntax-highlighter
738
+ #: ../crayon_settings_wp.class.php:1144
739
  #, php-format
740
  msgid ""
741
  "Use %s to separate setting names from values in the &lt;pre&gt; class "
744
  "%s kullanarak &lt;pre&gt; sınıf niteliği içinde ayar adlarını değerlerden "
745
  "ayır"
746
 
747
+ #: ../crayon_settings_wp.class.php:1147
748
  msgid ""
749
  "Display the Tag Editor in any TinyMCE instances on the frontend (e.g. "
750
  "bbPress)"
752
  "Önyüzdeki herhangi bir TinyMCE örneğinde Etiket Düzenleyicisini göster (örn. "
753
  "bbPress)"
754
 
755
+ #: ../crayon_settings_wp.class.php:1148
756
  msgid "Display Tag Editor settings on the frontend"
757
  msgstr "Önyüzde Etiket Düzenleyici ayarlarını göster"
758
 
759
  # @ crayon-syntax-highlighter
760
+ #: ../crayon_settings_wp.class.php:1152
761
  msgid "Clear the cache used to store remote code requests"
762
  msgstr "Uzak kod isteklerini depolamak için ön belleği temizle"
763
 
764
  # @ crayon-syntax-highlighter
765
+ #: ../crayon_settings_wp.class.php:1154
766
  msgid "Clear Now"
767
  msgstr "Şimdi Temizle"
768
 
769
  # @ crayon-syntax-highlighter
770
+ #: ../crayon_settings_wp.class.php:1155
771
  msgid "Attempt to load Crayon's CSS and JavaScript only when needed"
772
  msgstr "Sadece ihtiyaç olduğunda Crayon CSS ve JavaScript yüklemeyi dene"
773
 
774
  # @ crayon-syntax-highlighter
775
+ #: ../crayon_settings_wp.class.php:1156
776
  msgid "Disable enqueuing for page templates that may contain The Loop."
777
  msgstr "Döngü içeren sayfa şablonları için kuyruklama devre dışı."
778
 
779
  # @ crayon-syntax-highlighter
780
+ #: ../crayon_settings_wp.class.php:1157
781
  msgid "Allow Crayons inside comments"
782
  msgstr "Yorum içinde Crayons izini verin"
783
 
784
  # @ crayon-syntax-highlighter
785
+ #: ../crayon_settings_wp.class.php:1158
786
  msgid "Remove Crayons from excerpts"
787
  msgstr "Crayon'ı alıntılardan çıkar"
788
 
789
  # @ crayon-syntax-highlighter
790
+ #: ../crayon_settings_wp.class.php:1159
791
  msgid "Load Crayons only from the main Wordpress query"
792
  msgstr "Sadece ana Wordpress sorgusundan Crayons yükle"
793
 
794
  # @ crayon-syntax-highlighter
795
+ #: ../crayon_settings_wp.class.php:1160
796
  msgid "Disable mouse gestures for touchscreen devices (eg. MouseOver)"
797
  msgstr ""
798
  "Dokunmatik cihazlar için fare hareketlerini devre dışı bırak (örn. Fare "
799
  "Üzerinde)"
800
 
801
  # @ crayon-syntax-highlighter
802
+ #: ../crayon_settings_wp.class.php:1161
803
  msgid "Disable animations"
804
  msgstr "Animasyonlar devre dışı"
805
 
806
  # @ crayon-syntax-highlighter
807
+ #: ../crayon_settings_wp.class.php:1162
808
  msgid "Disable runtime stats"
809
  msgstr "İşlem istatistikleri devre dışı"
810
 
811
  # @ crayon-syntax-highlighter
812
+ #: ../crayon_settings_wp.class.php:1168
813
  msgid "Log errors for individual Crayons"
814
  msgstr "Özgün Crayons hataları günlükle"
815
 
816
  # @ crayon-syntax-highlighter
817
+ #: ../crayon_settings_wp.class.php:1169
818
  msgid "Log system-wide errors"
819
  msgstr "Sistem-geneli hataları günlükle"
820
 
821
  # @ crayon-syntax-highlighter
822
+ #: ../crayon_settings_wp.class.php:1170
823
  msgid "Display custom message for errors"
824
  msgstr "Hatalar için kişisel mesaj göster"
825
 
826
  # @ crayon-syntax-highlighter
827
+ #: ../crayon_settings_wp.class.php:1182
828
  msgid "Show Log"
829
  msgstr "Günlüğü Göster"
830
 
831
  # @ crayon-syntax-highlighter
832
+ #: ../crayon_settings_wp.class.php:1182
833
  msgid "Hide Log"
834
  msgstr "Günlüğü Gizle"
835
 
836
  # @ crayon-syntax-highlighter
837
+ #: ../crayon_settings_wp.class.php:1184
838
  msgid "Clear Log"
839
  msgstr "Günlüğü Temizle"
840
 
841
  # @ crayon-syntax-highlighter
842
+ #: ../crayon_settings_wp.class.php:1185
843
  msgid "Email Admin"
844
  msgstr "Yönetici E-Posta"
845
 
846
  # @ crayon-syntax-highlighter
847
+ #: ../crayon_settings_wp.class.php:1187
848
  msgid "Email Developer"
849
  msgstr "Geliştirici E-Posta"
850
 
851
  # @ crayon-syntax-highlighter
852
+ #: ../crayon_settings_wp.class.php:1189
853
  msgid "The log is currently empty."
854
  msgstr "Günlük şu anda boş."
855
 
856
  # @ crayon-syntax-highlighter
857
+ #: ../crayon_settings_wp.class.php:1191
858
  msgid "The log file exists and is writable."
859
  msgstr "Günlük dosyası var ve yazılabilir."
860
 
861
  # @ crayon-syntax-highlighter
862
+ #: ../crayon_settings_wp.class.php:1191
863
  msgid "The log file exists and is not writable."
864
  msgstr "Günlük dosyası var ve yazılabilir değil."
865
 
866
  # @ crayon-syntax-highlighter
867
+ #: ../crayon_settings_wp.class.php:1193
868
  msgid "The log file does not exist and is not writable."
869
  msgstr "Günlük dosyası yok ve yazılabilir değil."
870
 
871
  # @ crayon-syntax-highlighter
872
+ #: ../crayon_settings_wp.class.php:1203
873
  msgid "Version"
874
  msgstr "Sürüm"
875
 
876
  # @ crayon-syntax-highlighter
877
+ #: ../crayon_settings_wp.class.php:1205
878
  msgid "Developer"
879
  msgstr "Geliştirici"
880
 
881
  # @ crayon-syntax-highlighter
882
+ #: ../crayon_settings_wp.class.php:1206
883
  msgid "Translators"
884
  msgstr "Çevirmenler"
885
 
886
  # @ crayon-syntax-highlighter
887
+ #: ../crayon_settings_wp.class.php:1249
888
  msgid "?"
889
  msgstr "?"
890
 
891
  # @ crayon-syntax-highlighter
892
+ #: ../crayon_settings_wp.class.php:1256
893
+ #: ../util/theme-editor/theme_editor.php:336
894
  msgid "Theme Editor"
895
  msgstr "Tema Düzenleyici"
896
 
897
  # @ crayon-syntax-highlighter
898
+ #: ../crayon_settings_wp.class.php:1257
899
  msgid "Donate"
900
  msgstr "Bağış"
901
 
916
 
917
  # @ crayon-syntax-highlighter
918
  #: ../util/tag-editor/crayon_tag_editor_wp.class.php:65
919
+ #: ../util/theme-editor/theme_editor.php:352
920
  msgid "Save"
921
  msgstr "Kaydet"
922
 
923
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:182
924
  msgid "OK"
925
  msgstr "Tamam"
926
 
927
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:184
928
  msgid "Cancel"
929
  msgstr "İptal"
930
 
931
  # @ crayon-syntax-highlighter
932
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:193
933
  msgid "A short description"
934
  msgstr "Kısa açıklama"
935
 
936
  # @ crayon-syntax-highlighter
937
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:195
938
+ #: ../util/theme-editor/theme_editor.php:318
939
  msgid "Inline"
940
  msgstr "Satıriçi"
941
 
942
  # @ crayon-syntax-highlighter
943
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:197
944
  msgid "Don't Highlight"
945
  msgstr "Vurgulama"
946
 
947
  # @ crayon-syntax-highlighter
948
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:202
949
+ #: ../util/theme-editor/theme_editor.php:322
950
  msgid "Language"
951
  msgstr "Dil"
952
 
953
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:205
954
  msgid "Line Range"
955
  msgstr "Satır Aralığı"
956
 
957
  # @ crayon-syntax-highlighter
958
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:206
959
  msgid "(e.g. 3-5 or 3)"
960
  msgstr "(örn. 1,2,3-5)"
961
 
962
  # @ crayon-syntax-highlighter
963
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:207
964
  msgid "Marked Lines"
965
  msgstr "İşaretli Satırlar"
966
 
967
  # @ crayon-syntax-highlighter
968
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:208
969
  msgid "(e.g. 1,2,3-5)"
970
  msgstr "(örn. 1,2,3-5)"
971
 
972
  # @ crayon-syntax-highlighter
973
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:217
974
  msgid "Clear"
975
  msgstr "Temizle"
976
 
977
  # @ crayon-syntax-highlighter
978
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:221
979
  msgid "Paste your code here, or type it in manually."
980
  msgstr "Kodu buraya yapıştır, ya da onu el ile yaz."
981
 
982
  # @ crayon-syntax-highlighter
983
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:225
984
  msgid "URL"
985
  msgstr "URL"
986
 
987
  # @ crayon-syntax-highlighter
988
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:227
989
  msgid "Relative local path or absolute URL"
990
  msgstr "İlgili yerel yol veya tam URL"
991
 
992
  # @ crayon-syntax-highlighter
993
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:230
994
  msgid ""
995
  "If the URL fails to load, the code above will be shown instead. If no code "
996
  "exists, an error is shown."
999
  "herhangi bir kod yoksa, bir hata görünür."
1000
 
1001
  # @ crayon-syntax-highlighter
1002
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:232
1003
  #, php-format
1004
  msgid ""
1005
  "If a relative local path is given it will be appended to %s - which is "
1009
  "Ayarlar &gt; Dosyalar%s içinde belirtildiği gibi."
1010
 
1011
  # @ crayon-syntax-highlighter
1012
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:259
1013
  msgid "Change the following settings to override their global values."
1014
  msgstr "Genel değerleri geçersiz kılmak için aşağıdaki ayarları değiştirin."
1015
 
1016
  # @ crayon-syntax-highlighter
1017
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:261
1018
  msgid "Only changes (shown yellow) are applied."
1019
  msgstr "Sadece değişiklikler (sarı ile gösterilir) uygulanır."
1020
 
1021
  # @ crayon-syntax-highlighter
1022
+ #: ../util/tag-editor/crayon_tag_editor_wp.class.php:263
1023
  #, php-format
1024
  msgid ""
1025
  "Future changes to the global settings under %sCrayon &gt; Settings%s won't "
1028
  "%sCrayon &gt; Ayarlar%s altındaki genel ayarların gelecek değişiklikleri, "
1029
  "geçersiz ayarları etkilemez."
1030
 
1031
+ #: ../util/theme-editor/theme_editor.php:192
1032
  msgid "User-Defined Theme"
1033
  msgstr "Kullanıcı-Tanımlı Tema"
1034
 
1035
  # @ crayon-syntax-highlighter
1036
+ #: ../util/theme-editor/theme_editor.php:193
1037
  msgid "Stock Theme"
1038
  msgstr "Hazır Tema"
1039
 
1040
+ #: ../util/theme-editor/theme_editor.php:194
1041
  msgid "Success!"
1042
  msgstr "Başarılı!"
1043
 
1044
+ #: ../util/theme-editor/theme_editor.php:195
1045
  msgid "Failed!"
1046
  msgstr "Başarısız!"
1047
 
1048
+ #: ../util/theme-editor/theme_editor.php:197
1049
  #, php-format
1050
  msgid "Are you sure you want to delete the \"%s\" theme?"
1051
  msgstr "\"%s\" temasını silmek istediğinizden emin misiniz?"
1052
 
1053
+ #: ../util/theme-editor/theme_editor.php:198
1054
  msgid "Delete failed!"
1055
  msgstr "Silme başarısız!"
1056
 
1057
+ #: ../util/theme-editor/theme_editor.php:200
1058
  msgid "New Name"
1059
  msgstr "Yeni İsim"
1060
 
1061
+ #: ../util/theme-editor/theme_editor.php:201
1062
  msgid "Duplicate failed!"
1063
  msgstr "Çoğaltma başarısız!"
1064
 
1065
+ #: ../util/theme-editor/theme_editor.php:202
1066
  msgid "Please check the log for details."
1067
  msgstr "Lütfen ayrıntılar için günlüğü kontrol edin."
1068
 
1069
+ #: ../util/theme-editor/theme_editor.php:203
1070
  msgid "Are you sure you want to discard all changes?"
1071
  msgstr "Tüm değişiklikleri iptal etmek istediğinizden emin misiniz?"
1072
 
1073
+ #: ../util/theme-editor/theme_editor.php:204
1074
  #, php-format
1075
  msgid "Editing Theme: %s"
1076
  msgstr "Tema Düzenleme: %s"
1077
 
1078
+ #: ../util/theme-editor/theme_editor.php:205
1079
  #, php-format
1080
  msgid "Creating Theme: %s"
1081
  msgstr "Tema Oluşturma: %s"
1082
 
1083
+ #: ../util/theme-editor/theme_editor.php:206
1084
  msgid "Submit Your Theme"
1085
  msgstr "Temanızı Gönderin"
1086
 
1087
+ #: ../util/theme-editor/theme_editor.php:207
1088
+ msgid ""
1089
+ "Submit your User Theme for inclusion as a Stock Theme in Crayon! This will "
1090
+ "email me your theme - make sure it's considerably different from the stock "
1091
+ "themes :)"
1092
  msgstr ""
1093
+ "Crayon içine bir Hazır Tema olarak dahil edilmesi için Kişisel Temanızı "
1094
+ "gönderin! Bu, temanızı bana eposta ile gönderecek - hazır temalardan oldukça "
1095
+ "farklı olduğundan emin olun :)"
1096
 
1097
+ #: ../util/theme-editor/theme_editor.php:208
1098
  msgid "Message"
1099
  msgstr "Mesaj"
1100
 
1101
+ #: ../util/theme-editor/theme_editor.php:209
1102
  msgid "Please include this theme in Crayon!"
1103
  msgstr "Lütfen bu temayı Crayon içine dahil edin!"
1104
 
1105
  # @ crayon-syntax-highlighter
1106
+ #: ../util/theme-editor/theme_editor.php:210
1107
  msgid "Submit was successful."
1108
  msgstr "Gönderme başarılı."
1109
 
1110
+ #: ../util/theme-editor/theme_editor.php:211
1111
  msgid "Submit failed!"
1112
  msgstr "Gönderme başarısız!"
1113
 
1114
+ #: ../util/theme-editor/theme_editor.php:294
1115
  msgid "Information"
1116
  msgstr "Bilgi"
1117
 
1118
  # @ crayon-syntax-highlighter
1119
+ #: ../util/theme-editor/theme_editor.php:295
1120
  msgid "Highlighting"
1121
  msgstr "Vurgulama"
1122
 
1123
+ #: ../util/theme-editor/theme_editor.php:296
1124
  msgid "Frame"
1125
  msgstr "Çerçeve"
1126
 
1127
  # @ crayon-syntax-highlighter
1128
+ #: ../util/theme-editor/theme_editor.php:298
1129
  msgid "Line Numbers"
1130
  msgstr "Satır Numaralarına Geç"
1131
 
1132
+ #: ../util/theme-editor/theme_editor.php:301
1133
  msgid "Background"
1134
  msgstr "Arkaplan"
1135
 
1136
+ #: ../util/theme-editor/theme_editor.php:302
1137
  msgid "Text"
1138
  msgstr "Metin"
1139
 
1140
+ #: ../util/theme-editor/theme_editor.php:303
1141
  msgid "Border"
1142
  msgstr "Kenarlık"
1143
 
1144
+ #: ../util/theme-editor/theme_editor.php:304
1145
  msgid "Top Border"
1146
  msgstr "Üst Kenar"
1147
 
1148
  # @ crayon-syntax-highlighter
1149
+ #: ../util/theme-editor/theme_editor.php:305
1150
  msgid "Bottom Border"
1151
  msgstr "Alt Kenarlık"
1152
 
1153
+ #: ../util/theme-editor/theme_editor.php:306
1154
  msgid "Right Border"
1155
  msgstr "Sağ Kenarlık"
1156
 
1157
+ #: ../util/theme-editor/theme_editor.php:308
1158
  msgid "Hover"
1159
  msgstr "Vurgu"
1160
 
1161
+ #: ../util/theme-editor/theme_editor.php:309
1162
  msgid "Active"
1163
  msgstr "Aktif"
1164
 
1165
+ #: ../util/theme-editor/theme_editor.php:310
1166
  msgid "Pressed"
1167
  msgstr "Sıkıştırıldı"
1168
 
1169
+ #: ../util/theme-editor/theme_editor.php:311
1170
  msgid "Pressed & Hover"
1171
  msgstr "Sıkıştırma & Vurgu"
1172
 
1173
+ #: ../util/theme-editor/theme_editor.php:312
1174
  msgid "Pressed & Active"
1175
  msgstr "Sıkıştırma & Aktif"
1176
 
1177
+ #: ../util/theme-editor/theme_editor.php:315
1178
  msgid "Buttons"
1179
  msgstr "Butonlar"
1180
 
1181
+ #: ../util/theme-editor/theme_editor.php:317
1182
  msgid "Normal"
1183
  msgstr "Normal"
1184
 
1185
+ #: ../util/theme-editor/theme_editor.php:319
1186
  msgid "Striped"
1187
  msgstr "Şeritli"
1188
 
1189
  # @ crayon-syntax-highlighter
1190
+ #: ../util/theme-editor/theme_editor.php:320
1191
  msgid "Marked"
1192
  msgstr "İşaretlendi"
1193
 
1194
+ #: ../util/theme-editor/theme_editor.php:321
1195
  msgid "Striped & Marked"
1196
  msgstr "Şeritli & İşaretli"
1197
 
1198
  # @ crayon-syntax-highlighter
1199
+ #: ../util/theme-editor/theme_editor.php:351
1200
  msgid "Back To Settings"
1201
  msgstr "Ayarlara Geri Dön"
1202
 
1203
+ #: ../util/theme-editor/theme_editor.php:390
1204
  msgid "Comment"
1205
  msgstr "Yorum"
1206
 
1207
+ #: ../util/theme-editor/theme_editor.php:391
1208
  msgid "String"
1209
  msgstr "Dize"
1210
 
1211
+ #: ../util/theme-editor/theme_editor.php:392
1212
  msgid "Preprocessor"
1213
  msgstr "Ön işlemci"
1214
 
1215
  # @ crayon-syntax-highlighter
1216
+ #: ../util/theme-editor/theme_editor.php:393
1217
  msgid "Tag"
1218
  msgstr "Etiket"
1219
 
1220
+ #: ../util/theme-editor/theme_editor.php:394
1221
  msgid "Keyword"
1222
  msgstr "Anahtar kelime"
1223
 
1224
+ #: ../util/theme-editor/theme_editor.php:395
1225
  msgid "Statement"
1226
  msgstr "Açıklama"
1227
 
1228
+ #: ../util/theme-editor/theme_editor.php:396
1229
  msgid "Reserved"
1230
  msgstr "Rezerve"
1231
 
1232
+ #: ../util/theme-editor/theme_editor.php:397
1233
  msgid "Type"
1234
  msgstr "Tür"
1235
 
1236
+ #: ../util/theme-editor/theme_editor.php:398
1237
  msgid "Modifier"
1238
  msgstr "Değiştirici"
1239
 
1240
+ #: ../util/theme-editor/theme_editor.php:399
1241
  msgid "Identifier"
1242
  msgstr "Tanımlayıcı"
1243
 
1244
+ #: ../util/theme-editor/theme_editor.php:400
1245
  msgid "Entity"
1246
  msgstr "Öğe"
1247
 
1248
+ #: ../util/theme-editor/theme_editor.php:401
1249
  msgid "Variable"
1250
  msgstr "Değişken"
1251
 
1252
+ #: ../util/theme-editor/theme_editor.php:402
1253
  msgid "Constant"
1254
  msgstr "Sabit"
1255
 
1256
+ #: ../util/theme-editor/theme_editor.php:403
1257
  msgid "Operator"
1258
  msgstr "Operatör"
1259
 
1260
+ #: ../util/theme-editor/theme_editor.php:404
1261
  msgid "Symbol"
1262
  msgstr "Sembol"
1263
 
1264
+ #: ../util/theme-editor/theme_editor.php:405
1265
  msgid "Notation"
1266
  msgstr "Notasyon"
1267
 
1268
+ #: ../util/theme-editor/theme_editor.php:406
1269
  msgid "Faded"
1270
  msgstr "Soluk"
1271
 
1272
+ #: ../util/theme-editor/theme_editor.php:407
1273
  msgid "HTML"
1274
  msgstr "HTML"
1275
 
1276
+ #: ../util/theme-editor/theme_editor.php:540
1277
  msgid "(Used for Copy/Paste)"
1278
  msgstr "(Kopyala/Yapıştır için kullanılır)"
1279
+
1280
+ #~ msgid "Submit your User Theme for inclusion as a Stock Theme in Crayon!"
1281
+ #~ msgstr ""
1282
+ #~ "Crayon içine bir Hazır Tema olarak eklenmesi için Kullanıcı Temanızı "
1283
+ #~ "gönderin!"
util/minify.sh ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ BASEDIR=$(dirname $0)
3
+ cd $BASEDIR
4
+
5
+ MINIFIER='/Users/Aram/Development/Tools/yuicompressor-2.4.7.jar'
6
+ INPUT_PATH='src'
7
+ OUTPUT_PATH='min'
8
+ TE_PATH='../util/tag-editor'
9
+ JS_PATH='../js'
10
+ FANCY_PATH=$JS_PATH/fancybox
11
+
12
+ function minify {
13
+ inputs=${@:0:$#}
14
+ output=${@:$#}
15
+ cat $inputs > $output
16
+ java -jar $MINIFIER $output -o $output
17
+ }
util/sample/asp.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ Set FS=Server.CreateObject("Scripting.FileSystemObject")
2
+ Set RS=FS.OpenTextFile(Server.MapPath("counter.txt"), 1, False)
3
+ fcount=RS.ReadLine
4
+ RS.Close
5
+ fcount=fcount+1
6
+ Set RS=Nothing
7
+ Set FS=Nothing
util/tag-editor/crayon_tag_editor_wp.class.php CHANGED
@@ -74,12 +74,20 @@ class CrayonTagEditorWP {
74
  global $CRAYON_VERSION;
75
  self::init_settings();
76
  $path = dirname(dirname(__FILE__));
77
- wp_enqueue_style('crayon_fancybox', plugins_url(CRAYON_CSS_FANCYBOX, $path), array(), $CRAYON_VERSION);
78
- wp_enqueue_script('crayon_fancybox', plugins_url(CRAYON_JS_FANCYBOX, $path), array('jquery'), $CRAYON_VERSION);
79
- wp_enqueue_script('crayon_te_js', plugins_url(CRAYON_TAG_EDITOR_JS, __FILE__), array('crayon_fancybox', 'crayon_util_js'), $CRAYON_VERSION);
80
- wp_enqueue_script('crayon_qt_js', plugins_url(CRAYON_QUICKTAGS_JS, __FILE__), array('quicktags', 'crayon_te_js'), $CRAYON_VERSION, TRUE);
81
- wp_localize_script('crayon_te_js', 'CrayonTagEditorSettings', self::$settings);
82
- CrayonSettingsWP::other_scripts();
 
 
 
 
 
 
 
 
83
  }
84
 
85
  public static function init_tinymce($init) {
74
  global $CRAYON_VERSION;
75
  self::init_settings();
76
  $path = dirname(dirname(__FILE__));
77
+
78
+ if (CRAYON_MINIFY) {
79
+ wp_deregister_script('crayon_js_min');
80
+ wp_enqueue_script('crayon_js_min', plugins_url(CRAYON_JS_TE_MIN, dirname(dirname(__FILE__))), array('jquery', 'quicktags'), $CRAYON_VERSION);
81
+ CrayonSettingsWP::init_js_settings();
82
+ wp_localize_script('crayon_js_min', 'CrayonTagEditorSettings', self::$settings);
83
+ } else {
84
+ wp_enqueue_style('crayon_fancybox', plugins_url(CRAYON_CSS_FANCYBOX, $path), array(), $CRAYON_VERSION);
85
+ wp_enqueue_script('crayon_fancybox', plugins_url(CRAYON_JS_FANCYBOX, $path), array('jquery'), $CRAYON_VERSION);
86
+ wp_enqueue_script('crayon_te_js', plugins_url(CRAYON_TAG_EDITOR_JS, __FILE__), array('crayon_fancybox', 'crayon_util_js'), $CRAYON_VERSION);
87
+ wp_enqueue_script('crayon_qt_js', plugins_url(CRAYON_QUICKTAGS_JS, __FILE__), array('quicktags', 'crayon_te_js'), $CRAYON_VERSION, TRUE);
88
+ wp_localize_script('crayon_te_js', 'CrayonTagEditorSettings', self::$settings);
89
+ CrayonSettingsWP::other_scripts();
90
+ }
91
  }
92
 
93
  public static function init_tinymce($init) {
util/theme-editor/theme_editor.php CHANGED
@@ -218,11 +218,20 @@ class CrayonThemeEditorWP {
218
  global $CRAYON_VERSION;
219
  self::initSettings();
220
  $path = dirname(dirname(__FILE__));
221
- wp_enqueue_script('cssjson_js', plugins_url(CRAYON_CSSJSON_JS, $path), $CRAYON_VERSION);
 
 
 
222
 
223
  wp_enqueue_script('jquery_colorpicker_js', plugins_url(CRAYON_JS_JQUERY_COLORPICKER, $path), array('jquery', 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-tabs', 'jquery-ui-draggable', 'jquery-ui-dialog', 'jquery-ui-position', 'jquery-ui-mouse', 'jquery-ui-slider', 'jquery-ui-droppable', 'jquery-ui-selectable', 'jquery-ui-resizable'), $CRAYON_VERSION);
224
  wp_enqueue_script('jquery_tinycolor_js', plugins_url(CRAYON_JS_TINYCOLOR, $path), array(), $CRAYON_VERSION);
225
- wp_enqueue_script('crayon_theme_editor', plugins_url(CRAYON_THEME_EDITOR_JS, $path), array('jquery', 'crayon_util_js', 'crayon_admin_js', 'cssjson_js', 'jquery_colorpicker_js', 'jquery_tinycolor_js'), $CRAYON_VERSION);
 
 
 
 
 
 
226
  wp_localize_script('crayon_theme_editor', 'CrayonThemeEditorSettings', self::$settings);
227
  wp_localize_script('crayon_theme_editor', 'CrayonThemeEditorStrings', self::$strings);
228
 
@@ -376,7 +385,7 @@ class CrayonThemeEditorWP {
376
  </div>
377
  <div id="tabs-2">
378
  <?php
379
- $highlight = ' .crayon-pre .';
380
  $elems = array(
381
  'c' => crayon__("Comment"),
382
  's' => crayon__("String"),
@@ -550,7 +559,8 @@ class CrayonThemeEditorWP {
550
  self::createAttribute($language, 'font-weight'),
551
  self::createAttribute($language, 'font-style'),
552
  self::createAttribute($language, 'text-decoration')
553
- )
 
554
  ));
555
  ?>
556
  </div>
218
  global $CRAYON_VERSION;
219
  self::initSettings();
220
  $path = dirname(dirname(__FILE__));
221
+
222
+ if (!CRAYON_MINIFY) {
223
+ wp_enqueue_script('cssjson_js', plugins_url(CRAYON_CSSJSON_JS, $path), $CRAYON_VERSION);
224
+ }
225
 
226
  wp_enqueue_script('jquery_colorpicker_js', plugins_url(CRAYON_JS_JQUERY_COLORPICKER, $path), array('jquery', 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-tabs', 'jquery-ui-draggable', 'jquery-ui-dialog', 'jquery-ui-position', 'jquery-ui-mouse', 'jquery-ui-slider', 'jquery-ui-droppable', 'jquery-ui-selectable', 'jquery-ui-resizable'), $CRAYON_VERSION);
227
  wp_enqueue_script('jquery_tinycolor_js', plugins_url(CRAYON_JS_TINYCOLOR, $path), array(), $CRAYON_VERSION);
228
+
229
+ if (CRAYON_MINIFY) {
230
+ wp_enqueue_script('crayon_theme_editor', plugins_url(CRAYON_THEME_EDITOR_JS, $path), array('jquery', 'crayon_js_min', 'crayon_admin_js', 'jquery_colorpicker_js', 'jquery_tinycolor_js'), $CRAYON_VERSION);
231
+ } else {
232
+ wp_enqueue_script('crayon_theme_editor', plugins_url(CRAYON_THEME_EDITOR_JS, $path), array('jquery', 'crayon_util_js', 'crayon_admin_js', 'cssjson_js', 'jquery_colorpicker_js', 'jquery_tinycolor_js'), $CRAYON_VERSION);
233
+ }
234
+
235
  wp_localize_script('crayon_theme_editor', 'CrayonThemeEditorSettings', self::$settings);
236
  wp_localize_script('crayon_theme_editor', 'CrayonThemeEditorStrings', self::$strings);
237
 
385
  </div>
386
  <div id="tabs-2">
387
  <?php
388
+ $highlight = ' .crayon-pre .crayon-';
389
  $elems = array(
390
  'c' => crayon__("Comment"),
391
  's' => crayon__("String"),
559
  self::createAttribute($language, 'font-weight'),
560
  self::createAttribute($language, 'font-style'),
561
  self::createAttribute($language, 'text-decoration')
562
+ ),
563
+ self::createAttribute($language, 'background-color', $tBackground)
564
  ));
565
  ?>
566
  </div>