Easy Updates Manager - Version 4.1.12

Version Description

Download this release

Release Info

Developer kidsguide
Plugin Icon 128x128 Easy Updates Manager
Version 4.1.12
Comparing to
See all releases

Code changes from version 4.1.10 to 4.1.12

Files changed (40) hide show
  1. Function.php +444 -244
  2. License.txt +2 -2
  3. assets/admin.js +26 -0
  4. assets/admin.min.js +3 -0
  5. assets/style.css +45 -0
  6. assets/style.min.css +3 -0
  7. lang/en_CA.mo +0 -0
  8. lang/stops-core-theme-and-plugin-updates-af_AF.mo +0 -0
  9. lang/stops-core-theme-and-plugin-updates-af_AF.po +0 -123
  10. lang/stops-core-theme-and-plugin-updates-ca_ES.mo +0 -0
  11. lang/stops-core-theme-and-plugin-updates-ca_ES.po +0 -123
  12. lang/stops-core-theme-and-plugin-updates-da_DK.mo +0 -0
  13. lang/stops-core-theme-and-plugin-updates-da_DK.po +0 -123
  14. lang/stops-core-theme-and-plugin-updates-de_DE.mo +0 -0
  15. lang/stops-core-theme-and-plugin-updates-de_DE.po +0 -123
  16. lang/stops-core-theme-and-plugin-updates-en_CA.mo +0 -0
  17. lang/stops-core-theme-and-plugin-updates-en_CA.po +0 -123
  18. lang/stops-core-theme-and-plugin-updates-en_GB.mo +0 -0
  19. lang/stops-core-theme-and-plugin-updates-en_GB.po +0 -128
  20. lang/stops-core-theme-and-plugin-updates-es_ES.mo +0 -0
  21. lang/stops-core-theme-and-plugin-updates-es_ES.po +0 -128
  22. lang/stops-core-theme-and-plugin-updates-fr_CA.mo +0 -0
  23. lang/stops-core-theme-and-plugin-updates-fr_CA.po +0 -123
  24. lang/stops-core-theme-and-plugin-updates-fr_FR.mo +0 -0
  25. lang/stops-core-theme-and-plugin-updates-fr_FR.po +0 -123
  26. lang/stops-core-theme-and-plugin-updates-it_IT.mo +0 -0
  27. lang/stops-core-theme-and-plugin-updates-it_IT.po +0 -123
  28. lang/stops-core-theme-and-plugin-updates-ro_RO.mo +0 -0
  29. lang/stops-core-theme-and-plugin-updates-ro_RO.po +0 -128
  30. languages/disable-updates-manager.pot +110 -0
  31. readme.txt +59 -23
  32. style.css +11 -0
  33. uninstall.php +1 -1
  34. vendor/chosen/Thumbs.db +0 -0
  35. vendor/chosen/chosen-sprite.png +0 -0
  36. vendor/chosen/chosen-sprite@2x.png +0 -0
  37. vendor/chosen/chosen.css +435 -0
  38. vendor/chosen/chosen.jquery.js +1211 -0
  39. vendor/chosen/chosen.jquery.min.js +2 -0
  40. vendor/chosen/chosen.min.css +45 -0
Function.php CHANGED
@@ -1,24 +1,23 @@
1
  <?php
2
  /**
3
  * @package Disable Updates Manager
4
- * @author devWPP
5
  * @email webguywp@gmail.com
6
- * @version 4.1.10
7
  */
8
  /*
9
  Plugin Name: Disable Updates Manager
10
- Plugin URI: http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
11
- Version: 4.1.10
12
  Description: A configurable plugin that disables updates for you. Easy, clean and helpful.
13
- Author: Websiteguy
14
- Author URI: http://www.devWPP.wordpress.com
15
  Author Email: webguywp@gmail.com
16
  License: GPL2
17
  Text Domain: disable-updates-manager
18
- Domain Path: lang
19
- Tested up to WordPress: 3.9.1
20
 
21
- @Copyright 2013 - 2014 devWPP (email: webguywp@gmail.com)
22
 
23
  This program is free software; you can redistribute it and/or modify
24
  it under the terms of the GNU General Public License, version 2, as
@@ -39,7 +38,9 @@ Go to the license.txt in the trunk for more information.
39
  class Disable_Updates {
40
 
41
  // Define version.
42
- const VERSION = '4.1.10';
 
 
43
 
44
  function __construct() {
45
 
@@ -61,15 +62,53 @@ class Disable_Updates {
61
  // load the values recorded.
62
  $this->load_disable_updates();
63
  }
64
-
65
  static function load_textdomain() {
66
-
67
  load_plugin_textdomain( 'disable-updates-manager', FALSE, basename( dirname( __FILE__ ) ) . '/lang' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  }
69
 
70
  static function enqueue_css() {
71
 
72
- wp_enqueue_style( 'disable-updates-manager-css', plugins_url( 'style.css', __FILE__ ), array(), self::VERSION );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  }
74
 
75
  // Register settings.
@@ -78,7 +117,30 @@ class Disable_Updates {
78
  register_setting( '_disable_updates', '_disable_updates', array( __CLASS__, 'validate_settings' ) );
79
  }
80
 
81
- static function validate_settings( $value ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
 
83
  return $value;
84
  }
@@ -87,8 +149,18 @@ class Disable_Updates {
87
 
88
  $page_hook = add_submenu_page( 'options-general.php', 'Disable Updates Manager', __( 'Disable Updates Manager', 'disable-updates-manager' ), 'manage_options', 'disable-updates-manager', array( __CLASS__, 'display_page' ) );
89
 
90
- // Enqueue the admin CSS.
91
  add_action( "load-$page_hook", array( __CLASS__, 'enqueue_css' ) );
 
 
 
 
 
 
 
 
 
 
92
  }
93
 
94
  static function action_links( $links ) {
@@ -205,6 +277,22 @@ class Disable_Updates {
205
  add_filter( 'http_request_args', array( __CLASS__, 'http_request_args_plugins_filter' ), 5, 2 );
206
 
207
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
 
209
  case 'it':
210
 
@@ -428,7 +516,7 @@ class Disable_Updates {
428
 
429
  $blocked = get_option( 'disable_updates_blocked' );
430
 
431
- if ( array_key_exists( $plugin_file, $blocked ) ) {
432
 
433
  $actions[] = '<a class="delete" href="plugins.php?_wpnonce=' . wp_create_nonce( 'disable_updates' ) . '&disable_updates&unblock=' . $plugin_file . '">Unblock Updates</a>';
434
 
@@ -439,7 +527,7 @@ class Disable_Updates {
439
 
440
  return $actions;
441
  }
442
-
443
  static function http_request_args_plugins_filter( $r, $url ) {
444
 
445
  if ( 0 !== strpos( $url, 'https://api.wordpress.org/plugins/update-check/1.1/' ) ) {
@@ -517,10 +605,312 @@ class Disable_Updates {
517
 
518
  return $r;
519
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
520
 
521
  // Settings page (under dashboard).
522
  static function display_page() {
523
-
 
 
 
 
524
  $status = get_option( '_disable_updates' );
525
 
526
  // Don't Allow Users to View Settings
@@ -528,236 +918,46 @@ class Disable_Updates {
528
  wp_die( __( 'You do not have permissions to access this page.' ) );
529
  }
530
  ?>
 
 
 
 
 
 
 
 
 
531
 
532
- <div class="wrap">
533
 
534
- <h2><?php _e( 'Disable Updates Manager Settings', 'disable-updates-manager' ); ?></h2>
 
 
535
 
536
- <div class="error" style="width: 780px;">
537
- <p>
538
- <strong>Please Note! - </strong>If either your WordPress core, theme, or plugins get too out
539
- of date, you may run into compatibility problems.
540
- </p>
541
- </div>
542
 
543
- <form method="post" action="options.php">
544
-
545
- <?php settings_fields( '_disable_updates' ); ?>
546
-
547
- <table class="wp-list-table widefat fixed bookmarks" style="width: 590px; border-radius: 4px;">
548
- <thead>
549
- <tr>
550
- <th>Disable Updates</th>
551
- </tr>
552
- </thead>
553
- <tbody>
554
- <tr>
555
- <td>
556
-
557
- <div class="showonhover">
558
- <label for="all_notify">
559
- <input
560
- type="checkbox" <?php checked( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ), TRUE ); ?>
561
- value="1" id="all_notify"
562
- name="_disable_updates[all]"> <?php _e( 'Disable All Updates', 'disable-updates-manager' ) ?>
563
- </label>
564
- <span>
565
- <a href="#" class="viewdescription">?</a>
566
- <span class="hovertext">Just disables core, theme, and plugin updates.</span>
567
- </span>
568
- </div>
569
-
570
- <span style="padding-left: 12px; display:block">
571
- <label for="plugins_notify">
572
- <input type="checkbox" <?php checked( 1, ( isset( $status['plugin'] ) ? (int) $status['plugin'] : 0 ), TRUE ); ?>
573
- value="1" id="plugins_notify"
574
- name="_disable_updates[plugin]"> <?php _e( 'Disable Plugin Updates', 'disable-updates-manager' ) ?>
575
- </label>
576
- <br>
577
- <label for="themes_notify">
578
- <input type="checkbox" <?php checked( 1, ( isset( $status['theme'] ) ? (int) $status['theme'] : 0 ), TRUE ); ?>
579
- value="1" id="themes_notify"
580
- name="_disable_updates[theme]"> <?php _e( 'Disable Theme Updates', 'disable-updates-manager' ) ?>
581
- </label>
582
- <br>
583
- <label for="core_notify">
584
- <input type="checkbox" <?php checked( 1, ( isset( $status['core'] ) ? (int) $status['core'] : 0 ), TRUE ); ?>
585
- value="1" id="core_notify"
586
- name="_disable_updates[core]"> <?php _e( 'Disable WordPress Core Update', 'disable-updates-manager' ) ?>
587
- </label>
588
- </span>
589
- </td>
590
- </tr>
591
- </tbody>
592
- </table>
593
- <br>
594
-
595
- <table class="wp-list-table widefat fixed bookmarks" style="width: 590px; border-radius: 4px;">
596
- <thead>
597
- <tr>
598
- <th>Disable Plugins Individually</th>
599
- </tr>
600
- </thead>
601
- <tbody>
602
- <tr>
603
- <td>
604
- <div class="showonhover">
605
- <label for="ip_notify">
606
- <input type="checkbox" <?php checked( 1, ( isset( $status['ip'] ) ? (int) $status['ip'] : 0 ), TRUE ); ?>
607
- value="1" id="ip_notify"
608
- name="_disable_updates[ip]"> <?php _e( 'Disable Plugins Individually', 'disable-updates-manager' ) ?>
609
- </label>
610
-
611
- <span>
612
- <a href="#" class="viewdescription">?</a>
613
- <span class="hovertext">Go to the "Plugins" section in your dashboard to disable.</span>
614
- </span>
615
- </div>
616
-
617
- </td>
618
- </tr>
619
- </tbody>
620
- </table>
621
- <br>
622
-
623
- <table class="wp-list-table widefat fixed bookmarks" style="width: 590px; border-radius: 4px;">
624
- <thead>
625
- <tr>
626
- <th>Disable Themes Individually</th>
627
- </tr>
628
- </thead>
629
- <tbody>
630
- <tr>
631
- <td>
632
- <div class="showonhover">
633
- <label for="it_notify">
634
- <input type="checkbox" <?php checked( 1, ( isset( $status['it'] ) ? (int) $status['it'] : 0 ), TRUE ); ?>
635
- value="1" id="it_notify"
636
- name="_disable_updates[it]"> <?php _e( 'Disable Themes Individually', 'disable-updates-manager' ) ?>
637
- </label>
638
-
639
- <span>
640
- <a href="#" class="viewdescription">?</a>
641
- <span class="hovertext">Enabling this option will show the list of themes to block updates.</span>
642
- </span>
643
- </div>
644
- </td>
645
- </tr>
646
-
647
- <?php
648
-
649
- if ( isset( $status['it'] ) ) {
650
-
651
- ?>
652
-
653
- <tr>
654
- <th>Select themes to disable:</th>
655
- </tr>
656
-
657
- <?php
658
-
659
- $themes = wp_get_themes( array( 'allowed' => TRUE ) );
660
-
661
- foreach ( $themes as $slug => $theme ) {
662
-
663
- $key = sanitize_key( $slug );
664
-
665
- ?>
666
-
667
- <tr>
668
- <td>
669
-
670
- <?php
671
-
672
- printf( '<label for="%1$s"><input type="checkbox" value="%3$s" id="%1$s" name="_disable_updates[themes][%1$s]"%2$s> %4$s</label>',
673
- $key,
674
- ( isset( $status['themes'][ $key ] ) && $status['themes'][ $key ] === $slug ) ? ' checked="checked"' : '',
675
- $slug,
676
- esc_html( $theme->name )
677
- );
678
-
679
- ?>
680
-
681
- </td>
682
- </tr>
683
-
684
- <?php
685
- }
686
-
687
- }
688
- ?>
689
-
690
- </tbody>
691
- </table>
692
- <br>
693
-
694
- <table class="wp-list-table widefat fixed bookmarks" style="width: 590px; border-radius: 4px;">
695
- <thead>
696
- <tr>
697
- <th>Other Settings</th>
698
- </tr>
699
- </thead>
700
- <tbody>
701
- <tr>
702
- <td>
703
- <div class="showonhover">
704
- <label for="page_notify">
705
- <input
706
- type="checkbox" <?php checked( 1, ( isset( $status['page'] ) ? (int) $status['page'] : 0 ), TRUE ); ?>
707
- value="1" id="page_notify"
708
- name="_disable_updates[page]"> <?php _e( 'Remove Updates Page', 'disable-updates-manager' ) ?>
709
- </label>
710
- <span>
711
- <a href="#" class="viewdescription">?</a>
712
- <span class="hovertext">The one in the dashboard tab.</span>
713
- </span>
714
- </div>
715
-
716
- <div class="showonhover">
717
- <label for="wpv_notify">
718
- <input
719
- type="checkbox" <?php checked( 1, ( isset( $status['wpv'] ) ? (int) $status['wpv'] : 0 ), TRUE ); ?>
720
- value="1" id="wpv_notify"
721
- name="_disable_updates[wpv]"> <?php _e( 'Remove WordPress Core Version from Footer', 'disable-updates-manager' ) ?>
722
- </label>
723
- <span>
724
- <a href="#" class="viewdescription">?</a>
725
- <span class="hovertext">Removes it for all users.</span>
726
- </span>
727
- </div>
728
-
729
- <label for="abup_notify">
730
- <input type="checkbox" <?php checked( 1, ( isset( $status['abup'] ) ? (int) $status['abup'] : 0 ), TRUE ); ?>
731
- value="1" id="abup_notify"
732
- name="_disable_updates[abup]"> <?php _e( 'Disable Automatic Background Updates', 'disable-updates-manager' ) ?>
733
- </label>
734
- <br>
735
- </td>
736
- </tr>
737
- </tbody>
738
- </table>
739
- <p class="submit">
740
- <input type="submit" class="button-primary" value="<?php _e( 'Update Settings' ) ?>"/>
741
- </p>
742
-
743
- <table class="wp-list-table widefat fixed bookmarks"
744
- style="width: auto; padding: 5px; border-radius: 4px;">
745
- <tbody>
746
- <tr>
747
- <td>
748
- <p align="center">
749
- <a href="http://wordpress.org/support/plugin/stops-core-theme-and-plugin-updates">Support</a> |
750
- <a href="https://www.youtube.com/watch?v=ppCxjREhF9g">Tutorial</a> |
751
- <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/faq/">FAQ</a> |
752
- <a href="https://github.com/Websiteguy/disable-updates-manager">GitHub</a>
753
- </p>
754
- </td>
755
- </tr>
756
- </tbody>
757
- </table>
758
-
759
- </form>
760
- </div>
761
 
762
  <?php
763
  }
1
  <?php
2
  /**
3
  * @package Disable Updates Manager
4
+ * @author MPS Plugins
5
  * @email webguywp@gmail.com
6
+ * @version 4.2.12
7
  */
