AddQuicktag - Version 1.6.3

Version Description

Download this release

Release Info

Developer Bueltge
Plugin Icon wp plugin AddQuicktag
Version 1.6.3
Comparing to
See all releases

Code changes from version 1.5.8 to 1.6.3

addquicktag.php CHANGED
@@ -2,18 +2,18 @@
2
  /**
3
  * @package AddQuicktag
4
  * @author Roel Meurders, Frank Bültge
5
- * @version 1.5.8
6
  */
7
 
8
  /**
9
  Plugin Name: AddQuicktag
10
  Plugin URI: http://bueltge.de/wp-addquicktags-de-plugin/120/
11
  Description: Allows you to easily add custom Quicktags to the editor. You can also export and import your Quicktags.
12
- Author: Frank Bültge
13
  Author URI: http://bueltge.de/
14
- Version: 1.5.8
15
  License: GNU General Public License
16
- Last Change: 20.02.2009 10:35:46
17
 
18
  This program is free software; you can redistribute it and/or modify
19
  it under the terms of the GNU General Public License as published by
@@ -35,8 +35,6 @@ Last Change: 20.02.2009 10:35:46
35
  This Wordpress plugin is released under a GNU General Public License. A complete version of this license
36
  can be found here: http://www.gnu.org/licenses/gpl.txt
37
 
38
- This Wordpress plugin has been tested with Wordpress 2.0, 2.1 - 2.8 bleeding edge;
39
-
40
  This Wordpress plugin is released "as is". Without any warranty. The authors cannot
41
  be held responsible for any damage that this script might cause.
42
  */
@@ -48,13 +46,20 @@ if ( !function_exists ('add_action') ) {
48
  exit();
49
  }
50
 
51
- // Pre-2.6 compatibility
52
- if ( !defined('WP_CONTENT_URL') )
53
- define( 'WP_CONTENT_URL', get_option('url') . '/wp-content');
54
- if ( !defined('WP_CONTENT_DIR') )
55
- define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
56
- if ( !defined('WP_CONTENT_FOLDER') )
57
- define( 'WP_CONTENT_FOLDER', str_replace(ABSPATH, '/', WP_CONTENT_DIR) );
 
 
 
 
 
 
 
58
 
59
  // send file for save