8
  /*
9
  Plugin Name: Disable Updates Manager
10
+ Plugin URI: http://www.mpswp.wordpress.com
11
+ Version: 4.2.12
12
  Description: A configurable plugin that disables updates for you. Easy, clean and helpful.
13
+ Author: MPS Plugins
14
+ Author URI: http://www.mpswp.wordpress.com
15
  Author Email: webguywp@gmail.com
16
  License: GPL2
17
  Text Domain: disable-updates-manager
18
+ Domain Path: languages
 
19
 
20
+ @Copyright 2013 - 2014 MPS Plugins (email: webguywp@gmail.com)
21
 
22
  This program is free software; you can redistribute it and/or modify
23
  it under the terms of the GNU General Public License, version 2, as
38
  class Disable_Updates {
39
 
40
  // Define version.
41
+ const VERSION = '4.2.12';
42
+
43
+ private static $page_hook = '';
44
 
45
  function __construct() {
46
 
62
  // load the values recorded.
63
  $this->load_disable_updates();
64
  }
65
+
66
  static function load_textdomain() {
67
+
68
  load_plugin_textdomain( 'disable-updates-manager', FALSE, basename( dirname( __FILE__ ) ) . '/lang' );
69
+
70
+ }
71
+
72
+ static function page_actions() {
73
+
74
+ do_action( 'add_meta_boxes_' . self::$page_hook, NULL );
75
+ do_action( 'add_meta_boxes', self::$page_hook, NULL );
76
+
77
+ // User can choose between 1 or 2 columns (default 2)
78
+ add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
79
+
80
+ add_meta_box( 'dum-global', __( 'Disable Updates Globally', 'disable-updates-manager' ), array( __CLASS__, 'metabox_global' ), self::$page_hook, 'left', 'core' );
81
+ add_meta_box( 'dum-other', __( 'Other', 'disable-updates-manager' ), array( __CLASS__, 'metabox_other' ), self::$page_hook, 'right', 'core' );
82
+
83
+ add_meta_box( 'dum-themes', __( 'Disable Themes', 'disable-updates-manager' ), array( __CLASS__, 'metabox_themes' ), self::$page_hook, 'left', 'core' );
84
+ add_meta_box( 'dum-plugins', __( 'Disable Plugins', 'disable-updates-manager' ), array( __CLASS__, 'metabox_plugins' ), self::$page_hook, 'right', 'core' );
85
  }
86
 
87
  static function enqueue_css() {
88
 
89
+ // If SCRIPT_DEBUG is set and TRUE load the non-minified files, otherwise, load the minified files.
90
+ $min = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
91
+
92
+ wp_register_style( 'dum-chosen', plugins_url( "vendor/chosen/chosen$min.css", __FILE__ ), array(), '1.1.0' );
93
+
94
+ wp_enqueue_style( 'disable-updates-manager', plugins_url( "assets/style$min.css", __FILE__ ), array( 'dum-chosen' ), self::VERSION );
95
+ }
96
+
97
+ static function enqueue_js() {
98
+
99
+ // If SCRIPT_DEBUG is set and TRUE load the non-minified files, otherwise, load the minified files.
100
+ $min = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
101
+
102
+ wp_register_script( 'dum-admin-js', plugins_url( "assets/admin$min.js", __FILE__ ), array( 'postbox' ), self::VERSION );
103
+
104
+ wp_enqueue_script( 'dum-chosen-js', plugins_url( "vendor/chosen/chosen.jquery$min.js", __FILE__ ), array( 'dum-admin-js' ), '1.1.0' );
105
+ }
106
+
107
+ static function footer_scripts() {
108
+
109
+ ?>
110
+ <script> postboxes.add_postbox_toggles(pagenow);</script>
111
+ <?php
112
  }
113
 
114
  // Register settings.
117
  register_setting( '_disable_updates', '_disable_updates', array( __CLASS__, 'validate_settings' ) );
118
  }
119
 
120
+ static function validate_settings( $value ) {
121
+
122
+
123
+ if ( isset( $value['plugins'] ) ) {
124
+
125
+
126
+ // Since the blocked plugins are stored in a different option, we need to update that option.
127
+ $blocked_plugins = $value['plugins'];
128
+
129
+
130
+ // Convert the data to match the way the options are stored.
131
+ $blocked_plugins = array_fill_keys( $blocked_plugins, TRUE );
132
+
133
+
134
+ } else {
135
+
136
+
137
+ $blocked_plugins = array();
138
+ }
139
+
140
+
141
+ // Update the blocked plugins option.
142
+ update_option( 'disable_updates_blocked', $blocked_plugins );
143
+
144
 
145
  return $value;
146
  }
149
 
150
  $page_hook = add_submenu_page( 'options-general.php', 'Disable Updates Manager', __( 'Disable Updates Manager', 'disable-updates-manager' ), 'manage_options', 'disable-updates-manager', array( __CLASS__, 'display_page' ) );
151
 
152
+ // Enqueue the admin CSS for this page only..
153
  add_action( "load-$page_hook", array( __CLASS__, 'enqueue_css' ) );
154
+
155
+ // Enqueue the admin JS for this page only..
156
+ add_action( "load-$page_hook", array( __CLASS__, 'enqueue_js' ) );
157
+
158
+ // Add callbacks for this page only.
159
+ add_action( "load-$page_hook", array( __CLASS__, 'page_actions' ), 9 );
160
+ add_action( "admin_footer-$page_hook" , array( __CLASS__ , 'footer_scripts' ) );
161
+ add_action( "load-$page_hook", array( __CLASS__, 'help_tab' ) );
162
+
163
+ self::$page_hook = $page_hook;
164
  }
165
 
166
  static function action_links( $links ) {
277
  add_filter( 'http_request_args', array( __CLASS__, 'http_request_args_plugins_filter' ), 5, 2 );
278
 
279
  break;
280
+
281
+ case 'bnag' :
282
+
283
+ if ( ! function_exists( 'c2c_no_browser_nag' ) ) :
284
+
285
+ function c2c_no_browser_nag() {
286
+ // This is cribbed from wp_check_browser_version()
287
+ $key = md5( $_SERVER['HTTP_USER_AGENT'] );
288
+ add_filter( 'site_transient_browser_' . $key, '__return_null' );
289
+ }
290
+
291
+ endif;
292
+
293
+ add_action( 'admin_init', 'c2c_no_browser_nag' );
294
+
295
+ break;
296
 
297
  case 'it':
298
 
516
 
517
  $blocked = get_option( 'disable_updates_blocked' );
518
 
519
+ if ( $blocked !== FALSE && array_key_exists( $plugin_file, $blocked ) ) {
520
 
521
  $actions[] = '<a class="delete" href="plugins.php?_wpnonce=' . wp_create_nonce( 'disable_updates' ) . '&disable_updates&unblock=' . $plugin_file . '">Unblock Updates</a>';
522
 
527
 
528
  return $actions;
529
  }
530
+
531
  static function http_request_args_plugins_filter( $r, $url ) {
532
 
533
  if ( 0 !== strpos( $url, 'https://api.wordpress.org/plugins/update-check/1.1/' ) ) {
605
 
606
  return $r;
607
  }
608
+
609
+
610
+ // Help Tab
611
+ static function help_tab() {
612
+ global $test_help_page;
613
+
614
+ $screen = get_current_screen();
615
+ $content1 = <<<CONTENT1
616
+
617
+ <p>
618
+ Disable Updates Manager 4.2.10 is the most innovative version yet. With the last few updates, you will notice some new key features mostly in the settings page. The settings page had a major redo with its new metaboxes to make them drag and drop with cool screen options plus in the setting, we used some Chosen integration. Included in all of that is some minor fixes to the grammar and layout.
619
+ <br>
620
+ <br>
621
+ For the code, it had a fix up. The language files got compressed into on simple file plus the code is now sorted in some more folders making it easier to navigate through.
622
+ <br>
623
+ <br>
624
+ If you are having trouble with any of the new features in Disable Updates Manager, check the other tabs in this help tab. Feel free to contact us any time.
625
+ </p>
626
+
627
+ CONTENT1;
628
+
629
+ $content2 = <<<CONTENT2
630
+
631
+ <p>
632
+ <iframe width="280" height="157" src="//www.youtube.com/embed/9vPVis3NZHI?rel=0" frameborder="0" allowfullscreen></iframe>
633
+ </p>
634
+
635
+ CONTENT2;
636
+
637
+ $content3 = <<<CONTENT3
638
+
639
+ <p>
640
+ <a href="http://mpswp.wordpress.com">Our Website</a>
641
+ <br>
642
+ <a href="http://wordpress.org/support/plugin/stops-core-theme-and-plugin-updates">Support on WordPress</a>
643
+ <br>
644
+ <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/faq/">FAQ</a>
645
+ <br>
646
+ <a href="https://github.com/Websiteguy/disable-updates-manager">GitHub Repository</a>
647
+ </p>
648
+
649
+ CONTENT3;
650
+
651
+ $content4 = <<<CONTENT4
652
+
653
+ <p>
654
+ You can use the following controls to arrange the settings to suit your workflow.
655
+ <br>
656
+ <br>
657
+ <strong>Screen Options</strong> - Use the Screen Options tab to choose which boxes to show.
658
+ <br>
659
+ <br>
660
+ <strong>Drag and Drop</strong> - To rearrange the boxes, drag and drop by clicking on the title bar of the selected box and releasing when you see a gray dotted-line rectangle appear in the location you want to place the box.
661
+ <br>
662
+ <br>
663
+ <strong>Box Controls</strong> - Click the title bar of the box to expand or collapse it.
664
+ <br>
665
+ <br>
666
+ <strong>Chosen</strong> - Check the Disable Themes Individually setting and/or the Disable Plugins Individually settings to enable the chosen multiply select box.
667
+ </p>
668
+
669
+ CONTENT4;
670
+
671
+ $content5 = <<<CONTENT5
672
+
673
+ <p style="align: center;">
674
+ <h3>Contributors:</h3>
675
+ <ul>
676
+ <li><a href="http://profiles.wordpress.org/mps-plugins/">MPS Plugins</a></li>
677
+ <li><a href="http://profiles.wordpress.org/kidsguide/">Matthew</a></li>
678
+ <li><a href="http://profiles.wordpress.org/shazahm1hotmailcom/">Shazahm1</a></li>
679
+ </ul>
680
+ </p>
681
+
682
+ CONTENT5;
683
+
684
+ // Add my_help_tab if current screen is My Admin Page
685
+ $screen->add_help_tab(array(
686
+ 'id' => 'help_tab_content_1',
687
+ 'title' => __('Overview'),
688
+ 'content' => $content1,
689
+ ));
690
+
691
+ $screen->add_help_tab(array(
692
+ 'id' => 'help_tab_content_4',
693
+ 'title' => __('Layout'),
694
+ 'content' => $content4,
695
+ ));
696
+
697
+ $screen->add_help_tab(array(
698
+ 'id' => 'help_tab_content_2',
699
+ 'title' => __('Tutorials'),
700
+ 'content' => $content2,
701
+ ));
702
+
703
+ $screen->add_help_tab(array(
704
+ 'id' => 'help_tab_content_3',
705
+ 'title' => __('Help'),
706
+ 'content' => $content3,
707
+ ));
708
+
709
+ $screen->set_help_sidebar($content5);
710
+
711
+ }
712
+
713
+ static function metabox_global( $status ) {
714
+
715
+ ?>
716
+
717
+ <div class="showonhover">
718
+ <p>
719
+ <label for="all_notify">
720
+ <input
721
+ type="checkbox" <?php checked( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ), TRUE ); ?>
722
+ value="1" id="all_notify"
723
+ name="_disable_updates[all]"> <?php _e( 'Disable All Updates', 'disable-updates-manager' ) ?>
724
+ </label>
725
+ <span>
726
+ <a href="#" class="viewdescription">?</a>
727
+ <span class="hovertext">Disables core, theme, and plugin updates.</span>
728
+ </span>
729
+ </p>
730
+ </div>
731
+
732
+ <ul style="padding-left: 12px;">
733
+ <li>
734
+ <label for="plugins_notify">
735
+ <input type="checkbox" <?php checked( 1, ( isset( $status['plugin'] ) && ! isset( $status['all'] ) ? (int) $status['plugin'] : 0 ), TRUE ); ?>
736
+ value="1" id="plugins_notify"
737
+ name="_disable_updates[plugin]"
738
+ <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable All Plugin Updates', 'disable-updates-manager' ) ?>
739
+ </label>
740
+ </li>
741
+ <li>
742
+ <label for="themes_notify">
743
+ <input type="checkbox" <?php checked( 1, ( isset( $status['theme'] ) && ! isset( $status['all'] ) ? (int) $status['theme'] : 0 ), TRUE ); ?>
744
+ value="1" id="themes_notify"
745
+ name="_disable_updates[theme]"
746
+ <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable All Theme Updates', 'disable-updates-manager' ) ?>
747
+ </label>
748
+ </li>
749
+ <li>
750
+ <label for="core_notify">
751
+ <input type="checkbox" <?php checked( 1, ( isset( $status['core'] ) && ! isset( $status['all'] ) ? (int) $status['core'] : 0 ), TRUE ); ?>
752
+ value="1" id="core_notify"
753
+ name="_disable_updates[core]"
754
+ <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable WordPress Core Update', 'disable-updates-manager' ) ?>
755
+ </label>
756
+ </li>
757
+ </ul>
758
+
759
+ <?php
760
+ }
761
+
762
+ static function metabox_other( $status ) {
763
+
764
+ ?>
765
+ <ul>
766
+ <li class="showonhover">
767
+ <label for="page_notify">
768
+ <input
769
+ type="checkbox" <?php checked( 1, ( isset( $status['page'] ) ? (int) $status['page'] : 0 ), TRUE ); ?>
770
+ value="1" id="page_notify"
771
+ name="_disable_updates[page]"> <?php _e( 'Remove Updates Page', 'disable-updates-manager' ) ?>
772
+ </label>
773
+ <span>
774
+ <a href="#" class="viewdescription">?</a></a>
775
+ <span class="hovertext">The page under the Dashboard tab.</span>
776
+ </span>
777
+ </li>
778
+
779
+ <li class="showonhover">
780
+ <label for="bnag_notify">
781
+ <input type="checkbox" <?php checked( 1, ( isset( $status['bnag'] ) ? (int) $status['bnag'] : 0 ), TRUE ); ?>
782
+ value="1" id="bnag_notify"
783
+ name="_disable_updates[bnag]"> <?php _e( 'Remove Out of Date Browser Nag', 'disable-updates-manager' ) ?>
784
+ </label>
785
+ <span>
786
+ <a href="#" class="viewdescription">?</a>
787
+ <span class="hovertext">Removes the browsers is out of date notification in you WordPress dashboard.</span>
788
+ </span>
789
+ </li>
790
+
791
+ <li class="showonhover">
792
+ <label for="wpv_notify">
793
+ <input
794
+ type="checkbox" <?php checked( 1, ( isset( $status['wpv'] ) ? (int) $status['wpv'] : 0 ), TRUE ); ?>
795
+ value="1" id="wpv_notify"
796
+ name="_disable_updates[wpv]"> <?php _e( 'Remove WordPress Core Version from Footer', 'disable-updates-manager' ) ?>
797
+ </label>
798
+ <span>
799
+ <a href="#" class="viewdescription">?</a>
800
+ <span class="hovertext">Removes it for all users.</span>
801
+ </span>
802
+ </li>
803
+
804
+ <li>
805
+ <label for="abup_notify">
806
+ <input type="checkbox" <?php checked( 1, ( isset( $status['abup'] ) ? (int) $status['abup'] : 0 ), TRUE ); ?>
807
+ value="1" id="abup_notify"
808
+ name="_disable_updates[abup]"> <?php _e( 'Disable Automatic Background Updates', 'disable-updates-manager' ) ?>
809
+ </label>
810
+ </li>
811
+ <ul>
812
+
813
+ <?php
814
+ }
815
+
816
+ static function metabox_themes( $status ) {
817
+
818
+ ?>
819
+
820
+ <div class="showonhover">
821
+ <p>
822
+ <label for="dum-disable-themes">
823
+ <input type="checkbox" <?php checked( 1, ( isset( $status['it'] ) && ! isset( $status['all'] ) ? (int) $status['it'] : 0 ), TRUE ); ?>
824
+ id="dum-disable-themes"
825
+ value="1"
826
+ name="_disable_updates[it]"
827
+ <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable Themes Individually', 'disable-updates-manager' ) ?>
828
+ </label>
829
+
830
+ <span>
831
+ <a href="#" class="viewdescription">?</a>
832
+ <span class="hovertext">Enabling this option will show the list of themes to disable updates.</span>
833
+ </span>
834
+ </p>
835
+ </div>
836
+
837
+ <?php
838
+
839
+ $themes = wp_get_themes( array( 'allowed' => TRUE ) );
840
+
841
+ if ( ! empty( $themes ) ) {
842
+
843
+ echo '<select class="dum-enhanced-select" id="dum-disable-themes-select" name="_disable_updates[themes][]" data-placeholder="' . __( 'Select themes to disable...', 'disable-updates-manager' ) . '" multiple' . ( isset( $status['it'] ) && ! isset( $status['all'] ) ? '' : ' disabled' ) . '>';
844
+
845
+ echo '<option value=""></option>';
846
+
847
+ foreach ( $themes as $slug => $theme ) {
848
+
849
+ printf( '<option value="%1$s"%2$s>%3$s</option>',
850
+ esc_attr( $slug ),
851
+ ! isset( $status['all'] ) && isset( $status['it'] ) && isset( $status['themes'] ) && in_array( $slug, $status['themes'] ) ? ' SELECTED' : '',
852
+ esc_html( $theme->name )
853
+ );
854
+ }
855
+
856
+ echo '</select>';
857
+ }
858
+
859
+ }
860
+
861
+ static function metabox_plugins( $status ) {
862
+
863
+ ?>
864
+
865
+ <div class="showonhover">
866
+ <p>
867
+ <label for="dum-disable-plugins">
868
+ <input type="checkbox" <?php checked( 1, ( isset( $status['ip'] ) && ! isset( $status['all'] ) ? (int) $status['ip'] : 0 ), TRUE ); ?>
869
+ id="dum-disable-plugins"
870
+ value="1"
871
+ name="_disable_updates[ip]"
872
+ <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable Plugins Individually', 'disable-updates-manager' ) ?>
873
+ </label>
874
+
875
+ <span>
876
+ <a href="#" class="viewdescription">?</a>
877
+ <span class="hovertext">Enabling this option will show the list of plugins to disable updates.</span>
878
+ </span>
879
+ </p>
880
+ </div>
881
+
882
+ <?php
883
+
884
+ $plugins = get_plugins();
885
+ $blocked = get_option( 'disable_updates_blocked' );
886
+
887
+ if ( ! empty( $plugins ) ) {
888
+
889
+ echo '<select class="dum-enhanced-select" id="dum-disable-plugins-select" name="_disable_updates[plugins][]" data-placeholder="' . __( 'Select plugins to disable...', 'disable-updates-manager' ) . '" multiple' . ( isset( $status['ip'] ) && ! isset( $status['all'] ) ? '' : ' disabled' ) . '>';
890
+
891
+ echo '<option value=""></option>';
892
+
893
+ foreach ( $plugins as $slug => $plugin ) {
894
+
895
+ printf( '<option value="%1$s"%2$s>%3$s</option>',
896
+ esc_attr( $slug ),
897
+ ! isset( $status['all'] ) && isset( $status['ip'] ) && array_key_exists( $slug, (array) $blocked ) ? ' SELECTED' : '',
898
+ esc_attr( $plugin['Name'] )
899
+ );
900
+ }
901
+
902
+ echo '</select>';
903
+ }
904
+
905
+ }
906
 
907
  // Settings page (under dashboard).
908
  static function display_page() {
909
+ ?>
910
+
911
+ <h2><?php _e( 'Disable Updates Manager', 'disable-updates-manager' ); ?></h2>
912
+
913
+ <?php
914
  $status = get_option( '_disable_updates' );
915
 
916
  // Don't Allow Users to View Settings
918
  wp_die( __( 'You do not have permissions to access this page.' ) );
919
  }
920
  ?>
921
+
922
+ <div class="dashboard-widgets-wrap">
923
+
924
+ <?php get_settings_errors()?>
925
+
926
+ <div class="error" style="width: auto;">
927
+ <p><strong>Please Note! - </strong>If either your WordPress core, theme, or plugins get too out
928
+ of date, you may run into compatibility problems.</p>
929
+ </div>
930
 
931
+ <div id="dashboard-widgets" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>">
932
 
933
+ <form name="dum-options" method="post" action="options.php">
934
+ <input type="hidden" name="action" value="dum-update-options">
935
+ <?php wp_nonce_field( 'dum-update-options-nonce' );
936
 
937
+ /* Used to save closed metaboxes and their order */
938
+ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', FALSE );
939
+ wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', FALSE ); ?>
 
 
 
940
 
941
+ <div class="postbox-container">
942
+ <?php do_meta_boxes( self::$page_hook, 'left', $status ); ?>
943
+ </div>
944
+
945
+ <div class="postbox-container">
946
+ <?php do_meta_boxes( self::$page_hook, 'right', $status ); ?>
947
+ <?php //do_meta_boxes( self::$page_hook, 'advanced', $status ); ?>
948
+ </div>
949
+
950
+ <?php settings_fields( '_disable_updates' ); ?>
951
+
952
+ <p class="submit clear">
953
+ <input type="submit" class="button-primary" value="<?php _e( 'Update Settings' ) ?>"/>
954
+ </p>
955
+
956
+ </form>
957
+
958
+ </div><!-- #dashboard-widgets -->
959
+
960
+ </div><!-- .dashboard-widgets-wrap -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
961
 
962
  <?php
963
  }
License.txt CHANGED
@@ -205,6 +205,6 @@
205
  SUCH DAMAGES.
206
 
207
  Name: Matthew
208
- Company: devWPP
209
  E-mail: webguywp@gmail.com
210
- @Copyright 2013 - 2014
205
  SUCH DAMAGES.
206
 
207
  Name: Matthew
208
+ Company: MPS Plugins
209
  E-mail: webguywp@gmail.com