60
  if ( isset( $_GET['export'] ) ) {
@@ -71,9 +76,9 @@ function wpaq_textdomain() {
71
 
72
  if ( function_exists('load_plugin_textdomain') ) {
73
  if ( !defined('WP_PLUGIN_DIR') ) {
74
- load_plugin_textdomain('addquicktag', str_replace( ABSPATH, '', dirname(__FILE__) ) . '/languages');
75
  } else {
76
- load_plugin_textdomain('addquicktag', false, dirname( plugin_basename(__FILE__) ) . '/languages');
77
  }
78
  }
79
  }
@@ -87,14 +92,15 @@ function wpaq_textdomain() {
87
  function wpaq_install() {
88
 
89
  $rmnlQuicktagSettings = array(
90
- 'buttons' => array(
91
- array(
92
- 'text' => 'Example',
93
- 'start' => '<example>',
94
- 'end' => '</example>'
95
- )
96
- )
97
- );
 
98
  add_option('rmnlQuicktagSettings', $rmnlQuicktagSettings);
99
  }
100
 
@@ -107,14 +113,15 @@ function wpaq_install() {
107
  function wpaq_reset() {
108
 
109
  $rmnlQuicktagSettings = array(
110
- 'buttons' => array(
111
- array(
112
- 'text' => 'Reset',
113
- 'start' => '<reset>',
114
- 'end' => '</reset>'
115
- )
116
- )
117
- );
 
118
  update_option('rmnlQuicktagSettings', $rmnlQuicktagSettings);
119
  }
120
 
@@ -212,18 +219,19 @@ function wpaq_options_page() {
212
  for ($i = 0; $i < count($_POST['wpaq']['buttons']); $i++){
213
  $b = $_POST['wpaq']['buttons'][$i];
214
  if ($b['text'] != '' && $b['start'] != '') {
215
- $b['text'] = ($b['text']);
216
- $b['start'] = stripslashes($b['start']);
217
- $b['end'] = stripslashes($b['end']);
218
- $buttons[] = $b;
 
219
  }
220
  }
221
  $_POST['wpaq']['buttons'] = $buttons;
222
  update_option('rmnlQuicktagSettings', $_POST['wpaq']);
223
- $message = '<br class="clear" /><div class="updated fade"><p><strong>' . __('Options saved.', 'addquicktag') . '</strong></p></div>';
224
 
225
  } else {
226
- wp_die('<p>'.__('You do not have sufficient permissions to edit plugins for this blog.', 'addquicktag').'</p>');
227
  }
228
  }
229
 
@@ -234,52 +242,53 @@ function wpaq_options_page() {
234
  check_admin_referer('rmnl_nonce');
235
  wpaq_uninstall();
236
  $message_export = '<br class="clear" /><div class="updated fade"><p>';
237
- $message_export.= __('AddQuicktag options have been deleted!', 'addquicktag');
238
  $message_export.= '</p></div>';
239
 
240
  } else {
241
- wp_die('<p>'.__('You do not have sufficient permissions to edit plugins for this blog.', 'addquicktag').'</p>');
242
  }
243
  }
244
 
245
- $string1 = __('Add or delete Quicktag buttons', 'addquicktag');
246
- $string2 = __('Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields.', 'addquicktag');
247
- $field1 = __('Button Label*', 'addquicktag');
248
- $field2 = __('Start Tag(s)*', 'addquicktag');
249
- $field3 = __('End Tag(s)', 'addquicktag');
250
- $button1 = __('Update Options &raquo;', 'addquicktag');
 
251
 
252
  // Export strings
253
- $button2 = __('Export &raquo;', 'addquicktag');
254
- $export1 = __('Export/Import AddQuicktag buttons options', 'addquicktag');
255
- $export2 = __('You can save a .wpaq file with your options.', 'addquicktag');
256
- $export3 = __('Export', 'addquicktag');
257
 
258
  // Import strings
259
- $button3 = __('Upload file and import &raquo;', 'addquicktag');
260
- $import1 = __('Import', 'addquicktag');
261
- $import2 = __('Choose a Quicktag (<em>.wpaq</em>) file to upload, then click <em>Upload file and import</em>.', 'addquicktag');
262
- $import3 = __('Choose a file from your computer: ', 'addquicktag');
263
 
264
  // Uninstall strings
265
- $button4 = __('Uninstall Options &raquo;', 'addquicktag');
266
- $uninstall1 = __('Uninstall options', 'addquicktag');
267
- $uninstall2 = __('This button deletes all options of the WP-AddQuicktag plugin. <strong>Attention: </strong>You cannot undo this!', 'addquicktag');
268
 
269
  // Info
270
- $info0 = __('About the plugin', 'addquicktag');
271
- $info1 = __('Further information: Visit the <a href=\'http://bueltge.de/wp-addquicktags-de-plugin/120\'>plugin homepage</a> for further information or to grab the latest version of this plugin.', 'addquicktag');
272
- $info2 = __('You want to thank me? Visit my <a href=\'http://bueltge.de/wunschliste/\'>wishlist</a>.', 'addquicktag');
273
 
274
  // message for import, after redirect
275
  if ( strpos($_SERVER['REQUEST_URI'], 'addquicktag.php') && $_GET['update'] && !$_POST['uninstall'] ) {
276
  $message_export = '<br class="clear" /><div class="updated fade"><p>';
277
  if ( $_GET['update'] == 'true' ) {
278
- $message_export .= __('AddQuicktag options imported!', 'addquicktag');
279
  } elseif( $_GET['update'] == 'exist' ) {
280
- $message_export .= __('File is exist!', 'addquicktag');
281
  } elseif( $_GET['update'] == 'notexist' ) {
282
- $message_export .= __('Invalid file extension!', 'addquicktag');
283
  }
284
  $message_export .= '</p></div>';
285
  }
@@ -288,11 +297,12 @@ function wpaq_options_page() {
288
 
289
  ?>
290
  <div class="wrap">
291
- <h2><?php _e('WP-Quicktag Management', 'addquicktag'); ?></h2>
292
  <?php echo $message . $message_export; ?>
293
  <br class="clear" />
294
- <div id="poststuff" class="ui-sortable">
295
  <div class="postbox">
 
296
  <h3><?php echo $string1; ?></h3>
297
  <div class="inside">
298
  <br class="clear" />
@@ -304,29 +314,34 @@ function wpaq_options_page() {
304
  <th scope="col"><?php echo $field1; ?></th>
305
  <th scope="col"><?php echo $field2; ?></th>
306
  <th scope="col"><?php echo $field3; ?></th>
 
307
  </tr>
308
  </thead>
309
  <tbody>
310
  <?php
311
  for ($i = 0; $i < count($o['buttons']); $i++) {
 
312
  $b = $o['buttons'][$i];
313
  $b['text'] = htmlentities(stripslashes($b['text']), ENT_COMPAT, get_option('blog_charset'));
 
314
  $b['start'] = htmlentities($b['start'], ENT_COMPAT, get_option('blog_charset'));
315
  $b['end'] = htmlentities($b['end'], ENT_COMPAT, get_option('blog_charset'));
316
  $nr = $i + 1;
317
  echo '
318
- <tr valign="top">
319
  <td><input type="text" name="wpaq[buttons][' . $i . '][text]" value="' . $b['text'] . '" style="width: 95%;" /></td>
 
320
  <td><textarea class="code" name="wpaq[buttons][' . $i . '][start]" rows="2" cols="25" style="width: 95%;">' . $b['start'] . '</textarea></td>
321
  <td><textarea class="code" name="wpaq[buttons][' . $i . '][end]" rows="2" cols="25" style="width: 95%;">' . $b['end'] . '</textarea></td>
322
  </tr>
323
  ';
324
  }
325
  ?>
326
- <tr valign="top">
327
- <td><input type="text" name="wpaq[buttons][<?php _e( $i ); ?>][text]" value="" tyle="width: 95%;" /></td>
328
- <td><textarea class="code" name="wpaq[buttons][<?php _e( $i ); ?>][start]" rows="2" cols="25" style="width: 95%;"></textarea></td>
329
- <td><textarea class="code" name="wpaq[buttons][<?php _e( $i ); ?>][end]" rows="2" cols="25" style="width: 95%;"></textarea></td>
 
330
  </tr>
331
  </tbody>
332
  </table>
@@ -340,8 +355,9 @@ function wpaq_options_page() {
340
  </div>
341
  </div>
342
 
343
- <div id="poststuff" class="ui-sortable">
344
  <div class="postbox closed">
 
345
  <h3><?php echo $export1; ?></h3>
346
  <div class="inside">
347
 
@@ -372,8 +388,9 @@ function wpaq_options_page() {
372
  </div>
373
  </div>
374
 
375
- <div id="poststuff" class="ui-sortable">
376
  <div class="postbox closed">
 
377
  <h3><?php echo $uninstall1; ?></h3>
378
  <div class="inside">
379
 
@@ -390,24 +407,33 @@ function wpaq_options_page() {
390
  </div>
391
  </div>
392
 
393
- <div id="poststuff" class="ui-sortable">
394
- <div class="postbox closed">
 
395
  <h3><?php echo $info0; ?></h3>
396
  <div class="inside">
397
-
398
- <p><?php echo $info1; ?><br />&copy; Copyright 2007 - <?php _e( date("Y") ); ?> <a href="http://bueltge.de">Frank B&uuml;ltge</a> | <?php echo $info2; ?></p>
399
-
 
 
 
 
 
 
 
400
  </div>
401
  </div>
402
  </div>
403
 
404
  <script type="text/javascript">
405
  <!--
406
- <?php if ( version_compare( $wp_version, '2.6.999', '<' ) ) { ?>
407
  jQuery('.postbox h3').prepend('<a class="togbox">+</a> ');
408
  <?php } ?>
409
  jQuery('.postbox h3').click( function() { jQuery(jQuery(this).parent().get(0)).toggleClass('closed'); } );
410
- jQuery('.postbox.close-me').each(function(){
 
411
  jQuery(this).addClass("closed");
412
  });
413
  //-->
@@ -421,54 +447,359 @@ function wpaq_options_page() {
421
  // only for post.php, page.php, post-new.php, page-new.php, comment.php
422
  if (strpos($_SERVER['REQUEST_URI'], 'post.php') || strpos($_SERVER['REQUEST_URI'], 'post-new.php') || strpos($_SERVER['REQUEST_URI'], 'page-new.php') || strpos($_SERVER['REQUEST_URI'], 'page.php') || strpos($_SERVER['REQUEST_URI'], 'comment.php')) {
423
  add_action('admin_footer', 'wpaq_addsome');
424
-
 
 
 
 
 
425
  function wpaq_addsome() {
426
  $o = get_option('rmnlQuicktagSettings');
427
  if (count($o['buttons']) > 0) {
428
- echo '
429
  <script type="text/javascript">
430
- <!--
431
- if (wpaqToolbar = document.getElementById("ed_toolbar")) {
432
- var wpaqNr, wpaqBut, wpaqStart, wpaqEnd;
433
- ';
434
- for ($i = 0; $i < count($o['buttons']); $i++) {
435
- $b = $o['buttons'][$i];
436
- $txt = html_entity_decode(stripslashes($b['txt']), ENT_COMPAT, get_option('blog_charset'));
437
- $text = stripslashes($b['text']);
438
- $b['text'] = stripslashes($b['text']);
 
 
 
 
 
 
 
 
439
  $start = preg_replace('![\n\r]+!', "\\n", $b['start']);
440
  $start = str_replace("'", "\'", $start);
441
- $end = preg_replace('![\n\r]+!', "\\n", $b['end']);
442
- $end = str_replace("'", "\'", $end);
443
- echo '
444
- wpaqStart = \'' . $start . '\';
445
- wpaqEnd = \'' . $end . '\';
446
- wpaqNr = edButtons.length;
447
- edButtons[wpaqNr] = new edButton(\'ed_wpaq' . $i . '\', \'' . $b['txt'] . '\', wpaqStart, wpaqEnd,\'\');
448
- var wpaqBut = wpaqToolbar.lastChild;
449
- while (wpaqBut.nodeType != 1) {
450
- wpaqBut = wpaqBut.previousSibling;
451
- }
452
- wpaqBut = wpaqBut.cloneNode(true);
453
- wpaqToolbar.appendChild(wpaqBut);
454
- wpaqBut.value = \'' . $b['text'] . '\';
455
- wpaqBut.title = wpaqNr;
456
- wpaqBut.onclick = function () {edInsertTag(edCanvas, parseInt(this.title));}
457
- wpaqBut.id = "ed_wpaq' . $i .'";
458
- ';
459
  }
460
- echo '
 
 
 
 
 
 
 
461
  }
462
-
463
- //-->
464
  </script>
465
- ';
466
  }
467
  } //End wpaq_addsome
468
  } // End if
469
 
470
 
471
- // add to wp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
472
  if ( function_exists('register_activation_hook') )
473
  register_activation_hook(__FILE__, 'wpaq_install');
474
  if ( function_exists('register_uninstall_hook') )
@@ -504,13 +835,21 @@ function wpaq_filter_plugin_actions($links, $file){
504
  * @version WP 2.7
505
  * Add action link(s) to plugins page
506
  *
507
- * @package AddQuicktag
 
 
 
508
  */
509
- function wpaq_filter_plugin_actions_new($links) {
510
-
511
- $settings_link = '<a href="options-general.php?page=addquicktag/addquicktag.php">' . __('Settings') . '</a>';
512
- array_unshift( $links, $settings_link );
513
-
 
 
 
 
 
514
  return $links;
515
  }
516
 
@@ -580,14 +919,16 @@ function wpaq_add_settings_page() {
580
  if ( version_compare( $wp_version, '2.6.999', '>' ) ) {
581
  $menutitle = '<img src="' . wpag_get_resource_url('addquicktag.gif') . '" alt="" />' . ' ';
582
  }
583
- $menutitle .= __('AddQuicktag', 'addquicktag');
584
 
585
- add_options_page( __('WP-Quicktag &ndash; AddQuicktag', 'addquicktag'), $menutitle, 9, $plugin, 'wpaq_options_page');
586
 
587
- if ( version_compare( $wp_version, '2.6.999', '<' ) ) {
588
  add_filter('plugin_action_links', 'wpaq_filter_plugin_actions', 10, 2);
589
  } else {
590
- add_filter( 'plugin_action_links_' . $plugin, 'wpaq_filter_plugin_actions_new' );
 
 
591
  }
592
  }
593
  }
2
  /**
3
  * @package AddQuicktag
4
  * @author Roel Meurders, Frank B&uuml;ltge
5
+ * @version 1.6.4
6
  */
7
 
8
  /**
9
  Plugin Name: AddQuicktag
10
  Plugin URI: http://bueltge.de/wp-addquicktags-de-plugin/120/
11
  Description: Allows you to easily add custom Quicktags to the editor. You can also export and import your Quicktags.
12
+ Author: Roel Meurders, Frank B&uuml;ltge
13
  Author URI: http://bueltge.de/
14
+ Version: 1.6.4
15
  License: GNU General Public License
16
+ Last Change: 01.12.2010 13:00:47
17
 
18
  This program is free software; you can redistribute it and/or modify
19
  it under the terms of the GNU General Public License as published by
35
  This Wordpress plugin is released under a GNU General Public License. A complete version of this license
36
  can be found here: http://www.gnu.org/licenses/gpl.txt
37
 
 
 
38
  This Wordpress plugin is released "as is". Without any warranty. The authors cannot
39
  be held responsible for any damage that this script might cause.
40
  */
46
  exit();
47
  }
48
 
49
+ if ( function_exists('add_action') ) {
50
+ // Pre-2.6 compatibility
51
+ if ( !defined('WP_CONTENT_URL') )
52
+ define( 'WP_CONTENT_URL', get_option('url') . '/wp-content');
53
+ if ( !defined('WP_CONTENT_DIR') )
54
+ define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
55
+ if ( !defined('WP_CONTENT_FOLDER') )
56
+ define( 'WP_CONTENT_FOLDER', str_replace(ABSPATH, '/', WP_CONTENT_DIR) );
57
+
58
+ // plugin definitions
59
+ define( 'FB_WPAQ_BASENAME', plugin_basename( __FILE__ ) );
60
+ define( 'FB_WPAQ_BASEFOLDER', plugin_basename( dirname( __FILE__ ) ) );
61
+ define( 'FB_WPAQ_TEXTDOMAIN', 'addquicktag' );
62
+ }
63
 
64
  // send file for save
65
  if ( isset( $_GET['export'] ) ) {
76
 
77
  if ( function_exists('load_plugin_textdomain') ) {
78
  if ( !defined('WP_PLUGIN_DIR') ) {
79
+ load_plugin_textdomain( FB_WPAQ_TEXTDOMAIN, str_replace( ABSPATH, '', dirname(__FILE__) ) . '/languages' );
80
  } else {
81
+ load_plugin_textdomain( FB_WPAQ_TEXTDOMAIN, false, dirname( plugin_basename(__FILE__) ) . '/languages' );
82
  }
83
  }
84
  }
92
  function wpaq_install() {
93
 
94
  $rmnlQuicktagSettings = array(
95
+ 'buttons' => array(
96
+ array(
97
+ 'text' => 'Example',
98
+ 'title' => 'Example Title',
99
+ 'start' => '<example>',
100
+ 'end' => '</example>'
101
+ )
102
+ )
103
+ );
104
  add_option('rmnlQuicktagSettings', $rmnlQuicktagSettings);
105
  }
106
 
113
  function wpaq_reset() {
114
 
115
  $rmnlQuicktagSettings = array(
116
+ 'buttons' => array(
117
+ array(
118
+ 'text' => 'Reset',
119
+ 'title' => 'Reset Title',
120
+ 'start' => '<reset>',
121
+ 'end' => '</reset>'
122
+ )
123
+ )
124
+ );
125
  update_option('rmnlQuicktagSettings', $rmnlQuicktagSettings);
126
  }
127
 
219
  for ($i = 0; $i < count($_POST['wpaq']['buttons']); $i++){
220
  $b = $_POST['wpaq']['buttons'][$i];
221
  if ($b['text'] != '' && $b['start'] != '') {
222
+ $b['text'] = $b['text'];
223
+ $b['title'] = $b['title'];
224
+ $b['start'] = stripslashes($b['start']);
225
+ $b['end'] = stripslashes($b['end']);
226
+ $buttons[] = $b;
227
  }
228
  }
229
  $_POST['wpaq']['buttons'] = $buttons;
230
  update_option('rmnlQuicktagSettings', $_POST['wpaq']);
231
+ $message = '<br class="clear" /><div class="updated fade"><p><strong>' . __('Options saved.', FB_WPAQ_TEXTDOMAIN ) . '</strong></p></div>';
232
 
233
  } else {
234
+ wp_die('<p>'.__('You do not have sufficient permissions to edit plugins for this blog.', FB_WPAQ_TEXTDOMAIN ).'</p>');
235
  }
236
  }
237
 
242
  check_admin_referer('rmnl_nonce');
243
  wpaq_uninstall();
244
  $message_export = '<br class="clear" /><div class="updated fade"><p>';
245
+ $message_export.= __('AddQuicktag options have been deleted!', FB_WPAQ_TEXTDOMAIN );
246
  $message_export.= '</p></div>';
247
 
248
  } else {
249
+ wp_die('<p>'.__('You do not have sufficient permissions to edit plugins for this blog.', FB_WPAQ_TEXTDOMAIN ).'</p>');
250
  }
251
  }
252
 
253
+ $string1 = __('Add or delete Quicktag buttons', FB_WPAQ_TEXTDOMAIN );
254
+ $string2 = __('Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields.', FB_WPAQ_TEXTDOMAIN );
255
+ $field1 = __('Button Label*', FB_WPAQ_TEXTDOMAIN );
256
+ $field2 = __('Title Attribute', FB_WPAQ_TEXTDOMAIN );
257
+ $field3 = __('Start Tag(s)*', FB_WPAQ_TEXTDOMAIN );
258
+ $field4 = __('End Tag(s)', FB_WPAQ_TEXTDOMAIN );
259
+ $button1 = __('Update Options &raquo;', FB_WPAQ_TEXTDOMAIN );
260
 
261
  // Export strings
262
+ $button2 = __('Export &raquo;', FB_WPAQ_TEXTDOMAIN );
263
+ $export1 = __('Export/Import AddQuicktag buttons options', FB_WPAQ_TEXTDOMAIN );
264
+ $export2 = __('You can save a .wpaq file with your options.', FB_WPAQ_TEXTDOMAIN );
265
+ $export3 = __('Export', FB_WPAQ_TEXTDOMAIN );
266
 
267
  // Import strings
268
+ $button3 = __('Upload file and import &raquo;', FB_WPAQ_TEXTDOMAIN );
269
+ $import1 = __('Import', FB_WPAQ_TEXTDOMAIN );
270
+ $import2 = __('Choose a Quicktag (<em>.wpaq</em>) file to upload, then click <em>Upload file and import</em>.', FB_WPAQ_TEXTDOMAIN );
271
+ $import3 = __('Choose a file from your computer: ', FB_WPAQ_TEXTDOMAIN );
272
 
273
  // Uninstall strings
274
+ $button4 = __('Uninstall Options &raquo;', FB_WPAQ_TEXTDOMAIN );
275
+ $uninstall1 = __('Uninstall options', FB_WPAQ_TEXTDOMAIN );
276
+ $uninstall2 = __('This button deletes all options of the WP-AddQuicktag plugin. <strong>Attention: </strong>You cannot undo this!', FB_WPAQ_TEXTDOMAIN );
277
 
278
  // Info
279
+ $info0 = __('About the plugin', FB_WPAQ_TEXTDOMAIN );
280
+ $info1 = __('Further information: Visit the <a href=\'http://bueltge.de/wp-addquicktags-de-plugin/120\'>plugin homepage</a> for further information or to grab the latest version of this plugin.', FB_WPAQ_TEXTDOMAIN );
281
+ $info2 = __('You want to thank me? Visit my <a href=\'http://bueltge.de/wunschliste/\'>wishlist</a> or donate.', FB_WPAQ_TEXTDOMAIN );
282
 
283
  // message for import, after redirect
284
  if ( strpos($_SERVER['REQUEST_URI'], 'addquicktag.php') && $_GET['update'] && !$_POST['uninstall'] ) {
285
  $message_export = '<br class="clear" /><div class="updated fade"><p>';
286
  if ( $_GET['update'] == 'true' ) {
287
+ $message_export .= __('AddQuicktag options imported!', FB_WPAQ_TEXTDOMAIN );
288
  } elseif( $_GET['update'] == 'exist' ) {
289
+ $message_export .= __('File is exist!', FB_WPAQ_TEXTDOMAIN );
290
  } elseif( $_GET['update'] == 'notexist' ) {
291
+ $message_export .= __('Invalid file extension!', FB_WPAQ_TEXTDOMAIN );
292
  }
293
  $message_export .= '</p></div>';
294
  }
297
 
298
  ?>
299
  <div class="wrap">
300
+ <h2><?php _e('WP-Quicktag Management', FB_WPAQ_TEXTDOMAIN ); ?></h2>
301
  <?php echo $message . $message_export; ?>
302
  <br class="clear" />
303
+ <div id="poststuff" class="ui-sortable meta-box-sortables">
304
  <div class="postbox">
305
+ <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
306
  <h3><?php echo $string1; ?></h3>
307
  <div class="inside">
308
  <br class="clear" />
314
  <th scope="col"><?php echo $field1; ?></th>
315
  <th scope="col"><?php echo $field2; ?></th>
316
  <th scope="col"><?php echo $field3; ?></th>
317
+ <th scope="col"><?php echo $field4; ?></th>
318
  </tr>
319
  </thead>
320
  <tbody>
321
  <?php
322
  for ($i = 0; $i < count($o['buttons']); $i++) {
323
+ $class = ( ' class="alternate"' == $class ) ? '' : ' class="alternate"';
324
  $b = $o['buttons'][$i];
325
  $b['text'] = htmlentities(stripslashes($b['text']), ENT_COMPAT, get_option('blog_charset'));
326
+ $b['title'] = htmlentities(stripslashes($b['title']), ENT_COMPAT, get_option('blog_charset'));
327
  $b['start'] = htmlentities($b['start'], ENT_COMPAT, get_option('blog_charset'));
328
  $b['end'] = htmlentities($b['end'], ENT_COMPAT, get_option('blog_charset'));
329
  $nr = $i + 1;
330
  echo '
331
+ <tr valign="top"' . $class . '>
332
  <td><input type="text" name="wpaq[buttons][' . $i . '][text]" value="' . $b['text'] . '" style="width: 95%;" /></td>
333
+ <td><input type="text" name="wpaq[buttons][' . $i . '][title]" value="' . $b['title'] . '" style="width: 95%;" /></td>
334
  <td><textarea class="code" name="wpaq[buttons][' . $i . '][start]" rows="2" cols="25" style="width: 95%;">' . $b['start'] . '</textarea></td>
335
  <td><textarea class="code" name="wpaq[buttons][' . $i . '][end]" rows="2" cols="25" style="width: 95%;">' . $b['end'] . '</textarea></td>
336
  </tr>
337
  ';
338
  }
339
  ?>
340
+ <tr valign="top" class="alternate">
341
+ <td><input type="text" name="wpaq[buttons][<?php echo $i; ?>][text]" value="" style="width: 95%;" /></td>
342
+ <td><input type="text" name="wpaq[buttons][<?php echo $i; ?>][title]" value="" style="width: 95%;" /></td>
343
+ <td><textarea class="code" name="wpaq[buttons][<?php echo $i; ?>][start]" rows="2" cols="25" style="width: 95%;"></textarea></td>
344
+ <td><textarea class="code" name="wpaq[buttons][<?php echo $i; ?>][end]" rows="2" cols="25" style="width: 95%;"></textarea></td>
345
  </tr>
346
  </tbody>
347
  </table>
355
  </div>
356
  </div>
357
 
358
+ <div id="poststuff" class="ui-sortable meta-box-sortables">
359
  <div class="postbox closed">
360
+ <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
361
  <h3><?php echo $export1; ?></h3>
362
  <div class="inside">
363
 
388
  </div>
389
  </div>
390
 
391
+ <div id="poststuff" class="ui-sortable meta-box-sortables">
392
  <div class="postbox closed">
393
+ <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
394
  <h3><?php echo $uninstall1; ?></h3>
395
  <div class="inside">
396
 
407
  </div>
408
  </div>
409
 
410
+ <div id="poststuff" class="ui-sortable meta-box-sortables">
411
+ <div class="postbox" >
412
+ <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
413
  <h3><?php echo $info0; ?></h3>
414
  <div class="inside">
415
+ <p>
416
+ <span style="float: left;">
417
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
418
+ <input type="hidden" name="cmd" value="_s-xclick">
419
+ <input type="hidden" name="hosted_button_id" value="6069955">
420
+ <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
421
+ <img alt="" border="0" src="https://www.paypal.com/de_DE/i/scr/pixel.gif" width="1" height="1">
422
+ </form>
423
+ </span>
424
+ <?php echo $info1; ?><br />&copy; Copyright 2007 - <?php _e( date("Y") ); ?> <a href="http://bueltge.de">Frank B&uuml;ltge</a> | <?php echo $info2; ?></p>
425
  </div>
426
  </div>
427
  </div>
428
 
429
  <script type="text/javascript">
430
  <!--
431
+ <?php if ( version_compare( $wp_version, '2.7alpha', '<' ) ) { ?>
432
  jQuery('.postbox h3').prepend('<a class="togbox">+</a> ');
433
  <?php } ?>
434
  jQuery('.postbox h3').click( function() { jQuery(jQuery(this).parent().get(0)).toggleClass('closed'); } );
435
+ jQuery('.postbox .handlediv').click( function() { jQuery(jQuery(this).parent().get(0)).toggleClass('closed'); } );
436
+ jQuery('.postbox.close-me').each(function() {
437
  jQuery(this).addClass("closed");
438
  });
439
  //-->
447
  // only for post.php, page.php, post-new.php, page-new.php, comment.php
448
  if (strpos($_SERVER['REQUEST_URI'], 'post.php') || strpos($_SERVER['REQUEST_URI'], 'post-new.php') || strpos($_SERVER['REQUEST_URI'], 'page-new.php') || strpos($_SERVER['REQUEST_URI'], 'page.php') || strpos($_SERVER['REQUEST_URI'], 'comment.php')) {
449
  add_action('admin_footer', 'wpaq_addsome');
450
+
451
+ /**
452
+ * add quicktags to editor
453
+ *
454
+ * @package AddQuicktag
455
+ */
456
  function wpaq_addsome() {
457
  $o = get_option('rmnlQuicktagSettings');
458
  if (count($o['buttons']) > 0) {
459
+ ?>
460
  <script type="text/javascript">
461
+ //<![CDATA[
462
+ if ( wpaqToolbar = document.getElementById("ed_toolbar") ) {
463
+ <?php
464
+ for ($i = 0; $i < count($o['buttons']); $i++) :
465
+ $b = $o['buttons'][$i];
466
+ if ( version_compare(phpversion(), '5.0.0', '>=') )
467
+ $text = html_entity_decode( stripslashes($b['text']), ENT_COMPAT, get_option('blog_charset') );
468
+ else
469
+ $text = wpaq_html_entity_decode_php4( stripslashes($b['text']) );
470
+ $text = str_replace('"', '\"', $text);
471
+ $id = strtolower($text);
472
+ $title = stripslashes($b['title']);
473
+ if ($title == '')
474
+ $title = strlen($text);
475
+ $title = preg_replace('![\n\r]+!', "\n", $title);
476
+ $title = str_replace("'", "\'", $title);
477
+ $title = str_replace('"', '\"', $title);
478
  $start = preg_replace('![\n\r]+!', "\\n", $b['start']);
479
  $start = str_replace("'", "\'", $start);
480
+ $start = str_replace('"', '\"', $start);
481
+ $end = preg_replace('![\n\r]+!', "\\n", $b['end']);
482
+ $end = str_replace("'", "\'", $end);
483
+ $end = str_replace('"', '\"', $end);
484
+ ?>
485
+ var wpaqNr, wpaqBut;
486
+ wpaqNr = edButtons.length;
487
+ edButtons[wpaqNr] = new edButton("ed_"+wpaqNr, "<?php echo $text; ?>", "<?php echo $start; ?>", "<?php echo $end; ?>", "");
488
+ var wpaqBut = wpaqToolbar.lastChild;
489
+ while (wpaqBut.nodeType != 1) {
490
+ wpaqBut = wpaqBut.previousSibling;
 
 
 
 
 
 
 
491
  }
492
+ wpaqBut = wpaqBut.cloneNode(true);
493
+ wpaqBut.id = "ed_"+wpaqNr;
494
+ wpaqBut._idx = wpaqNr; //store our current index at element itself
495
+ wpaqBut.value = "<?php echo $text; ?>";
496
+ wpaqBut.title = "<?php echo $title; ?>";
497
+ wpaqBut.onclick = function() {edInsertTag(edCanvas, this._idx); return false; }
498
+ wpaqToolbar.appendChild(wpaqBut);
499
+ <?php endfor; ?>
500
  }
501
+ //]]>
 
502
  </script>
503
+ <?php
504
  }
505
  } //End wpaq_addsome
506
  } // End if
507
 
508
 
509
+ /**
510
+ * code to utf-8 in PHP 4
511
+ *
512
+ * @package AddQuicktag
513
+ */
514
+ function wpaq_code_to_utf8($num) {
515
+
516
+ if ($num <= 0x7F) {
517
+ return chr($num);
518
+ } elseif ($num <= 0x7FF) {
519
+ return chr(($num >> 0x06) + 0xC0) . chr(($num & 0x3F) + 128);
520
+ } elseif ($num <= 0xFFFF) {
521
+ return chr(($num >> 0x0C) + 0xE0) . chr((($num >> 0x06) & 0x3F) + 0x80) . chr(($num & 0x3F) + 0x80);
522
+ } elseif ($num <= 0x1FFFFF) {
523
+ return chr(($num >> 0x12) + 0xF0) . chr((($num >> 0x0C) & 0x3F) + 0x80) . chr((($num >> 0x06) & 0x3F) + 0x80) . chr(($num & 0x3F) + 0x80);
524
+ }
525
+
526
+ return '';
527
+ }
528
+
529
+
530
+ /**
531
+ * html_entity_decode for PHP 4
532
+ *
533
+ * @package AddQuicktag
534
+ */
535
+ function wpaq_html_entity_decode_php4($str) {
536
+ $htmlentities = array (
537
+ "&Aacute;" => chr(195).chr(129),
538
+ "&aacute;" => chr(195).chr(161),
539
+ "&Acirc;" => chr(195).chr(130),
540
+ "&acirc;" => chr(195).chr(162),
541
+ "&acute;" => chr(194).chr(180),
542
+ "&AElig;" => chr(195).chr(134),
543
+ "&aelig;" => chr(195).chr(166),
544
+ "&Agrave;" => chr(195).chr(128),
545
+ "&agrave;" => chr(195).chr(160),
546
+ "&alefsym;" => chr(226).chr(132).chr(181),
547
+ "&Alpha;" => chr(206).chr(145),
548
+ "&alpha;" => chr(206).chr(177),
549
+ "&amp;" => chr(38),
550
+ "&and;" => chr(226).chr(136).chr(167),
551
+ "&ang;" => chr(226).chr(136).chr(160),
552
+ "&Aring;" => chr(195).chr(133),
553
+ "&aring;" => chr(195).chr(165),
554
+ "&asymp;" => chr(226).chr(137).chr(136),
555
+ "&Atilde;" => chr(195).chr(131),
556
+ "&atilde;" => chr(195).chr(163),
557
+ "&Auml;" => chr(195).chr(132),
558
+ "&auml;" => chr(195).chr(164),
559
+ "&bdquo;" => chr(226).chr(128).chr(158),
560
+ "&Beta;" => chr(206).chr(146),
561
+ "&beta;" => chr(206).chr(178),
562
+ "&brvbar;" => chr(194).chr(166),
563
+ "&bull;" => chr(226).chr(128).chr(162),
564
+ "&cap;" => chr(226).chr(136).chr(169),
565
+ "&Ccedil;" => chr(195).chr(135),
566
+ "&ccedil;" => chr(195).chr(167),
567
+ "&cedil;" => chr(194).chr(184),
568
+ "&cent;" => chr(194).chr(162),
569
+ "&Chi;" => chr(206).chr(167),
570
+ "&chi;" => chr(207).chr(135),
571
+ "&circ;" => chr(203).chr(134),
572
+ "&clubs;" => chr(226).chr(153).chr(163),
573
+ "&cong;" => chr(226).chr(137).chr(133),
574
+ "&copy;" => chr(194).chr(169),
575
+ "&crarr;" => chr(226).chr(134).chr(181),
576
+ "&cup;" => chr(226).chr(136).chr(170),
577
+ "&curren;" => chr(194).chr(164),
578
+ "&dagger;" => chr(226).chr(128).chr(160),
579
+ "&Dagger;" => chr(226).chr(128).chr(161),
580
+ "&darr;" => chr(226).chr(134).chr(147),
581
+ "&dArr;" => chr(226).chr(135).chr(147),
582
+ "&deg;" => chr(194).chr(176),
583
+ "&Delta;" => chr(206).chr(148),
584
+ "&delta;" => chr(206).chr(180),
585
+ "&diams;" => chr(226).chr(153).chr(166),
586
+ "&divide;" => chr(195).chr(183),
587
+ "&Eacute;" => chr(195).chr(137),
588
+ "&eacute;" => chr(195).chr(169),
589
+ "&Ecirc;" => chr(195).chr(138),
590
+ "&ecirc;" => chr(195).chr(170),
591
+ "&Egrave;" => chr(195).chr(136),
592
+ "&egrave;" => chr(195).chr(168),
593
+ "&empty;" => chr(226).chr(136).chr(133),
594
+ "&emsp;" => chr(226).chr(128).chr(131),
595
+ "&ensp;" => chr(226).chr(128).chr(130),
596
+ "&Epsilon;" => chr(206).chr(149),
597
+ "&epsilon;" => chr(206).chr(181),
598
+ "&equiv;" => chr(226).chr(137).chr(161),
599
+ "&Eta;" => chr(206).chr(151),
600
+ "&eta;" => chr(206).chr(183),
601
+ "&ETH;" => chr(195).chr(144),
602
+ "&eth;" => chr(195).chr(176),
603
+ "&Euml;" => chr(195).chr(139),
604
+ "&euml;" => chr(195).chr(171),
605
+ "&euro;" => chr(226).chr(130).chr(172),
606
+ "&exist;" => chr(226).chr(136).chr(131),
607
+ "&fnof;" => chr(198).chr(146),
608
+ "&forall;" => chr(226).chr(136).chr(128),
609
+ "&frac12;" => chr(194).chr(189),
610
+ "&frac14;" => chr(194).chr(188),
611
+ "&frac34;" => chr(194).chr(190),
612
+ "&frasl;" => chr(226).chr(129).chr(132),
613
+ "&Gamma;" => chr(206).chr(147),
614
+ "&gamma;" => chr(206).chr(179),
615
+ "&ge;" => chr(226).chr(137).chr(165),
616
+ "&harr;" => chr(226).chr(134).chr(148),
617
+ "&hArr;" => chr(226).chr(135).chr(148),
618
+ "&hearts;" => chr(226).chr(153).chr(165),
619
+ "&hellip;" => chr(226).chr(128).chr(166),
620
+ "&Iacute;" => chr(195).chr(141),
621
+ "&iacute;" => chr(195).chr(173),
622
+ "&Icirc;" => chr(195).chr(142),
623
+ "&icirc;" => chr(195).chr(174),
624
+ "&iexcl;" => chr(194).chr(161),
625
+ "&Igrave;" => chr(195).chr(140),
626
+ "&igrave;" => chr(195).chr(172),
627
+ "&image;" => chr(226).chr(132).chr(145),
628
+ "&infin;" => chr(226).chr(136).chr(158),
629
+ "&int;" => chr(226).chr(136).chr(171),
630
+ "&Iota;" => chr(206).chr(153),
631
+ "&iota;" => chr(206).chr(185),
632
+ "&iquest;" => chr(194).chr(191),
633
+ "&isin;" => chr(226).chr(136).chr(136),
634
+ "&Iuml;" => chr(195).chr(143),
635
+ "&iuml;" => chr(195).chr(175),
636
+ "&Kappa;" => chr(206).chr(154),
637
+ "&kappa;" => chr(206).chr(186),
638
+ "&Lambda;" => chr(206).chr(155),
639
+ "&lambda;" => chr(206).chr(187),
640
+ "&lang;" => chr(226).chr(140).chr(169),
641
+ "&laquo;" => chr(194).chr(171),
642
+ "&larr;" => chr(226).chr(134).chr(144),
643
+ "&lArr;" => chr(226).chr(135).chr(144),
644
+ "&lceil;" => chr(226).chr(140).chr(136),
645
+ "&ldquo;" => chr(226).chr(128).chr(156),
646
+ "&le;" => chr(226).chr(137).chr(164),
647
+ "&lfloor;" => chr(226).chr(140).chr(138),
648
+ "&lowast;" => chr(226).chr(136).chr(151),
649
+ "&loz;" => chr(226).chr(151).chr(138),
650
+ "&lrm;" => chr(226).chr(128).chr(142),
651
+ "&lsaquo;" => chr(226).chr(128).chr(185),
652
+ "&lsquo;" => chr(226).chr(128).chr(152),
653
+ "&macr;" => chr(194).chr(175),
654
+ "&mdash;" => chr(226).chr(128).chr(148),
655
+ "&micro;" => chr(194).chr(181),
656
+ "&middot;" => chr(194).chr(183),
657
+ "&minus;" => chr(226).chr(136).chr(146),
658
+ "&Mu;" => chr(206).chr(156),
659
+ "&mu;" => chr(206).chr(188),
660
+ "&nabla;" => chr(226).chr(136).chr(135),
661
+ "&nbsp;" => chr(194).chr(160),
662
+ "&ndash;" => chr(226).chr(128).chr(147),
663
+ "&ne;" => chr(226).chr(137).chr(160),
664
+ "&ni;" => chr(226).chr(136).chr(139),
665
+ "&not;" => chr(194).chr(172),
666
+ "&notin;" => chr(226).chr(136).chr(137),
667
+ "&nsub;" => chr(226).chr(138).chr(132),
668
+ "&Ntilde;" => chr(195).chr(145),
669
+ "&ntilde;" => chr(195).chr(177),
670
+ "&Nu;" => chr(206).chr(157),
671
+ "&nu;" => chr(206).chr(189),
672
+ "&Oacute;" => chr(195).chr(147),
673
+ "&oacute;" => chr(195).chr(179),
674
+ "&Ocirc;" => chr(195).chr(148),
675
+ "&ocirc;" => chr(195).chr(180),
676
+ "&OElig;" => chr(197).chr(146),
677
+ "&oelig;" => chr(197).chr(147),
678
+ "&Ograve;" => chr(195).chr(146),
679
+ "&ograve;" => chr(195).chr(178),
680
+ "&oline;" => chr(226).chr(128).chr(190),
681
+ "&Omega;" => chr(206).chr(169),
682
+ "&omega;" => chr(207).chr(137),
683
+ "&Omicron;" => chr(206).chr(159),
684
+ "&omicron;" => chr(206).chr(191),
685
+ "&oplus;" => chr(226).chr(138).chr(149),
686
+ "&or;" => chr(226).chr(136).chr(168),
687
+ "&ordf;" => chr(194).chr(170),
688
+ "&ordm;" => chr(194).chr(186),
689
+ "&Oslash;" => chr(195).chr(152),
690
+ "&oslash;" => chr(195).chr(184),
691
+ "&Otilde;" => chr(195).chr(149),
692
+ "&otilde;" => chr(195).chr(181),
693
+ "&otimes;" => chr(226).chr(138).chr(151),
694
+ "&Ouml;" => chr(195).chr(150),
695
+ "&ouml;" => chr(195).chr(182),
696
+ "&para;" => chr(194).chr(182),
697
+ "&part;" => chr(226).chr(136).chr(130),
698
+ "&permil;" => chr(226).chr(128).chr(176),
699
+ "&perp;" => chr(226).chr(138).chr(165),
700
+ "&Phi;" => chr(206).chr(166),
701
+ "&phi;" => chr(207).chr(134),
702
+ "&Pi;" => chr(206).chr(160),
703
+ "&pi;" => chr(207).chr(128),
704
+ "&piv;" => chr(207).chr(150),
705
+ "&plusmn;" => chr(194).chr(177),
706
+ "&pound;" => chr(194).chr(163),
707
+ "&prime;" => chr(226).chr(128).chr(178),
708
+ "&Prime;" => chr(226).chr(128).chr(179),
709
+ "&prod;" => chr(226).chr(136).chr(143),
710
+ "&prop;" => chr(226).chr(136).chr(157),
711
+ "&Psi;" => chr(206).chr(168),
712
+ "&psi;" => chr(207).chr(136),
713
+ "&radic;" => chr(226).chr(136).chr(154),
714
+ "&rang;" => chr(226).chr(140).chr(170),
715
+ "&raquo;" => chr(194).chr(187),
716
+ "&rarr;" => chr(226).chr(134).chr(146),
717
+ "&rArr;" => chr(226).chr(135).chr(146),
718
+ "&rceil;" => chr(226).chr(140).chr(137),
719
+ "&rdquo;" => chr(226).chr(128).chr(157),
720
+ "&real;" => chr(226).chr(132).chr(156),
721
+ "&reg;" => chr(194).chr(174),
722
+ "&rfloor;" => chr(226).chr(140).chr(139),
723
+ "&Rho;" => chr(206).chr(161),
724
+ "&rho;" => chr(207).chr(129),
725
+ "&rlm;" => chr(226).chr(128).chr(143),
726
+ "&rsaquo;" => chr(226).chr(128).chr(186),
727
+ "&rsquo;" => chr(226).chr(128).chr(153),
728
+ "&sbquo;" => chr(226).chr(128).chr(154),
729
+ "&Scaron;" => chr(197).chr(160),
730
+ "&scaron;" => chr(197).chr(161),
731
+ "&sdot;" => chr(226).chr(139).chr(133),
732
+ "&sect;" => chr(194).chr(167),
733
+ "&shy;" => chr(194).chr(173),
734
+ "&Sigma;" => chr(206).chr(163),
735
+ "&sigma;" => chr(207).chr(131),
736
+ "&sigmaf;" => chr(207).chr(130),
737
+ "&sim;" => chr(226).chr(136).chr(188),
738
+ "&spades;" => chr(226).chr(153).chr(160),
739
+ "&sub;" => chr(226).chr(138).chr(130),
740
+ "&sube;" => chr(226).chr(138).chr(134),
741
+ "&sum;" => chr(226).chr(136).chr(145),
742
+ "&sup1;" => chr(194).chr(185),
743
+ "&sup2;" => chr(194).chr(178),
744
+ "&sup3;" => chr(194).chr(179),
745
+ "&sup;" => chr(226).chr(138).chr(131),
746
+ "&supe;" => chr(226).chr(138).chr(135),
747
+ "&szlig;" => chr(195).chr(159),
748
+ "&Tau;" => chr(206).chr(164),
749
+ "&tau;" => chr(207).chr(132),
750
+ "&there4;" => chr(226).chr(136).chr(180),
751
+ "&Theta;" => chr(206).chr(152),
752
+ "&theta;" => chr(206).chr(184),
753
+ "&thetasym;" => chr(207).chr(145),
754
+ "&thinsp;" => chr(226).chr(128).chr(137),
755
+ "&THORN;" => chr(195).chr(158),
756
+ "&thorn;" => chr(195).chr(190),
757
+ "&tilde;" => chr(203).chr(156),
758
+ "&times;" => chr(195).chr(151),
759
+ "&trade;" => chr(226).chr(132).chr(162),
760
+ "&Uacute;" => chr(195).chr(154),
761
+ "&uacute;" => chr(195).chr(186),
762
+ "&uarr;" => chr(226).chr(134).chr(145),
763
+ "&uArr;" => chr(226).chr(135).chr(145),
764
+ "&Ucirc;" => chr(195).chr(155),
765
+ "&ucirc;" => chr(195).chr(187),
766
+ "&Ugrave;" => chr(195).chr(153),
767
+ "&ugrave;" => chr(195).chr(185),
768
+ "&uml;" => chr(194).chr(168),
769
+ "&upsih;" => chr(207).chr(146),
770
+ "&Upsilon;" => chr(206).chr(165),
771
+ "&upsilon;" => chr(207).chr(133),
772
+ "&Uuml;" => chr(195).chr(156),
773
+ "&uuml;" => chr(195).chr(188),
774
+ "&weierp;" => chr(226).chr(132).chr(152),
775
+ "&Xi;" => chr(206).chr(158),
776
+ "&xi;" => chr(206).chr(190),
777
+ "&Yacute;" => chr(195).chr(157),
778
+ "&yacute;" => chr(195).chr(189),
779
+ "&yen;" => chr(194).chr(165),
780
+ "&yuml;" => chr(195).chr(191),
781
+ "&Yuml;" => chr(197).chr(184),
782
+ "&Zeta;" => chr(206).chr(150),
783
+ "&zeta;" => chr(206).chr(182),
784
+ "&zwj;" => chr(226).chr(128).chr(141),
785
+ "&zwnj;" => chr(226).chr(128).chr(140),
786
+ "&gt;" => ">",
787
+ "&lt;" => "<"
788
+ );
789
+
790
+ $return = strtr($str, $htmlentities);
791
+ $return = preg_replace("~&#x([0-9a-f]+);~ei", "wpaq_code_to_utf8(hexdec(\\1))", $return);
792
+ $return = preg_replace("~&#([0-9]+);~e", "wpaq_code_to_utf8(\\1)", $return);
793
+
794
+ return $return;
795
+ }
796
+
797
+
798
+ /**
799
+ * hook in WP
800
+ *
801
+ * @package AddQuicktag
802
+ */
803
  if ( function_exists('register_activation_hook') )
804
  register_activation_hook(__FILE__, 'wpaq_install');
805
  if ( function_exists('register_uninstall_hook') )
835
  * @version WP 2.7
836
  * Add action link(s) to plugins page
837
  *
838
+ * @package Secure WordPress
839
+ *
840
+ * @param $links, $file
841
+ * @return $links
842
  */
843
+ function wpaq_filter_plugin_actions_new($links, $file) {
844
+
845
+ /* create link */
846
+ if ( $file == FB_WPAQ_BASENAME ) {
847
+ array_unshift(
848
+ $links,
849
+ sprintf( '<a href="options-general.php?page=%s">%s</a>', FB_WPAQ_BASENAME, __('Settings') )
850
+ );
851
+ }
852
+
853
  return $links;
854
  }
855
 
919
  if ( version_compare( $wp_version, '2.6.999', '>' ) ) {
920
  $menutitle = '<img src="' . wpag_get_resource_url('addquicktag.gif') . '" alt="" />' . ' ';
921
  }
922
+ $menutitle .= __('AddQuicktag', FB_WPAQ_TEXTDOMAIN );
923
 
924
+ add_options_page( __('WP-Quicktag &ndash; AddQuicktag', FB_WPAQ_TEXTDOMAIN ), $menutitle, 'manage_options', $plugin, 'wpaq_options_page');
925
 
926
+ if ( version_compare( $wp_version, '2.7alpha', '<' ) ) {
927
  add_filter('plugin_action_links', 'wpaq_filter_plugin_actions', 10, 2);
928
  } else {
929
+ add_filter( 'plugin_action_links_' . $plugin, 'wpaq_filter_plugin_actions_new', 10, 2 );
930
+ if ( version_compare( $wp_version, '2.8alpha', '>' ) )
931
+ add_filter( 'plugin_row_meta', 'wpaq_filter_plugin_actions_new', 10, 2 );
932
  }
933
  }
934
  }
languages/addquicktag-cs_CZ.mo ADDED
Binary file
languages/addquicktag-cs_CZ.po ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: addquicktags CZ\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-11-01 14:39+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Pepawo <jklimosz@gmail.com>\n"
8
+ "Language-Team: Pepawo <jklimosz@gmail.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Czech\n"
13
+ "X-Poedit-Country: CZECH REPUBLIC\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-Basepath: .\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ ": "
19
+
20
+ #: addquicktag.php:110
21
+ msgid "Options saved."
22
+ msgstr "Nastavení uložena."
23
+
24
+ #: addquicktag.php:113
25
+ #: addquicktag.php:145
26
+ #: addquicktag.php:183
27
+ #: addquicktag.php:198
28
+ msgid "You do not have sufficient permissions to edit plugins for this blog."
29
+ msgstr "nemáte dostatečné oprávnění k editaci pluginů na tomto webu."
30
+
31
+ #: addquicktag.php:129
32
+ msgid "Can not open for write!"
33
+ msgstr "Nelze otevřít pro zápis!"
34
+
35
+ #: addquicktag.php:136
36
+ msgid "Can not write!"
37
+ msgstr "Nelze zapisovat!"
38
+
39
+ #: addquicktag.php:139
40
+ msgid "AddQuicktag options saved!"
41
+ msgstr "Nastavení AddQuicktag uložena!"
42
+
43
+ #: addquicktag.php:140
44
+ msgid "Saved in: "
45
+ msgstr "Uloženo do: "
46
+
47
+ #: addquicktag.php:161
48
+ msgid "Invalid file extension!"
49
+ msgstr "Nesprávná přípona souboru!"
50
+
51
+ #: addquicktag.php:163
52
+ msgid "File is exist!"
53
+ msgstr "Soubor existuje!"
54
+
55
+ #: addquicktag.php:178
56
+ msgid "AddQuicktag options imported!"
57
+ msgstr "Nastavení AddQuicktag importována!"
58
+
59
+ #: addquicktag.php:194
60
+ msgid "AddQuicktag options have been deleted!"
61
+ msgstr "Nastavení AddQuicktag byla vymazána!"
62
+
63
+ #: addquicktag.php:202
64
+ msgid "Add or delete Quicktag buttons"
65
+ msgstr "Přidat nebo zrušit tlačítka Quicktag"
66
+
67
+ #: addquicktag.php:203
68
+ msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
69
+ msgstr "Vyplňte pole níže a editujte nebo přidejte Quicktag. Pole označená * jsou vyžadována. Quicktag vymažete jednoduše tak, že necháte všechna pole prázdná."
70
+
71
+ #: addquicktag.php:204
72
+ msgid "Button Label*"
73
+ msgstr "Název tlačítka *"
74
+
75
+ #: addquicktag.php:205
76
+ msgid "Start Tag(s)*"
77
+ msgstr "Počáteční značka *"
78
+
79
+ #: addquicktag.php:206
80
+ msgid "End Tag(s)"
81
+ msgstr "Koncová značka"
82
+
83
+ #: addquicktag.php:207
84
+ msgid "Update Options &raquo;"
85
+ msgstr "Aktualizovat nastavení &raquo;"
86
+
87
+ #: addquicktag.php:210
88
+ msgid "Export &raquo;"
89
+ msgstr "Export &raquo;"
90
+
91
+ #: addquicktag.php:211
92
+ msgid "Export Quicktag buttons options"
93
+ msgstr "Export nastavení tlačítek Quicktag"
94
+
95
+ #: addquicktag.php:212
96
+ msgid "You can save a .wpaq file with your options in <em>"
97
+ msgstr "Můžete uložit soubor .wpaq se všemi nastaveními do <em>"
98
+
99
+ #: addquicktag.php:212
100
+ msgid "/wpaq_export.wpaq</em>"
101
+ msgstr "/wpaq_export.wpaq</em>"
102
+
103
+ #: addquicktag.php:215
104
+ msgid "Upload file and import &raquo;"
105
+ msgstr "Nahrání souboru a import &raquo;"
106
+
107
+ #: addquicktag.php:216
108
+ msgid "Import Quicktag buttons options"
109
+ msgstr "Import nastavení tlačítek Quicktag"
110
+
111
+ #: addquicktag.php:217
112
+ msgid "Choose a Quicktag (<em>.wpaq</em>) file to upload, then click <em>Upload file and import</em>."
113
+ msgstr "Zvolte soubor (.wpaq) k nahrávání a klikněte na <em>Nahrání souboru a import</em>."
114
+
115
+ #: addquicktag.php:218
116
+ msgid "Choose a file from your computer: "
117
+ msgstr "Vyberte soubor z počítače: "
118
+
119
+ #: addquicktag.php:221
120
+ msgid "Uninstall Options &raquo;"
121
+ msgstr "Odinstalování nastavení &raquo;"
122
+
123
+ #: addquicktag.php:222
124
+ msgid "Uninstall options"
125
+ msgstr "Odinstalování nastavení"
126
+
127
+ #: addquicktag.php:223
128
+ msgid "This button deletes all options of the WP-AddQuicktag plugin. <strong>Attention: </strong>You cannot undo this!"
129
+ msgstr "Toto tlačítko vymaže všechna nastavení pluginu WP-AddQuicktag. <strong>Pozor: </strong>Akci nelze vrátit!"
130
+
131
+ #: addquicktag.php:226
132
+ msgid "About the plugin"
133
+ msgstr "O pluginu"
134
+
135
+ #: addquicktag.php:227
136
+ msgid "Further information: Visit the <a href='http://bueltge.de/wp-addquicktags-de-plugin/120'>plugin homepage</a> for further information or to grab the latest version of this plugin."
137
+ msgstr "Další informace: navštivte <a href='http://bueltge.de/wp-addquicktags-de-plugin/120'>stránky pluginu</a> pro získání dalších informací nebo poslední verze pluginu."
138
+
139
+ #: addquicktag.php:228
140
+ msgid "You want to thank me? Visit my <a href='http://bueltge.de/wunschliste/'>wishlist</a>."
141
+ msgstr "Chcete mi poděkovat? Navštivte moji <a href='http://bueltge.de/wunschliste/'>Knihu hostů</a>."
142
+
143
+ #: addquicktag.php:233
144
+ msgid "WP-Quicktag Management"
145
+ msgstr "Správa WP-Quicktag"
146
+
147
+ #: addquicktag.php:443
148
+ #: addquicktag.php:456
149
+ msgid "Settings"
150
+ msgstr "Nastavení"
151
+
152
+ #: addquicktag.php:522
153
+ msgid "Add Quicktag"
154
+ msgstr "Přidat Quicktag"
155
+
156
+ #: addquicktag.php:524
157
+ msgid "WP-Quicktag &ndash; Add Quicktag"
158
+ msgstr "WP-Quicktag &ndash; Přidat Quicktag"
159
+
160
+ #: addquicktag.php:541
161
+ msgid "Version"
162
+ msgstr "Verze"
163
+
164
+ #: addquicktag.php:541
165
+ msgid "Author"
166
+ msgstr "Autor"
167
+
languages/addquicktag-de_DE.mo CHANGED
Binary file
languages/addquicktag-de_DE.po CHANGED
@@ -2,149 +2,160 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: AddQuicktag\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-02-20 10:37+0100\n"
6
- "PO-Revision-Date: 2009-02-20 10:39+0100\n"
7
  "Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Poedit-KeywordsList: _e;__\n"
13
- "X-Poedit-Basepath: D:\\Eigene\\WP-Plugins\\AddQuicktag\\trunk\\\n"
14
  "X-Poedit-SearchPath-0: .\n"
15
 
16
- #: addquicktag.php:165
17
  msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
18
  msgstr "Einstellungen wurden nicht aktuallisiert - du hast nicht ausreichend Rechte!"
19
 
20
- #: addquicktag.php:223
21
  msgid "Options saved."
22
  msgstr "Einstellungen gespeichert."
23
 
24
- #: addquicktag.php:226
25
- #: addquicktag.php:241
26
  msgid "You do not have sufficient permissions to edit plugins for this blog."
27
  msgstr "Du hast keine ausreichenden Rechte um das Plugin zu ändern."
28
 
29
- #: addquicktag.php:237
30
  msgid "AddQuicktag options have been deleted!"
31
  msgstr "AddQuicktag Einstellungenwurden gelöschtt!"
32
 
33
- #: addquicktag.php:245
34
  msgid "Add or delete Quicktag buttons"
35
  msgstr "Hinzufügen oder löschen eines Quicktag-buttons"
36
 
37
- #: addquicktag.php:246
38
  msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
39
  msgstr "Fülle das Feld unterhalb der bestehenden Buttons oder ändere einen Quicktag. Felder mit * sind Pflichtfelder. Um Quicktags zu löschen, einfach den Inhalt der zugehörigen Felder löschen."
40
 
41
- #: addquicktag.php:247
42
  msgid "Button Label*"
43
  msgstr "Button Name*"
44
 
45
- #: addquicktag.php:248
 
 
 
 
46
  msgid "Start Tag(s)*"
47
  msgstr "Start Tag(s)*"
48
 
49
- #: addquicktag.php:249
50
  msgid "End Tag(s)"
51
  msgstr "Ende Tag(s)"
52
 
53
- #: addquicktag.php:250
54
  msgid "Update Options &raquo;"
55
  msgstr "Einstellungen aktualisieren &raquo;"
56
 
57
- #: addquicktag.php:253
58
  msgid "Export &raquo;"
59
  msgstr "Exportieren &raquo;"
60
 
61
- #: addquicktag.php:254
62
  msgid "Export/Import AddQuicktag buttons options"
63
  msgstr "Exportiere/Importiere deine Quicktag-buttons"
64
 
65
- #: addquicktag.php:255
66
  msgid "You can save a .wpaq file with your options."
67
  msgstr "Du kannst eine .wpaq Datei mit allen Einstellungen speichern."
68
 
69
- #: addquicktag.php:256
70
  msgid "Export"
71
  msgstr "Export"
72
 
73
- #: addquicktag.php:259
74
  msgid "Upload file and import &raquo;"
75
  msgstr "Datei hochladen und importieren &raquo;"
76
 
77
- #: addquicktag.php:260
78
  msgid "Import"
79
  msgstr "Import"
80
 
81
- #: addquicktag.php:261
82
  msgid "Choose a Quicktag (<em>.wpaq</em>) file to upload, then click <em>Upload file and import</em>."
83
  msgstr "Wähle eine Quicktag (.wpaq) Datei zum hochladen und klicke dann <em>Datei hochladen und importieren</em>."
84
 
85
- #: addquicktag.php:262
86
  msgid "Choose a file from your computer: "
87
  msgstr "Wähle eine Datei von deinem Rechner. "
88
 
89
- #: addquicktag.php:265
90
  msgid "Uninstall Options &raquo;"
91
  msgstr "Einstellungen löschen &raquo;"
92
 
93
- #: addquicktag.php:266
94
  msgid "Uninstall options"
95
  msgstr "Deinstalliere Einstellungen"
96
 
97
- #: addquicktag.php:267
98
  msgid "This button deletes all options of the WP-AddQuicktag plugin. <strong>Attention: </strong>You cannot undo this!"
99
  msgstr "Der Button löscht alle Einstellungen des Plugins WP-AddQuicktag. <strong>Achtung: </strong>Du kannst dies nicht rückgängig machen!"
100
 
101
- #: addquicktag.php:270
102
  msgid "About the plugin"
103
  msgstr "Über das Plugin"
104
 
105
- #: addquicktag.php:271
106
  msgid "Further information: Visit the <a href='http://bueltge.de/wp-addquicktags-de-plugin/120'>plugin homepage</a> for further information or to grab the latest version of this plugin."
107
  msgstr "Weitere Informationen: Besuche die <a href='http://bueltge.de/wp-addquicktags-de-plugin/120'>Plugin Homepage</a> für weitere Informationen oder hole die letzte Version des Plugins."
108
 
109
- #: addquicktag.php:272
110
- msgid "You want to thank me? Visit my <a href='http://bueltge.de/wunschliste/'>wishlist</a>."
111
- msgstr "Du willst Danke sagen? Besuche meine <a href='http://bueltge.de/wunschliste/'>Wunschliste</a>."
112
 
113
- #: addquicktag.php:278
114
  msgid "AddQuicktag options imported!"
115
  msgstr "AddQuicktag Einstellungen importiert!"
116
 
117
- #: addquicktag.php:280
118
  msgid "File is exist!"
119
  msgstr "Datei nicht vorhanden!"
120
 
121
- #: addquicktag.php:282
122
  msgid "Invalid file extension!"
123
  msgstr "Nicht zulässige Dateierweiterung!"
124
 
125
- #: addquicktag.php:291
126
  #, fuzzy
127
  msgid "WP-Quicktag Management"
128
  msgstr "WP-Quicktag Verwaltung"
129
 
130
- #: addquicktag.php:496
131
- #: addquicktag.php:511
 
 
 
 
 
 
 
132
  msgid "Settings"
133
  msgstr "Einstellungen"
134
 
135
- #: addquicktag.php:583
136
  msgid "AddQuicktag"
137
  msgstr "AddQuicktag"
138
 
139
- #: addquicktag.php:585
140
  msgid "WP-Quicktag &ndash; AddQuicktag"
141
  msgstr "WP-Quicktag &ndash; AddQuicktag"
142
 
143
- #: addquicktag.php:604
144
  msgid "Version"
145
  msgstr "Version"
146
 
147
- #: addquicktag.php:604
148
  msgid "Author"
149
  msgstr "Autor"
150
 
2
  msgstr ""
3
  "Project-Id-Version: AddQuicktag\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-06-16 08:13+0100\n"
6
+ "PO-Revision-Date: 2009-06-16 08:13+0100\n"
7
  "Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Poedit-KeywordsList: _e;__\n"
13
+ "X-Poedit-Basepath: ..\\\n"
14
  "X-Poedit-SearchPath-0: .\n"
15
 
16
+ #: addquicktag.php:172
17
  msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
18
  msgstr "Einstellungen wurden nicht aktuallisiert - du hast nicht ausreichend Rechte!"
19
 
20
+ #: addquicktag.php:231
21
  msgid "Options saved."
22
  msgstr "Einstellungen gespeichert."
23
 
24
+ #: addquicktag.php:234
25
+ #: addquicktag.php:249
26
  msgid "You do not have sufficient permissions to edit plugins for this blog."
27
  msgstr "Du hast keine ausreichenden Rechte um das Plugin zu ändern."
28
 
29
+ #: addquicktag.php:245
30
  msgid "AddQuicktag options have been deleted!"
31
  msgstr "AddQuicktag Einstellungenwurden gelöschtt!"
32
 
33
+ #: addquicktag.php:253
34
  msgid "Add or delete Quicktag buttons"
35
  msgstr "Hinzufügen oder löschen eines Quicktag-buttons"
36
 
37
+ #: addquicktag.php:254
38
  msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
39
  msgstr "Fülle das Feld unterhalb der bestehenden Buttons oder ändere einen Quicktag. Felder mit * sind Pflichtfelder. Um Quicktags zu löschen, einfach den Inhalt der zugehörigen Felder löschen."
40
 
41
+ #: addquicktag.php:255
42
  msgid "Button Label*"
43
  msgstr "Button Name*"
44
 
45
+ #: addquicktag.php:256
46
+ msgid "Title Attribute"
47
+ msgstr "Title Attribut"
48
+
49
+ #: addquicktag.php:257
50
  msgid "Start Tag(s)*"
51
  msgstr "Start Tag(s)*"
52
 
53
+ #: addquicktag.php:258
54
  msgid "End Tag(s)"
55
  msgstr "Ende Tag(s)"
56
 
57
+ #: addquicktag.php:259
58
  msgid "Update Options &raquo;"
59
  msgstr "Einstellungen aktualisieren &raquo;"
60
 
61
+ #: addquicktag.php:262
62
  msgid "Export &raquo;"
63
  msgstr "Exportieren &raquo;"
64
 
65
+ #: addquicktag.php:263
66
  msgid "Export/Import AddQuicktag buttons options"
67
  msgstr "Exportiere/Importiere deine Quicktag-buttons"
68
 
69
+ #: addquicktag.php:264
70
  msgid "You can save a .wpaq file with your options."
71
  msgstr "Du kannst eine .wpaq Datei mit allen Einstellungen speichern."
72
 
73
+ #: addquicktag.php:265
74
  msgid "Export"
75
  msgstr "Export"
76
 
77
+ #: addquicktag.php:268
78
  msgid "Upload file and import &raquo;"
79
  msgstr "Datei hochladen und importieren &raquo;"
80
 
81
+ #: addquicktag.php:269
82
  msgid "Import"
83
  msgstr "Import"
84
 
85
+ #: addquicktag.php:270
86
  msgid "Choose a Quicktag (<em>.wpaq</em>) file to upload, then click <em>Upload file and import</em>."
87
  msgstr "Wähle eine Quicktag (.wpaq) Datei zum hochladen und klicke dann <em>Datei hochladen und importieren</em>."
88
 
89
+ #: addquicktag.php:271
90
  msgid "Choose a file from your computer: "
91
  msgstr "Wähle eine Datei von deinem Rechner. "
92
 
93
+ #: addquicktag.php:274
94
  msgid "Uninstall Options &raquo;"
95
  msgstr "Einstellungen löschen &raquo;"
96
 
97
+ #: addquicktag.php:275
98
  msgid "Uninstall options"
99
  msgstr "Deinstalliere Einstellungen"
100
 
101
+ #: addquicktag.php:276
102
  msgid "This button deletes all options of the WP-AddQuicktag plugin. <strong>Attention: </strong>You cannot undo this!"
103
  msgstr "Der Button löscht alle Einstellungen des Plugins WP-AddQuicktag. <strong>Achtung: </strong>Du kannst dies nicht rückgängig machen!"
104
 
105
+ #: addquicktag.php:279
106
  msgid "About the plugin"
107
  msgstr "Über das Plugin"
108
 
109
+ #: addquicktag.php:280
110
  msgid "Further information: Visit the <a href='http://bueltge.de/wp-addquicktags-de-plugin/120'>plugin homepage</a> for further information or to grab the latest version of this plugin."
111
  msgstr "Weitere Informationen: Besuche die <a href='http://bueltge.de/wp-addquicktags-de-plugin/120'>Plugin Homepage</a> für weitere Informationen oder hole die letzte Version des Plugins."
112
 
113
+ #: addquicktag.php:281
114
+ msgid "You want to thank me? Visit my <a href='http://bueltge.de/wunschliste/'>wishlist</a> or donate."
115
+ msgstr "Du willst Danke sagen? Besuche meine <a href='http://bueltge.de/wunschliste/'>Wunschliste</a> oder spende."
116
 
117
+ #: addquicktag.php:287
118
  msgid "AddQuicktag options imported!"
119
  msgstr "AddQuicktag Einstellungen importiert!"
120
 
121
+ #: addquicktag.php:289
122
  msgid "File is exist!"
123
  msgstr "Datei nicht vorhanden!"
124
 
125
+ #: addquicktag.php:291
126
  msgid "Invalid file extension!"
127
  msgstr "Nicht zulässige Dateierweiterung!"
128
 
129
+ #: addquicktag.php:300
130
  #, fuzzy
131
  msgid "WP-Quicktag Management"
132
  msgstr "WP-Quicktag Verwaltung"
133
 
134
+ #: addquicktag.php:305
135
+ #: addquicktag.php:360
136
+ #: addquicktag.php:393
137
+ #: addquicktag.php:412
138
+ msgid "Click to toggle"
139
+ msgstr "Zum umschalten klicken"
140
+
141
+ #: addquicktag.php:823
142
+ #: addquicktag.php:845
143
  msgid "Settings"
144
  msgstr "Einstellungen"
145
 
146
+ #: addquicktag.php:918
147
  msgid "AddQuicktag"
148
  msgstr "AddQuicktag"
149
 
150
+ #: addquicktag.php:920
151
  msgid "WP-Quicktag &ndash; AddQuicktag"
152
  msgstr "WP-Quicktag &ndash; AddQuicktag"
153
 
154
+ #: addquicktag.php:941
155
  msgid "Version"
156
  msgstr "Version"
157
 
158
+ #: addquicktag.php:941
159
  msgid "Author"
160
  msgstr "Autor"
161
 
languages/addquicktag-es_ES.mo ADDED
Binary file
languages/addquicktag-es_ES.po ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: AddQuicktag v1.6.3\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-06-16 20:31-0300\n"
6
+ "PO-Revision-Date: 2009-06-18 21:24-0300\n"
7
+ "Last-Translator: Adrián Pastor <adrianpastor@gmail.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n>1;\n"
13
+ "X-Poedit-Language: Spanish\n"
14
+ "X-Poedit-Country: ARGENTINA\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;__ngettext_noop:1,2;_c\n"
17
+ "X-Poedit-Basepath: ../\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+
20
+ #: addquicktag.php:172
21
+ msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
22
+ msgstr "Las opciones no han sido actualizadas - no tienes los privilegios suficientes para hacerlo!"
23
+
24
+ #: addquicktag.php:231
25
+ msgid "Options saved."
26
+ msgstr "Opciones guardadas."
27
+
28
+ #: addquicktag.php:234
29
+ #: addquicktag.php:249
30
+ msgid "You do not have sufficient permissions to edit plugins for this blog."
31
+ msgstr "No tienes autorización para editar los plugins de este blog."
32
+
33
+ #: addquicktag.php:245
34
+ msgid "AddQuicktag options have been deleted!"
35
+ msgstr "Se han borrado las opciones AddQuicktag"
36
+
37
+ #: addquicktag.php:253
38
+ msgid "Add or delete Quicktag buttons"
39
+ msgstr "Agregar o quitar botones AddQuicktag"
40
+
41
+ #: addquicktag.php:254
42
+ msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
43
+ msgstr "Rellena los campos de arriba para agregar o editar quicktags. Los campos marcados con * son obligatorios. Para borrar un tag vacía todos los campos."
44
+
45
+ #: addquicktag.php:255
46
+ msgid "Button Label*"
47
+ msgstr "Nombre del botón*"
48
+
49
+ #: addquicktag.php:256
50
+ msgid "Title Attribute"
51
+ msgstr "Atributo título"
52
+
53
+ #: addquicktag.php:257
54
+ msgid "Start Tag(s)*"
55
+ msgstr "Apertura del tag*"
56
+
57
+ #: addquicktag.php:258
58
+ msgid "End Tag(s)"
59
+ msgstr "Cierre del tag"
60
+
61
+ #: addquicktag.php:259
62
+ msgid "Update Options &raquo;"
63
+ msgstr "Actualizar opciones &raquo;"
64
+
65
+ #: addquicktag.php:262
66
+ msgid "Export &raquo;"
67
+ msgstr "Exportar &raquo;"
68
+
69
+ #: addquicktag.php:263
70
+ msgid "Export/Import AddQuicktag buttons options"
71
+ msgstr "Exportar/Importar opciones de botones Quicktag"
72
+
73
+ #: addquicktag.php:264
74
+ msgid "You can save a .wpaq file with your options."
75
+ msgstr "Puedes guardar un archivo .wpaq con tus opciones."
76
+
77
+ #: addquicktag.php:265
78
+ msgid "Export"
79
+ msgstr "Exportar"
80
+
81
+ #: addquicktag.php:268
82
+ msgid "Upload file and import &raquo;"
83
+ msgstr "Subir archivo e importar &raquo;"
84
+
85
+ #: addquicktag.php:269
86
+ msgid "Import"
87
+ msgstr "Importar"
88
+
89
+ #: addquicktag.php:270
90
+ msgid "Choose a Quicktag (<em>.wpaq</em>) file to upload, then click <em>Upload file and import</em>."
91
+ msgstr "Selecciona un archivo Quicktag (<em>.wpaq</em>) para subir, luego haz clic en <em>Subir archivo e importar</em>."
92
+
93
+ #: addquicktag.php:271
94
+ msgid "Choose a file from your computer: "
95
+ msgstr "Elige un archivo de tu ordenador: "
96
+
97
+ #: addquicktag.php:274
98
+ msgid "Uninstall Options &raquo;"
99
+ msgstr "Desinstalar opciones &raquo;"
100
+
101
+ #: addquicktag.php:275
102
+ msgid "Uninstall options"
103
+ msgstr "Desinstalar opciones"
104
+
105
+ #: addquicktag.php:276
106
+ msgid "This button deletes all options of the WP-AddQuicktag plugin. <strong>Attention: </strong>You cannot undo this!"
107
+ msgstr "Este botón borra todas las opciones del plugin WP-AddQuicktag. <strong>Atención:</strong> No podrás deshacer esto!"
108
+
109
+ #: addquicktag.php:279
110
+ msgid "About the plugin"
111
+ msgstr "Información del plugin"
112
+
113
+ #: addquicktag.php:280
114
+ msgid "Further information: Visit the <a href='http://bueltge.de/wp-addquicktags-de-plugin/120'>plugin homepage</a> for further information or to grab the latest version of this plugin."
115
+ msgstr "Información adicional: Visita la <a href='http://bueltge.de/wp-addquicktags-de-plugin/120'>página del plugin</a> para más información o para obtener la última versión."
116
+
117
+ #: addquicktag.php:281
118
+ msgid "You want to thank me? Visit my <a href='http://bueltge.de/wunschliste/'>wishlist</a> or donate."
119
+ msgstr "¿Quieres agradecerme? Visita mi <a href='http://bueltge.de/wunschliste/'>lista de deseos</a> o realiza una donación."
120
+
121
+ #: addquicktag.php:287
122
+ msgid "AddQuicktag options imported!"
123
+ msgstr "Opciones AddQuicktag importadas!"
124
+
125
+ #: addquicktag.php:289
126
+ msgid "File is exist!"
127
+ msgstr "El archivo ya existe!"
128
+
129
+ #: addquicktag.php:291
130
+ msgid "Invalid file extension!"
131
+ msgstr "La extensión del archivo no es válida!"
132
+
133
+ #: addquicktag.php:300
134
+ msgid "WP-Quicktag Management"
135
+ msgstr "Gestión de WP-Quicktag"
136
+
137
+ #: addquicktag.php:305
138
+ #: addquicktag.php:360
139
+ #: addquicktag.php:393
140
+ #: addquicktag.php:412
141
+ msgid "Click to toggle"
142
+ msgstr "Haz clic para abrir/cerrar"
143
+
144
+ #: addquicktag.php:827
145
+ #: addquicktag.php:849
146
+ msgid "Settings"
147
+ msgstr "Configuración"
148
+
149
+ #: addquicktag.php:922
150
+ msgid "AddQuicktag"
151
+ msgstr "AddQuicktag"
152
+
153
+ #: addquicktag.php:924
154
+ msgid "WP-Quicktag &ndash; AddQuicktag"
155
+ msgstr "WP-Quicktag &ndash; AddQuicktag"
156
+
157
+ #: addquicktag.php:945
158
+ msgid "Version"
159
+ msgstr "Versión"
160
+
161
+ #: addquicktag.php:945
162
+ msgid "Author"
163
+ msgstr "Autor"
164
+
languages/addquicktag-fr_FR.mo ADDED
Binary file
languages/addquicktag-fr_FR.po ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: AddQuicktag v1.5.7\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2009-01-19 13:22-0500\n"
7
+ "Last-Translator: Li-An <lian00@gmail.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: French\n"
14
+ "X-Poedit-Country: FRANCE\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: ../\n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: addquicktag.php:231
23
+ #@ addquicktag
24
+ msgid "Options saved."
25
+ msgstr "Options sauvegardées."
26
+
27
+ #: addquicktag.php:234
28
+ #: addquicktag.php:249
29
+ #@ addquicktag
30
+ msgid "You do not have sufficient permissions to edit plugins for this blog."
31
+ msgstr "Vous n'avez pas les droits suffisants pour éditer les plugins de ce blog."
32
+
33
+ #: addquicktag.php:291
34
+ #@ addquicktag
35
+ msgid "Invalid file extension!"
36
+ msgstr "Extension du fichier non valide !"
37
+
38
+ #: addquicktag.php:289
39
+ #@ addquicktag
40
+ msgid "File is exist!"
41
+ msgstr "Le fichier existe déjà ! "
42
+
43
+ #: addquicktag.php:287
44
+ #@ addquicktag
45
+ msgid "AddQuicktag options imported!"
46
+ msgstr "Options d'AddQuicktag importées !"
47
+
48
+ #: addquicktag.php:245
49
+ #@ addquicktag
50
+ msgid "AddQuicktag options have been deleted!"
51
+ msgstr "Les options d'AddQuicktag ont été effacées !"
52
+
53
+ #: addquicktag.php:253
54
+ #@ addquicktag
55
+ msgid "Add or delete Quicktag buttons"
56
+ msgstr "Ajouter ou supprimer des boutons Quicktag"
57
+
58
+ #: addquicktag.php:254
59
+ #@ addquicktag
60
+ msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
61
+ msgstr "Remplissez les champs ci-dessous ou éditez les quicktags. Les champs marqués d'un * sont obligatoires. Pour effacer un tag, videz simplement tous les champs."
62
+
63
+ #: addquicktag.php:255
64
+ #@ addquicktag
65
+ msgid "Button Label*"
66
+ msgstr "Label du bouton*"
67
+
68
+ #: addquicktag.php:257
69
+ #@ addquicktag
70
+ msgid "Start Tag(s)*"
71
+ msgstr "Début du/des tag(s)*"
72
+
73
+ #: addquicktag.php:258
74
+ #@ addquicktag
75
+ msgid "End Tag(s)"
76
+ msgstr "Fin du(des) tag(s)"
77
+
78
+ #: addquicktag.php:259
79
+ #@ addquicktag
80
+ msgid "Update Options &raquo;"
81
+ msgstr "Mise à jour des options &raquo;"
82
+
83
+ #: addquicktag.php:262
84
+ #@ addquicktag
85
+ msgid "Export &raquo;"
86
+ msgstr "Exporter &raquo;"
87
+
88
+ #: addquicktag.php:268
89
+ #@ addquicktag
90
+ msgid "Upload file and import &raquo;"
91
+ msgstr "Uploader et importer fichier &raquo;"
92
+
93
+ #: addquicktag.php:270
94
+ #@ addquicktag
95
+ msgid "Choose a Quicktag (<em>.wpaq</em>) file to upload, then click <em>Upload file and import</em>."
96
+ msgstr "Choisir un fichier (<em>.wpaq</em>) à uploader, puis cliquer sur <em>Uploader et importer fichier </em>."
97
+
98
+ #: addquicktag.php:271
99
+ #@ addquicktag
100
+ msgid "Choose a file from your computer: "
101
+ msgstr "Choisir un fichier sur votre ordinateur:"
102
+
103
+ #: addquicktag.php:274
104
+ #@ addquicktag
105
+ msgid "Uninstall Options &raquo;"
106
+ msgstr "Options de désinstallation &raquo;"
107
+
108
+ #: addquicktag.php:275
109
+ #@ addquicktag
110
+ msgid "Uninstall options"
111
+ msgstr "Options de désinstallation"
112
+
113
+ #: addquicktag.php:276
114
+ #@ addquicktag
115
+ msgid "This button deletes all options of the WP-AddQuicktag plugin. <strong>Attention: </strong>You cannot undo this!"
116
+ msgstr "Ce bouton efface toutes les options du plugin WP-AddQuicktag. <strong>Attention: </strong> vous ne pourrez pas annuler cette action !"
117
+
118
+ #: addquicktag.php:279
119
+ #@ addquicktag
120
+ msgid "About the plugin"
121
+ msgstr "À propos du plugin"
122
+
123
+ #: addquicktag.php:280
124
+ #@ addquicktag
125
+ msgid "Further information: Visit the <a href='http://bueltge.de/wp-addquicktags-de-plugin/120'>plugin homepage</a> for further information or to grab the latest version of this plugin."
126
+ msgstr "Informations complémentaires: visitez la <a href='http://bueltge.de/wp-addquicktags-de-plugin/120'>homepage du plugin</a> pour d'autres informations ou pour récupérer la dernière version de ce plugin."
127
+
128
+ #: addquicktag.php:300
129
+ #@ addquicktag
130
+ msgid "WP-Quicktag Management"
131
+ msgstr "Gestion de WP-Quicktag"
132
+
133
+ #: addquicktag.php:827
134
+ #: addquicktag.php:849
135
+ msgid "Settings"
136
+ msgstr "Réglages"
137
+
138
+ #: addquicktag.php:945
139
+ msgid "Version"
140
+ msgstr "Version"
141
+
142
+ #: addquicktag.php:945
143
+ msgid "Author"
144
+ msgstr "Auteur"
145
+
146
+ #: addquicktag.php:172
147
+ #@ secure_wp
148
+ msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
149
+ msgstr "Options pas mises à jour - vous n'avez pas les droits pour réaliser cette action !"
150
+
151
+ #: addquicktag.php:263
152
+ #@ addquicktag
153
+ msgid "Export/Import AddQuicktag buttons options"
154
+ msgstr "Options des boutons d' export/import d'AddQuicktag"
155
+
156
+ #: addquicktag.php:264
157
+ #@ addquicktag
158
+ msgid "You can save a .wpaq file with your options."
159
+ msgstr "Vous pouvez sauvegarder un fichier .wpaq contenant vos options."
160
+
161
+ #: addquicktag.php:265
162
+ #@ addquicktag
163
+ msgid "Export"
164
+ msgstr "Exporter"
165
+
166
+ #: addquicktag.php:269
167
+ #@ addquicktag
168
+ msgid "Import"
169
+ msgstr "Importer"
170
+
171
+ #: addquicktag.php:922
172
+ #@ addquicktag
173
+ msgid "AddQuicktag"
174
+ msgstr ""
175
+
176
+ #: addquicktag.php:924
177
+ #@ addquicktag
178
+ msgid "WP-Quicktag &ndash; AddQuicktag"
179
+ msgstr ""
180
+
181
+ #: addquicktag.php:256
182
+ #@ addquicktag
183
+ msgid "Title Attribute"
184
+ msgstr "Attribut de titre"
185
+
186
+ #: addquicktag.php:281
187
+ #@ addquicktag
188
+ msgid "You want to thank me? Visit my <a href='http://bueltge.de/wunschliste/'>wishlist</a> or donate."
189
+ msgstr "Vous désirez me remercier ? Visitez ma <a href='http://bueltge.de/wunschliste/'>liste de voeux</a> ou faites un don."
190
+
191
+ #: addquicktag.php:305
192
+ #: addquicktag.php:360
193
+ #: addquicktag.php:393
194
+ #: addquicktag.php:412
195
+ msgid "Click to toggle"
196
+ msgstr ""
197
+
languages/addquicktag-it_IT.mo ADDED
Binary file
languages/addquicktag-it_IT.po ADDED
@@ -0,0 +1,176 @@