210
+ @Copyright 2014
assets/admin.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ;jQuery(document).ready( function($) {
2
+
3
+ /*
4
+ * Add jQuery Chosen to enhance selects.
5
+ */
6
+ if ( $.fn.chosen ) {
7
+
8
+ $('.dum-enhanced-select').chosen( { width: '100%' } );
9
+
10
+ $('#dum-disable-themes, #dum-disable-plugins').click( function() {
11
+
12
+ id = $(this).attr('id');
13
+
14
+ if ( $(this).is(':checked') ) {
15
+
16
+ $( '#' + id + '-select').attr( 'disabled', false ).trigger('chosen:updated');
17
+
18
+ } else {
19
+
20
+ $( '#' + id + '-select').val( function( i, value ) { return $(this).data('placeholder'); } ).attr( 'disabled', true ).trigger('chosen:updated');
21
+ }
22
+
23
+ });
24
+ }
25
+
26
+ });
assets/admin.min.js ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ jQuery(document).ready(function(a){if(a.fn.chosen){a(".dum-enhanced-select").chosen({width:"100%"});a("#dum-disable-themes, #dum-disable-plugins").click(function(){id=a(this).attr("id");
2
+ if(a(this).is(":checked")){a("#"+id+"-select").attr("disabled",false).trigger("chosen:updated");}else{a("#"+id+"-select").val(function(b,c){return a(this).data("placeholder");
3
+ }).attr("disabled",true).trigger("chosen:updated");}});}});
assets/style.css ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Tooltips CSS */
2
+ .showonhover {
3
+ position: relative;
4
+ }
5
+
6
+ .showonhover .hovertext {
7
+ opacity: 0;
8
+ top: -99999px;
9
+ position: absolute;
10
+ z-index: 1000;
11
+ border: 1px solid #ffd971;
12
+ background-color: #fffdce;
13
+ padding: 2px 8px 2px 8px;
14
+ width: auto;
15
+ height: auto;
16
+ font-size: .85em;
17
+ -webkit-transition: opacity .3s ease;
18
+ -moz-transition: opacity .3s ease;
19
+ -o-transition: opacity .3s ease;
20
+ transition: opacity .3s ease;
21
+ }
22
+
23
+ .showonhover:hover .hovertext {
24
+ opacity: 1;
25
+ top: 0;
26
+ }
27
+
28
+ a.viewdescription {
29
+ color: #999;
30
+ }
31
+
32
+ a.viewdescription:hover {
33
+ background-color: #999;
34
+ color: #FFF;
35
+ }
36
+
37
+ select.dum-enhanced-select {
38
+ width: 100%;
39
+ }
40
+
41
+ .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
42
+ -webkit-box-sizing: content-box;
43
+ -moz-box-sizing: content-box;
44
+ box-sizing: content-box;
45
+ }
assets/style.min.css ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ .showonhover{position:relative}.showonhover .hovertext{opacity:0;top:-99999px;position:absolute;z-index:1000;border:1px solid #ffd971;background-color:#fffdce;padding:2px 8px 2px 8px;width:auto;height:auto;font-size:.85em;-webkit-transition:opacity .3s ease;-moz-transition:opacity .3s ease;-o-transition:opacity .3s ease;transition:opacity .3s ease}
2
+ .showonhover:hover .hovertext{opacity:1;top:0}a.viewdescription{color:#999}a.viewdescription:hover{background-color:#999;color:#FFF}select.dum-enhanced-select{width:100%}
3
+ .chosen-container-multi .chosen-choices li.search-field input[type="text"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}
lang/en_CA.mo DELETED
Binary file
lang/stops-core-theme-and-plugin-updates-af_AF.mo DELETED
Binary file
lang/stops-core-theme-and-plugin-updates-af_AF.po DELETED
@@ -1,123 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Disable Updates Manager v3.7.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-04-09 20:48:23+0000\n"
7
- "Last-Translator: Websiteguy <mpsparrow@cogeco.ca>\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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: Afrikaans\n"
15
- "X-Poedit-Country: SOUTH AFRICA\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "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;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #. translators: plugin header field 'Name'
24
- #: Function.php:0
25
- #@ stops-core-theme-and-plugin-updates
26
- msgid "Disable Updates Manager"
27
- msgstr ""
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: Function.php:0
31
- #@ stops-core-theme-and-plugin-updates
32
- msgid "http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/"
33
- msgstr ""
34
-
35
- #. translators: plugin header field 'Description'
36
- #: Function.php:0
37
- #@ stops-core-theme-and-plugin-updates
38
- msgid "Pick which type of updates you would like to disable. Just use the settings."
39
- msgstr ""
40
-
41
- #. translators: plugin header field 'Author'
42
- #: Function.php:0
43
- #@ stops-core-theme-and-plugin-updates
44
- msgid "Websiteguy"
45
- msgstr ""
46
-
47
- #. translators: plugin header field 'AuthorURI'
48
- #: Function.php:0
49
- #@ stops-core-theme-and-plugin-updates
50
- msgid "http://profiles.wordpress.org/kidsguide/"
51
- msgstr ""
52
-
53
- #. translators: plugin header field 'Version'
54
- #: Function.php:0
55
- #@ stops-core-theme-and-plugin-updates
56
- msgid "3.7.0"
57
- msgstr ""
58
-
59
- #: Function.php:82
60
- #@ disable-updates-manager
61
- msgid "Disable Updates"
62
- msgstr ""
63
-
64
- #: Function.php:413
65
- #@ default
66
- msgid "You do not have permissions to access this page."
67
- msgstr ""
68
-
69
- #: Function.php:419
70
- #@ disable-updates-manager
71
- msgid "Disable Updates Manager Settings"
72
- msgstr ""
73
-
74
- #: Function.php:441
75
- #@ disable-updates-manager
76
- msgid "Disable All Updates"
77
- msgstr ""
78
-
79
- #: Function.php:451
80
- #@ disable-updates-manager
81
- msgid "Disable Plugin Updates"
82
- msgstr ""
83
-
84
- #: Function.php:455
85
- #@ disable-updates-manager
86
- msgid "Disable Theme Updates"
87
- msgstr ""
88
-
89
- #: Function.php:459
90
- #@ disable-updates-manager
91
- msgid "Disable WordPress Core Update"
92
- msgstr ""
93
-
94
- #: Function.php:479
95
- #@ disable-updates-manager
96
- msgid "Disable Plugins Individually"
97
- msgstr ""
98
-
99
- #: Function.php:504
100
- #@ disable-updates-manager
101
- msgid "Remove Updates Page"
102
- msgstr ""
103
-
104
- #: Function.php:514
105
- #@ disable-updates-manager
106
- msgid "Remove WordPress Core Version"
107
- msgstr ""
108
-
109
- #: Function.php:523
110
- #@ disable-updates-manager
111
- msgid "Disable Automatic Background Updates"
112
- msgstr ""
113
-
114
- #: Function.php:531
115
- #@ default
116
- msgid "Update Settings"
117
- msgstr ""
118
-
119
- #: Function.php:579
120
- #@ ts-fab
121
- msgid "Configure"
122
- msgstr ""
123
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/stops-core-theme-and-plugin-updates-ca_ES.mo DELETED
Binary file
lang/stops-core-theme-and-plugin-updates-ca_ES.po DELETED
@@ -1,123 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Disable Updates Manager v3.7.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-04-09 20:56:07+0000\n"
7
- "Last-Translator: Websiteguy <mpsparrow@cogeco.ca>\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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: Catalan\n"
15
- "X-Poedit-Country: SPAIN\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "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;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #. translators: plugin header field 'Name'
24
- #: Function.php:0
25
- #@ stops-core-theme-and-plugin-updates
26
- msgid "Disable Updates Manager"
27
- msgstr ""
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: Function.php:0
31
- #@ stops-core-theme-and-plugin-updates
32
- msgid "http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/"
33
- msgstr ""
34
-
35
- #. translators: plugin header field 'Description'
36
- #: Function.php:0
37
- #@ stops-core-theme-and-plugin-updates
38
- msgid "Pick which type of updates you would like to disable. Just use the settings."
39
- msgstr ""
40
-
41
- #. translators: plugin header field 'Author'
42
- #: Function.php:0
43
- #@ stops-core-theme-and-plugin-updates
44
- msgid "Websiteguy"
45
- msgstr ""
46
-
47
- #. translators: plugin header field 'AuthorURI'
48
- #: Function.php:0
49
- #@ stops-core-theme-and-plugin-updates
50
- msgid "http://profiles.wordpress.org/kidsguide/"
51
- msgstr ""
52
-
53
- #. translators: plugin header field 'Version'
54
- #: Function.php:0
55
- #@ stops-core-theme-and-plugin-updates
56
- msgid "3.7.0"
57
- msgstr ""
58
-
59
- #: Function.php:82
60
- #@ disable-updates-manager
61
- msgid "Disable Updates"
62
- msgstr ""
63
-
64
- #: Function.php:413
65
- #@ default
66
- msgid "You do not have permissions to access this page."
67
- msgstr ""
68
-
69
- #: Function.php:419
70
- #@ disable-updates-manager
71
- msgid "Disable Updates Manager Settings"
72
- msgstr ""
73
-
74
- #: Function.php:441
75
- #@ disable-updates-manager
76
- msgid "Disable All Updates"
77
- msgstr ""
78
-
79
- #: Function.php:451
80
- #@ disable-updates-manager
81
- msgid "Disable Plugin Updates"
82
- msgstr ""
83
-
84
- #: Function.php:455
85
- #@ disable-updates-manager
86
- msgid "Disable Theme Updates"
87
- msgstr ""
88
-
89
- #: Function.php:459
90
- #@ disable-updates-manager
91
- msgid "Disable WordPress Core Update"
92
- msgstr ""
93
-
94
- #: Function.php:479
95
- #@ disable-updates-manager
96
- msgid "Disable Plugins Individually"
97
- msgstr ""
98
-
99
- #: Function.php:504
100
- #@ disable-updates-manager
101
- msgid "Remove Updates Page"
102
- msgstr ""
103
-
104
- #: Function.php:514
105
- #@ disable-updates-manager
106
- msgid "Remove WordPress Core Version"
107
- msgstr ""
108
-
109
- #: Function.php:523
110
- #@ disable-updates-manager
111
- msgid "Disable Automatic Background Updates"
112
- msgstr ""
113
-
114
- #: Function.php:531
115
- #@ default
116
- msgid "Update Settings"
117
- msgstr ""
118
-
119
- #: Function.php:579
120
- #@ ts-fab
121
- msgid "Configure"
122
- msgstr ""
123
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/stops-core-theme-and-plugin-updates-da_DK.mo DELETED
Binary file
lang/stops-core-theme-and-plugin-updates-da_DK.po DELETED
@@ -1,123 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Disable Updates Manager v3.7.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-04-09 20:56:02+0000\n"
7
- "Last-Translator: Websiteguy <mpsparrow@cogeco.ca>\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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: Danish\n"
15
- "X-Poedit-Country: DENMARK\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "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;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #. translators: plugin header field 'Name'
24
- #: Function.php:0
25
- #@ stops-core-theme-and-plugin-updates
26
- msgid "Disable Updates Manager"
27
- msgstr ""
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: Function.php:0
31
- #@ stops-core-theme-and-plugin-updates
32
- msgid "http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/"
33
- msgstr ""
34
-
35
- #. translators: plugin header field 'Description'
36
- #: Function.php:0
37
- #@ stops-core-theme-and-plugin-updates
38
- msgid "Pick which type of updates you would like to disable. Just use the settings."
39
- msgstr ""
40
-
41
- #. translators: plugin header field 'Author'
42
- #: Function.php:0
43
- #@ stops-core-theme-and-plugin-updates
44
- msgid "Websiteguy"
45
- msgstr ""
46
-
47
- #. translators: plugin header field 'AuthorURI'
48
- #: Function.php:0
49
- #@ stops-core-theme-and-plugin-updates
50
- msgid "http://profiles.wordpress.org/kidsguide/"
51
- msgstr ""
52
-
53
- #. translators: plugin header field 'Version'
54
- #: Function.php:0
55
- #@ stops-core-theme-and-plugin-updates
56
- msgid "3.7.0"
57
- msgstr ""
58
-
59
- #: Function.php:82
60
- #@ disable-updates-manager
61
- msgid "Disable Updates"
62
- msgstr ""
63
-
64
- #: Function.php:413
65
- #@ default
66
- msgid "You do not have permissions to access this page."
67
- msgstr ""
68
-
69
- #: Function.php:419
70
- #@ disable-updates-manager
71
- msgid "Disable Updates Manager Settings"
72
- msgstr ""
73
-
74
- #: Function.php:441
75
- #@ disable-updates-manager
76
- msgid "Disable All Updates"
77
- msgstr ""
78
-
79
- #: Function.php:451
80
- #@ disable-updates-manager
81
- msgid "Disable Plugin Updates"
82
- msgstr ""
83
-
84
- #: Function.php:455
85
- #@ disable-updates-manager
86
- msgid "Disable Theme Updates"
87
- msgstr ""
88
-
89
- #: Function.php:459
90
- #@ disable-updates-manager
91
- msgid "Disable WordPress Core Update"
92
- msgstr ""
93
-
94
- #: Function.php:479
95
- #@ disable-updates-manager
96
- msgid "Disable Plugins Individually"
97
- msgstr ""
98
-
99
- #: Function.php:504
100
- #@ disable-updates-manager
101
- msgid "Remove Updates Page"
102
- msgstr ""
103
-
104
- #: Function.php:514
105
- #@ disable-updates-manager
106
- msgid "Remove WordPress Core Version"
107
- msgstr ""
108
-
109
- #: Function.php:523
110
- #@ disable-updates-manager
111
- msgid "Disable Automatic Background Updates"
112
- msgstr ""
113
-
114
- #: Function.php:531
115
- #@ default
116
- msgid "Update Settings"
117
- msgstr ""
118
-
119
- #: Function.php:579
120
- #@ ts-fab
121
- msgid "Configure"
122
- msgstr ""
123
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/stops-core-theme-and-plugin-updates-de_DE.mo DELETED
Binary file
lang/stops-core-theme-and-plugin-updates-de_DE.po DELETED
@@ -1,123 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Disable Updates Manager v3.7.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-04-09 20:55:55+0000\n"
7
- "Last-Translator: webguyplugins <mpsparrow@cogeco.ca>\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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: German\n"
15
- "X-Poedit-Country: GERMANY\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "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;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #. translators: plugin header field 'Name'
24
- #: Function.php:0
25
- #@ stops-core-theme-and-plugin-updates
26
- msgid "Disable Updates Manager"
27
- msgstr ""
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: Function.php:0
31
- #@ stops-core-theme-and-plugin-updates
32
- msgid "http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/"
33
- msgstr ""
34
-
35
- #. translators: plugin header field 'Description'
36
- #: Function.php:0
37
- #@ stops-core-theme-and-plugin-updates
38
- msgid "Pick which type of updates you would like to disable. Just use the settings."
39
- msgstr ""
40
-
41
- #. translators: plugin header field 'Author'
42
- #: Function.php:0
43
- #@ stops-core-theme-and-plugin-updates
44
- msgid "Websiteguy"
45
- msgstr ""
46
-
47
- #. translators: plugin header field 'AuthorURI'
48
- #: Function.php:0
49
- #@ stops-core-theme-and-plugin-updates
50
- msgid "http://profiles.wordpress.org/kidsguide/"
51
- msgstr ""
52
-
53
- #. translators: plugin header field 'Version'
54
- #: Function.php:0
55
- #@ stops-core-theme-and-plugin-updates
56
- msgid "3.7.0"
57
- msgstr ""
58
-
59
- #: Function.php:82
60
- #@ disable-updates-manager
61
- msgid "Disable Updates"
62
- msgstr ""
63
-
64
- #: Function.php:413
65
- #@ default
66
- msgid "You do not have permissions to access this page."
67
- msgstr ""
68
-
69
- #: Function.php:419
70
- #@ disable-updates-manager
71
- msgid "Disable Updates Manager Settings"
72
- msgstr ""
73
-
74
- #: Function.php:441
75
- #@ disable-updates-manager
76
- msgid "Disable All Updates"
77
- msgstr ""
78
-
79
- #: Function.php:451
80
- #@ disable-updates-manager
81
- msgid "Disable Plugin Updates"
82
- msgstr ""
83
-
84
- #: Function.php:455
85
- #@ disable-updates-manager
86
- msgid "Disable Theme Updates"
87
- msgstr ""
88
-
89
- #: Function.php:459
90
- #@ disable-updates-manager
91
- msgid "Disable WordPress Core Update"
92
- msgstr ""
93
-
94
- #: Function.php:479
95
- #@ disable-updates-manager
96
- msgid "Disable Plugins Individually"
97
- msgstr ""
98
-
99
- #: Function.php:504
100
- #@ disable-updates-manager
101
- msgid "Remove Updates Page"
102
- msgstr ""
103
-
104
- #: Function.php:514
105
- #@ disable-updates-manager
106
- msgid "Remove WordPress Core Version"
107
- msgstr ""
108
-
109
- #: Function.php:523
110
- #@ disable-updates-manager
111
- msgid "Disable Automatic Background Updates"
112
- msgstr ""
113
-
114
- #: Function.php:531
115
- #@ default
116
- msgid "Update Settings"
117
- msgstr ""
118
-
119
- #: Function.php:579
120
- #@ ts-fab
121
- msgid "Configure"
122
- msgstr ""
123
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/stops-core-theme-and-plugin-updates-en_CA.mo DELETED
Binary file
lang/stops-core-theme-and-plugin-updates-en_CA.po DELETED
@@ -1,123 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Disable Updates Manager v3.7.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-04-09 20:49:59+0000\n"
7
- "Last-Translator: Websiteguy <mpsparrow@cogeco.ca>\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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: English\n"
15
- "X-Poedit-Country: CANADA\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "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;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #. translators: plugin header field 'Name'
24
- #: Function.php:0
25
- #@ stops-core-theme-and-plugin-updates
26
- msgid "Disable Updates Manager"
27
- msgstr ""
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: Function.php:0
31
- #@ stops-core-theme-and-plugin-updates
32
- msgid "http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/"
33
- msgstr ""
34
-
35
- #. translators: plugin header field 'Description'
36
- #: Function.php:0
37
- #@ stops-core-theme-and-plugin-updates
38
- msgid "Pick which type of updates you would like to disable. Just use the settings."
39
- msgstr ""
40
-
41
- #. translators: plugin header field 'Author'
42
- #: Function.php:0
43
- #@ stops-core-theme-and-plugin-updates
44
- msgid "Websiteguy"
45
- msgstr ""
46
-
47
- #. translators: plugin header field 'AuthorURI'
48
- #: Function.php:0
49
- #@ stops-core-theme-and-plugin-updates
50
- msgid "http://profiles.wordpress.org/kidsguide/"
51
- msgstr ""
52
-
53
- #. translators: plugin header field 'Version'
54
- #: Function.php:0
55
- #@ stops-core-theme-and-plugin-updates
56
- msgid "3.7.0"
57
- msgstr ""
58
-
59
- #: Function.php:82
60
- #@ disable-updates-manager
61
- msgid "Disable Updates"
62
- msgstr ""
63
-
64
- #: Function.php:413
65
- #@ default
66
- msgid "You do not have permissions to access this page."
67
- msgstr ""
68
-
69
- #: Function.php:419
70
- #@ disable-updates-manager
71
- msgid "Disable Updates Manager Settings"
72
- msgstr ""
73
-
74
- #: Function.php:441
75
- #@ disable-updates-manager
76
- msgid "Disable All Updates"
77
- msgstr ""
78
-
79
- #: Function.php:451
80
- #@ disable-updates-manager
81
- msgid "Disable Plugin Updates"
82
- msgstr ""
83
-
84
- #: Function.php:455
85
- #@ disable-updates-manager
86
- msgid "Disable Theme Updates"
87
- msgstr ""
88
-
89
- #: Function.php:459
90
- #@ disable-updates-manager
91
- msgid "Disable WordPress Core Update"
92
- msgstr ""
93
-
94
- #: Function.php:479
95
- #@ disable-updates-manager
96
- msgid "Disable Plugins Individually"
97
- msgstr ""
98
-
99
- #: Function.php:504
100
- #@ disable-updates-manager
101
- msgid "Remove Updates Page"
102
- msgstr ""
103
-
104
- #: Function.php:514
105
- #@ disable-updates-manager
106
- msgid "Remove WordPress Core Version"
107
- msgstr ""
108
-
109
- #: Function.php:523
110
- #@ disable-updates-manager
111
- msgid "Disable Automatic Background Updates"
112
- msgstr ""
113
-
114
- #: Function.php:531
115
- #@ default
116
- msgid "Update Settings"
117
- msgstr ""
118
-
119
- #: Function.php:579
120
- #@ ts-fab
121
- msgid "Configure"
122
- msgstr ""
123
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/stops-core-theme-and-plugin-updates-en_GB.mo DELETED
Binary file
lang/stops-core-theme-and-plugin-updates-en_GB.po DELETED
@@ -1,128 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Disable Updates Manager v3.7.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-04-09 21:00:11+0000\n"
7
- "Last-Translator: Websiteguy <mpsparrow@cogeco.ca>\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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: English\n"
15
- "X-Poedit-Country: UNITED KINGDOM\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "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;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #. translators: plugin header field 'Name'
24
- #: Function.php:0
25
- #@ stops-core-theme-and-plugin-updates
26
- msgid "Disable Updates Manager"
27
- msgstr ""
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: Function.php:0
31
- #@ stops-core-theme-and-plugin-updates
32
- msgid "http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/"
33
- msgstr ""
34
-
35
- #. translators: plugin header field 'Description'
36
- #: Function.php:0
37
- #@ stops-core-theme-and-plugin-updates
38
- msgid "Pick which type of updates you would like to disable. Just use the settings."
39
- msgstr ""
40
-
41
- #. translators: plugin header field 'Author'
42
- #: Function.php:0
43
- #@ stops-core-theme-and-plugin-updates
44
- msgid "Websiteguy"
45
- msgstr ""
46
-
47
- #. translators: plugin header field 'AuthorURI'
48
- #: Function.php:0
49
- #@ stops-core-theme-and-plugin-updates
50
- msgid "http://profiles.wordpress.org/kidsguide/"
51
- msgstr ""
52
-
53
- #. translators: plugin header field 'Version'
54
- #: Function.php:0
55
- #@ stops-core-theme-and-plugin-updates
56
- msgid "3.7.0"
57
- msgstr ""
58
-
59
- #: Function.php:82
60
- #@ disable-updates-manager
61
- msgid "Disable Updates"
62
- msgstr ""
63
-
64
- #: Function.php:413
65
- #@ default
66
- msgid "You do not have permissions to access this page."
67
- msgstr ""
68
-
69
- #: Function.php:419
70
- #@ disable-updates-manager
71
- msgid "Disable Updates Manager Settings"
72
- msgstr ""
73
-
74
- #: Function.php:441
75
- #@ disable-updates-manager
76
- msgid "Disable All Updates"
77
- msgstr ""
78
-
79
- #: Function.php:451
80
- #@ disable-updates-manager
81
- msgid "Disable Plugin Updates"
82
- msgstr ""
83
-
84
- #: Function.php:455
85
- #@ disable-updates-manager
86
- msgid "Disable Theme Updates"
87
- msgstr ""
88
-
89
- #: Function.php:459
90
- #@ disable-updates-manager
91
- msgid "Disable WordPress Core Update"
92
- msgstr ""
93
-
94
- #: Function.php:479
95
- #@ disable-updates-manager
96
- msgid "Disable Plugins Individually"
97
- msgstr ""
98
-
99
- #: Function.php:504
100
- #@ disable-updates-manager
101
- msgid "Remove Updates Page"
102
- msgstr ""
103
-
104
- #: Function.php:514
105
- #@ disable-updates-manager
106
- msgid "Remove WordPress Core Version"
107
- msgstr ""
108
-
109
- #: Function.php:523
110
- #@ disable-updates-manager
111
- msgid "Disable Automatic Background Updates"
112
- msgstr ""
113
-
114
- #: Function.php:531
115
- #@ default
116
- msgid "Update Settings"
117
- msgstr ""
118
-
119
- #: Function.php:579
120
- #@ ts-fab
121
- msgid "Configure"
122
- msgstr ""
123
-
124
- #: Function.php:602
125
- #@ lang
126
- msgid "Could not load the localization file: "
127
- msgstr ""
128
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/stops-core-theme-and-plugin-updates-es_ES.mo DELETED
Binary file
lang/stops-core-theme-and-plugin-updates-es_ES.po DELETED
@@ -1,128 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Disable Updates Manager v3.7.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-04-09 21:00:18+0000\n"
7
- "Last-Translator: Websiteguy <mpsparrow@cogeco.ca>\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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: Spanish\n"
15
- "X-Poedit-Country: SPAIN\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "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;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #. translators: plugin header field 'Name'
24
- #: Function.php:0
25
- #@ stops-core-theme-and-plugin-updates
26
- msgid "Disable Updates Manager"
27
- msgstr ""
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: Function.php:0
31
- #@ stops-core-theme-and-plugin-updates
32
- msgid "http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/"
33
- msgstr ""
34
-
35
- #. translators: plugin header field 'Description'
36
- #: Function.php:0
37
- #@ stops-core-theme-and-plugin-updates
38
- msgid "Pick which type of updates you would like to disable. Just use the settings."
39
- msgstr ""
40
-
41
- #. translators: plugin header field 'Author'
42
- #: Function.php:0
43
- #@ stops-core-theme-and-plugin-updates
44
- msgid "Websiteguy"
45
- msgstr ""
46
-
47
- #. translators: plugin header field 'AuthorURI'
48
- #: Function.php:0
49
- #@ stops-core-theme-and-plugin-updates
50
- msgid "http://profiles.wordpress.org/kidsguide/"
51
- msgstr ""
52
-
53
- #. translators: plugin header field 'Version'
54
- #: Function.php:0
55
- #@ stops-core-theme-and-plugin-updates
56
- msgid "3.7.0"
57
- msgstr ""
58
-
59
- #: Function.php:82
60
- #@ disable-updates-manager
61
- msgid "Disable Updates"
62
- msgstr ""
63
-
64
- #: Function.php:413
65
- #@ default
66
- msgid "You do not have permissions to access this page."
67
- msgstr ""
68
-
69
- #: Function.php:419
70
- #@ disable-updates-manager
71
- msgid "Disable Updates Manager Settings"
72
- msgstr ""
73
-
74
- #: Function.php:441
75
- #@ disable-updates-manager
76
- msgid "Disable All Updates"
77
- msgstr ""
78
-
79
- #: Function.php:451
80
- #@ disable-updates-manager
81
- msgid "Disable Plugin Updates"
82
- msgstr ""
83
-
84
- #: Function.php:455
85
- #@ disable-updates-manager
86
- msgid "Disable Theme Updates"
87
- msgstr ""
88
-
89
- #: Function.php:459
90
- #@ disable-updates-manager
91
- msgid "Disable WordPress Core Update"
92
- msgstr ""
93
-
94
- #: Function.php:479
95
- #@ disable-updates-manager
96
- msgid "Disable Plugins Individually"
97
- msgstr ""
98
-
99
- #: Function.php:504
100
- #@ disable-updates-manager
101
- msgid "Remove Updates Page"
102
- msgstr ""
103
-
104
- #: Function.php:514
105
- #@ disable-updates-manager
106
- msgid "Remove WordPress Core Version"
107
- msgstr ""
108
-
109
- #: Function.php:523
110
- #@ disable-updates-manager
111
- msgid "Disable Automatic Background Updates"
112
- msgstr ""
113
-
114
- #: Function.php:531
115
- #@ default
116
- msgid "Update Settings"
117
- msgstr ""
118
-
119
- #: Function.php:579
120
- #@ ts-fab
121
- msgid "Configure"
122
- msgstr ""
123
-
124
- #: Function.php:602
125
- #@ lang
126
- msgid "Could not load the localization file: "
127
- msgstr ""
128
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/stops-core-theme-and-plugin-updates-fr_CA.mo DELETED
Binary file
lang/stops-core-theme-and-plugin-updates-fr_CA.po DELETED
@@ -1,123 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Disable Updates Manager v3.7.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-04-09 21:16:03+0000\n"
7
- "Last-Translator: Websiteguy <mpsparrow@cogeco.ca>\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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: French\n"
15
- "X-Poedit-Country: CANADA\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "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;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #. translators: plugin header field 'Name'
24
- #: Function.php:0
25
- #@ stops-core-theme-and-plugin-updates
26
- msgid "Disable Updates Manager"
27
- msgstr ""
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: Function.php:0
31
- #@ stops-core-theme-and-plugin-updates
32
- msgid "http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/"
33
- msgstr ""
34
-
35
- #. translators: plugin header field 'Description'
36
- #: Function.php:0
37
- #@ stops-core-theme-and-plugin-updates
38
- msgid "Pick which type of updates you would like to disable. Just use the settings."
39
- msgstr ""
40
-
41
- #. translators: plugin header field 'Author'
42
- #: Function.php:0
43
- #@ stops-core-theme-and-plugin-updates
44
- msgid "Websiteguy"
45
- msgstr ""
46
-
47
- #. translators: plugin header field 'AuthorURI'
48
- #: Function.php:0
49
- #@ stops-core-theme-and-plugin-updates
50
- msgid "http://profiles.wordpress.org/kidsguide/"
51
- msgstr ""
52
-
53
- #. translators: plugin header field 'Version'
54
- #: Function.php:0
55
- #@ stops-core-theme-and-plugin-updates
56
- msgid "3.7.0"
57
- msgstr ""
58
-
59
- #: Function.php:82
60
- #@ disable-updates-manager
61
- msgid "Disable Updates"
62
- msgstr ""
63
-
64
- #: Function.php:413
65
- #@ default
66
- msgid "You do not have permissions to access this page."
67
- msgstr ""
68
-
69
- #: Function.php:419
70
- #@ disable-updates-manager
71
- msgid "Disable Updates Manager Settings"
72
- msgstr ""
73
-
74
- #: Function.php:441
75
- #@ disable-updates-manager
76
- msgid "Disable All Updates"
77
- msgstr ""
78
-
79
- #: Function.php:451
80
- #@ disable-updates-manager
81
- msgid "Disable Plugin Updates"
82
- msgstr ""
83
-
84
- #: Function.php:455
85
- #@ disable-updates-manager
86
- msgid "Disable Theme Updates"
87
- msgstr ""
88
-
89
- #: Function.php:459
90
- #@ disable-updates-manager
91
- msgid "Disable WordPress Core Update"
92
- msgstr ""
93
-
94
- #: Function.php:479
95
- #@ disable-updates-manager
96
- msgid "Disable Plugins Individually"
97
- msgstr ""
98
-
99
- #: Function.php:504
100
- #@ disable-updates-manager
101
- msgid "Remove Updates Page"
102
- msgstr ""
103
-
104
- #: Function.php:514
105
- #@ disable-updates-manager
106
- msgid "Remove WordPress Core Version"
107
- msgstr ""
108
-
109
- #: Function.php:523
110
- #@ disable-updates-manager
111
- msgid "Disable Automatic Background Updates"
112
- msgstr ""
113
-
114
- #: Function.php:531
115
- #@ default
116
- msgid "Update Settings"
117
- msgstr ""
118
-
119
- #: Function.php:579
120
- #@ ts-fab
121
- msgid "Configure"
122
- msgstr ""
123
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/stops-core-theme-and-plugin-updates-fr_FR.mo DELETED
Binary file
lang/stops-core-theme-and-plugin-updates-fr_FR.po DELETED
@@ -1,123 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Disable Updates Manager v3.7.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-04-09 21:16:08+0000\n"
7
- "Last-Translator: Websiteguy <mpsparrow@cogeco.ca>\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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: French\n"
15
- "X-Poedit-Country: FRANCE\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "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;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #. translators: plugin header field 'Name'
24
- #: Function.php:0
25
- #@ stops-core-theme-and-plugin-updates
26
- msgid "Disable Updates Manager"
27
- msgstr ""
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: Function.php:0
31
- #@ stops-core-theme-and-plugin-updates
32
- msgid "http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/"
33
- msgstr ""
34
-
35
- #. translators: plugin header field 'Description'
36
- #: Function.php:0
37
- #@ stops-core-theme-and-plugin-updates
38
- msgid "Pick which type of updates you would like to disable. Just use the settings."
39
- msgstr ""
40
-
41
- #. translators: plugin header field 'Author'
42
- #: Function.php:0
43
- #@ stops-core-theme-and-plugin-updates
44
- msgid "Websiteguy"
45
- msgstr ""
46
-
47
- #. translators: plugin header field 'AuthorURI'
48
- #: Function.php:0
49
- #@ stops-core-theme-and-plugin-updates
50
- msgid "http://profiles.wordpress.org/kidsguide/"
51
- msgstr ""
52
-
53
- #. translators: plugin header field 'Version'
54
- #: Function.php:0
55
- #@ stops-core-theme-and-plugin-updates
56
- msgid "3.7.0"
57
- msgstr ""
58
-
59
- #: Function.php:82
60
- #@ disable-updates-manager
61
- msgid "Disable Updates"
62
- msgstr ""
63
-
64
- #: Function.php:413
65
- #@ default
66
- msgid "You do not have permissions to access this page."
67
- msgstr ""
68
-
69
- #: Function.php:419
70
- #@ disable-updates-manager
71
- msgid "Disable Updates Manager Settings"
72
- msgstr ""
73
-
74
- #: Function.php:441
75
- #@ disable-updates-manager
76
- msgid "Disable All Updates"
77
- msgstr ""
78
-
79
- #: Function.php:451
80
- #@ disable-updates-manager
81
- msgid "Disable Plugin Updates"
82
- msgstr ""
83
-
84
- #: Function.php:455
85
- #@ disable-updates-manager
86
- msgid "Disable Theme Updates"
87
- msgstr ""
88
-
89
- #: Function.php:459
90
- #@ disable-updates-manager
91
- msgid "Disable WordPress Core Update"
92
- msgstr ""
93
-
94
- #: Function.php:479
95
- #@ disable-updates-manager
96
- msgid "Disable Plugins Individually"
97
- msgstr ""
98
-
99
- #: Function.php:504
100
- #@ disable-updates-manager
101
- msgid "Remove Updates Page"
102
- msgstr ""
103
-
104
- #: Function.php:514
105
- #@ disable-updates-manager
106
- msgid "Remove WordPress Core Version"
107
- msgstr ""
108
-
109
- #: Function.php:523
110
- #@ disable-updates-manager
111
- msgid "Disable Automatic Background Updates"
112
- msgstr ""
113
-
114
- #: Function.php:531
115
- #@ default
116
- msgid "Update Settings"
117
- msgstr ""
118
-
119
- #: Function.php:579
120
- #@ ts-fab
121
- msgid "Configure"
122
- msgstr ""
123
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/stops-core-theme-and-plugin-updates-it_IT.mo DELETED
Binary file
lang/stops-core-theme-and-plugin-updates-it_IT.po DELETED
@@ -1,123 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Disable Updates Manager v3.7.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-04-09 21:16:13+0000\n"
7
- "Last-Translator: Websiteguy <mpsparrow@cogeco.ca>\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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: Italian\n"
15
- "X-Poedit-Country: ITALY\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "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;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #. translators: plugin header field 'Name'
24
- #: Function.php:0
25
- #@ stops-core-theme-and-plugin-updates
26
- msgid "Disable Updates Manager"
27
- msgstr ""
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: Function.php:0
31
- #@ stops-core-theme-and-plugin-updates
32
- msgid "http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/"
33
- msgstr ""
34
-
35
- #. translators: plugin header field 'Description'
36
- #: Function.php:0
37
- #@ stops-core-theme-and-plugin-updates
38
- msgid "Pick which type of updates you would like to disable. Just use the settings."
39
- msgstr ""
40
-
41
- #. translators: plugin header field 'Author'
42
- #: Function.php:0
43
- #@ stops-core-theme-and-plugin-updates
44
- msgid "Websiteguy"
45
- msgstr ""
46
-
47
- #. translators: plugin header field 'AuthorURI'
48
- #: Function.php:0
49
- #@ stops-core-theme-and-plugin-updates
50
- msgid "http://profiles.wordpress.org/kidsguide/"
51
- msgstr ""
52
-
53
- #. translators: plugin header field 'Version'
54
- #: Function.php:0
55
- #@ stops-core-theme-and-plugin-updates
56
- msgid "3.7.0"
57
- msgstr ""
58
-
59
- #: Function.php:82
60
- #@ disable-updates-manager
61
- msgid "Disable Updates"
62
- msgstr ""
63
-
64
- #: Function.php:413
65
- #@ default
66
- msgid "You do not have permissions to access this page."
67
- msgstr ""
68
-
69
- #: Function.php:419
70
- #@ disable-updates-manager
71
- msgid "Disable Updates Manager Settings"
72
- msgstr ""
73
-
74
- #: Function.php:441
75
- #@ disable-updates-manager
76
- msgid "Disable All Updates"
77
- msgstr ""
78
-
79
- #: Function.php:451
80
- #@ disable-updates-manager
81
- msgid "Disable Plugin Updates"
82
- msgstr ""
83
-
84
- #: Function.php:455
85
- #@ disable-updates-manager
86
- msgid "Disable Theme Updates"
87
- msgstr ""
88
-
89
- #: Function.php:459
90
- #@ disable-updates-manager
91
- msgid "Disable WordPress Core Update"
92
- msgstr ""
93
-
94
- #: Function.php:479
95
- #@ disable-updates-manager
96
- msgid "Disable Plugins Individually"
97
- msgstr ""
98
-
99
- #: Function.php:504
100
- #@ disable-updates-manager
101
- msgid "Remove Updates Page"
102
- msgstr ""
103
-
104
- #: Function.php:514
105
- #@ disable-updates-manager
106
- msgid "Remove WordPress Core Version"
107
- msgstr ""
108
-
109
- #: Function.php:523
110
- #@ disable-updates-manager
111
- msgid "Disable Automatic Background Updates"
112
- msgstr ""
113
-
114
- #: Function.php:531
115
- #@ default
116
- msgid "Update Settings"
117
- msgstr ""
118
-
119
- #: Function.php:579
120
- #@ ts-fab
121
- msgid "Configure"
122
- msgstr ""
123
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/stops-core-theme-and-plugin-updates-ro_RO.mo DELETED
Binary file
lang/stops-core-theme-and-plugin-updates-ro_RO.po DELETED
@@ -1,128 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Disable Updates Manager v3.7.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-04-09 21:00:24+0000\n"
7
- "Last-Translator: Websiteguy <mpsparrow@cogeco.ca>\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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: Romanian\n"
15
- "X-Poedit-Country: ROMANIA\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "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;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #. translators: plugin header field 'Name'
24
- #: Function.php:0
25
- #@ stops-core-theme-and-plugin-updates
26
- msgid "Disable Updates Manager"
27
- msgstr ""
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: Function.php:0
31
- #@ stops-core-theme-and-plugin-updates
32
- msgid "http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/"
33
- msgstr ""
34
-
35
- #. translators: plugin header field 'Description'
36
- #: Function.php:0
37
- #@ stops-core-theme-and-plugin-updates
38
- msgid "Pick which type of updates you would like to disable. Just use the settings."
39
- msgstr ""
40
-
41
- #. translators: plugin header field 'Author'
42
- #: Function.php:0
43
- #@ stops-core-theme-and-plugin-updates
44
- msgid "Websiteguy"
45
- msgstr ""
46
-
47
- #. translators: plugin header field 'AuthorURI'
48
- #: Function.php:0
49
- #@ stops-core-theme-and-plugin-updates
50
- msgid "http://profiles.wordpress.org/kidsguide/"
51
- msgstr ""
52
-
53
- #. translators: plugin header field 'Version'
54
- #: Function.php:0
55
- #@ stops-core-theme-and-plugin-updates
56
- msgid "3.7.0"
57
- msgstr ""
58
-
59
- #: Function.php:82
60
- #@ disable-updates-manager
61
- msgid "Disable Updates"
62
- msgstr ""
63
-
64
- #: Function.php:413
65
- #@ default
66
- msgid "You do not have permissions to access this page."
67
- msgstr ""
68
-
69
- #: Function.php:419
70
- #@ disable-updates-manager
71
- msgid "Disable Updates Manager Settings"
72
- msgstr ""
73
-
74
- #: Function.php:441
75
- #@ disable-updates-manager
76
- msgid "Disable All Updates"
77
- msgstr ""
78
-
79
- #: Function.php:451
80
- #@ disable-updates-manager
81
- msgid "Disable Plugin Updates"
82
- msgstr ""
83
-
84
- #: Function.php:455
85
- #@ disable-updates-manager
86
- msgid "Disable Theme Updates"
87
- msgstr ""
88
-
89
- #: Function.php:459
90
- #@ disable-updates-manager
91
- msgid "Disable WordPress Core Update"
92
- msgstr ""
93
-
94
- #: Function.php:479
95
- #@ disable-updates-manager
96
- msgid "Disable Plugins Individually"
97
- msgstr ""
98
-
99
- #: Function.php:504
100
- #@ disable-updates-manager
101
- msgid "Remove Updates Page"
102
- msgstr ""
103
-
104
- #: Function.php:514
105
- #@ disable-updates-manager
106
- msgid "Remove WordPress Core Version"
107
- msgstr ""
108
-
109
- #: Function.php:523
110
- #@ disable-updates-manager
111
- msgid "Disable Automatic Background Updates"
112
- msgstr ""
113
-
114
- #: Function.php:531
115
- #@ default
116
- msgid "Update Settings"
117
- msgstr ""
118
-
119
- #: Function.php:579
120
- #@ ts-fab
121
- msgid "Configure"
122
- msgstr ""
123
-
124
- #: Function.php:602
125
- #@ lang
126
- msgid "Could not load the localization file: "
127
- msgstr ""
128
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/disable-updates-manager.pot ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2014
2
+ # This file is distributed under the same license as the package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: \n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/stops-core-theme-and-plugin-"
7
+ "updates\n"
8
+ "POT-Creation-Date: 2014-07-30 15:30:14+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+
16
+ #: Function.php:80
17
+ msgid "Disable Updates Globally"
18
+ msgstr ""
19
+
20
+ #: Function.php:81
21
+ msgid "Other"
22
+ msgstr ""
23
+
24
+ #: Function.php:83
25
+ msgid "Disable Themes"
26
+ msgstr ""
27
+
28
+ #: Function.php:84
29
+ msgid "Disable Plugins"
30
+ msgstr ""
31
+
32
+ #: Function.php:140 Function.php:901
33
+ msgid "Disable Updates Manager"
34
+ msgstr ""
35
+
36
+ #: Function.php:160
37
+ msgid "Configure"
38
+ msgstr ""
39
+
40
+ #: Function.php:677
41
+ msgid "Overview"
42
+ msgstr ""
43
+
44
+ #: Function.php:683
45
+ msgid "Layout"
46
+ msgstr ""
47
+
48
+ #: Function.php:689
49
+ msgid "Tutorials"
50
+ msgstr ""
51
+
52
+ #: Function.php:695
53
+ msgid "Help"
54
+ msgstr ""
55
+
56
+ #: Function.php:713
57
+ msgid "Disable All Updates"
58
+ msgstr ""
59
+
60
+ #: Function.php:728
61
+ msgid "Disable All Plugin Updates"
62
+ msgstr ""
63
+
64
+ #: Function.php:736
65
+ msgid "Disable All Theme Updates"
66
+ msgstr ""
67
+
68
+ #: Function.php:744
69
+ msgid "Disable WordPress Core Update"
70
+ msgstr ""
71
+
72
+ #: Function.php:761
73
+ msgid "Remove Updates Page"
74
+ msgstr ""
75
+
76
+ #: Function.php:773
77
+ msgid "Remove Out of Date Browser Nag"
78
+ msgstr ""
79
+
80
+ #: Function.php:786
81
+ msgid "Remove WordPress Core Version from Footer"
82
+ msgstr ""
83
+
84
+ #: Function.php:798
85
+ msgid "Disable Automatic Background Updates"
86
+ msgstr ""
87
+
88
+ #: Function.php:817
89
+ msgid "Disable Themes Individually"
90
+ msgstr ""
91
+
92
+ #: Function.php:833
93
+ msgid "Select themes to disable..."
94
+ msgstr ""
95
+
96
+ #: Function.php:862
97
+ msgid "Disable Plugins Individually"
98
+ msgstr ""
99
+
100
+ #: Function.php:879
101
+ msgid "Select plugins to disable..."
102
+ msgstr ""
103
+
104
+ #: Function.php:908
105
+ msgid "You do not have permissions to access this page."
106
+ msgstr ""
107
+
108
+ #: Function.php:943
109
+ msgid "Update Settings"
110
+ msgstr ""
readme.txt CHANGED
@@ -1,20 +1,20 @@
1
  === Disable Updates Manager ===
2
- Contributors: kidsguide, shazahm1@hotmail.com
3
- Tags: Disable All Updates, Disable Plugin Updates, Disable Theme Updates, Disable WordPress Core Updates, Disable Core Updates, Disable Updates Settings, Disable Updates, Disable All WordPress Updates, Disable All WordPress Updates Settings, Disable Updates Manager, Disable All Updates Manager, Disable Updates Manager Settings, Update Check
4
  Requires at least: 3.0
5
- Tested up to: 3.9.1
6
  Stable tag: trunk
7
 
8
- A configurable plugin that disables updates for you. Easy, clean and helpful.
9
 
10
  == Description ==
11
  The best plugin to disable updates is here!
12
 
13
- This plugin is configurable! Check the updates you would like to disable in the settings page along with other helpful settings. The settings page is located under the settings section in your dashboard (changed in version 4.0). Check the features below or the <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/screenshots/">screenshots</a> for more information.
14
 
15
- <a href="http://www.devwpp.wordpress.com">Check our blog for beta releases.</a>
16
 
17
- = Features =
18
  <ol>
19
  <li>Disables plugins and themes individually.</li>
20
  <li>Disables plugin updates.</li>
@@ -23,16 +23,17 @@ This plugin is configurable! Check the updates you would like to disable in the
23
  <li>Removes admin footer version.</li>
24
  <li>Disables background updates.</li>
25
  <li>Removes updates menu in admin sidebar.</li>
 
26
  </ol>
27
- and many more things!
28
 
29
  To see more features view the <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/screenshots/">screenshots</a> or the video tutorials below.
30
 
31
- = Video Tutorials =
32
- [youtube http://www.youtube.com/watch?v=ppCxjREhF9g]
33
 
34
- [youtube http://www.youtube.com/watch?v=jPHyG2YYeo4]
35
 
 
 
36
 
37
  == Frequently Asked Questions ==
38
  = Q: How is this plugin different from the other disable updates plugins? =
@@ -44,16 +45,19 @@ A: Their are a couple of differences.
44
  <li>They do not disable plugins and themes individually.</li>
45
  </ol>
46
 
47
- = Q: If I remove this plugin from my website will I be able to update my plugins, themes, and WordPress core again? =
48
- A: Yes, this plugin just disables the update. We has also recently made an uninstall.php for this plugin.
 
 
49
 
50
- = Q: Is it possible to disable one plugin or theme? =
51
- A: This plugin can disable plugins and themes individually. Watch the tutorial below for help on how to do it.
52
 
53
- [youtube http://www.youtube.com/watch?v=jPHyG2YYeo4]
 
54
 
55
- = Q: Does this plugin work with WordPress Multisite? =
56
- A: This plugin doesn't yet, but we are working on this.
57
 
58
  == Screenshots ==
59
  1. Settings Page
@@ -63,22 +67,54 @@ A: This plugin doesn't yet, but we are working on this.
63
  == Installation ==
64
  Installing Disable Updates Manager.
65
 
66
- 1.Install Disable Updates Manager either via the WordPress.org plugin directory, or by uploading the files to your server
 
67
  2.After activating Disable Updates Manager by Websiteguy, you will be able to go to the Disable Updates Manager page under the settings.
 
68
  3.That's it. You're ready to go!
69
 
70
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  = 4.1.10 =
72
- * Uploaded version 4.1.10 on GitHub.
73
- * Fixed error code "Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Disable_Updates' does not have a method 'plugin_unblock_link' in D:\wamp\www\myWpSite\wp-includes\plugin.php on line 470".
74
- * Updated website address to <a href="www.devwpp.wordpress.com">devwpp.wordpress.com</a>
75
  * Changed official name to devWPP in all files.
76
  * Changed some notes in the code.
77
 
78
  = 4.1.0 =
79
  * <strong>BIG:</strong> code clean-up (moved code, fixed code, etc.). - Thanks <a href="https://github.com/Websiteguy/disable-updates-manager/pull/4">GitHub Pull Request</a> and other help!!!
80
  * Added: version 4.1.0 on GitHub (including the lang file).
81
- * Added: website! http://webguywp.wordpress.com/
82
  * New Contributor: shazahm1!
83
  * New: video tutroial.
84
  * New: disable themes individually.
1
  === Disable Updates Manager ===
2
+ Contributors: MPS Plugins, kidsguide, shazahm1@hotmail.com, szepeviktor
3
+ Tags: Disable All Updates, Disable Plugin Updates, Disable Theme Updates, Disable WordPress Core Updates, Disable Core Updates, Disable Updates Settings, Disable Updates, Disable All WordPress Updates, Disable All WordPress Updates Settings, Disable Updates Manager, Disable All Updates Manager, Disable Updates Manager Settings, Update Check, No Browser Nag, MPS Plugins
4
  Requires at least: 3.0
5
+ Tested up to: 4.0 beta
6
  Stable tag: trunk
7
 
8
+ A configurable plugin that disables updates for you. Easy, clean and helpful + Great Support.
9
 
10
  == Description ==
11
  The best plugin to disable updates is here!
12
 
13
+ Please rate this plugin and feel free to give feedback
14
 
15
+ This plugin is configurable! Check the updates you would like to disable in the settings page along with other helpful settings. The settings page is located under the settings section in your dashboard (changed in version 4.0). Check the features below or the <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/screenshots/">screenshots</a> for more information.
16
 
17
+ = Features Include =
18
  <ol>
19
  <li>Disables plugins and themes individually.</li>
20
  <li>Disables plugin updates.</li>
23
  <li>Removes admin footer version.</li>
24
  <li>Disables background updates.</li>
25
  <li>Removes updates menu in admin sidebar.</li>
26
+ <li>No Browser Nag.</li>
27
  </ol>
 
28
 
29
  To see more features view the <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/screenshots/">screenshots</a> or the video tutorials below.
30
 
31
+ = Blog =
 
32
 
33
+ <a href="http://www.mpswp.wordpress.com">Check our blog for beta releases, updates, and other information</a>. You can also check out our <a target="_blank" href="https://github.com/Websiteguy/disable-updates-manager">GitHub Repository</a>.
34
 
35
+ = Video Tutorial =
36
+ [youtube https://www.youtube.com/watch?v=9vPVis3NZHI]
37
 
38
  == Frequently Asked Questions ==
39
  = Q: How is this plugin different from the other disable updates plugins? =
45
  <li>They do not disable plugins and themes individually.</li>
46
  </ol>
47
 
48
+ = Q: How does this plugin work? I can't figure it out for the life of me. =
49
+ A: This video tutorial may help a little.
50
+
51
+ [youtube https://www.youtube.com/watch?v=9vPVis3NZHI]
52
 
53
+ = Q: Does this plugins disable WP automatic updates too? Since 3.8, WP update their version automatically which could be a problem too. =
54
+ A: Yes, this plugin will disable the automatic updates too.
55
 
56
+ = Q: If I remove this plugin from my website will I be able to update my plugins, themes, and WordPress core again? =
57
+ A: Yes, this plugin just disables the update. We has also recently made an uninstall.php for this plugin.
58
 
59
+ = Q: Does this plugin still work? People have said that it is broken. =
60
+ A: As far as I know, this is just some spam. I have not received any complaints about it and there are lots of 5 star ratings for the most recent versions. You can help by ratings the plugin and saying if it is broken or not.
61
 
62
  == Screenshots ==
63
  1. Settings Page
67
  == Installation ==
68
  Installing Disable Updates Manager.
69
 
70
+ 1.Install Disable Updates Manager either via the WordPress.org plugin directory, or by uploading the files to your server.
71
+
72
  2.After activating Disable Updates Manager by Websiteguy, you will be able to go to the Disable Updates Manager page under the settings.
73
+
74
  3.That's it. You're ready to go!
75
 
76
  == Changelog ==
77
+ = 4.2.12 =
78
+ * New contributor!
79
+ * Fixed unable to chosen which plugins to disable.
80
+
81
+ = 4.2.11 =
82
+ * Fixed screenshots.
83
+ * Fixed broken links.
84
+ * Added the language files again (this should fix the language issue).
85
+
86
+ = 4.2.10 =
87
+ * Changed blog address to <a target="_blank" href="http://mpswp.wordpress.com/">mpswp.wordpress.com</a>
88
+ * Uploaded version 4.2.10 on <a target="_blank" href="https://github.com/Websiteguy/disable-updates-manager">GitHub</a>.
89
+ * Added better documentation in readme.txt.
90
+ * Fixed changelog error in readme.txt.
91
+ * Fixed installation text in readme.txt.
92
+ * Fixed error code "Warning: array_key_exists() expects parameter 2 to be array, boolean given in .../wp-content/plugins/stops-core-theme-and-plugin-updates/Function.php on line 431". Thanks for the support topics "Warning: array_key_exists() expects parameter 2 to be array..." and "Receive error message when selecting disable individual plugins" along with help from the contributors.
93
+ * Fixed error code "Warning: array_fill_keys() expects parameter 1 to be array, null given in .../wp-content/plugins/stops-core-theme-and-plugin-updates/Function.php on line 126".
94
+ * Fixed error code "Warning: Cannot modify header information - headers already sent by (output started at .../wp-content/plugins/stops-core-theme-and-plugin-updates/Function.php:126) in .../wp-includes/pluggable.php on line 1121".
95
+ * Added chosen to the settings for extra awesomeness
96
+ * Modified the Disable Plugins Individually setting.
97
+ * Added some disable settings values.
98
+ * Added drag and drop metaboxes with screen options.
99
+ * Added a helpful help tab.
100
+ * Changed some tooltips.
101
+ * Updated all languages + made it better.
102
+ * Changed some metaboxes titles.
103
+ * Updated new video tutorial.
104
+ * Works with WordPress version 4.0 beta
105
+ * New feature to disable the browser nag in the WordPress Dashboard.
106
+ * Did some other minor fixes.
107
+
108
  = 4.1.10 =
109
+ * Uploaded version 4.1.10 on <a target="_blank" href="https://github.com/Websiteguy/disable-updates-manager">GitHub</a>.
110
+ * Fixed error code "Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Disable_Updates' does not have a method 'plugin_unblock_link' in .../wp-includes/plugin.php on line 470".
111
+ * Updated website address to <a target="_blank" href="http://devwpp.wordpress.com/">devwpp.wordpress.com</a>
112
  * Changed official name to devWPP in all files.
113
  * Changed some notes in the code.
114
 
115
  = 4.1.0 =
116
  * <strong>BIG:</strong> code clean-up (moved code, fixed code, etc.). - Thanks <a href="https://github.com/Websiteguy/disable-updates-manager/pull/4">GitHub Pull Request</a> and other help!!!
117
  * Added: version 4.1.0 on GitHub (including the lang file).
 
118
  * New Contributor: shazahm1!
119
  * New: video tutroial.
120
  * New: disable themes individually.
style.css CHANGED
@@ -32,4 +32,15 @@ a.viewdescription {
32
  a.viewdescription:hover {
33
  background-color: #999;
34
  color: #FFF;
 
 
 
 
 
 
 
 
 
 
 
35
  }
32
  a.viewdescription:hover {
33
  background-color: #999;
34
  color: #FFF;
35
+ }
36
+
37
+ /* Chosen CSS */
38
+ select.dum-enhanced-select {
39
+ width: 100%;
40
+ }
41
+
42
+ .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
43
+ -webkit-box-sizing: content-box;
44
+ -moz-box-sizing: content-box;
45
+ box-sizing: content-box;
46
  }
uninstall.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- // code to remove files. no data will be left behind!
4
  if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
5
  exit ();
6
  }
1
  <?php
2
 
3
+ // Code to remove files. No data will be left behind!
4
  if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
5
  exit ();
6
  }
vendor/chosen/Thumbs.db ADDED
Binary file
vendor/chosen/chosen-sprite.png ADDED
Binary file
vendor/chosen/chosen-sprite@2x.png ADDED
Binary file
vendor/chosen/chosen.css ADDED
@@ -0,0 +1,435 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ Chosen, a Select Box Enhancer for jQuery and Prototype
3
+ by Patrick Filler for Harvest, http://getharvest.com
4
+
5
+ Version 1.1.0
6
+ Full source at https://github.com/harvesthq/chosen
7
+ Copyright (c) 2011 Harvest http://getharvest.com
8
+
9
+ MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
10
+ This file is generated by `grunt build`, do not edit it by hand.
11
+ */
12
+
13
+ /* @group Base */
14
+ .chosen-container {
15
+ position: relative;
16
+ display: inline-block;
17
+ vertical-align: middle;
18
+ font-size: 13px;
19
+ zoom: 1;
20
+ *display: inline;
21
+ -webkit-user-select: none;
22
+ -moz-user-select: none;
23
+ user-select: none;
24
+ }
25
+ .chosen-container .chosen-drop {
26
+ position: absolute;
27
+ top: 100%;
28
+ left: -9999px;
29
+ z-index: 1010;
30
+ -webkit-box-sizing: border-box;
31
+ -moz-box-sizing: border-box;
32
+ box-sizing: border-box;
33
+ width: 100%;
34
+ border: 1px solid #aaa;
35
+ border-top: 0;
36
+ background: #fff;
37
+ box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
38
+ }
39
+ .chosen-container.chosen-with-drop .chosen-drop {
40
+ left: 0;
41
+ }
42
+ .chosen-container a {
43
+ cursor: pointer;
44
+ }
45
+
46
+ /* @end */
47
+ /* @group Single Chosen */
48
+ .chosen-container-single .chosen-single {
49
+ position: relative;
50
+ display: block;
51
+ overflow: hidden;
52
+ padding: 0 0 0 8px;
53
+ height: 23px;
54
+ border: 1px solid #aaa;
55
+ border-radius: 5px;
56
+ background-color: #fff;
57
+ background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
58
+ background: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
59
+ background: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
60
+ background: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
61
+ background: linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
62
+ background-clip: padding-box;
63
+ box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);
64
+ color: #444;
65
+ text-decoration: none;
66
+ white-space: nowrap;
67
+ line-height: 24px;
68
+ }
69
+ .chosen-container-single .chosen-default {
70
+ color: #999;
71
+ }
72
+ .chosen-container-single .chosen-single span {
73
+ display: block;
74
+ overflow: hidden;
75
+ margin-right: 26px;
76
+ text-overflow: ellipsis;
77
+ white-space: nowrap;
78
+ }
79
+ .chosen-container-single .chosen-single-with-deselect span {
80
+ margin-right: 38px;
81
+ }
82
+ .chosen-container-single .chosen-single abbr {
83
+ position: absolute;
84
+ top: 6px;
85
+ right: 26px;
86
+ display: block;
87
+ width: 12px;
88
+ height: 12px;
89
+ background: url('chosen-sprite.png') -42px 1px no-repeat;
90
+ font-size: 1px;
91
+ }
92
+ .chosen-container-single .chosen-single abbr:hover {
93
+ background-position: -42px -10px;
94
+ }
95
+ .chosen-container-single.chosen-disabled .chosen-single abbr:hover {
96
+ background-position: -42px -10px;
97
+ }
98
+ .chosen-container-single .chosen-single div {
99
+ position: absolute;
100
+ top: 0;
101
+ right: 0;
102
+ display: block;
103
+ width: 18px;
104
+ height: 100%;
105
+ }
106
+ .chosen-container-single .chosen-single div b {
107
+ display: block;
108
+ width: 100%;
109
+ height: 100%;
110
+ background: url('chosen-sprite.png') no-repeat 0px 2px;
111
+ }
112
+ .chosen-container-single .chosen-search {
113
+ position: relative;
114
+ z-index: 1010;
115
+ margin: 0;
116
+ padding: 3px 4px;
117
+ white-space: nowrap;
118
+ }
119
+ .chosen-container-single .chosen-search input[type="text"] {
120
+ -webkit-box-sizing: border-box;
121
+ -moz-box-sizing: border-box;
122
+ box-sizing: border-box;
123
+ margin: 1px 0;
124
+ padding: 4px 20px 4px 5px;
125
+ width: 100%;
126
+ height: auto;
127
+ outline: 0;
128
+ border: 1px solid #aaa;
129
+ background: white url('chosen-sprite.png') no-repeat 100% -20px;
130
+ background: url('chosen-sprite.png') no-repeat 100% -20px;
131
+ font-size: 1em;
132
+ font-family: sans-serif;
133
+ line-height: normal;
134
+ border-radius: 0;
135
+ }
136
+ .chosen-container-single .chosen-drop {
137
+ margin-top: -1px;
138
+ border-radius: 0 0 4px 4px;
139
+ background-clip: padding-box;
140
+ }
141
+ .chosen-container-single.chosen-container-single-nosearch .chosen-search {
142
+ position: absolute;
143
+ left: -9999px;
144
+ }
145
+
146
+ /* @end */
147
+ /* @group Results */
148
+ .chosen-container .chosen-results {
149
+ position: relative;
150
+ overflow-x: hidden;
151
+ overflow-y: auto;
152
+ margin: 0 4px 4px 0;
153
+ padding: 0 0 0 4px;
154
+ max-height: 240px;
155
+ -webkit-overflow-scrolling: touch;
156
+ }
157
+ .chosen-container .chosen-results li {
158
+ display: none;
159
+ margin: 0;
160
+ padding: 5px 6px;
161
+ list-style: none;
162
+ line-height: 15px;
163
+ -webkit-touch-callout: none;
164
+ }
165
+ .chosen-container .chosen-results li.active-result {
166
+ display: list-item;
167
+ cursor: pointer;
168
+ }
169
+ .chosen-container .chosen-results li.disabled-result {
170
+ display: list-item;
171
+ color: #ccc;
172
+ cursor: default;
173
+ }
174
+ .chosen-container .chosen-results li.highlighted {
175
+ background-color: #3875d7;
176
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
177
+ background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);
178
+ background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%);
179
+ background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%);
180
+ background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
181
+ color: #fff;
182
+ }
183
+ .chosen-container .chosen-results li.no-results {
184
+ display: list-item;
185
+ background: #f4f4f4;
186
+ }
187
+ .chosen-container .chosen-results li.group-result {
188
+ display: list-item;
189
+ font-weight: bold;
190
+ cursor: default;
191
+ }
192
+ .chosen-container .chosen-results li.group-option {
193
+ padding-left: 15px;
194
+ }
195
+ .chosen-container .chosen-results li em {
196
+ font-style: normal;
197
+ text-decoration: underline;
198
+ }
199
+
200
+ /* @end */
201
+ /* @group Multi Chosen */
202
+ .chosen-container-multi .chosen-choices {
203
+ position: relative;
204
+ overflow: hidden;
205
+ -webkit-box-sizing: border-box;
206
+ -moz-box-sizing: border-box;
207
+ box-sizing: border-box;
208
+ margin: 0;
209
+ padding: 0;
210
+ width: 100%;
211
+ height: auto !important;
212
+ height: 1%;
213
+ border: 1px solid #aaa;
214
+ background-color: #fff;
215
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
216
+ background-image: -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%);
217
+ background-image: -moz-linear-gradient(#eeeeee 1%, #ffffff 15%);
218
+ background-image: -o-linear-gradient(#eeeeee 1%, #ffffff 15%);
219
+ background-image: linear-gradient(#eeeeee 1%, #ffffff 15%);
220
+ cursor: text;
221
+ }
222
+ .chosen-container-multi .chosen-choices li {
223
+ float: left;
224
+ list-style: none;
225
+ }
226
+ .chosen-container-multi .chosen-choices li.search-field {
227
+ margin: 0;
228
+ padding: 0;
229
+ white-space: nowrap;
230
+ }
231
+ .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
232
+ margin: 1px 0;
233
+ padding: 5px;
234
+ height: 15px;
235
+ outline: 0;
236
+ border: 0 !important;
237
+ background: transparent !important;
238
+ box-shadow: none;
239
+ color: #666;
240
+ font-size: 100%;
241
+ font-family: sans-serif;
242
+ line-height: normal;
243
+ border-radius: 0;
244
+ }
245
+ .chosen-container-multi .chosen-choices li.search-field .default {
246
+ color: #999;
247
+ }
248
+ .chosen-container-multi .chosen-choices li.search-choice {
249
+ position: relative;
250
+ margin: 3px 0 3px 5px;
251
+ padding: 3px 20px 3px 5px;
252
+ border: 1px solid #aaa;
253
+ border-radius: 3px;
254
+ background-color: #e4e4e4;
255
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
256
+ background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
257
+ background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
258
+ background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
259
+ background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
260
+ background-clip: padding-box;
261
+ box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);
262
+ color: #333;
263
+ line-height: 13px;
264
+ cursor: default;
265
+ }
266
+ .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
267
+ position: absolute;
268
+ top: 4px;
269
+ right: 3px;
270
+ display: block;
271
+ width: 12px;
272
+ height: 12px;
273
+ background: url('chosen-sprite.png') -42px 1px no-repeat;
274
+ font-size: 1px;
275
+ }
276
+ .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
277
+ background-position: -42px -10px;
278
+ }
279
+ .chosen-container-multi .chosen-choices li.search-choice-disabled {
280
+ padding-right: 5px;
281
+ border: 1px solid #ccc;
282
+ background-color: #e4e4e4;
283
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
284
+ background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
285
+ background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
286
+ background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
287
+ background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
288
+ color: #666;
289
+ }
290
+ .chosen-container-multi .chosen-choices li.search-choice-focus {
291
+ background: #d4d4d4;
292
+ }
293
+ .chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
294
+ background-position: -42px -10px;
295
+ }
296
+ .chosen-container-multi .chosen-results {
297
+ margin: 0;
298
+ padding: 0;
299
+ }
300
+ .chosen-container-multi .chosen-drop .result-selected {
301
+ display: list-item;
302
+ color: #ccc;
303
+ cursor: default;
304
+ }
305
+
306
+ /* @end */
307
+ /* @group Active */
308
+ .chosen-container-active .chosen-single {
309
+ border: 1px solid #5897fb;
310
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
311
+ }
312
+ .chosen-container-active.chosen-with-drop .chosen-single {
313
+ border: 1px solid #aaa;
314
+ -moz-border-radius-bottomright: 0;
315
+ border-bottom-right-radius: 0;
316
+ -moz-border-radius-bottomleft: 0;
317
+ border-bottom-left-radius: 0;
318
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
319
+ background-image: -webkit-linear-gradient(#eeeeee 20%, #ffffff 80%);
320
+ background-image: -moz-linear-gradient(#eeeeee 20%, #ffffff 80%);
321
+ background-image: -o-linear-gradient(#eeeeee 20%, #ffffff 80%);
322
+ background-image: linear-gradient(#eeeeee 20%, #ffffff 80%);
323
+ box-shadow: 0 1px 0 #fff inset;
324
+ }
325
+ .chosen-container-active.chosen-with-drop .chosen-single div {
326
+ border-left: none;
327
+ background: transparent;
328
+ }
329
+ .chosen-container-active.chosen-with-drop .chosen-single div b {
330
+ background-position: -18px 2px;
331
+ }
332
+ .chosen-container-active .chosen-choices {
333
+ border: 1px solid #5897fb;
334
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
335
+ }
336
+ .chosen-container-active .chosen-choices li.search-field input[type="text"] {
337
+ color: #111 !important;
338
+ }
339
+
340
+ /* @end */
341
+ /* @group Disabled Support */
342
+ .chosen-disabled {
343
+ opacity: 0.5 !important;
344
+ cursor: default;
345
+ }
346
+ .chosen-disabled .chosen-single {
347
+ cursor: default;
348
+ }
349
+ .chosen-disabled .chosen-choices .search-choice .search-choice-close {
350
+ cursor: default;
351
+ }
352
+
353
+ /* @end */
354
+ /* @group Right to Left */
355
+ .chosen-rtl {
356
+ text-align: right;
357
+ }
358
+ .chosen-rtl .chosen-single {
359
+ overflow: visible;
360
+ padding: 0 8px 0 0;
361
+ }
362
+ .chosen-rtl .chosen-single span {
363
+ margin-right: 0;
364
+ margin-left: 26px;
365
+ direction: rtl;
366
+ }
367
+ .chosen-rtl .chosen-single-with-deselect span {
368
+ margin-left: 38px;
369
+ }
370
+ .chosen-rtl .chosen-single div {
371
+ right: auto;
372
+ left: 3px;
373
+ }
374
+ .chosen-rtl .chosen-single abbr {
375
+ right: auto;
376
+ left: 26px;
377
+ }
378
+ .chosen-rtl .chosen-choices li {
379
+ float: right;
380
+ }
381
+ .chosen-rtl .chosen-choices li.search-field input[type="text"] {
382
+ direction: rtl;
383
+ }
384
+ .chosen-rtl .chosen-choices li.search-choice {
385
+ margin: 3px 5px 3px 0;
386
+ padding: 3px 5px 3px 19px;
387
+ }
388
+ .chosen-rtl .chosen-choices li.search-choice .search-choice-close {
389
+ right: auto;
390
+ left: 4px;
391
+ }
392
+ .chosen-rtl.chosen-container-single-nosearch .chosen-search,
393
+ .chosen-rtl .chosen-drop {
394
+ left: 9999px;
395
+ }
396
+ .chosen-rtl.chosen-container-single .chosen-results {
397
+ margin: 0 0 4px 4px;
398
+ padding: 0 4px 0 0;
399
+ }
400
+ .chosen-rtl .chosen-results li.group-option {
401
+ padding-right: 15px;
402
+ padding-left: 0;
403
+ }
404
+ .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
405
+ border-right: none;
406
+ }
407
+ .chosen-rtl .chosen-search input[type="text"] {
408
+ padding: 4px 5px 4px 20px;
409
+ background: white url('chosen-sprite.png') no-repeat -30px -20px;
410
+ background: url('chosen-sprite.png') no-repeat -30px -20px;
411
+ direction: rtl;
412
+ }
413
+ .chosen-rtl.chosen-container-single .chosen-single div b {
414
+ background-position: 6px 2px;
415
+ }
416
+ .chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
417
+ background-position: -12px 2px;
418
+ }
419
+
420
+ /* @end */
421
+ /* @group Retina compatibility */
422
+ @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) {
423
+ .chosen-rtl .chosen-search input[type="text"],
424
+ .chosen-container-single .chosen-single abbr,
425
+ .chosen-container-single .chosen-single div b,
426
+ .chosen-container-single .chosen-search input[type="text"],
427
+ .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
428
+ .chosen-container .chosen-results-scroll-down span,
429
+ .chosen-container .chosen-results-scroll-up span {
430
+ background-image: url('chosen-sprite@2x.png') !important;
431
+ background-size: 52px 37px !important;
432
+ background-repeat: no-repeat !important;
433
+ }
434
+ }
435
+ /* @end */
vendor/chosen/chosen.jquery.js ADDED
@@ -0,0 +1,1211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ Chosen, a Select Box Enhancer for jQuery and Prototype
3
+ by Patrick Filler for Harvest, http://getharvest.com
4
+
5
+ Version 1.1.0
6
+ Full source at https://github.com/harvesthq/chosen
7
+ Copyright (c) 2011 Harvest http://getharvest.com
8
+
9
+ MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
10
+ This file is generated by `grunt build`, do not edit it by hand.
11
+ */
12
+
13
+ (function() {
14
+ var $, AbstractChosen, Chosen, SelectParser, _ref,
15
+ __hasProp = {}.hasOwnProperty,
16
+ __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
17
+
18
+ SelectParser = (function() {
19
+ function SelectParser() {
20
+ this.options_index = 0;
21
+ this.parsed = [];
22
+ }
23
+
24
+ SelectParser.prototype.add_node = function(child) {
25
+ if (child.nodeName.toUpperCase() === "OPTGROUP") {
26
+ return this.add_group(child);
27
+ } else {
28
+ return this.add_option(child);
29
+ }
30
+ };
31
+
32
+ SelectParser.prototype.add_group = function(group) {
33
+ var group_position, option, _i, _len, _ref, _results;
34
+ group_position = this.parsed.length;
35
+ this.parsed.push({
36
+ array_index: group_position,
37
+ group: true,
38
+ label: this.escapeExpression(group.label),
39
+ children: 0,
40
+ disabled: group.disabled
41
+ });
42
+ _ref = group.childNodes;
43
+ _results = [];
44
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
45
+ option = _ref[_i];
46
+ _results.push(this.add_option(option, group_position, group.disabled));
47
+ }
48
+ return _results;
49
+ };
50
+
51
+ SelectParser.prototype.add_option = function(option, group_position, group_disabled) {
52
+ if (option.nodeName.toUpperCase() === "OPTION") {
53
+ if (option.text !== "") {
54
+ if (group_position != null) {
55
+ this.parsed[group_position].children += 1;
56
+ }
57
+ this.parsed.push({
58
+ array_index: this.parsed.length,
59
+ options_index: this.options_index,
60
+ value: option.value,
61
+ text: option.text,
62
+ html: option.innerHTML,
63
+ selected: option.selected,
64
+ disabled: group_disabled === true ? group_disabled : option.disabled,
65
+ group_array_index: group_position,
66
+ classes: option.className,
67
+ style: option.style.cssText
68
+ });
69
+ } else {
70
+ this.parsed.push({
71
+ array_index: this.parsed.length,
72
+ options_index: this.options_index,
73
+ empty: true
74
+ });
75
+ }
76
+ return this.options_index += 1;
77
+ }
78
+ };
79
+
80
+ SelectParser.prototype.escapeExpression = function(text) {
81
+ var map, unsafe_chars;
82
+ if ((text == null) || text === false) {
83
+ return "";
84
+ }
85
+ if (!/[\&\<\>\"\'\`]/.test(text)) {
86
+ return text;
87
+ }
88
+ map = {
89
+ "<": "&lt;",
90
+ ">": "&gt;",
91
+ '"': "&quot;",
92
+ "'": "&#x27;",
93
+ "`": "&#x60;"
94
+ };
95
+ unsafe_chars = /&(?!\w+;)|[\<\>\"\'\`]/g;
96
+ return text.replace(unsafe_chars, function(chr) {
97
+ return map[chr] || "&amp;";
98
+ });
99
+ };
100
+
101
+ return SelectParser;
102
+
103
+ })();
104
+
105
+ SelectParser.select_to_array = function(select) {
106
+ var child, parser, _i, _len, _ref;
107
+ parser = new SelectParser();
108
+ _ref = select.childNodes;
109
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
110
+ child = _ref[_i];
111
+ parser.add_node(child);
112
+ }
113
+ return parser.parsed;
114
+ };
115
+
116
+ AbstractChosen = (function() {
117
+ function AbstractChosen(form_field, options) {
118
+ this.form_field = form_field;
119
+ this.options = options != null ? options : {};
120
+ if (!AbstractChosen.browser_is_supported()) {
121
+ return;
122
+ }
123
+ this.is_multiple = this.form_field.multiple;
124
+ this.set_default_text();
125
+ this.set_default_values();
126
+ this.setup();
127
+ this.set_up_html();
128
+ this.register_observers();
129
+ }
130
+
131
+ AbstractChosen.prototype.set_default_values = function() {
132
+ var _this = this;
133
+ this.click_test_action = function(evt) {
134
+ return _this.test_active_click(evt);
135
+ };
136
+ this.activate_action = function(evt) {
137
+ return _this.activate_field(evt);
138
+ };
139
+ this.active_field = false;
140
+ this.mouse_on_container = false;
141
+ this.results_showing = false;
142
+ this.result_highlighted = null;
143
+ this.allow_single_deselect = (this.options.allow_single_deselect != null) && (this.form_field.options[0] != null) && this.form_field.options[0].text === "" ? this.options.allow_single_deselect : false;
144
+ this.disable_search_threshold = this.options.disable_search_threshold || 0;
145
+ this.disable_search = this.options.disable_search || false;
146
+ this.enable_split_word_search = this.options.enable_split_word_search != null ? this.options.enable_split_word_search : true;
147
+ this.group_search = this.options.group_search != null ? this.options.group_search : true;
148
+ this.search_contains = this.options.search_contains || false;
149
+ this.single_backstroke_delete = this.options.single_backstroke_delete != null ? this.options.single_backstroke_delete : true;
150
+ this.max_selected_options = this.options.max_selected_options || Infinity;
151
+ this.inherit_select_classes = this.options.inherit_select_classes || false;
152
+ this.display_selected_options = this.options.display_selected_options != null ? this.options.display_selected_options : true;
153
+ return this.display_disabled_options = this.options.display_disabled_options != null ? this.options.display_disabled_options : true;
154
+ };
155
+
156
+ AbstractChosen.prototype.set_default_text = function() {
157
+ if (this.form_field.getAttribute("data-placeholder")) {
158
+ this.default_text = this.form_field.getAttribute("data-placeholder");
159
+ } else if (this.is_multiple) {
160
+ this.default_text = this.options.placeholder_text_multiple || this.options.placeholder_text || AbstractChosen.default_multiple_text;
161
+ } else {
162
+ this.default_text = this.options.placeholder_text_single || this.options.placeholder_text || AbstractChosen.default_single_text;
163
+ }
164
+ return this.results_none_found = this.form_field.getAttribute("data-no_results_text") || this.options.no_results_text || AbstractChosen.default_no_result_text;
165
+ };
166
+
167
+ AbstractChosen.prototype.mouse_enter = function() {
168
+ return this.mouse_on_container = true;
169
+ };
170
+
171
+ AbstractChosen.prototype.mouse_leave = function() {
172
+ return this.mouse_on_container = false;
173
+ };
174
+
175
+ AbstractChosen.prototype.input_focus = function(evt) {
176
+ var _this = this;
177
+ if (this.is_multiple) {
178
+ if (!this.active_field) {
179
+ return setTimeout((function() {
180
+ return _this.container_mousedown();
181
+ }), 50);
182
+ }
183
+ } else {
184
+ if (!this.active_field) {
185
+ return this.activate_field();
186
+ }
187
+ }
188
+ };
189
+
190
+ AbstractChosen.prototype.input_blur = function(evt) {
191
+ var _this = this;
192
+ if (!this.mouse_on_container) {
193
+ this.active_field = false;
194
+ return setTimeout((function() {
195
+ return _this.blur_test();
196
+ }), 100);
197
+ }
198
+ };
199
+
200
+ AbstractChosen.prototype.results_option_build = function(options) {
201
+ var content, data, _i, _len, _ref;
202
+ content = '';
203
+ _ref = this.results_data;
204
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
205
+ data = _ref[_i];
206
+ if (data.group) {
207
+ content += this.result_add_group(data);
208
+ } else {
209
+ content += this.result_add_option(data);
210
+ }
211
+ if (options != null ? options.first : void 0) {
212
+ if (data.selected && this.is_multiple) {
213
+ this.choice_build(data);
214
+ } else if (data.selected && !this.is_multiple) {
215
+ this.single_set_selected_text(data.text);
216
+ }
217
+ }
218
+ }
219
+ return content;
220
+ };
221
+
222
+ AbstractChosen.prototype.result_add_option = function(option) {
223
+ var classes, option_el;
224
+ if (!option.search_match) {
225
+ return '';
226
+ }
227
+ if (!this.include_option_in_results(option)) {
228
+ return '';
229
+ }
230
+ classes = [];
231
+ if (!option.disabled && !(option.selected && this.is_multiple)) {
232
+ classes.push("active-result");
233
+ }
234
+ if (option.disabled && !(option.selected && this.is_multiple)) {
235
+ classes.push("disabled-result");
236
+ }
237
+ if (option.selected) {
238
+ classes.push("result-selected");
239
+ }
240
+ if (option.group_array_index != null) {
241
+ classes.push("group-option");
242
+ }
243
+ if (option.classes !== "") {
244
+ classes.push(option.classes);
245
+ }
246
+ option_el = document.createElement("li");
247
+ option_el.className = classes.join(" ");
248
+ option_el.style.cssText = option.style;
249
+ option_el.setAttribute("data-option-array-index", option.array_index);
250
+ option_el.innerHTML = option.search_text;
251
+ return this.outerHTML(option_el);
252
+ };
253
+
254
+ AbstractChosen.prototype.result_add_group = function(group) {
255
+ var group_el;
256
+ if (!(group.search_match || group.group_match)) {
257
+ return '';
258
+ }
259
+ if (!(group.active_options > 0)) {
260
+ return '';
261
+ }
262
+ group_el = document.createElement("li");
263
+ group_el.className = "group-result";
264
+ group_el.innerHTML = group.search_text;
265
+ return this.outerHTML(group_el);
266
+ };
267
+
268
+ AbstractChosen.prototype.results_update_field = function() {
269
+ this.set_default_text();
270
+ if (!this.is_multiple) {
271
+ this.results_reset_cleanup();
272
+ }
273
+ this.result_clear_highlight();
274
+ this.results_build();
275
+ if (this.results_showing) {
276
+ return this.winnow_results();
277
+ }
278
+ };
279
+
280
+ AbstractChosen.prototype.reset_single_select_options = function() {
281
+ var result, _i, _len, _ref, _results;
282
+ _ref = this.results_data;
283
+ _results = [];
284
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
285
+ result = _ref[_i];
286
+ if (result.selected) {
287
+ _results.push(result.selected = false);
288
+ } else {
289
+ _results.push(void 0);
290
+ }
291
+ }
292
+ return _results;
293
+ };
294
+
295
+ AbstractChosen.prototype.results_toggle = function() {
296
+ if (this.results_showing) {
297
+ return this.results_hide();
298
+ } else {
299
+ return this.results_show();
300
+ }
301
+ };
302
+
303
+ AbstractChosen.prototype.results_search = function(evt) {
304
+ if (this.results_showing) {
305
+ return this.winnow_results();
306
+ } else {
307
+ return this.results_show();
308
+ }
309
+ };
310
+
311
+ AbstractChosen.prototype.winnow_results = function() {
312
+ var escapedSearchText, option, regex, regexAnchor, results, results_group, searchText, startpos, text, zregex, _i, _len, _ref;
313
+ this.no_results_clear();
314
+ results = 0;
315
+ searchText = this.get_search_text();
316
+ escapedSearchText = searchText.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
317
+ regexAnchor = this.search_contains ? "" : "^";
318
+ regex = new RegExp(regexAnchor + escapedSearchText, 'i');
319
+ zregex = new RegExp(escapedSearchText, 'i');
320
+ _ref = this.results_data;
321
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
322
+ option = _ref[_i];
323
+ option.search_match = false;
324
+ results_group = null;
325
+ if (this.include_option_in_results(option)) {
326
+ if (option.group) {
327
+ option.group_match = false;
328
+ option.active_options = 0;
329
+ }
330
+ if ((option.group_array_index != null) && this.results_data[option.group_array_index]) {
331
+ results_group = this.results_data[option.group_array_index];
332
+ if (results_group.active_options === 0 && results_group.search_match) {
333
+ results += 1;
334
+ }
335
+ results_group.active_options += 1;
336
+ }
337
+ if (!(option.group && !this.group_search)) {
338
+ option.search_text = option.group ? option.label : option.html;
339
+ option.search_match = this.search_string_match(option.search_text, regex);
340
+ if (option.search_match && !option.group) {
341
+ results += 1;
342
+ }
343
+ if (option.search_match) {
344
+ if (searchText.length) {
345
+ startpos = option.search_text.search(zregex);
346
+ text = option.search_text.substr(0, startpos + searchText.length) + '</em>' + option.search_text.substr(startpos + searchText.length);
347
+ option.search_text = text.substr(0, startpos) + '<em>' + text.substr(startpos);
348
+ }
349
+ if (results_group != null) {
350
+ results_group.group_match = true;
351
+ }
352
+ } else if ((option.group_array_index != null) && this.results_data[option.group_array_index].search_match) {
353
+ option.search_match = true;
354
+ }
355
+ }
356
+ }
357
+ }
358
+ this.result_clear_highlight();
359
+ if (results < 1 && searchText.length) {
360
+ this.update_results_content("");
361
+ return this.no_results(searchText);
362
+ } else {
363
+ this.update_results_content(this.results_option_build());
364
+ return this.winnow_results_set_highlight();
365
+ }
366
+ };
367
+
368
+ AbstractChosen.prototype.search_string_match = function(search_string, regex) {
369
+ var part, parts, _i, _len;
370
+ if (regex.test(search_string)) {
371
+ return true;
372
+ } else if (this.enable_split_word_search && (search_string.indexOf(" ") >= 0 || search_string.indexOf("[") === 0)) {
373
+ parts = search_string.replace(/\[|\]/g, "").split(" ");
374
+ if (parts.length) {
375
+ for (_i = 0, _len = parts.length; _i < _len; _i++) {
376
+ part = parts[_i];
377
+ if (regex.test(part)) {
378
+ return true;
379
+ }
380
+ }
381
+ }
382
+ }
383
+ };
384
+
385
+ AbstractChosen.prototype.choices_count = function() {
386
+ var option, _i, _len, _ref;
387
+ if (this.selected_option_count != null) {
388
+ return this.selected_option_count;
389
+ }
390
+ this.selected_option_count = 0;
391
+ _ref = this.form_field.options;
392
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
393
+ option = _ref[_i];
394
+ if (option.selected) {
395
+ this.selected_option_count += 1;
396
+ }
397
+ }
398
+ return this.selected_option_count;
399
+ };
400
+
401
+ AbstractChosen.prototype.choices_click = function(evt) {
402
+ evt.preventDefault();
403
+ if (!(this.results_showing || this.is_disabled)) {
404
+ return this.results_show();
405
+ }
406
+ };
407
+
408
+ AbstractChosen.prototype.keyup_checker = function(evt) {
409
+ var stroke, _ref;
410
+ stroke = (_ref = evt.which) != null ? _ref : evt.keyCode;
411
+ this.search_field_scale();
412
+ switch (stroke) {
413
+ case 8:
414
+ if (this.is_multiple && this.backstroke_length < 1 && this.choices_count() > 0) {
415
+ return this.keydown_backstroke();
416
+ } else if (!this.pending_backstroke) {
417
+ this.result_clear_highlight();
418
+ return this.results_search();
419
+ }
420
+ break;
421
+ case 13:
422
+ evt.preventDefault();
423
+ if (this.results_showing) {
424
+ return this.result_select(evt);
425
+ }
426
+ break;
427
+ case 27:
428
+ if (this.results_showing) {
429
+ this.results_hide();
430
+ }
431
+ return true;
432
+ case 9:
433
+ case 38:
434
+ case 40:
435
+ case 16:
436
+ case 91:
437
+ case 17:
438
+ break;
439
+ default:
440
+ return this.results_search();
441
+ }
442
+ };
443
+
444
+ AbstractChosen.prototype.clipboard_event_checker = function(evt) {
445
+ var _this = this;
446
+ return setTimeout((function() {
447
+ return _this.results_search();
448
+ }), 50);
449
+ };
450
+
451
+ AbstractChosen.prototype.container_width = function() {
452
+ if (this.options.width != null) {
453
+ return this.options.width;
454
+ } else {
455
+ return "" + this.form_field.offsetWidth + "px";
456
+ }
457
+ };
458
+
459
+ AbstractChosen.prototype.include_option_in_results = function(option) {
460
+ if (this.is_multiple && (!this.display_selected_options && option.selected)) {
461
+ return false;
462
+ }
463
+ if (!this.display_disabled_options && option.disabled) {
464
+ return false;
465
+ }
466
+ if (option.empty) {
467
+ return false;
468
+ }
469
+ return true;
470
+ };
471
+
472
+ AbstractChosen.prototype.search_results_touchstart = function(evt) {
473
+ this.touch_started = true;
474
+ return this.search_results_mouseover(evt);
475
+ };
476
+
477
+ AbstractChosen.prototype.search_results_touchmove = function(evt) {
478
+ this.touch_started = false;
479
+ return this.search_results_mouseout(evt);
480
+ };
481
+
482
+ AbstractChosen.prototype.search_results_touchend = function(evt) {
483
+ if (this.touch_started) {
484
+ return this.search_results_mouseup(evt);
485
+ }
486
+ };
487
+
488
+ AbstractChosen.prototype.outerHTML = function(element) {
489
+ var tmp;
490
+ if (element.outerHTML) {
491
+ return element.outerHTML;
492
+ }
493
+ tmp = document.createElement("div");
494
+ tmp.appendChild(element);
495
+ return tmp.innerHTML;
496
+ };
497
+
498
+ AbstractChosen.browser_is_supported = function() {
499
+ if (window.navigator.appName === "Microsoft Internet Explorer") {
500
+ return document.documentMode >= 8;
501
+ }
502
+ if (/iP(od|hone)/i.test(window.navigator.userAgent)) {
503
+ return false;
504
+ }
505
+ if (/Android/i.test(window.navigator.userAgent)) {
506
+ if (/Mobile/i.test(window.navigator.userAgent)) {
507
+ return false;
508
+ }
509
+ }
510
+ return true;
511
+ };
512
+
513
+ AbstractChosen.default_multiple_text = "Select Some Options";
514
+
515
+ AbstractChosen.default_single_text = "Select an Option";
516
+
517
+ AbstractChosen.default_no_result_text = "No results match";
518
+
519
+ return AbstractChosen;
520
+
521
+ })();
522
+
523
+ $ = jQuery;
524
+
525
+ $.fn.extend({
526
+ chosen: function(options) {
527
+ if (!AbstractChosen.browser_is_supported()) {
528
+ return this;
529
+ }
530
+ return this.each(function(input_field) {
531
+ var $this, chosen;
532
+ $this = $(this);
533
+ chosen = $this.data('chosen');
534
+ if (options === 'destroy' && chosen) {
535
+ chosen.destroy();
536
+ } else if (!chosen) {
537
+ $this.data('chosen', new Chosen(this, options));
538
+ }
539
+ });
540
+ }
541
+ });
542
+
543
+ Chosen = (function(_super) {
544
+ __extends(Chosen, _super);
545
+
546
+ function Chosen() {
547
+ _ref = Chosen.__super__.constructor.apply(this, arguments);
548
+ return _ref;
549
+ }
550
+
551
+ Chosen.prototype.setup = function() {
552
+ this.form_field_jq = $(this.form_field);
553
+ this.current_selectedIndex = this.form_field.selectedIndex;
554
+ return this.is_rtl = this.form_field_jq.hasClass("chosen-rtl");
555
+ };
556
+
557
+ Chosen.prototype.set_up_html = function() {
558
+ var container_classes, container_props;
559
+ container_classes = ["chosen-container"];
560
+ container_classes.push("chosen-container-" + (this.is_multiple ? "multi" : "single"));
561
+ if (this.inherit_select_classes && this.form_field.className) {
562
+ container_classes.push(this.form_field.className);
563
+ }
564
+ if (this.is_rtl) {
565
+ container_classes.push("chosen-rtl");
566
+ }
567
+ container_props = {
568
+ 'class': container_classes.join(' '),
569
+ 'style': "width: " + (this.container_width()) + ";",
570
+ 'title': this.form_field.title
571
+ };
572
+ if (this.form_field.id.length) {
573
+ container_props.id = this.form_field.id.replace(/[^\w]/g, '_') + "_chosen";
574
+ }
575
+ this.container = $("<div />", container_props);
576
+ if (this.is_multiple) {
577
+ this.container.html('<ul class="chosen-choices"><li class="search-field"><input type="text" value="' + this.default_text + '" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chosen-drop"><ul class="chosen-results"></ul></div>');
578
+ } else {
579
+ this.container.html('<a class="chosen-single chosen-default" tabindex="-1"><span>' + this.default_text + '</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /></div><ul class="chosen-results"></ul></div>');
580
+ }
581
+ this.form_field_jq.hide().after(this.container);
582
+ this.dropdown = this.container.find('div.chosen-drop').first();
583
+ this.search_field = this.container.find('input').first();
584
+ this.search_results = this.container.find('ul.chosen-results').first();
585
+ this.search_field_scale();
586
+ this.search_no_results = this.container.find('li.no-results').first();
587
+ if (this.is_multiple) {
588
+ this.search_choices = this.container.find('ul.chosen-choices').first();
589
+ this.search_container = this.container.find('li.search-field').first();
590
+ } else {
591
+ this.search_container = this.container.find('div.chosen-search').first();
592
+ this.selected_item = this.container.find('.chosen-single').first();
593
+ }
594
+ this.results_build();
595
+ this.set_tab_index();
596
+ this.set_label_behavior();
597
+ return this.form_field_jq.trigger("chosen:ready", {
598
+ chosen: this
599
+ });
600
+ };
601
+
602
+ Chosen.prototype.register_observers = function() {
603
+ var _this = this;
604
+ this.container.bind('mousedown.chosen', function(evt) {
605
+ _this.container_mousedown(evt);
606
+ });
607
+ this.container.bind('mouseup.chosen', function(evt) {
608
+ _this.container_mouseup(evt);
609
+ });
610
+ this.container.bind('mouseenter.chosen', function(evt) {
611
+ _this.mouse_enter(evt);
612
+ });
613
+ this.container.bind('mouseleave.chosen', function(evt) {
614
+ _this.mouse_leave(evt);
615
+ });
616
+ this.search_results.bind('mouseup.chosen', function(evt) {
617
+ _this.search_results_mouseup(evt);
618
+ });
619
+ this.search_results.bind('mouseover.chosen', function(evt) {
620
+ _this.search_results_mouseover(evt);
621
+ });
622
+ this.search_results.bind('mouseout.chosen', function(evt) {
623
+ _this.search_results_mouseout(evt);
624
+ });
625
+ this.search_results.bind('mousewheel.chosen DOMMouseScroll.chosen', function(evt) {
626
+ _this.search_results_mousewheel(evt);
627
+ });
628
+ this.search_results.bind('touchstart.chosen', function(evt) {
629
+ _this.search_results_touchstart(evt);
630
+ });
631
+ this.search_results.bind('touchmove.chosen', function(evt) {
632
+ _this.search_results_touchmove(evt);
633
+ });
634
+ this.search_results.bind('touchend.chosen', function(evt) {
635
+ _this.search_results_touchend(evt);
636
+ });
637
+ this.form_field_jq.bind("chosen:updated.chosen", function(evt) {
638
+ _this.results_update_field(evt);
639
+ });
640
+ this.form_field_jq.bind("chosen:activate.chosen", function(evt) {
641
+ _this.activate_field(evt);
642
+ });
643
+ this.form_field_jq.bind("chosen:open.chosen", function(evt) {
644
+ _this.container_mousedown(evt);
645
+ });
646
+ this.form_field_jq.bind("chosen:close.chosen", function(evt) {
647
+ _this.input_blur(evt);
648
+ });
649
+ this.search_field.bind('blur.chosen', function(evt) {
650
+ _this.input_blur(evt);
651
+ });
652
+ this.search_field.bind('keyup.chosen', function(evt) {
653
+ _this.keyup_checker(evt);
654
+ });
655
+ this.search_field.bind('keydown.chosen', function(evt) {
656
+ _this.keydown_checker(evt);
657
+ });
658
+ this.search_field.bind('focus.chosen', function(evt) {
659
+ _this.input_focus(evt);
660
+ });
661
+ this.search_field.bind('cut.chosen', function(evt) {
662
+ _this.clipboard_event_checker(evt);
663
+ });
664
+ this.search_field.bind('paste.chosen', function(evt) {
665
+ _this.clipboard_event_checker(evt);
666
+ });
667
+ if (this.is_multiple) {
668
+ return this.search_choices.bind('click.chosen', function(evt) {
669
+ _this.choices_click(evt);
670
+ });
671
+ } else {
672
+ return this.container.bind('click.chosen', function(evt) {
673
+ evt.preventDefault();
674
+ });
675
+ }
676
+ };
677
+
678
+ Chosen.prototype.destroy = function() {
679
+ $(this.container[0].ownerDocument).unbind("click.chosen", this.click_test_action);
680
+ if (this.search_field[0].tabIndex) {
681
+ this.form_field_jq[0].tabIndex = this.search_field[0].tabIndex;
682
+ }
683
+ this.container.remove();
684
+ this.form_field_jq.removeData('chosen');
685
+ return this.form_field_jq.show();
686
+ };
687
+
688
+ Chosen.prototype.search_field_disabled = function() {
689
+ this.is_disabled = this.form_field_jq[0].disabled;
690
+ if (this.is_disabled) {
691
+ this.container.addClass('chosen-disabled');
692
+ this.search_field[0].disabled = true;
693
+ if (!this.is_multiple) {
694
+ this.selected_item.unbind("focus.chosen", this.activate_action);
695
+ }
696
+ return this.close_field();
697
+ } else {
698
+ this.container.removeClass('chosen-disabled');
699
+ this.search_field[0].disabled = false;
700
+ if (!this.is_multiple) {
701
+ return this.selected_item.bind("focus.chosen", this.activate_action);
702
+ }
703
+ }
704
+ };
705
+
706
+ Chosen.prototype.container_mousedown = function(evt) {
707
+ if (!this.is_disabled) {
708
+ if (evt && evt.type === "mousedown" && !this.results_showing) {
709
+ evt.preventDefault();
710
+ }
711
+ if (!((evt != null) && ($(evt.target)).hasClass("search-choice-close"))) {
712
+ if (!this.active_field) {
713
+ if (this.is_multiple) {
714
+ this.search_field.val("");
715
+ }
716
+ $(this.container[0].ownerDocument).bind('click.chosen', this.click_test_action);
717
+ this.results_show();
718
+ } else if (!this.is_multiple && evt && (($(evt.target)[0] === this.selected_item[0]) || $(evt.target).parents("a.chosen-single").length)) {
719
+ evt.preventDefault();
720
+ this.results_toggle();
721
+ }
722
+ return this.activate_field();
723
+ }
724
+ }
725
+ };
726
+
727
+ Chosen.prototype.container_mouseup = function(evt) {
728
+ if (evt.target.nodeName === "ABBR" && !this.is_disabled) {
729
+ return this.results_reset(evt);
730
+ }
731
+ };
732
+
733
+ Chosen.prototype.search_results_mousewheel = function(evt) {
734
+ var delta;
735
+ if (evt.originalEvent) {
736
+ delta = -evt.originalEvent.wheelDelta || evt.originalEvent.detail;
737
+ }
738
+ if (delta != null) {
739
+ evt.preventDefault();
740
+ if (evt.type === 'DOMMouseScroll') {
741
+ delta = delta * 40;
742
+ }
743
+ return this.search_results.scrollTop(delta + this.search_results.scrollTop());
744
+ }
745
+ };
746
+
747
+ Chosen.prototype.blur_test = function(evt) {
748
+ if (!this.active_field && this.container.hasClass("chosen-container-active")) {
749
+ return this.close_field();
750
+ }
751
+ };
752
+
753
+ Chosen.prototype.close_field = function() {
754
+ $(this.container[0].ownerDocument).unbind("click.chosen", this.click_test_action);
755
+ this.active_field = false;
756
+ this.results_hide();
757
+ this.container.removeClass("chosen-container-active");
758
+ this.clear_backstroke();
759
+ this.show_search_field_default();
760
+ return this.search_field_scale();
761
+ };
762
+
763
+ Chosen.prototype.activate_field = function() {
764
+ this.container.addClass("chosen-container-active");
765
+ this.active_field = true;
766
+ this.search_field.val(this.search_field.val());
767
+ return this.search_field.focus();
768
+ };
769
+
770
+ Chosen.prototype.test_active_click = function(evt) {
771
+ var active_container;
772
+ active_container = $(evt.target).closest('.chosen-container');
773
+ if (active_container.length && this.container[0] === active_container[0]) {
774
+ return this.active_field = true;
775
+ } else {
776
+ return this.close_field();
777
+ }
778
+ };
779
+
780
+ Chosen.prototype.results_build = function() {
781
+ this.parsing = true;
782
+ this.selected_option_count = null;
783
+ this.results_data = SelectParser.select_to_array(this.form_field);
784
+ if (this.is_multiple) {
785
+ this.search_choices.find("li.search-choice").remove();
786
+ } else if (!this.is_multiple) {
787
+ this.single_set_selected_text();
788
+ if (this.disable_search || this.form_field.options.length <= this.disable_search_threshold) {
789
+ this.search_field[0].readOnly = true;
790
+ this.container.addClass("chosen-container-single-nosearch");
791
+ } else {
792
+ this.search_field[0].readOnly = false;
793
+ this.container.removeClass("chosen-container-single-nosearch");
794
+ }
795
+ }
796
+ this.update_results_content(this.results_option_build({
797
+ first: true
798
+ }));
799
+ this.search_field_disabled();
800
+ this.show_search_field_default();
801
+ this.search_field_scale();
802
+ return this.parsing = false;
803
+ };
804
+
805
+ Chosen.prototype.result_do_highlight = function(el) {
806
+ var high_bottom, high_top, maxHeight, visible_bottom, visible_top;
807
+ if (el.length) {
808
+ this.result_clear_highlight();
809
+ this.result_highlight = el;
810
+ this.result_highlight.addClass("highlighted");
811
+ maxHeight = parseInt(this.search_results.css("maxHeight"), 10);
812
+ visible_top = this.search_results.scrollTop();
813
+ visible_bottom = maxHeight + visible_top;
814
+ high_top = this.result_highlight.position().top + this.search_results.scrollTop();
815
+ high_bottom = high_top + this.result_highlight.outerHeight();
816
+ if (high_bottom >= visible_bottom) {
817
+ return this.search_results.scrollTop((high_bottom - maxHeight) > 0 ? high_bottom - maxHeight : 0);
818
+ } else if (high_top < visible_top) {
819
+ return this.search_results.scrollTop(high_top);
820
+ }
821
+ }
822
+ };
823
+
824
+ Chosen.prototype.result_clear_highlight = function() {
825
+ if (this.result_highlight) {
826
+ this.result_highlight.removeClass("highlighted");
827
+ }
828
+ return this.result_highlight = null;
829
+ };
830
+
831
+ Chosen.prototype.results_show = function() {
832
+ if (this.is_multiple && this.max_selected_options <= this.choices_count()) {
833
+ this.form_field_jq.trigger("chosen:maxselected", {
834
+ chosen: this
835
+ });
836
+ return false;
837
+ }
838
+ this.container.addClass("chosen-with-drop");
839
+ this.results_showing = true;
840
+ this.search_field.focus();
841
+ this.search_field.val(this.search_field.val());
842
+ this.winnow_results();
843
+ return this.form_field_jq.trigger("chosen:showing_dropdown", {
844
+ chosen: this
845
+ });
846
+ };
847
+
848
+ Chosen.prototype.update_results_content = function(content) {
849
+ return this.search_results.html(content);
850
+ };
851
+
852
+ Chosen.prototype.results_hide = function() {
853
+ if (this.results_showing) {
854
+ this.result_clear_highlight();
855
+ this.container.removeClass("chosen-with-drop");
856
+ this.form_field_jq.trigger("chosen:hiding_dropdown", {
857
+ chosen: this
858
+ });
859
+ }
860
+ return this.results_showing = false;
861
+ };
862
+
863
+ Chosen.prototype.set_tab_index = function(el) {
864
+ var ti;
865
+ if (this.form_field.tabIndex) {
866
+ ti = this.form_field.tabIndex;
867
+ this.form_field.tabIndex = -1;
868
+ return this.search_field[0].tabIndex = ti;
869
+ }
870
+ };
871
+
872
+ Chosen.prototype.set_label_behavior = function() {
873
+ var _this = this;
874
+ this.form_field_label = this.form_field_jq.parents("label");
875
+ if (!this.form_field_label.length && this.form_field.id.length) {
876
+ this.form_field_label = $("label[for='" + this.form_field.id + "']");
877
+ }
878
+ if (this.form_field_label.length > 0) {
879
+ return this.form_field_label.bind('click.chosen', function(evt) {
880
+ if (_this.is_multiple) {
881
+ return _this.container_mousedown(evt);
882
+ } else {
883
+ return _this.activate_field();
884
+ }
885
+ });
886
+ }
887
+ };
888
+
889
+ Chosen.prototype.show_search_field_default = function() {
890
+ if (this.is_multiple && this.choices_count() < 1 && !this.active_field) {
891
+ this.search_field.val(this.default_text);
892
+ return this.search_field.addClass("default");
893
+ } else {
894
+ this.search_field.val("");
895
+ return this.search_field.removeClass("default");
896
+ }
897
+ };
898
+
899
+ Chosen.prototype.search_results_mouseup = function(evt) {
900
+ var target;
901
+ target = $(evt.target).hasClass("active-result") ? $(evt.target) : $(evt.target).parents(".active-result").first();
902
+ if (target.length) {
903
+ this.result_highlight = target;
904
+ this.result_select(evt);
905
+ return this.search_field.focus();
906
+ }
907
+ };
908
+
909
+ Chosen.prototype.search_results_mouseover = function(evt) {
910
+ var target;
911
+ target = $(evt.target).hasClass("active-result") ? $(evt.target) : $(evt.target).parents(".active-result").first();
912
+ if (target) {
913
+ return this.result_do_highlight(target);
914
+ }
915
+ };
916
+
917
+ Chosen.prototype.search_results_mouseout = function(evt) {
918
+ if ($(evt.target).hasClass("active-result" || $(evt.target).parents('.active-result').first())) {
919
+ return this.result_clear_highlight();
920
+ }
921
+ };
922
+
923
+ Chosen.prototype.choice_build = function(item) {
924
+ var choice, close_link,
925
+ _this = this;
926
+ choice = $('<li />', {
927
+ "class": "search-choice"
928
+ }).html("<span>" + item.html + "</span>");
929
+ if (item.disabled) {
930
+ choice.addClass('search-choice-disabled');
931
+ } else {
932
+ close_link = $('<a />', {
933
+ "class": 'search-choice-close',
934
+ 'data-option-array-index': item.array_index
935
+ });
936
+ close_link.bind('click.chosen', function(evt) {
937
+ return _this.choice_destroy_link_click(evt);
938
+ });
939
+ choice.append(close_link);
940
+ }
941
+ return this.search_container.before(choice);
942
+ };
943
+
944
+ Chosen.prototype.choice_destroy_link_click = function(evt) {
945
+ evt.preventDefault();
946
+ evt.stopPropagation();
947
+ if (!this.is_disabled) {
948
+ return this.choice_destroy($(evt.target));
949
+ }
950
+ };
951
+
952
+ Chosen.prototype.choice_destroy = function(link) {
953
+ if (this.result_deselect(link[0].getAttribute("data-option-array-index"))) {
954
+ this.show_search_field_default();
955
+ if (this.is_multiple && this.choices_count() > 0 && this.search_field.val().length < 1) {
956
+ this.results_hide();
957
+ }
958
+ link.parents('li').first().remove();
959
+ return this.search_field_scale();
960
+ }
961
+ };
962
+
963
+ Chosen.prototype.results_reset = function() {
964
+ this.reset_single_select_options();
965
+ this.form_field.options[0].selected = true;
966
+ this.single_set_selected_text();
967
+ this.show_search_field_default();
968
+ this.results_reset_cleanup();
969
+ this.form_field_jq.trigger("change");
970
+ if (this.active_field) {
971
+ return this.results_hide();
972
+ }
973
+ };
974
+
975
+ Chosen.prototype.results_reset_cleanup = function() {
976
+ this.current_selectedIndex = this.form_field.selectedIndex;
977
+ return this.selected_item.find("abbr").remove();
978
+ };
979
+
980
+ Chosen.prototype.result_select = function(evt) {
981
+ var high, item;
982
+ if (this.result_highlight) {
983
+ high = this.result_highlight;
984
+ this.result_clear_highlight();
985
+ if (this.is_multiple && this.max_selected_options <= this.choices_count()) {
986
+ this.form_field_jq.trigger("chosen:maxselected", {
987
+ chosen: this
988
+ });
989
+ return false;
990
+ }
991
+ if (this.is_multiple) {
992
+ high.removeClass("active-result");
993
+ } else {
994
+ this.reset_single_select_options();
995
+ }
996
+ item = this.results_data[high[0].getAttribute("data-option-array-index")];
997
+ item.selected = true;
998
+ this.form_field.options[item.options_index].selected = true;
999
+ this.selected_option_count = null;
1000
+ if (this.is_multiple) {
1001
+ this.choice_build(item);
1002
+ } else {
1003
+ this.single_set_selected_text(item.text);
1004
+ }
1005
+ if (!((evt.metaKey || evt.ctrlKey) && this.is_multiple)) {
1006
+ this.results_hide();
1007
+ }
1008
+ this.search_field.val("");
1009
+ if (this.is_multiple || this.form_field.selectedIndex !== this.current_selectedIndex) {
1010
+ this.form_field_jq.trigger("change", {
1011
+ 'selected': this.form_field.options[item.options_index].value
1012
+ });
1013
+ }
1014
+ this.current_selectedIndex = this.form_field.selectedIndex;
1015
+ return this.search_field_scale();
1016
+ }
1017
+ };
1018
+
1019
+ Chosen.prototype.single_set_selected_text = function(text) {
1020
+ if (text == null) {
1021
+ text = this.default_text;
1022
+ }
1023
+ if (text === this.default_text) {
1024
+ this.selected_item.addClass("chosen-default");
1025
+ } else {
1026
+ this.single_deselect_control_build();
1027
+ this.selected_item.removeClass("chosen-default");
1028
+ }
1029
+ return this.selected_item.find("span").text(text);
1030
+ };
1031
+
1032
+ Chosen.prototype.result_deselect = function(pos) {
1033
+ var result_data;
1034
+ result_data = this.results_data[pos];
1035
+ if (!this.form_field.options[result_data.options_index].disabled) {
1036
+ result_data.selected = false;
1037
+ this.form_field.options[result_data.options_index].selected = false;
1038
+ this.selected_option_count = null;
1039
+ this.result_clear_highlight();
1040
+ if (this.results_showing) {
1041
+ this.winnow_results();
1042
+ }
1043
+ this.form_field_jq.trigger("change", {
1044
+ deselected: this.form_field.options[result_data.options_index].value
1045
+ });
1046
+ this.search_field_scale();
1047
+ return true;
1048
+ } else {
1049
+ return false;
1050
+ }
1051
+ };
1052
+
1053
+ Chosen.prototype.single_deselect_control_build = function() {
1054
+ if (!this.allow_single_deselect) {
1055
+ return;
1056
+ }
1057
+ if (!this.selected_item.find("abbr").length) {
1058
+ this.selected_item.find("span").first().after("<abbr class=\"search-choice-close\"></abbr>");
1059
+ }
1060
+ return this.selected_item.addClass("chosen-single-with-deselect");
1061
+ };
1062
+
1063
+ Chosen.prototype.get_search_text = function() {
1064
+ if (this.search_field.val() === this.default_text) {
1065
+ return "";
1066
+ } else {
1067
+ return $('<div/>').text($.trim(this.search_field.val())).html();
1068
+ }
1069
+ };
1070
+
1071
+ Chosen.prototype.winnow_results_set_highlight = function() {
1072
+ var do_high, selected_results;
1073
+ selected_results = !this.is_multiple ? this.search_results.find(".result-selected.active-result") : [];
1074
+ do_high = selected_results.length ? selected_results.first() : this.search_results.find(".active-result").first();
1075
+ if (do_high != null) {
1076
+ return this.result_do_highlight(do_high);
1077
+ }
1078
+ };
1079
+
1080
+ Chosen.prototype.no_results = function(terms) {
1081
+ var no_results_html;
1082
+ no_results_html = $('<li class="no-results">' + this.results_none_found + ' "<span></span>"</li>');
1083
+ no_results_html.find("span").first().html(terms);
1084
+ this.search_results.append(no_results_html);
1085
+ return this.form_field_jq.trigger("chosen:no_results", {
1086
+ chosen: this
1087
+ });
1088
+ };
1089
+
1090
+ Chosen.prototype.no_results_clear = function() {
1091
+ return this.search_results.find(".no-results").remove();
1092
+ };
1093
+
1094
+ Chosen.prototype.keydown_arrow = function() {
1095
+ var next_sib;
1096
+ if (this.results_showing && this.result_highlight) {
1097
+ next_sib = this.result_highlight.nextAll("li.active-result").first();
1098
+ if (next_sib) {
1099
+ return this.result_do_highlight(next_sib);
1100
+ }
1101
+ } else {
1102
+ return this.results_show();
1103
+ }
1104
+ };
1105
+
1106
+ Chosen.prototype.keyup_arrow = function() {
1107
+ var prev_sibs;
1108
+ if (!this.results_showing && !this.is_multiple) {
1109
+ return this.results_show();
1110
+ } else if (this.result_highlight) {
1111
+ prev_sibs = this.result_highlight.prevAll("li.active-result");
1112
+ if (prev_sibs.length) {
1113
+ return this.result_do_highlight(prev_sibs.first());
1114
+ } else {
1115
+ if (this.choices_count() > 0) {
1116
+ this.results_hide();
1117
+ }
1118
+ return this.result_clear_highlight();
1119
+ }
1120
+ }
1121
+ };
1122
+
1123
+ Chosen.prototype.keydown_backstroke = function() {
1124
+ var next_available_destroy;
1125
+ if (this.pending_backstroke) {
1126
+ this.choice_destroy(this.pending_backstroke.find("a").first());
1127
+ return this.clear_backstroke();
1128
+ } else {
1129
+ next_available_destroy = this.search_container.siblings("li.search-choice").last();
1130
+ if (next_available_destroy.length && !next_available_destroy.hasClass("search-choice-disabled")) {
1131
+ this.pending_backstroke = next_available_destroy;
1132
+ if (this.single_backstroke_delete) {
1133
+ return this.keydown_backstroke();
1134
+ } else {
1135
+ return this.pending_backstroke.addClass("search-choice-focus");
1136
+ }
1137
+ }
1138
+ }
1139
+ };
1140
+
1141
+ Chosen.prototype.clear_backstroke = function() {
1142
+ if (this.pending_backstroke) {
1143
+ this.pending_backstroke.removeClass("search-choice-focus");
1144
+ }
1145
+ return this.pending_backstroke = null;
1146
+ };
1147
+
1148
+ Chosen.prototype.keydown_checker = function(evt) {
1149
+ var stroke, _ref1;
1150
+ stroke = (_ref1 = evt.which) != null ? _ref1 : evt.keyCode;
1151
+ this.search_field_scale();
1152
+ if (stroke !== 8 && this.pending_backstroke) {
1153
+ this.clear_backstroke();
1154
+ }
1155
+ switch (stroke) {
1156
+ case 8:
1157
+ this.backstroke_length = this.search_field.val().length;
1158
+ break;
1159
+ case 9:
1160
+ if (this.results_showing && !this.is_multiple) {
1161
+ this.result_select(evt);
1162
+ }
1163
+ this.mouse_on_container = false;
1164
+ break;
1165
+ case 13:
1166
+ evt.preventDefault();
1167
+ break;
1168
+ case 38:
1169
+ evt.preventDefault();
1170
+ this.keyup_arrow();
1171
+ break;
1172
+ case 40:
1173
+ evt.preventDefault();
1174
+ this.keydown_arrow();
1175
+ break;
1176
+ }
1177
+ };
1178
+
1179
+ Chosen.prototype.search_field_scale = function() {
1180
+ var div, f_width, h, style, style_block, styles, w, _i, _len;
1181
+ if (this.is_multiple) {
1182
+ h = 0;
1183
+ w = 0;
1184
+ style_block = "position:absolute; left: -1000px; top: -1000px; display:none;";
1185
+ styles = ['font-size', 'font-style', 'font-weight', 'font-family', 'line-height', 'text-transform', 'letter-spacing'];
1186
+ for (_i = 0, _len = styles.length; _i < _len; _i++) {
1187
+ style = styles[_i];
1188
+ style_block += style + ":" + this.search_field.css(style) + ";";
1189
+ }
1190
+ div = $('<div />', {
1191
+ 'style': style_block
1192
+ });
1193
+ div.text(this.search_field.val());
1194
+ $('body').append(div);
1195
+ w = div.width() + 25;
1196
+ div.remove();
1197
+ f_width = this.container.outerWidth();
1198
+ if (w > f_width - 10) {
1199
+ w = f_width - 10;
1200
+ }
1201
+ return this.search_field.css({
1202
+ 'width': w + 'px'
1203
+ });
1204
+ }
1205
+ };
1206
+
1207
+ return Chosen;
1208
+
1209
+ })(AbstractChosen);
1210
+
1211
+ }).call(this);
vendor/chosen/chosen.jquery.min.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ /* Chosen v1.1.0 | (c) 2011-2013 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */
2
+ !function(){var a,AbstractChosen,Chosen,SelectParser,b,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};SelectParser=function(){function SelectParser(){this.options_index=0,this.parsed=[]}return SelectParser.prototype.add_node=function(a){return"OPTGROUP"===a.nodeName.toUpperCase()?this.add_group(a):this.add_option(a)},SelectParser.prototype.add_group=function(a){var b,c,d,e,f,g;for(b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:this.escapeExpression(a.label),children:0,disabled:a.disabled}),f=a.childNodes,g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},SelectParser.prototype.add_option=function(a,b,c){return"OPTION"===a.nodeName.toUpperCase()?(""!==a.text?(null!=b&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},SelectParser.prototype.escapeExpression=function(a){var b,c;return null==a||a===!1?"":/[\&\<\>\"\'\`]/.test(a)?(b={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},c=/&(?!\w+;)|[\<\>\"\'\`]/g,a.replace(c,function(a){return b[a]||"&amp;"})):a},SelectParser}(),SelectParser.select_to_array=function(a){var b,c,d,e,f;for(c=new SelectParser,f=a.childNodes,d=0,e=f.length;e>d;d++)b=f[d],c.add_node(b);return c.parsed},AbstractChosen=function(){function AbstractChosen(a,b){this.form_field=a,this.options=null!=b?b:{},AbstractChosen.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers())}return AbstractChosen.prototype.set_default_values=function(){var a=this;return this.click_test_action=function(b){return a.test_active_click(b)},this.activate_action=function(b){return a.activate_field(b)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null!=this.options.enable_split_word_search?this.options.enable_split_word_search:!0,this.group_search=null!=this.options.group_search?this.options.group_search:!0,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null!=this.options.single_backstroke_delete?this.options.single_backstroke_delete:!0,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null!=this.options.display_selected_options?this.options.display_selected_options:!0,this.display_disabled_options=null!=this.options.display_disabled_options?this.options.display_disabled_options:!0},AbstractChosen.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||this.options.placeholder_text||AbstractChosen.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||AbstractChosen.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||AbstractChosen.default_no_result_text},AbstractChosen.prototype.mouse_enter=function(){return this.mouse_on_container=!0},AbstractChosen.prototype.mouse_leave=function(){return this.mouse_on_container=!1},AbstractChosen.prototype.input_focus=function(){var a=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return a.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},AbstractChosen.prototype.input_blur=function(){var a=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return a.blur_test()},100))},AbstractChosen.prototype.results_option_build=function(a){var b,c,d,e,f;for(b="",f=this.results_data,d=0,e=f.length;e>d;d++)c=f[d],b+=c.group?this.result_add_group(c):this.result_add_option(c),(null!=a?a.first:void 0)&&(c.selected&&this.is_multiple?this.choice_build(c):c.selected&&!this.is_multiple&&this.single_set_selected_text(c.text));return b},AbstractChosen.prototype.result_add_option=function(a){var b,c;return a.search_match?this.include_option_in_results(a)?(b=[],a.disabled||a.selected&&this.is_multiple||b.push("active-result"),!a.disabled||a.selected&&this.is_multiple||b.push("disabled-result"),a.selected&&b.push("result-selected"),null!=a.group_array_index&&b.push("group-option"),""!==a.classes&&b.push(a.classes),c=document.createElement("li"),c.className=b.join(" "),c.style.cssText=a.style,c.setAttribute("data-option-array-index",a.array_index),c.innerHTML=a.search_text,this.outerHTML(c)):"":""},AbstractChosen.prototype.result_add_group=function(a){var b;return a.search_match||a.group_match?a.active_options>0?(b=document.createElement("li"),b.className="group-result",b.innerHTML=a.search_text,this.outerHTML(b)):"":""},AbstractChosen.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing?this.winnow_results():void 0},AbstractChosen.prototype.reset_single_select_options=function(){var a,b,c,d,e;for(d=this.results_data,e=[],b=0,c=d.length;c>b;b++)a=d[b],a.selected?e.push(a.selected=!1):e.push(void 0);return e},AbstractChosen.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},AbstractChosen.prototype.results_search=function(){return this.results_showing?this.winnow_results():this.results_show()},AbstractChosen.prototype.winnow_results=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m;for(this.no_results_clear(),e=0,g=this.get_search_text(),a=g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),d=this.search_contains?"":"^",c=new RegExp(d+a,"i"),j=new RegExp(a,"i"),m=this.results_data,k=0,l=m.length;l>k;k++)b=m[k],b.search_match=!1,f=null,this.include_option_in_results(b)&&(b.group&&(b.group_match=!1,b.active_options=0),null!=b.group_array_index&&this.results_data[b.group_array_index]&&(f=this.results_data[b.group_array_index],0===f.active_options&&f.search_match&&(e+=1),f.active_options+=1),(!b.group||this.group_search)&&(b.search_text=b.group?b.label:b.html,b.search_match=this.search_string_match(b.search_text,c),b.search_match&&!b.group&&(e+=1),b.search_match?(g.length&&(h=b.search_text.search(j),i=b.search_text.substr(0,h+g.length)+"</em>"+b.search_text.substr(h+g.length),b.search_text=i.substr(0,h)+"<em>"+i.substr(h)),null!=f&&(f.group_match=!0)):null!=b.group_array_index&&this.results_data[b.group_array_index].search_match&&(b.search_match=!0)));return this.result_clear_highlight(),1>e&&g.length?(this.update_results_content(""),this.no_results(g)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},AbstractChosen.prototype.search_string_match=function(a,b){var c,d,e,f;if(b.test(a))return!0;if(this.enable_split_word_search&&(a.indexOf(" ")>=0||0===a.indexOf("["))&&(d=a.replace(/\[|\]/g,"").split(" "),d.length))for(e=0,f=d.length;f>e;e++)if(c=d[e],b.test(c))return!0},AbstractChosen.prototype.choices_count=function(){var a,b,c,d;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,d=this.form_field.options,b=0,c=d.length;c>b;b++)a=d[b],a.selected&&(this.selected_option_count+=1);return this.selected_option_count},AbstractChosen.prototype.choices_click=function(a){return a.preventDefault(),this.results_showing||this.is_disabled?void 0:this.results_show()},AbstractChosen.prototype.keyup_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),b){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(a.preventDefault(),this.results_showing)return this.result_select(a);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},AbstractChosen.prototype.clipboard_event_checker=function(){var a=this;return setTimeout(function(){return a.results_search()},50)},AbstractChosen.prototype.container_width=function(){return null!=this.options.width?this.options.width:""+this.form_field.offsetWidth+"px"},AbstractChosen.prototype.include_option_in_results=function(a){return this.is_multiple&&!this.display_selected_options&&a.selected?!1:!this.display_disabled_options&&a.disabled?!1:a.empty?!1:!0},AbstractChosen.prototype.search_results_touchstart=function(a){return this.touch_started=!0,this.search_results_mouseover(a)},AbstractChosen.prototype.search_results_touchmove=function(a){return this.touch_started=!1,this.search_results_mouseout(a)},AbstractChosen.prototype.search_results_touchend=function(a){return this.touch_started?this.search_results_mouseup(a):void 0},AbstractChosen.prototype.outerHTML=function(a){var b;return a.outerHTML?a.outerHTML:(b=document.createElement("div"),b.appendChild(a),b.innerHTML)},AbstractChosen.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:/iP(od|hone)/i.test(window.navigator.userAgent)?!1:/Android/i.test(window.navigator.userAgent)&&/Mobile/i.test(window.navigator.userAgent)?!1:!0},AbstractChosen.default_multiple_text="Select Some Options",AbstractChosen.default_single_text="Select an Option",AbstractChosen.default_no_result_text="No results match",AbstractChosen}(),a=jQuery,a.fn.extend({chosen:function(b){return AbstractChosen.browser_is_supported()?this.each(function(){var c,d;c=a(this),d=c.data("chosen"),"destroy"===b&&d?d.destroy():d||c.data("chosen",new Chosen(this,b))}):this}}),Chosen=function(c){function Chosen(){return b=Chosen.__super__.constructor.apply(this,arguments)}return d(Chosen,c),Chosen.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},Chosen.prototype.set_up_html=function(){var b,c;return b=["chosen-container"],b.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&b.push(this.form_field.className),this.is_rtl&&b.push("chosen-rtl"),c={"class":b.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(c.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("<div />",c),this.is_multiple?this.container.html('<ul class="chosen-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chosen-drop"><ul class="chosen-results"></ul></div>'):this.container.html('<a class="chosen-single chosen-default" tabindex="-1"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /></div><ul class="chosen-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior(),this.form_field_jq.trigger("chosen:ready",{chosen:this})},Chosen.prototype.register_observers=function(){var a=this;return this.container.bind("mousedown.chosen",function(b){a.container_mousedown(b)}),this.container.bind("mouseup.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mouseenter.chosen",function(b){a.mouse_enter(b)}),this.container.bind("mouseleave.chosen",function(b){a.mouse_leave(b)}),this.search_results.bind("mouseup.chosen",function(b){a.search_results_mouseup(b)}),this.search_results.bind("mouseover.chosen",function(b){a.search_results_mouseover(b)}),this.search_results.bind("mouseout.chosen",function(b){a.search_results_mouseout(b)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(b){a.search_results_mousewheel(b)}),this.search_results.bind("touchstart.chosen",function(b){a.search_results_touchstart(b)}),this.search_results.bind("touchmove.chosen",function(b){a.search_results_touchmove(b)}),this.search_results.bind("touchend.chosen",function(b){a.search_results_touchend(b)}),this.form_field_jq.bind("chosen:updated.chosen",function(b){a.results_update_field(b)}),this.form_field_jq.bind("chosen:activate.chosen",function(b){a.activate_field(b)}),this.form_field_jq.bind("chosen:open.chosen",function(b){a.container_mousedown(b)}),this.form_field_jq.bind("chosen:close.chosen",function(b){a.input_blur(b)}),this.search_field.bind("blur.chosen",function(b){a.input_blur(b)}),this.search_field.bind("keyup.chosen",function(b){a.keyup_checker(b)}),this.search_field.bind("keydown.chosen",function(b){a.keydown_checker(b)}),this.search_field.bind("focus.chosen",function(b){a.input_focus(b)}),this.search_field.bind("cut.chosen",function(b){a.clipboard_event_checker(b)}),this.search_field.bind("paste.chosen",function(b){a.clipboard_event_checker(b)}),this.is_multiple?this.search_choices.bind("click.chosen",function(b){a.choices_click(b)}):this.container.bind("click.chosen",function(a){a.preventDefault()})},Chosen.prototype.destroy=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},Chosen.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},Chosen.prototype.container_mousedown=function(b){return this.is_disabled||(b&&"mousedown"===b.type&&!this.results_showing&&b.preventDefault(),null!=b&&a(b.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!b||a(b.target)[0]!==this.selected_item[0]&&!a(b.target).parents("a.chosen-single").length||(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},Chosen.prototype.container_mouseup=function(a){return"ABBR"!==a.target.nodeName||this.is_disabled?void 0:this.results_reset(a)},Chosen.prototype.search_results_mousewheel=function(a){var b;return a.originalEvent&&(b=-a.originalEvent.wheelDelta||a.originalEvent.detail),null!=b?(a.preventDefault(),"DOMMouseScroll"===a.type&&(b=40*b),this.search_results.scrollTop(b+this.search_results.scrollTop())):void 0},Chosen.prototype.blur_test=function(){return!this.active_field&&this.container.hasClass("chosen-container-active")?this.close_field():void 0},Chosen.prototype.close_field=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},Chosen.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},Chosen.prototype.test_active_click=function(b){var c;return c=a(b.target).closest(".chosen-container"),c.length&&this.container[0]===c[0]?this.active_field=!0:this.close_field()},Chosen.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=SelectParser.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},Chosen.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){if(this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),d=parseInt(this.search_results.css("maxHeight"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight(),b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(f>c)return this.search_results.scrollTop(c)}},Chosen.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},Chosen.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},Chosen.prototype.update_results_content=function(a){return this.search_results.html(a)},Chosen.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},Chosen.prototype.set_tab_index=function(){var a;return this.form_field.tabIndex?(a=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=a):void 0},Chosen.prototype.set_label_behavior=function(){var b=this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0?this.form_field_label.bind("click.chosen",function(a){return b.is_multiple?b.container_mousedown(a):b.activate_field()}):void 0},Chosen.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},Chosen.prototype.search_results_mouseup=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c.length?(this.result_highlight=c,this.result_select(b),this.search_field.focus()):void 0},Chosen.prototype.search_results_mouseover=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c?this.result_do_highlight(c):void 0},Chosen.prototype.search_results_mouseout=function(b){return a(b.target).hasClass("active-result")?this.result_clear_highlight():void 0},Chosen.prototype.choice_build=function(b){var c,d,e=this;return c=a("<li />",{"class":"search-choice"}).html("<span>"+b.html+"</span>"),b.disabled?c.addClass("search-choice-disabled"):(d=a("<a />",{"class":"search-choice-close","data-option-array-index":b.array_index}),d.bind("click.chosen",function(a){return e.choice_destroy_link_click(a)}),c.append(d)),this.search_container.before(c)},Chosen.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),b.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(a(b.target))},Chosen.prototype.choice_destroy=function(a){return this.result_deselect(a[0].getAttribute("data-option-array-index"))?(this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),a.parents("li").first().remove(),this.search_field_scale()):void 0},Chosen.prototype.results_reset=function(){return this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},Chosen.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},Chosen.prototype.result_select=function(a){var b,c;return this.result_highlight?(b=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?b.removeClass("active-result"):this.reset_single_select_options(),c=this.results_data[b[0].getAttribute("data-option-array-index")],c.selected=!0,this.form_field.options[c.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(c):this.single_set_selected_text(c.text),(a.metaKey||a.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[c.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale())):void 0},Chosen.prototype.single_set_selected_text=function(a){return null==a&&(a=this.default_text),a===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").text(a)},Chosen.prototype.result_deselect=function(a){var b;return b=this.results_data[a],this.form_field.options[b.options_index].disabled?!1:(b.selected=!1,this.form_field.options[b.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[b.options_index].value}),this.search_field_scale(),!0)},Chosen.prototype.single_deselect_control_build=function(){return this.allow_single_deselect?(this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")):void 0},Chosen.prototype.get_search_text=function(){return this.search_field.val()===this.default_text?"":a("<div/>").text(a.trim(this.search_field.val())).html()},Chosen.prototype.winnow_results_set_highlight=function(){var a,b;return b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first(),null!=a?this.result_do_highlight(a):void 0},Chosen.prototype.no_results=function(b){var c;return c=a('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>'),c.find("span").first().html(b),this.search_results.append(c),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},Chosen.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},Chosen.prototype.keydown_arrow=function(){var a;return this.results_showing&&this.result_highlight?(a=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(a):void 0:this.results_show()},Chosen.prototype.keyup_arrow=function(){var a;return this.results_showing||this.is_multiple?this.result_highlight?(a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},Chosen.prototype.keydown_backstroke=function(){var a;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(a=this.search_container.siblings("li.search-choice").last(),a.length&&!a.hasClass("search-choice-disabled")?(this.pending_backstroke=a,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},Chosen.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},Chosen.prototype.keydown_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),8!==b&&this.pending_backstroke&&this.clear_backstroke(),b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:a.preventDefault(),this.keydown_arrow()}},Chosen.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i,j;if(this.is_multiple){for(d=0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],i=0,j=g.length;j>i;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";return b=a("<div />",{style:f}),b.text(this.search_field.val()),a("body").append(b),h=b.width()+25,b.remove(),c=this.container.outerWidth(),h>c-10&&(h=c-10),this.search_field.css({width:h+"px"})}},Chosen}(AbstractChosen)}.call(this);
vendor/chosen/chosen.min.css ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ Chosen, a Select Box Enhancer for jQuery and Prototype
3
+ by Patrick Filler for Harvest, http://getharvest.com
4
+
5
+ Version 1.1.0
6
+ Full source at https://github.com/harvesthq/chosen
7
+ Copyright (c) 2011 Harvest http://getharvest.com
8
+
9
+ MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
10
+ This file is generated by `grunt build`, do not edit it by hand.
11
+ */.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;zoom:1;*display:inline;-webkit-user-select:none;-moz-user-select:none;user-select:none}
12
+ .chosen-container .chosen-drop{position:absolute;top:100%;left:-9999px;z-index:1010;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,0.15)}
13
+ .chosen-container.chosen-with-drop .chosen-drop{left:0}.chosen-container a{cursor:pointer}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:23px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),color-stop(100%,#f4f4f4));background:-webkit-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-moz-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-o-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px white inset,0 1px 1px rgba(0,0,0,0.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}
14
+ .chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}
15
+ .chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url('chosen-sprite.png') -42px 1px no-repeat;font-size:1px}
16
+ .chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}
17
+ .chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url('chosen-sprite.png') no-repeat 0 2px}
18
+ .chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type="text"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:white url('chosen-sprite.png') no-repeat 100% -20px;background:url('chosen-sprite.png') no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}
19
+ .chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;left:-9999px}
20
+ .chosen-container .chosen-results{position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}
21
+ .chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}
22
+ .chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:-webkit-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-moz-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-o-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}
23
+ .chosen-container .chosen-results li.no-results{display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:bold;cursor:default}
24
+ .chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}
25
+ .chosen-container-multi .chosen-choices{position:relative;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;width:100%;height:auto!important;height:1%;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(#eee 1%,#fff 15%);background-image:-moz-linear-gradient(#eee 1%,#fff 15%);background-image:-o-linear-gradient(#eee 1%,#fff 15%);background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}
26
+ .chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}
27
+ .chosen-container-multi .chosen-choices li.search-field input[type="text"]{margin:1px 0;padding:5px;height:15px;outline:0;border:0!important;background:transparent!important;box-shadow:none;color:#666;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0}
28
+ .chosen-container-multi .chosen-choices li.search-field .default{color:#999}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 0 3px 5px;padding:3px 20px 3px 5px;border:1px solid #aaa;border-radius:3px;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-clip:padding-box;box-shadow:0 0 2px white inset,0 1px 0 rgba(0,0,0,0.05);color:#333;line-height:13px;cursor:default}
29
+ .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url('chosen-sprite.png') -42px 1px no-repeat;font-size:1px}
30
+ .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}
31
+ .chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}
32
+ .chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}
33
+ .chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,0.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#eee),color-stop(80%,#fff));background-image:-webkit-linear-gradient(#eee 20%,#fff 80%);background-image:-moz-linear-gradient(#eee 20%,#fff 80%);background-image:-o-linear-gradient(#eee 20%,#fff 80%);background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}
34
+ .chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:transparent}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}
35
+ .chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,0.3)}.chosen-container-active .chosen-choices li.search-field input[type="text"]{color:#111!important}
36
+ .chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}
37
+ .chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}
38
+ .chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}
39
+ .chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type="text"]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}
40
+ .chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single-nosearch .chosen-search,.chosen-rtl .chosen-drop{left:9999px}
41
+ .chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}
42
+ .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:0}.chosen-rtl .chosen-search input[type="text"]{padding:4px 5px 4px 20px;background:white url('chosen-sprite.png') no-repeat -30px -20px;background:url('chosen-sprite.png') no-repeat -30px -20px;direction:rtl}
43
+ .chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}
44
+ @media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-resolution:144dpi){.chosen-rtl .chosen-search input[type="text"],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-container-single .chosen-search input[type="text"],.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span{background-image:url('chosen-sprite@2x.png')!important;background-size:52px 37px!important;background-repeat:no-repeat!important}
45
+ }