Social Share Buttons by Supsystic - Version 2.1.14

Version Description

Download this release

Release Info

Developer supsystic.com
Plugin Icon 128x128 Social Share Buttons by Supsystic
Version 2.1.14
Comparing to
See all releases

Code changes from version 2.1.8 to 2.1.14

Files changed (65) hide show
  1. app/SupsysticSocialSharing.php +304 -302
  2. app/assets/brand-colors.less +19 -19
  3. app/assets/css/admin.css +9 -9
  4. app/assets/css/chosen.min.css +28 -28
  5. app/assets/css/libraries/bootstrap/bootstrap.min.css +9 -9
  6. app/assets/css/libraries/jqGrid/ui.jqgrid.css +170 -170
  7. app/assets/css/libraries/minimal/_all.css +589 -589
  8. app/assets/css/libraries/minimal/aero.css +58 -58
  9. app/assets/css/libraries/minimal/blue.css +58 -58
  10. app/assets/css/libraries/minimal/green.css +58 -58
  11. app/assets/css/libraries/minimal/grey.css +58 -58
  12. app/assets/css/libraries/minimal/minimal.css +58 -58
  13. app/assets/css/libraries/minimal/orange.css +58 -58
  14. app/assets/css/libraries/minimal/pink.css +58 -58
  15. app/assets/css/libraries/minimal/purple.css +58 -58
  16. app/assets/css/libraries/minimal/red.css +58 -58
  17. app/assets/css/libraries/minimal/yellow.css +58 -58
  18. app/assets/css/libraries/supsystic/buttons.css +6 -6
  19. app/assets/css/libraries/supsystic/forms.css +19 -19
  20. app/assets/css/libraries/supsystic/inputs.css +19 -19
  21. app/assets/css/supsystic-ui.css +599 -599
  22. app/assets/js/i18n/grid.locale-ar.js +128 -128
  23. app/assets/js/i18n/grid.locale-bg.js +134 -134
  24. app/assets/js/i18n/grid.locale-bg1251.js +132 -132
  25. app/assets/js/i18n/grid.locale-cat.js +130 -130
  26. app/assets/js/i18n/grid.locale-cn.js +169 -169
  27. app/assets/js/i18n/grid.locale-cs.js +130 -130
  28. app/assets/js/i18n/grid.locale-da.js +130 -130
  29. app/assets/js/i18n/grid.locale-de.js +173 -173
  30. app/assets/js/i18n/grid.locale-dk.js +129 -129
  31. app/assets/js/i18n/grid.locale-el.js +128 -128
  32. app/assets/js/i18n/grid.locale-en.js +170 -170
  33. app/assets/js/i18n/grid.locale-es.js +130 -130
  34. app/assets/js/i18n/grid.locale-fa.js +146 -146
  35. app/assets/js/i18n/grid.locale-fi.js +131 -131
  36. app/assets/js/i18n/grid.locale-fr.js +128 -128
  37. app/assets/js/i18n/grid.locale-gl.js +128 -128
  38. app/assets/js/i18n/grid.locale-he.js +129 -129
  39. app/assets/js/i18n/grid.locale-hr.js +164 -164
  40. app/assets/js/i18n/grid.locale-hr1250.js +164 -164
  41. app/assets/js/i18n/grid.locale-hu.js +131 -131
  42. app/assets/js/i18n/grid.locale-id.js +170 -170
  43. app/assets/js/i18n/grid.locale-is.js +128 -128
  44. app/assets/js/i18n/grid.locale-ja.js +158 -158
  45. app/assets/js/i18n/grid.locale-kr.js +130 -130
  46. app/assets/js/i18n/grid.locale-lt.js +130 -130
  47. app/assets/js/i18n/grid.locale-mne.js +130 -130
  48. app/assets/js/i18n/grid.locale-nl.js +149 -149
  49. app/assets/js/i18n/grid.locale-no.js +1 -1
  50. app/assets/js/i18n/grid.locale-pl.js +133 -133
  51. app/assets/js/i18n/grid.locale-pt-br.js +137 -137
  52. app/assets/js/i18n/grid.locale-pt.js +127 -127
  53. app/assets/js/i18n/grid.locale-ro.js +141 -141
  54. app/assets/js/i18n/grid.locale-ru.js +129 -129
  55. app/assets/js/i18n/grid.locale-sk.js +129 -129
  56. app/assets/js/i18n/grid.locale-sr-latin.js +130 -130
  57. app/assets/js/i18n/grid.locale-sr.js +130 -130
  58. app/assets/js/i18n/grid.locale-sv.js +129 -129
  59. app/assets/js/i18n/grid.locale-th.js +130 -130
  60. app/assets/js/i18n/grid.locale-tr.js +128 -128
  61. app/assets/js/i18n/grid.locale-tw.js +131 -131
  62. app/assets/js/i18n/grid.locale-ua.js +129 -129
  63. app/assets/js/i18n/grid.locale-vi.js +170 -170
  64. app/assets/js/libraries/bootstrap/bootstrap.min.js +10 -10
  65. app/assets/js/libraries/jqGrid/jquery.jqGrid.min.js +255 -545
app/SupsysticSocialSharing.php CHANGED
@@ -1,302 +1,304 @@
1
- <?php
2
-
3
- /**
4
- * Class SupsysticSocialSharing
5
- */
6
- class SupsysticSocialSharing
7
- {
8
- private $environment;
9
-
10
- public function __construct()
11
- {
12
- if (!class_exists('Rsc_Autoloader', false)) {
13
- require dirname(dirname(__FILE__)) . '/vendor/Rsc/Autoloader.php';
14
- Rsc_Autoloader::register();
15
- }
16
-
17
- $pluginPath = dirname(dirname(__FILE__));
18
- $pluginName = 'sss';
19
- $pluginTitleName = 'Social Share by Supsystic';
20
- $pluginSlug = 'supsystic-social-sharing';
21
- $environment = new Rsc_Environment($pluginName, '2.1.8', $pluginPath);
22
-
23
- /* Configure */
24
- $environment->configure(
25
- array(
26
- 'optimizations' => 1,
27
- 'environment' => $this->getPluginEnvironment(),
28
- 'default_module' => 'projects',
29
- 'lang_domain' => 'social_sharing',
30
- 'lang_path' => plugin_basename(dirname(__FILE__)) . '/langs',
31
- 'plugin_title_name' => $pluginTitleName,
32
- 'plugin_slug' => $pluginSlug,
33
- 'plugin_prefix' => 'SocialSharing',
34
- 'plugin_source' => $pluginPath . '/src',
35
- 'plugin_menu' => array(
36
- 'page_title' => __(
37
- $pluginTitleName,
38
- $pluginSlug
39
- ),
40
- 'menu_title' => __(
41
- $pluginTitleName,
42
- $pluginSlug
43
- ),
44
- 'capability' => 'manage_options',
45
- 'menu_slug' => $pluginSlug,
46
- 'icon_url' => 'dashicons-share',
47
- 'position' => '101.8',
48
- ),
49
- 'shortcode_name' => 'grid-gallery',
50
- 'db_prefix' => 'supsystic_ss_',
51
- 'hooks_prefix' => 'supsystic_ss_',
52
- 'ajax_url' => admin_url('admin-ajax.php'),
53
- 'admin_url' => admin_url(),
54
- 'uploads_rw' => true,
55
- 'jpeg_quality' => 95,
56
- 'plugin_db_update' => true,
57
- 'revision' => 325,
58
- 'welcome_page_was_showed' => get_option($pluginName . '_welcome_page_was_showed'),
59
- 'promo_controller' => 'SocialSharing_Promo_Controller',
60
- 'pro_button_option_prefix'=>'pro_button_option_',
61
- )
62
- );
63
-
64
- $this->environment = $environment;
65
- }
66
-
67
- public function getEnvironment() {
68
- return $this->environment;
69
- }
70
-
71
- public function run()
72
- {
73
- // if (isset($_GET['sharing_install_db'])) {
74
- // $this->createSchema();
75
- // }
76
-
77
- /*if (isset($_GET['sharing_reinstall_db'])) {
78
- $this->dropSchema();
79
- $this->createSchema();
80
- }*/
81
-
82
- $this->environment->run();
83
- }
84
-
85
- public function activate($bootstrap)
86
- {
87
- //if is multisite mode
88
- if (function_exists('is_multisite') && is_multisite()) {
89
- global $wpdb;
90
-
91
- // $orig_id = $wpdb->blogid;
92
- $blog_id = $wpdb->get_col("SELECT blog_id FROM $wpdb->blogs");
93
-
94
- foreach ($blog_id as $id) {
95
- if (switch_to_blog($id)) {
96
- $this->createSchema();
97
-
98
- $this->installUpdate();
99
- restore_current_blog();
100
- }
101
- }
102
- // restore_current_blog();
103
- //switch_to_blog($orig_id);
104
- } else {
105
- $this->createSchema();
106
-
107
- $this->installUpdate();
108
- }
109
- }
110
-
111
- public function installUpdate()
112
- {
113
- $currentOptionRevision = (int)get_option($this->environment->getPluginName().'_updated');
114
- $configRevision = (int)$this->environment->getConfig()->get('revision');
115
- $updatePath = dirname(__FILE__) . '/configs/';
116
-
117
- if($currentOptionRevision < $configRevision) {
118
- for ($i = $currentOptionRevision; $i <= $configRevision; $i++) {
119
- $file = $updatePath . 'rev-'.$i.'.sql';
120
-
121
- if (!file_exists($file)) {
122
- continue;
123
- }
124
- try {
125
- $this->updateFromFile($file);
126
- } catch (Exception $e) {
127
- if (!$this->environment->isPluginPage()) {
128
- return;
129
- }
130
- wp_die(
131
- sprintf(
132
- 'Failed to update plugin database. Reason: %s',
133
- $e->getMessage()
134
- )
135
- );
136
- }
137
- }
138
- update_option($this->environment->getPluginName().'_updated', $configRevision);
139
- }
140
- }
141
-
142
- /**
143
- * Loads updates from the file and update the database.
144
- * @param string $file Path to updates file.
145
- */
146
- private function updateFromFile($file)
147
- {
148
- if (!is_readable($file)) {
149
- throw new RuntimeException(
150
- sprintf('File "%s" is not readable.', $file)
151
- );
152
- }
153
-
154
- if (false === $content = file_get_contents($file)) {
155
- throw new RuntimeException(
156
- sprintf('Failed to read file "%s".', $file)
157
- );
158
- }
159
- $this->update($content);
160
- }
161
-
162
- /**
163
- * Updates the database.
164
- * @param string $data
165
- */
166
- private function update($data)
167
- {
168
- global $wpdb;
169
- if (!function_exists('dbDelta')) {
170
- require_once(ABSPATH.'wp-admin/includes/upgrade.php');
171
- }
172
-
173
- $prefix = $wpdb->prefix . $this->environment->getConfig()->get('db_prefix');
174
- $data = str_replace('%prefix%', $prefix, $data);
175
-
176
- if ('delete' === substr(strtolower($data), 0, 6)) {
177
- foreach(explode(';',$data) as $q){
178
- $wpdb->query($q);
179
- }
180
- return;
181
- }
182
- // CREATE and INSERT only. No ALTER - dbDella modifies tables itself
183
- dbDelta('SET FOREIGN_KEY_CHECKS=0');
184
- dbDelta($data);
185
- dbDelta('SET FOREIGN_KEY_CHECKS=1');
186
- }
187
-
188
- public function updateDb() {
189
- global $wpdb;
190
-
191
- $schema = dirname(__FILE__) . '/configs/dbupdate.sql';
192
- $networks = dirname(__FILE__) . '/configs/update_networks.sql';
193
- $prefix = $wpdb->prefix . $this->environment
194
- ->getConfig()
195
- ->get('db_prefix');
196
- if (!function_exists('dbDelta')) {
197
- require_once(ABSPATH.'wp-admin/includes/upgrade.php');
198
- }
199
-
200
- $checkTable = 'SHOW TABLES LIKE "'. $prefix .'views";';
201
-
202
- if(!$wpdb->get_results($checkTable)) {
203
- $sql = str_replace('%prefix%', $prefix, file_get_contents($schema));
204
-
205
- dbDelta('SET FOREIGN_KEY_CHECKS=0');
206
- dbDelta($sql);
207
- dbDelta('SET FOREIGN_KEY_CHECKS=1');
208
- }
209
-
210
- $sql = str_replace('%prefix%', $prefix, file_get_contents($networks));
211
-
212
- dbDelta('SET FOREIGN_KEY_CHECKS=0');
213
- dbDelta($sql);
214
- dbDelta('SET FOREIGN_KEY_CHECKS=1');
215
- }
216
-
217
-
218
- public function createSchema()
219
- {
220
- global $wpdb;
221
-
222
- if(get_option($this->environment->getPluginName().'_installed'))
223
- return;
224
-
225
- if (is_file($schema = dirname(__FILE__) . '/configs/dbschema.sql')) {
226
- $prefix = $wpdb->prefix . $this->environment
227
- ->getConfig()
228
- ->get('db_prefix');
229
-
230
- $sql = str_replace('%prefix%', $prefix, file_get_contents($schema));
231
-
232
- if (!function_exists('dbDelta')) {
233
- require_once(ABSPATH.'wp-admin/includes/upgrade.php');
234
- }
235
-
236
- $queryList = array_map('trim', explode(';', $sql));
237
-
238
- $wpdb->show_errors = false;
239
-
240
- foreach ($queryList as $query) {
241
- if(empty($query)) continue;
242
- $wpdb->query($query);
243
- }
244
-
245
- $wpdb->show_errors = true;
246
-
247
- update_option($this->environment->getPluginName().'_installed', 1);
248
- }
249
- }
250
-
251
- public function dropSchema()
252
- {
253
- global $wpdb;
254
-
255
- $prefix = $wpdb->prefix . $this->environment
256
- ->getConfig()
257
- ->get('db_prefix');
258
-
259
- $tables = $wpdb->get_results('SHOW TABLES LIKE \''.$prefix.'%\'', ARRAY_N);
260
-
261
- if (count($tables) < 1) {
262
- return;
263
- }
264
-
265
- $wpdb->query('SET FOREIGN_KEY_CHECKS=0');
266
- foreach ($tables as $inded => $table) {
267
- $wpdb->query('DROP TABLE IF EXISTS '.array_pop($table).' CASCADE;');
268
- }
269
-
270
- $wpdb->query('SET FOREIGN_KEY_CHECKS=1');
271
- }
272
- public function dropOptions()
273
- {
274
- delete_option($this->environment->getPluginName().'_installed');
275
- delete_option($this->environment->getPluginName().'_updated');
276
- delete_option($this->environment->getPluginName().'_promo_shown');
277
- delete_option('_social_sharing_rev');
278
- }
279
- public function deactivate($bootstrap)
280
- {
281
- register_deactivation_hook($bootstrap, array($this, 'dropOptions'));
282
- // register_deactivation_hook($bootstrap, array($this, 'dropSchema'));
283
- }
284
-
285
- protected function getPluginEnvironment()
286
- {
287
- $environment = Rsc_Environment::ENV_PRODUCTION;
288
-
289
- if ((defined('WP_DEBUG') && WP_DEBUG) || (defined(
290
- 'SUPSYSTIC_SS_DEBUG'
291
- ) && SUPSYSTIC_SS_DEBUG)
292
- ) {
293
- $environment = Rsc_Environment::ENV_DEVELOPMENT;
294
- }
295
-
296
- if ($_SERVER['SERVER_NAME'] === 'localhost' && $_SERVER['SERVER_PORT'] === '8001') {
297
- $environment = Rsc_Environment::ENV_DEVELOPMENT;
298
- }
299
-
300
- return $environment;
301
- }
302
- }
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Class SupsysticSocialSharing
5
+ */
6
+ class SupsysticSocialSharing
7
+ {
8
+ private $environment;
9
+
10
+ public function __construct()
11
+ {
12
+ if (!class_exists('Rsc_Autoloader', false)) {
13
+ require dirname(dirname(__FILE__)) . '/vendor/Rsc/Autoloader.php';
14
+ Rsc_Autoloader::register();
15
+ }
16
+
17
+ $pluginPath = dirname(dirname(__FILE__));
18
+ $pluginName = 'sss';
19
+ $pluginTitleName = 'Social Share by Supsystic';
20
+ $pluginSlug = 'supsystic-social-sharing';
21
+ $environment = new Rsc_Environment($pluginName, '2.1.14', $pluginPath);
22
+
23
+ /* Configure */
24
+ $environment->configure(
25
+ array(
26
+ 'optimizations' => 1,
27
+ 'environment' => $this->getPluginEnvironment(),
28
+ 'default_module' => 'projects',
29
+ 'lang_domain' => 'social_sharing',
30
+ 'lang_path' => plugin_basename(dirname(__FILE__)) . '/langs',
31
+ 'plugin_title_name' => $pluginTitleName,
32
+ 'plugin_slug' => $pluginSlug,
33
+ 'plugin_prefix' => 'SocialSharing',
34
+ 'plugin_source' => $pluginPath . '/src',
35
+ 'plugin_menu' => array(
36
+ 'page_title' => __(
37
+ $pluginTitleName,
38
+ $pluginSlug
39
+ ),
40
+ 'menu_title' => __(
41
+ $pluginTitleName,
42
+ $pluginSlug
43
+ ),
44
+ 'capability' => 'manage_options',
45
+ 'menu_slug' => $pluginSlug,
46
+ 'icon_url' => 'dashicons-share',
47
+ 'position' => '101.8',
48
+ ),
49
+ 'shortcode_name' => 'grid-gallery',
50
+ 'db_prefix' => 'supsystic_ss_',
51
+ 'hooks_prefix' => 'supsystic_ss_',
52
+ 'ajax_url' => admin_url('admin-ajax.php'),
53
+ 'admin_url' => admin_url(),
54
+ 'uploads_rw' => true,
55
+ 'jpeg_quality' => 95,
56
+ 'plugin_db_update' => true,
57
+ 'revision' => 325,
58
+ 'welcome_page_was_showed' => get_option($pluginName . '_welcome_page_was_showed'),
59
+ 'promo_controller' => 'SocialSharing_Promo_Controller',
60
+ 'pro_button_option_prefix'=>'pro_button_option_',
61
+ )
62
+ );
63
+
64
+ $this->environment = $environment;
65
+ }
66
+
67
+ public function getEnvironment() {
68
+ return $this->environment;
69
+ }
70
+
71
+ public function run()
72
+ {
73
+ // if (isset($_GET['sharing_install_db'])) {
74
+ // $this->createSchema();
75
+ // }
76
+
77
+ /*if (isset($_GET['sharing_reinstall_db'])) {
78
+ $this->dropSchema();
79
+ $this->createSchema();
80
+ }*/
81
+
82
+ $this->environment->run();
83
+ }
84
+
85
+ public function activate($bootstrap)
86
+ {
87
+ //if is multisite mode
88
+ if (function_exists('is_multisite') && is_multisite()) {
89
+ global $wpdb;
90
+
91
+ // $orig_id = $wpdb->blogid;
92
+ $blog_id = $wpdb->get_col("SELECT blog_id FROM $wpdb->blogs");
93
+
94
+ foreach ($blog_id as $id) {
95
+ if (switch_to_blog($id)) {
96
+ $this->createSchema();
97
+
98
+ $this->installUpdate();
99
+ restore_current_blog();
100
+ }
101
+ }
102
+ // restore_current_blog();
103
+ //switch_to_blog($orig_id);
104
+ } else {
105
+ $this->createSchema();
106
+
107
+ $this->installUpdate();
108
+ }
109
+ $path = dirname(__FILE__) . '/configs/update_networks.sql';
110
+ $this->updateFromFile($path);
111
+ }
112
+
113
+ public function installUpdate()
114
+ {
115
+ $currentOptionRevision = (int)get_option($this->environment->getPluginName().'_updated');
116
+ $configRevision = (int)$this->environment->getConfig()->get('revision');
117
+ $updatePath = dirname(__FILE__) . '/configs/';
118
+
119
+ if($currentOptionRevision < $configRevision) {
120
+ for ($i = $currentOptionRevision; $i <= $configRevision; $i++) {
121
+ $file = $updatePath . 'rev-'.$i.'.sql';
122
+
123
+ if (!file_exists($file)) {
124
+ continue;
125
+ }
126
+ try {
127
+ $this->updateFromFile($file);
128
+ } catch (Exception $e) {
129
+ if (!$this->environment->isPluginPage()) {
130
+ return;
131
+ }
132
+ wp_die(
133
+ sprintf(
134
+ 'Failed to update plugin database. Reason: %s',
135
+ $e->getMessage()
136
+ )
137
+ );
138
+ }
139
+ }
140
+ update_option($this->environment->getPluginName().'_updated', $configRevision);
141
+ }
142
+ }
143
+
144
+ /**
145
+ * Loads updates from the file and update the database.
146
+ * @param string $file Path to updates file.
147
+ */
148
+ private function updateFromFile($file)
149
+ {
150
+ if (!is_readable($file)) {
151
+ throw new RuntimeException(
152
+ sprintf('File "%s" is not readable.', $file)
153
+ );
154
+ }
155
+
156
+ if (false === $content = file_get_contents($file)) {
157
+ throw new RuntimeException(
158
+ sprintf('Failed to read file "%s".', $file)
159
+ );
160
+ }
161
+ $this->update($content);
162
+ }
163
+
164
+ /**
165
+ * Updates the database.
166
+ * @param string $data
167
+ */
168
+ private function update($data)
169
+ {
170
+ global $wpdb;
171
+ if (!function_exists('dbDelta')) {
172
+ require_once(ABSPATH.'wp-admin/includes/upgrade.php');
173
+ }
174
+
175
+ $prefix = $wpdb->prefix . $this->environment->getConfig()->get('db_prefix');
176
+ $data = str_replace('%prefix%', $prefix, $data);
177
+
178
+ if ('delete' === substr(strtolower($data), 0, 6)) {
179
+ foreach(explode(';',$data) as $q){
180
+ $wpdb->query($q);
181
+ }
182
+ return;
183
+ }
184
+ // CREATE and INSERT only. No ALTER - dbDella modifies tables itself
185
+ dbDelta('SET FOREIGN_KEY_CHECKS=0');
186
+ dbDelta($data);
187
+ dbDelta('SET FOREIGN_KEY_CHECKS=1');
188
+ }
189
+
190
+ public function updateDb() {
191
+ global $wpdb;
192
+
193
+ $schema = dirname(__FILE__) . '/configs/dbupdate.sql';
194
+ $networks = dirname(__FILE__) . '/configs/update_networks.sql';
195
+ $prefix = $wpdb->prefix . $this->environment
196
+ ->getConfig()
197
+ ->get('db_prefix');
198
+ if (!function_exists('dbDelta')) {
199
+ require_once(ABSPATH.'wp-admin/includes/upgrade.php');
200
+ }
201
+
202
+ $checkTable = 'SHOW TABLES LIKE "'. $prefix .'views";';
203
+
204
+ if(!$wpdb->get_results($checkTable)) {
205
+ $sql = str_replace('%prefix%', $prefix, file_get_contents($schema));
206
+
207
+ dbDelta('SET FOREIGN_KEY_CHECKS=0');
208
+ dbDelta($sql);
209
+ dbDelta('SET FOREIGN_KEY_CHECKS=1');
210
+ }
211
+
212
+ $sql = str_replace('%prefix%', $prefix, file_get_contents($networks));
213
+
214
+ dbDelta('SET FOREIGN_KEY_CHECKS=0');
215
+ dbDelta($sql);
216
+ dbDelta('SET FOREIGN_KEY_CHECKS=1');
217
+ }
218
+
219
+
220
+ public function createSchema()
221
+ {
222
+ global $wpdb;
223
+
224
+ if(get_option($this->environment->getPluginName().'_installed'))
225
+ return;
226
+
227
+ if (is_file($schema = dirname(__FILE__) . '/configs/dbschema.sql')) {
228
+ $prefix = $wpdb->prefix . $this->environment
229
+ ->getConfig()
230
+ ->get('db_prefix');
231
+
232
+ $sql = str_replace('%prefix%', $prefix, file_get_contents($schema));
233
+
234
+ if (!function_exists('dbDelta')) {
235
+ require_once(ABSPATH.'wp-admin/includes/upgrade.php');
236
+ }
237
+
238
+ $queryList = array_map('trim', explode(';', $sql));
239
+
240
+ $wpdb->show_errors = false;
241
+
242
+ foreach ($queryList as $query) {
243
+ if(empty($query)) continue;
244
+ $wpdb->query($query);
245
+ }
246
+
247
+ $wpdb->show_errors = true;
248
+
249
+ update_option($this->environment->getPluginName().'_installed', 1);
250
+ }
251
+ }
252
+
253
+ public function dropSchema()
254
+ {
255
+ global $wpdb;
256
+
257
+ $prefix = $wpdb->prefix . $this->environment
258
+ ->getConfig()
259
+ ->get('db_prefix');
260
+
261
+ $tables = $wpdb->get_results('SHOW TABLES LIKE \''.$prefix.'%\'', ARRAY_N);
262
+
263
+ if (count($tables) < 1) {
264
+ return;
265
+ }
266
+
267
+ $wpdb->query('SET FOREIGN_KEY_CHECKS=0');
268
+ foreach ($tables as $inded => $table) {
269
+ $wpdb->query('DROP TABLE IF EXISTS '.array_pop($table).' CASCADE;');
270
+ }
271
+
272
+ $wpdb->query('SET FOREIGN_KEY_CHECKS=1');
273
+ }
274
+ public function dropOptions()
275
+ {
276
+ delete_option($this->environment->getPluginName().'_installed');
277
+ delete_option($this->environment->getPluginName().'_updated');
278
+ delete_option($this->environment->getPluginName().'_promo_shown');
279
+ delete_option('_social_sharing_rev');
280
+ }
281
+ public function deactivate($bootstrap)
282
+ {
283
+ register_deactivation_hook($bootstrap, array($this, 'dropOptions'));
284
+ // register_deactivation_hook($bootstrap, array($this, 'dropSchema'));
285
+ }
286
+
287
+ protected function getPluginEnvironment()
288
+ {
289
+ $environment = Rsc_Environment::ENV_PRODUCTION;
290
+
291
+ if ((defined('WP_DEBUG') && WP_DEBUG) || (defined(
292
+ 'SUPSYSTIC_SS_DEBUG'
293
+ ) && SUPSYSTIC_SS_DEBUG)
294
+ ) {
295
+ $environment = Rsc_Environment::ENV_DEVELOPMENT;
296
+ }
297
+
298
+ if ($_SERVER['SERVER_NAME'] === 'localhost' && $_SERVER['SERVER_PORT'] === '8001') {
299
+ $environment = Rsc_Environment::ENV_DEVELOPMENT;
300
+ }
301
+
302
+ return $environment;
303
+ }
304
+ }
app/assets/brand-colors.less CHANGED
@@ -1,20 +1,20 @@
1
- // Non-network colors:
2
- @brand-color-like: #9b59b6;
3
- @brand-color-print: #122435;
4
- @brand-color-bookmark: #ef7053;
5
- @brand-color-mail: #ed4926;
6
-
7
- // Network colors:
8
- @brand-color-twitter: #55acee;
9
- @brand-color-facebook: #3b5998;
10
- @brand-color-googleplus: #dd4b39;
11
- @brand-color-vkontakte: #45668e;
12
- @brand-color-reddit: #cee3f8;
13
- @brand-color-pinterest: #cc2127;
14
- @brand-color-digg: #000000;
15
- @brand-color-stumbleupon: #eb4924;
16
- @brand-color-delicious: #3399ff;
17
- @brand-color-livejournal: #003446;
18
- @brand-color-odnoklassniki: #ed812b;
19
- @brand-color-linkedin: #0077b5;
20
  @brand-color-evernote: #6ba92f;
1
+ // Non-network colors:
2
+ @brand-color-like: #9b59b6;
3
+ @brand-color-print: #122435;
4
+ @brand-color-bookmark: #ef7053;
5
+ @brand-color-mail: #ed4926;
6
+
7
+ // Network colors:
8
+ @brand-color-twitter: #55acee;
9
+ @brand-color-facebook: #3b5998;
10
+ @brand-color-googleplus: #dd4b39;
11
+ @brand-color-vkontakte: #45668e;
12
+ @brand-color-reddit: #cee3f8;
13
+ @brand-color-pinterest: #cc2127;
14
+ @brand-color-digg: #000000;
15
+ @brand-color-stumbleupon: #eb4924;
16
+ @brand-color-delicious: #3399ff;
17
+ @brand-color-livejournal: #003446;
18
+ @brand-color-odnoklassniki: #ed812b;
19
+ @brand-color-linkedin: #0077b5;
20
  @brand-color-evernote: #6ba92f;
app/assets/css/admin.css CHANGED
@@ -1,10 +1,10 @@
1
- #toplevel_page_supsystic-social-sharing .wp-submenu.wp-submenu-wrap .wp-first-item {
2
- display: none;
3
- }
4
- ul.unordered-list-in-tutorial-tour {
5
- list-style: disc;
6
- padding: 0 0 0 40px;
7
- }
8
- ul.unordered-list-in-tutorial-tour li{
9
- margin-bottom: 0;
10
  }
1
+ #toplevel_page_supsystic-social-sharing .wp-submenu.wp-submenu-wrap .wp-first-item {
2
+ display: none;
3
+ }
4
+ ul.unordered-list-in-tutorial-tour {
5
+ list-style: disc;
6
+ padding: 0 0 0 40px;
7
+ }
8
+ ul.unordered-list-in-tutorial-tour li{
9
+ margin-bottom: 0;
10
  }
app/assets/css/chosen.min.css CHANGED
@@ -1,29 +1,29 @@
1
- /* Chosen v1.1.0 | (c) 2011-2013 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */
2
-
3
- .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;width: 100% !important;}.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,.15)}.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 #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.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}.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}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.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}.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:#fff 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}.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}.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}.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}.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}.chosen-container .chosen-results li.no-results{display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.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}.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}
4
- .chosen-container-multi .chosen-choices li.search-field input[type=text]{
5
- margin:1px 0;
6
- padding:5px;
7
- height:25px;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}
8
- .chosen-container-multi .chosen-choices li.search-field .default{color:#999}
9
- .chosen-container-multi .chosen-choices li.search-choice{
10
- position:relative;margin:3px 0 3px 5px;padding:3px 20px 3px 5px;
11
- border:1px solid #aaa;border-radius:3px;background-color:#e4e4e4;
12
- 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));
13
- background-image:-webkit-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
14
- background-image:-moz-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
15
- background-image:-o-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
16
- background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
17
- background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);
18
- color:#333;line-height:13px;cursor:default}
19
- .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{
20
- position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}
21
- .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}
22
- .chosen-container-multi .chosen-choices li.search-choice-disabled{
23
- padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;
24
- 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));
25
- background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
26
- background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
27
- background-image:-o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
28
- background-image:linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
29
  color:#666}.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}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(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}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:transparent}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#111!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.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}.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}.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}.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}.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}.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:#fff url(chosen-sprite.png) no-repeat -30px -20px;background:url(chosen-sprite.png) no-repeat -30px -20px;direction:rtl}.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}@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}}
1
+ /* Chosen v1.1.0 | (c) 2011-2013 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */
2
+
3
+ .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;width: 100% !important;}.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,.15)}.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 #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.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}.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}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.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}.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:#fff 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}.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}.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}.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}.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}.chosen-container .chosen-results li.no-results{display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.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}.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}
4
+ .chosen-container-multi .chosen-choices li.search-field input[type=text]{
5
+ margin:1px 0;
6
+ padding:5px;
7
+ height:25px;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}
8
+ .chosen-container-multi .chosen-choices li.search-field .default{color:#999}
9
+ .chosen-container-multi .chosen-choices li.search-choice{
10
+ position:relative;margin:3px 0 3px 5px;padding:3px 20px 3px 5px;
11
+ border:1px solid #aaa;border-radius:3px;background-color:#e4e4e4;
12
+ 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));
13
+ background-image:-webkit-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
14
+ background-image:-moz-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
15
+ background-image:-o-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
16
+ background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
17
+ background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);
18
+ color:#333;line-height:13px;cursor:default}
19
+ .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{
20
+ position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}
21
+ .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}
22
+ .chosen-container-multi .chosen-choices li.search-choice-disabled{
23
+ padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;
24
+ 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));
25
+ background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
26
+ background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
27
+ background-image:-o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
28
+ background-image:linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
29
  color:#666}.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}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(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}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:transparent}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#111!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.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}.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}.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}.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}.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}.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:#fff url(chosen-sprite.png) no-repeat -30px -20px;background:url(chosen-sprite.png) no-repeat -30px -20px;direction:rtl}.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}@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}}
app/assets/css/libraries/bootstrap/bootstrap.min.css CHANGED
@@ -1,10 +1,10 @@
1
- /*!
2
- * Bootstrap v3.3.1 (http://getbootstrap.com)
3
- * Copyright 2011-2015 Twitter, Inc.
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
- */
6
-
7
- /*!
8
- * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=d0958b1794002b881652)
9
- * Config saved to config.json and https://gist.github.com/d0958b1794002b881652
10
  *//*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{}body{}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:hover,a:focus{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none;visibility:hidden}.collapse.in{display:block;visibility:visible}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height, visibility;-o-transition-property:height, visibility;transition-property:height, visibility;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:hover,a.label:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:hover,.label-default[href]:focus{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;color:#fff;line-height:1;vertical-align:baseline;white-space:nowrap;text-align:center;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.tooltip{position:absolute;z-index:1070;display:block;visibility:visible;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:normal;line-height:1.4;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important;visibility:hidden !important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none !important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none !important}@media (max-width:767px){.visible-xs{display:block !important}table.visible-xs{display:table}tr.visible-xs{display:table-row !important}th.visible-xs,td.visible-xs{display:table-cell !important}}@media (max-width:767px){.visible-xs-block{display:block !important}}@media (max-width:767px){.visible-xs-inline{display:inline !important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block !important}table.visible-sm{display:table}tr.visible-sm{display:table-row !important}th.visible-sm,td.visible-sm{display:table-cell !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block !important}table.visible-md{display:table}tr.visible-md{display:table-row !important}th.visible-md,td.visible-md{display:table-cell !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block !important}}@media (min-width:1200px){.visible-lg{display:block !important}table.visible-lg{display:table}tr.visible-lg{display:table-row !important}th.visible-lg,td.visible-lg{display:table-cell !important}}@media (min-width:1200px){.visible-lg-block{display:block !important}}@media (min-width:1200px){.visible-lg-inline{display:inline !important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block !important}}@media (max-width:767px){.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg{display:none !important}}.visible-print{display:none !important}@media print{.visible-print{display:block !important}table.visible-print{display:table}tr.visible-print{display:table-row !important}th.visible-print,td.visible-print{display:table-cell !important}}.visible-print-block{display:none !important}@media print{.visible-print-block{display:block !important}}.visible-print-inline{display:none !important}@media print{.visible-print-inline{display:inline !important}}.visible-print-inline-block{display:none !important}@media print{.visible-print-inline-block{display:inline-block !important}}@media print{.hidden-print{display:none !important}}
1
+ /*!
2
+ * Bootstrap v3.3.1 (http://getbootstrap.com)
3
+ * Copyright 2011-2015 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+
7
+ /*!
8
+ * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=d0958b1794002b881652)
9
+ * Config saved to config.json and https://gist.github.com/d0958b1794002b881652
10
  *//*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{}body{}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:hover,a:focus{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none;visibility:hidden}.collapse.in{display:block;visibility:visible}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height, visibility;-o-transition-property:height, visibility;transition-property:height, visibility;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:hover,a.label:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:hover,.label-default[href]:focus{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;color:#fff;line-height:1;vertical-align:baseline;white-space:nowrap;text-align:center;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.tooltip{position:absolute;z-index:1070;display:block;visibility:visible;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:normal;line-height:1.4;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important;visibility:hidden !important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none !important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none !important}@media (max-width:767px){.visible-xs{display:block !important}table.visible-xs{display:table}tr.visible-xs{display:table-row !important}th.visible-xs,td.visible-xs{display:table-cell !important}}@media (max-width:767px){.visible-xs-block{display:block !important}}@media (max-width:767px){.visible-xs-inline{display:inline !important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block !important}table.visible-sm{display:table}tr.visible-sm{display:table-row !important}th.visible-sm,td.visible-sm{display:table-cell !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block !important}table.visible-md{display:table}tr.visible-md{display:table-row !important}th.visible-md,td.visible-md{display:table-cell !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block !important}}@media (min-width:1200px){.visible-lg{display:block !important}table.visible-lg{display:table}tr.visible-lg{display:table-row !important}th.visible-lg,td.visible-lg{display:table-cell !important}}@media (min-width:1200px){.visible-lg-block{display:block !important}}@media (min-width:1200px){.visible-lg-inline{display:inline !important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block !important}}@media (max-width:767px){.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg{display:none !important}}.visible-print{display:none !important}@media print{.visible-print{display:block !important}table.visible-print{display:table}tr.visible-print{display:table-row !important}th.visible-print,td.visible-print{display:table-cell !important}}.visible-print-block{display:none !important}@media print{.visible-print-block{display:block !important}}.visible-print-inline{display:none !important}@media print{.visible-print-inline{display:inline !important}}.visible-print-inline-block{display:none !important}@media print{.visible-print-inline-block{display:inline-block !important}}@media print{.hidden-print{display:none !important}}
app/assets/css/libraries/jqGrid/ui.jqgrid.css CHANGED
@@ -1,170 +1,170 @@
1
- /*Grid*/
2
- .ui-jqgrid {position: relative;}
3
- .ui-jqgrid .ui-jqgrid-view {position: relative;left:0; top: 0; padding: 0; font-size:11px;}
4
- /* caption*/
5
- .ui-jqgrid .ui-jqgrid-titlebar {padding: .3em .2em .2em .3em; position: relative; font-size: 12px; border-left: 0 none;border-right: 0 none; border-top: 0 none;}
6
- .ui-jqgrid .ui-jqgrid-caption {text-align: left;}
7
- .ui-jqgrid .ui-jqgrid-title { margin: .1em 0 .2em; }
8
- .ui-jqgrid .ui-jqgrid-titlebar-close { position: absolute;top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height:18px; cursor:pointer;}
9
-
10
-
11
- /* header*/
12
- .ui-jqgrid .ui-jqgrid-hdiv {position: relative; margin: 0;padding: 0; overflow-x: hidden; border-left: 0 none !important; border-top : 0 none !important; border-right : 0 none !important;}
13
- .ui-jqgrid .ui-jqgrid-hbox {float: left; padding-right: 20px;}
14
- .ui-jqgrid .ui-jqgrid-htable {table-layout:fixed;margin:0;}
15
- .ui-jqgrid .ui-jqgrid-htable th {height:22px;padding: 0 2px 0 2px;}
16
- .ui-jqgrid .ui-jqgrid-htable th div {overflow: hidden; position:relative; height:17px;}
17
- .ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {overflow: hidden;white-space: nowrap;text-align:center;border-top : 0 none;border-bottom : 0 none;}
18
- .ui-th-ltr, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr {border-left : 0 none;}
19
- .ui-th-rtl, .ui-jqgrid .ui-jqgrid-htable th.ui-th-rtl {border-right : 0 none;}
20
- .ui-first-th-ltr {border-right: 1px solid; }
21
- .ui-first-th-rtl {border-left: 1px solid; }
22
- .ui-jqgrid .ui-th-div-ie {white-space: nowrap; zoom :1; height:17px;}
23
- .ui-jqgrid .ui-jqgrid-resize {height:20px !important;position: relative; cursor :e-resize;display: inline;overflow: hidden;}
24
- .ui-jqgrid .ui-icon-asc {margin-top:-3px; height:12px;}
25
-
26
- .ui-jqgrid .ui-i-asc {margin-top:0;height:16px;}
27
- .ui-jqgrid .ui-i-desc {margin-top:0;margin-left:13px;height:16px;}
28
- .ui-jqgrid .ui-jqgrid-sortable {cursor:pointer;}
29
- .ui-jqgrid tr.ui-search-toolbar th { border-top-width: 1px !important; border-top-color: inherit !important; border-top-style: ridge !important }
30
- tr.ui-search-toolbar input {margin: 1px 0 0 0}
31
- tr.ui-search-toolbar select {margin: 1px 0 0 0}
32
- /* body */
33
- .ui-jqgrid .ui-jqgrid-bdiv {position: relative; margin: 0; padding:0; overflow: hidden; text-align:left;}
34
- .ui-jqgrid .ui-jqgrid-btable {table-layout:fixed; margin:0; outline-style: none; }
35
- .ui-jqgrid tr.jqgrow { outline-style: none; }
36
- .ui-jqgrid tr.jqgroup { outline-style: none; }
37
- .ui-jqgrid tr.jqgrow td {font-weight: normal; overflow: hidden; white-space: pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
38
- .ui-jqgrid tr.jqgfirstrow td {padding: 0 2px 0 2px;border-right-width: 1px; border-right-style: solid;}
39
- .ui-jqgrid tr.jqgroup td {font-weight: normal; overflow: hidden; white-space: pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
40
- .ui-jqgrid tr.jqfoot td {font-weight: bold; overflow: hidden; white-space: pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
41
- .ui-jqgrid tr.ui-row-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;}
42
- .ui-jqgrid tr.ui-row-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;}
43
- .ui-jqgrid td.jqgrid-rownum { padding: 0 2px 0 2px; margin: 0; border: 0 none;}
44
- .ui-jqgrid .ui-jqgrid-resize-mark { width:2px; left:0; background-color:#777; cursor: e-resize; cursor: col-resize; position:absolute; top:0; height:100px; overflow:hidden; display:none; border:0 none; z-index: 99999;}
45
- /* footer */
46
- .ui-jqgrid .ui-jqgrid-sdiv {position: relative; margin: 0;padding: 0; overflow: hidden; border-left: 0 none !important; border-top : 0 none !important; border-right : 0 none !important;}
47
- .ui-jqgrid .ui-jqgrid-ftable {table-layout:fixed; margin-bottom:0;}
48
- .ui-jqgrid tr.footrow td {font-weight: bold; overflow: hidden; white-space:nowrap; height: 21px;padding: 0 2px 0 2px;border-top-width: 1px; border-top-color: inherit; border-top-style: solid;}
49
- .ui-jqgrid tr.footrow-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;}
50
- .ui-jqgrid tr.footrow-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;}
51
- /* Pager*/
52
- .ui-jqgrid .ui-jqgrid-pager { border-left: 0 none !important;border-right: 0 none !important; border-bottom: 0 none !important; margin: 0 !important; padding: 0 !important; position: relative; height: 25px;white-space: nowrap;overflow: hidden;font-size:11px;}
53
- .ui-jqgrid .ui-pager-control {position: relative;}
54
- .ui-jqgrid .ui-pg-table {position: relative; padding-bottom:2px; width:auto; margin: 0;}
55
- .ui-jqgrid .ui-pg-table td {font-weight:normal; vertical-align:middle;}
56
- .ui-jqgrid .ui-pg-button { height:19px !important;}
57
- .ui-jqgrid .ui-pg-button span { display: block; margin: 1px; float:left;}
58
-
59
-
60
- .ui-jqgrid .ui-pg-input { height:13px;font-size:.8em; margin: 0;}
61
- .ui-jqgrid .ui-pg-selbox {font-size:.8em; line-height:18px; display:block; height:18px; margin: 0;}
62
- .ui-jqgrid .ui-separator {height: 18px; border-left: 1px solid #ccc ; border-right: 1px solid #ccc ; margin: 1px; float: right;}
63
- .ui-jqgrid .ui-paging-info {font-weight: normal;height:19px; margin-top:3px;margin-right:4px;}
64
- .ui-jqgrid .ui-jqgrid-pager .ui-pg-div {padding:1px 0;float:left;position:relative;}
65
- .ui-jqgrid .ui-jqgrid-pager .ui-pg-button { cursor:pointer; }
66
- .ui-jqgrid .ui-jqgrid-pager .ui-pg-div span.ui-icon {float:left;margin:0 2px;}
67
- .ui-jqgrid td input, .ui-jqgrid td select .ui-jqgrid td textarea { margin: 0;}
68
- .ui-jqgrid td textarea {width:auto;height:auto;}
69
- .ui-jqgrid .ui-jqgrid-toppager {border-left: 0 none !important;border-right: 0 none !important; border-top: 0 none !important; margin: 0 !important; padding: 0 !important; position: relative; height: 25px !important;white-space: nowrap;overflow: hidden;}
70
- .ui-jqgrid .ui-jqgrid-toppager .ui-pg-div {padding:1px 0;float:left;position:relative;}
71
- .ui-jqgrid .ui-jqgrid-toppager .ui-pg-button { cursor:pointer; }
72
- .ui-jqgrid .ui-jqgrid-toppager .ui-pg-div span.ui-icon {float:left;margin:0 2px;}
73
- /*subgrid*/
74
- .ui-jqgrid .ui-jqgrid-btable .ui-sgcollapsed span {display: block;}
75
- .ui-jqgrid .ui-subgrid {margin:0;padding:0; width:100%;}
76
- .ui-jqgrid .ui-subgrid table {table-layout: fixed;}
77
- .ui-jqgrid .ui-subgrid tr.ui-subtblcell td {height:18px;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
78
- .ui-jqgrid .ui-subgrid td.subgrid-data {border-top: 0 none !important;}
79
- .ui-jqgrid .ui-subgrid td.subgrid-cell {border-width: 0 0 1px 0;}
80
- .ui-jqgrid .ui-th-subgrid {height:20px;}
81
- /* loading */
82
- .ui-jqgrid .loading {position: absolute; top: 45%;left: 45%;width: auto;z-index:101;padding: 6px; margin: 5px;text-align: center;font-weight: bold;display: none;border-width: 2px !important; font-size:11px;}
83
- .ui-jqgrid .jqgrid-overlay {display:none;z-index:100;}
84
- /* IE * html .jqgrid-overlay {width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');} */
85
- * .jqgrid-overlay iframe {position:absolute;top:0;left:0;z-index:-1;}
86
- /* IE width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}*/
87
- /* end loading div */
88
- /* toolbar */
89
- .ui-jqgrid .ui-userdata {border-left: 0 none; border-right: 0 none; height : 21px;overflow: hidden; }
90
- /*Modal Window */
91
- .ui-jqdialog { display: none; width: 300px; position: absolute; padding: .2em; font-size:11px; overflow:visible;}
92
- .ui-jqdialog .ui-jqdialog-titlebar { padding: .3em .2em; position: relative; }
93
- .ui-jqdialog .ui-jqdialog-title { margin: .1em 0 .2em; }
94
- .ui-jqdialog .ui-jqdialog-titlebar-close { position: absolute; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; cursor:pointer;}
95
-
96
- .ui-jqdialog .ui-jqdialog-titlebar-close span { display: block; margin: 1px; }
97
- .ui-jqdialog .ui-jqdialog-titlebar-close:hover, .ui-jqdialog .ui-jqdialog-titlebar-close:focus { padding: 0; }
98
- .ui-jqdialog-content, .ui-jqdialog .ui-jqdialog-content { border: 0; padding: .3em .2em; background: none; height:auto;}
99
- .ui-jqdialog .ui-jqconfirm {padding: .4em 1em; border-width:3px;position:absolute;bottom:10px;right:10px;overflow:visible;display:none;height:80px;width:220px;text-align:center;}
100
- .ui-jqdialog>.ui-resizable-se { bottom: -3px; right: -3px}
101
- .ui-jqgrid>.ui-resizable-se { bottom: -3px; right: -3px }
102
- /* end Modal window*/
103
- /* Form edit */
104
- .ui-jqdialog-content .FormGrid {margin: 0;}
105
- .ui-jqdialog-content .EditTable { width: 100%; margin-bottom:0;}
106
- .ui-jqdialog-content .DelTable { width: 100%; margin-bottom:0;}
107
- .EditTable td input, .EditTable td select, .EditTable td textarea {margin: 0;}
108
- .EditTable td textarea { width:auto; height:auto;}
109
- .ui-jqdialog-content td.EditButton {text-align: right;border-top: 0 none;border-left: 0 none;border-right: 0 none; padding-bottom:5px; padding-top:5px;}
110
- .ui-jqdialog-content td.navButton {text-align: center; border-left: 0 none;border-top: 0 none;border-right: 0 none; padding-bottom:5px; padding-top:5px;}
111
- .ui-jqdialog-content input.FormElement {padding:.3em}
112
- .ui-jqdialog-content select.FormElement {padding:.3em}
113
- .ui-jqdialog-content .data-line {padding-top:.1em;border: 0 none;}
114
-
115
- .ui-jqdialog-content .CaptionTD {vertical-align: middle;border: 0 none; padding: 2px;white-space: nowrap;}
116
- .ui-jqdialog-content .DataTD {padding: 2px; border: 0 none; vertical-align: top;}
117
- .ui-jqdialog-content .form-view-data {white-space:pre}
118
- .fm-button { display: inline-block; margin:0 4px 0 0; padding: .4em .5em; text-decoration:none !important; cursor:pointer; position: relative; text-align: center; zoom: 1; }
119
- .fm-button-icon-left { padding-left: 1.9em; }
120
- .fm-button-icon-right { padding-right: 1.9em; }
121
- .fm-button-icon-left .ui-icon { right: auto; left: .2em; margin-left: 0; position: absolute; top: 50%; margin-top: -8px; }
122
- .fm-button-icon-right .ui-icon { left: auto; right: .2em; margin-left: 0; position: absolute; top: 50%; margin-top: -8px;}
123
- #nData, #pData { float: left; margin:3px;padding: 0; width: 15px; }
124
- /* End Eorm edit */
125
- /*.ui-jqgrid .edit-cell {}*/
126
- .ui-jqgrid .selected-row, div.ui-jqgrid .selected-row td {font-style : normal;border-left: 0 none;}
127
- /* inline edit actions button*/
128
- .ui-inline-del.ui-state-hover span, .ui-inline-edit.ui-state-hover span,
129
- .ui-inline-save.ui-state-hover span, .ui-inline-cancel.ui-state-hover span {
130
- margin: -1px;
131
- }
132
- /* Tree Grid */
133
- .ui-jqgrid .tree-wrap {float: left; position: relative;height: 18px;white-space: nowrap;overflow: hidden;}
134
- .ui-jqgrid .tree-minus {position: absolute; height: 18px; width: 18px; overflow: hidden;}
135
- .ui-jqgrid .tree-plus {position: absolute; height: 18px; width: 18px; overflow: hidden;}
136
- .ui-jqgrid .tree-leaf {position: absolute; height: 18px; width: 18px;overflow: hidden;}
137
- .ui-jqgrid .treeclick {cursor: pointer;}
138
- /* moda dialog */
139
- * iframe.jqm {position:absolute;top:0;left:0;z-index:-1;}
140
- /* width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}*/
141
- .ui-jqgrid-dnd tr td {border-right-width: 1px; border-right-color: inherit; border-right-style: solid; height:20px}
142
- /* RTL Support */
143
- .ui-jqgrid .ui-jqgrid-caption-rtl {text-align: right;}
144
- .ui-jqgrid .ui-jqgrid-hbox-rtl {float: right; padding-left: 20px;}
145
- .ui-jqgrid .ui-jqgrid-resize-ltr {float: right;margin: -2px -2px -2px 0;}
146
- .ui-jqgrid .ui-jqgrid-resize-rtl {float: left;margin: -2px 0 -1px -3px;}
147
- .ui-jqgrid .ui-sort-rtl {left:0;}
148
- .ui-jqgrid .tree-wrap-ltr {float: left;}
149
- .ui-jqgrid .tree-wrap-rtl {float: right;}
150
- .ui-jqgrid .ui-ellipsis {-moz-text-overflow:ellipsis;text-overflow:ellipsis;}
151
-
152
- /* Toolbar Search Menu */
153
- .ui-search-menu { position: absolute; padding: 2px 5px;}
154
- .ui-jqgrid .ui-search-table { padding: 0; border: 0 none; height:20px; width:100%;}
155
- .ui-jqgrid .ui-search-table .ui-search-oper { width:20px; }
156
- a.g-menu-item, a.soptclass, a.clearsearchclass { cursor: pointer; }
157
- .ui-jqgrid .ui-search-table .ui-search-input>input,
158
- .ui-jqgrid .ui-search-table .ui-search-input>select
159
- {
160
- display: block;
161
- -moz-box-sizing: border-box;
162
- -webkit-box-sizing: border-box;
163
- box-sizing: border-box;
164
- }
165
- .ui-jqgrid .ui-jqgrid-view input,
166
- .ui-jqgrid .ui-jqgrid-view select,
167
- .ui-jqgrid .ui-jqgrid-view textarea,
168
- .ui-jqgrid .ui-jqgrid-view button {
169
- font-size: 11px
170
- }
1
+ /*Grid*/
2
+ .ui-jqgrid {position: relative;}
3
+ .ui-jqgrid .ui-jqgrid-view {position: relative;left:0; top: 0; padding: 0; font-size:11px;}
4
+ /* caption*/
5
+ .ui-jqgrid .ui-jqgrid-titlebar {padding: .3em .2em .2em .3em; position: relative; font-size: 12px; border-left: 0 none;border-right: 0 none; border-top: 0 none;}
6
+ .ui-jqgrid .ui-jqgrid-caption {text-align: left;}
7
+ .ui-jqgrid .ui-jqgrid-title { margin: .1em 0 .2em; }
8
+ .ui-jqgrid .ui-jqgrid-titlebar-close { position: absolute;top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height:18px; cursor:pointer;}
9
+
10
+
11
+ /* header*/
12
+ .ui-jqgrid .ui-jqgrid-hdiv {position: relative; margin: 0;padding: 0; overflow-x: hidden; border-left: 0 none !important; border-top : 0 none !important; border-right : 0 none !important;}
13
+ .ui-jqgrid .ui-jqgrid-hbox {float: left; padding-right: 20px;}
14
+ .ui-jqgrid .ui-jqgrid-htable {table-layout:fixed;margin:0;}
15
+ .ui-jqgrid .ui-jqgrid-htable th {height:22px;padding: 0 2px 0 2px;}
16
+ .ui-jqgrid .ui-jqgrid-htable th div {overflow: hidden; position:relative; height:17px;}
17
+ .ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {overflow: hidden;white-space: nowrap;text-align:center;border-top : 0 none;border-bottom : 0 none;}
18
+ .ui-th-ltr, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr {border-left : 0 none;}
19
+ .ui-th-rtl, .ui-jqgrid .ui-jqgrid-htable th.ui-th-rtl {border-right : 0 none;}
20
+ .ui-first-th-ltr {border-right: 1px solid; }
21
+ .ui-first-th-rtl {border-left: 1px solid; }
22
+ .ui-jqgrid .ui-th-div-ie {white-space: nowrap; zoom :1; height:17px;}
23
+ .ui-jqgrid .ui-jqgrid-resize {height:20px !important;position: relative; cursor :e-resize;display: inline;overflow: hidden;}
24
+ .ui-jqgrid .ui-icon-asc {margin-top:-3px; height:12px;}
25
+
26
+ .ui-jqgrid .ui-i-asc {margin-top:0;height:16px;}
27
+ .ui-jqgrid .ui-i-desc {margin-top:0;margin-left:13px;height:16px;}
28
+ .ui-jqgrid .ui-jqgrid-sortable {cursor:pointer;}
29
+ .ui-jqgrid tr.ui-search-toolbar th { border-top-width: 1px !important; border-top-color: inherit !important; border-top-style: ridge !important }
30
+ tr.ui-search-toolbar input {margin: 1px 0 0 0}
31
+ tr.ui-search-toolbar select {margin: 1px 0 0 0}
32
+ /* body */
33
+ .ui-jqgrid .ui-jqgrid-bdiv {position: relative; margin: 0; padding:0; overflow: hidden; text-align:left;}
34
+ .ui-jqgrid .ui-jqgrid-btable {table-layout:fixed; margin:0; outline-style: none; }
35
+ .ui-jqgrid tr.jqgrow { outline-style: none; }
36
+ .ui-jqgrid tr.jqgroup { outline-style: none; }
37
+ .ui-jqgrid tr.jqgrow td {font-weight: normal; overflow: hidden; white-space: pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
38
+ .ui-jqgrid tr.jqgfirstrow td {padding: 0 2px 0 2px;border-right-width: 1px; border-right-style: solid;}
39
+ .ui-jqgrid tr.jqgroup td {font-weight: normal; overflow: hidden; white-space: pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
40
+ .ui-jqgrid tr.jqfoot td {font-weight: bold; overflow: hidden; white-space: pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
41
+ .ui-jqgrid tr.ui-row-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;}
42
+ .ui-jqgrid tr.ui-row-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;}
43
+ .ui-jqgrid td.jqgrid-rownum { padding: 0 2px 0 2px; margin: 0; border: 0 none;}
44
+ .ui-jqgrid .ui-jqgrid-resize-mark { width:2px; left:0; background-color:#777; cursor: e-resize; cursor: col-resize; position:absolute; top:0; height:100px; overflow:hidden; display:none; border:0 none; z-index: 99999;}
45
+ /* footer */
46
+ .ui-jqgrid .ui-jqgrid-sdiv {position: relative; margin: 0;padding: 0; overflow: hidden; border-left: 0 none !important; border-top : 0 none !important; border-right : 0 none !important;}
47
+ .ui-jqgrid .ui-jqgrid-ftable {table-layout:fixed; margin-bottom:0;}
48
+ .ui-jqgrid tr.footrow td {font-weight: bold; overflow: hidden; white-space:nowrap; height: 21px;padding: 0 2px 0 2px;border-top-width: 1px; border-top-color: inherit; border-top-style: solid;}
49
+ .ui-jqgrid tr.footrow-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;}
50
+ .ui-jqgrid tr.footrow-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;}
51
+ /* Pager*/
52
+ .ui-jqgrid .ui-jqgrid-pager { border-left: 0 none !important;border-right: 0 none !important; border-bottom: 0 none !important; margin: 0 !important; padding: 0 !important; position: relative; height: 25px;white-space: nowrap;overflow: hidden;font-size:11px;}
53
+ .ui-jqgrid .ui-pager-control {position: relative;}
54
+ .ui-jqgrid .ui-pg-table {position: relative; padding-bottom:2px; width:auto; margin: 0;}
55
+ .ui-jqgrid .ui-pg-table td {font-weight:normal; vertical-align:middle;}
56
+ .ui-jqgrid .ui-pg-button { height:19px !important;}
57
+ .ui-jqgrid .ui-pg-button span { display: block; margin: 1px; float:left;}
58
+
59
+
60
+ .ui-jqgrid .ui-pg-input { height:13px;font-size:.8em; margin: 0;}
61
+ .ui-jqgrid .ui-pg-selbox {font-size:.8em; line-height:18px; display:block; height:18px; margin: 0;}
62
+ .ui-jqgrid .ui-separator {height: 18px; border-left: 1px solid #ccc ; border-right: 1px solid #ccc ; margin: 1px; float: right;}
63
+ .ui-jqgrid .ui-paging-info {font-weight: normal;height:19px; margin-top:3px;margin-right:4px;}
64
+ .ui-jqgrid .ui-jqgrid-pager .ui-pg-div {padding:1px 0;float:left;position:relative;}
65
+ .ui-jqgrid .ui-jqgrid-pager .ui-pg-button { cursor:pointer; }
66
+ .ui-jqgrid .ui-jqgrid-pager .ui-pg-div span.ui-icon {float:left;margin:0 2px;}
67
+ .ui-jqgrid td input, .ui-jqgrid td select .ui-jqgrid td textarea { margin: 0;}
68
+ .ui-jqgrid td textarea {width:auto;height:auto;}
69
+ .ui-jqgrid .ui-jqgrid-toppager {border-left: 0 none !important;border-right: 0 none !important; border-top: 0 none !important; margin: 0 !important; padding: 0 !important; position: relative; height: 25px !important;white-space: nowrap;overflow: hidden;}
70
+ .ui-jqgrid .ui-jqgrid-toppager .ui-pg-div {padding:1px 0;float:left;position:relative;}
71
+ .ui-jqgrid .ui-jqgrid-toppager .ui-pg-button { cursor:pointer; }
72
+ .ui-jqgrid .ui-jqgrid-toppager .ui-pg-div span.ui-icon {float:left;margin:0 2px;}
73
+ /*subgrid*/
74
+ .ui-jqgrid .ui-jqgrid-btable .ui-sgcollapsed span {display: block;}
75
+ .ui-jqgrid .ui-subgrid {margin:0;padding:0; width:100%;}
76
+ .ui-jqgrid .ui-subgrid table {table-layout: fixed;}
77
+ .ui-jqgrid .ui-subgrid tr.ui-subtblcell td {height:18px;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
78
+ .ui-jqgrid .ui-subgrid td.subgrid-data {border-top: 0 none !important;}
79
+ .ui-jqgrid .ui-subgrid td.subgrid-cell {border-width: 0 0 1px 0;}
80
+ .ui-jqgrid .ui-th-subgrid {height:20px;}
81
+ /* loading */
82
+ .ui-jqgrid .loading {position: absolute; top: 45%;left: 45%;width: auto;z-index:101;padding: 6px; margin: 5px;text-align: center;font-weight: bold;display: none;border-width: 2px !important; font-size:11px;}
83
+ .ui-jqgrid .jqgrid-overlay {display:none;z-index:100;}
84
+ /* IE * html .jqgrid-overlay {width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');} */
85
+ * .jqgrid-overlay iframe {position:absolute;top:0;left:0;z-index:-1;}
86
+ /* IE width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}*/
87
+ /* end loading div */
88
+ /* toolbar */
89
+ .ui-jqgrid .ui-userdata {border-left: 0 none; border-right: 0 none; height : 21px;overflow: hidden; }
90
+ /*Modal Window */
91
+ .ui-jqdialog { display: none; width: 300px; position: absolute; padding: .2em; font-size:11px; overflow:visible;}
92
+ .ui-jqdialog .ui-jqdialog-titlebar { padding: .3em .2em; position: relative; }
93
+ .ui-jqdialog .ui-jqdialog-title { margin: .1em 0 .2em; }
94
+ .ui-jqdialog .ui-jqdialog-titlebar-close { position: absolute; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; cursor:pointer;}
95
+
96
+ .ui-jqdialog .ui-jqdialog-titlebar-close span { display: block; margin: 1px; }
97
+ .ui-jqdialog .ui-jqdialog-titlebar-close:hover, .ui-jqdialog .ui-jqdialog-titlebar-close:focus { padding: 0; }
98
+ .ui-jqdialog-content, .ui-jqdialog .ui-jqdialog-content { border: 0; padding: .3em .2em; background: none; height:auto;}
99
+ .ui-jqdialog .ui-jqconfirm {padding: .4em 1em; border-width:3px;position:absolute;bottom:10px;right:10px;overflow:visible;display:none;height:80px;width:220px;text-align:center;}
100
+ .ui-jqdialog>.ui-resizable-se { bottom: -3px; right: -3px}
101
+ .ui-jqgrid>.ui-resizable-se { bottom: -3px; right: -3px }
102
+ /* end Modal window*/
103
+ /* Form edit */
104
+ .ui-jqdialog-content .FormGrid {margin: 0;}
105
+ .ui-jqdialog-content .EditTable { width: 100%; margin-bottom:0;}
106
+ .ui-jqdialog-content .DelTable { width: 100%; margin-bottom:0;}
107
+ .EditTable td input, .EditTable td select, .EditTable td textarea {margin: 0;}
108
+ .EditTable td textarea { width:auto; height:auto;}
109
+ .ui-jqdialog-content td.EditButton {text-align: right;border-top: 0 none;border-left: 0 none;border-right: 0 none; padding-bottom:5px; padding-top:5px;}
110
+ .ui-jqdialog-content td.navButton {text-align: center; border-left: 0 none;border-top: 0 none;border-right: 0 none; padding-bottom:5px; padding-top:5px;}
111
+ .ui-jqdialog-content input.FormElement {padding:.3em}
112
+ .ui-jqdialog-content select.FormElement {padding:.3em}
113
+ .ui-jqdialog-content .data-line {padding-top:.1em;border: 0 none;}
114
+
115
+ .ui-jqdialog-content .CaptionTD {vertical-align: middle;border: 0 none; padding: 2px;white-space: nowrap;}
116
+ .ui-jqdialog-content .DataTD {padding: 2px; border: 0 none; vertical-align: top;}
117
+ .ui-jqdialog-content .form-view-data {white-space:pre}
118
+ .fm-button { display: inline-block; margin:0 4px 0 0; padding: .4em .5em; text-decoration:none !important; cursor:pointer; position: relative; text-align: center; zoom: 1; }
119
+ .fm-button-icon-left { padding-left: 1.9em; }
120
+ .fm-button-icon-right { padding-right: 1.9em; }
121
+ .fm-button-icon-left .ui-icon { right: auto; left: .2em; margin-left: 0; position: absolute; top: 50%; margin-top: -8px; }
122
+ .fm-button-icon-right .ui-icon { left: auto; right: .2em; margin-left: 0; position: absolute; top: 50%; margin-top: -8px;}
123
+ #nData, #pData { float: left; margin:3px;padding: 0; width: 15px; }
124
+ /* End Eorm edit */
125
+ /*.ui-jqgrid .edit-cell {}*/
126
+ .ui-jqgrid .selected-row, div.ui-jqgrid .selected-row td {font-style : normal;border-left: 0 none;}
127
+ /* inline edit actions button*/
128
+ .ui-inline-del.ui-state-hover span, .ui-inline-edit.ui-state-hover span,
129
+ .ui-inline-save.ui-state-hover span, .ui-inline-cancel.ui-state-hover span {
130
+ margin: -1px;
131
+ }
132
+ /* Tree Grid */
133
+ .ui-jqgrid .tree-wrap {float: left; position: relative;height: 18px;white-space: nowrap;overflow: hidden;}
134
+ .ui-jqgrid .tree-minus {position: absolute; height: 18px; width: 18px; overflow: hidden;}
135
+ .ui-jqgrid .tree-plus {position: absolute; height: 18px; width: 18px; overflow: hidden;}
136
+ .ui-jqgrid .tree-leaf {position: absolute; height: 18px; width: 18px;overflow: hidden;}
137
+ .ui-jqgrid .treeclick {cursor: pointer;}
138
+ /* moda dialog */
139
+ * iframe.jqm {position:absolute;top:0;left:0;z-index:-1;}
140
+ /* width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}*/
141
+ .ui-jqgrid-dnd tr td {border-right-width: 1px; border-right-color: inherit; border-right-style: solid; height:20px}
142
+ /* RTL Support */
143
+ .ui-jqgrid .ui-jqgrid-caption-rtl {text-align: right;}
144
+ .ui-jqgrid .ui-jqgrid-hbox-rtl {float: right; padding-left: 20px;}
145
+ .ui-jqgrid .ui-jqgrid-resize-ltr {float: right;margin: -2px -2px -2px 0;}
146
+ .ui-jqgrid .ui-jqgrid-resize-rtl {float: left;margin: -2px 0 -1px -3px;}
147
+ .ui-jqgrid .ui-sort-rtl {left:0;}
148
+ .ui-jqgrid .tree-wrap-ltr {float: left;}
149
+ .ui-jqgrid .tree-wrap-rtl {float: right;}
150
+ .ui-jqgrid .ui-ellipsis {-moz-text-overflow:ellipsis;text-overflow:ellipsis;}
151
+
152
+ /* Toolbar Search Menu */
153
+ .ui-search-menu { position: absolute; padding: 2px 5px;}
154
+ .ui-jqgrid .ui-search-table { padding: 0; border: 0 none; height:20px; width:100%;}
155
+ .ui-jqgrid .ui-search-table .ui-search-oper { width:20px; }
156
+ a.g-menu-item, a.soptclass, a.clearsearchclass { cursor: pointer; }
157
+ .ui-jqgrid .ui-search-table .ui-search-input>input,
158
+ .ui-jqgrid .ui-search-table .ui-search-input>select
159
+ {
160
+ display: block;
161
+ -moz-box-sizing: border-box;
162
+ -webkit-box-sizing: border-box;
163
+ box-sizing: border-box;
164
+ }
165
+ .ui-jqgrid .ui-jqgrid-view input,
166
+ .ui-jqgrid .ui-jqgrid-view select,
167
+ .ui-jqgrid .ui-jqgrid-view textarea,
168
+ .ui-jqgrid .ui-jqgrid-view button {
169
+ font-size: 11px
170
+ }
app/assets/css/libraries/minimal/_all.css CHANGED
@@ -1,590 +1,590 @@
1
- /* iCheck plugin Minimal skin
2
- ----------------------------------- */
3
- .icheckbox_minimal,
4
- .iradio_minimal {
5
- display: inline-block;
6
- *display: inline;
7
- vertical-align: middle;
8
- margin: 0;
9
- padding: 0;
10
- width: 18px;
11
- height: 18px;
12
- background: url(minimal.png) no-repeat;
13
- border: none;
14
- cursor: pointer;
15
- }
16
-
17
- .icheckbox_minimal {
18
- background-position: 0 0;
19
- }
20
- .icheckbox_minimal.hover {
21
- background-position: -20px 0;
22
- }
23
- .icheckbox_minimal.checked {
24
- background-position: -40px 0;
25
- }
26
- .icheckbox_minimal.disabled {
27
- background-position: -60px 0;
28
- cursor: default;
29
- }
30
- .icheckbox_minimal.checked.disabled {
31
- background-position: -80px 0;
32
- }
33
-
34
- .iradio_minimal {
35
- background-position: -100px 0;
36
- }
37
- .iradio_minimal.hover {
38
- background-position: -120px 0;
39
- }
40
- .iradio_minimal.checked {
41
- background-position: -140px 0;
42
- }
43
- .iradio_minimal.disabled {
44
- background-position: -160px 0;
45
- cursor: default;
46
- }
47
- .iradio_minimal.checked.disabled {
48
- background-position: -180px 0;
49
- }
50
-
51
- /* HiDPI support */
52
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
53
- .icheckbox_minimal,
54
- .iradio_minimal {
55
- background-image: url(minimal@2x.png);
56
- -webkit-background-size: 200px 20px;
57
- background-size: 200px 20px;
58
- }
59
- }
60
-
61
- /* red */
62
- .icheckbox_minimal-red,
63
- .iradio_minimal-red {
64
- display: inline-block;
65
- *display: inline;
66
- vertical-align: middle;
67
- margin: 0;
68
- padding: 0;
69
- width: 18px;
70
- height: 18px;
71
- background: url(red.png) no-repeat;
72
- border: none;
73
- cursor: pointer;
74
- }
75
-
76
- .icheckbox_minimal-red {
77
- background-position: 0 0;
78
- }
79
- .icheckbox_minimal-red.hover {
80
- background-position: -20px 0;
81
- }
82
- .icheckbox_minimal-red.checked {
83
- background-position: -40px 0;
84
- }
85
- .icheckbox_minimal-red.disabled {
86
- background-position: -60px 0;
87
- cursor: default;
88
- }
89
- .icheckbox_minimal-red.checked.disabled {
90
- background-position: -80px 0;
91
- }
92
-
93
- .iradio_minimal-red {
94
- background-position: -100px 0;
95
- }
96
- .iradio_minimal-red.hover {
97
- background-position: -120px 0;
98
- }
99
- .iradio_minimal-red.checked {
100
- background-position: -140px 0;
101
- }
102
- .iradio_minimal-red.disabled {
103
- background-position: -160px 0;
104
- cursor: default;
105
- }
106
- .iradio_minimal-red.checked.disabled {
107
- background-position: -180px 0;
108
- }
109
-
110
- /* HiDPI support */
111
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
112
- .icheckbox_minimal-red,
113
- .iradio_minimal-red {
114
- background-image: url(red@2x.png);
115
- -webkit-background-size: 200px 20px;
116
- background-size: 200px 20px;
117
- }
118
- }
119
-
120
- /* green */
121
- .icheckbox_minimal-green,
122
- .iradio_minimal-green {
123
- display: inline-block;
124
- *display: inline;
125
- vertical-align: middle;
126
- margin: 0;
127
- padding: 0;
128
- width: 18px;
129
- height: 18px;
130
- background: url(green.png) no-repeat;
131
- border: none;
132
- cursor: pointer;
133
- }
134
-
135
- .icheckbox_minimal-green {
136
- background-position: 0 0;
137
- }
138
- .icheckbox_minimal-green.hover {
139
- background-position: -20px 0;
140
- }
141
- .icheckbox_minimal-green.checked {
142
- background-position: -40px 0;
143
- }
144
- .icheckbox_minimal-green.disabled {
145
- background-position: -60px 0;
146
- cursor: default;
147
- }
148
- .icheckbox_minimal-green.checked.disabled {
149
- background-position: -80px 0;
150
- }
151
-
152
- .iradio_minimal-green {
153
- background-position: -100px 0;
154
- }
155
- .iradio_minimal-green.hover {
156
- background-position: -120px 0;
157
- }
158
- .iradio_minimal-green.checked {
159
- background-position: -140px 0;
160
- }
161
- .iradio_minimal-green.disabled {
162
- background-position: -160px 0;
163
- cursor: default;
164
- }
165
- .iradio_minimal-green.checked.disabled {
166
- background-position: -180px 0;
167
- }
168
-
169
- /* HiDPI support */
170
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
171
- .icheckbox_minimal-green,
172
- .iradio_minimal-green {
173
- background-image: url(green@2x.png);
174
- -webkit-background-size: 200px 20px;
175
- background-size: 200px 20px;
176
- }
177
- }
178
-
179
- /* blue */
180
- .icheckbox_minimal-blue,
181
- .iradio_minimal-blue {
182
- display: inline-block;
183
- *display: inline;
184
- vertical-align: middle;
185
- margin: 0;
186
- padding: 0;
187
- width: 18px;
188
- height: 18px;
189
- background: url(blue.png) no-repeat;
190
- border: none;
191
- cursor: pointer;
192
- }
193
-
194
- .icheckbox_minimal-blue {
195
- background-position: 0 0;
196
- }
197
- .icheckbox_minimal-blue.hover {
198
- background-position: -20px 0;
199
- }
200
- .icheckbox_minimal-blue.checked {
201
- background-position: -40px 0;
202
- }
203
- .icheckbox_minimal-blue.disabled {
204
- background-position: -60px 0;
205
- cursor: default;
206
- }
207
- .icheckbox_minimal-blue.checked.disabled {
208
- background-position: -80px 0;
209
- }
210
-
211
- .iradio_minimal-blue {
212
- background-position: -100px 0;
213
- }
214
- .iradio_minimal-blue.hover {
215
- background-position: -120px 0;
216
- }
217
- .iradio_minimal-blue.checked {
218
- background-position: -140px 0;
219
- }
220
- .iradio_minimal-blue.disabled {
221
- background-position: -160px 0;
222
- cursor: default;
223
- }
224
- .iradio_minimal-blue.checked.disabled {
225
- background-position: -180px 0;
226
- }
227
-
228
- /* HiDPI support */
229
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
230
- .icheckbox_minimal-blue,
231
- .iradio_minimal-blue {
232
- background-image: url(blue@2x.png);
233
- -webkit-background-size: 200px 20px;
234
- background-size: 200px 20px;
235
- }
236
- }
237
-
238
- /* aero */
239
- .icheckbox_minimal-aero,
240
- .iradio_minimal-aero {
241
- display: inline-block;
242
- *display: inline;
243
- vertical-align: middle;
244
- margin: 0;
245
- padding: 0;
246
- width: 18px;
247
- height: 18px;
248
- background: url(aero.png) no-repeat;
249
- border: none;
250
- cursor: pointer;
251
- }
252
-
253
- .icheckbox_minimal-aero {
254
- background-position: 0 0;
255
- }
256
- .icheckbox_minimal-aero.hover {
257
- background-position: -20px 0;
258
- }
259
- .icheckbox_minimal-aero.checked {
260
- background-position: -40px 0;
261
- }
262
- .icheckbox_minimal-aero.disabled {
263
- background-position: -60px 0;
264
- cursor: default;
265
- }
266
- .icheckbox_minimal-aero.checked.disabled {
267
- background-position: -80px 0;
268
- }
269
-
270
- .iradio_minimal-aero {
271
- background-position: -100px 0;
272
- }
273
- .iradio_minimal-aero.hover {
274
- background-position: -120px 0;
275
- }
276
- .iradio_minimal-aero.checked {
277
- background-position: -140px 0;
278
- }
279
- .iradio_minimal-aero.disabled {
280
- background-position: -160px 0;
281
- cursor: default;
282
- }
283
- .iradio_minimal-aero.checked.disabled {
284
- background-position: -180px 0;
285
- }
286
-
287
- /* HiDPI support */
288
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
289
- .icheckbox_minimal-aero,
290
- .iradio_minimal-aero {
291
- background-image: url(aero@2x.png);
292
- -webkit-background-size: 200px 20px;
293
- background-size: 200px 20px;
294
- }
295
- }
296
-
297
- /* grey */
298
- .icheckbox_minimal-grey,
299
- .iradio_minimal-grey {
300
- display: inline-block;
301
- *display: inline;
302
- vertical-align: middle;
303
- margin: 0;
304
- padding: 0;
305
- width: 18px;
306
- height: 18px;
307
- background: url(grey.png) no-repeat;
308
- border: none;
309
- cursor: pointer;
310
- }
311
-
312
- .icheckbox_minimal-grey {
313
- background-position: 0 0;
314
- }
315
- .icheckbox_minimal-grey.hover {
316
- background-position: -20px 0;
317
- }
318
- .icheckbox_minimal-grey.checked {
319
- background-position: -40px 0;
320
- }
321
- .icheckbox_minimal-grey.disabled {
322
- background-position: -60px 0;
323
- cursor: default;
324
- }
325
- .icheckbox_minimal-grey.checked.disabled {
326
- background-position: -80px 0;
327
- }
328
-
329
- .iradio_minimal-grey {
330
- background-position: -100px 0;
331
- }
332
- .iradio_minimal-grey.hover {
333
- background-position: -120px 0;
334
- }
335
- .iradio_minimal-grey.checked {
336
- background-position: -140px 0;
337
- }
338
- .iradio_minimal-grey.disabled {
339
- background-position: -160px 0;
340
- cursor: default;
341
- }
342
- .iradio_minimal-grey.checked.disabled {
343
- background-position: -180px 0;
344
- }
345
-
346
- /* HiDPI support */
347
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
348
- .icheckbox_minimal-grey,
349
- .iradio_minimal-grey {
350
- background-image: url(grey@2x.png);
351
- -webkit-background-size: 200px 20px;
352
- background-size: 200px 20px;
353
- }
354
- }
355
-
356
- /* orange */
357
- .icheckbox_minimal-orange,
358
- .iradio_minimal-orange {
359
- display: inline-block;
360
- *display: inline;
361
- vertical-align: middle;
362
- margin: 0;
363
- padding: 0;
364
- width: 18px;
365
- height: 18px;
366
- background: url(orange.png) no-repeat;
367
- border: none;
368
- cursor: pointer;
369
- }
370
-
371
- .icheckbox_minimal-orange {
372
- background-position: 0 0;
373
- }
374
- .icheckbox_minimal-orange.hover {
375
- background-position: -20px 0;
376
- }
377
- .icheckbox_minimal-orange.checked {
378
- background-position: -40px 0;
379
- }
380
- .icheckbox_minimal-orange.disabled {
381
- background-position: -60px 0;
382
- cursor: default;
383
- }
384
- .icheckbox_minimal-orange.checked.disabled {
385
- background-position: -80px 0;
386
- }
387
-
388
- .iradio_minimal-orange {
389
- background-position: -100px 0;
390
- }
391
- .iradio_minimal-orange.hover {
392
- background-position: -120px 0;
393
- }
394
- .iradio_minimal-orange.checked {
395
- background-position: -140px 0;
396
- }
397
- .iradio_minimal-orange.disabled {
398
- background-position: -160px 0;
399
- cursor: default;
400
- }
401
- .iradio_minimal-orange.checked.disabled {
402
- background-position: -180px 0;
403
- }
404
-
405
- /* HiDPI support */
406
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
407
- .icheckbox_minimal-orange,
408
- .iradio_minimal-orange {
409
- background-image: url(orange@2x.png);
410
- -webkit-background-size: 200px 20px;
411
- background-size: 200px 20px;
412
- }
413
- }
414
-
415
- /* yellow */
416
- .icheckbox_minimal-yellow,
417
- .iradio_minimal-yellow {
418
- display: inline-block;
419
- *display: inline;
420
- vertical-align: middle;
421
- margin: 0;
422
- padding: 0;
423
- width: 18px;
424
- height: 18px;
425
- background: url(yellow.png) no-repeat;
426
- border: none;
427
- cursor: pointer;
428
- }
429
-
430
- .icheckbox_minimal-yellow {
431
- background-position: 0 0;
432
- }
433
- .icheckbox_minimal-yellow.hover {
434
- background-position: -20px 0;
435
- }
436
- .icheckbox_minimal-yellow.checked {
437
- background-position: -40px 0;
438
- }
439
- .icheckbox_minimal-yellow.disabled {
440
- background-position: -60px 0;
441
- cursor: default;
442
- }
443
- .icheckbox_minimal-yellow.checked.disabled {
444
- background-position: -80px 0;
445
- }
446
-
447
- .iradio_minimal-yellow {
448
- background-position: -100px 0;
449
- }
450
- .iradio_minimal-yellow.hover {
451
- background-position: -120px 0;
452
- }
453
- .iradio_minimal-yellow.checked {
454
- background-position: -140px 0;
455
- }
456
- .iradio_minimal-yellow.disabled {
457
- background-position: -160px 0;
458
- cursor: default;
459
- }
460
- .iradio_minimal-yellow.checked.disabled {
461
- background-position: -180px 0;
462
- }
463
-
464
- /* HiDPI support */
465
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
466
- .icheckbox_minimal-yellow,
467
- .iradio_minimal-yellow {
468
- background-image: url(yellow@2x.png);
469
- -webkit-background-size: 200px 20px;
470
- background-size: 200px 20px;
471
- }
472
- }
473
-
474
- /* pink */
475
- .icheckbox_minimal-pink,
476
- .iradio_minimal-pink {
477
- display: inline-block;
478
- *display: inline;
479
- vertical-align: middle;
480
- margin: 0;
481
- padding: 0;
482
- width: 18px;
483
- height: 18px;
484
- background: url(pink.png) no-repeat;
485
- border: none;
486
- cursor: pointer;
487
- }
488
-
489
- .icheckbox_minimal-pink {
490
- background-position: 0 0;
491
- }
492
- .icheckbox_minimal-pink.hover {
493
- background-position: -20px 0;
494
- }
495
- .icheckbox_minimal-pink.checked {
496
- background-position: -40px 0;
497
- }
498
- .icheckbox_minimal-pink.disabled {
499
- background-position: -60px 0;
500
- cursor: default;
501
- }
502
- .icheckbox_minimal-pink.checked.disabled {
503
- background-position: -80px 0;
504
- }
505
-
506
- .iradio_minimal-pink {
507
- background-position: -100px 0;
508
- }
509
- .iradio_minimal-pink.hover {
510
- background-position: -120px 0;
511
- }
512
- .iradio_minimal-pink.checked {
513
- background-position: -140px 0;
514
- }
515
- .iradio_minimal-pink.disabled {
516
- background-position: -160px 0;
517
- cursor: default;
518
- }
519
- .iradio_minimal-pink.checked.disabled {
520
- background-position: -180px 0;
521
- }
522
-
523
- /* HiDPI support */
524
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
525
- .icheckbox_minimal-pink,
526
- .iradio_minimal-pink {
527
- background-image: url(pink@2x.png);
528
- -webkit-background-size: 200px 20px;
529
- background-size: 200px 20px;
530
- }
531
- }
532
-
533
- /* purple */
534
- .icheckbox_minimal-purple,
535
- .iradio_minimal-purple {
536
- display: inline-block;
537
- *display: inline;
538
- vertical-align: middle;
539
- margin: 0;
540
- padding: 0;
541
- width: 18px;
542
- height: 18px;
543
- background: url(purple.png) no-repeat;
544
- border: none;
545
- cursor: pointer;
546
- }
547
-
548
- .icheckbox_minimal-purple {
549
- background-position: 0 0;
550
- }
551
- .icheckbox_minimal-purple.hover {
552
- background-position: -20px 0;
553
- }
554
- .icheckbox_minimal-purple.checked {
555
- background-position: -40px 0;
556
- }
557
- .icheckbox_minimal-purple.disabled {
558
- background-position: -60px 0;
559
- cursor: default;
560
- }
561
- .icheckbox_minimal-purple.checked.disabled {
562
- background-position: -80px 0;
563
- }
564
-
565
- .iradio_minimal-purple {
566
- background-position: -100px 0;
567
- }
568
- .iradio_minimal-purple.hover {
569
- background-position: -120px 0;
570
- }
571
- .iradio_minimal-purple.checked {
572
- background-position: -140px 0;
573
- }
574
- .iradio_minimal-purple.disabled {
575
- background-position: -160px 0;
576
- cursor: default;
577
- }
578
- .iradio_minimal-purple.checked.disabled {
579
- background-position: -180px 0;
580
- }
581
-
582
- /* HiDPI support */
583
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
584
- .icheckbox_minimal-purple,
585
- .iradio_minimal-purple {
586
- background-image: url(purple@2x.png);
587
- -webkit-background-size: 200px 20px;
588
- background-size: 200px 20px;
589
- }
590
  }
1
+ /* iCheck plugin Minimal skin
2
+ ----------------------------------- */
3
+ .icheckbox_minimal,
4
+ .iradio_minimal {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 18px;
11
+ height: 18px;
12
+ background: url(minimal.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_minimal {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_minimal.hover {
21
+ background-position: -20px 0;
22
+ }
23
+ .icheckbox_minimal.checked {
24
+ background-position: -40px 0;
25
+ }
26
+ .icheckbox_minimal.disabled {
27
+ background-position: -60px 0;
28
+ cursor: default;
29
+ }
30
+ .icheckbox_minimal.checked.disabled {
31
+ background-position: -80px 0;
32
+ }
33
+
34
+ .iradio_minimal {
35
+ background-position: -100px 0;
36
+ }
37
+ .iradio_minimal.hover {
38
+ background-position: -120px 0;
39
+ }
40
+ .iradio_minimal.checked {
41
+ background-position: -140px 0;
42
+ }
43
+ .iradio_minimal.disabled {
44
+ background-position: -160px 0;
45
+ cursor: default;
46
+ }
47
+ .iradio_minimal.checked.disabled {
48
+ background-position: -180px 0;
49
+ }
50
+
51
+ /* HiDPI support */
52
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
53
+ .icheckbox_minimal,
54
+ .iradio_minimal {
55
+ background-image: url(minimal@2x.png);
56
+ -webkit-background-size: 200px 20px;
57
+ background-size: 200px 20px;
58
+ }
59
+ }
60
+
61
+ /* red */
62
+ .icheckbox_minimal-red,
63
+ .iradio_minimal-red {
64
+ display: inline-block;
65
+ *display: inline;
66
+ vertical-align: middle;
67
+ margin: 0;
68
+ padding: 0;
69
+ width: 18px;
70
+ height: 18px;
71
+ background: url(red.png) no-repeat;
72
+ border: none;
73
+ cursor: pointer;
74
+ }
75
+
76
+ .icheckbox_minimal-red {
77
+ background-position: 0 0;
78
+ }
79
+ .icheckbox_minimal-red.hover {
80
+ background-position: -20px 0;
81
+ }
82
+ .icheckbox_minimal-red.checked {
83
+ background-position: -40px 0;
84
+ }
85
+ .icheckbox_minimal-red.disabled {
86
+ background-position: -60px 0;
87
+ cursor: default;
88
+ }
89
+ .icheckbox_minimal-red.checked.disabled {
90
+ background-position: -80px 0;
91
+ }
92
+
93
+ .iradio_minimal-red {
94
+ background-position: -100px 0;
95
+ }
96
+ .iradio_minimal-red.hover {
97
+ background-position: -120px 0;
98
+ }
99
+ .iradio_minimal-red.checked {
100
+ background-position: -140px 0;
101
+ }
102
+ .iradio_minimal-red.disabled {
103
+ background-position: -160px 0;
104
+ cursor: default;
105
+ }
106
+ .iradio_minimal-red.checked.disabled {
107
+ background-position: -180px 0;
108
+ }
109
+
110
+ /* HiDPI support */
111
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
112
+ .icheckbox_minimal-red,
113
+ .iradio_minimal-red {
114
+ background-image: url(red@2x.png);
115
+ -webkit-background-size: 200px 20px;
116
+ background-size: 200px 20px;
117
+ }
118
+ }
119
+
120
+ /* green */
121
+ .icheckbox_minimal-green,
122
+ .iradio_minimal-green {
123
+ display: inline-block;
124
+ *display: inline;
125
+ vertical-align: middle;
126
+ margin: 0;
127
+ padding: 0;
128
+ width: 18px;
129
+ height: 18px;
130
+ background: url(green.png) no-repeat;
131
+ border: none;
132
+ cursor: pointer;
133
+ }
134
+
135
+ .icheckbox_minimal-green {
136
+ background-position: 0 0;
137
+ }
138
+ .icheckbox_minimal-green.hover {
139
+ background-position: -20px 0;
140
+ }
141
+ .icheckbox_minimal-green.checked {
142
+ background-position: -40px 0;
143
+ }
144
+ .icheckbox_minimal-green.disabled {
145
+ background-position: -60px 0;
146
+ cursor: default;
147
+ }
148
+ .icheckbox_minimal-green.checked.disabled {
149
+ background-position: -80px 0;
150
+ }
151
+
152
+ .iradio_minimal-green {
153
+ background-position: -100px 0;
154
+ }
155
+ .iradio_minimal-green.hover {
156
+ background-position: -120px 0;
157
+ }
158
+ .iradio_minimal-green.checked {
159
+ background-position: -140px 0;
160
+ }
161
+ .iradio_minimal-green.disabled {
162
+ background-position: -160px 0;
163
+ cursor: default;
164
+ }
165
+ .iradio_minimal-green.checked.disabled {
166
+ background-position: -180px 0;
167
+ }
168
+
169
+ /* HiDPI support */
170
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
171
+ .icheckbox_minimal-green,
172
+ .iradio_minimal-green {
173
+ background-image: url(green@2x.png);
174
+ -webkit-background-size: 200px 20px;
175
+ background-size: 200px 20px;
176
+ }
177
+ }
178
+
179
+ /* blue */
180
+ .icheckbox_minimal-blue,
181
+ .iradio_minimal-blue {
182
+ display: inline-block;
183
+ *display: inline;
184
+ vertical-align: middle;
185
+ margin: 0;
186
+ padding: 0;
187
+ width: 18px;
188
+ height: 18px;
189
+ background: url(blue.png) no-repeat;
190
+ border: none;
191
+ cursor: pointer;
192
+ }
193
+
194
+ .icheckbox_minimal-blue {
195
+ background-position: 0 0;
196
+ }
197
+ .icheckbox_minimal-blue.hover {
198
+ background-position: -20px 0;
199
+ }
200
+ .icheckbox_minimal-blue.checked {
201
+ background-position: -40px 0;
202
+ }
203
+ .icheckbox_minimal-blue.disabled {
204
+ background-position: -60px 0;
205
+ cursor: default;
206
+ }
207
+ .icheckbox_minimal-blue.checked.disabled {
208
+ background-position: -80px 0;
209
+ }
210
+
211
+ .iradio_minimal-blue {
212
+ background-position: -100px 0;
213
+ }
214
+ .iradio_minimal-blue.hover {
215
+ background-position: -120px 0;
216
+ }
217
+ .iradio_minimal-blue.checked {
218
+ background-position: -140px 0;
219
+ }
220
+ .iradio_minimal-blue.disabled {
221
+ background-position: -160px 0;
222
+ cursor: default;
223
+ }
224
+ .iradio_minimal-blue.checked.disabled {
225
+ background-position: -180px 0;
226
+ }
227
+
228
+ /* HiDPI support */
229
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
230
+ .icheckbox_minimal-blue,
231
+ .iradio_minimal-blue {
232
+ background-image: url(blue@2x.png);
233
+ -webkit-background-size: 200px 20px;
234
+ background-size: 200px 20px;
235
+ }
236
+ }
237
+
238
+ /* aero */
239
+ .icheckbox_minimal-aero,
240
+ .iradio_minimal-aero {
241
+ display: inline-block;
242
+ *display: inline;
243
+ vertical-align: middle;
244
+ margin: 0;
245
+ padding: 0;
246
+ width: 18px;
247
+ height: 18px;
248
+ background: url(aero.png) no-repeat;
249
+ border: none;
250
+ cursor: pointer;
251
+ }
252
+
253
+ .icheckbox_minimal-aero {
254
+ background-position: 0 0;
255
+ }
256
+ .icheckbox_minimal-aero.hover {
257
+ background-position: -20px 0;
258
+ }
259
+ .icheckbox_minimal-aero.checked {
260
+ background-position: -40px 0;
261
+ }
262
+ .icheckbox_minimal-aero.disabled {
263
+ background-position: -60px 0;
264
+ cursor: default;
265
+ }
266
+ .icheckbox_minimal-aero.checked.disabled {
267
+ background-position: -80px 0;
268
+ }
269
+
270
+ .iradio_minimal-aero {
271
+ background-position: -100px 0;
272
+ }
273
+ .iradio_minimal-aero.hover {
274
+ background-position: -120px 0;
275
+ }
276
+ .iradio_minimal-aero.checked {
277
+ background-position: -140px 0;
278
+ }
279
+ .iradio_minimal-aero.disabled {
280
+ background-position: -160px 0;
281
+ cursor: default;
282
+ }
283
+ .iradio_minimal-aero.checked.disabled {
284
+ background-position: -180px 0;
285
+ }
286
+
287
+ /* HiDPI support */
288
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
289
+ .icheckbox_minimal-aero,
290
+ .iradio_minimal-aero {
291
+ background-image: url(aero@2x.png);
292
+ -webkit-background-size: 200px 20px;
293
+ background-size: 200px 20px;
294
+ }
295
+ }
296
+
297
+ /* grey */
298
+ .icheckbox_minimal-grey,
299
+ .iradio_minimal-grey {
300
+ display: inline-block;
301
+ *display: inline;
302
+ vertical-align: middle;
303
+ margin: 0;
304
+ padding: 0;
305
+ width: 18px;
306
+ height: 18px;
307
+ background: url(grey.png) no-repeat;
308
+ border: none;
309
+ cursor: pointer;
310
+ }
311
+
312
+ .icheckbox_minimal-grey {
313
+ background-position: 0 0;
314
+ }
315
+ .icheckbox_minimal-grey.hover {
316
+ background-position: -20px 0;
317
+ }
318
+ .icheckbox_minimal-grey.checked {
319
+ background-position: -40px 0;
320
+ }
321
+ .icheckbox_minimal-grey.disabled {
322
+ background-position: -60px 0;
323
+ cursor: default;
324
+ }
325
+ .icheckbox_minimal-grey.checked.disabled {
326
+ background-position: -80px 0;
327
+ }
328
+
329
+ .iradio_minimal-grey {
330
+ background-position: -100px 0;
331
+ }
332
+ .iradio_minimal-grey.hover {
333
+ background-position: -120px 0;
334
+ }
335
+ .iradio_minimal-grey.checked {
336
+ background-position: -140px 0;
337
+ }
338
+ .iradio_minimal-grey.disabled {
339
+ background-position: -160px 0;
340
+ cursor: default;
341
+ }
342
+ .iradio_minimal-grey.checked.disabled {
343
+ background-position: -180px 0;
344
+ }
345
+
346
+ /* HiDPI support */
347
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
348
+ .icheckbox_minimal-grey,
349
+ .iradio_minimal-grey {
350
+ background-image: url(grey@2x.png);
351
+ -webkit-background-size: 200px 20px;
352
+ background-size: 200px 20px;
353
+ }
354
+ }
355
+
356
+ /* orange */
357
+ .icheckbox_minimal-orange,
358
+ .iradio_minimal-orange {
359
+ display: inline-block;
360
+ *display: inline;
361
+ vertical-align: middle;
362
+ margin: 0;
363
+ padding: 0;
364
+ width: 18px;
365
+ height: 18px;
366
+ background: url(orange.png) no-repeat;
367
+ border: none;
368
+ cursor: pointer;
369
+ }
370
+
371
+ .icheckbox_minimal-orange {
372
+ background-position: 0 0;
373
+ }
374
+ .icheckbox_minimal-orange.hover {
375
+ background-position: -20px 0;
376
+ }
377
+ .icheckbox_minimal-orange.checked {
378
+ background-position: -40px 0;
379
+ }
380
+ .icheckbox_minimal-orange.disabled {
381
+ background-position: -60px 0;
382
+ cursor: default;
383
+ }
384
+ .icheckbox_minimal-orange.checked.disabled {
385
+ background-position: -80px 0;
386
+ }
387
+
388
+ .iradio_minimal-orange {
389
+ background-position: -100px 0;
390
+ }
391
+ .iradio_minimal-orange.hover {
392
+ background-position: -120px 0;
393
+ }
394
+ .iradio_minimal-orange.checked {
395
+ background-position: -140px 0;
396
+ }
397
+ .iradio_minimal-orange.disabled {
398
+ background-position: -160px 0;
399
+ cursor: default;
400
+ }
401
+ .iradio_minimal-orange.checked.disabled {
402
+ background-position: -180px 0;
403
+ }
404
+
405
+ /* HiDPI support */
406
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
407
+ .icheckbox_minimal-orange,
408
+ .iradio_minimal-orange {
409
+ background-image: url(orange@2x.png);
410
+ -webkit-background-size: 200px 20px;
411
+ background-size: 200px 20px;
412
+ }
413
+ }
414
+
415
+ /* yellow */
416
+ .icheckbox_minimal-yellow,
417
+ .iradio_minimal-yellow {
418
+ display: inline-block;
419
+ *display: inline;
420
+ vertical-align: middle;
421
+ margin: 0;
422
+ padding: 0;
423
+ width: 18px;
424
+ height: 18px;
425
+ background: url(yellow.png) no-repeat;
426
+ border: none;
427
+ cursor: pointer;
428
+ }
429
+
430
+ .icheckbox_minimal-yellow {
431
+ background-position: 0 0;
432
+ }
433
+ .icheckbox_minimal-yellow.hover {
434
+ background-position: -20px 0;
435
+ }
436
+ .icheckbox_minimal-yellow.checked {
437
+ background-position: -40px 0;
438
+ }
439
+ .icheckbox_minimal-yellow.disabled {
440
+ background-position: -60px 0;
441
+ cursor: default;
442
+ }
443
+ .icheckbox_minimal-yellow.checked.disabled {
444
+ background-position: -80px 0;
445
+ }
446
+
447
+ .iradio_minimal-yellow {
448
+ background-position: -100px 0;
449
+ }
450
+ .iradio_minimal-yellow.hover {
451
+ background-position: -120px 0;
452
+ }
453
+ .iradio_minimal-yellow.checked {
454
+ background-position: -140px 0;
455
+ }
456
+ .iradio_minimal-yellow.disabled {
457
+ background-position: -160px 0;
458
+ cursor: default;
459
+ }
460
+ .iradio_minimal-yellow.checked.disabled {
461
+ background-position: -180px 0;
462
+ }
463
+
464
+ /* HiDPI support */
465
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
466
+ .icheckbox_minimal-yellow,
467
+ .iradio_minimal-yellow {
468
+ background-image: url(yellow@2x.png);
469
+ -webkit-background-size: 200px 20px;
470
+ background-size: 200px 20px;
471
+ }
472
+ }
473
+
474
+ /* pink */
475
+ .icheckbox_minimal-pink,
476
+ .iradio_minimal-pink {
477
+ display: inline-block;
478
+ *display: inline;
479
+ vertical-align: middle;
480
+ margin: 0;
481
+ padding: 0;
482
+ width: 18px;
483
+ height: 18px;
484
+ background: url(pink.png) no-repeat;
485
+ border: none;
486
+ cursor: pointer;
487
+ }
488
+
489
+ .icheckbox_minimal-pink {
490
+ background-position: 0 0;
491
+ }
492
+ .icheckbox_minimal-pink.hover {
493
+ background-position: -20px 0;
494
+ }
495
+ .icheckbox_minimal-pink.checked {
496
+ background-position: -40px 0;
497
+ }
498
+ .icheckbox_minimal-pink.disabled {
499
+ background-position: -60px 0;
500
+ cursor: default;
501
+ }
502
+ .icheckbox_minimal-pink.checked.disabled {
503
+ background-position: -80px 0;
504
+ }
505
+
506
+ .iradio_minimal-pink {
507
+ background-position: -100px 0;
508
+ }
509
+ .iradio_minimal-pink.hover {
510
+ background-position: -120px 0;
511
+ }
512
+ .iradio_minimal-pink.checked {
513
+ background-position: -140px 0;
514
+ }
515
+ .iradio_minimal-pink.disabled {
516
+ background-position: -160px 0;
517
+ cursor: default;
518
+ }
519
+ .iradio_minimal-pink.checked.disabled {
520
+ background-position: -180px 0;
521
+ }
522
+
523
+ /* HiDPI support */
524
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
525
+ .icheckbox_minimal-pink,
526
+ .iradio_minimal-pink {
527
+ background-image: url(pink@2x.png);
528
+ -webkit-background-size: 200px 20px;
529
+ background-size: 200px 20px;
530
+ }
531
+ }
532
+
533
+ /* purple */
534
+ .icheckbox_minimal-purple,
535
+ .iradio_minimal-purple {
536
+ display: inline-block;
537
+ *display: inline;
538
+ vertical-align: middle;
539
+ margin: 0;
540
+ padding: 0;
541
+ width: 18px;
542
+ height: 18px;
543
+ background: url(purple.png) no-repeat;
544
+ border: none;
545
+ cursor: pointer;
546
+ }
547
+
548
+ .icheckbox_minimal-purple {
549
+ background-position: 0 0;
550
+ }
551
+ .icheckbox_minimal-purple.hover {
552
+ background-position: -20px 0;
553
+ }
554
+ .icheckbox_minimal-purple.checked {
555
+ background-position: -40px 0;
556
+ }
557
+ .icheckbox_minimal-purple.disabled {
558
+ background-position: -60px 0;
559
+ cursor: default;
560
+ }
561
+ .icheckbox_minimal-purple.checked.disabled {
562
+ background-position: -80px 0;
563
+ }
564
+
565
+ .iradio_minimal-purple {
566
+ background-position: -100px 0;
567
+ }
568
+ .iradio_minimal-purple.hover {
569
+ background-position: -120px 0;
570
+ }
571
+ .iradio_minimal-purple.checked {
572
+ background-position: -140px 0;
573
+ }
574
+ .iradio_minimal-purple.disabled {
575
+ background-position: -160px 0;
576
+ cursor: default;
577
+ }
578
+ .iradio_minimal-purple.checked.disabled {
579
+ background-position: -180px 0;
580
+ }
581
+
582
+ /* HiDPI support */
583
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
584
+ .icheckbox_minimal-purple,
585
+ .iradio_minimal-purple {
586
+ background-image: url(purple@2x.png);
587
+ -webkit-background-size: 200px 20px;
588
+ background-size: 200px 20px;
589
+ }
590
  }
app/assets/css/libraries/minimal/aero.css CHANGED
@@ -1,59 +1,59 @@
1
- /* iCheck plugin Minimal skin, aero
2
- ----------------------------------- */
3
- .icheckbox_minimal-aero,
4
- .iradio_minimal-aero {
5
- display: inline-block;
6
- *display: inline;
7
- vertical-align: middle;
8
- margin: 0;
9
- padding: 0;
10
- width: 18px;
11
- height: 18px;
12
- background: url(aero.png) no-repeat;
13
- border: none;
14
- cursor: pointer;
15
- }
16
-
17
- .icheckbox_minimal-aero {
18
- background-position: 0 0;
19
- }
20
- .icheckbox_minimal-aero.hover {
21
- background-position: -20px 0;
22
- }
23
- .icheckbox_minimal-aero.checked {
24
- background-position: -40px 0;
25
- }
26
- .icheckbox_minimal-aero.disabled {
27
- background-position: -60px 0;
28
- cursor: default;
29
- }
30
- .icheckbox_minimal-aero.checked.disabled {
31
- background-position: -80px 0;
32
- }
33
-
34
- .iradio_minimal-aero {
35
- background-position: -100px 0;
36
- }
37
- .iradio_minimal-aero.hover {
38
- background-position: -120px 0;
39
- }
40
- .iradio_minimal-aero.checked {
41
- background-position: -140px 0;
42
- }
43
- .iradio_minimal-aero.disabled {
44
- background-position: -160px 0;
45
- cursor: default;
46
- }
47
- .iradio_minimal-aero.checked.disabled {
48
- background-position: -180px 0;
49
- }
50
-
51
- /* HiDPI support */
52
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
- .icheckbox_minimal-aero,
54
- .iradio_minimal-aero {
55
- background-image: url(aero@2x.png);
56
- -webkit-background-size: 200px 20px;
57
- background-size: 200px 20px;
58
- }
59
  }
1
+ /* iCheck plugin Minimal skin, aero
2
+ ----------------------------------- */
3
+ .icheckbox_minimal-aero,
4
+ .iradio_minimal-aero {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 18px;
11
+ height: 18px;
12
+ background: url(aero.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_minimal-aero {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_minimal-aero.hover {
21
+ background-position: -20px 0;
22
+ }
23
+ .icheckbox_minimal-aero.checked {
24
+ background-position: -40px 0;
25
+ }
26
+ .icheckbox_minimal-aero.disabled {
27
+ background-position: -60px 0;
28
+ cursor: default;
29
+ }
30
+ .icheckbox_minimal-aero.checked.disabled {
31
+ background-position: -80px 0;
32
+ }
33
+
34
+ .iradio_minimal-aero {
35
+ background-position: -100px 0;
36
+ }
37
+ .iradio_minimal-aero.hover {
38
+ background-position: -120px 0;
39
+ }
40
+ .iradio_minimal-aero.checked {
41
+ background-position: -140px 0;
42
+ }
43
+ .iradio_minimal-aero.disabled {
44
+ background-position: -160px 0;
45
+ cursor: default;
46
+ }
47
+ .iradio_minimal-aero.checked.disabled {
48
+ background-position: -180px 0;
49
+ }
50
+
51
+ /* HiDPI support */
52
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
+ .icheckbox_minimal-aero,
54
+ .iradio_minimal-aero {
55
+ background-image: url(aero@2x.png);
56
+ -webkit-background-size: 200px 20px;
57
+ background-size: 200px 20px;
58
+ }
59
  }
app/assets/css/libraries/minimal/blue.css CHANGED
@@ -1,59 +1,59 @@
1
- /* iCheck plugin Minimal skin, blue
2
- ----------------------------------- */
3
- .icheckbox_minimal-blue,
4
- .iradio_minimal-blue {
5
- display: inline-block;
6
- *display: inline;
7
- vertical-align: middle;
8
- margin: 0;
9
- padding: 0;
10
- width: 18px;
11
- height: 18px;
12
- background: url(blue.png) no-repeat;
13
- border: none;
14
- cursor: pointer;
15
- }
16
-
17
- .icheckbox_minimal-blue {
18
- background-position: 0 0;
19
- }
20
- .icheckbox_minimal-blue.hover {
21
- background-position: -20px 0;
22
- }
23
- .icheckbox_minimal-blue.checked {
24
- background-position: -40px 0;
25
- }
26
- .icheckbox_minimal-blue.disabled {
27
- background-position: -60px 0;
28
- cursor: default;
29
- }
30
- .icheckbox_minimal-blue.checked.disabled {
31
- background-position: -80px 0;
32
- }
33
-
34
- .iradio_minimal-blue {
35
- background-position: -100px 0;
36
- }
37
- .iradio_minimal-blue.hover {
38
- background-position: -120px 0;
39
- }
40
- .iradio_minimal-blue.checked {
41
- background-position: -140px 0;
42
- }
43
- .iradio_minimal-blue.disabled {
44
- background-position: -160px 0;
45
- cursor: default;
46
- }
47
- .iradio_minimal-blue.checked.disabled {
48
- background-position: -180px 0;
49
- }
50
-
51
- /* HiDPI support */
52
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
- .icheckbox_minimal-blue,
54
- .iradio_minimal-blue {
55
- background-image: url(blue@2x.png);
56
- -webkit-background-size: 200px 20px;
57
- background-size: 200px 20px;
58
- }
59
  }
1
+ /* iCheck plugin Minimal skin, blue
2
+ ----------------------------------- */
3
+ .icheckbox_minimal-blue,
4
+ .iradio_minimal-blue {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 18px;
11
+ height: 18px;
12
+ background: url(blue.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_minimal-blue {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_minimal-blue.hover {
21
+ background-position: -20px 0;
22
+ }
23
+ .icheckbox_minimal-blue.checked {
24
+ background-position: -40px 0;
25
+ }
26
+ .icheckbox_minimal-blue.disabled {
27
+ background-position: -60px 0;
28
+ cursor: default;
29
+ }
30
+ .icheckbox_minimal-blue.checked.disabled {
31
+ background-position: -80px 0;
32
+ }
33
+
34
+ .iradio_minimal-blue {
35
+ background-position: -100px 0;
36
+ }
37
+ .iradio_minimal-blue.hover {
38
+ background-position: -120px 0;
39
+ }
40
+ .iradio_minimal-blue.checked {
41
+ background-position: -140px 0;
42
+ }
43
+ .iradio_minimal-blue.disabled {
44
+ background-position: -160px 0;
45
+ cursor: default;
46
+ }
47
+ .iradio_minimal-blue.checked.disabled {
48
+ background-position: -180px 0;
49
+ }
50
+
51
+ /* HiDPI support */
52
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
+ .icheckbox_minimal-blue,
54
+ .iradio_minimal-blue {
55
+ background-image: url(blue@2x.png);
56
+ -webkit-background-size: 200px 20px;
57
+ background-size: 200px 20px;
58
+ }
59
  }
app/assets/css/libraries/minimal/green.css CHANGED
@@ -1,59 +1,59 @@
1
- /* iCheck plugin Minimal skin, green
2
- ----------------------------------- */
3
- .icheckbox_minimal-green,
4
- .iradio_minimal-green {
5
- display: inline-block;
6
- *display: inline;
7
- vertical-align: middle;
8
- margin: 0;
9
- padding: 0;
10
- width: 18px;
11
- height: 18px;
12
- background: url(green.png) no-repeat;
13
- border: none;
14
- cursor: pointer;
15
- }
16
-
17
- .icheckbox_minimal-green {
18
- background-position: 0 0;
19
- }
20
- .icheckbox_minimal-green.hover {
21
- background-position: -20px 0;
22
- }
23
- .icheckbox_minimal-green.checked {
24
- background-position: -40px 0;
25
- }
26
- .icheckbox_minimal-green.disabled {
27
- background-position: -60px 0;
28
- cursor: default;
29
- }
30
- .icheckbox_minimal-green.checked.disabled {
31
- background-position: -80px 0;
32
- }
33
-
34
- .iradio_minimal-green {
35
- background-position: -100px 0;
36
- }
37
- .iradio_minimal-green.hover {
38
- background-position: -120px 0;
39
- }
40
- .iradio_minimal-green.checked {
41
- background-position: -140px 0;
42
- }
43
- .iradio_minimal-green.disabled {
44
- background-position: -160px 0;
45
- cursor: default;
46
- }
47
- .iradio_minimal-green.checked.disabled {
48
- background-position: -180px 0;
49
- }
50
-
51
- /* HiDPI support */
52
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
- .icheckbox_minimal-green,
54
- .iradio_minimal-green {
55
- background-image: url(green@2x.png);
56
- -webkit-background-size: 200px 20px;
57
- background-size: 200px 20px;
58
- }
59
  }
1
+ /* iCheck plugin Minimal skin, green
2
+ ----------------------------------- */
3
+ .icheckbox_minimal-green,
4
+ .iradio_minimal-green {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 18px;
11
+ height: 18px;
12
+ background: url(green.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_minimal-green {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_minimal-green.hover {
21
+ background-position: -20px 0;
22
+ }
23
+ .icheckbox_minimal-green.checked {
24
+ background-position: -40px 0;
25
+ }
26
+ .icheckbox_minimal-green.disabled {
27
+ background-position: -60px 0;
28
+ cursor: default;
29
+ }
30
+ .icheckbox_minimal-green.checked.disabled {
31
+ background-position: -80px 0;
32
+ }
33
+
34
+ .iradio_minimal-green {
35
+ background-position: -100px 0;
36
+ }
37
+ .iradio_minimal-green.hover {
38
+ background-position: -120px 0;
39
+ }
40
+ .iradio_minimal-green.checked {
41
+ background-position: -140px 0;
42
+ }
43
+ .iradio_minimal-green.disabled {
44
+ background-position: -160px 0;
45
+ cursor: default;
46
+ }
47
+ .iradio_minimal-green.checked.disabled {
48
+ background-position: -180px 0;
49
+ }
50
+
51
+ /* HiDPI support */
52
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
+ .icheckbox_minimal-green,
54
+ .iradio_minimal-green {
55
+ background-image: url(green@2x.png);
56
+ -webkit-background-size: 200px 20px;
57
+ background-size: 200px 20px;
58
+ }
59
  }
app/assets/css/libraries/minimal/grey.css CHANGED
@@ -1,59 +1,59 @@
1
- /* iCheck plugin Minimal skin, grey
2
- ----------------------------------- */
3
- .icheckbox_minimal-grey,
4
- .iradio_minimal-grey {
5
- display: inline-block;
6
- *display: inline;
7
- vertical-align: middle;
8
- margin: 0;
9
- padding: 0;
10
- width: 18px;
11
- height: 18px;
12
- background: url(grey.png) no-repeat;
13
- border: none;
14
- cursor: pointer;
15
- }
16
-
17
- .icheckbox_minimal-grey {
18
- background-position: 0 0;
19
- }
20
- .icheckbox_minimal-grey.hover {
21
- background-position: -20px 0;
22
- }
23
- .icheckbox_minimal-grey.checked {
24
- background-position: -40px 0;
25
- }
26
- .icheckbox_minimal-grey.disabled {
27
- background-position: -60px 0;
28
- cursor: default;
29
- }
30
- .icheckbox_minimal-grey.checked.disabled {
31
- background-position: -80px 0;
32
- }
33
-
34
- .iradio_minimal-grey {
35
- background-position: -100px 0;
36
- }
37
- .iradio_minimal-grey.hover {
38
- background-position: -120px 0;
39
- }
40
- .iradio_minimal-grey.checked {
41
- background-position: -140px 0;
42
- }
43
- .iradio_minimal-grey.disabled {
44
- background-position: -160px 0;
45
- cursor: default;
46
- }
47
- .iradio_minimal-grey.checked.disabled {
48
- background-position: -180px 0;
49
- }
50
-
51
- /* HiDPI support */
52
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
- .icheckbox_minimal-grey,
54
- .iradio_minimal-grey {
55
- background-image: url(grey@2x.png);
56
- -webkit-background-size: 200px 20px;
57
- background-size: 200px 20px;
58
- }
59
  }
1
+ /* iCheck plugin Minimal skin, grey
2
+ ----------------------------------- */
3
+ .icheckbox_minimal-grey,
4
+ .iradio_minimal-grey {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 18px;
11
+ height: 18px;
12
+ background: url(grey.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_minimal-grey {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_minimal-grey.hover {
21
+ background-position: -20px 0;
22
+ }
23
+ .icheckbox_minimal-grey.checked {
24
+ background-position: -40px 0;
25
+ }
26
+ .icheckbox_minimal-grey.disabled {
27
+ background-position: -60px 0;
28
+ cursor: default;
29
+ }
30
+ .icheckbox_minimal-grey.checked.disabled {
31
+ background-position: -80px 0;
32
+ }
33
+
34
+ .iradio_minimal-grey {
35
+ background-position: -100px 0;
36
+ }
37
+ .iradio_minimal-grey.hover {
38
+ background-position: -120px 0;
39
+ }
40
+ .iradio_minimal-grey.checked {
41
+ background-position: -140px 0;
42
+ }
43
+ .iradio_minimal-grey.disabled {
44
+ background-position: -160px 0;
45
+ cursor: default;
46
+ }
47
+ .iradio_minimal-grey.checked.disabled {
48
+ background-position: -180px 0;
49
+ }
50
+
51
+ /* HiDPI support */
52
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
+ .icheckbox_minimal-grey,
54
+ .iradio_minimal-grey {
55
+ background-image: url(grey@2x.png);
56
+ -webkit-background-size: 200px 20px;
57
+ background-size: 200px 20px;
58
+ }
59
  }
app/assets/css/libraries/minimal/minimal.css CHANGED
@@ -1,59 +1,59 @@
1
- /* iCheck plugin Minimal skin, black
2
- ----------------------------------- */
3
- .icheckbox_minimal,
4
- .iradio_minimal {
5
- display: inline-block;
6
- *display: inline;
7
- vertical-align: middle;
8
- margin: 0;
9
- padding: 0;
10
- width: 18px;
11
- height: 18px;
12
- background: url(minimal.png) no-repeat;
13
- border: none;
14
- cursor: pointer;
15
- }
16
-
17
- .icheckbox_minimal {
18
- background-position: 0 0;
19
- }
20
- .icheckbox_minimal.hover {
21
- background-position: -20px 0;
22
- }
23
- .icheckbox_minimal.checked {
24
- background-position: -40px 0;
25
- }
26
- .icheckbox_minimal.disabled {
27
- background-position: -60px 0;
28
- cursor: default;
29
- }
30
- .icheckbox_minimal.checked.disabled {
31
- background-position: -80px 0;
32
- }
33
-
34
- .iradio_minimal {
35
- background-position: -100px 0;
36
- }
37
- .iradio_minimal.hover {
38
- background-position: -120px 0;
39
- }
40
- .iradio_minimal.checked {
41
- background-position: -140px 0;
42
- }
43
- .iradio_minimal.disabled {
44
- background-position: -160px 0;
45
- cursor: default;
46
- }
47
- .iradio_minimal.checked.disabled {
48
- background-position: -180px 0;
49
- }
50
-
51
- /* HiDPI support */
52
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
- .icheckbox_minimal,
54
- .iradio_minimal {
55
- background-image: url(minimal@2x.png);
56
- -webkit-background-size: 200px 20px;
57
- background-size: 200px 20px;
58
- }
59
  }
1
+ /* iCheck plugin Minimal skin, black
2
+ ----------------------------------- */
3
+ .icheckbox_minimal,
4
+ .iradio_minimal {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 18px;
11
+ height: 18px;
12
+ background: url(minimal.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_minimal {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_minimal.hover {
21
+ background-position: -20px 0;
22
+ }
23
+ .icheckbox_minimal.checked {
24
+ background-position: -40px 0;
25
+ }
26
+ .icheckbox_minimal.disabled {
27
+ background-position: -60px 0;
28
+ cursor: default;
29
+ }
30
+ .icheckbox_minimal.checked.disabled {
31
+ background-position: -80px 0;
32
+ }
33
+
34
+ .iradio_minimal {
35
+ background-position: -100px 0;
36
+ }
37
+ .iradio_minimal.hover {
38
+ background-position: -120px 0;
39
+ }
40
+ .iradio_minimal.checked {
41
+ background-position: -140px 0;
42
+ }
43
+ .iradio_minimal.disabled {
44
+ background-position: -160px 0;
45
+ cursor: default;
46
+ }
47
+ .iradio_minimal.checked.disabled {
48
+ background-position: -180px 0;
49
+ }
50
+
51
+ /* HiDPI support */
52
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
+ .icheckbox_minimal,
54
+ .iradio_minimal {
55
+ background-image: url(minimal@2x.png);
56
+ -webkit-background-size: 200px 20px;
57
+ background-size: 200px 20px;
58
+ }
59
  }
app/assets/css/libraries/minimal/orange.css CHANGED
@@ -1,59 +1,59 @@
1
- /* iCheck plugin Minimal skin, orange
2
- ----------------------------------- */
3
- .icheckbox_minimal-orange,
4
- .iradio_minimal-orange {
5
- display: inline-block;
6
- *display: inline;
7
- vertical-align: middle;
8
- margin: 0;
9
- padding: 0;
10
- width: 18px;
11
- height: 18px;
12
- background: url(orange.png) no-repeat;
13
- border: none;
14
- cursor: pointer;
15
- }
16
-
17
- .icheckbox_minimal-orange {
18
- background-position: 0 0;
19
- }
20
- .icheckbox_minimal-orange.hover {
21
- background-position: -20px 0;
22
- }
23
- .icheckbox_minimal-orange.checked {
24
- background-position: -40px 0;
25
- }
26
- .icheckbox_minimal-orange.disabled {
27
- background-position: -60px 0;
28
- cursor: default;
29
- }
30
- .icheckbox_minimal-orange.checked.disabled {
31
- background-position: -80px 0;
32
- }
33
-
34
- .iradio_minimal-orange {
35
- background-position: -100px 0;
36
- }
37
- .iradio_minimal-orange.hover {
38
- background-position: -120px 0;
39
- }
40
- .iradio_minimal-orange.checked {
41
- background-position: -140px 0;
42
- }
43
- .iradio_minimal-orange.disabled {
44
- background-position: -160px 0;
45
- cursor: default;
46
- }
47
- .iradio_minimal-orange.checked.disabled {
48
- background-position: -180px 0;
49
- }
50
-
51
- /* HiDPI support */
52
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
- .icheckbox_minimal-orange,
54
- .iradio_minimal-orange {
55
- background-image: url(orange@2x.png);
56
- -webkit-background-size: 200px 20px;
57
- background-size: 200px 20px;
58
- }
59
  }
1
+ /* iCheck plugin Minimal skin, orange
2
+ ----------------------------------- */
3
+ .icheckbox_minimal-orange,
4
+ .iradio_minimal-orange {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 18px;
11
+ height: 18px;
12
+ background: url(orange.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_minimal-orange {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_minimal-orange.hover {
21
+ background-position: -20px 0;
22
+ }
23
+ .icheckbox_minimal-orange.checked {
24
+ background-position: -40px 0;
25
+ }
26
+ .icheckbox_minimal-orange.disabled {
27
+ background-position: -60px 0;
28
+ cursor: default;
29
+ }
30
+ .icheckbox_minimal-orange.checked.disabled {
31
+ background-position: -80px 0;
32
+ }
33
+
34
+ .iradio_minimal-orange {
35
+ background-position: -100px 0;
36
+ }
37
+ .iradio_minimal-orange.hover {
38
+ background-position: -120px 0;
39
+ }
40
+ .iradio_minimal-orange.checked {
41
+ background-position: -140px 0;
42
+ }
43
+ .iradio_minimal-orange.disabled {
44
+ background-position: -160px 0;
45
+ cursor: default;
46
+ }
47
+ .iradio_minimal-orange.checked.disabled {
48
+ background-position: -180px 0;
49
+ }
50
+
51
+ /* HiDPI support */
52
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
+ .icheckbox_minimal-orange,
54
+ .iradio_minimal-orange {
55
+ background-image: url(orange@2x.png);
56
+ -webkit-background-size: 200px 20px;
57
+ background-size: 200px 20px;
58
+ }
59
  }
app/assets/css/libraries/minimal/pink.css CHANGED
@@ -1,59 +1,59 @@
1
- /* iCheck plugin Minimal skin, pink
2
- ----------------------------------- */
3
- .icheckbox_minimal-pink,
4
- .iradio_minimal-pink {
5
- display: inline-block;
6
- *display: inline;
7
- vertical-align: middle;
8
- margin: 0;
9
- padding: 0;
10
- width: 18px;
11
- height: 18px;
12
- background: url(pink.png) no-repeat;
13
- border: none;
14
- cursor: pointer;
15
- }
16
-
17
- .icheckbox_minimal-pink {
18
- background-position: 0 0;
19
- }
20
- .icheckbox_minimal-pink.hover {
21
- background-position: -20px 0;
22
- }
23
- .icheckbox_minimal-pink.checked {
24
- background-position: -40px 0;
25
- }
26
- .icheckbox_minimal-pink.disabled {
27
- background-position: -60px 0;
28
- cursor: default;
29
- }
30
- .icheckbox_minimal-pink.checked.disabled {
31
- background-position: -80px 0;
32
- }
33
-
34
- .iradio_minimal-pink {
35
- background-position: -100px 0;
36
- }
37
- .iradio_minimal-pink.hover {
38
- background-position: -120px 0;
39
- }
40
- .iradio_minimal-pink.checked {
41
- background-position: -140px 0;
42
- }
43
- .iradio_minimal-pink.disabled {
44
- background-position: -160px 0;
45
- cursor: default;
46
- }
47
- .iradio_minimal-pink.checked.disabled {
48
- background-position: -180px 0;
49
- }
50
-
51
- /* HiDPI support */
52
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
- .icheckbox_minimal-pink,
54
- .iradio_minimal-pink {
55
- background-image: url(pink@2x.png);
56
- -webkit-background-size: 200px 20px;
57
- background-size: 200px 20px;
58
- }
59
  }
1
+ /* iCheck plugin Minimal skin, pink
2
+ ----------------------------------- */
3
+ .icheckbox_minimal-pink,
4
+ .iradio_minimal-pink {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 18px;
11
+ height: 18px;
12
+ background: url(pink.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_minimal-pink {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_minimal-pink.hover {
21
+ background-position: -20px 0;
22
+ }
23
+ .icheckbox_minimal-pink.checked {
24
+ background-position: -40px 0;
25
+ }
26
+ .icheckbox_minimal-pink.disabled {
27
+ background-position: -60px 0;
28
+ cursor: default;
29
+ }
30
+ .icheckbox_minimal-pink.checked.disabled {
31
+ background-position: -80px 0;
32
+ }
33
+
34
+ .iradio_minimal-pink {
35
+ background-position: -100px 0;
36
+ }
37
+ .iradio_minimal-pink.hover {
38
+ background-position: -120px 0;
39
+ }
40
+ .iradio_minimal-pink.checked {
41
+ background-position: -140px 0;
42
+ }
43
+ .iradio_minimal-pink.disabled {
44
+ background-position: -160px 0;
45
+ cursor: default;
46
+ }
47
+ .iradio_minimal-pink.checked.disabled {
48
+ background-position: -180px 0;
49
+ }
50
+
51
+ /* HiDPI support */
52
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
+ .icheckbox_minimal-pink,
54
+ .iradio_minimal-pink {
55
+ background-image: url(pink@2x.png);
56
+ -webkit-background-size: 200px 20px;
57
+ background-size: 200px 20px;
58
+ }
59
  }
app/assets/css/libraries/minimal/purple.css CHANGED
@@ -1,59 +1,59 @@
1
- /* iCheck plugin Minimal skin, purple
2
- ----------------------------------- */
3
- .icheckbox_minimal-purple,
4
- .iradio_minimal-purple {
5
- display: inline-block;
6
- *display: inline;
7
- vertical-align: middle;
8
- margin: 0;
9
- padding: 0;
10
- width: 18px;
11
- height: 18px;
12
- background: url(purple.png) no-repeat;
13
- border: none;
14
- cursor: pointer;
15
- }
16
-
17
- .icheckbox_minimal-purple {
18
- background-position: 0 0;
19
- }
20
- .icheckbox_minimal-purple.hover {
21
- background-position: -20px 0;
22
- }
23
- .icheckbox_minimal-purple.checked {
24
- background-position: -40px 0;
25
- }
26
- .icheckbox_minimal-purple.disabled {
27
- background-position: -60px 0;
28
- cursor: default;
29
- }
30
- .icheckbox_minimal-purple.checked.disabled {
31
- background-position: -80px 0;
32
- }
33
-
34
- .iradio_minimal-purple {
35
- background-position: -100px 0;
36
- }
37
- .iradio_minimal-purple.hover {
38
- background-position: -120px 0;
39
- }
40
- .iradio_minimal-purple.checked {
41
- background-position: -140px 0;
42
- }
43
- .iradio_minimal-purple.disabled {
44
- background-position: -160px 0;
45
- cursor: default;
46
- }
47
- .iradio_minimal-purple.checked.disabled {
48
- background-position: -180px 0;
49
- }
50
-
51
- /* HiDPI support */
52
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
- .icheckbox_minimal-purple,
54
- .iradio_minimal-purple {
55
- background-image: url(purple@2x.png);
56
- -webkit-background-size: 200px 20px;
57
- background-size: 200px 20px;
58
- }
59
  }
1
+ /* iCheck plugin Minimal skin, purple
2
+ ----------------------------------- */
3
+ .icheckbox_minimal-purple,
4
+ .iradio_minimal-purple {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 18px;
11
+ height: 18px;
12
+ background: url(purple.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_minimal-purple {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_minimal-purple.hover {
21
+ background-position: -20px 0;
22
+ }
23
+ .icheckbox_minimal-purple.checked {
24
+ background-position: -40px 0;
25
+ }
26
+ .icheckbox_minimal-purple.disabled {
27
+ background-position: -60px 0;
28
+ cursor: default;
29
+ }
30
+ .icheckbox_minimal-purple.checked.disabled {
31
+ background-position: -80px 0;
32
+ }
33
+
34
+ .iradio_minimal-purple {
35
+ background-position: -100px 0;
36
+ }
37
+ .iradio_minimal-purple.hover {
38
+ background-position: -120px 0;
39
+ }
40
+ .iradio_minimal-purple.checked {
41
+ background-position: -140px 0;
42
+ }
43
+ .iradio_minimal-purple.disabled {
44
+ background-position: -160px 0;
45
+ cursor: default;
46
+ }
47
+ .iradio_minimal-purple.checked.disabled {
48
+ background-position: -180px 0;
49
+ }
50
+
51
+ /* HiDPI support */
52
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
+ .icheckbox_minimal-purple,
54
+ .iradio_minimal-purple {
55
+ background-image: url(purple@2x.png);
56
+ -webkit-background-size: 200px 20px;
57
+ background-size: 200px 20px;
58
+ }
59
  }
app/assets/css/libraries/minimal/red.css CHANGED
@@ -1,59 +1,59 @@
1
- /* iCheck plugin Minimal skin, red
2
- ----------------------------------- */
3
- .icheckbox_minimal-red,
4
- .iradio_minimal-red {
5
- display: inline-block;
6
- *display: inline;
7
- vertical-align: middle;
8
- margin: 0;
9
- padding: 0;
10
- width: 18px;
11
- height: 18px;
12
- background: url(red.png) no-repeat;
13
- border: none;
14
- cursor: pointer;
15
- }
16
-
17
- .icheckbox_minimal-red {
18
- background-position: 0 0;
19
- }
20
- .icheckbox_minimal-red.hover {
21
- background-position: -20px 0;
22
- }
23
- .icheckbox_minimal-red.checked {
24
- background-position: -40px 0;
25
- }
26
- .icheckbox_minimal-red.disabled {
27
- background-position: -60px 0;
28
- cursor: default;
29
- }
30
- .icheckbox_minimal-red.checked.disabled {
31
- background-position: -80px 0;
32
- }
33
-
34
- .iradio_minimal-red {
35
- background-position: -100px 0;
36
- }
37
- .iradio_minimal-red.hover {
38
- background-position: -120px 0;
39
- }
40
- .iradio_minimal-red.checked {
41
- background-position: -140px 0;
42
- }
43
- .iradio_minimal-red.disabled {
44
- background-position: -160px 0;
45
- cursor: default;
46
- }
47
- .iradio_minimal-red.checked.disabled {
48
- background-position: -180px 0;
49
- }
50
-
51
- /* HiDPI support */
52
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
- .icheckbox_minimal-red,
54
- .iradio_minimal-red {
55
- background-image: url(red@2x.png);
56
- -webkit-background-size: 200px 20px;
57
- background-size: 200px 20px;
58
- }
59
  }
1
+ /* iCheck plugin Minimal skin, red
2
+ ----------------------------------- */
3
+ .icheckbox_minimal-red,
4
+ .iradio_minimal-red {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 18px;
11
+ height: 18px;
12
+ background: url(red.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_minimal-red {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_minimal-red.hover {
21
+ background-position: -20px 0;
22
+ }
23
+ .icheckbox_minimal-red.checked {
24
+ background-position: -40px 0;
25
+ }
26
+ .icheckbox_minimal-red.disabled {
27
+ background-position: -60px 0;
28
+ cursor: default;
29
+ }
30
+ .icheckbox_minimal-red.checked.disabled {
31
+ background-position: -80px 0;
32
+ }
33
+
34
+ .iradio_minimal-red {
35
+ background-position: -100px 0;
36
+ }
37
+ .iradio_minimal-red.hover {
38
+ background-position: -120px 0;
39
+ }
40
+ .iradio_minimal-red.checked {
41
+ background-position: -140px 0;
42
+ }
43
+ .iradio_minimal-red.disabled {
44
+ background-position: -160px 0;
45
+ cursor: default;
46
+ }
47
+ .iradio_minimal-red.checked.disabled {
48
+ background-position: -180px 0;
49
+ }
50
+
51
+ /* HiDPI support */
52
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
+ .icheckbox_minimal-red,
54
+ .iradio_minimal-red {
55
+ background-image: url(red@2x.png);
56
+ -webkit-background-size: 200px 20px;
57
+ background-size: 200px 20px;
58
+ }
59
  }
app/assets/css/libraries/minimal/yellow.css CHANGED
@@ -1,59 +1,59 @@
1
- /* iCheck plugin Minimal skin, yellow
2
- ----------------------------------- */
3
- .icheckbox_minimal-yellow,
4
- .iradio_minimal-yellow {
5
- display: inline-block;
6
- *display: inline;
7
- vertical-align: middle;
8
- margin: 0;
9
- padding: 0;
10
- width: 18px;
11
- height: 18px;
12
- background: url(yellow.png) no-repeat;
13
- border: none;
14
- cursor: pointer;
15
- }
16
-
17
- .icheckbox_minimal-yellow {
18
- background-position: 0 0;
19
- }
20
- .icheckbox_minimal-yellow.hover {
21
- background-position: -20px 0;
22
- }
23
- .icheckbox_minimal-yellow.checked {
24
- background-position: -40px 0;
25
- }
26
- .icheckbox_minimal-yellow.disabled {
27
- background-position: -60px 0;
28
- cursor: default;
29
- }
30
- .icheckbox_minimal-yellow.checked.disabled {
31
- background-position: -80px 0;
32
- }
33
-
34
- .iradio_minimal-yellow {
35
- background-position: -100px 0;
36
- }
37
- .iradio_minimal-yellow.hover {
38
- background-position: -120px 0;
39
- }
40
- .iradio_minimal-yellow.checked {
41
- background-position: -140px 0;
42
- }
43
- .iradio_minimal-yellow.disabled {
44
- background-position: -160px 0;
45
- cursor: default;
46
- }
47
- .iradio_minimal-yellow.checked.disabled {
48
- background-position: -180px 0;
49
- }
50
-
51
- /* HiDPI support */
52
- @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
- .icheckbox_minimal-yellow,
54
- .iradio_minimal-yellow {
55
- background-image: url(yellow@2x.png);
56
- -webkit-background-size: 200px 20px;
57
- background-size: 200px 20px;
58
- }
59
  }
1
+ /* iCheck plugin Minimal skin, yellow
2
+ ----------------------------------- */
3
+ .icheckbox_minimal-yellow,
4
+ .iradio_minimal-yellow {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 18px;
11
+ height: 18px;
12
+ background: url(yellow.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_minimal-yellow {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_minimal-yellow.hover {
21
+ background-position: -20px 0;
22
+ }
23
+ .icheckbox_minimal-yellow.checked {
24
+ background-position: -40px 0;
25
+ }
26
+ .icheckbox_minimal-yellow.disabled {
27
+ background-position: -60px 0;
28
+ cursor: default;
29
+ }
30
+ .icheckbox_minimal-yellow.checked.disabled {
31
+ background-position: -80px 0;
32
+ }
33
+
34
+ .iradio_minimal-yellow {
35
+ background-position: -100px 0;
36
+ }
37
+ .iradio_minimal-yellow.hover {
38
+ background-position: -120px 0;
39
+ }
40
+ .iradio_minimal-yellow.checked {
41
+ background-position: -140px 0;
42
+ }
43
+ .iradio_minimal-yellow.disabled {
44
+ background-position: -160px 0;
45
+ cursor: default;
46
+ }
47
+ .iradio_minimal-yellow.checked.disabled {
48
+ background-position: -180px 0;
49
+ }
50
+
51
+ /* HiDPI support */
52
+ @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
53
+ .icheckbox_minimal-yellow,
54
+ .iradio_minimal-yellow {
55
+ background-image: url(yellow@2x.png);
56
+ -webkit-background-size: 200px 20px;
57
+ background-size: 200px 20px;
58
+ }
59
  }
app/assets/css/libraries/supsystic/buttons.css CHANGED
@@ -1,7 +1,7 @@
1
- .supsystic-plugin .button.button-block {
2
- width: 100%;
3
- }
4
-
5
- .supsystic-plugin .supsystic-actions-wrap button {
6
- font-size: 0.85em;
7
  }
1
+ .supsystic-plugin .button.button-block {
2
+ width: 100%;
3
+ }
4
+
5
+ .supsystic-plugin .supsystic-actions-wrap button {
6
+ font-size: 0.85em;
7
  }
app/assets/css/libraries/supsystic/forms.css CHANGED
@@ -1,20 +1,20 @@
1
- .supsystic-plugin table.form-table tr {
2
- border-bottom: none !important;
3
- }
4
-
5
- .supsystic-plugin .egm-form-marker {
6
- border-top: 1px solid #e9edee;
7
- margin-top: 25px;
8
- }
9
-
10
- .supsystic-plugin .egm-form-marker textarea {
11
- width: 100%;
12
- resize: vertical;
13
- background-color: #f6f7f7;
14
- color: #252728;
15
- border-left: none;
16
- border-right: none;
17
- border-bottom: none;
18
- border-top: 1px solid #dfe4e4;
19
- padding: 7px 5px;
20
  }
1
+ .supsystic-plugin table.form-table tr {
2
+ border-bottom: none !important;
3
+ }
4
+
5
+ .supsystic-plugin .egm-form-marker {
6
+ border-top: 1px solid #e9edee;
7
+ margin-top: 25px;
8
+ }
9
+
10
+ .supsystic-plugin .egm-form-marker textarea {
11
+ width: 100%;
12
+ resize: vertical;
13
+ background-color: #f6f7f7;
14
+ color: #252728;
15
+ border-left: none;
16
+ border-right: none;
17
+ border-bottom: none;
18
+ border-top: 1px solid #dfe4e4;
19
+ padding: 7px 5px;
20
  }
app/assets/css/libraries/supsystic/inputs.css CHANGED
@@ -1,20 +1,20 @@
1
- .supsystic-plugin input.regular-text {
2
- width: 100%;
3
- }
4
-
5
- .supsystic-plugin .form-table label {
6
- font-weight: normal;
7
- }
8
-
9
- .supsystic-plugin label.label-bold {
10
- font-weight: bold;
11
- }
12
-
13
- .supsystic-plugin label.label-bigger {
14
- font-size: 1.1em;
15
- }
16
-
17
- .supsystic-plugin label.supsystic-radio {
18
- position: relative;
19
- top: 7px;
20
  }
1
+ .supsystic-plugin input.regular-text {
2
+ width: 100%;
3
+ }
4
+
5
+ .supsystic-plugin .form-table label {
6
+ font-weight: normal;
7
+ }
8
+
9
+ .supsystic-plugin label.label-bold {
10
+ font-weight: bold;
11
+ }
12
+
13
+ .supsystic-plugin label.label-bigger {
14
+ font-size: 1.1em;
15
+ }
16
+
17
+ .supsystic-plugin label.supsystic-radio {
18
+ position: relative;
19
+ top: 7px;
20
  }
app/assets/css/supsystic-ui.css CHANGED
@@ -1,599 +1,599 @@
1
- @import "libraries/bootstrap/bootstrap.min.css";
2
- @import "//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";
3
-
4
- @import "chosen.min.css";
5
-
6
- @import "libraries/supsystic/inputs.css";
7
- @import "libraries/supsystic/buttons.css";
8
- @import "libraries/supsystic/forms.css";
9
-
10
- .supsystic-plugin {
11
- width: 100%;
12
- font-size: 15px;
13
- }
14
-
15
- .supsystic-plugin a,
16
- .ui-dialog a.pro-url,
17
- .tooltipster-content a {
18
- color: #4ae8ea;
19
- outline: none !important;
20
- }
21
-
22
- #projectTitle:focus {
23
- box-shadow: 0 0 5px rgba(81, 203, 238, 1);
24
- border: 1px solid rgba(81, 203, 238, 1);
25
- }
26
-
27
- .supsystic-plugin .supsystic-content {
28
- -moz-box-sizing: border-box;
29
- -webkit-box-sizing: border-box;
30
- background-color: transparent;
31
- box-sizing: border-box;
32
- float: left;
33
- position: relative;
34
- width: 99%;
35
- min-height: 353px;
36
- }
37
-
38
- .supsystic-plugin .supsystic-content .supsystic-container {
39
- margin-left: 75px;
40
- min-height: 300px;
41
- background-color: #fff;
42
- }
43
-
44
- .supsystic-plugin .supsystic-content .supsystic-navigation {
45
- background-color: transparent;
46
- float: left;
47
- /*height: 100%;*/
48
- margin-right: 10px;
49
- position: absolute;
50
- width: 75px;
51
- -webkit-box-sizing: border-box;
52
- -moz-box-sizing: border-box;
53
- box-sizing: border-box;
54
- }
55
-
56
- .supsystic-navigation ul {
57
- padding: 0;
58
- margin: 0;
59
- }
60
-
61
- .supsystic-navigation ul li {
62
- text-align: center;
63
- /*border-bottom: 1px solid #707070;*/
64
- background-color: transparent;
65
- margin: 0;
66
- padding: 10px 0;
67
-
68
- -webkit-transition: background 500ms;
69
- -moz-transition: background 500ms;
70
- -ms-transition: background 500ms;
71
- -o-transition: background 500ms;
72
- transition: background 500ms;
73
- }
74
-
75
- .supsystic-navigation ul li:hover,
76
- .supsystic-navigation ul li.active {
77
- background-color: #fff;
78
- }
79
-
80
- .supsystic-navigation ul li:hover a i,
81
- .supsystic-navigation ul li.active a i {
82
- color: #4ae8ea;
83
- }
84
-
85
- .supsystic-navigation ul li a {
86
- color: #28282a;
87
- text-decoration: none;
88
- font-weight: 400;
89
- -moz-box-shadow: none;
90
- -webkit-box-shadow: none;
91
- box-shadow: none;
92
- }
93
-
94
- .supsystic-navigation ul li a i {
95
- display: block;
96
- color: #6d6d71;
97
- font-size: 1.8em;
98
- margin: 0 auto 5px auto;
99
- }
100
-
101
- .supsystic-navigation ul li.supsystic-pro {
102
- background-color: #e74c3c;
103
- }
104
-
105
- .supsystic-bar {
106
- min-height: 67px;
107
- /* margin-left: -10px;*/
108
- padding: 10px;
109
- background-color: #fff;
110
- -moz-box-sizing: border-box;
111
- -webkit-box-sizing: border-box;
112
- box-sizing: border-box;
113
- }
114
-
115
- #table-toolbar.supsystic-bar {
116
- height: 67px;
117
- margin-left: -10px;
118
- padding: 10px;
119
- background-color: inherit !important;
120
- -moz-box-sizing: border-box;
121
- -webkit-box-sizing: border-box;
122
- box-sizing: border-box;
123
- }
124
-
125
- ul.supsystic-bar-controls {
126
- margin-top: 8px;
127
- }
128
-
129
- ul.supsystic-bar-controls > li {
130
- float: left;
131
- margin-left: 5px;
132
- }
133
-
134
- ul.supsystic-bar-controls > li.separator {
135
- color: #ddd;
136
- margin-top: 5px;
137
- }
138
-
139
- /* Loading */
140
- .supsystic-inline-loader {
141
- min-width: 128px;
142
- min-height: 15px;
143
- background: url('../img/ajax-loader.gif') no-repeat center center;
144
- /*display: inline-block;*/
145
- }
146
-
147
- /* Modal Loading */
148
- .supsystic-modal-loading-overlay {
149
- position: fixed;
150
- top: 0;
151
- left: 0;
152
- width: 100%;
153
- height: 100%;
154
- background-color: #fff;
155
- opacity: .6;
156
- -ms-filter: Alpha(opacity=60);
157
- filter: Alpha(opacity=60);
158
- z-index: 100000;
159
- display: none;
160
- overflow: hidden;
161
- }
162
-
163
- .supsystic-modal-loading-object {
164
- position: absolute;
165
- width: 100%;
166
- top: 40%;
167
- text-align: center;
168
- z-index: 100001;
169
- display: none;
170
- overflow: hidden;
171
- font-weight: 700;
172
- }
173
-
174
- .supsystic-modal-loading-object img {
175
- position: relative;
176
- top: 4px;
177
- overflow: hidden;
178
- }
179
-
180
- .supsystic-modal-loading-object p {
181
- overflow: hidden;
182
- }
183
-
184
- /* Helpers */
185
- .supsystic-centered {
186
- text-align: center;
187
- }
188
-
189
- .jGrowl.top-right {
190
- top: 50px !important;
191
- }
192
-
193
- /* jQuery UI Dialog */
194
-
195
- .ui-dialog {
196
- box-shadow: 1px 1px 10px #ccc;
197
- -webkit-box-shadow: 1px 1px 10px #ccc;
198
- -moz-box-shadow: 1px 1px 10px #ccc;
199
- -ms-box-shadow: 1px 1px 10px #ccc;
200
- -o-box-shadow: 1px 1px 10px #ccc;
201
- }
202
-
203
- .ui-widget-overlay {
204
- position: absolute;
205
- top: 0;
206
- height: 100%;
207
- width: 100%;
208
- z-index: 9999 !important;
209
- background: rgba(0, 0, 0, 0.5);
210
- }
211
-
212
- .ui-widget-overlay.ui-front {
213
- z-index: 10;
214
- }
215
-
216
- .ui-widget-content {
217
- background: #fff !important;
218
- z-index: 9999;
219
- }
220
-
221
- .ui-widget-header {
222
- border: none !important;
223
- border-bottom: 1px solid #ddd !important;
224
- background: #e8eded !important;
225
- color: #777 !important;
226
- border-radius: 0 !important;
227
- padding: 10px;
228
- }
229
-
230
- .supsystic-title-row {
231
- padding: 5px 0 !important;
232
- border-bottom: 1px solid #eee;
233
- }
234
-
235
- .supsystic-title-row h3 {
236
- padding: 0;
237
- margin: 0;
238
- font-weight: 100;
239
- font-size: 1.4em;
240
- }
241
-
242
- .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
243
- text-align: right;
244
- padding: 10px;
245
- }
246
-
247
- .ui-dialog .ui-dialog-titlebar-close {
248
- float: right;
249
- display: none;
250
- }
251
-
252
- /*Breadcrumbs*/
253
- .supsystic-breadcrumbs {
254
- /*border-top: 1px solid rgba(12,12,12,0.03);*/
255
- background-color: transparent;
256
- margin-left: 75px;
257
- padding: 5px 0px;
258
- /*-moz-box-shadow: 0 3px 0 rgba(12,12,12,0.03);
259
- -webkit-box-shadow: 0 3px 0 rgba(12,12,12,0.03);
260
- box-shadow: 0 3px 0 rgba(12,12,12,0.03);*/
261
- }
262
-
263
- .supsystic-breadcrumbs > a {
264
- text-decoration: none;
265
- padding: 0 5px;
266
- color: #000;
267
- }
268
-
269
- .supsystic-breadcrumbs > a:last-child {
270
- color: #7f8c8d;
271
- }
272
-
273
- .supsystic-breadcrumbs .breadcrumbs-separator {
274
- background-image: url("images/arrows-sprite.png");
275
- background-repeat: no-repeat;
276
- padding: 0 3px;
277
- background-position: -17px 7px;
278
- }
279
-
280
- .supsystic-item {
281
- background: #fff;
282
- padding: 10px;
283
- margin-bottom: 20px;
284
- position: relative;
285
- }
286
-
287
- .supsystic-checked {
288
- border-color: #ccc !important;
289
- }
290
-
291
- .supsystic-item > .supsystic-check {
292
- position: absolute;
293
- top: 15px;
294
- left: 15px;
295
- display: none;
296
- }
297
-
298
- .supsystic-item p {
299
- padding: 0;
300
- margin: 0;
301
- white-space: nowrap;
302
- overflow: hidden;
303
- text-overflow: ellipsis;
304
- -o-text-overflow: ellipsis;
305
- }
306
-
307
- .supsystic-welcome-page-content .supsystic-item p {
308
- white-space: normal;
309
- }
310
-
311
- .supsystic-item small {
312
- display: block;
313
- color: #ccc;
314
- }
315
-
316
- .supsystic-panel {
317
-
318
- }
319
-
320
- /*Options additional classes*/
321
- .swrOptDetailsShell {
322
- display: none;
323
- font-size: 12px;
324
- }
325
-
326
- .swrOptDetailsShell input {
327
- font-size: 12px;
328
- }
329
-
330
- .swrSmallTbl tr {
331
- height: auto !important;
332
- }
333
-
334
- /*** custom checkboxes ***/
335
- /*input[type=checkbox] { display:none; }
336
- input[type=checkbox] + label:before {
337
- font-family: FontAwesome;
338
- display: inline-block;
339
- }
340
-
341
- input[type=checkbox] + label:before { content: "\f096"; }
342
- input[type=checkbox] + label:before { letter-spacing: 10px; }
343
-
344
- input[type=checkbox]:checked + label:before { content: "\f046"; }
345
- input[type=checkbox]:checked + label:before { letter-spacing: 5px; } */
346
-
347
- .swrHtaccessPre {
348
- background-color: #eef;
349
- padding: 10px;
350
- }
351
-
352
- h3 .nav-tab {
353
- font-size: 15px;
354
- font-weight: 700;
355
- line-height: 24px;
356
- padding: 9px 10px;
357
- color: #28282a;
358
- border: none;
359
- background-color: transparent;
360
- }
361
-
362
- h3 .nav-tab.nav-tab-active, .nav-tab:hover {
363
- background-color: #fff;
364
- border: none;
365
- }
366
-
367
- h2.nav-tab-wrapper, h3.nav-tab-wrapper {
368
- border: none;
369
- }
370
-
371
- .supsystic-item.supsystic-panel .nav-tab-active, .supsystic-item.supsystic-panel .nav-tab-active:hover {
372
- /*background: none repeat scroll 0 0 #fff;
373
- border-bottom: 0 solid #f1f1f1;*/
374
- color: #000;
375
- border: none;
376
- }
377
-
378
- /*buttons*/
379
- .supsystic-plugin .button,
380
- .supsystic-plugin .button-primary,
381
- .ui-button,
382
- .ui-button.ui-state-default {
383
- font-size: 15px;
384
- height: 35px;
385
- -webkit-border-radius: 0 !important;
386
- border-radius: 0 !important;
387
- color: #28282a;
388
- background-color: transparent;
389
- -webkit-box-shadow: none;
390
- box-shadow: none;
391
- border: 1px solid #000 !important;
392
- line-height: 31px;
393
- margin-right: 10px;
394
- }
395
-
396
- .supsystic-plugin .button.hover,
397
- .supsystic-plugin .button:hover,
398
- .supsystic-plugin .button.focus,
399
- .supsystic-plugin .button:focus,
400
- .ui-button.ui-state-hover,
401
- .ui-button:hover,
402
- .ui-button:focus {
403
- background: #4ae8ea !important;
404
- border-color: #4ae8ea !important;
405
- }
406
-
407
- .supsystic-plugin .button[disabled],
408
- .supsystic-plugin .button:disabled,
409
- .supsystic-plugin .button.disabled,
410
- .supsystic-plugin .button-secondary[disabled],
411
- .supsystic-plugin .button-secondary:disabled,
412
- .supsystic-plugin .button-secondary.disabled,
413
- .supsystic-plugin .button-disabled {
414
- color: #a4aaac !important;
415
- border-color: #a4aaac !important;
416
- background-color: transparent !important;
417
- }
418
-
419
- /*tooltip*/
420
- .supsystic-plugin .fa-question.supsystic-tooltip {
421
- border: 1px solid #28282a;
422
- border-radius: 50%;
423
- margin-top: 1px;
424
- padding: 2px 7px 1px 4px;
425
- }
426
-
427
- .supsystic-plugin .fa-question.supsystic-tooltip.fa-2x {
428
- padding: 0 6px;
429
- }
430
-
431
- .supsystic-plugin .location-tooltip {
432
- border: 1px solid black;
433
- padding: 2px 5px;
434
- border-radius: 50%;
435
- }
436
-
437
- .tooltip-inner {
438
- color: #000;
439
- background: #fff;
440
- border: solid 1px #000000;
441
- }
442
-
443
- /*sticky items*/
444
- .supsystic-sticky-active {
445
- position: fixed !important;
446
- /*top: 32px;*/
447
- z-index: 1;
448
- }
449
-
450
- .supsystic-sticky-active.supsystic-sticky-active-bordered {
451
- border-bottom: 2px solid #ddd !important;
452
- }
453
-
454
- /*textboxes*/
455
- .supsystic-plugin input[type=text] {
456
- background-color: #f6f7f7;
457
- color: #252728;
458
- border-left: none;
459
- border-right: none;
460
- border-bottom: none;
461
- border-top: 1px solid #dfe4e4;
462
- padding: 7px 5px;
463
- line-height: 1.3em;
464
- }
465
-
466
- .supsystic-plugin input[type="text"]:focus,
467
- .supsystic-plugin textarea:focus {
468
- -webkit-box-shadow: none;
469
- box-shadow: none;
470
- border-color: #4ae8ea;
471
- }
472
-
473
- .supsystic-plugin input[type="text"].swrInputError,
474
- .supsystic-plugin textarea.swrInputError {
475
- border-color: #fa4e7f;
476
- border-bottom: none !important;
477
- border-left: none !important;
478
- border-right: none !important;
479
- border-width: 1px !important;
480
- }
481
-
482
- /*form tables*/
483
- .supsystic-plugin .form-table th {
484
- font-size: 16px;
485
- position: relative;
486
- }
487
-
488
- .supsystic-plugin .form-table th input[type="radio"][name="settings[design]"] {
489
- position: absolute;
490
- top: 40px;
491
- z-index: 2;
492
- }
493
-
494
- .supsystic-plugin .description,
495
- .supsystic-plugin i:not(.fa) {
496
- font-style: normal;
497
- color: #a4aaac;
498
- font-weight: 500;
499
- }
500
-
501
- .supsystic-plugin .form-table tr:not(:last-child) {
502
- border-bottom: 1px solid #e9edee;
503
- }
504
-
505
- .supsystic-plugin .ui-pg-table {
506
- color: #a6aaab;
507
- }
508
-
509
- .supsystic-plugin .ui-pg-table .ui-pg-input {
510
- margin: 0px 7px;
511
- }
512
-
513
- .supsystic-plugin .ui-pg-table .ui-icon {
514
- background-image: url("images/arrows-sprite.png") !important;
515
- background-repeat: no-repeat !important;
516
- width: 8px;
517
- height: 10px;
518
- opacity: 1 !important;
519
- margin: 0px 7px;
520
- }
521
-
522
- .supsystic-plugin .ui-pg-table .ui-icon.ui-icon-seek-prev,
523
- .supsystic-plugin .ui-pg-table .ui-icon.ui-icon-seek-next {
524
- width: 5px;
525
- }
526
-
527
- .supsystic-plugin .ui-pg-table .ui-icon.ui-icon-seek-first {
528
- background-position: 0px 0px !important;
529
- }
530
-
531
- .supsystic-plugin .ui-pg-table .ui-icon.ui-icon-seek-prev {
532
- background-position: -10px 0px !important;
533
- }
534
-
535
- .supsystic-plugin .ui-pg-table .ui-icon.ui-icon-seek-next {
536
- background-position: -17px 0px !important;
537
- }
538
-
539
- .supsystic-plugin .ui-pg-table .ui-icon.ui-icon-seek-end {
540
- background-position: -24px 0px !important;
541
- }
542
-
543
- .supsystic-plugin .s-ico .ui-grid-ico-sort {
544
- background-image: url("images/arrows-sprite.png") !important;
545
- background-repeat: no-repeat !important;
546
- width: 8px;
547
- height: 4px;
548
- /*opacity: 1 !important;*/
549
- }
550
-
551
- .supsystic-plugin .s-ico .ui-grid-ico-sort.ui-icon-triangle-1-n {
552
- background-position: -68px -6px !important;
553
- }
554
-
555
- .supsystic-plugin .s-ico .ui-grid-ico-sort.ui-icon-triangle-1-s {
556
- background-position: -68px 0px !important;
557
- }
558
-
559
- .supsystic-plugin .ui-th-column .icheckbox_minimal {
560
- margin-bottom: 7px;
561
- }
562
-
563
- /*Table cols width manipulations*/
564
- .form-table .col-w-1perc {
565
- width: 1%;
566
- }
567
-
568
- .form-table .col-w-10perc {
569
- width: 10%;
570
- }
571
-
572
- .form-table .col-w-20perc {
573
- width: 20%;
574
- }
575
-
576
- .form-table .col-w-30perc {
577
- width: 30%;
578
- }
579
-
580
- .form-table .col-w-40perc {
581
- width: 40%;
582
- }
583
-
584
- .form-table .col-w-50perc {
585
- width: 50%;
586
- }
587
-
588
- .form-table .col-w-60perc {
589
- width: 60%;
590
- }
591
-
592
- /* Helper */
593
- .float-left {
594
- float: left;
595
- }
596
-
597
- .float-right {
598
- float: right;
599
- }
1
+ @import "libraries/bootstrap/bootstrap.min.css";
2
+ @import "//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";
3
+
4
+ @import "chosen.min.css";
5
+
6
+ @import "libraries/supsystic/inputs.css";
7
+ @import "libraries/supsystic/buttons.css";
8
+ @import "libraries/supsystic/forms.css";
9
+
10
+ .supsystic-plugin {
11
+ width: 100%;
12
+ font-size: 15px;
13
+ }
14
+
15
+ .supsystic-plugin a,
16
+ .ui-dialog a.pro-url,
17
+ .tooltipster-content a {
18
+ color: #4ae8ea;
19
+ outline: none !important;
20
+ }
21
+
22
+ #projectTitle:focus {
23
+ box-shadow: 0 0 5px rgba(81, 203, 238, 1);
24
+ border: 1px solid rgba(81, 203, 238, 1);
25
+ }
26
+
27
+ .supsystic-plugin .supsystic-content {
28
+ -moz-box-sizing: border-box;
29
+ -webkit-box-sizing: border-box;
30
+ background-color: transparent;
31
+ box-sizing: border-box;
32
+ float: left;
33
+ position: relative;
34
+ width: 99%;
35
+ min-height: 353px;
36
+ }
37
+
38
+ .supsystic-plugin .supsystic-content .supsystic-container {
39
+ margin-left: 75px;
40
+ min-height: 300px;
41
+ background-color: #fff;
42
+ }
43
+
44
+ .supsystic-plugin .supsystic-content .supsystic-navigation {
45
+ background-color: transparent;
46
+ float: left;
47
+ /*height: 100%;*/
48
+ margin-right: 10px;
49
+ position: absolute;
50
+ width: 75px;
51
+ -webkit-box-sizing: border-box;
52
+ -moz-box-sizing: border-box;
53
+ box-sizing: border-box;
54
+ }
55
+
56
+ .supsystic-navigation ul {
57
+ padding: 0;
58
+ margin: 0;
59
+ }
60
+
61
+ .supsystic-navigation ul li {
62
+ text-align: center;
63
+ /*border-bottom: 1px solid #707070;*/
64
+ background-color: transparent;
65
+ margin: 0;
66
+ padding: 10px 0;
67
+
68
+ -webkit-transition: background 500ms;
69
+ -moz-transition: background 500ms;
70
+ -ms-transition: background 500ms;
71
+ -o-transition: background 500ms;
72
+ transition: background 500ms;
73
+ }
74
+
75
+ .supsystic-navigation ul li:hover,
76
+ .supsystic-navigation ul li.active {
77
+ background-color: #fff;
78
+ }
79
+
80
+ .supsystic-navigation ul li:hover a i,
81
+ .supsystic-navigation ul li.active a i {
82
+ color: #4ae8ea;
83
+ }
84
+
85
+ .supsystic-navigation ul li a {
86
+ color: #28282a;
87
+ text-decoration: none;
88
+ font-weight: 400;
89
+ -moz-box-shadow: none;
90
+ -webkit-box-shadow: none;
91
+ box-shadow: none;
92
+ }
93
+
94
+ .supsystic-navigation ul li a i {
95
+ display: block;
96
+ color: #6d6d71;
97
+ font-size: 1.8em;
98
+ margin: 0 auto 5px auto;
99
+ }
100
+
101
+ .supsystic-navigation ul li.supsystic-pro {
102
+ background-color: #e74c3c;
103
+ }
104
+
105
+ .supsystic-bar {
106
+ min-height: 67px;
107
+ /* margin-left: -10px;*/
108
+ padding: 10px;
109
+ background-color: #fff;
110
+ -moz-box-sizing: border-box;
111
+ -webkit-box-sizing: border-box;
112
+ box-sizing: border-box;
113
+ }
114
+
115
+ #table-toolbar.supsystic-bar {
116
+ height: 67px;
117
+ margin-left: -10px;
118
+ padding: 10px;
119
+ background-color: inherit !important;
120
+ -moz-box-sizing: border-box;
121
+ -webkit-box-sizing: border-box;
122
+ box-sizing: border-box;
123
+ }
124
+
125
+ ul.supsystic-bar-controls {
126
+ margin-top: 8px;
127
+ }
128
+
129
+ ul.supsystic-bar-controls > li {
130
+ float: left;
131
+ margin-left: 5px;
132
+ }
133
+
134
+ ul.supsystic-bar-controls > li.separator {
135
+ color: #ddd;
136
+ margin-top: 5px;
137
+ }
138
+
139
+ /* Loading */
140
+ .supsystic-inline-loader {
141
+ min-width: 128px;
142
+ min-height: 15px;
143
+ background: url('../img/ajax-loader.gif') no-repeat center center;
144
+ /*display: inline-block;*/
145
+ }
146
+
147
+ /* Modal Loading */
148
+ .supsystic-modal-loading-overlay {
149
+ position: fixed;
150
+ top: 0;
151
+ left: 0;
152
+ width: 100%;
153
+ height: 100%;
154
+ background-color: #fff;
155
+ opacity: .6;
156
+ -ms-filter: Alpha(opacity=60);
157
+ filter: Alpha(opacity=60);
158
+ z-index: 100000;
159
+ display: none;
160
+ overflow: hidden;
161
+ }
162
+
163
+ .supsystic-modal-loading-object {
164
+ position: absolute;
165
+ width: 100%;
166
+ top: 40%;
167
+ text-align: center;
168
+ z-index: 100001;
169
+ display: none;
170
+ overflow: hidden;
171
+ font-weight: 700;
172
+ }
173
+
174
+ .supsystic-modal-loading-object img {
175
+ position: relative;
176
+ top: 4px;
177
+ overflow: hidden;
178
+ }
179
+
180
+ .supsystic-modal-loading-object p {
181
+ overflow: hidden;
182
+ }
183
+
184
+ /* Helpers */
185
+ .supsystic-centered {
186
+ text-align: center;
187
+ }
188
+
189
+ .jGrowl.top-right {
190
+ top: 50px !important;
191
+ }
192
+
193
+ /* jQuery UI Dialog */
194
+
195
+ .ui-dialog {
196
+ box-shadow: 1px 1px 10px #ccc;
197
+ -webkit-box-shadow: 1px 1px 10px #ccc;
198
+ -moz-box-shadow: 1px 1px 10px #ccc;
199
+ -ms-box-shadow: 1px 1px 10px #ccc;
200
+ -o-box-shadow: 1px 1px 10px #ccc;
201
+ }
202
+
203
+ .ui-widget-overlay {
204
+ position: absolute;
205
+ top: 0;
206
+ height: 100%;
207
+ width: 100%;
208
+ z-index: 9999 !important;
209
+ background: rgba(0, 0, 0, 0.5);
210
+ }
211
+
212
+ .ui-widget-overlay.ui-front {
213
+ z-index: 10;
214
+ }
215
+
216
+ .ui-widget-content {
217
+ background: #fff !important;
218
+ z-index: 9999;
219
+ }
220
+
221
+ .ui-widget-header {
222
+ border: none !important;
223
+ border-bottom: 1px solid #ddd !important;
224
+ background: #e8eded !important;
225
+ color: #777 !important;
226
+ border-radius: 0 !important;
227
+ padding: 10px;
228
+ }
229
+
230
+ .supsystic-title-row {
231
+ padding: 5px 0 !important;
232
+ border-bottom: 1px solid #eee;
233
+ }
234
+
235
+ .supsystic-title-row h3 {
236
+ padding: 0;
237
+ margin: 0;
238
+ font-weight: 100;
239
+ font-size: 1.4em;
240
+ }
241
+
242
+ .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
243
+ text-align: right;
244
+ padding: 10px;
245
+ }
246
+
247
+ .ui-dialog .ui-dialog-titlebar-close {
248
+ float: right;
249
+ display: none;
250
+ }
251
+
252
+ /*Breadcrumbs*/
253
+ .supsystic-breadcrumbs {
254
+ /*border-top: 1px solid rgba(12,12,12,0.03);*/
255
+ background-color: transparent;
256
+ margin-left: 75px;
257
+ padding: 5px 0px;
258
+ /*-moz-box-shadow: 0 3px 0 rgba(12,12,12,0.03);
259
+ -webkit-box-shadow: 0 3px 0 rgba(12,12,12,0.03);
260
+ box-shadow: 0 3px 0 rgba(12,12,12,0.03);*/
261
+ }
262
+
263
+ .supsystic-breadcrumbs > a {
264
+ text-decoration: none;
265
+ padding: 0 5px;
266
+ color: #000;
267
+ }
268
+
269
+ .supsystic-breadcrumbs > a:last-child {
270
+ color: #7f8c8d;
271
+ }
272
+
273
+ .supsystic-breadcrumbs .breadcrumbs-separator {
274
+ background-image: url("images/arrows-sprite.png");
275
+ background-repeat: no-repeat;
276
+ padding: 0 3px;
277
+ background-position: -17px 7px;
278
+ }
279
+
280
+ .supsystic-item {
281
+ background: #fff;
282
+ padding: 10px;
283
+ margin-bottom: 20px;
284
+ position: relative;
285
+ }
286
+
287
+ .supsystic-checked {
288
+ border-color: #ccc !important;
289
+ }
290
+
291
+ .supsystic-item > .supsystic-check {
292
+ position: absolute;
293
+ top: 15px;
294
+ left: 15px;
295
+ display: none;
296
+ }
297
+
298
+ .supsystic-item p {
299
+ padding: 0;
300
+ margin: 0;
301
+ white-space: nowrap;
302
+ overflow: hidden;
303
+ text-overflow: ellipsis;
304
+ -o-text-overflow: ellipsis;
305
+ }
306
+
307
+ .supsystic-welcome-page-content .supsystic-item p {
308
+ white-space: normal;
309
+ }
310
+
311
+ .supsystic-item small {
312
+ display: block;
313
+ color: #ccc;
314
+ }
315
+
316
+ .supsystic-panel {
317
+
318
+ }
319
+
320
+ /*Options additional classes*/
321
+ .swrOptDetailsShell {
322
+ display: none;
323
+ font-size: 12px;
324
+ }
325
+
326
+ .swrOptDetailsShell input {
327
+ font-size: 12px;
328
+ }
329
+
330
+ .swrSmallTbl tr {
331
+ height: auto !important;
332
+ }
333
+
334
+ /*** custom checkboxes ***/
335
+ /*input[type=checkbox] { display:none; }
336
+ input[type=checkbox] + label:before {
337
+ font-family: FontAwesome;
338
+ display: inline-block;
339
+ }
340
+
341
+ input[type=checkbox] + label:before { content: "\f096"; }
342
+ input[type=checkbox] + label:before { letter-spacing: 10px; }
343
+
344
+ input[type=checkbox]:checked + label:before { content: "\f046"; }
345
+ input[type=checkbox]:checked + label:before { letter-spacing: 5px; } */
346
+
347
+ .swrHtaccessPre {
348
+ background-color: #eef;
349
+ padding: 10px;
350
+ }
351
+
352
+ h3 .nav-tab {
353
+ font-size: 15px;
354
+ font-weight: 700;
355
+ line-height: 24px;
356
+ padding: 9px 10px;
357
+ color: #28282a;
358
+ border: none;
359
+ background-color: transparent;
360
+ }
361
+
362
+ h3 .nav-tab.nav-tab-active, .nav-tab:hover {
363
+ background-color: #fff;
364
+ border: none;
365
+ }
366
+
367
+ h2.nav-tab-wrapper, h3.nav-tab-wrapper {
368
+ border: none;
369
+ }
370
+
371
+ .supsystic-item.supsystic-panel .nav-tab-active, .supsystic-item.supsystic-panel .nav-tab-active:hover {
372
+ /*background: none repeat scroll 0 0 #fff;
373
+ border-bottom: 0 solid #f1f1f1;*/
374
+ color: #000;
375
+ border: none;
376
+ }
377
+
378
+ /*buttons*/
379
+ .supsystic-plugin .button,
380
+ .supsystic-plugin .button-primary,
381
+ .ui-button,
382
+ .ui-button.ui-state-default {
383
+ font-size: 15px;
384
+ height: 35px;
385
+ -webkit-border-radius: 0 !important;
386
+ border-radius: 0 !important;
387
+ color: #28282a;
388
+ background-color: transparent;
389
+ -webkit-box-shadow: none;
390
+ box-shadow: none;
391
+ border: 1px solid #000 !important;
392
+ line-height: 31px;
393
+ margin-right: 10px;
394
+ }
395
+
396
+ .supsystic-plugin .button.hover,
397
+ .supsystic-plugin .button:hover,
398
+ .supsystic-plugin .button.focus,
399
+ .supsystic-plugin .button:focus,
400
+ .ui-button.ui-state-hover,
401
+ .ui-button:hover,
402
+ .ui-button:focus {
403
+ background: #4ae8ea !important;
404
+ border-color: #4ae8ea !important;
405
+ }
406
+
407
+ .supsystic-plugin .button[disabled],
408
+ .supsystic-plugin .button:disabled,
409
+ .supsystic-plugin .button.disabled,
410
+ .supsystic-plugin .button-secondary[disabled],
411
+ .supsystic-plugin .button-secondary:disabled,
412
+ .supsystic-plugin .button-secondary.disabled,
413
+ .supsystic-plugin .button-disabled {
414
+ color: #a4aaac !important;
415
+ border-color: #a4aaac !important;
416
+ background-color: transparent !important;
417
+ }
418
+
419
+ /*tooltip*/
420
+ .supsystic-plugin .fa-question.supsystic-tooltip {
421
+ border: 1px solid #28282a;
422
+ border-radius: 50%;
423
+ margin-top: 1px;
424
+ padding: 2px 7px 1px 4px;
425
+ }
426
+
427
+ .supsystic-plugin .fa-question.supsystic-tooltip.fa-2x {
428
+ padding: 0 6px;
429
+ }
430
+
431
+ .supsystic-plugin .location-tooltip {
432
+ border: 1px solid black;
433
+ padding: 2px 5px;
434
+ border-radius: 50%;
435
+ }
436
+
437
+ .tooltip-inner {
438
+ color: #000;
439
+ background: #fff;
440
+ border: solid 1px #000000;
441
+ }
442
+
443
+ /*sticky items*/
444
+ .supsystic-sticky-active {
445
+ position: fixed !important;
446
+ /*top: 32px;*/
447
+ z-index: 1;
448
+ }
449
+
450
+ .supsystic-sticky-active.supsystic-sticky-active-bordered {
451
+ border-bottom: 2px solid #ddd !important;
452
+ }
453
+
454
+ /*textboxes*/
455
+ .supsystic-plugin input[type=text] {
456
+ background-color: #f6f7f7;
457
+ color: #252728;
458
+ border-left: none;
459
+ border-right: none;
460
+ border-bottom: none;
461
+ border-top: 1px solid #dfe4e4;
462
+ padding: 7px 5px;
463
+ line-height: 1.3em;
464
+ }
465
+
466
+ .supsystic-plugin input[type="text"]:focus,
467
+ .supsystic-plugin textarea:focus {
468
+ -webkit-box-shadow: none;
469
+ box-shadow: none;
470
+ border-color: #4ae8ea;
471
+ }
472
+
473
+ .supsystic-plugin input[type="text"].swrInputError,
474
+ .supsystic-plugin textarea.swrInputError {
475
+ border-color: #fa4e7f;
476
+ border-bottom: none !important;
477
+ border-left: none !important;
478
+ border-right: none !important;
479
+ border-width: 1px !important;
480
+ }
481
+
482
+ /*form tables*/
483
+ .supsystic-plugin .form-table th {
484
+ font-size: 16px;
485
+ position: relative;
486
+ }
487
+
488
+ .supsystic-plugin .form-table th input[type="radio"][name="settings[design]"] {
489
+ position: absolute;
490
+ top: 40px;
491
+ z-index: 2;
492
+ }
493
+
494
+ .supsystic-plugin .description,
495
+ .supsystic-plugin i:not(.fa) && .supsystic-plugin i:not(.fa-ssbs) {
496
+ font-style: normal;
497
+ color: #a4aaac;
498
+ font-weight: 500;
499
+ }
500
+
501
+ .supsystic-plugin .form-table tr:not(:last-child) {
502
+ border-bottom: 1px solid #e9edee;
503
+ }
504
+
505
+ .supsystic-plugin .ui-pg-table {
506
+ color: #a6aaab;
507
+ }
508
+
509
+ .supsystic-plugin .ui-pg-table .ui-pg-input {
510
+ margin: 0px 7px;
511
+ }
512
+
513
+ .supsystic-plugin .ui-pg-table .ui-icon {
514
+ background-image: url("images/arrows-sprite.png") !important;
515
+ background-repeat: no-repeat !important;
516
+ width: 8px;
517
+ height: 10px;
518
+ opacity: 1 !important;
519
+ margin: 0px 7px;
520
+ }
521
+
522
+ .supsystic-plugin .ui-pg-table .ui-icon.ui-icon-seek-prev,
523
+ .supsystic-plugin .ui-pg-table .ui-icon.ui-icon-seek-next {
524
+ width: 5px;
525
+ }
526
+
527
+ .supsystic-plugin .ui-pg-table .ui-icon.ui-icon-seek-first {
528
+ background-position: 0px 0px !important;
529
+ }
530
+
531
+ .supsystic-plugin .ui-pg-table .ui-icon.ui-icon-seek-prev {
532
+ background-position: -10px 0px !important;
533
+ }
534
+
535
+ .supsystic-plugin .ui-pg-table .ui-icon.ui-icon-seek-next {
536
+ background-position: -17px 0px !important;
537
+ }
538
+
539
+ .supsystic-plugin .ui-pg-table .ui-icon.ui-icon-seek-end {
540
+ background-position: -24px 0px !important;
541
+ }
542
+
543
+ .supsystic-plugin .s-ico .ui-grid-ico-sort {
544
+ background-image: url("images/arrows-sprite.png") !important;
545
+ background-repeat: no-repeat !important;
546
+ width: 8px;
547
+ height: 4px;
548
+ /*opacity: 1 !important;*/
549
+ }
550
+
551
+ .supsystic-plugin .s-ico .ui-grid-ico-sort.ui-icon-triangle-1-n {
552
+ background-position: -68px -6px !important;
553
+ }
554
+
555
+ .supsystic-plugin .s-ico .ui-grid-ico-sort.ui-icon-triangle-1-s {
556
+ background-position: -68px 0px !important;
557
+ }
558
+
559
+ .supsystic-plugin .ui-th-column .icheckbox_minimal {
560
+ margin-bottom: 7px;
561
+ }
562
+
563
+ /*Table cols width manipulations*/
564
+ .form-table .col-w-1perc {
565
+ width: 1%;
566
+ }
567
+
568
+ .form-table .col-w-10perc {
569
+ width: 10%;
570
+ }
571
+
572
+ .form-table .col-w-20perc {
573
+ width: 20%;
574
+ }
575
+
576
+ .form-table .col-w-30perc {
577
+ width: 30%;
578
+ }
579
+
580
+ .form-table .col-w-40perc {
581
+ width: 40%;
582
+ }
583
+
584
+ .form-table .col-w-50perc {
585
+ width: 50%;
586
+ }
587
+
588
+ .form-table .col-w-60perc {
589
+ width: 60%;
590
+ }
591
+
592
+ /* Helper */
593
+ .float-left {
594
+ float: left;
595
+ }
596
+
597
+ .float-right {
598
+ float: right;
599
+ }
app/assets/js/i18n/grid.locale-ar.js CHANGED
@@ -1,128 +1,128 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Arabic Translation
4
- *
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "تسجيل {0} - {1} على {2}",
14
- emptyrecords: "لا يوجد تسجيل",
15
- loadtext: "تحميل...",
16
- pgtext : "صفحة {0} على {1}"
17
- },
18
- search : {
19
- caption: "بحث...",
20
- Find: "بحث",
21
- Reset: "إلغاء",
22
- odata: [{ oper:'eq', text:"يساوي"},{ oper:'ne', text:"يختلف"},{ oper:'lt', text:"أقل"},{ oper:'le', text:"أقل أو يساوي"},{ oper:'gt', text:"أكبر"},{ oper:'ge', text:"أكبر أو يساوي"},{ oper:'bw', text:"يبدأ بـ"},{ oper:'bn', text:"لا يبدأ بـ"},{ oper:'in', text:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ oper:'ew', text:"ينته بـ"},{ oper:'en', text:"لا ينته بـ"},{ oper:'cn', text:"يحتوي"},{ oper:'nc', text:"لا يحتوي"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "مع", text: "الكل" }, { op: "أو", text: "لا أحد" }],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "اضافة",
29
- editCaption: "تحديث",
30
- bSubmit: "تثبيث",
31
- bCancel: "إلغاء",
32
- bClose: "غلق",
33
- saveData: "تغيرت المعطيات هل تريد التسجيل ?",
34
- bYes: "نعم",
35
- bNo: "لا",
36
- bExit: "إلغاء",
37
- msg: {
38
- required: "خانة إجبارية",
39
- number: "سجل رقم صحيح",
40
- minValue: "يجب أن تكون القيمة أكبر أو تساوي 0",
41
- maxValue: "يجب أن تكون القيمة أقل أو تساوي 0",
42
- email: "بريد غير صحيح",
43
- integer: "سجل عدد طبييعي صحيح",
44
- url: "ليس عنوانا صحيحا. البداية الصحيحة ('http://' أو 'https://')",
45
- nodefined : " ليس محدد!",
46
- novalue : " قيمة الرجوع مطلوبة!",
47
- customarray : "يجب على الدالة الشخصية أن تنتج جدولا",
48
- customfcheck : "الدالة الشخصية مطلوبة في حالة التحقق الشخصي"
49
- }
50
- },
51
- view : {
52
- caption: "رأيت التسجيلات",
53
- bClose: "غلق"
54
- },
55
- del : {
56
- caption: "حذف",
57
- msg: "حذف التسجيلات المختارة ?",
58
- bSubmit: "حذف",
59
- bCancel: "إلغاء"
60
- },
61
- nav : {
62
- edittext: " ",
63
- edittitle: "تغيير التسجيل المختار",
64
- addtext:" ",
65
- addtitle: "إضافة تسجيل",
66
- deltext: " ",
67
- deltitle: "حذف التسجيل المختار",
68
- searchtext: " ",
69
- searchtitle: "بحث عن تسجيل",
70
- refreshtext: "",
71
- refreshtitle: "تحديث الجدول",
72
- alertcap: "تحذير",
73
- alerttext: "يرجى إختيار السطر",
74
- viewtext: "",
75
- viewtitle: "إظهار السطر المختار"
76
- },
77
- col : {
78
- caption: "إظهار/إخفاء الأعمدة",
79
- bSubmit: "تثبيث",
80
- bCancel: "إلغاء"
81
- },
82
- errors : {
83
- errcap : "خطأ",
84
- nourl : "لا يوجد عنوان محدد",
85
- norecords: "لا يوجد تسجيل للمعالجة",
86
- model : "عدد العناوين (colNames) <> عدد التسجيلات (colModel)!"
87
- },
88
- formatter : {
89
- integer : {thousandsSeparator: " ", defaultValue: '0'},
90
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92
- date : {
93
- dayNames: [
94
- "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت",
95
- "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"
96
- ],
97
- monthNames: [
98
- "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر",
99
- "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"
100
- ],
101
- AmPm : ["صباحا","مساءا","صباحا","مساءا"],
102
- S: function (j) {return j == 1 ? 'er' : 'e';},
103
- srcformat: 'Y-m-d',
104
- newformat: 'd/m/Y',
105
- parseRe : /[#%\\\/:_;.,\t\s-]/,
106
- masks : {
107
- ISO8601Long:"Y-m-d H:i:s",
108
- ISO8601Short:"Y-m-d",
109
- ShortDate: "n/j/Y",
110
- LongDate: "l, F d, Y",
111
- FullDateTime: "l, F d, Y g:i:s A",
112
- MonthDay: "F d",
113
- ShortTime: "g:i A",
114
- LongTime: "g:i:s A",
115
- SortableDateTime: "Y-m-d\\TH:i:s",
116
- UniversalSortableDateTime: "Y-m-d H:i:sO",
117
- YearMonth: "F, Y"
118
- },
119
- reformatAfterEdit : false
120
- },
121
- baseLinkUrl: '',
122
- showAction: '',
123
- target: '',
124
- checkbox : {disabled:true},
125
- idName : 'id'
126
- }
127
- });
128
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Arabic Translation
4
+ *
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "تسجيل {0} - {1} على {2}",
14
+ emptyrecords: "لا يوجد تسجيل",
15
+ loadtext: "تحميل...",
16
+ pgtext : "صفحة {0} على {1}"
17
+ },
18
+ search : {
19
+ caption: "بحث...",
20
+ Find: "بحث",
21
+ Reset: "إلغاء",
22
+ odata: [{ oper:'eq', text:"يساوي"},{ oper:'ne', text:"يختلف"},{ oper:'lt', text:"أقل"},{ oper:'le', text:"أقل أو يساوي"},{ oper:'gt', text:"أكبر"},{ oper:'ge', text:"أكبر أو يساوي"},{ oper:'bw', text:"يبدأ بـ"},{ oper:'bn', text:"لا يبدأ بـ"},{ oper:'in', text:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ oper:'ew', text:"ينته بـ"},{ oper:'en', text:"لا ينته بـ"},{ oper:'cn', text:"يحتوي"},{ oper:'nc', text:"لا يحتوي"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "مع", text: "الكل" }, { op: "أو", text: "لا أحد" }],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "اضافة",
29
+ editCaption: "تحديث",
30
+ bSubmit: "تثبيث",
31
+ bCancel: "إلغاء",
32
+ bClose: "غلق",
33
+ saveData: "تغيرت المعطيات هل تريد التسجيل ?",
34
+ bYes: "نعم",
35
+ bNo: "لا",
36
+ bExit: "إلغاء",
37
+ msg: {
38
+ required: "خانة إجبارية",
39
+ number: "سجل رقم صحيح",
40
+ minValue: "يجب أن تكون القيمة أكبر أو تساوي 0",
41
+ maxValue: "يجب أن تكون القيمة أقل أو تساوي 0",
42
+ email: "بريد غير صحيح",
43
+ integer: "سجل عدد طبييعي صحيح",
44
+ url: "ليس عنوانا صحيحا. البداية الصحيحة ('http://' أو 'https://')",
45
+ nodefined : " ليس محدد!",
46
+ novalue : " قيمة الرجوع مطلوبة!",
47
+ customarray : "يجب على الدالة الشخصية أن تنتج جدولا",
48
+ customfcheck : "الدالة الشخصية مطلوبة في حالة التحقق الشخصي"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "رأيت التسجيلات",
53
+ bClose: "غلق"
54
+ },
55
+ del : {
56
+ caption: "حذف",
57
+ msg: "حذف التسجيلات المختارة ?",
58
+ bSubmit: "حذف",
59
+ bCancel: "إلغاء"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "تغيير التسجيل المختار",
64
+ addtext:" ",
65
+ addtitle: "إضافة تسجيل",
66
+ deltext: " ",
67
+ deltitle: "حذف التسجيل المختار",
68
+ searchtext: " ",
69
+ searchtitle: "بحث عن تسجيل",
70
+ refreshtext: "",
71
+ refreshtitle: "تحديث الجدول",
72
+ alertcap: "تحذير",
73
+ alerttext: "يرجى إختيار السطر",
74
+ viewtext: "",
75
+ viewtitle: "إظهار السطر المختار"
76
+ },
77
+ col : {
78
+ caption: "إظهار/إخفاء الأعمدة",
79
+ bSubmit: "تثبيث",
80
+ bCancel: "إلغاء"
81
+ },
82
+ errors : {
83
+ errcap : "خطأ",
84
+ nourl : "لا يوجد عنوان محدد",
85
+ norecords: "لا يوجد تسجيل للمعالجة",
86
+ model : "عدد العناوين (colNames) <> عدد التسجيلات (colModel)!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
90
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92
+ date : {
93
+ dayNames: [
94
+ "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت",
95
+ "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"
96
+ ],
97
+ monthNames: [
98
+ "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر",
99
+ "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"
100
+ ],
101
+ AmPm : ["صباحا","مساءا","صباحا","مساءا"],
102
+ S: function (j) {return j == 1 ? 'er' : 'e';},
103
+ srcformat: 'Y-m-d',
104
+ newformat: 'd/m/Y',
105
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
106
+ masks : {
107
+ ISO8601Long:"Y-m-d H:i:s",
108
+ ISO8601Short:"Y-m-d",
109
+ ShortDate: "n/j/Y",
110
+ LongDate: "l, F d, Y",
111
+ FullDateTime: "l, F d, Y g:i:s A",
112
+ MonthDay: "F d",
113
+ ShortTime: "g:i A",
114
+ LongTime: "g:i:s A",
115
+ SortableDateTime: "Y-m-d\\TH:i:s",
116
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
117
+ YearMonth: "F, Y"
118
+ },
119
+ reformatAfterEdit : false
120
+ },
121
+ baseLinkUrl: '',
122
+ showAction: '',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ });
128
+ })(jQuery);
app/assets/js/i18n/grid.locale-bg.js CHANGED
@@ -1,134 +1,134 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Bulgarian Translation
4
- * Tony Tomov tony@trirand.com
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "{0} - {1} от {2}",
14
- emptyrecords: "Няма запис(и)",
15
- loadtext: "Зареждам...",
16
- pgtext : "Стр. {0} от {1}"
17
- },
18
- search : {
19
- caption: "Търсене...",
20
- Find: "Намери",
21
- Reset: "Изчисти",
22
- odata: [{ oper:'eq', text:"равно"},{ oper:'ne', text:"различно"},{ oper:'lt', text:"по-малко"},{ oper:'le', text:"по-малко или="},{ oper:'gt', text:"по-голямо"},{ oper:'ge', text:"по-голямо или ="},{ oper:'bw', text:"започва с"},{ oper:'bn', text:"не започва с"},{ oper:'in', text:"се намира в"},{ oper:'ni', text:"не се намира в"},{ oper:'ew', text:"завършва с"},{ oper:'en', text:"не завършава с"},{ oper:'cn', text:"съдържа"},{ oper:'nc', text:"не съдържа"},{ oper:'nu', text:'е NULL'},{ oper:'nn', text:'не е NULL'}],
23
- groupOps: [ { op: "AND", text: "&nbsp;И " }, { op: "OR", text: "ИЛИ" } ],
24
- operandTitle : "Натисни за избор на операнд.",
25
- resetTitle : "Изчисти стойността"
26
- },
27
- edit : {
28
- addCaption: "Нов Запис",
29
- editCaption: "Редакция Запис",
30
- bSubmit: "Запиши",
31
- bCancel: "Изход",
32
- bClose: "Затвори",
33
- saveData: "Данните са променени! Да съхраня ли промените?",
34
- bYes : "Да",
35
- bNo : "Не",
36
- bExit : "Отказ",
37
- msg: {
38
- required:"Полето е задължително",
39
- number:"Въведете валидно число!",
40
- minValue:"стойността трябва да е по-голяма или равна от",
41
- maxValue:"стойността трябва да е по-малка или равна от",
42
- email: "не е валиден ел. адрес",
43
- integer: "Въведете валидно цяло число",
44
- date: "Въведете валидна дата",
45
- url: "e невалиден URL. Изискава се префикс('http://' или 'https://')",
46
- nodefined : " е недефинирана!",
47
- novalue : " изисква връщане на стойност!",
48
- customarray : "Потреб. Функция трябва да върне масив!",
49
- customfcheck : "Потребителска функция е задължителна при този тип елемент!"
50
- }
51
- },
52
- view : {
53
- caption: "Преглед запис",
54
- bClose: "Затвори"
55
- },
56
- del : {
57
- caption: "Изтриване",
58
- msg: "Да изтрия ли избраният запис?",
59
- bSubmit: "Изтрий",
60
- bCancel: "Отказ"
61
- },
62
- nav : {
63
- edittext: " ",
64
- edittitle: "Редакция избран запис",
65
- addtext:" ",
66
- addtitle: "Добавяне нов запис",
67
- deltext: " ",
68
- deltitle: "Изтриване избран запис",
69
- searchtext: " ",
70
- searchtitle: "Търсене запис(и)",
71
- refreshtext: "",
72
- refreshtitle: "Обнови таблица",
73
- alertcap: "Предупреждение",
74
- alerttext: "Моля, изберете запис",
75
- viewtext: "",
76
- viewtitle: "Преглед избран запис"
77
- },
78
- col : {
79
- caption: "Избери колони",
80
- bSubmit: "Ок",
81
- bCancel: "Изход"
82
- },
83
- errors : {
84
- errcap : "Грешка",
85
- nourl : "Няма посочен url адрес",
86
- norecords: "Няма запис за обработка",
87
- model : "Модела не съответства на имената!"
88
- },
89
- formatter : {
90
- integer : {thousandsSeparator: " ", defaultValue: '0'},
91
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
92
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" лв.", defaultValue: '0.00'},
93
- date : {
94
- dayNames: [
95
- "Нед", "Пон", "Вт", "Ср", "Чет", "Пет", "Съб",
96
- "Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота"
97
- ],
98
- monthNames: [
99
- "Яну", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Нов", "Дек",
100
- "Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"
101
- ],
102
- AmPm : ["","","",""],
103
- S: function (j) {
104
- if(j==7 || j==8 || j== 27 || j== 28) {
105
- return 'ми';
106
- }
107
- return ['ви', 'ри', 'ти'][Math.min((j - 1) % 10, 2)];
108
- },
109
- srcformat: 'Y-m-d',
110
- newformat: 'd/m/Y',
111
- parseRe : /[#%\\\/:_;.,\t\s-]/,
112
- masks : {
113
- ISO8601Long:"Y-m-d H:i:s",
114
- ISO8601Short:"Y-m-d",
115
- ShortDate: "n/j/Y",
116
- LongDate: "l, F d, Y",
117
- FullDateTime: "l, F d, Y g:i:s A",
118
- MonthDay: "F d",
119
- ShortTime: "g:i A",
120
- LongTime: "g:i:s A",
121
- SortableDateTime: "Y-m-d\\TH:i:s",
122
- UniversalSortableDateTime: "Y-m-d H:i:sO",
123
- YearMonth: "F, Y"
124
- },
125
- reformatAfterEdit : false
126
- },
127
- baseLinkUrl: '',
128
- showAction: '',
129
- target: '',
130
- checkbox : {disabled:true},
131
- idName : 'id'
132
- }
133
- });
134
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Bulgarian Translation
4
+ * Tony Tomov tony@trirand.com
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "{0} - {1} от {2}",
14
+ emptyrecords: "Няма запис(и)",
15
+ loadtext: "Зареждам...",
16
+ pgtext : "Стр. {0} от {1}"
17
+ },
18
+ search : {
19
+ caption: "Търсене...",
20
+ Find: "Намери",
21
+ Reset: "Изчисти",
22
+ odata: [{ oper:'eq', text:"равно"},{ oper:'ne', text:"различно"},{ oper:'lt', text:"по-малко"},{ oper:'le', text:"по-малко или="},{ oper:'gt', text:"по-голямо"},{ oper:'ge', text:"по-голямо или ="},{ oper:'bw', text:"започва с"},{ oper:'bn', text:"не започва с"},{ oper:'in', text:"се намира в"},{ oper:'ni', text:"не се намира в"},{ oper:'ew', text:"завършва с"},{ oper:'en', text:"не завършава с"},{ oper:'cn', text:"съдържа"},{ oper:'nc', text:"не съдържа"},{ oper:'nu', text:'е NULL'},{ oper:'nn', text:'не е NULL'}],
23
+ groupOps: [ { op: "AND", text: "&nbsp;И " }, { op: "OR", text: "ИЛИ" } ],
24
+ operandTitle : "Натисни за избор на операнд.",
25
+ resetTitle : "Изчисти стойността"
26
+ },
27
+ edit : {
28
+ addCaption: "Нов Запис",
29
+ editCaption: "Редакция Запис",
30
+ bSubmit: "Запиши",
31
+ bCancel: "Изход",
32
+ bClose: "Затвори",
33
+ saveData: "Данните са променени! Да съхраня ли промените?",
34
+ bYes : "Да",
35
+ bNo : "Не",
36
+ bExit : "Отказ",
37
+ msg: {
38
+ required:"Полето е задължително",
39
+ number:"Въведете валидно число!",
40
+ minValue:"стойността трябва да е по-голяма или равна от",
41
+ maxValue:"стойността трябва да е по-малка или равна от",
42
+ email: "не е валиден ел. адрес",
43
+ integer: "Въведете валидно цяло число",
44
+ date: "Въведете валидна дата",
45
+ url: "e невалиден URL. Изискава се префикс('http://' или 'https://')",
46
+ nodefined : " е недефинирана!",
47
+ novalue : " изисква връщане на стойност!",
48
+ customarray : "Потреб. Функция трябва да върне масив!",
49
+ customfcheck : "Потребителска функция е задължителна при този тип елемент!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Преглед запис",
54
+ bClose: "Затвори"
55
+ },
56
+ del : {
57
+ caption: "Изтриване",
58
+ msg: "Да изтрия ли избраният запис?",
59
+ bSubmit: "Изтрий",
60
+ bCancel: "Отказ"
61
+ },
62
+ nav : {
63
+ edittext: " ",
64
+ edittitle: "Редакция избран запис",
65
+ addtext:" ",
66
+ addtitle: "Добавяне нов запис",
67
+ deltext: " ",
68
+ deltitle: "Изтриване избран запис",
69
+ searchtext: " ",
70
+ searchtitle: "Търсене запис(и)",
71
+ refreshtext: "",
72
+ refreshtitle: "Обнови таблица",
73
+ alertcap: "Предупреждение",
74
+ alerttext: "Моля, изберете запис",
75
+ viewtext: "",
76
+ viewtitle: "Преглед избран запис"
77
+ },
78
+ col : {
79
+ caption: "Избери колони",
80
+ bSubmit: "Ок",
81
+ bCancel: "Изход"
82
+ },
83
+ errors : {
84
+ errcap : "Грешка",
85
+ nourl : "Няма посочен url адрес",
86
+ norecords: "Няма запис за обработка",
87
+ model : "Модела не съответства на имената!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
91
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
92
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" лв.", defaultValue: '0.00'},
93
+ date : {
94
+ dayNames: [
95
+ "Нед", "Пон", "Вт", "Ср", "Чет", "Пет", "Съб",
96
+ "Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота"
97
+ ],
98
+ monthNames: [
99
+ "Яну", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Нов", "Дек",
100
+ "Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"
101
+ ],
102
+ AmPm : ["","","",""],
103
+ S: function (j) {
104
+ if(j==7 || j==8 || j== 27 || j== 28) {
105
+ return 'ми';
106
+ }
107
+ return ['ви', 'ри', 'ти'][Math.min((j - 1) % 10, 2)];
108
+ },
109
+ srcformat: 'Y-m-d',
110
+ newformat: 'd/m/Y',
111
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
112
+ masks : {
113
+ ISO8601Long:"Y-m-d H:i:s",
114
+ ISO8601Short:"Y-m-d",
115
+ ShortDate: "n/j/Y",
116
+ LongDate: "l, F d, Y",
117
+ FullDateTime: "l, F d, Y g:i:s A",
118
+ MonthDay: "F d",
119
+ ShortTime: "g:i A",
120
+ LongTime: "g:i:s A",
121
+ SortableDateTime: "Y-m-d\\TH:i:s",
122
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
123
+ YearMonth: "F, Y"
124
+ },
125
+ reformatAfterEdit : false
126
+ },
127
+ baseLinkUrl: '',
128
+ showAction: '',
129
+ target: '',
130
+ checkbox : {disabled:true},
131
+ idName : 'id'
132
+ }
133
+ });
134
+ })(jQuery);
app/assets/js/i18n/grid.locale-bg1251.js CHANGED
@@ -1,132 +1,132 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Bulgarian Translation
4
- * Tony Tomov tony@trirand.com
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "{0} - {1} �� {2}",
14
- emptyrecords: "���� �����(�)",
15
- loadtext: "��������...",
16
- pgtext : "���. {0} �� {1}"
17
- },
18
- search : {
19
- caption: "�������...",
20
- Find: "������",
21
- Reset: "�������",
22
- odata : [{ oper:'eq', text:'�����'}, { oper:'ne', text:'��������'}, { oper:'lt', text:'��-�����'}, { oper:'le', text:'��-����� ���='},{ oper:'gt', text:'��-������'},{ oper:'ge', text:'��-������ ��� ='}, { oper:'bw', text:'������� �'},{ oper:'bn', text:'�� ������� �'},{ oper:'in', text:'�� ������ �'},{ oper:'ni', text:'�� �� ������ �'},{ oper:'ew', text:'�������� �'},{ oper:'en', text:'�� ��������� �'},,{ oper:'cn', text:'�������'}, ,{ oper:'nc', text:'�� �������'} ],
23
- groupOps: [ { op: "AND", text: " � " }, { op: "OR", text: "���" } ]
24
- },
25
- edit : {
26
- addCaption: "��� �����",
27
- editCaption: "�������� �����",
28
- bSubmit: "������",
29
- bCancel: "�����",
30
- bClose: "�������",
31
- saveData: "������� �� ���������! �� ������� �� ���������?",
32
- bYes : "��",
33
- bNo : "��",
34
- bExit : "�����",
35
- msg: {
36
- required:"������ � ������������",
37
- number:"�������� ������� �����!",
38
- minValue:"���������� ������ �� � ��-������ ��� ����� ��",
39
- maxValue:"���������� ������ �� � ��-����� ��� ����� ��",
40
- email: "�� � ������� ��. �����",
41
- integer: "�������� ������� ���� �����",
42
- date: "�������� ������� ����",
43
- url: "e ��������� URL. �������� �� �������('http://' ��� 'https://')",
44
- nodefined : " � ������������!",
45
- novalue : " ������� ������� �� ��������!",
46
- customarray : "������. ������� ������ �� ����� �����!",
47
- customfcheck : "������������� ������� � ������������ ��� ���� ��� �������!"
48
- }
49
- },
50
- view : {
51
- caption: "������� �����",
52
- bClose: "�������"
53
- },
54
- del : {
55
- caption: "���������",
56
- msg: "�� ������ �� ��������� �����?",
57
- bSubmit: "������",
58
- bCancel: "�����"
59
- },
60
- nav : {
61
- edittext: " ",
62
- edittitle: "�������� ������ �����",
63
- addtext:" ",
64
- addtitle: "�������� ��� �����",
65
- deltext: " ",
66
- deltitle: "��������� ������ �����",
67
- searchtext: " ",
68
- searchtitle: "������� �����(�)",
69
- refreshtext: "",
70
- refreshtitle: "������ �������",
71
- alertcap: "��������������",
72
- alerttext: "����, �������� �����",
73
- viewtext: "",
74
- viewtitle: "������� ������ �����"
75
- },
76
- col : {
77
- caption: "����� ������",
78
- bSubmit: "��",
79
- bCancel: "�����"
80
- },
81
- errors : {
82
- errcap : "������",
83
- nourl : "���� ������� url �����",
84
- norecords: "���� ����� �� ���������",
85
- model : "������ �� ����������� �� �������!"
86
- },
87
- formatter : {
88
- integer : {thousandsSeparator: " ", defaultValue: '0'},
89
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
90
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" ��.", defaultValue: '0.00'},
91
- date : {
92
- dayNames: [
93
- "���", "���", "��", "��", "���", "���", "���",
94
- "������", "����������", "�������", "�����", "���������", "�����", "������"
95
- ],
96
- monthNames: [
97
- "���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���",
98
- "������", "��������", "����", "�����", "���", "���", "���", "������", "���������", "��������", "�������", "��������"
99
- ],
100
- AmPm : ["","","",""],
101
- S: function (j) {
102
- if(j==7 || j==8 || j== 27 || j== 28) {
103
- return '��';
104
- }
105
- return ['��', '��', '��'][Math.min((j - 1) % 10, 2)];
106
- },
107
- srcformat: 'Y-m-d',
108
- newformat: 'd/m/Y',
109
- parseRe : /[#%\\\/:_;.,\t\s-]/,
110
- masks : {
111
- ISO8601Long:"Y-m-d H:i:s",
112
- ISO8601Short:"Y-m-d",
113
- ShortDate: "n/j/Y",
114
- LongDate: "l, F d, Y",
115
- FullDateTime: "l, F d, Y g:i:s A",
116
- MonthDay: "F d",
117
- ShortTime: "g:i A",
118
- LongTime: "g:i:s A",
119
- SortableDateTime: "Y-m-d\\TH:i:s",
120
- UniversalSortableDateTime: "Y-m-d H:i:sO",
121
- YearMonth: "F, Y"
122
- },
123
- reformatAfterEdit : false
124
- },
125
- baseLinkUrl: '',
126
- showAction: '',
127
- target: '',
128
- checkbox : {disabled:true},
129
- idName : 'id'
130
- }
131
- });
132
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Bulgarian Translation
4
+ * Tony Tomov tony@trirand.com
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "{0} - {1} �� {2}",
14
+ emptyrecords: "���� �����(�)",
15
+ loadtext: "��������...",
16
+ pgtext : "���. {0} �� {1}"
17
+ },
18
+ search : {
19
+ caption: "�������...",
20
+ Find: "������",
21
+ Reset: "�������",
22
+ odata : [{ oper:'eq', text:'�����'}, { oper:'ne', text:'��������'}, { oper:'lt', text:'��-�����'}, { oper:'le', text:'��-����� ���='},{ oper:'gt', text:'��-������'},{ oper:'ge', text:'��-������ ��� ='}, { oper:'bw', text:'������� �'},{ oper:'bn', text:'�� ������� �'},{ oper:'in', text:'�� ������ �'},{ oper:'ni', text:'�� �� ������ �'},{ oper:'ew', text:'�������� �'},{ oper:'en', text:'�� ��������� �'},,{ oper:'cn', text:'�������'}, ,{ oper:'nc', text:'�� �������'} ],
23
+ groupOps: [ { op: "AND", text: " � " }, { op: "OR", text: "���" } ]
24
+ },
25
+ edit : {
26
+ addCaption: "��� �����",
27
+ editCaption: "�������� �����",
28
+ bSubmit: "������",
29
+ bCancel: "�����",
30
+ bClose: "�������",
31
+ saveData: "������� �� ���������! �� ������� �� ���������?",
32
+ bYes : "��",
33
+ bNo : "��",
34
+ bExit : "�����",
35
+ msg: {
36
+ required:"������ � ������������",
37
+ number:"�������� ������� �����!",
38
+ minValue:"���������� ������ �� � ��-������ ��� ����� ��",
39
+ maxValue:"���������� ������ �� � ��-����� ��� ����� ��",
40
+ email: "�� � ������� ��. �����",
41
+ integer: "�������� ������� ���� �����",
42
+ date: "�������� ������� ����",
43
+ url: "e ��������� URL. �������� �� �������('http://' ��� 'https://')",
44
+ nodefined : " � ������������!",
45
+ novalue : " ������� ������� �� ��������!",
46
+ customarray : "������. ������� ������ �� ����� �����!",
47
+ customfcheck : "������������� ������� � ������������ ��� ���� ��� �������!"
48
+ }
49
+ },
50
+ view : {
51
+ caption: "������� �����",
52
+ bClose: "�������"
53
+ },
54
+ del : {
55
+ caption: "���������",
56
+ msg: "�� ������ �� ��������� �����?",
57
+ bSubmit: "������",
58
+ bCancel: "�����"
59
+ },
60
+ nav : {
61
+ edittext: " ",
62
+ edittitle: "�������� ������ �����",
63
+ addtext:" ",
64
+ addtitle: "�������� ��� �����",
65
+ deltext: " ",
66
+ deltitle: "��������� ������ �����",
67
+ searchtext: " ",
68
+ searchtitle: "������� �����(�)",
69
+ refreshtext: "",
70
+ refreshtitle: "������ �������",
71
+ alertcap: "��������������",
72
+ alerttext: "����, �������� �����",
73
+ viewtext: "",
74
+ viewtitle: "������� ������ �����"
75
+ },
76
+ col : {
77
+ caption: "����� ������",
78
+ bSubmit: "��",
79
+ bCancel: "�����"
80
+ },
81
+ errors : {
82
+ errcap : "������",
83
+ nourl : "���� ������� url �����",
84
+ norecords: "���� ����� �� ���������",
85
+ model : "������ �� ����������� �� �������!"
86
+ },
87
+ formatter : {
88
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
89
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
90
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" ��.", defaultValue: '0.00'},
91
+ date : {
92
+ dayNames: [
93
+ "���", "���", "��", "��", "���", "���", "���",
94
+ "������", "����������", "�������", "�����", "���������", "�����", "������"
95
+ ],
96
+ monthNames: [
97
+ "���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���",
98
+ "������", "��������", "����", "�����", "���", "���", "���", "������", "���������", "��������", "�������", "��������"
99
+ ],
100
+ AmPm : ["","","",""],
101
+ S: function (j) {
102
+ if(j==7 || j==8 || j== 27 || j== 28) {
103
+ return '��';
104
+ }
105
+ return ['��', '��', '��'][Math.min((j - 1) % 10, 2)];
106
+ },
107
+ srcformat: 'Y-m-d',
108
+ newformat: 'd/m/Y',
109
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
110
+ masks : {
111
+ ISO8601Long:"Y-m-d H:i:s",
112
+ ISO8601Short:"Y-m-d",
113
+ ShortDate: "n/j/Y",
114
+ LongDate: "l, F d, Y",
115
+ FullDateTime: "l, F d, Y g:i:s A",
116
+ MonthDay: "F d",
117
+ ShortTime: "g:i A",
118
+ LongTime: "g:i:s A",
119
+ SortableDateTime: "Y-m-d\\TH:i:s",
120
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
121
+ YearMonth: "F, Y"
122
+ },
123
+ reformatAfterEdit : false
124
+ },
125
+ baseLinkUrl: '',
126
+ showAction: '',
127
+ target: '',
128
+ checkbox : {disabled:true},
129
+ idName : 'id'
130
+ }
131
+ });
132
+ })(jQuery);
app/assets/js/i18n/grid.locale-cat.js CHANGED
@@ -1,130 +1,130 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Catalan Translation
4
- * Traducció jqGrid en Catatà per Faserline, S.L.
5
- * http://www.faserline.com
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Mostrant {0} - {1} de {2}",
14
- emptyrecords: "Sense registres que mostrar",
15
- loadtext: "Carregant...",
16
- pgtext : "Pàgina {0} de {1}"
17
- },
18
- search : {
19
- caption: "Cerca...",
20
- Find: "Cercar",
21
- Reset: "Buidar",
22
- odata: [{ oper:'eq', text:"equal"},{ oper:'ne', text:"not equal"},{ oper:'lt', text:"less"},{ oper:'le', text:"less or equal"},{ oper:'gt', text:"greater"},{ oper:'ge', text:"greater or equal"},{ oper:'bw', text:"begins with"},{ oper:'bn', text:"does not begin with"},{ oper:'in', text:"is in"},{ oper:'ni', text:"is not in"},{ oper:'ew', text:"ends with"},{ oper:'en', text:"does not end with"},{ oper:'cn', text:"contains"},{ oper:'nc', text:"does not contain"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Afegir registre",
29
- editCaption: "Modificar registre",
30
- bSubmit: "Guardar",
31
- bCancel: "Cancelar",
32
- bClose: "Tancar",
33
- saveData: "Les dades han canviat. Guardar canvis?",
34
- bYes : "Yes",
35
- bNo : "No",
36
- bExit : "Cancel",
37
- msg: {
38
- required:"Camp obligatori",
39
- number:"Introdueixi un nombre",
40
- minValue:"El valor ha de ser major o igual que ",
41
- maxValue:"El valor ha de ser menor o igual a ",
42
- email: "no és una direcció de correu vàlida",
43
- integer: "Introdueixi un valor enter",
44
- date: "Introdueixi una data correcta ",
45
- url: "no és una URL vàlida. Prefix requerit ('http://' or 'https://')",
46
- nodefined : " is not defined!",
47
- novalue : " return value is required!",
48
- customarray : "Custom function should return array!",
49
- customfcheck : "Custom function should be present in case of custom checking!"
50
- }
51
- },
52
- view : {
53
- caption: "Veure registre",
54
- bClose: "Tancar"
55
- },
56
- del : {
57
- caption: "Eliminar",
58
- msg: "¿Desitja eliminar els registres seleccionats?",
59
- bSubmit: "Eliminar",
60
- bCancel: "Cancelar"
61
- },
62
- nav : {
63
- edittext: " ",
64
- edittitle: "Modificar fila seleccionada",
65
- addtext:" ",
66
- addtitle: "Agregar nova fila",
67
- deltext: " ",
68
- deltitle: "Eliminar fila seleccionada",
69
- searchtext: " ",
70
- searchtitle: "Cercar informació",
71
- refreshtext: "",
72
- refreshtitle: "Refrescar taula",
73
- alertcap: "Avís",
74
- alerttext: "Seleccioni una fila",
75
- viewtext: " ",
76
- viewtitle: "Veure fila seleccionada"
77
- },
78
- // setcolumns module
79
- col : {
80
- caption: "Mostrar/ocultar columnes",
81
- bSubmit: "Enviar",
82
- bCancel: "Cancelar"
83
- },
84
- errors : {
85
- errcap : "Error",
86
- nourl : "No s'ha especificat una URL",
87
- norecords: "No hi ha dades per processar",
88
- model : "Les columnes de noms són diferents de les columnes del model"
89
- },
90
- formatter : {
91
- integer : {thousandsSeparator: ".", defaultValue: '0'},
92
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
93
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
94
- date : {
95
- dayNames: [
96
- "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
97
- "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
98
- ],
99
- monthNames: [
100
- "Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
101
- "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
102
- ],
103
- AmPm : ["am","pm","AM","PM"],
104
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
- srcformat: 'Y-m-d',
106
- newformat: 'd-m-Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks : {
109
- ISO8601Long:"Y-m-d H:i:s",
110
- ISO8601Short:"Y-m-d",
111
- ShortDate: "n/j/Y",
112
- LongDate: "l, F d, Y",
113
- FullDateTime: "l, F d, Y g:i:s A",
114
- MonthDay: "F d",
115
- ShortTime: "g:i A",
116
- LongTime: "g:i:s A",
117
- SortableDateTime: "Y-m-d\\TH:i:s",
118
- UniversalSortableDateTime: "Y-m-d H:i:sO",
119
- YearMonth: "F, Y"
120
- },
121
- reformatAfterEdit : false
122
- },
123
- baseLinkUrl: '',
124
- showAction: 'show',
125
- target: '',
126
- checkbox : {disabled:true},
127
- idName : 'id'
128
- }
129
- });
130
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Catalan Translation
4
+ * Traducció jqGrid en Catatà per Faserline, S.L.
5
+ * http://www.faserline.com
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Mostrant {0} - {1} de {2}",
14
+ emptyrecords: "Sense registres que mostrar",
15
+ loadtext: "Carregant...",
16
+ pgtext : "Pàgina {0} de {1}"
17
+ },
18
+ search : {
19
+ caption: "Cerca...",
20
+ Find: "Cercar",
21
+ Reset: "Buidar",
22
+ odata: [{ oper:'eq', text:"equal"},{ oper:'ne', text:"not equal"},{ oper:'lt', text:"less"},{ oper:'le', text:"less or equal"},{ oper:'gt', text:"greater"},{ oper:'ge', text:"greater or equal"},{ oper:'bw', text:"begins with"},{ oper:'bn', text:"does not begin with"},{ oper:'in', text:"is in"},{ oper:'ni', text:"is not in"},{ oper:'ew', text:"ends with"},{ oper:'en', text:"does not end with"},{ oper:'cn', text:"contains"},{ oper:'nc', text:"does not contain"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Afegir registre",
29
+ editCaption: "Modificar registre",
30
+ bSubmit: "Guardar",
31
+ bCancel: "Cancelar",
32
+ bClose: "Tancar",
33
+ saveData: "Les dades han canviat. Guardar canvis?",
34
+ bYes : "Yes",
35
+ bNo : "No",
36
+ bExit : "Cancel",
37
+ msg: {
38
+ required:"Camp obligatori",
39
+ number:"Introdueixi un nombre",
40
+ minValue:"El valor ha de ser major o igual que ",
41
+ maxValue:"El valor ha de ser menor o igual a ",
42
+ email: "no és una direcció de correu vàlida",
43
+ integer: "Introdueixi un valor enter",
44
+ date: "Introdueixi una data correcta ",
45
+ url: "no és una URL vàlida. Prefix requerit ('http://' or 'https://')",
46
+ nodefined : " is not defined!",
47
+ novalue : " return value is required!",
48
+ customarray : "Custom function should return array!",
49
+ customfcheck : "Custom function should be present in case of custom checking!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Veure registre",
54
+ bClose: "Tancar"
55
+ },
56
+ del : {
57
+ caption: "Eliminar",
58
+ msg: "¿Desitja eliminar els registres seleccionats?",
59
+ bSubmit: "Eliminar",
60
+ bCancel: "Cancelar"
61
+ },
62
+ nav : {
63
+ edittext: " ",
64
+ edittitle: "Modificar fila seleccionada",
65
+ addtext:" ",
66
+ addtitle: "Agregar nova fila",
67
+ deltext: " ",
68
+ deltitle: "Eliminar fila seleccionada",
69
+ searchtext: " ",
70
+ searchtitle: "Cercar informació",
71
+ refreshtext: "",
72
+ refreshtitle: "Refrescar taula",
73
+ alertcap: "Avís",
74
+ alerttext: "Seleccioni una fila",
75
+ viewtext: " ",
76
+ viewtitle: "Veure fila seleccionada"
77
+ },
78
+ // setcolumns module
79
+ col : {
80
+ caption: "Mostrar/ocultar columnes",
81
+ bSubmit: "Enviar",
82
+ bCancel: "Cancelar"
83
+ },
84
+ errors : {
85
+ errcap : "Error",
86
+ nourl : "No s'ha especificat una URL",
87
+ norecords: "No hi ha dades per processar",
88
+ model : "Les columnes de noms són diferents de les columnes del model"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
92
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
93
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
94
+ date : {
95
+ dayNames: [
96
+ "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
97
+ "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
98
+ ],
99
+ monthNames: [
100
+ "Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
101
+ "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'd-m-Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ ISO8601Long:"Y-m-d H:i:s",
110
+ ISO8601Short:"Y-m-d",
111
+ ShortDate: "n/j/Y",
112
+ LongDate: "l, F d, Y",
113
+ FullDateTime: "l, F d, Y g:i:s A",
114
+ MonthDay: "F d",
115
+ ShortTime: "g:i A",
116
+ LongTime: "g:i:s A",
117
+ SortableDateTime: "Y-m-d\\TH:i:s",
118
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
119
+ YearMonth: "F, Y"
120
+ },
121
+ reformatAfterEdit : false
122
+ },
123
+ baseLinkUrl: '',
124
+ showAction: 'show',
125
+ target: '',
126
+ checkbox : {disabled:true},
127
+ idName : 'id'
128
+ }
129
+ });
130
+ })(jQuery);
app/assets/js/i18n/grid.locale-cn.js CHANGED
@@ -1,169 +1,169 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Chinese Translation
4
- * 咖啡兔 yanhonglei@gmail.com
5
- * http://www.kafeitu.me
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
14
- emptyrecords: "无数据显示",
15
- loadtext: "读取中...",
16
- pgtext : " {0} 共 {1} 页"
17
- },
18
- search : {
19
- caption: "搜索...",
20
- Find: "查找",
21
- Reset: "重置",
22
- odata: [{ oper:'eq', text:'等于\u3000\u3000'},{ oper:'ne', text:'不等\u3000\u3000'},{ oper:'lt', text:'小于\u3000\u3000'},{ oper:'le', text:'小于等于'},{ oper:'gt', text:'大于\u3000\u3000'},{ oper:'ge', text:'大于等于'},{ oper:'bw', text:'开始于'},{ oper:'bn', text:'不开始于'},{ oper:'in', text:'属于\u3000\u3000'},{ oper:'ni', text:'不属于'},{ oper:'ew', text:'结束于'},{ oper:'en', text:'不结束于'},{ oper:'cn', text:'包含\u3000\u3000'},{ oper:'nc', text:'不包含'},{ oper:'nu', text:'不存在'},{ oper:'nn', text:'存在'}],
23
- groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "添加记录",
29
- editCaption: "编辑记录",
30
- bSubmit: "提交",
31
- bCancel: "取消",
32
- bClose: "关闭",
33
- saveData: "数据已改变,是否保存?",
34
- bYes : "是",
35
- bNo : "否",
36
- bExit : "取消",
37
- msg: {
38
- required:"此字段必需",
39
- number:"请输入有效数字",
40
- minValue:"输值必须大于等于 ",
41
- maxValue:"输值必须小于等于 ",
42
- email: "这不是有效的e-mail地址",
43
- integer: "请输入有效整数",
44
- date: "请输入有效时间",
45
- url: "无效网址。前缀必须为 ('http://' 或 'https://')",
46
- nodefined : " 未定义!",
47
- novalue : " 需要返回值!",
48
- customarray : "自定义函数需要返回数组!",
49
- customfcheck : "必须有自定义函数!"
50
- }
51
- },
52
- view : {
53
- caption: "查看记录",
54
- bClose: "关闭"
55
- },
56
- del : {
57
- caption: "删除",
58
- msg: "删除所选记录?",
59
- bSubmit: "删除",
60
- bCancel: "取消"
61
- },
62
- nav : {
63
- edittext: "",
64
- edittitle: "编辑所选记录",
65
- addtext:"",
66
- addtitle: "添加新记录",
67
- deltext: "",
68
- deltitle: "删除所选记录",
69
- searchtext: "",
70
- searchtitle: "查找",
71
- refreshtext: "",
72
- refreshtitle: "刷新表格",
73
- alertcap: "注意",
74
- alerttext: "请选择记录",
75
- viewtext: "",
76
- viewtitle: "查看所选记录"
77
- },
78
- col : {
79
- caption: "选择列",
80
- bSubmit: "确定",
81
- bCancel: "取消"
82
- },
83
- errors : {
84
- errcap : "错误",
85
- nourl : "没有设置url",
86
- norecords: "没有要处理的记录",
87
- model : "colNames 和 colModel 长度不等!"
88
- },
89
- formatter : {
90
- integer : {thousandsSeparator: ",", defaultValue: '0'},
91
- number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
92
- currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
93
- date : {
94
- dayNames: [
95
- "日", "一", "二", "三", "四", "五", "六",
96
- "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六",
97
- ],
98
- monthNames: [
99
- "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二",
100
- "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
101
- ],
102
- AmPm : ["am","pm","上午","下午"],
103
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
104
- srcformat: 'Y-m-d',
105
- newformat: 'Y-m-d',
106
- parseRe : /[#%\\\/:_;.,\t\s-]/,
107
- masks : {
108
- // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
109
- // and see http://docs.jquery.com/UI/Datepicker/formatDate
110
- // and https://github.com/jquery/globalize#dates for alternative formats used frequently
111
- // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
112
- // information about date, time, numbers and currency formats used in different countries
113
- // one should just convert the information in PHP format
114
- ISO8601Long:"Y-m-d H:i:s",
115
- ISO8601Short:"Y-m-d",
116
- // short date:
117
- // n - Numeric representation of a month, without leading zeros
118
- // j - Day of the month without leading zeros
119
- // Y - A full numeric representation of a year, 4 digits
120
- // example: 3/1/2012 which means 1 March 2012
121
- ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
122
- // long date:
123
- // l - A full textual representation of the day of the week
124
- // F - A full textual representation of a month
125
- // d - Day of the month, 2 digits with leading zeros
126
- // Y - A full numeric representation of a year, 4 digits
127
- LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
128
- // long date with long time:
129
- // l - A full textual representation of the day of the week
130
- // F - A full textual representation of a month
131
- // d - Day of the month, 2 digits with leading zeros
132
- // Y - A full numeric representation of a year, 4 digits
133
- // g - 12-hour format of an hour without leading zeros
134
- // i - Minutes with leading zeros
135
- // s - Seconds, with leading zeros
136
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
137
- FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
138
- // month day:
139
- // F - A full textual representation of a month
140
- // d - Day of the month, 2 digits with leading zeros
141
- MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
142
- // short time (without seconds)
143
- // g - 12-hour format of an hour without leading zeros
144
- // i - Minutes with leading zeros
145
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
146
- ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
147
- // long time (with seconds)
148
- // g - 12-hour format of an hour without leading zeros
149
- // i - Minutes with leading zeros
150
- // s - Seconds, with leading zeros
151
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
152
- LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
153
- SortableDateTime: "Y-m-d\\TH:i:s",
154
- UniversalSortableDateTime: "Y-m-d H:i:sO",
155
- // month with year
156
- // Y - A full numeric representation of a year, 4 digits
157
- // F - A full textual representation of a month
158
- YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
159
- },
160
- reformatAfterEdit : false
161
- },
162
- baseLinkUrl: '',
163
- showAction: '',
164
- target: '',
165
- checkbox : {disabled:true},
166
- idName : 'id'
167
- }
168
- });
169
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Chinese Translation
4
+ * 咖啡兔 yanhonglei@gmail.com
5
+ * http://www.kafeitu.me
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
14
+ emptyrecords: "无数据显示",
15
+ loadtext: "读取中...",
16
+ pgtext : " {0} 共 {1} 页"
17
+ },
18
+ search : {
19
+ caption: "搜索...",
20
+ Find: "查找",
21
+ Reset: "重置",
22
+ odata: [{ oper:'eq', text:'等于\u3000\u3000'},{ oper:'ne', text:'不等\u3000\u3000'},{ oper:'lt', text:'小于\u3000\u3000'},{ oper:'le', text:'小于等于'},{ oper:'gt', text:'大于\u3000\u3000'},{ oper:'ge', text:'大于等于'},{ oper:'bw', text:'开始于'},{ oper:'bn', text:'不开始于'},{ oper:'in', text:'属于\u3000\u3000'},{ oper:'ni', text:'不属于'},{ oper:'ew', text:'结束于'},{ oper:'en', text:'不结束于'},{ oper:'cn', text:'包含\u3000\u3000'},{ oper:'nc', text:'不包含'},{ oper:'nu', text:'不存在'},{ oper:'nn', text:'存在'}],
23
+ groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "添加记录",
29
+ editCaption: "编辑记录",
30
+ bSubmit: "提交",
31
+ bCancel: "取消",
32
+ bClose: "关闭",
33
+ saveData: "数据已改变,是否保存?",
34
+ bYes : "是",
35
+ bNo : "否",
36
+ bExit : "取消",
37
+ msg: {
38
+ required:"此字段必需",
39
+ number:"请输入有效数字",
40
+ minValue:"输值必须大于等于 ",
41
+ maxValue:"输值必须小于等于 ",
42
+ email: "这不是有效的e-mail地址",
43
+ integer: "请输入有效整数",
44
+ date: "请输入有效时间",
45
+ url: "无效网址。前缀必须为 ('http://' 或 'https://')",
46
+ nodefined : " 未定义!",
47
+ novalue : " 需要返回值!",
48
+ customarray : "自定义函数需要返回数组!",
49
+ customfcheck : "必须有自定义函数!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "查看记录",
54
+ bClose: "关闭"
55
+ },
56
+ del : {
57
+ caption: "删除",
58
+ msg: "删除所选记录?",
59
+ bSubmit: "删除",
60
+ bCancel: "取消"
61
+ },
62
+ nav : {
63
+ edittext: "",
64
+ edittitle: "编辑所选记录",
65
+ addtext:"",
66
+ addtitle: "添加新记录",
67
+ deltext: "",
68
+ deltitle: "删除所选记录",
69
+ searchtext: "",
70
+ searchtitle: "查找",
71
+ refreshtext: "",
72
+ refreshtitle: "刷新表格",
73
+ alertcap: "注意",
74
+ alerttext: "请选择记录",
75
+ viewtext: "",
76
+ viewtitle: "查看所选记录"
77
+ },
78
+ col : {
79
+ caption: "选择列",
80
+ bSubmit: "确定",
81
+ bCancel: "取消"
82
+ },
83
+ errors : {
84
+ errcap : "错误",
85
+ nourl : "没有设置url",
86
+ norecords: "没有要处理的记录",
87
+ model : "colNames 和 colModel 长度不等!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: ",", defaultValue: '0'},
91
+ number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
92
+ currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
93
+ date : {
94
+ dayNames: [
95
+ "日", "一", "二", "三", "四", "五", "六",
96
+ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六",
97
+ ],
98
+ monthNames: [
99
+ "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二",
100
+ "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
101
+ ],
102
+ AmPm : ["am","pm","上午","下午"],
103
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'Y-m-d',
106
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
107
+ masks : {
108
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
109
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
110
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
111
+ // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
112
+ // information about date, time, numbers and currency formats used in different countries
113
+ // one should just convert the information in PHP format
114
+ ISO8601Long:"Y-m-d H:i:s",
115
+ ISO8601Short:"Y-m-d",
116
+ // short date:
117
+ // n - Numeric representation of a month, without leading zeros
118
+ // j - Day of the month without leading zeros
119
+ // Y - A full numeric representation of a year, 4 digits
120
+ // example: 3/1/2012 which means 1 March 2012
121
+ ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
122
+ // long date:
123
+ // l - A full textual representation of the day of the week
124
+ // F - A full textual representation of a month
125
+ // d - Day of the month, 2 digits with leading zeros
126
+ // Y - A full numeric representation of a year, 4 digits
127
+ LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
128
+ // long date with long time:
129
+ // l - A full textual representation of the day of the week
130
+ // F - A full textual representation of a month
131
+ // d - Day of the month, 2 digits with leading zeros
132
+ // Y - A full numeric representation of a year, 4 digits
133
+ // g - 12-hour format of an hour without leading zeros
134
+ // i - Minutes with leading zeros
135
+ // s - Seconds, with leading zeros
136
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
137
+ FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
138
+ // month day:
139
+ // F - A full textual representation of a month
140
+ // d - Day of the month, 2 digits with leading zeros
141
+ MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
142
+ // short time (without seconds)
143
+ // g - 12-hour format of an hour without leading zeros
144
+ // i - Minutes with leading zeros
145
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
146
+ ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
147
+ // long time (with seconds)
148
+ // g - 12-hour format of an hour without leading zeros
149
+ // i - Minutes with leading zeros
150
+ // s - Seconds, with leading zeros
151
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
152
+ LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
153
+ SortableDateTime: "Y-m-d\\TH:i:s",
154
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
155
+ // month with year
156
+ // Y - A full numeric representation of a year, 4 digits
157
+ // F - A full textual representation of a month
158
+ YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
159
+ },
160
+ reformatAfterEdit : false
161
+ },
162
+ baseLinkUrl: '',
163
+ showAction: '',
164
+ target: '',
165
+ checkbox : {disabled:true},
166
+ idName : 'id'
167
+ }
168
+ });
169
+ })(jQuery);
app/assets/js/i18n/grid.locale-cs.js CHANGED
@@ -1,130 +1,130 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Czech Translation
4
- * Pavel Jirak pavel.jirak@jipas.cz
5
- * doplnil Thomas Wagner xwagne01@stud.fit.vutbr.cz
6
- * http://trirand.com/blog/
7
- * Dual licensed under the MIT and GPL licenses:
8
- * http://www.opensource.org/licenses/mit-license.php
9
- * http://www.gnu.org/licenses/gpl.html
10
- **/
11
- $.jgrid = $.jgrid || {};
12
- $.extend($.jgrid,{
13
- defaults : {
14
- recordtext: "Zobrazeno {0} - {1} z {2} záznamů",
15
- emptyrecords: "Nenalezeny žádné záznamy",
16
- loadtext: "Načítám...",
17
- pgtext : "Strana {0} z {1}"
18
- },
19
- search : {
20
- caption: "Vyhledávám...",
21
- Find: "Hledat",
22
- Reset: "Reset",
23
- odata: [{ oper:'eq', text:"rovno"},{ oper:'ne', text:"nerovno"},{ oper:'lt', text:"menší"},{ oper:'le', text:"menší nebo rovno"},{ oper:'gt', text:"větší"},{ oper:'ge', text:"větší nebo rovno"},{ oper:'bw', text:"začíná s"},{ oper:'bn', text:"nezačíná s"},{ oper:'in', text:"je v"},{ oper:'ni', text:"není v"},{ oper:'ew', text:"končí s"},{ oper:'en', text:"nekončí s"},{ oper:'cn', text:"obsahuje"},{ oper:'nc', text:"neobsahuje"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
- groupOps: [ { op: "AND", text: "všech" }, { op: "OR", text: "některého z" } ],
25
- operandTitle : "Click to select search operation.",
26
- resetTitle : "Reset Search Value"
27
- },
28
- edit : {
29
- addCaption: "Přidat záznam",
30
- editCaption: "Editace záznamu",
31
- bSubmit: "Uložit",
32
- bCancel: "Storno",
33
- bClose: "Zavřít",
34
- saveData: "Data byla změněna! Uložit změny?",
35
- bYes : "Ano",
36
- bNo : "Ne",
37
- bExit : "Zrušit",
38
- msg: {
39
- required:"Pole je vyžadováno",
40
- number:"Prosím, vložte validní číslo",
41
- minValue:"hodnota musí být větší než nebo rovná ",
42
- maxValue:"hodnota musí být menší než nebo rovná ",
43
- email: "není validní e-mail",
44
- integer: "Prosím, vložte celé číslo",
45
- date: "Prosím, vložte validní datum",
46
- url: "není platnou URL. Vyžadován prefix ('http://' or 'https://')",
47
- nodefined : " není definován!",
48
- novalue : " je vyžadována návratová hodnota!",
49
- customarray : "Custom function mělá vrátit pole!",
50
- customfcheck : "Custom function by měla být přítomna v případě custom checking!"
51
- }
52
- },
53
- view : {
54
- caption: "Zobrazit záznam",
55
- bClose: "Zavřít"
56
- },
57
- del : {
58
- caption: "Smazat",
59
- msg: "Smazat vybraný(é) záznam(y)?",
60
- bSubmit: "Smazat",
61
- bCancel: "Storno"
62
- },
63
- nav : {
64
- edittext: " ",
65
- edittitle: "Editovat vybraný řádek",
66
- addtext:" ",
67
- addtitle: "Přidat nový řádek",
68
- deltext: " ",
69
- deltitle: "Smazat vybraný záznam ",
70
- searchtext: " ",
71
- searchtitle: "Najít záznamy",
72
- refreshtext: "",
73
- refreshtitle: "Obnovit tabulku",
74
- alertcap: "Varování",
75
- alerttext: "Prosím, vyberte řádek",
76
- viewtext: "",
77
- viewtitle: "Zobrazit vybraný řádek"
78
- },
79
- col : {
80
- caption: "Zobrazit/Skrýt sloupce",
81
- bSubmit: "Uložit",
82
- bCancel: "Storno"
83
- },
84
- errors : {
85
- errcap : "Chyba",
86
- nourl : "Není nastavena url",
87
- norecords: "Žádné záznamy ke zpracování",
88
- model : "Délka colNames <> colModel!"
89
- },
90
- formatter : {
91
- integer : {thousandsSeparator: " ", defaultValue: '0'},
92
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
- date : {
95
- dayNames: [
96
- "Ne", "Po", "Út", "St", "Čt", "Pá", "So",
97
- "Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"
98
- ],
99
- monthNames: [
100
- "Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Srp", "Zář", "Říj", "Lis", "Pro",
101
- "Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"
102
- ],
103
- AmPm : ["do","od","DO","OD"],
104
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
- srcformat: 'Y-m-d',
106
- newformat: 'd/m/Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks : {
109
- ISO8601Long:"Y-m-d H:i:s",
110
- ISO8601Short:"Y-m-d",
111
- ShortDate: "n/j/Y",
112
- LongDate: "l, F d, Y",
113
- FullDateTime: "l, F d, Y g:i:s A",
114
- MonthDay: "F d",
115
- ShortTime: "g:i A",
116
- LongTime: "g:i:s A",
117
- SortableDateTime: "Y-m-d\\TH:i:s",
118
- UniversalSortableDateTime: "Y-m-d H:i:sO",
119
- YearMonth: "F, Y"
120
- },
121
- reformatAfterEdit : false
122
- },
123
- baseLinkUrl: '',
124
- showAction: '',
125
- target: '',
126
- checkbox : {disabled:true},
127
- idName : 'id'
128
- }
129
- });
130
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Czech Translation
4
+ * Pavel Jirak pavel.jirak@jipas.cz
5
+ * doplnil Thomas Wagner xwagne01@stud.fit.vutbr.cz
6
+ * http://trirand.com/blog/
7
+ * Dual licensed under the MIT and GPL licenses:
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ * http://www.gnu.org/licenses/gpl.html
10
+ **/
11
+ $.jgrid = $.jgrid || {};
12
+ $.extend($.jgrid,{
13
+ defaults : {
14
+ recordtext: "Zobrazeno {0} - {1} z {2} záznamů",
15
+ emptyrecords: "Nenalezeny žádné záznamy",
16
+ loadtext: "Načítám...",
17
+ pgtext : "Strana {0} z {1}"
18
+ },
19
+ search : {
20
+ caption: "Vyhledávám...",
21
+ Find: "Hledat",
22
+ Reset: "Reset",
23
+ odata: [{ oper:'eq', text:"rovno"},{ oper:'ne', text:"nerovno"},{ oper:'lt', text:"menší"},{ oper:'le', text:"menší nebo rovno"},{ oper:'gt', text:"větší"},{ oper:'ge', text:"větší nebo rovno"},{ oper:'bw', text:"začíná s"},{ oper:'bn', text:"nezačíná s"},{ oper:'in', text:"je v"},{ oper:'ni', text:"není v"},{ oper:'ew', text:"končí s"},{ oper:'en', text:"nekončí s"},{ oper:'cn', text:"obsahuje"},{ oper:'nc', text:"neobsahuje"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
+ groupOps: [ { op: "AND", text: "všech" }, { op: "OR", text: "některého z" } ],
25
+ operandTitle : "Click to select search operation.",
26
+ resetTitle : "Reset Search Value"
27
+ },
28
+ edit : {
29
+ addCaption: "Přidat záznam",
30
+ editCaption: "Editace záznamu",
31
+ bSubmit: "Uložit",
32
+ bCancel: "Storno",
33
+ bClose: "Zavřít",
34
+ saveData: "Data byla změněna! Uložit změny?",
35
+ bYes : "Ano",
36
+ bNo : "Ne",
37
+ bExit : "Zrušit",
38
+ msg: {
39
+ required:"Pole je vyžadováno",
40
+ number:"Prosím, vložte validní číslo",
41
+ minValue:"hodnota musí být větší než nebo rovná ",
42
+ maxValue:"hodnota musí být menší než nebo rovná ",
43
+ email: "není validní e-mail",
44
+ integer: "Prosím, vložte celé číslo",
45
+ date: "Prosím, vložte validní datum",
46
+ url: "není platnou URL. Vyžadován prefix ('http://' or 'https://')",
47
+ nodefined : " není definován!",
48
+ novalue : " je vyžadována návratová hodnota!",
49
+ customarray : "Custom function mělá vrátit pole!",
50
+ customfcheck : "Custom function by měla být přítomna v případě custom checking!"
51
+ }
52
+ },
53
+ view : {
54
+ caption: "Zobrazit záznam",
55
+ bClose: "Zavřít"
56
+ },
57
+ del : {
58
+ caption: "Smazat",
59
+ msg: "Smazat vybraný(é) záznam(y)?",
60
+ bSubmit: "Smazat",
61
+ bCancel: "Storno"
62
+ },
63
+ nav : {
64
+ edittext: " ",
65
+ edittitle: "Editovat vybraný řádek",
66
+ addtext:" ",
67
+ addtitle: "Přidat nový řádek",
68
+ deltext: " ",
69
+ deltitle: "Smazat vybraný záznam ",
70
+ searchtext: " ",
71
+ searchtitle: "Najít záznamy",
72
+ refreshtext: "",
73
+ refreshtitle: "Obnovit tabulku",
74
+ alertcap: "Varování",
75
+ alerttext: "Prosím, vyberte řádek",
76
+ viewtext: "",
77
+ viewtitle: "Zobrazit vybraný řádek"
78
+ },
79
+ col : {
80
+ caption: "Zobrazit/Skrýt sloupce",
81
+ bSubmit: "Uložit",
82
+ bCancel: "Storno"
83
+ },
84
+ errors : {
85
+ errcap : "Chyba",
86
+ nourl : "Není nastavena url",
87
+ norecords: "Žádné záznamy ke zpracování",
88
+ model : "Délka colNames <> colModel!"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
92
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
+ date : {
95
+ dayNames: [
96
+ "Ne", "Po", "Út", "St", "Čt", "Pá", "So",
97
+ "Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"
98
+ ],
99
+ monthNames: [
100
+ "Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Srp", "Zář", "Říj", "Lis", "Pro",
101
+ "Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"
102
+ ],
103
+ AmPm : ["do","od","DO","OD"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'd/m/Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ ISO8601Long:"Y-m-d H:i:s",
110
+ ISO8601Short:"Y-m-d",
111
+ ShortDate: "n/j/Y",
112
+ LongDate: "l, F d, Y",
113
+ FullDateTime: "l, F d, Y g:i:s A",
114
+ MonthDay: "F d",
115
+ ShortTime: "g:i A",
116
+ LongTime: "g:i:s A",
117
+ SortableDateTime: "Y-m-d\\TH:i:s",
118
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
119
+ YearMonth: "F, Y"
120
+ },
121
+ reformatAfterEdit : false
122
+ },
123
+ baseLinkUrl: '',
124
+ showAction: '',
125
+ target: '',
126
+ checkbox : {disabled:true},
127
+ idName : 'id'
128
+ }
129
+ });
130
+ })(jQuery);
app/assets/js/i18n/grid.locale-da.js CHANGED
@@ -1,130 +1,130 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Danish Translation
4
- * Aesiras A/S
5
- * http://www.aesiras.dk
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Vis {0} - {1} of {2}",
14
- emptyrecords: "Ingen linjer fundet",
15
- loadtext: "Henter...",
16
- pgtext : "Side {0} af {1}"
17
- },
18
- search : {
19
- caption: "Søg...",
20
- Find: "Find",
21
- Reset: "Nulstil",
22
- odata: [{ oper:'eq', text:"lig"},{ oper:'ne', text:"forskellige fra"},{ oper:'lt', text:"mindre"},{ oper:'le', text:"mindre eller lig"},{ oper:'gt', text:"større"},{ oper:'ge', text:"større eller lig"},{ oper:'bw', text:"begynder med"},{ oper:'bn', text:"begynder ikke med"},{ oper:'in', text:"findes i"},{ oper:'ni', text:"findes ikke i"},{ oper:'ew', text:"ender med"},{ oper:'en', text:"ender ikke med"},{ oper:'cn', text:"indeholder"},{ oper:'nc', text:"indeholder ikke"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Tilføj",
29
- editCaption: "Ret",
30
- bSubmit: "Send",
31
- bCancel: "Annuller",
32
- bClose: "Luk",
33
- saveData: "Data er ændret. Gem data?",
34
- bYes : "Ja",
35
- bNo : "Nej",
36
- bExit : "Fortryd",
37
- msg: {
38
- required:"Felt er nødvendigt",
39
- number:"Indtast venligst et validt tal",
40
- minValue:"værdi skal være større end eller lig med",
41
- maxValue:"værdi skal være mindre end eller lig med",
42
- email: "er ikke en gyldig email",
43
- integer: "Indtast venligst et gyldigt heltal",
44
- date: "Indtast venligst en gyldig datoværdi",
45
- url: "er ugyldig URL. Prefix mangler ('http://' or 'https://')",
46
- nodefined : " er ikke defineret!",
47
- novalue : " returværdi kræves!",
48
- customarray : "Custom function should return array!",
49
- customfcheck : "Custom function should be present in case of custom checking!"
50
- }
51
- },
52
- view : {
53
- caption: "Vis linje",
54
- bClose: "Luk"
55
- },
56
- del : {
57
- caption: "Slet",
58
- msg: "Slet valgte linje(r)?",
59
- bSubmit: "Slet",
60
- bCancel: "Fortryd"
61
- },
62
- nav : {
63
- edittext: " ",
64
- edittitle: "Rediger valgte linje",
65
- addtext:" ",
66
- addtitle: "Tilføj ny linje",
67
- deltext: " ",
68
- deltitle: "Slet valgte linje",
69
- searchtext: " ",
70
- searchtitle: "Find linjer",
71
- refreshtext: "",
72
- refreshtitle: "Indlæs igen",
73
- alertcap: "Advarsel",
74
- alerttext: "Vælg venligst linje",
75
- viewtext: "",
76
- viewtitle: "Vis valgte linje"
77
- },
78
- col : {
79
- caption: "Vis/skjul kolonner",
80
- bSubmit: "Opdatere",
81
- bCancel: "Fortryd"
82
- },
83
- errors : {
84
- errcap : "Fejl",
85
- nourl : "Ingen url valgt",
86
- norecords: "Ingen linjer at behandle",
87
- model : "colNames og colModel har ikke samme længde!"
88
- },
89
- formatter : {
90
- integer : {thousandsSeparator: " ", defaultValue: '0'},
91
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
92
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
- date : {
94
- dayNames: [
95
- "Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør",
96
- "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
97
- ],
98
- monthNames: [
99
- "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
100
- "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
101
- ],
102
- AmPm : ["","","",""],
103
- S: function (j) {return '.'},
104
- srcformat: 'Y-m-d',
105
- newformat: 'd/m/Y',
106
- parseRe : /[#%\\\/:_;.,\t\s-]/,
107
- masks : {
108
- ISO8601Long:"Y-m-d H:i:s",
109
- ISO8601Short:"Y-m-d",
110
- ShortDate: "j/n/Y",
111
- LongDate: "l d. F Y",
112
- FullDateTime: "l d F Y G:i:s",
113
- MonthDay: "d. F",
114
- ShortTime: "G:i",
115
- LongTime: "G:i:s",
116
- SortableDateTime: "Y-m-d\\TH:i:s",
117
- UniversalSortableDateTime: "Y-m-d H:i:sO",
118
- YearMonth: "F Y"
119
- },
120
- reformatAfterEdit : false
121
- },
122
- baseLinkUrl: '',
123
- showAction: '',
124
- target: '',
125
- checkbox : {disabled:true},
126
- idName : 'id'
127
- }
128
- });
129
- // DA
130
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Danish Translation
4
+ * Aesiras A/S
5
+ * http://www.aesiras.dk
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Vis {0} - {1} of {2}",
14
+ emptyrecords: "Ingen linjer fundet",
15
+ loadtext: "Henter...",
16
+ pgtext : "Side {0} af {1}"
17
+ },
18
+ search : {
19
+ caption: "Søg...",
20
+ Find: "Find",
21
+ Reset: "Nulstil",
22
+ odata: [{ oper:'eq', text:"lig"},{ oper:'ne', text:"forskellige fra"},{ oper:'lt', text:"mindre"},{ oper:'le', text:"mindre eller lig"},{ oper:'gt', text:"større"},{ oper:'ge', text:"større eller lig"},{ oper:'bw', text:"begynder med"},{ oper:'bn', text:"begynder ikke med"},{ oper:'in', text:"findes i"},{ oper:'ni', text:"findes ikke i"},{ oper:'ew', text:"ender med"},{ oper:'en', text:"ender ikke med"},{ oper:'cn', text:"indeholder"},{ oper:'nc', text:"indeholder ikke"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Tilføj",
29
+ editCaption: "Ret",
30
+ bSubmit: "Send",
31
+ bCancel: "Annuller",
32
+ bClose: "Luk",
33
+ saveData: "Data er ændret. Gem data?",
34
+ bYes : "Ja",
35
+ bNo : "Nej",
36
+ bExit : "Fortryd",
37
+ msg: {
38
+ required:"Felt er nødvendigt",
39
+ number:"Indtast venligst et validt tal",
40
+ minValue:"værdi skal være større end eller lig med",
41
+ maxValue:"værdi skal være mindre end eller lig med",
42
+ email: "er ikke en gyldig email",
43
+ integer: "Indtast venligst et gyldigt heltal",
44
+ date: "Indtast venligst en gyldig datoværdi",
45
+ url: "er ugyldig URL. Prefix mangler ('http://' or 'https://')",
46
+ nodefined : " er ikke defineret!",
47
+ novalue : " returværdi kræves!",
48
+ customarray : "Custom function should return array!",
49
+ customfcheck : "Custom function should be present in case of custom checking!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Vis linje",
54
+ bClose: "Luk"
55
+ },
56
+ del : {
57
+ caption: "Slet",
58
+ msg: "Slet valgte linje(r)?",
59
+ bSubmit: "Slet",
60
+ bCancel: "Fortryd"
61
+ },
62
+ nav : {
63
+ edittext: " ",
64
+ edittitle: "Rediger valgte linje",
65
+ addtext:" ",
66
+ addtitle: "Tilføj ny linje",
67
+ deltext: " ",
68
+ deltitle: "Slet valgte linje",
69
+ searchtext: " ",
70
+ searchtitle: "Find linjer",
71
+ refreshtext: "",
72
+ refreshtitle: "Indlæs igen",
73
+ alertcap: "Advarsel",
74
+ alerttext: "Vælg venligst linje",
75
+ viewtext: "",
76
+ viewtitle: "Vis valgte linje"
77
+ },
78
+ col : {
79
+ caption: "Vis/skjul kolonner",
80
+ bSubmit: "Opdatere",
81
+ bCancel: "Fortryd"
82
+ },
83
+ errors : {
84
+ errcap : "Fejl",
85
+ nourl : "Ingen url valgt",
86
+ norecords: "Ingen linjer at behandle",
87
+ model : "colNames og colModel har ikke samme længde!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
91
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
92
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
+ date : {
94
+ dayNames: [
95
+ "Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør",
96
+ "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
97
+ ],
98
+ monthNames: [
99
+ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
100
+ "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
101
+ ],
102
+ AmPm : ["","","",""],
103
+ S: function (j) {return '.'},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'd/m/Y',
106
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
107
+ masks : {
108
+ ISO8601Long:"Y-m-d H:i:s",
109
+ ISO8601Short:"Y-m-d",
110
+ ShortDate: "j/n/Y",
111
+ LongDate: "l d. F Y",
112
+ FullDateTime: "l d F Y G:i:s",
113
+ MonthDay: "d. F",
114
+ ShortTime: "G:i",
115
+ LongTime: "G:i:s",
116
+ SortableDateTime: "Y-m-d\\TH:i:s",
117
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
118
+ YearMonth: "F Y"
119
+ },
120
+ reformatAfterEdit : false
121
+ },
122
+ baseLinkUrl: '',
123
+ showAction: '',
124
+ target: '',
125
+ checkbox : {disabled:true},
126
+ idName : 'id'
127
+ }
128
+ });
129
+ // DA
130
+ })(jQuery);
app/assets/js/i18n/grid.locale-de.js CHANGED
@@ -1,173 +1,173 @@
1
- ;(function($){
2
- /**
3
- * jqGrid German Translation
4
- * Version 1.0.0 (developed for jQuery Grid 3.3.1)
5
- * Olaf Klöppel opensource@blue-hit.de
6
- * http://blue-hit.de/
7
- *
8
- * Updated for jqGrid 3.8
9
- * Andreas Flack
10
- * http://www.contentcontrol-berlin.de
11
- *
12
- * Updated for jQuery 4.4
13
- * Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
14
- * the format corresponds now the format from
15
- * https://github.com/jquery/globalize/blob/master/lib/cultures/globalize.culture.de.js
16
- *
17
- * Dual licensed under the MIT and GPL licenses:
18
- * http://www.opensource.org/licenses/mit-license.php
19
- * http://www.gnu.org/licenses/gpl.html
20
- **/
21
- $.jgrid = $.jgrid || {};
22
- $.extend($.jgrid,{
23
- defaults : {
24
- recordtext: "Zeige {0} - {1} von {2}",
25
- emptyrecords: "Keine Datensätze vorhanden",
26
- loadtext: "Lädt...",
27
- pgtext : "Seite {0} von {1}"
28
- },
29
- search : {
30
- caption: "Suche...",
31
- Find: "Suchen",
32
- Reset: "Zurücksetzen",
33
- odata: [{ oper:'eq', text:"gleich"},{ oper:'ne', text:"ungleich"},{ oper:'lt', text:"kleiner"},{ oper:'le', text:"kleiner gleich"},{ oper:'gt', text:"größer"},{ oper:'ge', text:"größer gleich"},{ oper:'bw', text:"beginnt mit"},{ oper:'bn', text:"beginnt nicht mit"},{ oper:'in', text:"ist in"},{ oper:'ni', text:"ist nicht in"},{ oper:'ew', text:"endet mit"},{ oper:'en', text:"endet nicht mit"},{ oper:'cn', text:"enthält"},{ oper:'nc', text:"enthält nicht"}, { oper:'nu', text:"ist Null" }, { oper:'nn', text:"ist nicht Null" }],
34
- groupOps: [{ op: "AND", text: "alle" },{ op: "OR", text: "mindestens eine" }],
35
- operandTitle : "Click to select search operation.",
36
- resetTitle : "Reset Search Value"
37
- },
38
- edit : {
39
- addCaption: "Datensatz hinzufügen",
40
- editCaption: "Datensatz bearbeiten",
41
- bSubmit: "Speichern",
42
- bCancel: "Abbrechen",
43
- bClose: "Schließen",
44
- saveData: "Daten wurden geändert! Änderungen speichern?",
45
- bYes : "ja",
46
- bNo : "nein",
47
- bExit : "abbrechen",
48
- msg: {
49
- required:"Feld ist erforderlich",
50
- number: "Bitte geben Sie eine Zahl ein",
51
- minValue:"Wert muss größer oder gleich sein, als ",
52
- maxValue:"Wert muss kleiner oder gleich sein, als ",
53
- email: "ist keine gültige E-Mail-Adresse",
54
- integer: "Bitte geben Sie eine Ganzzahl ein",
55
- date: "Bitte geben Sie ein gültiges Datum ein",
56
- url: "ist keine gültige URL. Präfix muss eingegeben werden ('http://' oder 'https://')",
57
- nodefined : " ist nicht definiert!",
58
- novalue : " Rückgabewert ist erforderlich!",
59
- customarray : "Benutzerdefinierte Funktion sollte ein Array zurückgeben!",
60
- customfcheck : "Benutzerdefinierte Funktion sollte im Falle der benutzerdefinierten Überprüfung vorhanden sein!"
61
- }
62
- },
63
- view : {
64
- caption: "Datensatz anzeigen",
65
- bClose: "Schließen"
66
- },
67
- del : {
68
- caption: "Löschen",
69
- msg: "Ausgewählte Datensätze löschen?",
70
- bSubmit: "Löschen",
71
- bCancel: "Abbrechen"
72
- },
73
- nav : {
74
- edittext: " ",
75
- edittitle: "Ausgewählte Zeile editieren",
76
- addtext:" ",
77
- addtitle: "Neue Zeile einfügen",
78
- deltext: " ",
79
- deltitle: "Ausgewählte Zeile löschen",
80
- searchtext: " ",
81
- searchtitle: "Datensatz suchen",
82
- refreshtext: "",
83
- refreshtitle: "Tabelle neu laden",
84
- alertcap: "Warnung",
85
- alerttext: "Bitte Zeile auswählen",
86
- viewtext: "",
87
- viewtitle: "Ausgewählte Zeile anzeigen"
88
- },
89
- col : {
90
- caption: "Spalten auswählen",
91
- bSubmit: "Speichern",
92
- bCancel: "Abbrechen"
93
- },
94
- errors : {
95
- errcap : "Fehler",
96
- nourl : "Keine URL angegeben",
97
- norecords: "Keine Datensätze zu bearbeiten",
98
- model : "colNames und colModel sind unterschiedlich lang!"
99
- },
100
- formatter : {
101
- integer : {thousandsSeparator: ".", defaultValue: '0'},
102
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
103
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:" €", defaultValue: '0,00'},
104
- date : {
105
- dayNames: [
106
- "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa",
107
- "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"
108
- ],
109
- monthNames: [
110
- "Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez",
111
- "Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"
112
- ],
113
- AmPm : ["","","",""],
114
- S: function () {return '.';}, // one can also use 'er' instead of '.' but one have to use additional word like 'der' or 'den' before
115
- srcformat: 'Y-m-d',
116
- newformat: 'd.m.Y',
117
- parseRe : /[#%\\\/:_;.,\t\s-]/,
118
- masks : {
119
- // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
120
- // and see http://docs.jquery.com/UI/Datepicker/formatDate
121
- // and https://github.com/jquery/globalize#dates for alternative formats used frequently
122
- ISO8601Long: "Y-m-d H:i:s",
123
- ISO8601Short: "Y-m-d",
124
- // short date:
125
- // d - Day of the month, 2 digits with leading zeros
126
- // m - Numeric representation of a month, with leading zeros
127
- // Y - A full numeric representation of a year, 4 digits
128
- ShortDate: "d.m.Y", // in jQuery UI Datepicker: "dd.MM.yyyy"
129
- // long date:
130
- // l - A full textual representation of the day of the week
131
- // j - Day of the month without leading zeros
132
- // F - A full textual representation of a month
133
- // Y - A full numeric representation of a year, 4 digits
134
- LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
135
- // long date with long time:
136
- // l - A full textual representation of the day of the week
137
- // j - Day of the month without leading zeros
138
- // F - A full textual representation of a month
139
- // Y - A full numeric representation of a year, 4 digits
140
- // H - 24-hour format of an hour with leading zeros
141
- // i - Minutes with leading zeros
142
- // s - Seconds, with leading zeros
143
- FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
144
- // month day:
145
- // d - Day of the month, 2 digits with leading zeros
146
- // F - A full textual representation of a month
147
- MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
148
- // short time (without seconds)
149
- // H - 24-hour format of an hour with leading zeros
150
- // i - Minutes with leading zeros
151
- ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
152
- // long time (with seconds)
153
- // H - 24-hour format of an hour with leading zeros
154
- // i - Minutes with leading zeros
155
- // s - Seconds, with leading zeros
156
- LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
157
- SortableDateTime: "Y-m-d\\TH:i:s",
158
- UniversalSortableDateTime: "Y-m-d H:i:sO",
159
- // month with year
160
- // F - A full textual representation of a month
161
- // Y - A full numeric representation of a year, 4 digits
162
- YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
163
- },
164
- reformatAfterEdit : false
165
- },
166
- baseLinkUrl: '',
167
- showAction: '',
168
- target: '',
169
- checkbox : {disabled:true},
170
- idName : 'id'
171
- }
172
- });
173
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid German Translation
4
+ * Version 1.0.0 (developed for jQuery Grid 3.3.1)
5
+ * Olaf Klöppel opensource@blue-hit.de
6
+ * http://blue-hit.de/
7
+ *
8
+ * Updated for jqGrid 3.8
9
+ * Andreas Flack
10
+ * http://www.contentcontrol-berlin.de
11
+ *
12
+ * Updated for jQuery 4.4
13
+ * Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
14
+ * the format corresponds now the format from
15
+ * https://github.com/jquery/globalize/blob/master/lib/cultures/globalize.culture.de.js
16
+ *
17
+ * Dual licensed under the MIT and GPL licenses:
18
+ * http://www.opensource.org/licenses/mit-license.php
19
+ * http://www.gnu.org/licenses/gpl.html
20
+ **/
21
+ $.jgrid = $.jgrid || {};
22
+ $.extend($.jgrid,{
23
+ defaults : {
24
+ recordtext: "Zeige {0} - {1} von {2}",
25
+ emptyrecords: "Keine Datensätze vorhanden",
26
+ loadtext: "Lädt...",
27
+ pgtext : "Seite {0} von {1}"
28
+ },
29
+ search : {
30
+ caption: "Suche...",
31
+ Find: "Suchen",
32
+ Reset: "Zurücksetzen",
33
+ odata: [{ oper:'eq', text:"gleich"},{ oper:'ne', text:"ungleich"},{ oper:'lt', text:"kleiner"},{ oper:'le', text:"kleiner gleich"},{ oper:'gt', text:"größer"},{ oper:'ge', text:"größer gleich"},{ oper:'bw', text:"beginnt mit"},{ oper:'bn', text:"beginnt nicht mit"},{ oper:'in', text:"ist in"},{ oper:'ni', text:"ist nicht in"},{ oper:'ew', text:"endet mit"},{ oper:'en', text:"endet nicht mit"},{ oper:'cn', text:"enthält"},{ oper:'nc', text:"enthält nicht"}, { oper:'nu', text:"ist Null" }, { oper:'nn', text:"ist nicht Null" }],
34
+ groupOps: [{ op: "AND", text: "alle" },{ op: "OR", text: "mindestens eine" }],
35
+ operandTitle : "Click to select search operation.",
36
+ resetTitle : "Reset Search Value"
37
+ },
38
+ edit : {
39
+ addCaption: "Datensatz hinzufügen",
40
+ editCaption: "Datensatz bearbeiten",
41
+ bSubmit: "Speichern",
42
+ bCancel: "Abbrechen",
43
+ bClose: "Schließen",
44
+ saveData: "Daten wurden geändert! Änderungen speichern?",
45
+ bYes : "ja",
46
+ bNo : "nein",
47
+ bExit : "abbrechen",
48
+ msg: {
49
+ required:"Feld ist erforderlich",
50
+ number: "Bitte geben Sie eine Zahl ein",
51
+ minValue:"Wert muss größer oder gleich sein, als ",
52
+ maxValue:"Wert muss kleiner oder gleich sein, als ",
53
+ email: "ist keine gültige E-Mail-Adresse",
54
+ integer: "Bitte geben Sie eine Ganzzahl ein",
55
+ date: "Bitte geben Sie ein gültiges Datum ein",
56
+ url: "ist keine gültige URL. Präfix muss eingegeben werden ('http://' oder 'https://')",
57
+ nodefined : " ist nicht definiert!",
58
+ novalue : " Rückgabewert ist erforderlich!",
59
+ customarray : "Benutzerdefinierte Funktion sollte ein Array zurückgeben!",
60
+ customfcheck : "Benutzerdefinierte Funktion sollte im Falle der benutzerdefinierten Überprüfung vorhanden sein!"
61
+ }
62
+ },
63
+ view : {
64
+ caption: "Datensatz anzeigen",
65
+ bClose: "Schließen"
66
+ },
67
+ del : {
68
+ caption: "Löschen",
69
+ msg: "Ausgewählte Datensätze löschen?",
70
+ bSubmit: "Löschen",
71
+ bCancel: "Abbrechen"
72
+ },
73
+ nav : {
74
+ edittext: " ",
75
+ edittitle: "Ausgewählte Zeile editieren",
76
+ addtext:" ",
77
+ addtitle: "Neue Zeile einfügen",
78
+ deltext: " ",
79
+ deltitle: "Ausgewählte Zeile löschen",
80
+ searchtext: " ",
81
+ searchtitle: "Datensatz suchen",
82
+ refreshtext: "",
83
+ refreshtitle: "Tabelle neu laden",
84
+ alertcap: "Warnung",
85
+ alerttext: "Bitte Zeile auswählen",
86
+ viewtext: "",
87
+ viewtitle: "Ausgewählte Zeile anzeigen"
88
+ },
89
+ col : {
90
+ caption: "Spalten auswählen",
91
+ bSubmit: "Speichern",
92
+ bCancel: "Abbrechen"
93
+ },
94
+ errors : {
95
+ errcap : "Fehler",
96
+ nourl : "Keine URL angegeben",
97
+ norecords: "Keine Datensätze zu bearbeiten",
98
+ model : "colNames und colModel sind unterschiedlich lang!"
99
+ },
100
+ formatter : {
101
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
102
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
103
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:" €", defaultValue: '0,00'},
104
+ date : {
105
+ dayNames: [
106
+ "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa",
107
+ "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"
108
+ ],
109
+ monthNames: [
110
+ "Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez",
111
+ "Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"
112
+ ],
113
+ AmPm : ["","","",""],
114
+ S: function () {return '.';}, // one can also use 'er' instead of '.' but one have to use additional word like 'der' or 'den' before
115
+ srcformat: 'Y-m-d',
116
+ newformat: 'd.m.Y',
117
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
118
+ masks : {
119
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
120
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
121
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
122
+ ISO8601Long: "Y-m-d H:i:s",
123
+ ISO8601Short: "Y-m-d",
124
+ // short date:
125
+ // d - Day of the month, 2 digits with leading zeros
126
+ // m - Numeric representation of a month, with leading zeros
127
+ // Y - A full numeric representation of a year, 4 digits
128
+ ShortDate: "d.m.Y", // in jQuery UI Datepicker: "dd.MM.yyyy"
129
+ // long date:
130
+ // l - A full textual representation of the day of the week
131
+ // j - Day of the month without leading zeros
132
+ // F - A full textual representation of a month
133
+ // Y - A full numeric representation of a year, 4 digits
134
+ LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
135
+ // long date with long time:
136
+ // l - A full textual representation of the day of the week
137
+ // j - Day of the month without leading zeros
138
+ // F - A full textual representation of a month
139
+ // Y - A full numeric representation of a year, 4 digits
140
+ // H - 24-hour format of an hour with leading zeros
141
+ // i - Minutes with leading zeros
142
+ // s - Seconds, with leading zeros
143
+ FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
144
+ // month day:
145
+ // d - Day of the month, 2 digits with leading zeros
146
+ // F - A full textual representation of a month
147
+ MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
148
+ // short time (without seconds)
149
+ // H - 24-hour format of an hour with leading zeros
150
+ // i - Minutes with leading zeros
151
+ ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
152
+ // long time (with seconds)
153
+ // H - 24-hour format of an hour with leading zeros
154
+ // i - Minutes with leading zeros
155
+ // s - Seconds, with leading zeros
156
+ LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
157
+ SortableDateTime: "Y-m-d\\TH:i:s",
158
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
159
+ // month with year
160
+ // F - A full textual representation of a month
161
+ // Y - A full numeric representation of a year, 4 digits
162
+ YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
163
+ },
164
+ reformatAfterEdit : false
165
+ },
166
+ baseLinkUrl: '',
167
+ showAction: '',
168
+ target: '',
169
+ checkbox : {disabled:true},
170
+ idName : 'id'
171
+ }
172
+ });
173
+ })(jQuery);
app/assets/js/i18n/grid.locale-dk.js CHANGED
@@ -1,129 +1,129 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Danish Translation
4
- * Kaare Rasmussen kjs@jasonic.dk
5
- * http://jasonic.dk/blog
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = {
11
- defaults : {
12
- recordtext: "View {0} - {1} of {2}",
13
- emptyrecords: "No records to view",
14
- loadtext: "Loading...",
15
- pgtext : "Page {0} of {1}"
16
- },
17
- search : {
18
- caption: "Søg...",
19
- Find: "Find",
20
- Reset: "Nulstil",
21
- odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
22
- groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
23
- operandTitle : "Click to select search operation.",
24
- resetTitle : "Reset Search Value"
25
- },
26
- edit : {
27
- addCaption: "Tilføj",
28
- editCaption: "Ret",
29
- bSubmit: "Send",
30
- bCancel: "Annuller",
31
- bClose: "Luk",
32
- saveData: "Data has been changed! Save changes?",
33
- bYes : "Yes",
34
- bNo : "No",
35
- bExit : "Cancel",
36
- msg: {
37
- required:"Felt er nødvendigt",
38
- number:"Indtast venligst et validt tal",
39
- minValue:"værdi skal være større end eller lig med",
40
- maxValue:"værdi skal være mindre end eller lig med",
41
- email: "er ikke en valid email",
42
- integer: "Indtast venligst et validt heltalt",
43
- date: "Indtast venligst en valid datoværdi",
44
- url: "is not a valid URL. Prefix required ('http://' or 'https://')",
45
- nodefined : " is not defined!",
46
- novalue : " return value is required!",
47
- customarray : "Custom function should return array!",
48
- customfcheck : "Custom function should be present in case of custom checking!"
49
- }
50
- },
51
- view : {
52
- caption: "View Record",
53
- bClose: "Close"
54
- },
55
- del : {
56
- caption: "Slet",
57
- msg: "Slet valgte række(r)?",
58
- bSubmit: "Slet",
59
- bCancel: "Annuller"
60
- },
61
- nav : {
62
- edittext: " ",
63
- edittitle: "Rediger valgte række",
64
- addtext:" ",
65
- addtitle: "Tilføj ny række",
66
- deltext: " ",
67
- deltitle: "Slet valgte række",
68
- searchtext: " ",
69
- searchtitle: "Find poster",
70
- refreshtext: "",
71
- refreshtitle: "Indlæs igen",
72
- alertcap: "Advarsel",
73
- alerttext: "Vælg venligst række",
74
- viewtext: "",
75
- viewtitle: "View selected row"
76
- },
77
- col : {
78
- caption: "Vis/skjul kolonner",
79
- bSubmit: "Send",
80
- bCancel: "Annuller"
81
- },
82
- errors : {
83
- errcap : "Fejl",
84
- nourl : "Ingel url valgt",
85
- norecords: "Ingen poster at behandle",
86
- model : "colNames og colModel har ikke samme længde!"
87
- },
88
- formatter : {
89
- integer : {thousandsSeparator: " ", defaultValue: '0'},
90
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92
- date : {
93
- dayNames: [
94
- "Søn", "Man", "Tirs", "Ons", "Tors", "Fre", "Lør",
95
- "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
96
- ],
97
- monthNames: [
98
- "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
99
- "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
100
- ],
101
- AmPm : ["","","",""],
102
- S: function (j) {return '.'},
103
- srcformat: 'Y-m-d',
104
- newformat: 'd/m/Y',
105
- parseRe : /[#%\\\/:_;.,\t\s-]/,
106
- masks : {
107
- ISO8601Long:"Y-m-d H:i:s",
108
- ISO8601Short:"Y-m-d",
109
- ShortDate: "j/n/Y",
110
- LongDate: "l d. F Y",
111
- FullDateTime: "l d F Y G:i:s",
112
- MonthDay: "d. F",
113
- ShortTime: "G:i",
114
- LongTime: "G:i:s",
115
- SortableDateTime: "Y-m-d\\TH:i:s",
116
- UniversalSortableDateTime: "Y-m-d H:i:sO",
117
- YearMonth: "F Y"
118
- },
119
- reformatAfterEdit : false
120
- },
121
- baseLinkUrl: '',
122
- showAction: '',
123
- target: '',
124
- checkbox : {disabled:true},
125
- idName : 'id'
126
- }
127
- };
128
- // DK
129
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Danish Translation
4
+ * Kaare Rasmussen kjs@jasonic.dk
5
+ * http://jasonic.dk/blog
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = {
11
+ defaults : {
12
+ recordtext: "View {0} - {1} of {2}",
13
+ emptyrecords: "No records to view",
14
+ loadtext: "Loading...",
15
+ pgtext : "Page {0} of {1}"
16
+ },
17
+ search : {
18
+ caption: "Søg...",
19
+ Find: "Find",
20
+ Reset: "Nulstil",
21
+ odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
22
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
23
+ operandTitle : "Click to select search operation.",
24
+ resetTitle : "Reset Search Value"
25
+ },
26
+ edit : {
27
+ addCaption: "Tilføj",
28
+ editCaption: "Ret",
29
+ bSubmit: "Send",
30
+ bCancel: "Annuller",
31
+ bClose: "Luk",
32
+ saveData: "Data has been changed! Save changes?",
33
+ bYes : "Yes",
34
+ bNo : "No",
35
+ bExit : "Cancel",
36
+ msg: {
37
+ required:"Felt er nødvendigt",
38
+ number:"Indtast venligst et validt tal",
39
+ minValue:"værdi skal være større end eller lig med",
40
+ maxValue:"værdi skal være mindre end eller lig med",
41
+ email: "er ikke en valid email",
42
+ integer: "Indtast venligst et validt heltalt",
43
+ date: "Indtast venligst en valid datoværdi",
44
+ url: "is not a valid URL. Prefix required ('http://' or 'https://')",
45
+ nodefined : " is not defined!",
46
+ novalue : " return value is required!",
47
+ customarray : "Custom function should return array!",
48
+ customfcheck : "Custom function should be present in case of custom checking!"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "View Record",
53
+ bClose: "Close"
54
+ },
55
+ del : {
56
+ caption: "Slet",
57
+ msg: "Slet valgte række(r)?",
58
+ bSubmit: "Slet",
59
+ bCancel: "Annuller"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Rediger valgte række",
64
+ addtext:" ",
65
+ addtitle: "Tilføj ny række",
66
+ deltext: " ",
67
+ deltitle: "Slet valgte række",
68
+ searchtext: " ",
69
+ searchtitle: "Find poster",
70
+ refreshtext: "",
71
+ refreshtitle: "Indlæs igen",
72
+ alertcap: "Advarsel",
73
+ alerttext: "Vælg venligst række",
74
+ viewtext: "",
75
+ viewtitle: "View selected row"
76
+ },
77
+ col : {
78
+ caption: "Vis/skjul kolonner",
79
+ bSubmit: "Send",
80
+ bCancel: "Annuller"
81
+ },
82
+ errors : {
83
+ errcap : "Fejl",
84
+ nourl : "Ingel url valgt",
85
+ norecords: "Ingen poster at behandle",
86
+ model : "colNames og colModel har ikke samme længde!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
90
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92
+ date : {
93
+ dayNames: [
94
+ "Søn", "Man", "Tirs", "Ons", "Tors", "Fre", "Lør",
95
+ "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
96
+ ],
97
+ monthNames: [
98
+ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
99
+ "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
100
+ ],
101
+ AmPm : ["","","",""],
102
+ S: function (j) {return '.'},
103
+ srcformat: 'Y-m-d',
104
+ newformat: 'd/m/Y',
105
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
106
+ masks : {
107
+ ISO8601Long:"Y-m-d H:i:s",
108
+ ISO8601Short:"Y-m-d",
109
+ ShortDate: "j/n/Y",
110
+ LongDate: "l d. F Y",
111
+ FullDateTime: "l d F Y G:i:s",
112
+ MonthDay: "d. F",
113
+ ShortTime: "G:i",
114
+ LongTime: "G:i:s",
115
+ SortableDateTime: "Y-m-d\\TH:i:s",
116
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
117
+ YearMonth: "F Y"
118
+ },
119
+ reformatAfterEdit : false
120
+ },
121
+ baseLinkUrl: '',
122
+ showAction: '',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ };
128
+ // DK
129
+ })(jQuery);
app/assets/js/i18n/grid.locale-el.js CHANGED
@@ -1,128 +1,128 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Greek (el) Translation
4
- * Alex Cicovic
5
- * http://www.alexcicovic.com
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "View {0} - {1} of {2}",
14
- emptyrecords: "No records to view",
15
- loadtext: "Φόρτωση...",
16
- pgtext : "Page {0} of {1}"
17
- },
18
- search : {
19
- caption: "Αναζήτηση...",
20
- Find: "Εύρεση",
21
- Reset: "Επαναφορά",
22
- odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Εισαγωγή Εγγραφής",
29
- editCaption: "Επεξεργασία Εγγραφής",
30
- bSubmit: "Καταχώρηση",
31
- bCancel: "Άκυρο",
32
- bClose: "Κλείσιμο",
33
- saveData: "Data has been changed! Save changes?",
34
- bYes : "Yes",
35
- bNo : "No",
36
- bExit : "Cancel",
37
- msg: {
38
- required:"Το πεδίο είναι απαραίτητο",
39
- number:"Το πεδίο δέχεται μόνο αριθμούς",
40
- minValue:"Η τιμή πρέπει να είναι μεγαλύτερη ή ίση του ",
41
- maxValue:"Η τιμή πρέπει να είναι μικρότερη ή ίση του ",
42
- email: "Η διεύθυνση e-mail δεν είναι έγκυρη",
43
- integer: "Το πεδίο δέχεται μόνο ακέραιους αριθμούς",
44
- url: "is not a valid URL. Prefix required ('http://' or 'https://')",
45
- nodefined : " is not defined!",
46
- novalue : " return value is required!",
47
- customarray : "Custom function should return array!",
48
- customfcheck : "Custom function should be present in case of custom checking!"
49
- }
50
- },
51
- view : {
52
- caption: "View Record",
53
- bClose: "Close"
54
- },
55
- del : {
56
- caption: "Διαγραφή",
57
- msg: "Διαγραφή των επιλεγμένων εγγραφών;",
58
- bSubmit: "Ναι",
59
- bCancel: "Άκυρο"
60
- },
61
- nav : {
62
- edittext: " ",
63
- edittitle: "Επεξεργασία επιλεγμένης εγγραφής",
64
- addtext:" ",
65
- addtitle: "Εισαγωγή νέας εγγραφής",
66
- deltext: " ",
67
- deltitle: "Διαγραφή επιλεγμένης εγγραφής",
68
- searchtext: " ",
69
- searchtitle: "Εύρεση Εγγραφών",
70
- refreshtext: "",
71
- refreshtitle: "Ανανέωση Πίνακα",
72
- alertcap: "Προσοχή",
73
- alerttext: "Δεν έχετε επιλέξει εγγραφή",
74
- viewtext: "",
75
- viewtitle: "View selected row"
76
- },
77
- col : {
78
- caption: "Εμφάνιση / Απόκρυψη Στηλών",
79
- bSubmit: "ΟΚ",
80
- bCancel: "Άκυρο"
81
- },
82
- errors : {
83
- errcap : "Σφάλμα",
84
- nourl : "Δεν έχει δοθεί διεύθυνση χειρισμού για τη συγκεκριμένη ενέργεια",
85
- norecords: "Δεν υπάρχουν εγγραφές προς επεξεργασία",
86
- model : "Άνισος αριθμός πεδίων colNames/colModel!"
87
- },
88
- formatter : {
89
- integer : {thousandsSeparator: " ", defaultValue: '0'},
90
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
91
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
92
- date : {
93
- dayNames: [
94
- "Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ",
95
- "Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο"
96
- ],
97
- monthNames: [
98
- "Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ",
99
- "Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"
100
- ],
101
- AmPm : ["πμ","μμ","ΠΜ","ΜΜ"],
102
- S: function (j) {return j == 1 || j > 1 ? ['η'][Math.min((j - 1) % 10, 3)] : ''},
103
- srcformat: 'Y-m-d',
104
- newformat: 'd/m/Y',
105
- parseRe : /[#%\\\/:_;.,\t\s-]/,
106
- masks : {
107
- ISO8601Long:"Y-m-d H:i:s",
108
- ISO8601Short:"Y-m-d",
109
- ShortDate: "n/j/Y",
110
- LongDate: "l, F d, Y",
111
- FullDateTime: "l, F d, Y g:i:s A",
112
- MonthDay: "F d",
113
- ShortTime: "g:i A",
114
- LongTime: "g:i:s A",
115
- SortableDateTime: "Y-m-d\\TH:i:s",
116
- UniversalSortableDateTime: "Y-m-d H:i:sO",
117
- YearMonth: "F, Y"
118
- },
119
- reformatAfterEdit : false
120
- },
121
- baseLinkUrl: '',
122
- showAction: '',
123
- target: '',
124
- checkbox : {disabled:true},
125
- idName : 'id'
126
- }
127
- });
128
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Greek (el) Translation
4
+ * Alex Cicovic
5
+ * http://www.alexcicovic.com
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "View {0} - {1} of {2}",
14
+ emptyrecords: "No records to view",
15
+ loadtext: "Φόρτωση...",
16
+ pgtext : "Page {0} of {1}"
17
+ },
18
+ search : {
19
+ caption: "Αναζήτηση...",
20
+ Find: "Εύρεση",
21
+ Reset: "Επαναφορά",
22
+ odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Εισαγωγή Εγγραφής",
29
+ editCaption: "Επεξεργασία Εγγραφής",
30
+ bSubmit: "Καταχώρηση",
31
+ bCancel: "Άκυρο",
32
+ bClose: "Κλείσιμο",
33
+ saveData: "Data has been changed! Save changes?",
34
+ bYes : "Yes",
35
+ bNo : "No",
36
+ bExit : "Cancel",
37
+ msg: {
38
+ required:"Το πεδίο είναι απαραίτητο",
39
+ number:"Το πεδίο δέχεται μόνο αριθμούς",
40
+ minValue:"Η τιμή πρέπει να είναι μεγαλύτερη ή ίση του ",
41
+ maxValue:"Η τιμή πρέπει να είναι μικρότερη ή ίση του ",
42
+ email: "Η διεύθυνση e-mail δεν είναι έγκυρη",
43
+ integer: "Το πεδίο δέχεται μόνο ακέραιους αριθμούς",
44
+ url: "is not a valid URL. Prefix required ('http://' or 'https://')",
45
+ nodefined : " is not defined!",
46
+ novalue : " return value is required!",
47
+ customarray : "Custom function should return array!",
48
+ customfcheck : "Custom function should be present in case of custom checking!"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "View Record",
53
+ bClose: "Close"
54
+ },
55
+ del : {
56
+ caption: "Διαγραφή",
57
+ msg: "Διαγραφή των επιλεγμένων εγγραφών;",
58
+ bSubmit: "Ναι",
59
+ bCancel: "Άκυρο"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Επεξεργασία επιλεγμένης εγγραφής",
64
+ addtext:" ",
65
+ addtitle: "Εισαγωγή νέας εγγραφής",
66
+ deltext: " ",
67
+ deltitle: "Διαγραφή επιλεγμένης εγγραφής",
68
+ searchtext: " ",
69
+ searchtitle: "Εύρεση Εγγραφών",
70
+ refreshtext: "",
71
+ refreshtitle: "Ανανέωση Πίνακα",
72
+ alertcap: "Προσοχή",
73
+ alerttext: "Δεν έχετε επιλέξει εγγραφή",
74
+ viewtext: "",
75
+ viewtitle: "View selected row"
76
+ },
77
+ col : {
78
+ caption: "Εμφάνιση / Απόκρυψη Στηλών",
79
+ bSubmit: "ΟΚ",
80
+ bCancel: "Άκυρο"
81
+ },
82
+ errors : {
83
+ errcap : "Σφάλμα",
84
+ nourl : "Δεν έχει δοθεί διεύθυνση χειρισμού για τη συγκεκριμένη ενέργεια",
85
+ norecords: "Δεν υπάρχουν εγγραφές προς επεξεργασία",
86
+ model : "Άνισος αριθμός πεδίων colNames/colModel!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
90
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
91
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
92
+ date : {
93
+ dayNames: [
94
+ "Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ",
95
+ "Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο"
96
+ ],
97
+ monthNames: [
98
+ "Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ",
99
+ "Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"
100
+ ],
101
+ AmPm : ["πμ","μμ","ΠΜ","ΜΜ"],
102
+ S: function (j) {return j == 1 || j > 1 ? ['η'][Math.min((j - 1) % 10, 3)] : ''},
103
+ srcformat: 'Y-m-d',
104
+ newformat: 'd/m/Y',
105
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
106
+ masks : {
107
+ ISO8601Long:"Y-m-d H:i:s",
108
+ ISO8601Short:"Y-m-d",
109
+ ShortDate: "n/j/Y",
110
+ LongDate: "l, F d, Y",
111
+ FullDateTime: "l, F d, Y g:i:s A",
112
+ MonthDay: "F d",
113
+ ShortTime: "g:i A",
114
+ LongTime: "g:i:s A",
115
+ SortableDateTime: "Y-m-d\\TH:i:s",
116
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
117
+ YearMonth: "F, Y"
118
+ },
119
+ reformatAfterEdit : false
120
+ },
121
+ baseLinkUrl: '',
122
+ showAction: '',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ });
128
+ })(jQuery);
app/assets/js/i18n/grid.locale-en.js CHANGED
@@ -1,170 +1,170 @@
1
- ;(function($){
2
- /**
3
- * jqGrid English Translation
4
- * Tony Tomov tony@trirand.com
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "View {0} - {1} of {2}",
14
- emptyrecords: "No records to view",
15
- loadtext: "Loading...",
16
- pgtext : "{0} of {1}"
17
- },
18
- search : {
19
- caption: "Search...",
20
- Find: "Find",
21
- Reset: "Reset",
22
- odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [{ op: "AND", text: "all" },{ op: "OR", text: "any" }],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Add Record",
29
- editCaption: "Edit Record",
30
- bSubmit: "Submit",
31
- bCancel: "Cancel",
32
- bClose: "Close",
33
- saveData: "Data has been changed! Save changes?",
34
- bYes : "Yes",
35
- bNo : "No",
36
- bExit : "Cancel",
37
- msg: {
38
- required:"Field is required",
39
- number:"Please, enter valid number",
40
- minValue:"value must be greater than or equal to ",
41
- maxValue:"value must be less than or equal to",
42
- email: "is not a valid e-mail",
43
- integer: "Please, enter valid integer value",
44
- date: "Please, enter valid date value",
45
- url: "is not a valid URL. Prefix required ('http://' or 'https://')",
46
- nodefined : " is not defined!",
47
- novalue : " return value is required!",
48
- customarray : "Custom function should return array!",
49
- customfcheck : "Custom function should be present in case of custom checking!"
50
-
51
- }
52
- },
53
- view : {
54
- caption: "View Record",
55
- bClose: "Close"
56
- },
57
- del : {
58
- caption: "Delete",
59
- msg: "Delete selected record(s)?",
60
- bSubmit: "Delete",
61
- bCancel: "Cancel"
62
- },
63
- nav : {
64
- edittext: "",
65
- edittitle: "Edit selected row",
66
- addtext:"",
67
- addtitle: "Add new row",
68
- deltext: "",
69
- deltitle: "Delete selected row",
70
- searchtext: "",
71
- searchtitle: "Find records",
72
- refreshtext: "",
73
- refreshtitle: "Reload Grid",
74
- alertcap: "Warning",
75
- alerttext: "Please, select row",
76
- viewtext: "",
77
- viewtitle: "View selected row"
78
- },
79
- col : {
80
- caption: "Select columns",
81
- bSubmit: "Ok",
82
- bCancel: "Cancel"
83
- },
84
- errors : {
85
- errcap : "Error",
86
- nourl : "No url is set",
87
- norecords: "No records to process",
88
- model : "Length of colNames <> colModel!"
89
- },
90
- formatter : {
91
- integer : {thousandsSeparator: ",", defaultValue: '0'},
92
- number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
93
- currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
- date : {
95
- dayNames: [
96
- "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
97
- "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
98
- ],
99
- monthNames: [
100
- "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
101
- "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
102
- ],
103
- AmPm : ["am","pm","AM","PM"],
104
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
105
- srcformat: 'Y-m-d',
106
- newformat: 'n/j/Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks : {
109
- // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
110
- // and see http://docs.jquery.com/UI/Datepicker/formatDate
111
- // and https://github.com/jquery/globalize#dates for alternative formats used frequently
112
- // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
113
- // information about date, time, numbers and currency formats used in different countries
114
- // one should just convert the information in PHP format
115
- ISO8601Long:"Y-m-d H:i:s",
116
- ISO8601Short:"Y-m-d",
117
- // short date:
118
- // n - Numeric representation of a month, without leading zeros
119
- // j - Day of the month without leading zeros
120
- // Y - A full numeric representation of a year, 4 digits
121
- // example: 3/1/2012 which means 1 March 2012
122
- ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
123
- // long date:
124
- // l - A full textual representation of the day of the week
125
- // F - A full textual representation of a month
126
- // d - Day of the month, 2 digits with leading zeros
127
- // Y - A full numeric representation of a year, 4 digits
128
- LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
129
- // long date with long time:
130
- // l - A full textual representation of the day of the week
131
- // F - A full textual representation of a month
132
- // d - Day of the month, 2 digits with leading zeros
133
- // Y - A full numeric representation of a year, 4 digits
134
- // g - 12-hour format of an hour without leading zeros
135
- // i - Minutes with leading zeros
136
- // s - Seconds, with leading zeros
137
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
138
- FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
139
- // month day:
140
- // F - A full textual representation of a month
141
- // d - Day of the month, 2 digits with leading zeros
142
- MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
143
- // short time (without seconds)
144
- // g - 12-hour format of an hour without leading zeros
145
- // i - Minutes with leading zeros
146
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
147
- ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
148
- // long time (with seconds)
149
- // g - 12-hour format of an hour without leading zeros
150
- // i - Minutes with leading zeros
151
- // s - Seconds, with leading zeros
152
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
153
- LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
154
- SortableDateTime: "Y-m-d\\TH:i:s",
155
- UniversalSortableDateTime: "Y-m-d H:i:sO",
156
- // month with year
157
- // Y - A full numeric representation of a year, 4 digits
158
- // F - A full textual representation of a month
159
- YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
160
- },
161
- reformatAfterEdit : false
162
- },
163
- baseLinkUrl: '',
164
- showAction: '',
165
- target: '',
166
- checkbox : {disabled:true},
167
- idName : 'id'
168
- }
169
- });
170
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid English Translation
4
+ * Tony Tomov tony@trirand.com
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "View {0} - {1} of {2}",
14
+ emptyrecords: "No records to view",
15
+ loadtext: "Loading...",
16
+ pgtext : "{0} of {1}"
17
+ },
18
+ search : {
19
+ caption: "Search...",
20
+ Find: "Find",
21
+ Reset: "Reset",
22
+ odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [{ op: "AND", text: "all" },{ op: "OR", text: "any" }],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Add Record",
29
+ editCaption: "Edit Record",
30
+ bSubmit: "Submit",
31
+ bCancel: "Cancel",
32
+ bClose: "Close",
33
+ saveData: "Data has been changed! Save changes?",
34
+ bYes : "Yes",
35
+ bNo : "No",
36
+ bExit : "Cancel",
37
+ msg: {
38
+ required:"Field is required",
39
+ number:"Please, enter valid number",
40
+ minValue:"value must be greater than or equal to ",
41
+ maxValue:"value must be less than or equal to",
42
+ email: "is not a valid e-mail",
43
+ integer: "Please, enter valid integer value",
44
+ date: "Please, enter valid date value",
45
+ url: "is not a valid URL. Prefix required ('http://' or 'https://')",
46
+ nodefined : " is not defined!",
47
+ novalue : " return value is required!",
48
+ customarray : "Custom function should return array!",
49
+ customfcheck : "Custom function should be present in case of custom checking!"
50
+
51
+ }
52
+ },
53
+ view : {
54
+ caption: "View Record",
55
+ bClose: "Close"
56
+ },
57
+ del : {
58
+ caption: "Delete",
59
+ msg: "Delete selected record(s)?",
60
+ bSubmit: "Delete",
61
+ bCancel: "Cancel"
62
+ },
63
+ nav : {
64
+ edittext: "",
65
+ edittitle: "Edit selected row",
66
+ addtext:"",
67
+ addtitle: "Add new row",
68
+ deltext: "",
69
+ deltitle: "Delete selected row",
70
+ searchtext: "",
71
+ searchtitle: "Find records",
72
+ refreshtext: "",
73
+ refreshtitle: "Reload Grid",
74
+ alertcap: "Warning",
75
+ alerttext: "Please, select row",
76
+ viewtext: "",
77
+ viewtitle: "View selected row"
78
+ },
79
+ col : {
80
+ caption: "Select columns",
81
+ bSubmit: "Ok",
82
+ bCancel: "Cancel"
83
+ },
84
+ errors : {
85
+ errcap : "Error",
86
+ nourl : "No url is set",
87
+ norecords: "No records to process",
88
+ model : "Length of colNames <> colModel!"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: ",", defaultValue: '0'},
92
+ number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
93
+ currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
+ date : {
95
+ dayNames: [
96
+ "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
97
+ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
98
+ ],
99
+ monthNames: [
100
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
101
+ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'n/j/Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
110
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
111
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
112
+ // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
113
+ // information about date, time, numbers and currency formats used in different countries
114
+ // one should just convert the information in PHP format
115
+ ISO8601Long:"Y-m-d H:i:s",
116
+ ISO8601Short:"Y-m-d",
117
+ // short date:
118
+ // n - Numeric representation of a month, without leading zeros
119
+ // j - Day of the month without leading zeros
120
+ // Y - A full numeric representation of a year, 4 digits
121
+ // example: 3/1/2012 which means 1 March 2012
122
+ ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
123
+ // long date:
124
+ // l - A full textual representation of the day of the week
125
+ // F - A full textual representation of a month
126
+ // d - Day of the month, 2 digits with leading zeros
127
+ // Y - A full numeric representation of a year, 4 digits
128
+ LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
129
+ // long date with long time:
130
+ // l - A full textual representation of the day of the week
131
+ // F - A full textual representation of a month
132
+ // d - Day of the month, 2 digits with leading zeros
133
+ // Y - A full numeric representation of a year, 4 digits
134
+ // g - 12-hour format of an hour without leading zeros
135
+ // i - Minutes with leading zeros
136
+ // s - Seconds, with leading zeros
137
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
138
+ FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
139
+ // month day:
140
+ // F - A full textual representation of a month
141
+ // d - Day of the month, 2 digits with leading zeros
142
+ MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
143
+ // short time (without seconds)
144
+ // g - 12-hour format of an hour without leading zeros
145
+ // i - Minutes with leading zeros
146
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
147
+ ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
148
+ // long time (with seconds)
149
+ // g - 12-hour format of an hour without leading zeros
150
+ // i - Minutes with leading zeros
151
+ // s - Seconds, with leading zeros
152
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
153
+ LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
154
+ SortableDateTime: "Y-m-d\\TH:i:s",
155
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
156
+ // month with year
157
+ // Y - A full numeric representation of a year, 4 digits
158
+ // F - A full textual representation of a month
159
+ YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
160
+ },
161
+ reformatAfterEdit : false
162
+ },
163
+ baseLinkUrl: '',
164
+ showAction: '',
165
+ target: '',
166
+ checkbox : {disabled:true},
167
+ idName : 'id'
168
+ }
169
+ });
170
+ })(jQuery);
app/assets/js/i18n/grid.locale-es.js CHANGED
@@ -1,130 +1,130 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Spanish Translation
4
- * Traduccion jqGrid en Español por Yamil Bracho
5
- * Traduccion corregida y ampliada por Faserline, S.L.
6
- * http://www.faserline.com
7
- * Dual licensed under the MIT and GPL licenses:
8
- * http://www.opensource.org/licenses/mit-license.php
9
- * http://www.gnu.org/licenses/gpl.html
10
- **/
11
- $.jgrid = $.jgrid || {};
12
- $.extend($.jgrid,{
13
- defaults : {
14
- recordtext: "Mostrando {0} - {1} de {2}",
15
- emptyrecords: "Sin registros que mostrar",
16
- loadtext: "Cargando...",
17
- pgtext : "Página {0} de {1}"
18
- },
19
- search : {
20
- caption: "Búsqueda...",
21
- Find: "Buscar",
22
- Reset: "Limpiar",
23
- odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"no igual a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor o igual que"},{ oper:'gt', text:"mayor que"},{ oper:'ge', text:"mayor o igual a"},{ oper:'bw', text:"empiece por"},{ oper:'bn', text:"no empiece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"no está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"no termina por"},{ oper:'cn', text:"contiene"},{ oper:'nc', text:"no contiene"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
- groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ],
25
- operandTitle : "Click to select search operation.",
26
- resetTitle : "Reset Search Value"
27
- },
28
- edit : {
29
- addCaption: "Agregar registro",
30
- editCaption: "Modificar registro",
31
- bSubmit: "Guardar",
32
- bCancel: "Cancelar",
33
- bClose: "Cerrar",
34
- saveData: "Se han modificado los datos, ¿guardar cambios?",
35
- bYes : "Si",
36
- bNo : "No",
37
- bExit : "Cancelar",
38
- msg: {
39
- required:"Campo obligatorio",
40
- number:"Introduzca un número",
41
- minValue:"El valor debe ser mayor o igual a ",
42
- maxValue:"El valor debe ser menor o igual a ",
43
- email: "no es una dirección de correo válida",
44
- integer: "Introduzca un valor entero",
45
- date: "Introduza una fecha correcta ",
46
- url: "no es una URL válida. Prefijo requerido ('http://' or 'https://')",
47
- nodefined : " no está definido.",
48
- novalue : " valor de retorno es requerido.",
49
- customarray : "La función personalizada debe devolver un array.",
50
- customfcheck : "La función personalizada debe estar presente en el caso de validación personalizada."
51
- }
52
- },
53
- view : {
54
- caption: "Consultar registro",
55
- bClose: "Cerrar"
56
- },
57
- del : {
58
- caption: "Eliminar",
59
- msg: "¿Desea eliminar los registros seleccionados?",
60
- bSubmit: "Eliminar",
61
- bCancel: "Cancelar"
62
- },
63
- nav : {
64
- edittext: " ",
65
- edittitle: "Modificar fila seleccionada",
66
- addtext:" ",
67
- addtitle: "Agregar nueva fila",
68
- deltext: " ",
69
- deltitle: "Eliminar fila seleccionada",
70
- searchtext: " ",
71
- searchtitle: "Buscar información",
72
- refreshtext: "",
73
- refreshtitle: "Recargar datos",
74
- alertcap: "Aviso",
75
- alerttext: "Seleccione una fila",
76
- viewtext: "",
77
- viewtitle: "Ver fila seleccionada"
78
- },
79
- col : {
80
- caption: "Mostrar/ocultar columnas",
81
- bSubmit: "Enviar",
82
- bCancel: "Cancelar"
83
- },
84
- errors : {
85
- errcap : "Error",
86
- nourl : "No se ha especificado una URL",
87
- norecords: "No hay datos para procesar",
88
- model : "Las columnas de nombres son diferentes de las columnas de modelo"
89
- },
90
- formatter : {
91
- integer : {thousandsSeparator: ".", defaultValue: '0'},
92
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
93
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
94
- date : {
95
- dayNames: [
96
- "Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa",
97
- "Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado"
98
- ],
99
- monthNames: [
100
- "Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic",
101
- "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"
102
- ],
103
- AmPm : ["am","pm","AM","PM"],
104
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
- srcformat: 'Y-m-d',
106
- newformat: 'd-m-Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks : {
109
- ISO8601Long:"Y-m-d H:i:s",
110
- ISO8601Short:"Y-m-d",
111
- ShortDate: "n/j/Y",
112
- LongDate: "l, F d, Y",
113
- FullDateTime: "l, F d, Y g:i:s A",
114
- MonthDay: "F d",
115
- ShortTime: "g:i A",
116
- LongTime: "g:i:s A",
117
- SortableDateTime: "Y-m-d\\TH:i:s",
118
- UniversalSortableDateTime: "Y-m-d H:i:sO",
119
- YearMonth: "F, Y"
120
- },
121
- reformatAfterEdit : false
122
- },
123
- baseLinkUrl: '',
124
- showAction: '',
125
- target: '',
126
- checkbox : {disabled:true},
127
- idName : 'id'
128
- }
129
- });
130
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Spanish Translation
4
+ * Traduccion jqGrid en Español por Yamil Bracho
5
+ * Traduccion corregida y ampliada por Faserline, S.L.
6
+ * http://www.faserline.com
7
+ * Dual licensed under the MIT and GPL licenses:
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ * http://www.gnu.org/licenses/gpl.html
10
+ **/
11
+ $.jgrid = $.jgrid || {};
12
+ $.extend($.jgrid,{
13
+ defaults : {
14
+ recordtext: "Mostrando {0} - {1} de {2}",
15
+ emptyrecords: "Sin registros que mostrar",
16
+ loadtext: "Cargando...",
17
+ pgtext : "Página {0} de {1}"
18
+ },
19
+ search : {
20
+ caption: "Búsqueda...",
21
+ Find: "Buscar",
22
+ Reset: "Limpiar",
23
+ odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"no igual a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor o igual que"},{ oper:'gt', text:"mayor que"},{ oper:'ge', text:"mayor o igual a"},{ oper:'bw', text:"empiece por"},{ oper:'bn', text:"no empiece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"no está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"no termina por"},{ oper:'cn', text:"contiene"},{ oper:'nc', text:"no contiene"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
+ groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ],
25
+ operandTitle : "Click to select search operation.",
26
+ resetTitle : "Reset Search Value"
27
+ },
28
+ edit : {
29
+ addCaption: "Agregar registro",
30
+ editCaption: "Modificar registro",
31
+ bSubmit: "Guardar",
32
+ bCancel: "Cancelar",
33
+ bClose: "Cerrar",
34
+ saveData: "Se han modificado los datos, ¿guardar cambios?",
35
+ bYes : "Si",
36
+ bNo : "No",
37
+ bExit : "Cancelar",
38
+ msg: {
39
+ required:"Campo obligatorio",
40
+ number:"Introduzca un número",
41
+ minValue:"El valor debe ser mayor o igual a ",
42
+ maxValue:"El valor debe ser menor o igual a ",
43
+ email: "no es una dirección de correo válida",
44
+ integer: "Introduzca un valor entero",
45
+ date: "Introduza una fecha correcta ",
46
+ url: "no es una URL válida. Prefijo requerido ('http://' or 'https://')",
47
+ nodefined : " no está definido.",
48
+ novalue : " valor de retorno es requerido.",
49
+ customarray : "La función personalizada debe devolver un array.",
50
+ customfcheck : "La función personalizada debe estar presente en el caso de validación personalizada."
51
+ }
52
+ },
53
+ view : {
54
+ caption: "Consultar registro",
55
+ bClose: "Cerrar"
56
+ },
57
+ del : {
58
+ caption: "Eliminar",
59
+ msg: "¿Desea eliminar los registros seleccionados?",
60
+ bSubmit: "Eliminar",
61
+ bCancel: "Cancelar"
62
+ },
63
+ nav : {
64
+ edittext: " ",
65
+ edittitle: "Modificar fila seleccionada",
66
+ addtext:" ",
67
+ addtitle: "Agregar nueva fila",
68
+ deltext: " ",
69
+ deltitle: "Eliminar fila seleccionada",
70
+ searchtext: " ",
71
+ searchtitle: "Buscar información",
72
+ refreshtext: "",
73
+ refreshtitle: "Recargar datos",
74
+ alertcap: "Aviso",
75
+ alerttext: "Seleccione una fila",
76
+ viewtext: "",
77
+ viewtitle: "Ver fila seleccionada"
78
+ },
79
+ col : {
80
+ caption: "Mostrar/ocultar columnas",
81
+ bSubmit: "Enviar",
82
+ bCancel: "Cancelar"
83
+ },
84
+ errors : {
85
+ errcap : "Error",
86
+ nourl : "No se ha especificado una URL",
87
+ norecords: "No hay datos para procesar",
88
+ model : "Las columnas de nombres son diferentes de las columnas de modelo"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
92
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
93
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
94
+ date : {
95
+ dayNames: [
96
+ "Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa",
97
+ "Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado"
98
+ ],
99
+ monthNames: [
100
+ "Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic",
101
+ "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'd-m-Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ ISO8601Long:"Y-m-d H:i:s",
110
+ ISO8601Short:"Y-m-d",
111
+ ShortDate: "n/j/Y",
112
+ LongDate: "l, F d, Y",
113
+ FullDateTime: "l, F d, Y g:i:s A",
114
+ MonthDay: "F d",
115
+ ShortTime: "g:i A",
116
+ LongTime: "g:i:s A",
117
+ SortableDateTime: "Y-m-d\\TH:i:s",
118
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
119
+ YearMonth: "F, Y"
120
+ },
121
+ reformatAfterEdit : false
122
+ },
123
+ baseLinkUrl: '',
124
+ showAction: '',
125
+ target: '',
126
+ checkbox : {disabled:true},
127
+ idName : 'id'
128
+ }
129
+ });
130
+ })(jQuery);
app/assets/js/i18n/grid.locale-fa.js CHANGED
@@ -1,147 +1,147 @@
1
- ;(function ($) {
2
- /**
3
- * jqGrid Persian Translation
4
- * Dual licensed under the MIT and GPL licenses:
5
- * http://www.opensource.org/licenses/mit-license.php
6
- * http://www.gnu.org/licenses/gpl.html
7
- **/
8
- $.jgrid = $.jgrid || {};
9
- $.extend($.jgrid,{
10
- defaults: {
11
- recordtext: "نمابش {0} - {1} از {2}",
12
- emptyrecords: "رکوردی یافت نشد",
13
- loadtext: "بارگزاري...",
14
- pgtext: "صفحه {0} از {1}"
15
- },
16
- search: {
17
- caption: "جستجو...",
18
- Find: "يافته ها",
19
- Reset: "از نو",
20
- odata: [{ oper:'eq', text:"برابر"},{ oper:'ne', text:"نا برابر"},{ oper:'lt', text:"به"},{ oper:'le', text:"کوچکتر"},{ oper:'gt', text:"از"},{ oper:'ge', text:"بزرگتر"},{ oper:'bw', text:"شروع با"},{ oper:'bn', text:"شروع نشود با"},{ oper:'in', text:"نباشد"},{ oper:'ni', text:"عضو این نباشد"},{ oper:'ew', text:"اتمام با"},{ oper:'en', text:"تمام نشود با"},{ oper:'cn', text:"حاوی"},{ oper:'nc', text:"نباشد حاوی"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
21
- groupOps: [{
22
- op: "AND",
23
- text: "کل"
24
- },
25
- {
26
- op: "OR",
27
- text: "مجموع"
28
- }],
29
- operandTitle : "Click to select search operation.",
30
- resetTitle : "Reset Search Value"
31
- },
32
- edit: {
33
- addCaption: "اضافه کردن رکورد",
34
- editCaption: "ويرايش رکورد",
35
- bSubmit: "ثبت",
36
- bCancel: "انصراف",
37
- bClose: "بستن",
38
- saveData: "دیتا تعییر کرد! ذخیره شود؟",
39
- bYes: "بله",
40
- bNo: "خیر",
41
- bExit: "انصراف",
42
- msg: {
43
- required: "فيلدها بايد ختما پر شوند",
44
- number: "لطفا عدد وعتبر وارد کنيد",
45
- minValue: "مقدار وارد شده بايد بزرگتر يا مساوي با",
46
- maxValue: "مقدار وارد شده بايد کوچکتر يا مساوي",
47
- email: "پست الکترونيک وارد شده معتبر نيست",
48
- integer: "لطفا يک عدد صحيح وارد کنيد",
49
- date: "لطفا يک تاريخ معتبر وارد کنيد",
50
- url: "این آدرس صحیح نمی باشد. پیشوند نیاز است ('http://' یا 'https://')",
51
- nodefined: " تعریف نشده!",
52
- novalue: " مقدار برگشتی اجباری است!",
53
- customarray: "تابع شما باید مقدار آرایه داشته باشد!",
54
- customfcheck: "برای داشتن متد دلخواه شما باید سطون با چکینگ دلخواه داشته باشید!"
55
- }
56
- },
57
- view: {
58
- caption: "نمایش رکورد",
59
- bClose: "بستن"
60
- },
61
- del: {
62
- caption: "حذف",
63
- msg: "از حذف گزينه هاي انتخاب شده مطمئن هستيد؟",
64
- bSubmit: "حذف",
65
- bCancel: "ابطال"
66
- },
67
- nav: {
68
- edittext: " ",
69
- edittitle: "ويرايش رديف هاي انتخاب شده",
70
- addtext: " ",
71
- addtitle: "افزودن رديف جديد",
72
- deltext: " ",
73
- deltitle: "حذف ردبف هاي انتیاب شده",
74
- searchtext: " ",
75
- searchtitle: "جستجوي رديف",
76
- refreshtext: "",
77
- refreshtitle: "بازيابي مجدد صفحه",
78
- alertcap: "اخطار",
79
- alerttext: "لطفا يک رديف انتخاب کنيد",
80
- viewtext: "",
81
- viewtitle: "نمایش رکورد های انتخاب شده"
82
- },
83
- col: {
84
- caption: "نمايش/عدم نمايش ستون",
85
- bSubmit: "ثبت",
86
- bCancel: "انصراف"
87
- },
88
- errors: {
89
- errcap: "خطا",
90
- nourl: "هيچ آدرسي تنظيم نشده است",
91
- norecords: "هيچ رکوردي براي پردازش موجود نيست",
92
- model: "طول نام ستون ها محالف ستون هاي مدل مي باشد!"
93
- },
94
- formatter: {
95
- integer: {
96
- thousandsSeparator: " ",
97
- defaultValue: "0"
98
- },
99
- number: {
100
- decimalSeparator: ".",
101
- thousandsSeparator: " ",
102
- decimalPlaces: 2,
103
- defaultValue: "0.00"
104
- },
105
- currency: {
106
- decimalSeparator: ".",
107
- thousandsSeparator: " ",
108
- decimalPlaces: 2,
109
- prefix: "",
110
- suffix: "",
111
- defaultValue: "0"
112
- },
113
- date: {
114
- dayNames: ["يک", "دو", "سه", "چهار", "پنج", "جمع", "شنب", "يکشنبه", "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"],
115
- monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "ژانويه", "فوريه", "مارس", "آوريل", "مه", "ژوئن", "ژوئيه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "December"],
116
- AmPm: ["ب.ظ", "ب.ظ", "ق.ظ", "ق.ظ"],
117
- S: function (b) {
118
- return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
119
- },
120
- srcformat: "Y-m-d",
121
- newformat: "d/m/Y",
122
- parseRe : /[#%\\\/:_;.,\t\s-]/,
123
- masks: {
124
- ISO8601Long: "Y-m-d H:i:s",
125
- ISO8601Short: "Y-m-d",
126
- ShortDate: "n/j/Y",
127
- LongDate: "l, F d, Y",
128
- FullDateTime: "l, F d, Y g:i:s A",
129
- MonthDay: "F d",
130
- ShortTime: "g:i A",
131
- LongTime: "g:i:s A",
132
- SortableDateTime: "Y-m-d\\TH:i:s",
133
- UniversalSortableDateTime: "Y-m-d H:i:sO",
134
- YearMonth: "F, Y"
135
- },
136
- reformatAfterEdit: false
137
- },
138
- baseLinkUrl: "",
139
- showAction: "نمايش",
140
- target: "",
141
- checkbox: {
142
- disabled: true
143
- },
144
- idName: "id"
145
- }
146
- });
147
  })(jQuery);
1
+ ;(function ($) {
2
+ /**
3
+ * jqGrid Persian Translation
4
+ * Dual licensed under the MIT and GPL licenses:
5
+ * http://www.opensource.org/licenses/mit-license.php
6
+ * http://www.gnu.org/licenses/gpl.html
7
+ **/
8
+ $.jgrid = $.jgrid || {};
9
+ $.extend($.jgrid,{
10
+ defaults: {
11
+ recordtext: "نمابش {0} - {1} از {2}",
12
+ emptyrecords: "رکوردی یافت نشد",
13
+ loadtext: "بارگزاري...",
14
+ pgtext: "صفحه {0} از {1}"
15
+ },
16
+ search: {
17
+ caption: "جستجو...",
18
+ Find: "يافته ها",
19
+ Reset: "از نو",
20
+ odata: [{ oper:'eq', text:"برابر"},{ oper:'ne', text:"نا برابر"},{ oper:'lt', text:"به"},{ oper:'le', text:"کوچکتر"},{ oper:'gt', text:"از"},{ oper:'ge', text:"بزرگتر"},{ oper:'bw', text:"شروع با"},{ oper:'bn', text:"شروع نشود با"},{ oper:'in', text:"نباشد"},{ oper:'ni', text:"عضو این نباشد"},{ oper:'ew', text:"اتمام با"},{ oper:'en', text:"تمام نشود با"},{ oper:'cn', text:"حاوی"},{ oper:'nc', text:"نباشد حاوی"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
21
+ groupOps: [{
22
+ op: "AND",
23
+ text: "کل"
24
+ },
25
+ {
26
+ op: "OR",
27
+ text: "مجموع"
28
+ }],
29
+ operandTitle : "Click to select search operation.",
30
+ resetTitle : "Reset Search Value"
31
+ },
32
+ edit: {
33
+ addCaption: "اضافه کردن رکورد",
34
+ editCaption: "ويرايش رکورد",
35
+ bSubmit: "ثبت",
36
+ bCancel: "انصراف",
37
+ bClose: "بستن",
38
+ saveData: "دیتا تعییر کرد! ذخیره شود؟",
39
+ bYes: "بله",
40
+ bNo: "خیر",
41
+ bExit: "انصراف",
42
+ msg: {
43
+ required: "فيلدها بايد ختما پر شوند",
44
+ number: "لطفا عدد وعتبر وارد کنيد",
45
+ minValue: "مقدار وارد شده بايد بزرگتر يا مساوي با",
46
+ maxValue: "مقدار وارد شده بايد کوچکتر يا مساوي",
47
+ email: "پست الکترونيک وارد شده معتبر نيست",
48
+ integer: "لطفا يک عدد صحيح وارد کنيد",
49
+ date: "لطفا يک تاريخ معتبر وارد کنيد",
50
+ url: "این آدرس صحیح نمی باشد. پیشوند نیاز است ('http://' یا 'https://')",
51
+ nodefined: " تعریف نشده!",
52
+ novalue: " مقدار برگشتی اجباری است!",
53
+ customarray: "تابع شما باید مقدار آرایه داشته باشد!",
54
+ customfcheck: "برای داشتن متد دلخواه شما باید سطون با چکینگ دلخواه داشته باشید!"
55
+ }
56
+ },
57
+ view: {
58
+ caption: "نمایش رکورد",
59
+ bClose: "بستن"
60
+ },
61
+ del: {
62
+ caption: "حذف",
63
+ msg: "از حذف گزينه هاي انتخاب شده مطمئن هستيد؟",
64
+ bSubmit: "حذف",
65
+ bCancel: "ابطال"
66
+ },
67
+ nav: {
68
+ edittext: " ",
69
+ edittitle: "ويرايش رديف هاي انتخاب شده",
70
+ addtext: " ",
71
+ addtitle: "افزودن رديف جديد",
72
+ deltext: " ",
73
+ deltitle: "حذف ردبف هاي انتیاب شده",
74
+ searchtext: " ",
75
+ searchtitle: "جستجوي رديف",
76
+ refreshtext: "",
77
+ refreshtitle: "بازيابي مجدد صفحه",
78
+ alertcap: "اخطار",
79
+ alerttext: "لطفا يک رديف انتخاب کنيد",
80
+ viewtext: "",
81
+ viewtitle: "نمایش رکورد های انتخاب شده"
82
+ },
83
+ col: {
84
+ caption: "نمايش/عدم نمايش ستون",
85
+ bSubmit: "ثبت",
86
+ bCancel: "انصراف"
87
+ },
88
+ errors: {
89
+ errcap: "خطا",
90
+ nourl: "هيچ آدرسي تنظيم نشده است",
91
+ norecords: "هيچ رکوردي براي پردازش موجود نيست",
92
+ model: "طول نام ستون ها محالف ستون هاي مدل مي باشد!"
93
+ },
94
+ formatter: {
95
+ integer: {
96
+ thousandsSeparator: " ",
97
+ defaultValue: "0"
98
+ },
99
+ number: {
100
+ decimalSeparator: ".",
101
+ thousandsSeparator: " ",
102
+ decimalPlaces: 2,
103
+ defaultValue: "0.00"
104
+ },
105
+ currency: {
106
+ decimalSeparator: ".",
107
+ thousandsSeparator: " ",
108
+ decimalPlaces: 2,
109
+ prefix: "",
110
+ suffix: "",
111
+ defaultValue: "0"
112
+ },
113
+ date: {
114
+ dayNames: ["يک", "دو", "سه", "چهار", "پنج", "جمع", "شنب", "يکشنبه", "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"],
115
+ monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "ژانويه", "فوريه", "مارس", "آوريل", "مه", "ژوئن", "ژوئيه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "December"],
116
+ AmPm: ["ب.ظ", "ب.ظ", "ق.ظ", "ق.ظ"],
117
+ S: function (b) {
118
+ return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
119
+ },
120
+ srcformat: "Y-m-d",
121
+ newformat: "d/m/Y",
122
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
123
+ masks: {
124
+ ISO8601Long: "Y-m-d H:i:s",
125
+ ISO8601Short: "Y-m-d",
126
+ ShortDate: "n/j/Y",
127
+ LongDate: "l, F d, Y",
128
+ FullDateTime: "l, F d, Y g:i:s A",
129
+ MonthDay: "F d",
130
+ ShortTime: "g:i A",
131
+ LongTime: "g:i:s A",
132
+ SortableDateTime: "Y-m-d\\TH:i:s",
133
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
134
+ YearMonth: "F, Y"
135
+ },
136
+ reformatAfterEdit: false
137
+ },
138
+ baseLinkUrl: "",
139
+ showAction: "نمايش",
140
+ target: "",
141
+ checkbox: {
142
+ disabled: true
143
+ },
144
+ idName: "id"
145
+ }
146
+ });
147
  })(jQuery);
app/assets/js/i18n/grid.locale-fi.js CHANGED
@@ -1,131 +1,131 @@
1
- ;(function($){
2
- /**
3
- * jqGrid (fi) Finnish Translation
4
- * Jukka Inkeri awot.fi 2010-05-19
5
- * Alex Grönholm alex.gronholm@nextday.fi 2011-05-18
6
- * http://awot.fi
7
- * Dual licensed under the MIT and GPL licenses:
8
- * http://www.opensource.org/licenses/mit-license.php
9
- * http://www.gnu.org/licenses/gpl.html
10
- **/
11
- $.jgrid = $.jgrid || {};
12
- $.extend($.jgrid,{
13
- defaults: {
14
- recordtext: "Rivit {0} - {1} / {2}",
15
- emptyrecords: "Ei n&auml;ytett&auml;vi&auml;",
16
- loadtext: "Haetaan...",
17
- pgtext: "Sivu {0} / {1}"
18
- },
19
- search: {
20
- caption: "Etsi...",
21
- Find: "Etsi",
22
- Reset: "Tyhjenn&auml;",
23
- odata: [{ oper:'eq', text:"on"},{ oper:'ne', text:"ei ole"},{ oper:'lt', text:"pienempi"},{ oper:'le', text:"pienempi tai yht&auml;suuri"},{ oper:'gt', text:"suurempi"},{ oper:'ge', text:"suurempi tai yht&auml;suuri"},{ oper:'bw', text:"alkaa"},{ oper:'bn', text:"ei ala"},{ oper:'in', text:"joukossa"},{ oper:'ni', text:"ei joukossa"},{ oper:'ew', text:"loppuu"},{ oper:'en', text:"ei lopu"},{ oper:'cn', text:"sis&auml;lt&auml;&auml;"},{ oper:'nc', text:"ei sis&auml;ll&auml;"},{ oper:'nu', text:"on tyhj&auml;"},{ oper:'nn', text:"ei ole tyhj&auml;"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
- groupOps: [ { op: "AND", text: "kaikki" }, { op: "OR", text: "mik&auml; tahansa" } ],
25
- operandTitle : "Click to select search operation.",
26
- resetTitle : "Reset Search Value"
27
- },
28
- edit: {
29
- addCaption: "Uusi rivi",
30
- editCaption: "Muokkaa rivi&auml;",
31
- bSubmit: "OK",
32
- bCancel: "Peru",
33
- bClose: "Sulje",
34
- saveData: "Tietoja muutettu! Tallennetaanko?",
35
- bYes: "Kyll&auml;",
36
- bNo: "Ei",
37
- bExit: "Peru",
38
- msg: {
39
- required: "pakollinen",
40
- number: "Anna kelvollinen nro",
41
- minValue: "arvon oltava suurempi tai yht&auml;suuri kuin ",
42
- maxValue: "arvon oltava pienempi tai yht&auml;suuri kuin ",
43
- email: "ei ole kelvollinen s&auml;postiosoite",
44
- integer: "Anna kelvollinen kokonaisluku",
45
- date: "Anna kelvollinen pvm",
46
- url: "Ei ole kelvollinen linkki(URL). Alku oltava ('http://' tai 'https://')",
47
- nodefined: " ei ole m&auml;&auml;ritelty!",
48
- novalue: " paluuarvo vaaditaan!",
49
- customarray: "Oman funktion tulee palauttaa jono!",
50
- customfcheck: "Oma funktio on m&auml;&auml;ritelt&auml;v&auml; r&auml;&auml;t&auml;l&ouml;ity&auml; tarkastusta varten!"
51
- }
52
- },
53
- view: {
54
- caption: "N&auml;yt&auml; rivi",
55
- bClose: "Sulje"
56
- },
57
- del: {
58
- caption: "Poista",
59
- msg: "Poista valitut rivit?",
60
- bSubmit: "Poista",
61
- bCancel: "Peru"
62
- },
63
- nav: {
64
- edittext: "",
65
- edittitle: "Muokkaa valittua rivi&auml;",
66
- addtext: "",
67
- addtitle: "Uusi rivi",
68
- deltext: "",
69
- deltitle: "Poista valittu rivi",
70
- searchtext: "",
71
- searchtitle: "Etsi tietoja",
72
- refreshtext: "",
73
- refreshtitle: "Lataa uudelleen",
74
- alertcap: "Varoitus",
75
- alerttext: "Valitse rivi",
76
- viewtext: "",
77
- viewtitle: "N&auml;yta valitut rivit"
78
- },
79
- col: {
80
- caption: "Valitse sarakkeet",
81
- bSubmit: "OK",
82
- bCancel: "Peru"
83
- },
84
- errors : {
85
- errcap: "Virhe",
86
- nourl: "URL on asettamatta",
87
- norecords: "Ei muokattavia tietoja",
88
- model: "Pituus colNames <> colModel!"
89
- },
90
- formatter: {
91
- integer: {thousandsSeparator: "", defaultValue: '0'},
92
- number: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0,00'},
93
- currency: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
94
- date: {
95
- dayNames: [
96
- "Su", "Ma", "Ti", "Ke", "To", "Pe", "La",
97
- "Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"
98
- ],
99
- monthNames: [
100
- "Tam", "Hel", "Maa", "Huh", "Tou", "Kes", "Hei", "Elo", "Syy", "Lok", "Mar", "Jou",
101
- "Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kes&auml;kuu", "Hein&auml;kuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"
102
- ],
103
- AmPm: ["am","pm","AM","PM"],
104
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
- srcformat: 'Y-m-d',
106
- newformat: 'd.m.Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks: {
109
- ISO8601Long:"Y-m-d H:i:s",
110
- ISO8601Short:"Y-m-d",
111
- ShortDate: "d.m.Y",
112
- LongDate: "l, F d, Y",
113
- FullDateTime: "l, F d, Y g:i:s A",
114
- MonthDay: "F d",
115
- ShortTime: "g:i A",
116
- LongTime: "g:i:s A",
117
- SortableDateTime: "Y-m-d\\TH:i:s",
118
- UniversalSortableDateTime: "Y-m-d H:i:sO",
119
- YearMonth: "F, Y"
120
- },
121
- reformatAfterEdit : false
122
- },
123
- baseLinkUrl: '',
124
- showAction: '',
125
- target: '',
126
- checkbox: {disabled:true},
127
- idName: 'id'
128
- }
129
- });
130
- // FI
131
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid (fi) Finnish Translation
4
+ * Jukka Inkeri awot.fi 2010-05-19
5
+ * Alex Grönholm alex.gronholm@nextday.fi 2011-05-18
6
+ * http://awot.fi
7
+ * Dual licensed under the MIT and GPL licenses:
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ * http://www.gnu.org/licenses/gpl.html
10
+ **/
11
+ $.jgrid = $.jgrid || {};
12
+ $.extend($.jgrid,{
13
+ defaults: {
14
+ recordtext: "Rivit {0} - {1} / {2}",
15
+ emptyrecords: "Ei n&auml;ytett&auml;vi&auml;",
16
+ loadtext: "Haetaan...",
17
+ pgtext: "Sivu {0} / {1}"
18
+ },
19
+ search: {
20
+ caption: "Etsi...",
21
+ Find: "Etsi",
22
+ Reset: "Tyhjenn&auml;",
23
+ odata: [{ oper:'eq', text:"on"},{ oper:'ne', text:"ei ole"},{ oper:'lt', text:"pienempi"},{ oper:'le', text:"pienempi tai yht&auml;suuri"},{ oper:'gt', text:"suurempi"},{ oper:'ge', text:"suurempi tai yht&auml;suuri"},{ oper:'bw', text:"alkaa"},{ oper:'bn', text:"ei ala"},{ oper:'in', text:"joukossa"},{ oper:'ni', text:"ei joukossa"},{ oper:'ew', text:"loppuu"},{ oper:'en', text:"ei lopu"},{ oper:'cn', text:"sis&auml;lt&auml;&auml;"},{ oper:'nc', text:"ei sis&auml;ll&auml;"},{ oper:'nu', text:"on tyhj&auml;"},{ oper:'nn', text:"ei ole tyhj&auml;"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
+ groupOps: [ { op: "AND", text: "kaikki" }, { op: "OR", text: "mik&auml; tahansa" } ],
25
+ operandTitle : "Click to select search operation.",
26
+ resetTitle : "Reset Search Value"
27
+ },
28
+ edit: {
29
+ addCaption: "Uusi rivi",
30
+ editCaption: "Muokkaa rivi&auml;",
31
+ bSubmit: "OK",
32
+ bCancel: "Peru",
33
+ bClose: "Sulje",
34
+ saveData: "Tietoja muutettu! Tallennetaanko?",
35
+ bYes: "Kyll&auml;",
36
+ bNo: "Ei",
37
+ bExit: "Peru",
38
+ msg: {
39
+ required: "pakollinen",
40
+ number: "Anna kelvollinen nro",
41
+ minValue: "arvon oltava suurempi tai yht&auml;suuri kuin ",
42
+ maxValue: "arvon oltava pienempi tai yht&auml;suuri kuin ",
43
+ email: "ei ole kelvollinen s&auml;postiosoite",
44
+ integer: "Anna kelvollinen kokonaisluku",
45
+ date: "Anna kelvollinen pvm",
46
+ url: "Ei ole kelvollinen linkki(URL). Alku oltava ('http://' tai 'https://')",
47
+ nodefined: " ei ole m&auml;&auml;ritelty!",
48
+ novalue: " paluuarvo vaaditaan!",
49
+ customarray: "Oman funktion tulee palauttaa jono!",
50
+ customfcheck: "Oma funktio on m&auml;&auml;ritelt&auml;v&auml; r&auml;&auml;t&auml;l&ouml;ity&auml; tarkastusta varten!"
51
+ }
52
+ },
53
+ view: {
54
+ caption: "N&auml;yt&auml; rivi",
55
+ bClose: "Sulje"
56
+ },
57
+ del: {
58
+ caption: "Poista",
59
+ msg: "Poista valitut rivit?",
60
+ bSubmit: "Poista",
61
+ bCancel: "Peru"
62
+ },
63
+ nav: {
64
+ edittext: "",
65
+ edittitle: "Muokkaa valittua rivi&auml;",
66
+ addtext: "",
67
+ addtitle: "Uusi rivi",
68
+ deltext: "",
69
+ deltitle: "Poista valittu rivi",
70
+ searchtext: "",
71
+ searchtitle: "Etsi tietoja",
72
+ refreshtext: "",
73
+ refreshtitle: "Lataa uudelleen",
74
+ alertcap: "Varoitus",
75
+ alerttext: "Valitse rivi",
76
+ viewtext: "",
77
+ viewtitle: "N&auml;yta valitut rivit"
78
+ },
79
+ col: {
80
+ caption: "Valitse sarakkeet",
81
+ bSubmit: "OK",
82
+ bCancel: "Peru"
83
+ },
84
+ errors : {
85
+ errcap: "Virhe",
86
+ nourl: "URL on asettamatta",
87
+ norecords: "Ei muokattavia tietoja",
88
+ model: "Pituus colNames <> colModel!"
89
+ },
90
+ formatter: {
91
+ integer: {thousandsSeparator: "", defaultValue: '0'},
92
+ number: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0,00'},
93
+ currency: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
94
+ date: {
95
+ dayNames: [
96
+ "Su", "Ma", "Ti", "Ke", "To", "Pe", "La",
97
+ "Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"
98
+ ],
99
+ monthNames: [
100
+ "Tam", "Hel", "Maa", "Huh", "Tou", "Kes", "Hei", "Elo", "Syy", "Lok", "Mar", "Jou",
101
+ "Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kes&auml;kuu", "Hein&auml;kuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"
102
+ ],
103
+ AmPm: ["am","pm","AM","PM"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'd.m.Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks: {
109
+ ISO8601Long:"Y-m-d H:i:s",
110
+ ISO8601Short:"Y-m-d",
111
+ ShortDate: "d.m.Y",
112
+ LongDate: "l, F d, Y",
113
+ FullDateTime: "l, F d, Y g:i:s A",
114
+ MonthDay: "F d",
115
+ ShortTime: "g:i A",
116
+ LongTime: "g:i:s A",
117
+ SortableDateTime: "Y-m-d\\TH:i:s",
118
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
119
+ YearMonth: "F, Y"
120
+ },
121
+ reformatAfterEdit : false
122
+ },
123
+ baseLinkUrl: '',
124
+ showAction: '',
125
+ target: '',
126
+ checkbox: {disabled:true},
127
+ idName: 'id'
128
+ }
129
+ });
130
+ // FI
131
+ })(jQuery);
app/assets/js/i18n/grid.locale-fr.js CHANGED
@@ -1,128 +1,128 @@
1
- ;(function($){
2
- /**
3
- * jqGrid French Translation
4
- * Tony Tomov tony@trirand.com
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Enregistrements {0} - {1} sur {2}",
14
- emptyrecords: "Aucun enregistrement à afficher",
15
- loadtext: "Chargement...",
16
- pgtext : "Page {0} sur {1}"
17
- },
18
- search : {
19
- caption: "Recherche...",
20
- Find: "Chercher",
21
- Reset: "Réinitialiser",
22
- odata: [{ oper:'eq', text:"égal"},{ oper:'ne', text:"différent"},{ oper:'lt', text:"inférieur"},{ oper:'le', text:"inférieur ou égal"},{ oper:'gt', text:"supérieur"},{ oper:'ge', text:"supérieur ou égal"},{ oper:'bw', text:"commence par"},{ oper:'bn', text:"ne commence pas par"},{ oper:'in', text:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ oper:'ew', text:"finit par"},{ oper:'en', text:"ne finit pas par"},{ oper:'cn', text:"contient"},{ oper:'nc', text:"ne contient pas"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "tous" }, { op: "OR", text: "au moins un" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Ajouter",
29
- editCaption: "Editer",
30
- bSubmit: "Valider",
31
- bCancel: "Annuler",
32
- bClose: "Fermer",
33
- saveData: "Les données ont changé ! Enregistrer les modifications ?",
34
- bYes: "Oui",
35
- bNo: "Non",
36
- bExit: "Annuler",
37
- msg: {
38
- required: "Champ obligatoire",
39
- number: "Saisissez un nombre correct",
40
- minValue: "La valeur doit être supérieure ou égale à",
41
- maxValue: "La valeur doit être inférieure ou égale à",
42
- email: "n'est pas un email correct",
43
- integer: "Saisissez un entier correct",
44
- url: "n'est pas une adresse correcte. Préfixe requis ('http://' or 'https://')",
45
- nodefined : " n'est pas défini!",
46
- novalue : " la valeur de retour est requise!",
47
- customarray : "Une fonction personnalisée devrait retourner un tableau (array)!",
48
- customfcheck : "Une fonction personnalisée devrait être présente dans le cas d'une vérification personnalisée!"
49
- }
50
- },
51
- view : {
52
- caption: "Voir les enregistrement",
53
- bClose: "Fermer"
54
- },
55
- del : {
56
- caption: "Supprimer",
57
- msg: "Supprimer les enregistrements sélectionnés ?",
58
- bSubmit: "Supprimer",
59
- bCancel: "Annuler"
60
- },
61
- nav : {
62
- edittext: " ",
63
- edittitle: "Editer la ligne sélectionnée",
64
- addtext:" ",
65
- addtitle: "Ajouter une ligne",
66
- deltext: " ",
67
- deltitle: "Supprimer la ligne sélectionnée",
68
- searchtext: " ",
69
- searchtitle: "Chercher un enregistrement",
70
- refreshtext: "",
71
- refreshtitle: "Recharger le tableau",
72
- alertcap: "Avertissement",
73
- alerttext: "Veuillez sélectionner une ligne",
74
- viewtext: "",
75
- viewtitle: "Afficher la ligne sélectionnée"
76
- },
77
- col : {
78
- caption: "Afficher/Masquer les colonnes",
79
- bSubmit: "Valider",
80
- bCancel: "Annuler"
81
- },
82
- errors : {
83
- errcap : "Erreur",
84
- nourl : "Aucune adresse n'est paramétrée",
85
- norecords: "Aucun enregistrement à traiter",
86
- model : "Nombre de titres (colNames) <> Nombre de données (colModel)!"
87
- },
88
- formatter : {
89
- integer : {thousandsSeparator: " ", defaultValue: '0'},
90
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92
- date : {
93
- dayNames: [
94
- "Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam",
95
- "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"
96
- ],
97
- monthNames: [
98
- "Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc",
99
- "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre"
100
- ],
101
- AmPm : ["am","pm","AM","PM"],
102
- S: function (j) {return j == 1 ? 'er' : 'e';},
103
- srcformat: 'Y-m-d',
104
- newformat: 'd/m/Y',
105
- parseRe : /[#%\\\/:_;.,\t\s-]/,
106
- masks : {
107
- ISO8601Long:"Y-m-d H:i:s",
108
- ISO8601Short:"Y-m-d",
109
- ShortDate: "n/j/Y",
110
- LongDate: "l, F d, Y",
111
- FullDateTime: "l, F d, Y g:i:s A",
112
- MonthDay: "F d",
113
- ShortTime: "g:i A",
114
- LongTime: "g:i:s A",
115
- SortableDateTime: "Y-m-d\\TH:i:s",
116
- UniversalSortableDateTime: "Y-m-d H:i:sO",
117
- YearMonth: "F, Y"
118
- },
119
- reformatAfterEdit : false
120
- },
121
- baseLinkUrl: '',
122
- showAction: '',
123
- target: '',
124
- checkbox : {disabled:true},
125
- idName : 'id'
126
- }
127
- });
128
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid French Translation
4
+ * Tony Tomov tony@trirand.com
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Enregistrements {0} - {1} sur {2}",
14
+ emptyrecords: "Aucun enregistrement à afficher",
15
+ loadtext: "Chargement...",
16
+ pgtext : "Page {0} sur {1}"
17
+ },
18
+ search : {
19
+ caption: "Recherche...",
20
+ Find: "Chercher",
21
+ Reset: "Réinitialiser",
22
+ odata: [{ oper:'eq', text:"égal"},{ oper:'ne', text:"différent"},{ oper:'lt', text:"inférieur"},{ oper:'le', text:"inférieur ou égal"},{ oper:'gt', text:"supérieur"},{ oper:'ge', text:"supérieur ou égal"},{ oper:'bw', text:"commence par"},{ oper:'bn', text:"ne commence pas par"},{ oper:'in', text:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ oper:'ew', text:"finit par"},{ oper:'en', text:"ne finit pas par"},{ oper:'cn', text:"contient"},{ oper:'nc', text:"ne contient pas"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "tous" }, { op: "OR", text: "au moins un" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Ajouter",
29
+ editCaption: "Editer",
30
+ bSubmit: "Valider",
31
+ bCancel: "Annuler",
32
+ bClose: "Fermer",
33
+ saveData: "Les données ont changé ! Enregistrer les modifications ?",
34
+ bYes: "Oui",
35
+ bNo: "Non",
36
+ bExit: "Annuler",
37
+ msg: {
38
+ required: "Champ obligatoire",
39
+ number: "Saisissez un nombre correct",
40
+ minValue: "La valeur doit être supérieure ou égale à",
41
+ maxValue: "La valeur doit être inférieure ou égale à",
42
+ email: "n'est pas un email correct",
43
+ integer: "Saisissez un entier correct",
44
+ url: "n'est pas une adresse correcte. Préfixe requis ('http://' or 'https://')",
45
+ nodefined : " n'est pas défini!",
46
+ novalue : " la valeur de retour est requise!",
47
+ customarray : "Une fonction personnalisée devrait retourner un tableau (array)!",
48
+ customfcheck : "Une fonction personnalisée devrait être présente dans le cas d'une vérification personnalisée!"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "Voir les enregistrement",
53
+ bClose: "Fermer"
54
+ },
55
+ del : {
56
+ caption: "Supprimer",
57
+ msg: "Supprimer les enregistrements sélectionnés ?",
58
+ bSubmit: "Supprimer",
59
+ bCancel: "Annuler"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Editer la ligne sélectionnée",
64
+ addtext:" ",
65
+ addtitle: "Ajouter une ligne",
66
+ deltext: " ",
67
+ deltitle: "Supprimer la ligne sélectionnée",
68
+ searchtext: " ",
69
+ searchtitle: "Chercher un enregistrement",
70
+ refreshtext: "",
71
+ refreshtitle: "Recharger le tableau",
72
+ alertcap: "Avertissement",
73
+ alerttext: "Veuillez sélectionner une ligne",
74
+ viewtext: "",
75
+ viewtitle: "Afficher la ligne sélectionnée"
76
+ },
77
+ col : {
78
+ caption: "Afficher/Masquer les colonnes",
79
+ bSubmit: "Valider",
80
+ bCancel: "Annuler"
81
+ },
82
+ errors : {
83
+ errcap : "Erreur",
84
+ nourl : "Aucune adresse n'est paramétrée",
85
+ norecords: "Aucun enregistrement à traiter",
86
+ model : "Nombre de titres (colNames) <> Nombre de données (colModel)!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
90
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92
+ date : {
93
+ dayNames: [
94
+ "Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam",
95
+ "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"
96
+ ],
97
+ monthNames: [
98
+ "Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc",
99
+ "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre"
100
+ ],
101
+ AmPm : ["am","pm","AM","PM"],
102
+ S: function (j) {return j == 1 ? 'er' : 'e';},
103
+ srcformat: 'Y-m-d',
104
+ newformat: 'd/m/Y',
105
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
106
+ masks : {
107
+ ISO8601Long:"Y-m-d H:i:s",
108
+ ISO8601Short:"Y-m-d",
109
+ ShortDate: "n/j/Y",
110
+ LongDate: "l, F d, Y",
111
+ FullDateTime: "l, F d, Y g:i:s A",
112
+ MonthDay: "F d",
113
+ ShortTime: "g:i A",
114
+ LongTime: "g:i:s A",
115
+ SortableDateTime: "Y-m-d\\TH:i:s",
116
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
117
+ YearMonth: "F, Y"
118
+ },
119
+ reformatAfterEdit : false
120
+ },
121
+ baseLinkUrl: '',
122
+ showAction: '',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ });
128
+ })(jQuery);
app/assets/js/i18n/grid.locale-gl.js CHANGED
@@ -1,128 +1,128 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Galician Translation
4
- * Translated by Jorge Barreiro <yortx.barry@gmail.com>
5
- * Dual licensed under the MIT and GPL licenses:
6
- * http://www.opensource.org/licenses/mit-license.php
7
- * http://www.gnu.org/licenses/gpl.html
8
- **/
9
- $.jgrid = $.jgrid || {};
10
- $.extend($.jgrid,{
11
- defaults : {
12
- recordtext: "Amosando {0} - {1} de {2}",
13
- emptyrecords: "Sen rexistros que amosar",
14
- loadtext: "Cargando...",
15
- pgtext : "Páxina {0} de {1}"
16
- },
17
- search : {
18
- caption: "Búsqueda...",
19
- Find: "Buscar",
20
- Reset: "Limpar",
21
- odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"diferente a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor ou igual que"},{ oper:'gt', text:"maior que"},{ oper:'ge', text:"maior ou igual a"},{ oper:'bw', text:"empece por"},{ oper:'bn', text:"non empece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"non está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"non termina por"},{ oper:'cn', text:"contén"},{ oper:'nc', text:"non contén"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
22
- groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "calquera" } ],
23
- operandTitle : "Click to select search operation.",
24
- resetTitle : "Reset Search Value"
25
- },
26
- edit : {
27
- addCaption: "Engadir rexistro",
28
- editCaption: "Modificar rexistro",
29
- bSubmit: "Gardar",
30
- bCancel: "Cancelar",
31
- bClose: "Pechar",
32
- saveData: "Modificáronse os datos, quere gardar os cambios?",
33
- bYes : "Si",
34
- bNo : "Non",
35
- bExit : "Cancelar",
36
- msg: {
37
- required:"Campo obrigatorio",
38
- number:"Introduza un número",
39
- minValue:"O valor debe ser maior ou igual a ",
40
- maxValue:"O valor debe ser menor ou igual a ",
41
- email: "non é un enderezo de correo válido",
42
- integer: "Introduza un valor enteiro",
43
- date: "Introduza unha data correcta ",
44
- url: "non é unha URL válida. Prefixo requerido ('http://' ou 'https://')",
45
- nodefined : " non está definido.",
46
- novalue : " o valor de retorno é obrigatorio.",
47
- customarray : "A función persoalizada debe devolver un array.",
48
- customfcheck : "A función persoalizada debe estar presente no caso de ter validación persoalizada."
49
- }
50
- },
51
- view : {
52
- caption: "Consultar rexistro",
53
- bClose: "Pechar"
54
- },
55
- del : {
56
- caption: "Eliminar",
57
- msg: "Desexa eliminar os rexistros seleccionados?",
58
- bSubmit: "Eliminar",
59
- bCancel: "Cancelar"
60
- },
61
- nav : {
62
- edittext: " ",
63
- edittitle: "Modificar a fila seleccionada",
64
- addtext:" ",
65
- addtitle: "Engadir unha nova fila",
66
- deltext: " ",
67
- deltitle: "Eliminar a fila seleccionada",
68
- searchtext: " ",
69
- searchtitle: "Buscar información",
70
- refreshtext: "",
71
- refreshtitle: "Recargar datos",
72
- alertcap: "Aviso",
73
- alerttext: "Seleccione unha fila",
74
- viewtext: "",
75
- viewtitle: "Ver fila seleccionada"
76
- },
77
- col : {
78
- caption: "Mostrar/ocultar columnas",
79
- bSubmit: "Enviar",
80
- bCancel: "Cancelar"
81
- },
82
- errors : {
83
- errcap : "Erro",
84
- nourl : "Non especificou unha URL",
85
- norecords: "Non hai datos para procesar",
86
- model : "As columnas de nomes son diferentes das columnas de modelo"
87
- },
88
- formatter : {
89
- integer : {thousandsSeparator: ".", defaultValue: '0'},
90
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
91
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92
- date : {
93
- dayNames: [
94
- "Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa",
95
- "Domingo", "Luns", "Martes", "Mércoles", "Xoves", "Vernes", "Sábado"
96
- ],
97
- monthNames: [
98
- "Xan", "Feb", "Mar", "Abr", "Mai", "Xuñ", "Xul", "Ago", "Set", "Out", "Nov", "Dec",
99
- "Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"
100
- ],
101
- AmPm : ["am","pm","AM","PM"],
102
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
103
- srcformat: 'Y-m-d',
104
- newformat: 'd-m-Y',
105
- parseRe : /[#%\\\/:_;.,\t\s-]/,
106
- masks : {
107
- ISO8601Long:"Y-m-d H:i:s",
108
- ISO8601Short:"Y-m-d",
109
- ShortDate: "n/j/Y",
110
- LongDate: "l, F d, Y",
111
- FullDateTime: "l, F d, Y g:i:s A",
112
- MonthDay: "F d",
113
- ShortTime: "g:i A",
114
- LongTime: "g:i:s A",
115
- SortableDateTime: "Y-m-d\\TH:i:s",
116
- UniversalSortableDateTime: "Y-m-d H:i:sO",
117
- YearMonth: "F, Y"
118
- },
119
- reformatAfterEdit : false
120
- },
121
- baseLinkUrl: '',
122
- showAction: '',
123
- target: '',
124
- checkbox : {disabled:true},
125
- idName : 'id'
126
- }
127
- });
128
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Galician Translation
4
+ * Translated by Jorge Barreiro <yortx.barry@gmail.com>
5
+ * Dual licensed under the MIT and GPL licenses:
6
+ * http://www.opensource.org/licenses/mit-license.php
7
+ * http://www.gnu.org/licenses/gpl.html
8
+ **/
9
+ $.jgrid = $.jgrid || {};
10
+ $.extend($.jgrid,{
11
+ defaults : {
12
+ recordtext: "Amosando {0} - {1} de {2}",
13
+ emptyrecords: "Sen rexistros que amosar",
14
+ loadtext: "Cargando...",
15
+ pgtext : "Páxina {0} de {1}"
16
+ },
17
+ search : {
18
+ caption: "Búsqueda...",
19
+ Find: "Buscar",
20
+ Reset: "Limpar",
21
+ odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"diferente a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor ou igual que"},{ oper:'gt', text:"maior que"},{ oper:'ge', text:"maior ou igual a"},{ oper:'bw', text:"empece por"},{ oper:'bn', text:"non empece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"non está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"non termina por"},{ oper:'cn', text:"contén"},{ oper:'nc', text:"non contén"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
22
+ groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "calquera" } ],
23
+ operandTitle : "Click to select search operation.",
24
+ resetTitle : "Reset Search Value"
25
+ },
26
+ edit : {
27
+ addCaption: "Engadir rexistro",
28
+ editCaption: "Modificar rexistro",
29
+ bSubmit: "Gardar",
30
+ bCancel: "Cancelar",
31
+ bClose: "Pechar",
32
+ saveData: "Modificáronse os datos, quere gardar os cambios?",
33
+ bYes : "Si",
34
+ bNo : "Non",
35
+ bExit : "Cancelar",
36
+ msg: {
37
+ required:"Campo obrigatorio",
38
+ number:"Introduza un número",
39
+ minValue:"O valor debe ser maior ou igual a ",
40
+ maxValue:"O valor debe ser menor ou igual a ",
41
+ email: "non é un enderezo de correo válido",
42
+ integer: "Introduza un valor enteiro",
43
+ date: "Introduza unha data correcta ",
44
+ url: "non é unha URL válida. Prefixo requerido ('http://' ou 'https://')",
45
+ nodefined : " non está definido.",
46
+ novalue : " o valor de retorno é obrigatorio.",
47
+ customarray : "A función persoalizada debe devolver un array.",
48
+ customfcheck : "A función persoalizada debe estar presente no caso de ter validación persoalizada."
49
+ }
50
+ },
51
+ view : {
52
+ caption: "Consultar rexistro",
53
+ bClose: "Pechar"
54
+ },
55
+ del : {
56
+ caption: "Eliminar",
57
+ msg: "Desexa eliminar os rexistros seleccionados?",
58
+ bSubmit: "Eliminar",
59
+ bCancel: "Cancelar"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Modificar a fila seleccionada",
64
+ addtext:" ",
65
+ addtitle: "Engadir unha nova fila",
66
+ deltext: " ",
67
+ deltitle: "Eliminar a fila seleccionada",
68
+ searchtext: " ",
69
+ searchtitle: "Buscar información",
70
+ refreshtext: "",
71
+ refreshtitle: "Recargar datos",
72
+ alertcap: "Aviso",
73
+ alerttext: "Seleccione unha fila",
74
+ viewtext: "",
75
+ viewtitle: "Ver fila seleccionada"
76
+ },
77
+ col : {
78
+ caption: "Mostrar/ocultar columnas",
79
+ bSubmit: "Enviar",
80
+ bCancel: "Cancelar"
81
+ },
82
+ errors : {
83
+ errcap : "Erro",
84
+ nourl : "Non especificou unha URL",
85
+ norecords: "Non hai datos para procesar",
86
+ model : "As columnas de nomes son diferentes das columnas de modelo"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
90
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
91
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92
+ date : {
93
+ dayNames: [
94
+ "Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa",
95
+ "Domingo", "Luns", "Martes", "Mércoles", "Xoves", "Vernes", "Sábado"
96
+ ],
97
+ monthNames: [
98
+ "Xan", "Feb", "Mar", "Abr", "Mai", "Xuñ", "Xul", "Ago", "Set", "Out", "Nov", "Dec",
99
+ "Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"
100
+ ],
101
+ AmPm : ["am","pm","AM","PM"],
102
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
103
+ srcformat: 'Y-m-d',
104
+ newformat: 'd-m-Y',
105
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
106
+ masks : {
107
+ ISO8601Long:"Y-m-d H:i:s",
108
+ ISO8601Short:"Y-m-d",
109
+ ShortDate: "n/j/Y",
110
+ LongDate: "l, F d, Y",
111
+ FullDateTime: "l, F d, Y g:i:s A",
112
+ MonthDay: "F d",
113
+ ShortTime: "g:i A",
114
+ LongTime: "g:i:s A",
115
+ SortableDateTime: "Y-m-d\\TH:i:s",
116
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
117
+ YearMonth: "F, Y"
118
+ },
119
+ reformatAfterEdit : false
120
+ },
121
+ baseLinkUrl: '',
122
+ showAction: '',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ });
128
+ })(jQuery);
app/assets/js/i18n/grid.locale-he.js CHANGED
@@ -1,129 +1,129 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Hebrew Translation
4
- * Shuki Shukrun shukrun.shuki@gmail.com
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "מציג {0} - {1} מתוך {2}",
14
- emptyrecords: "אין רשומות להציג",
15
- loadtext: "טוען...",
16
- pgtext : "דף {0} מתוך {1}"
17
- },
18
- search : {
19
- caption: "מחפש...",
20
- Find: "חפש",
21
- Reset: "התחל",
22
- odata: [{ oper:'eq', text:"שווה"},{ oper:'ne', text:"לא שווה"},{ oper:'lt', text:"קטן"},{ oper:'le', text:"קטן או שווה"},{ oper:'gt', text:"גדול"},{ oper:'ge', text:"גדול או שווה"},{ oper:'bw', text:"מתחיל ב"},{ oper:'bn', text:"לא מתחיל ב"},{ oper:'in', text:"נמצא ב"},{ oper:'ni', text:"לא נמצא ב"},{ oper:'ew', text:"מסתיים ב"},{ oper:'en', text:"לא מסתיים ב"},{ oper:'cn', text:"מכיל"},{ oper:'nc', text:"לא מכיל"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "הכל" }, { op: "OR", text: "אחד מ" }],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "הוסף רשומה",
29
- editCaption: "ערוך רשומה",
30
- bSubmit: "שלח",
31
- bCancel: "בטל",
32
- bClose: "סגור",
33
- saveData: "נתונים השתנו! לשמור?",
34
- bYes : "כן",
35
- bNo : "לא",
36
- bExit : "בטל",
37
- msg: {
38
- required:"שדה חובה",
39
- number:"אנא, הכנס מספר תקין",
40
- minValue:"ערך צריך להיות גדול או שווה ל ",
41
- maxValue:"ערך צריך להיות קטן או שווה ל ",
42
- email: "היא לא כתובת איימל תקינה",
43
- integer: "אנא, הכנס מספר שלם",
44
- date: "אנא, הכנס תאריך תקין",
45
- url: "הכתובת אינה תקינה. דרושה תחילית ('http://' או 'https://')",
46
- nodefined : " is not defined!",
47
- novalue : " return value is required!",
48
- customarray : "Custom function should return array!",
49
- customfcheck : "Custom function should be present in case of custom checking!"
50
- }
51
- },
52
- view : {
53
- caption: "הצג רשומה",
54
- bClose: "סגור"
55
- },
56
- del : {
57
- caption: "מחק",
58
- msg: "האם למחוק את הרשומה/ות המסומנות?",
59
- bSubmit: "מחק",
60
- bCancel: "בטל"
61
- },
62
- nav : {
63
- edittext: "",
64
- edittitle: "ערוך שורה מסומנת",
65
- addtext:"",
66
- addtitle: "הוסף שורה חדשה",
67
- deltext: "",
68
- deltitle: "מחק שורה מסומנת",
69
- searchtext: "",
70
- searchtitle: "חפש רשומות",
71
- refreshtext: "",
72
- refreshtitle: "טען גריד מחדש",
73
- alertcap: "אזהרה",
74
- alerttext: "אנא, בחר שורה",
75
- viewtext: "",
76
- viewtitle: "הצג שורה מסומנת"
77
- },
78
- col : {
79
- caption: "הצג/הסתר עמודות",
80
- bSubmit: "שלח",
81
- bCancel: "בטל"
82
- },
83
- errors : {
84
- errcap : "שגיאה",
85
- nourl : "לא הוגדרה כתובת url",
86
- norecords: "אין רשומות לעבד",
87
- model : "אורך של colNames <> colModel!"
88
- },
89
- formatter : {
90
- integer : {thousandsSeparator: " ", defaultValue: '0'},
91
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
92
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
93
- date : {
94
- dayNames: [
95
- "א", "ב", "ג", "ד", "ה", "ו", "ש",
96
- "ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"
97
- ],
98
- monthNames: [
99
- "ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ",
100
- "ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"
101
- ],
102
- AmPm : ["לפני הצהרים","אחר הצהרים","לפני הצהרים","אחר הצהרים"],
103
- S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''},
104
- srcformat: 'Y-m-d',
105
- newformat: 'd/m/Y',
106
- parseRe : /[#%\\\/:_;.,\t\s-]/,
107
- masks : {
108
- ISO8601Long:"Y-m-d H:i:s",
109
- ISO8601Short:"Y-m-d",
110
- ShortDate: "n/j/Y",
111
- LongDate: "l, F d, Y",
112
- FullDateTime: "l, F d, Y g:i:s A",
113
- MonthDay: "F d",
114
- ShortTime: "g:i A",
115
- LongTime: "g:i:s A",
116
- SortableDateTime: "Y-m-d\\TH:i:s",
117
- UniversalSortableDateTime: "Y-m-d H:i:sO",
118
- YearMonth: "F, Y"
119
- },
120
- reformatAfterEdit : false
121
- },
122
- baseLinkUrl: '',
123
- showAction: '',
124
- target: '',
125
- checkbox : {disabled:true},
126
- idName : 'id'
127
- }
128
- });
129
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Hebrew Translation
4
+ * Shuki Shukrun shukrun.shuki@gmail.com
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "מציג {0} - {1} מתוך {2}",
14
+ emptyrecords: "אין רשומות להציג",
15
+ loadtext: "טוען...",
16
+ pgtext : "דף {0} מתוך {1}"
17
+ },
18
+ search : {
19
+ caption: "מחפש...",
20
+ Find: "חפש",
21
+ Reset: "התחל",
22
+ odata: [{ oper:'eq', text:"שווה"},{ oper:'ne', text:"לא שווה"},{ oper:'lt', text:"קטן"},{ oper:'le', text:"קטן או שווה"},{ oper:'gt', text:"גדול"},{ oper:'ge', text:"גדול או שווה"},{ oper:'bw', text:"מתחיל ב"},{ oper:'bn', text:"לא מתחיל ב"},{ oper:'in', text:"נמצא ב"},{ oper:'ni', text:"לא נמצא ב"},{ oper:'ew', text:"מסתיים ב"},{ oper:'en', text:"לא מסתיים ב"},{ oper:'cn', text:"מכיל"},{ oper:'nc', text:"לא מכיל"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "הכל" }, { op: "OR", text: "אחד מ" }],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "הוסף רשומה",
29
+ editCaption: "ערוך רשומה",
30
+ bSubmit: "שלח",
31
+ bCancel: "בטל",
32
+ bClose: "סגור",
33
+ saveData: "נתונים השתנו! לשמור?",
34
+ bYes : "כן",
35
+ bNo : "לא",
36
+ bExit : "בטל",
37
+ msg: {
38
+ required:"שדה חובה",
39
+ number:"אנא, הכנס מספר תקין",
40
+ minValue:"ערך צריך להיות גדול או שווה ל ",
41
+ maxValue:"ערך צריך להיות קטן או שווה ל ",
42
+ email: "היא לא כתובת איימל תקינה",
43
+ integer: "אנא, הכנס מספר שלם",
44
+ date: "אנא, הכנס תאריך תקין",
45
+ url: "הכתובת אינה תקינה. דרושה תחילית ('http://' או 'https://')",
46
+ nodefined : " is not defined!",
47
+ novalue : " return value is required!",
48
+ customarray : "Custom function should return array!",
49
+ customfcheck : "Custom function should be present in case of custom checking!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "הצג רשומה",
54
+ bClose: "סגור"
55
+ },
56
+ del : {
57
+ caption: "מחק",
58
+ msg: "האם למחוק את הרשומה/ות המסומנות?",
59
+ bSubmit: "מחק",
60
+ bCancel: "בטל"
61
+ },
62
+ nav : {
63
+ edittext: "",
64
+ edittitle: "ערוך שורה מסומנת",
65
+ addtext:"",
66
+ addtitle: "הוסף שורה חדשה",
67
+ deltext: "",
68
+ deltitle: "מחק שורה מסומנת",
69
+ searchtext: "",
70
+ searchtitle: "חפש רשומות",
71
+ refreshtext: "",
72
+ refreshtitle: "טען גריד מחדש",
73
+ alertcap: "אזהרה",
74
+ alerttext: "אנא, בחר שורה",
75
+ viewtext: "",
76
+ viewtitle: "הצג שורה מסומנת"
77
+ },
78
+ col : {
79
+ caption: "הצג/הסתר עמודות",
80
+ bSubmit: "שלח",
81
+ bCancel: "בטל"
82
+ },
83
+ errors : {
84
+ errcap : "שגיאה",
85
+ nourl : "לא הוגדרה כתובת url",
86
+ norecords: "אין רשומות לעבד",
87
+ model : "אורך של colNames <> colModel!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
91
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
92
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
93
+ date : {
94
+ dayNames: [
95
+ "א", "ב", "ג", "ד", "ה", "ו", "ש",
96
+ "ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"
97
+ ],
98
+ monthNames: [
99
+ "ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ",
100
+ "ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"
101
+ ],
102
+ AmPm : ["לפני הצהרים","אחר הצהרים","לפני הצהרים","אחר הצהרים"],
103
+ S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'd/m/Y',
106
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
107
+ masks : {
108
+ ISO8601Long:"Y-m-d H:i:s",
109
+ ISO8601Short:"Y-m-d",
110
+ ShortDate: "n/j/Y",
111
+ LongDate: "l, F d, Y",
112
+ FullDateTime: "l, F d, Y g:i:s A",
113
+ MonthDay: "F d",
114
+ ShortTime: "g:i A",
115
+ LongTime: "g:i:s A",
116
+ SortableDateTime: "Y-m-d\\TH:i:s",
117
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
118
+ YearMonth: "F, Y"
119
+ },
120
+ reformatAfterEdit : false
121
+ },
122
+ baseLinkUrl: '',
123
+ showAction: '',
124
+ target: '',
125
+ checkbox : {disabled:true},
126
+ idName : 'id'
127
+ }
128
+ });
129
+ })(jQuery);
app/assets/js/i18n/grid.locale-hr.js CHANGED
@@ -1,164 +1,164 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Croatian Translation
4
- * Version 1.0.1 (developed for jQuery Grid 4.4)
5
- * msajko@gmail.com
6
- *
7
- * Dual licensed under the MIT and GPL licenses:
8
- * http://www.opensource.org/licenses/mit-license.php
9
- * http://www.gnu.org/licenses/gpl.html
10
- **/
11
- $.jgrid = $.jgrid || {};
12
- $.extend($.jgrid,{
13
- defaults : {
14
- recordtext: "Pregled {0} - {1} od {2}",
15
- emptyrecords: "Nema zapisa",
16
- loadtext: "Učitavam...",
17
- pgtext : "Stranica {0} od {1}"
18
- },
19
- search : {
20
- caption: "Traži...",
21
- Find: "Pretraživanje",
22
- Reset: "Poništi",
23
- odata: [{ oper:'eq', text:"jednak"},{ oper:'ne', text:"nije identičan"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili identično"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili identično"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa "},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
- groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
25
- operandTitle : "Click to select search operation.",
26
- resetTitle : "Reset Search Value"
27
- },
28
- edit : {
29
- addCaption: "Dodaj zapis",
30
- editCaption: "Promijeni zapis",
31
- bSubmit: "Preuzmi",
32
- bCancel: "Odustani",
33
- bClose: "Zatvri",
34
- saveData: "Podaci su promijenjeni! Preuzmi promijene?",
35
- bYes : "Da",
36
- bNo : "Ne",
37
- bExit : "Odustani",
38
- msg: {
39
- required:"Polje je obavezno",
40
- number:"Molim, unesite ispravan broj",
41
- minValue:"Vrijednost mora biti veća ili identična ",
42
- maxValue:"Vrijednost mora biti manja ili identična",
43
- email: "neispravan e-mail",
44
- integer: "Molim, unjeti ispravan cijeli broj (integer)",
45
- date: "Molim, unjeti ispravan datum ",
46
- url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
47
- nodefined : " nije definiran!",
48
- novalue : " zahtjevan podatak je obavezan!",
49
- customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
50
- customfcheck : "Custom function should be present in case of custom checking!"
51
-
52
- }
53
- },
54
- view : {
55
- caption: "Otvori zapis",
56
- bClose: "Zatvori"
57
- },
58
- del : {
59
- caption: "Obriši",
60
- msg: "Obriši označen zapis ili više njih?",
61
- bSubmit: "Obriši",
62
- bCancel: "Odustani"
63
- },
64
- nav : {
65
- edittext: "",
66
- edittitle: "Promijeni obilježeni red",
67
- addtext: "",
68
- addtitle: "Dodaj novi red",
69
- deltext: "",
70
- deltitle: "Obriši obilježeni red",
71
- searchtext: "",
72
- searchtitle: "Potraži zapise",
73
- refreshtext: "",
74
- refreshtitle: "Ponovo preuzmi podatke",
75
- alertcap: "Upozorenje",
76
- alerttext: "Molim, odaberi red",
77
- viewtext: "",
78
- viewtitle: "Pregled obilježenog reda"
79
- },
80
- col : {
81
- caption: "Obilježi kolonu",
82
- bSubmit: "Uredu",
83
- bCancel: "Odustani"
84
- },
85
- errors : {
86
- errcap : "Greška",
87
- nourl : "Nedostaje URL",
88
- norecords: "Bez zapisa za obradu",
89
- model : "colNames i colModel imaju različitu duljinu!"
90
- },
91
- formatter : {
92
- integer : {thousandsSeparator: ".", defaultValue: '0'},
93
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
94
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
95
- date : {
96
- dayNames: [
97
- "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub",
98
- "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
99
- ],
100
- monthNames: [
101
- "Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
102
- "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
103
- ],
104
- AmPm : ["am","pm","AM","PM"],
105
- S: function (j) {return ''},
106
- srcformat: 'Y-m-d',
107
- newformat: 'd.m.Y.',
108
- parseRe : /[#%\\\/:_;.,\t\s-]/,
109
- masks : {
110
- // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
111
- // and see http://docs.jquery.com/UI/Datepicker/formatDate
112
- // and https://github.com/jquery/globalize#dates for alternative formats used frequently
113
- ISO8601Long: "Y-m-d H:i:s",
114
- ISO8601Short: "Y-m-d",
115
- // short date:
116
- // d - Day of the month, 2 digits with leading zeros
117
- // m - Numeric representation of a month, with leading zeros
118
- // Y - A full numeric representation of a year, 4 digits
119
- ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
120
- // long date:
121
- // l - A full textual representation of the day of the week
122
- // j - Day of the month without leading zeros
123
- // F - A full textual representation of a month
124
- // Y - A full numeric representation of a year, 4 digits
125
- LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
126
- // long date with long time:
127
- // l - A full textual representation of the day of the week
128
- // j - Day of the month without leading zeros
129
- // F - A full textual representation of a month
130
- // Y - A full numeric representation of a year, 4 digits
131
- // H - 24-hour format of an hour with leading zeros
132
- // i - Minutes with leading zeros
133
- // s - Seconds, with leading zeros
134
- FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
135
- // month day:
136
- // d - Day of the month, 2 digits with leading zeros
137
- // F - A full textual representation of a month
138
- MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
139
- // short time (without seconds)
140
- // H - 24-hour format of an hour with leading zeros
141
- // i - Minutes with leading zeros
142
- ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
143
- // long time (with seconds)
144
- // H - 24-hour format of an hour with leading zeros
145
- // i - Minutes with leading zeros
146
- // s - Seconds, with leading zeros
147
- LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
148
- SortableDateTime: "Y-m-d\\TH:i:s",
149
- UniversalSortableDateTime: "Y-m-d H:i:sO",
150
- // month with year
151
- // F - A full textual representation of a month
152
- // Y - A full numeric representation of a year, 4 digits
153
- YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
154
- },
155
- reformatAfterEdit : false
156
- },
157
- baseLinkUrl: '',
158
- showAction: '',
159
- target: '',
160
- checkbox : {disabled:true},
161
- idName : 'id'
162
- }
163
- });
164
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Croatian Translation
4
+ * Version 1.0.1 (developed for jQuery Grid 4.4)
5
+ * msajko@gmail.com
6
+ *
7
+ * Dual licensed under the MIT and GPL licenses:
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ * http://www.gnu.org/licenses/gpl.html
10
+ **/
11
+ $.jgrid = $.jgrid || {};
12
+ $.extend($.jgrid,{
13
+ defaults : {
14
+ recordtext: "Pregled {0} - {1} od {2}",
15
+ emptyrecords: "Nema zapisa",
16
+ loadtext: "Učitavam...",
17
+ pgtext : "Stranica {0} od {1}"
18
+ },
19
+ search : {
20
+ caption: "Traži...",
21
+ Find: "Pretraživanje",
22
+ Reset: "Poništi",
23
+ odata: [{ oper:'eq', text:"jednak"},{ oper:'ne', text:"nije identičan"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili identično"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili identično"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa "},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
+ groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
25
+ operandTitle : "Click to select search operation.",
26
+ resetTitle : "Reset Search Value"
27
+ },
28
+ edit : {
29
+ addCaption: "Dodaj zapis",
30
+ editCaption: "Promijeni zapis",
31
+ bSubmit: "Preuzmi",
32
+ bCancel: "Odustani",
33
+ bClose: "Zatvri",
34
+ saveData: "Podaci su promijenjeni! Preuzmi promijene?",
35
+ bYes : "Da",
36
+ bNo : "Ne",
37
+ bExit : "Odustani",
38
+ msg: {
39
+ required:"Polje je obavezno",
40
+ number:"Molim, unesite ispravan broj",
41
+ minValue:"Vrijednost mora biti veća ili identična ",
42
+ maxValue:"Vrijednost mora biti manja ili identična",
43
+ email: "neispravan e-mail",
44
+ integer: "Molim, unjeti ispravan cijeli broj (integer)",
45
+ date: "Molim, unjeti ispravan datum ",
46
+ url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
47
+ nodefined : " nije definiran!",
48
+ novalue : " zahtjevan podatak je obavezan!",
49
+ customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
50
+ customfcheck : "Custom function should be present in case of custom checking!"
51
+
52
+ }
53
+ },
54
+ view : {
55
+ caption: "Otvori zapis",
56
+ bClose: "Zatvori"
57
+ },
58
+ del : {
59
+ caption: "Obriši",
60
+ msg: "Obriši označen zapis ili više njih?",
61
+ bSubmit: "Obriši",
62
+ bCancel: "Odustani"
63
+ },
64
+ nav : {
65
+ edittext: "",
66
+ edittitle: "Promijeni obilježeni red",
67
+ addtext: "",
68
+ addtitle: "Dodaj novi red",
69
+ deltext: "",
70
+ deltitle: "Obriši obilježeni red",
71
+ searchtext: "",
72
+ searchtitle: "Potraži zapise",
73
+ refreshtext: "",
74
+ refreshtitle: "Ponovo preuzmi podatke",
75
+ alertcap: "Upozorenje",
76
+ alerttext: "Molim, odaberi red",
77
+ viewtext: "",
78
+ viewtitle: "Pregled obilježenog reda"
79
+ },
80
+ col : {
81
+ caption: "Obilježi kolonu",
82
+ bSubmit: "Uredu",
83
+ bCancel: "Odustani"
84
+ },
85
+ errors : {
86
+ errcap : "Greška",
87
+ nourl : "Nedostaje URL",
88
+ norecords: "Bez zapisa za obradu",
89
+ model : "colNames i colModel imaju različitu duljinu!"
90
+ },
91
+ formatter : {
92
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
93
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
94
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
95
+ date : {
96
+ dayNames: [
97
+ "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub",
98
+ "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
99
+ ],
100
+ monthNames: [
101
+ "Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
102
+ "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
103
+ ],
104
+ AmPm : ["am","pm","AM","PM"],
105
+ S: function (j) {return ''},
106
+ srcformat: 'Y-m-d',
107
+ newformat: 'd.m.Y.',
108
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
109
+ masks : {
110
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
111
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
112
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
113
+ ISO8601Long: "Y-m-d H:i:s",
114
+ ISO8601Short: "Y-m-d",
115
+ // short date:
116
+ // d - Day of the month, 2 digits with leading zeros
117
+ // m - Numeric representation of a month, with leading zeros
118
+ // Y - A full numeric representation of a year, 4 digits
119
+ ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
120
+ // long date:
121
+ // l - A full textual representation of the day of the week
122
+ // j - Day of the month without leading zeros
123
+ // F - A full textual representation of a month
124
+ // Y - A full numeric representation of a year, 4 digits
125
+ LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
126
+ // long date with long time:
127
+ // l - A full textual representation of the day of the week
128
+ // j - Day of the month without leading zeros
129
+ // F - A full textual representation of a month
130
+ // Y - A full numeric representation of a year, 4 digits
131
+ // H - 24-hour format of an hour with leading zeros
132
+ // i - Minutes with leading zeros
133
+ // s - Seconds, with leading zeros
134
+ FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
135
+ // month day:
136
+ // d - Day of the month, 2 digits with leading zeros
137
+ // F - A full textual representation of a month
138
+ MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
139
+ // short time (without seconds)
140
+ // H - 24-hour format of an hour with leading zeros
141
+ // i - Minutes with leading zeros
142
+ ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
143
+ // long time (with seconds)
144
+ // H - 24-hour format of an hour with leading zeros
145
+ // i - Minutes with leading zeros
146
+ // s - Seconds, with leading zeros
147
+ LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
148
+ SortableDateTime: "Y-m-d\\TH:i:s",
149
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
150
+ // month with year
151
+ // F - A full textual representation of a month
152
+ // Y - A full numeric representation of a year, 4 digits
153
+ YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
154
+ },
155
+ reformatAfterEdit : false
156
+ },
157
+ baseLinkUrl: '',
158
+ showAction: '',
159
+ target: '',
160
+ checkbox : {disabled:true},
161
+ idName : 'id'
162
+ }
163
+ });
164
+ })(jQuery);
app/assets/js/i18n/grid.locale-hr1250.js CHANGED
@@ -1,164 +1,164 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Croatian Translation (charset windows-1250)
4
- * Version 1.0.1 (developed for jQuery Grid 4.4)
5
- * msajko@gmail.com
6
- *
7
- * Dual licensed under the MIT and GPL licenses:
8
- * http://www.opensource.org/licenses/mit-license.php
9
- * http://www.gnu.org/licenses/gpl.html
10
- **/
11
- $.jgrid = $.jgrid || {};
12
- $.extend($.jgrid,{
13
- defaults : {
14
- recordtext: "Pregled {0} - {1} od {2}",
15
- emptyrecords: "Nema zapisa",
16
- loadtext: "U�itavam...",
17
- pgtext : "Stranica {0} od {1}"
18
- },
19
- search : {
20
- caption: "Tra�i...",
21
- Find: "Pretra�ivanje",
22
- Reset: "Poni�ti",
23
- odata : [{ oper:'eq', text:'jednak'}, { oper:'ne', text:'nije identi�an'}, { oper:'lt', text:'manje'}, { oper:'le', text:'manje ili identi�no'},{ oper:'gt', text:'ve�e'},{ oper:'ge', text:'ve�e ili identi�no'}, { oper:'bw', text:'po�inje sa'},{ oper:'bn', text:'ne po�inje sa '},{ oper:'in', text:'je u'},{ oper:'ni', text:'nije u'},{ oper:'ew', text:'zavr�ava sa'},{ oper:'en', text:'ne zavr�ava sa'},{ oper:'cn', text:'sadr�i'},{ oper:'nc', text:'ne sadr�i'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
- groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
25
- operandTitle : "Click to select search operation.",
26
- resetTitle : "Reset Search Value"
27
- },
28
- edit : {
29
- addCaption: "Dodaj zapis",
30
- editCaption: "Promijeni zapis",
31
- bSubmit: "Preuzmi",
32
- bCancel: "Odustani",
33
- bClose: "Zatvri",
34
- saveData: "Podaci su promijenjeni! Preuzmi promijene?",
35
- bYes : "Da",
36
- bNo : "Ne",
37
- bExit : "Odustani",
38
- msg: {
39
- required:"Polje je obavezno",
40
- number:"Molim, unesite ispravan broj",
41
- minValue:"Vrijednost mora biti ve�a ili identi�na ",
42
- maxValue:"Vrijednost mora biti manja ili identi�na",
43
- email: "neispravan e-mail",
44
- integer: "Molim, unjeti ispravan cijeli broj (integer)",
45
- date: "Molim, unjeti ispravan datum ",
46
- url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
47
- nodefined : " nije definiran!",
48
- novalue : " zahtjevan podatak je obavezan!",
49
- customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
50
- customfcheck : "Custom function should be present in case of custom checking!"
51
-
52
- }
53
- },
54
- view : {
55
- caption: "Otvori zapis",
56
- bClose: "Zatvori"
57
- },
58
- del : {
59
- caption: "Obri�i",
60
- msg: "Obri�i ozna�en zapis ili vi�e njih?",
61
- bSubmit: "Obri�i",
62
- bCancel: "Odustani"
63
- },
64
- nav : {
65
- edittext: "",
66
- edittitle: "Promijeni obilje�eni red",
67
- addtext: "",
68
- addtitle: "Dodaj novi red",
69
- deltext: "",
70
- deltitle: "Obri�i obilje�eni red",
71
- searchtext: "",
72
- searchtitle: "Potra�i zapise",
73
- refreshtext: "",
74
- refreshtitle: "Ponovo preuzmi podatke",
75
- alertcap: "Upozorenje",
76
- alerttext: "Molim, odaberi red",
77
- viewtext: "",
78
- viewtitle: "Pregled obilje�enog reda"
79
- },
80
- col : {
81
- caption: "Obilje�i kolonu",
82
- bSubmit: "Uredu",
83
- bCancel: "Odustani"
84
- },
85
- errors : {
86
- errcap : "Gre�ka",
87
- nourl : "Nedostaje URL",
88
- norecords: "Bez zapisa za obradu",
89
- model : "colNames i colModel imaju razli�itu duljinu!"
90
- },
91
- formatter : {
92
- integer : {thousandsSeparator: ".", defaultValue: '0'},
93
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
94
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
95
- date : {
96
- dayNames: [
97
- "Ned", "Pon", "Uto", "Sri", "�et", "Pet", "Sub",
98
- "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "�etvrtak", "Petak", "Subota"
99
- ],
100
- monthNames: [
101
- "Sij", "Velj", "O�u", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
102
- "Sije�anj", "Velja�a", "O�ujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
103
- ],
104
- AmPm : ["am","pm","AM","PM"],
105
- S: function (j) {return ''},
106
- srcformat: 'Y-m-d',
107
- newformat: 'd.m.Y.',
108
- parseRe : /[#%\\\/:_;.,\t\s-]/,
109
- masks : {
110
- // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
111
- // and see http://docs.jquery.com/UI/Datepicker/formatDate
112
- // and https://github.com/jquery/globalize#dates for alternative formats used frequently
113
- ISO8601Long: "Y-m-d H:i:s",
114
- ISO8601Short: "Y-m-d",
115
- // short date:
116
- // d - Day of the month, 2 digits with leading zeros
117
- // m - Numeric representation of a month, with leading zeros
118
- // Y - A full numeric representation of a year, 4 digits
119
- ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
120
- // long date:
121
- // l - A full textual representation of the day of the week
122
- // j - Day of the month without leading zeros
123
- // F - A full textual representation of a month
124
- // Y - A full numeric representation of a year, 4 digits
125
- LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
126
- // long date with long time:
127
- // l - A full textual representation of the day of the week
128
- // j - Day of the month without leading zeros
129
- // F - A full textual representation of a month
130
- // Y - A full numeric representation of a year, 4 digits
131
- // H - 24-hour format of an hour with leading zeros
132
- // i - Minutes with leading zeros
133
- // s - Seconds, with leading zeros
134
- FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
135
- // month day:
136
- // d - Day of the month, 2 digits with leading zeros
137
- // F - A full textual representation of a month
138
- MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
139
- // short time (without seconds)
140
- // H - 24-hour format of an hour with leading zeros
141
- // i - Minutes with leading zeros
142
- ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
143
- // long time (with seconds)
144
- // H - 24-hour format of an hour with leading zeros
145
- // i - Minutes with leading zeros
146
- // s - Seconds, with leading zeros
147
- LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
148
- SortableDateTime: "Y-m-d\\TH:i:s",
149
- UniversalSortableDateTime: "Y-m-d H:i:sO",
150
- // month with year
151
- // F - A full textual representation of a month
152
- // Y - A full numeric representation of a year, 4 digits
153
- YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
154
- },
155
- reformatAfterEdit : false
156
- },
157
- baseLinkUrl: '',
158
- showAction: '',
159
- target: '',
160
- checkbox : {disabled:true},
161
- idName : 'id'
162
- }
163
- });
164
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Croatian Translation (charset windows-1250)
4
+ * Version 1.0.1 (developed for jQuery Grid 4.4)
5
+ * msajko@gmail.com
6
+ *
7
+ * Dual licensed under the MIT and GPL licenses:
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ * http://www.gnu.org/licenses/gpl.html
10
+ **/
11
+ $.jgrid = $.jgrid || {};
12
+ $.extend($.jgrid,{
13
+ defaults : {
14
+ recordtext: "Pregled {0} - {1} od {2}",
15
+ emptyrecords: "Nema zapisa",
16
+ loadtext: "U�itavam...",
17
+ pgtext : "Stranica {0} od {1}"
18
+ },
19
+ search : {
20
+ caption: "Tra�i...",
21
+ Find: "Pretra�ivanje",
22
+ Reset: "Poni�ti",
23
+ odata : [{ oper:'eq', text:'jednak'}, { oper:'ne', text:'nije identi�an'}, { oper:'lt', text:'manje'}, { oper:'le', text:'manje ili identi�no'},{ oper:'gt', text:'ve�e'},{ oper:'ge', text:'ve�e ili identi�no'}, { oper:'bw', text:'po�inje sa'},{ oper:'bn', text:'ne po�inje sa '},{ oper:'in', text:'je u'},{ oper:'ni', text:'nije u'},{ oper:'ew', text:'zavr�ava sa'},{ oper:'en', text:'ne zavr�ava sa'},{ oper:'cn', text:'sadr�i'},{ oper:'nc', text:'ne sadr�i'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
+ groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
25
+ operandTitle : "Click to select search operation.",
26
+ resetTitle : "Reset Search Value"
27
+ },
28
+ edit : {
29
+ addCaption: "Dodaj zapis",
30
+ editCaption: "Promijeni zapis",
31
+ bSubmit: "Preuzmi",
32
+ bCancel: "Odustani",
33
+ bClose: "Zatvri",
34
+ saveData: "Podaci su promijenjeni! Preuzmi promijene?",
35
+ bYes : "Da",
36
+ bNo : "Ne",
37
+ bExit : "Odustani",
38
+ msg: {
39
+ required:"Polje je obavezno",
40
+ number:"Molim, unesite ispravan broj",
41
+ minValue:"Vrijednost mora biti ve�a ili identi�na ",
42
+ maxValue:"Vrijednost mora biti manja ili identi�na",
43
+ email: "neispravan e-mail",
44
+ integer: "Molim, unjeti ispravan cijeli broj (integer)",
45
+ date: "Molim, unjeti ispravan datum ",
46
+ url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
47
+ nodefined : " nije definiran!",
48
+ novalue : " zahtjevan podatak je obavezan!",
49
+ customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
50
+ customfcheck : "Custom function should be present in case of custom checking!"
51
+
52
+ }
53
+ },
54
+ view : {
55
+ caption: "Otvori zapis",
56
+ bClose: "Zatvori"
57
+ },
58
+ del : {
59
+ caption: "Obri�i",
60
+ msg: "Obri�i ozna�en zapis ili vi�e njih?",
61
+ bSubmit: "Obri�i",
62
+ bCancel: "Odustani"
63
+ },
64
+ nav : {
65
+ edittext: "",
66
+ edittitle: "Promijeni obilje�eni red",
67
+ addtext: "",
68
+ addtitle: "Dodaj novi red",
69
+ deltext: "",
70
+ deltitle: "Obri�i obilje�eni red",
71
+ searchtext: "",
72
+ searchtitle: "Potra�i zapise",
73
+ refreshtext: "",
74
+ refreshtitle: "Ponovo preuzmi podatke",
75
+ alertcap: "Upozorenje",
76
+ alerttext: "Molim, odaberi red",
77
+ viewtext: "",
78
+ viewtitle: "Pregled obilje�enog reda"
79
+ },
80
+ col : {
81
+ caption: "Obilje�i kolonu",
82
+ bSubmit: "Uredu",
83
+ bCancel: "Odustani"
84
+ },
85
+ errors : {
86
+ errcap : "Gre�ka",
87
+ nourl : "Nedostaje URL",
88
+ norecords: "Bez zapisa za obradu",
89
+ model : "colNames i colModel imaju razli�itu duljinu!"
90
+ },
91
+ formatter : {
92
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
93
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
94
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
95
+ date : {
96
+ dayNames: [
97
+ "Ned", "Pon", "Uto", "Sri", "�et", "Pet", "Sub",
98
+ "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "�etvrtak", "Petak", "Subota"
99
+ ],
100
+ monthNames: [
101
+ "Sij", "Velj", "O�u", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
102
+ "Sije�anj", "Velja�a", "O�ujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
103
+ ],
104
+ AmPm : ["am","pm","AM","PM"],
105
+ S: function (j) {return ''},
106
+ srcformat: 'Y-m-d',
107
+ newformat: 'd.m.Y.',
108
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
109
+ masks : {
110
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
111
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
112
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
113
+ ISO8601Long: "Y-m-d H:i:s",
114
+ ISO8601Short: "Y-m-d",
115
+ // short date:
116
+ // d - Day of the month, 2 digits with leading zeros
117
+ // m - Numeric representation of a month, with leading zeros
118
+ // Y - A full numeric representation of a year, 4 digits
119
+ ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
120
+ // long date:
121
+ // l - A full textual representation of the day of the week
122
+ // j - Day of the month without leading zeros
123
+ // F - A full textual representation of a month
124
+ // Y - A full numeric representation of a year, 4 digits
125
+ LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
126
+ // long date with long time:
127
+ // l - A full textual representation of the day of the week
128
+ // j - Day of the month without leading zeros
129
+ // F - A full textual representation of a month
130
+ // Y - A full numeric representation of a year, 4 digits
131
+ // H - 24-hour format of an hour with leading zeros
132
+ // i - Minutes with leading zeros
133
+ // s - Seconds, with leading zeros
134
+ FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
135
+ // month day:
136
+ // d - Day of the month, 2 digits with leading zeros
137
+ // F - A full textual representation of a month
138
+ MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
139
+ // short time (without seconds)
140
+ // H - 24-hour format of an hour with leading zeros
141
+ // i - Minutes with leading zeros
142
+ ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
143
+ // long time (with seconds)
144
+ // H - 24-hour format of an hour with leading zeros
145
+ // i - Minutes with leading zeros
146
+ // s - Seconds, with leading zeros
147
+ LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
148
+ SortableDateTime: "Y-m-d\\TH:i:s",
149
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
150
+ // month with year
151
+ // F - A full textual representation of a month
152
+ // Y - A full numeric representation of a year, 4 digits
153
+ YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
154
+ },
155
+ reformatAfterEdit : false
156
+ },
157
+ baseLinkUrl: '',
158
+ showAction: '',
159
+ target: '',
160
+ checkbox : {disabled:true},
161
+ idName : 'id'
162
+ }
163
+ });
164
+ })(jQuery);
app/assets/js/i18n/grid.locale-hu.js CHANGED
@@ -1,131 +1,131 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Hungarian Translation
4
- * Őrszigety Ádám udx6bs@freemail.hu
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
-
11
- $.jgrid = $.jgrid || {};
12
- $.extend($.jgrid,{
13
- defaults : {
14
- recordtext: "Oldal {0} - {1} / {2}",
15
- emptyrecords: "Nincs találat",
16
- loadtext: "Betöltés...",
17
- pgtext : "Oldal {0} / {1}"
18
- },
19
- search : {
20
- caption: "Keresés...",
21
- Find: "Keres",
22
- Reset: "Alapértelmezett",
23
- odata: [{ oper:'eq', text:"egyenlő"},{ oper:'ne', text:"nem egyenlő"},{ oper:'lt', text:"kevesebb"},{ oper:'le', text:"kevesebb vagy egyenlő"},{ oper:'gt', text:"nagyobb"},{ oper:'ge', text:"nagyobb vagy egyenlő"},{ oper:'bw', text:"ezzel kezdődik"},{ oper:'bn', text:"nem ezzel kezdődik"},{ oper:'in', text:"tartalmaz"},{ oper:'ni', text:"nem tartalmaz"},{ oper:'ew', text:"végződik"},{ oper:'en', text:"nem végződik"},{ oper:'cn', text:"tartalmaz"},{ oper:'nc', text:"nem tartalmaz"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
- groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
25
- operandTitle : "Click to select search operation.",
26
- resetTitle : "Reset Search Value"
27
- },
28
- edit : {
29
- addCaption: "Új tétel",
30
- editCaption: "Tétel szerkesztése",
31
- bSubmit: "Mentés",
32
- bCancel: "Mégse",
33
- bClose: "Bezárás",
34
- saveData: "A tétel megváltozott! Tétel mentése?",
35
- bYes : "Igen",
36
- bNo : "Nem",
37
- bExit : "Mégse",
38
- msg: {
39
- required:"Kötelező mező",
40
- number:"Kérjük, adjon meg egy helyes számot",
41
- minValue:"Nagyobb vagy egyenlőnek kell lenni mint ",
42
- maxValue:"Kisebb vagy egyenlőnek kell lennie mint",
43
- email: "hibás emailcím",
44
- integer: "Kérjük adjon meg egy helyes egész számot",
45
- date: "Kérjük adjon meg egy helyes dátumot",
46
- url: "nem helyes cím. Előtag kötelező ('http://' vagy 'https://')",
47
- nodefined : " nem definiált!",
48
- novalue : " visszatérési érték kötelező!!",
49
- customarray : "Custom function should return array!",
50
- customfcheck : "Custom function should be present in case of custom checking!"
51
-
52
- }
53
- },
54
- view : {
55
- caption: "Tétel megtekintése",
56
- bClose: "Bezárás"
57
- },
58
- del : {
59
- caption: "Törlés",
60
- msg: "Kiválaztott tétel(ek) törlése?",
61
- bSubmit: "Törlés",
62
- bCancel: "Mégse"
63
- },
64
- nav : {
65
- edittext: "",
66
- edittitle: "Tétel szerkesztése",
67
- addtext:"",
68
- addtitle: "Új tétel hozzáadása",
69
- deltext: "",
70
- deltitle: "Tétel törlése",
71
- searchtext: "",
72
- searchtitle: "Keresés",
73
- refreshtext: "",
74
- refreshtitle: "Frissítés",
75
- alertcap: "Figyelmeztetés",
76
- alerttext: "Kérem válasszon tételt.",
77
- viewtext: "",
78
- viewtitle: "Tétel megtekintése"
79
- },
80
- col : {
81
- caption: "Oszlopok kiválasztása",
82
- bSubmit: "Ok",
83
- bCancel: "Mégse"
84
- },
85
- errors : {
86
- errcap : "Hiba",
87
- nourl : "Nincs URL beállítva",
88
- norecords: "Nincs feldolgozásra váró tétel",
89
- model : "colNames és colModel hossza nem egyenlő!"
90
- },
91
- formatter : {
92
- integer : {thousandsSeparator: " ", defaultValue: '0'},
93
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
94
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
95
- date : {
96
- dayNames: [
97
- "Va", "Hé", "Ke", "Sze", "Csü", "Pé", "Szo",
98
- "Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat"
99
- ],
100
- monthNames: [
101
- "Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Szep", "Okt", "Nov", "Dec",
102
- "Január", "Február", "Március", "Áprili", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"
103
- ],
104
- AmPm : ["de","du","DE","DU"],
105
- S: function (j) {return '.-ik';},
106
- srcformat: 'Y-m-d',
107
- newformat: 'Y/m/d',
108
- parseRe : /[#%\\\/:_;.,\t\s-]/,
109
- masks : {
110
- ISO8601Long:"Y-m-d H:i:s",
111
- ISO8601Short:"Y-m-d",
112
- ShortDate: "Y/j/n",
113
- LongDate: "Y. F hó d., l",
114
- FullDateTime: "l, F d, Y g:i:s A",
115
- MonthDay: "F d",
116
- ShortTime: "a g:i",
117
- LongTime: "a g:i:s",
118
- SortableDateTime: "Y-m-d\\TH:i:s",
119
- UniversalSortableDateTime: "Y-m-d H:i:sO",
120
- YearMonth: "Y, F"
121
- },
122
- reformatAfterEdit : false
123
- },
124
- baseLinkUrl: '',
125
- showAction: '',
126
- target: '',
127
- checkbox : {disabled:true},
128
- idName : 'id'
129
- }
130
- });
131
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Hungarian Translation
4
+ * Őrszigety Ádám udx6bs@freemail.hu
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+
11
+ $.jgrid = $.jgrid || {};
12
+ $.extend($.jgrid,{
13
+ defaults : {
14
+ recordtext: "Oldal {0} - {1} / {2}",
15
+ emptyrecords: "Nincs találat",
16
+ loadtext: "Betöltés...",
17
+ pgtext : "Oldal {0} / {1}"
18
+ },
19
+ search : {
20
+ caption: "Keresés...",
21
+ Find: "Keres",
22
+ Reset: "Alapértelmezett",
23
+ odata: [{ oper:'eq', text:"egyenlő"},{ oper:'ne', text:"nem egyenlő"},{ oper:'lt', text:"kevesebb"},{ oper:'le', text:"kevesebb vagy egyenlő"},{ oper:'gt', text:"nagyobb"},{ oper:'ge', text:"nagyobb vagy egyenlő"},{ oper:'bw', text:"ezzel kezdődik"},{ oper:'bn', text:"nem ezzel kezdődik"},{ oper:'in', text:"tartalmaz"},{ oper:'ni', text:"nem tartalmaz"},{ oper:'ew', text:"végződik"},{ oper:'en', text:"nem végződik"},{ oper:'cn', text:"tartalmaz"},{ oper:'nc', text:"nem tartalmaz"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
25
+ operandTitle : "Click to select search operation.",
26
+ resetTitle : "Reset Search Value"
27
+ },
28
+ edit : {
29
+ addCaption: "Új tétel",
30
+ editCaption: "Tétel szerkesztése",
31
+ bSubmit: "Mentés",
32
+ bCancel: "Mégse",
33
+ bClose: "Bezárás",
34
+ saveData: "A tétel megváltozott! Tétel mentése?",
35
+ bYes : "Igen",
36
+ bNo : "Nem",
37
+ bExit : "Mégse",
38
+ msg: {
39
+ required:"Kötelező mező",
40
+ number:"Kérjük, adjon meg egy helyes számot",
41
+ minValue:"Nagyobb vagy egyenlőnek kell lenni mint ",
42
+ maxValue:"Kisebb vagy egyenlőnek kell lennie mint",
43
+ email: "hibás emailcím",
44
+ integer: "Kérjük adjon meg egy helyes egész számot",
45
+ date: "Kérjük adjon meg egy helyes dátumot",
46
+ url: "nem helyes cím. Előtag kötelező ('http://' vagy 'https://')",
47
+ nodefined : " nem definiált!",
48
+ novalue : " visszatérési érték kötelező!!",
49
+ customarray : "Custom function should return array!",
50
+ customfcheck : "Custom function should be present in case of custom checking!"
51
+
52
+ }
53
+ },
54
+ view : {
55
+ caption: "Tétel megtekintése",
56
+ bClose: "Bezárás"
57
+ },
58
+ del : {
59
+ caption: "Törlés",
60
+ msg: "Kiválaztott tétel(ek) törlése?",
61
+ bSubmit: "Törlés",
62
+ bCancel: "Mégse"
63
+ },
64
+ nav : {
65
+ edittext: "",
66
+ edittitle: "Tétel szerkesztése",
67
+ addtext:"",
68
+ addtitle: "Új tétel hozzáadása",
69
+ deltext: "",
70
+ deltitle: "Tétel törlése",
71
+ searchtext: "",
72
+ searchtitle: "Keresés",
73
+ refreshtext: "",
74
+ refreshtitle: "Frissítés",
75
+ alertcap: "Figyelmeztetés",
76
+ alerttext: "Kérem válasszon tételt.",
77
+ viewtext: "",
78
+ viewtitle: "Tétel megtekintése"
79
+ },
80
+ col : {
81
+ caption: "Oszlopok kiválasztása",
82
+ bSubmit: "Ok",
83
+ bCancel: "Mégse"
84
+ },
85
+ errors : {
86
+ errcap : "Hiba",
87
+ nourl : "Nincs URL beállítva",
88
+ norecords: "Nincs feldolgozásra váró tétel",
89
+ model : "colNames és colModel hossza nem egyenlő!"
90
+ },
91
+ formatter : {
92
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
93
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
94
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
95
+ date : {
96
+ dayNames: [
97
+ "Va", "Hé", "Ke", "Sze", "Csü", "Pé", "Szo",
98
+ "Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat"
99
+ ],
100
+ monthNames: [
101
+ "Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Szep", "Okt", "Nov", "Dec",
102
+ "Január", "Február", "Március", "Áprili", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"
103
+ ],
104
+ AmPm : ["de","du","DE","DU"],
105
+ S: function (j) {return '.-ik';},
106
+ srcformat: 'Y-m-d',
107
+ newformat: 'Y/m/d',
108
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
109
+ masks : {
110
+ ISO8601Long:"Y-m-d H:i:s",
111
+ ISO8601Short:"Y-m-d",
112
+ ShortDate: "Y/j/n",
113
+ LongDate: "Y. F hó d., l",
114
+ FullDateTime: "l, F d, Y g:i:s A",
115
+ MonthDay: "F d",
116
+ ShortTime: "a g:i",
117
+ LongTime: "a g:i:s",
118
+ SortableDateTime: "Y-m-d\\TH:i:s",
119
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
120
+ YearMonth: "Y, F"
121
+ },
122
+ reformatAfterEdit : false
123
+ },
124
+ baseLinkUrl: '',
125
+ showAction: '',
126
+ target: '',
127
+ checkbox : {disabled:true},
128
+ idName : 'id'
129
+ }
130
+ });
131
+ })(jQuery);
app/assets/js/i18n/grid.locale-id.js CHANGED
@@ -1,170 +1,170 @@
1
- ;(function($){
2
- /**
3
- * jqGrid English Translation
4
- * Tony Tomov tony@trirand.com
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Data {0} - {1} dari {2}",
14
- emptyrecords: "Tidak ada data",
15
- loadtext: "Memuat...",
16
- pgtext : "Halaman {0} dari {1}"
17
- },
18
- search : {
19
- caption: "Pencarian",
20
- Find: "Cari !",
21
- Reset: "Segarkan",
22
- odata: [{ oper:'eq', text:"sama dengan"},{ oper:'ne', text:"tidak sama dengan"},{ oper:'lt', text:"kurang dari"},{ oper:'le', text:"kurang dari atau sama dengan"},{ oper:'gt', text:"lebih besar"},{ oper:'ge', text:"lebih besar atau sama dengan"},{ oper:'bw', text:"dimulai dengan"},{ oper:'bn', text:"tidak dimulai dengan"},{ oper:'in', text:"di dalam"},{ oper:'ni', text:"tidak di dalam"},{ oper:'ew', text:"diakhiri dengan"},{ oper:'en', text:"tidak diakhiri dengan"},{ oper:'cn', text:"mengandung"},{ oper:'nc', text:"tidak mengandung"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Tambah Data",
29
- editCaption: "Sunting Data",
30
- bSubmit: "Submit",
31
- bCancel: "Tutup",
32
- bClose: "Tutup",
33
- saveData: "Data telah berubah! Simpan perubahan?",
34
- bYes : "Ya",
35
- bNo : "Tidak",
36
- bExit : "Tutup",
37
- msg: {
38
- required:"kolom wajib diisi",
39
- number:"hanya nomer yang diperbolehkan",
40
- minValue:"kolom harus lebih besar dari atau sama dengan",
41
- maxValue:"kolom harus lebih kecil atau sama dengan",
42
- email: "alamat e-mail tidak valid",
43
- integer: "hanya nilai integer yang diperbolehkan",
44
- date: "nilai tanggal tidak valid",
45
- url: "Bukan URL yang valid. Harap gunakan ('http://' or 'https://')",
46
- nodefined : " belum didefinisikan!",
47
- novalue : " return value is required!",
48
- customarray : "Custom function should return array!",
49
- customfcheck : "Custom function should be present in case of custom checking!"
50
-
51
- }
52
- },
53
- view : {
54
- caption: "Menampilkan data",
55
- bClose: "Tutup"
56
- },
57
- del : {
58
- caption: "Hapus",
59
- msg: "Hapus data terpilih?",
60
- bSubmit: "Hapus",
61
- bCancel: "Batalkan"
62
- },
63
- nav : {
64
- edittext: "",
65
- edittitle: "Sunting data terpilih",
66
- addtext:"",
67
- addtitle: "Tambah baris baru",
68
- deltext: "",
69
- deltitle: "Hapus baris terpilih",
70
- searchtext: "",
71
- searchtitle: "Temukan data",
72
- refreshtext: "",
73
- refreshtitle: "Segarkan Grid",
74
- alertcap: "Warning",
75
- alerttext: "Harap pilih baris",
76
- viewtext: "",
77
- viewtitle: "Tampilkan baris terpilih"
78
- },
79
- col : {
80
- caption: "Pilih Kolom",
81
- bSubmit: "Ok",
82
- bCancel: "Batal"
83
- },
84
- errors : {
85
- errcap : "Error",
86
- nourl : "Tidak ada url yang diset",
87
- norecords: "Tidak ada data untuk diproses",
88
- model : "Lebar dari colNames <> colModel!"
89
- },
90
- formatter : {
91
- integer : {thousandsSeparator: ".", defaultValue: '0'},
92
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
93
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "Rp. ", suffix:"", defaultValue: '0'},
94
- date : {
95
- dayNames: [
96
- "Ming", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab",
97
- "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"
98
- ],
99
- monthNames: [
100
- "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des",
101
- "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"
102
- ],
103
- AmPm : ["am","pm","AM","PM"],
104
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
105
- srcformat: 'Y-m-d',
106
- newformat: 'n/j/Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks : {
109
- // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
110
- // and see http://docs.jquery.com/UI/Datepicker/formatDate
111
- // and https://github.com/jquery/globalize#dates for alternative formats used frequently
112
- // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
113
- // information about date, time, numbers and currency formats used in different countries
114
- // one should just convert the information in PHP format
115
- ISO8601Long:"Y-m-d H:i:s",
116
- ISO8601Short:"Y-m-d",
117
- // short date:
118
- // n - Numeric representation of a month, without leading zeros
119
- // j - Day of the month without leading zeros
120
- // Y - A full numeric representation of a year, 4 digits
121
- // example: 3/1/2012 which means 1 March 2012
122
- ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
123
- // long date:
124
- // l - A full textual representation of the day of the week
125
- // F - A full textual representation of a month
126
- // d - Day of the month, 2 digits with leading zeros
127
- // Y - A full numeric representation of a year, 4 digits
128
- LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
129
- // long date with long time:
130
- // l - A full textual representation of the day of the week
131
- // F - A full textual representation of a month
132
- // d - Day of the month, 2 digits with leading zeros
133
- // Y - A full numeric representation of a year, 4 digits
134
- // g - 12-hour format of an hour without leading zeros
135
- // i - Minutes with leading zeros
136
- // s - Seconds, with leading zeros
137
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
138
- FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
139
- // month day:
140
- // F - A full textual representation of a month
141
- // d - Day of the month, 2 digits with leading zeros
142
- MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
143
- // short time (without seconds)
144
- // g - 12-hour format of an hour without leading zeros
145
- // i - Minutes with leading zeros
146
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
147
- ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
148
- // long time (with seconds)
149
- // g - 12-hour format of an hour without leading zeros
150
- // i - Minutes with leading zeros
151
- // s - Seconds, with leading zeros
152
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
153
- LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
154
- SortableDateTime: "Y-m-d\\TH:i:s",
155
- UniversalSortableDateTime: "Y-m-d H:i:sO",
156
- // month with year
157
- // Y - A full numeric representation of a year, 4 digits
158
- // F - A full textual representation of a month
159
- YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
160
- },
161
- reformatAfterEdit : false
162
- },
163
- baseLinkUrl: '',
164
- showAction: '',
165
- target: '',
166
- checkbox : {disabled:true},
167
- idName : 'id'
168
- }
169
- });
170
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid English Translation
4
+ * Tony Tomov tony@trirand.com
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Data {0} - {1} dari {2}",
14
+ emptyrecords: "Tidak ada data",
15
+ loadtext: "Memuat...",
16
+ pgtext : "Halaman {0} dari {1}"
17
+ },
18
+ search : {
19
+ caption: "Pencarian",
20
+ Find: "Cari !",
21
+ Reset: "Segarkan",
22
+ odata: [{ oper:'eq', text:"sama dengan"},{ oper:'ne', text:"tidak sama dengan"},{ oper:'lt', text:"kurang dari"},{ oper:'le', text:"kurang dari atau sama dengan"},{ oper:'gt', text:"lebih besar"},{ oper:'ge', text:"lebih besar atau sama dengan"},{ oper:'bw', text:"dimulai dengan"},{ oper:'bn', text:"tidak dimulai dengan"},{ oper:'in', text:"di dalam"},{ oper:'ni', text:"tidak di dalam"},{ oper:'ew', text:"diakhiri dengan"},{ oper:'en', text:"tidak diakhiri dengan"},{ oper:'cn', text:"mengandung"},{ oper:'nc', text:"tidak mengandung"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Tambah Data",
29
+ editCaption: "Sunting Data",
30
+ bSubmit: "Submit",
31
+ bCancel: "Tutup",
32
+ bClose: "Tutup",
33
+ saveData: "Data telah berubah! Simpan perubahan?",
34
+ bYes : "Ya",
35
+ bNo : "Tidak",
36
+ bExit : "Tutup",
37
+ msg: {
38
+ required:"kolom wajib diisi",
39
+ number:"hanya nomer yang diperbolehkan",
40
+ minValue:"kolom harus lebih besar dari atau sama dengan",
41
+ maxValue:"kolom harus lebih kecil atau sama dengan",
42
+ email: "alamat e-mail tidak valid",
43
+ integer: "hanya nilai integer yang diperbolehkan",
44
+ date: "nilai tanggal tidak valid",
45
+ url: "Bukan URL yang valid. Harap gunakan ('http://' or 'https://')",
46
+ nodefined : " belum didefinisikan!",
47
+ novalue : " return value is required!",
48
+ customarray : "Custom function should return array!",
49
+ customfcheck : "Custom function should be present in case of custom checking!"
50
+
51
+ }
52
+ },
53
+ view : {
54
+ caption: "Menampilkan data",
55
+ bClose: "Tutup"
56
+ },
57
+ del : {
58
+ caption: "Hapus",
59
+ msg: "Hapus data terpilih?",
60
+ bSubmit: "Hapus",
61
+ bCancel: "Batalkan"
62
+ },
63
+ nav : {
64
+ edittext: "",
65
+ edittitle: "Sunting data terpilih",
66
+ addtext:"",
67
+ addtitle: "Tambah baris baru",
68
+ deltext: "",
69
+ deltitle: "Hapus baris terpilih",
70
+ searchtext: "",
71
+ searchtitle: "Temukan data",
72
+ refreshtext: "",
73
+ refreshtitle: "Segarkan Grid",
74
+ alertcap: "Warning",
75
+ alerttext: "Harap pilih baris",
76
+ viewtext: "",
77
+ viewtitle: "Tampilkan baris terpilih"
78
+ },
79
+ col : {
80
+ caption: "Pilih Kolom",
81
+ bSubmit: "Ok",
82
+ bCancel: "Batal"
83
+ },
84
+ errors : {
85
+ errcap : "Error",
86
+ nourl : "Tidak ada url yang diset",
87
+ norecords: "Tidak ada data untuk diproses",
88
+ model : "Lebar dari colNames <> colModel!"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
92
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
93
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "Rp. ", suffix:"", defaultValue: '0'},
94
+ date : {
95
+ dayNames: [
96
+ "Ming", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab",
97
+ "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"
98
+ ],
99
+ monthNames: [
100
+ "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des",
101
+ "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'n/j/Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
110
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
111
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
112
+ // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
113
+ // information about date, time, numbers and currency formats used in different countries
114
+ // one should just convert the information in PHP format
115
+ ISO8601Long:"Y-m-d H:i:s",
116
+ ISO8601Short:"Y-m-d",
117
+ // short date:
118
+ // n - Numeric representation of a month, without leading zeros
119
+ // j - Day of the month without leading zeros
120
+ // Y - A full numeric representation of a year, 4 digits
121
+ // example: 3/1/2012 which means 1 March 2012
122
+ ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
123
+ // long date:
124
+ // l - A full textual representation of the day of the week
125
+ // F - A full textual representation of a month
126
+ // d - Day of the month, 2 digits with leading zeros
127
+ // Y - A full numeric representation of a year, 4 digits
128
+ LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
129
+ // long date with long time:
130
+ // l - A full textual representation of the day of the week
131
+ // F - A full textual representation of a month
132
+ // d - Day of the month, 2 digits with leading zeros
133
+ // Y - A full numeric representation of a year, 4 digits
134
+ // g - 12-hour format of an hour without leading zeros
135
+ // i - Minutes with leading zeros
136
+ // s - Seconds, with leading zeros
137
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
138
+ FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
139
+ // month day:
140
+ // F - A full textual representation of a month
141
+ // d - Day of the month, 2 digits with leading zeros
142
+ MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
143
+ // short time (without seconds)
144
+ // g - 12-hour format of an hour without leading zeros
145
+ // i - Minutes with leading zeros
146
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
147
+ ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
148
+ // long time (with seconds)
149
+ // g - 12-hour format of an hour without leading zeros
150
+ // i - Minutes with leading zeros
151
+ // s - Seconds, with leading zeros
152
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
153
+ LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
154
+ SortableDateTime: "Y-m-d\\TH:i:s",
155
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
156
+ // month with year
157
+ // Y - A full numeric representation of a year, 4 digits
158
+ // F - A full textual representation of a month
159
+ YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
160
+ },
161
+ reformatAfterEdit : false
162
+ },
163
+ baseLinkUrl: '',
164
+ showAction: '',
165
+ target: '',
166
+ checkbox : {disabled:true},
167
+ idName : 'id'
168
+ }
169
+ });
170
+ })(jQuery);
app/assets/js/i18n/grid.locale-is.js CHANGED
@@ -1,128 +1,128 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Icelandic Translation
4
- * jtm@hi.is Univercity of Iceland
5
- * Dual licensed under the MIT and GPL licenses:
6
- * http://www.opensource.org/licenses/mit-license.php
7
- * http://www.gnu.org/licenses/gpl.html
8
- **/
9
- $.jgrid = $.jgrid || {};
10
- $.extend($.jgrid,{
11
- defaults : {
12
- recordtext: "Skoða {0} - {1} af {2}",
13
- emptyrecords: "Engar færslur",
14
- loadtext: "Hleður...",
15
- pgtext : "Síða {0} af {1}"
16
- },
17
- search : {
18
- caption: "Leita...",
19
- Find: "Leita",
20
- Reset: "Endursetja",
21
- odata: [{ oper:'eq', text:"sama og"},{ oper:'ne', text:"ekki sama og"},{ oper:'lt', text:"minna en"},{ oper:'le', text:"minna eða jafnt og"},{ oper:'gt', text:"stærra en"},{ oper:'ge', text:"stærra eða jafnt og"},{ oper:'bw', text:"byrjar á"},{ oper:'bn', text:"byrjar ekki á"},{ oper:'in', text:"er í"},{ oper:'ni', text:"er ekki í"},{ oper:'ew', text:"endar á"},{ oper:'en', text:"endar ekki á"},{ oper:'cn', text:"inniheldur"},{ oper:'nc', text:"inniheldur ekki"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
22
- groupOps: [ { op: "AND", text: "allt" }, { op: "OR", text: "eða" } ],
23
- operandTitle : "Click to select search operation.",
24
- resetTitle : "Reset Search Value"
25
- },
26
- edit : {
27
- addCaption: "Bæta við færslu",
28
- editCaption: "Breyta færslu",
29
- bSubmit: "Vista",
30
- bCancel: "Hætta við",
31
- bClose: "Loka",
32
- saveData: "Gögn hafa breyst! Vista breytingar?",
33
- bYes : "Já",
34
- bNo : "Nei",
35
- bExit : "Hætta við",
36
- msg: {
37
- required:"Reitur er nauðsynlegur",
38
- number:"Vinsamlega settu inn tölu",
39
- minValue:"gildi verður að vera meira en eða jafnt og ",
40
- maxValue:"gildi verður að vera minna en eða jafnt og ",
41
- email: "er ekki löglegt email",
42
- integer: "Vinsamlega settu inn tölu",
43
- date: "Vinsamlega setti inn dagsetningu",
44
- url: "er ekki löglegt URL. Vantar ('http://' eða 'https://')",
45
- nodefined : " er ekki skilgreint!",
46
- novalue : " skilagildi nauðsynlegt!",
47
- customarray : "Fall skal skila fylki!",
48
- customfcheck : "Fall skal vera skilgreint!"
49
- }
50
- },
51
- view : {
52
- caption: "Skoða færslu",
53
- bClose: "Loka"
54
- },
55
- del : {
56
- caption: "Eyða",
57
- msg: "Eyða völdum færslum ?",
58
- bSubmit: "Eyða",
59
- bCancel: "Hætta við"
60
- },
61
- nav : {
62
- edittext: " ",
63
- edittitle: "Breyta færslu",
64
- addtext:" ",
65
- addtitle: "Ný færsla",
66
- deltext: " ",
67
- deltitle: "Eyða færslu",
68
- searchtext: " ",
69
- searchtitle: "Leita",
70
- refreshtext: "",
71
- refreshtitle: "Endurhlaða",
72
- alertcap: "Viðvörun",
73
- alerttext: "Vinsamlega veldu færslu",
74
- viewtext: "",
75
- viewtitle: "Skoða valda færslu"
76
- },
77
- col : {
78
- caption: "Sýna / fela dálka",
79
- bSubmit: "Vista",
80
- bCancel: "Hætta við"
81
- },
82
- errors : {
83
- errcap : "Villa",
84
- nourl : "Vantar slóð",
85
- norecords: "Engar færslur valdar",
86
- model : "Lengd colNames <> colModel!"
87
- },
88
- formatter : {
89
- integer : {thousandsSeparator: " ", defaultValue: '0'},
90
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
91
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
92
- date : {
93
- dayNames: [
94
- "Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau",
95
- "Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur"
96
- ],
97
- monthNames: [
98
- "Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Oct", "Nóv", "Des",
99
- "Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júný", "Júlý", "Ágúst", "September", "Október", "Nóvember", "Desember"
100
- ],
101
- AmPm : ["am","pm","AM","PM"],
102
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
103
- srcformat: 'Y-m-d',
104
- newformat: 'd/m/Y',
105
- parseRe : /[#%\\\/:_;.,\t\s-]/,
106
- masks : {
107
- ISO8601Long:"Y-m-d H:i:s",
108
- ISO8601Short:"Y-m-d",
109
- ShortDate: "n/j/Y",
110
- LongDate: "l, F d, Y",
111
- FullDateTime: "l, F d, Y g:i:s A",
112
- MonthDay: "F d",
113
- ShortTime: "g:i A",
114
- LongTime: "g:i:s A",
115
- SortableDateTime: "Y-m-d\\TH:i:s",
116
- UniversalSortableDateTime: "Y-m-d H:i:sO",
117
- YearMonth: "F, Y"
118
- },
119
- reformatAfterEdit : false
120
- },
121
- baseLinkUrl: '',
122
- showAction: '',
123
- target: '',
124
- checkbox : {disabled:true},
125
- idName : 'id'
126
- }
127
- });
128
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Icelandic Translation
4
+ * jtm@hi.is Univercity of Iceland
5
+ * Dual licensed under the MIT and GPL licenses:
6
+ * http://www.opensource.org/licenses/mit-license.php
7
+ * http://www.gnu.org/licenses/gpl.html
8
+ **/
9
+ $.jgrid = $.jgrid || {};
10
+ $.extend($.jgrid,{
11
+ defaults : {
12
+ recordtext: "Skoða {0} - {1} af {2}",
13
+ emptyrecords: "Engar færslur",
14
+ loadtext: "Hleður...",
15
+ pgtext : "Síða {0} af {1}"
16
+ },
17
+ search : {
18
+ caption: "Leita...",
19
+ Find: "Leita",
20
+ Reset: "Endursetja",
21
+ odata: [{ oper:'eq', text:"sama og"},{ oper:'ne', text:"ekki sama og"},{ oper:'lt', text:"minna en"},{ oper:'le', text:"minna eða jafnt og"},{ oper:'gt', text:"stærra en"},{ oper:'ge', text:"stærra eða jafnt og"},{ oper:'bw', text:"byrjar á"},{ oper:'bn', text:"byrjar ekki á"},{ oper:'in', text:"er í"},{ oper:'ni', text:"er ekki í"},{ oper:'ew', text:"endar á"},{ oper:'en', text:"endar ekki á"},{ oper:'cn', text:"inniheldur"},{ oper:'nc', text:"inniheldur ekki"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
22
+ groupOps: [ { op: "AND", text: "allt" }, { op: "OR", text: "eða" } ],
23
+ operandTitle : "Click to select search operation.",
24
+ resetTitle : "Reset Search Value"
25
+ },
26
+ edit : {
27
+ addCaption: "Bæta við færslu",
28
+ editCaption: "Breyta færslu",
29
+ bSubmit: "Vista",
30
+ bCancel: "Hætta við",
31
+ bClose: "Loka",
32
+ saveData: "Gögn hafa breyst! Vista breytingar?",
33
+ bYes : "Já",
34
+ bNo : "Nei",
35
+ bExit : "Hætta við",
36
+ msg: {
37
+ required:"Reitur er nauðsynlegur",
38
+ number:"Vinsamlega settu inn tölu",
39
+ minValue:"gildi verður að vera meira en eða jafnt og ",
40
+ maxValue:"gildi verður að vera minna en eða jafnt og ",
41
+ email: "er ekki löglegt email",
42
+ integer: "Vinsamlega settu inn tölu",
43
+ date: "Vinsamlega setti inn dagsetningu",
44
+ url: "er ekki löglegt URL. Vantar ('http://' eða 'https://')",
45
+ nodefined : " er ekki skilgreint!",
46
+ novalue : " skilagildi nauðsynlegt!",
47
+ customarray : "Fall skal skila fylki!",
48
+ customfcheck : "Fall skal vera skilgreint!"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "Skoða færslu",
53
+ bClose: "Loka"
54
+ },
55
+ del : {
56
+ caption: "Eyða",
57
+ msg: "Eyða völdum færslum ?",
58
+ bSubmit: "Eyða",
59
+ bCancel: "Hætta við"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Breyta færslu",
64
+ addtext:" ",
65
+ addtitle: "Ný færsla",
66
+ deltext: " ",
67
+ deltitle: "Eyða færslu",
68
+ searchtext: " ",
69
+ searchtitle: "Leita",
70
+ refreshtext: "",
71
+ refreshtitle: "Endurhlaða",
72
+ alertcap: "Viðvörun",
73
+ alerttext: "Vinsamlega veldu færslu",
74
+ viewtext: "",
75
+ viewtitle: "Skoða valda færslu"
76
+ },
77
+ col : {
78
+ caption: "Sýna / fela dálka",
79
+ bSubmit: "Vista",
80
+ bCancel: "Hætta við"
81
+ },
82
+ errors : {
83
+ errcap : "Villa",
84
+ nourl : "Vantar slóð",
85
+ norecords: "Engar færslur valdar",
86
+ model : "Lengd colNames <> colModel!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
90
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
91
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
92
+ date : {
93
+ dayNames: [
94
+ "Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau",
95
+ "Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur"
96
+ ],
97
+ monthNames: [
98
+ "Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Oct", "Nóv", "Des",
99
+ "Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júný", "Júlý", "Ágúst", "September", "Október", "Nóvember", "Desember"
100
+ ],
101
+ AmPm : ["am","pm","AM","PM"],
102
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
103
+ srcformat: 'Y-m-d',
104
+ newformat: 'd/m/Y',
105
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
106
+ masks : {
107
+ ISO8601Long:"Y-m-d H:i:s",
108
+ ISO8601Short:"Y-m-d",
109
+ ShortDate: "n/j/Y",
110
+ LongDate: "l, F d, Y",
111
+ FullDateTime: "l, F d, Y g:i:s A",
112
+ MonthDay: "F d",
113
+ ShortTime: "g:i A",
114
+ LongTime: "g:i:s A",
115
+ SortableDateTime: "Y-m-d\\TH:i:s",
116
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
117
+ YearMonth: "F, Y"
118
+ },
119
+ reformatAfterEdit : false
120
+ },
121
+ baseLinkUrl: '',
122
+ showAction: '',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ });
128
+ })(jQuery);
app/assets/js/i18n/grid.locale-ja.js CHANGED
@@ -1,158 +1,158 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Japanese Translation
4
- * OKADA Yoshitada okada.dev@sth.jp
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "{2} \u4EF6\u4E2D {0} - {1} \u3092\u8868\u793A ",
14
- emptyrecords: "\u8868\u793A\u3059\u308B\u30EC\u30B3\u30FC\u30C9\u304C\u3042\u308A\u307E\u305B\u3093",
15
- loadtext: "\u8aad\u307f\u8fbc\u307f\u4e2d...",
16
- pgtext : "{1} \u30DA\u30FC\u30B8\u4E2D {0} \u30DA\u30FC\u30B8\u76EE "
17
- },
18
- search : {
19
- caption: "\u691c\u7d22...",
20
- Find: "\u691c\u7d22",
21
- Reset: "\u30ea\u30bb\u30c3\u30c8",
22
- odata: [{ oper:'eq', text:"\u6B21\u306B\u7B49\u3057\u3044"}, { oper:'ne', text:"\u6B21\u306B\u7B49\u3057\u304F\u306A\u3044"},
23
- { oper:'lt', text:"\u6B21\u3088\u308A\u5C0F\u3055\u3044"}, { oper:'le', text:"\u6B21\u306B\u7B49\u3057\u3044\u304B\u5C0F\u3055\u3044"},
24
- { oper:'gt', text:"\u6B21\u3088\u308A\u5927\u304D\u3044"}, { oper:'ge', text:"\u6B21\u306B\u7B49\u3057\u3044\u304B\u5927\u304D\u3044"},
25
- { oper:'bw', text:"\u6B21\u3067\u59CB\u307E\u308B"}, { oper:'bn', text:"\u6B21\u3067\u59CB\u307E\u3089\u306A\u3044"},
26
- { oper:'in', text:"\u6B21\u306B\u542B\u307E\u308C\u308B"}, { oper:'ni', text:"\u6B21\u306B\u542B\u307E\u308C\u306A\u3044"},
27
- { oper:'ew', text:"\u6B21\u3067\u7D42\u308F\u308B"}, { oper:'en', text:"\u6B21\u3067\u7D42\u308F\u3089\u306A\u3044"},
28
- { oper:'cn', text:"\u6B21\u3092\u542B\u3080"}, { oper:'nc', text:"\u6B21\u3092\u542B\u307E\u306A\u3044"},
29
- { oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
30
- groupOps: [{
31
- op: "AND",
32
- text: "\u3059\u3079\u3066\u306E"
33
- },
34
- {
35
- op: "OR",
36
- text: "\u3044\u305A\u308C\u304B\u306E"
37
- }],
38
- operandTitle : "Click to select search operation.",
39
- resetTitle : "Reset Search Value"
40
- },
41
- edit : {
42
- addCaption: "\u30ec\u30b3\u30fc\u30c9\u8ffd\u52a0",
43
- editCaption: "\u30ec\u30b3\u30fc\u30c9\u7de8\u96c6",
44
- bSubmit: "\u9001\u4fe1",
45
- bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb",
46
- bClose: "\u9589\u3058\u308b",
47
- saveData: "\u30C7\u30FC\u30BF\u304C\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u4FDD\u5B58\u3057\u307E\u3059\u304B\uFF1F",
48
- bYes: "\u306F\u3044",
49
- bNo: "\u3044\u3044\u3048",
50
- bExit: "\u30AD\u30E3\u30F3\u30BB\u30EB",
51
- msg: {
52
- required:"\u3053\u306e\u9805\u76ee\u306f\u5fc5\u9808\u3067\u3059\u3002",
53
- number:"\u6b63\u3057\u3044\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
54
- minValue:"\u6b21\u306e\u5024\u4ee5\u4e0a\u3067\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
55
- maxValue:"\u6b21\u306e\u5024\u4ee5\u4e0b\u3067\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
56
- email: "e-mail\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002",
57
- integer: "\u6b63\u3057\u3044\u6574\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
58
- date: "\u6b63\u3057\u3044\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
59
- url: "\u306F\u6709\u52B9\u306AURL\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\20\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u304C\u5FC5\u8981\u3067\u3059\u3002 ('http://' \u307E\u305F\u306F 'https://')",
60
- nodefined: " \u304C\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u305B\u3093",
61
- novalue: " \u623B\u308A\u5024\u304C\u5FC5\u8981\u3067\u3059",
62
- customarray: "\u30AB\u30B9\u30BF\u30E0\u95A2\u6570\u306F\u914D\u5217\u3092\u8FD4\u3059\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
63
- customfcheck: "\u30AB\u30B9\u30BF\u30E0\u691C\u8A3C\u306B\u306F\u30AB\u30B9\u30BF\u30E0\u95A2\u6570\u304C\u5FC5\u8981\u3067\u3059"
64
- }
65
- },
66
- view : {
67
- caption: "\u30EC\u30B3\u30FC\u30C9\u3092\u8868\u793A",
68
- bClose: "\u9589\u3058\u308B"
69
- },
70
- del : {
71
- caption: "\u524a\u9664",
72
- msg: "\u9078\u629e\u3057\u305f\u30ec\u30b3\u30fc\u30c9\u3092\u524a\u9664\u3057\u307e\u3059\u304b\uff1f",
73
- bSubmit: "\u524a\u9664",
74
- bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb"
75
- },
76
- nav : {
77
- edittext: " ",
78
- edittitle: "\u9078\u629e\u3057\u305f\u884c\u3092\u7de8\u96c6",
79
- addtext:" ",
80
- addtitle: "\u884c\u3092\u65b0\u898f\u8ffd\u52a0",
81
- deltext: " ",
82
- deltitle: "\u9078\u629e\u3057\u305f\u884c\u3092\u524a\u9664",
83
- searchtext: " ",
84
- searchtitle: "\u30ec\u30b3\u30fc\u30c9\u691c\u7d22",
85
- refreshtext: "",
86
- refreshtitle: "\u30b0\u30ea\u30c3\u30c9\u3092\u30ea\u30ed\u30fc\u30c9",
87
- alertcap: "\u8b66\u544a",
88
- alerttext: "\u884c\u3092\u9078\u629e\u3057\u3066\u4e0b\u3055\u3044\u3002",
89
- viewtext: "",
90
- viewtitle: "\u9078\u629E\u3057\u305F\u884C\u3092\u8868\u793A"
91
- },
92
- col : {
93
- caption: "\u5217\u3092\u8868\u793a\uff0f\u96a0\u3059",
94
- bSubmit: "\u9001\u4fe1",
95
- bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb"
96
- },
97
- errors : {
98
- errcap : "\u30a8\u30e9\u30fc",
99
- nourl : "URL\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002",
100
- norecords: "\u51e6\u7406\u5bfe\u8c61\u306e\u30ec\u30b3\u30fc\u30c9\u304c\u3042\u308a\u307e\u305b\u3093\u3002",
101
- model : "colNames\u306e\u9577\u3055\u304ccolModel\u3068\u4e00\u81f4\u3057\u307e\u305b\u3093\u3002"
102
- },
103
- formatter : {
104
- integer: {
105
- thousandsSeparator: ",",
106
- defaultValue: '0'
107
- },
108
- number: {
109
- decimalSeparator: ".",
110
- thousandsSeparator: ",",
111
- decimalPlaces: 2,
112
- defaultValue: '0.00'
113
- },
114
- currency: {
115
- decimalSeparator: ".",
116
- thousandsSeparator: ",",
117
- decimalPlaces: 0,
118
- prefix: "",
119
- suffix: "",
120
- defaultValue: '0'
121
- },
122
- date : {
123
- dayNames: [
124
- "\u65e5", "\u6708", "\u706b", "\u6c34", "\u6728", "\u91d1", "\u571f",
125
- "\u65e5", "\u6708", "\u706b", "\u6c34", "\u6728", "\u91d1", "\u571f"
126
- ],
127
- monthNames: [
128
- "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12",
129
- "1\u6708", "2\u6708", "3\u6708", "4\u6708", "5\u6708", "6\u6708", "7\u6708", "8\u6708", "9\u6708", "10\u6708", "11\u6708", "12\u6708"
130
- ],
131
- AmPm : ["am","pm","AM","PM"],
132
- S: function (j) { return "\u756a\u76ee"; },
133
- srcformat: 'Y-m-d',
134
- newformat: 'd/m/Y',
135
- parseRe : /[#%\\\/:_;.,\t\s-]/,
136
- masks : {
137
- ISO8601Long:"Y-m-d H:i:s",
138
- ISO8601Short:"Y-m-d",
139
- ShortDate: "n/j/Y",
140
- LongDate: "l, F d, Y",
141
- FullDateTime: "l, F d, Y g:i:s A",
142
- MonthDay: "F d",
143
- ShortTime: "g:i A",
144
- LongTime: "g:i:s A",
145
- SortableDateTime: "Y-m-d\\TH:i:s",
146
- UniversalSortableDateTime: "Y-m-d H:i:sO",
147
- YearMonth: "F, Y"
148
- },
149
- reformatAfterEdit : false
150
- },
151
- baseLinkUrl: '',
152
- showAction: '',
153
- target: '',
154
- checkbox : {disabled:true},
155
- idName : 'id'
156
- }
157
- });
158
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Japanese Translation
4
+ * OKADA Yoshitada okada.dev@sth.jp
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "{2} \u4EF6\u4E2D {0} - {1} \u3092\u8868\u793A ",
14
+ emptyrecords: "\u8868\u793A\u3059\u308B\u30EC\u30B3\u30FC\u30C9\u304C\u3042\u308A\u307E\u305B\u3093",
15
+ loadtext: "\u8aad\u307f\u8fbc\u307f\u4e2d...",
16
+ pgtext : "{1} \u30DA\u30FC\u30B8\u4E2D {0} \u30DA\u30FC\u30B8\u76EE "
17
+ },
18
+ search : {
19
+ caption: "\u691c\u7d22...",
20
+ Find: "\u691c\u7d22",
21
+ Reset: "\u30ea\u30bb\u30c3\u30c8",
22
+ odata: [{ oper:'eq', text:"\u6B21\u306B\u7B49\u3057\u3044"}, { oper:'ne', text:"\u6B21\u306B\u7B49\u3057\u304F\u306A\u3044"},
23
+ { oper:'lt', text:"\u6B21\u3088\u308A\u5C0F\u3055\u3044"}, { oper:'le', text:"\u6B21\u306B\u7B49\u3057\u3044\u304B\u5C0F\u3055\u3044"},
24
+ { oper:'gt', text:"\u6B21\u3088\u308A\u5927\u304D\u3044"}, { oper:'ge', text:"\u6B21\u306B\u7B49\u3057\u3044\u304B\u5927\u304D\u3044"},
25
+ { oper:'bw', text:"\u6B21\u3067\u59CB\u307E\u308B"}, { oper:'bn', text:"\u6B21\u3067\u59CB\u307E\u3089\u306A\u3044"},
26
+ { oper:'in', text:"\u6B21\u306B\u542B\u307E\u308C\u308B"}, { oper:'ni', text:"\u6B21\u306B\u542B\u307E\u308C\u306A\u3044"},
27
+ { oper:'ew', text:"\u6B21\u3067\u7D42\u308F\u308B"}, { oper:'en', text:"\u6B21\u3067\u7D42\u308F\u3089\u306A\u3044"},
28
+ { oper:'cn', text:"\u6B21\u3092\u542B\u3080"}, { oper:'nc', text:"\u6B21\u3092\u542B\u307E\u306A\u3044"},
29
+ { oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
30
+ groupOps: [{
31
+ op: "AND",
32
+ text: "\u3059\u3079\u3066\u306E"
33
+ },
34
+ {
35
+ op: "OR",
36
+ text: "\u3044\u305A\u308C\u304B\u306E"
37
+ }],
38
+ operandTitle : "Click to select search operation.",
39
+ resetTitle : "Reset Search Value"
40
+ },
41
+ edit : {
42
+ addCaption: "\u30ec\u30b3\u30fc\u30c9\u8ffd\u52a0",
43
+ editCaption: "\u30ec\u30b3\u30fc\u30c9\u7de8\u96c6",
44
+ bSubmit: "\u9001\u4fe1",
45
+ bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb",
46
+ bClose: "\u9589\u3058\u308b",
47
+ saveData: "\u30C7\u30FC\u30BF\u304C\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u4FDD\u5B58\u3057\u307E\u3059\u304B\uFF1F",
48
+ bYes: "\u306F\u3044",
49
+ bNo: "\u3044\u3044\u3048",
50
+ bExit: "\u30AD\u30E3\u30F3\u30BB\u30EB",
51
+ msg: {
52
+ required:"\u3053\u306e\u9805\u76ee\u306f\u5fc5\u9808\u3067\u3059\u3002",
53
+ number:"\u6b63\u3057\u3044\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
54
+ minValue:"\u6b21\u306e\u5024\u4ee5\u4e0a\u3067\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
55
+ maxValue:"\u6b21\u306e\u5024\u4ee5\u4e0b\u3067\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
56
+ email: "e-mail\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002",
57
+ integer: "\u6b63\u3057\u3044\u6574\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
58
+ date: "\u6b63\u3057\u3044\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
59
+ url: "\u306F\u6709\u52B9\u306AURL\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\20\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u304C\u5FC5\u8981\u3067\u3059\u3002 ('http://' \u307E\u305F\u306F 'https://')",
60
+ nodefined: " \u304C\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u305B\u3093",
61
+ novalue: " \u623B\u308A\u5024\u304C\u5FC5\u8981\u3067\u3059",
62
+ customarray: "\u30AB\u30B9\u30BF\u30E0\u95A2\u6570\u306F\u914D\u5217\u3092\u8FD4\u3059\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
63
+ customfcheck: "\u30AB\u30B9\u30BF\u30E0\u691C\u8A3C\u306B\u306F\u30AB\u30B9\u30BF\u30E0\u95A2\u6570\u304C\u5FC5\u8981\u3067\u3059"
64
+ }
65
+ },
66
+ view : {
67
+ caption: "\u30EC\u30B3\u30FC\u30C9\u3092\u8868\u793A",
68
+ bClose: "\u9589\u3058\u308B"
69
+ },
70
+ del : {
71
+ caption: "\u524a\u9664",
72
+ msg: "\u9078\u629e\u3057\u305f\u30ec\u30b3\u30fc\u30c9\u3092\u524a\u9664\u3057\u307e\u3059\u304b\uff1f",
73
+ bSubmit: "\u524a\u9664",
74
+ bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb"
75
+ },
76
+ nav : {
77
+ edittext: " ",
78
+ edittitle: "\u9078\u629e\u3057\u305f\u884c\u3092\u7de8\u96c6",
79
+ addtext:" ",
80
+ addtitle: "\u884c\u3092\u65b0\u898f\u8ffd\u52a0",
81
+ deltext: " ",
82
+ deltitle: "\u9078\u629e\u3057\u305f\u884c\u3092\u524a\u9664",
83
+ searchtext: " ",
84
+ searchtitle: "\u30ec\u30b3\u30fc\u30c9\u691c\u7d22",
85
+ refreshtext: "",
86
+ refreshtitle: "\u30b0\u30ea\u30c3\u30c9\u3092\u30ea\u30ed\u30fc\u30c9",
87
+ alertcap: "\u8b66\u544a",
88
+ alerttext: "\u884c\u3092\u9078\u629e\u3057\u3066\u4e0b\u3055\u3044\u3002",
89
+ viewtext: "",
90
+ viewtitle: "\u9078\u629E\u3057\u305F\u884C\u3092\u8868\u793A"
91
+ },
92
+ col : {
93
+ caption: "\u5217\u3092\u8868\u793a\uff0f\u96a0\u3059",
94
+ bSubmit: "\u9001\u4fe1",
95
+ bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb"
96
+ },
97
+ errors : {
98
+ errcap : "\u30a8\u30e9\u30fc",
99
+ nourl : "URL\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002",
100
+ norecords: "\u51e6\u7406\u5bfe\u8c61\u306e\u30ec\u30b3\u30fc\u30c9\u304c\u3042\u308a\u307e\u305b\u3093\u3002",
101
+ model : "colNames\u306e\u9577\u3055\u304ccolModel\u3068\u4e00\u81f4\u3057\u307e\u305b\u3093\u3002"
102
+ },
103
+ formatter : {
104
+ integer: {
105
+ thousandsSeparator: ",",
106
+ defaultValue: '0'
107
+ },
108
+ number: {
109
+ decimalSeparator: ".",
110
+ thousandsSeparator: ",",
111
+ decimalPlaces: 2,
112
+ defaultValue: '0.00'
113
+ },
114
+ currency: {
115
+ decimalSeparator: ".",
116
+ thousandsSeparator: ",",
117
+ decimalPlaces: 0,
118
+ prefix: "",
119
+ suffix: "",
120
+ defaultValue: '0'
121
+ },
122
+ date : {
123
+ dayNames: [
124
+ "\u65e5", "\u6708", "\u706b", "\u6c34", "\u6728", "\u91d1", "\u571f",
125
+ "\u65e5", "\u6708", "\u706b", "\u6c34", "\u6728", "\u91d1", "\u571f"
126
+ ],
127
+ monthNames: [
128
+ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12",
129
+ "1\u6708", "2\u6708", "3\u6708", "4\u6708", "5\u6708", "6\u6708", "7\u6708", "8\u6708", "9\u6708", "10\u6708", "11\u6708", "12\u6708"
130
+ ],
131
+ AmPm : ["am","pm","AM","PM"],
132
+ S: function (j) { return "\u756a\u76ee"; },
133
+ srcformat: 'Y-m-d',
134
+ newformat: 'd/m/Y',
135
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
136
+ masks : {
137
+ ISO8601Long:"Y-m-d H:i:s",
138
+ ISO8601Short:"Y-m-d",
139
+ ShortDate: "n/j/Y",
140
+ LongDate: "l, F d, Y",
141
+ FullDateTime: "l, F d, Y g:i:s A",
142
+ MonthDay: "F d",
143
+ ShortTime: "g:i A",
144
+ LongTime: "g:i:s A",
145
+ SortableDateTime: "Y-m-d\\TH:i:s",
146
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
147
+ YearMonth: "F, Y"
148
+ },
149
+ reformatAfterEdit : false
150
+ },
151
+ baseLinkUrl: '',
152
+ showAction: '',
153
+ target: '',
154
+ checkbox : {disabled:true},
155
+ idName : 'id'
156
+ }
157
+ });
158
+ })(jQuery);
app/assets/js/i18n/grid.locale-kr.js CHANGED
@@ -1,130 +1,130 @@
1
- ;(function($){
2
- /**
3
- * jqGrid English Translation
4
- * Tony Tomov tony@trirand.com
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "보기 {0} - {1} / {2}",
14
- emptyrecords: "표시할 행이 없습니다",
15
- loadtext: "조회중...",
16
- pgtext : "페이지 {0} / {1}"
17
- },
18
- search : {
19
- caption: "검색...",
20
- Find: "찾기",
21
- Reset: "초기화",
22
- odata: [{ oper:'eq', text:"같다"},{ oper:'ne', text:"같지 않다"},{ oper:'lt', text:"작다"},{ oper:'le', text:"작거나 같다"},{ oper:'gt', text:"크다"},{ oper:'ge', text:"크거나 같다"},{ oper:'bw', text:"로 시작한다"},{ oper:'bn', text:"로 시작하지 않는다"},{ oper:'in', text:"내에 있다"},{ oper:'ni', text:"내에 있지 않다"},{ oper:'ew', text:"로 끝난다"},{ oper:'en', text:"로 끝나지 않는다"},{ oper:'cn', text:"내에 존재한다"},{ oper:'nc', text:"내에 존재하지 않는다"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "전부" }, { op: "OR", text: "임의" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "행 추가",
29
- editCaption: "행 수정",
30
- bSubmit: "전송",
31
- bCancel: "취소",
32
- bClose: "닫기",
33
- saveData: "자료가 변경되었습니다! 저장하시겠습니까?",
34
- bYes : "예",
35
- bNo : "아니오",
36
- bExit : "취소",
37
- msg: {
38
- required:"필수항목입니다",
39
- number:"유효한 번호를 입력해 주세요",
40
- minValue:"입력값은 크거나 같아야 합니다",
41
- maxValue:"입력값은 작거나 같아야 합니다",
42
- email: "유효하지 않은 이메일주소입니다",
43
- integer: "유효한 숫자를 입력하세요",
44
- date: "유효한 날짜를 입력하세요",
45
- url: "은 유효하지 않은 URL입니다. 문장앞에 다음단어가 필요합니다('http://' or 'https://')",
46
- nodefined : " 은 정의도지 않았습니다!",
47
- novalue : " 반환값이 필요합니다!",
48
- customarray : "사용자정의 함수는 배열을 반환해야 합니다!",
49
- customfcheck : "Custom function should be present in case of custom checking!"
50
-
51
- }
52
- },
53
- view : {
54
- caption: "행 조회",
55
- bClose: "닫기"
56
- },
57
- del : {
58
- caption: "삭제",
59
- msg: "선택된 행을 삭제하시겠습니까?",
60
- bSubmit: "삭제",
61
- bCancel: "취소"
62
- },
63
- nav : {
64
- edittext: "",
65
- edittitle: "선택된 행 편집",
66
- addtext:"",
67
- addtitle: "행 삽입",
68
- deltext: "",
69
- deltitle: "선택된 행 삭제",
70
- searchtext: "",
71
- searchtitle: "행 찾기",
72
- refreshtext: "",
73
- refreshtitle: "그리드 갱신",
74
- alertcap: "경고",
75
- alerttext: "행을 선택하세요",
76
- viewtext: "",
77
- viewtitle: "선택된 행 조회"
78
- },
79
- col : {
80
- caption: "열을 선택하세요",
81
- bSubmit: "확인",
82
- bCancel: "취소"
83
- },
84
- errors : {
85
- errcap : "오류",
86
- nourl : "설정된 url이 없습니다",
87
- norecords: "처리할 행이 없습니다",
88
- model : "colNames의 길이가 colModel과 일치하지 않습니다!"
89
- },
90
- formatter : {
91
- integer : {thousandsSeparator: ",", defaultValue: '0'},
92
- number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
93
- currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
- date : {
95
- dayNames: [
96
- "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
97
- "일", "월", "화", "수", "목", "금", "토"
98
- ],
99
- monthNames: [
100
- "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
101
- "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"
102
- ],
103
- AmPm : ["am","pm","AM","PM"],
104
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
- srcformat: 'Y-m-d',
106
- newformat: 'm-d-Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks : {
109
- ISO8601Long:"Y-m-d H:i:s",
110
- ISO8601Short:"Y-m-d",
111
- ShortDate: "Y/j/n",
112
- LongDate: "l, F d, Y",
113
- FullDateTime: "l, F d, Y g:i:s A",
114
- MonthDay: "F d",
115
- ShortTime: "g:i A",
116
- LongTime: "g:i:s A",
117
- SortableDateTime: "Y-m-d\\TH:i:s",
118
- UniversalSortableDateTime: "Y-m-d H:i:sO",
119
- YearMonth: "F, Y"
120
- },
121
- reformatAfterEdit : false
122
- },
123
- baseLinkUrl: '',
124
- showAction: '',
125
- target: '',
126
- checkbox : {disabled:true},
127
- idName : 'id'
128
- }
129
- });
130
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid English Translation
4
+ * Tony Tomov tony@trirand.com
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "보기 {0} - {1} / {2}",
14
+ emptyrecords: "표시할 행이 없습니다",
15
+ loadtext: "조회중...",
16
+ pgtext : "페이지 {0} / {1}"
17
+ },
18
+ search : {
19
+ caption: "검색...",
20
+ Find: "찾기",
21
+ Reset: "초기화",
22
+ odata: [{ oper:'eq', text:"같다"},{ oper:'ne', text:"같지 않다"},{ oper:'lt', text:"작다"},{ oper:'le', text:"작거나 같다"},{ oper:'gt', text:"크다"},{ oper:'ge', text:"크거나 같다"},{ oper:'bw', text:"로 시작한다"},{ oper:'bn', text:"로 시작하지 않는다"},{ oper:'in', text:"내에 있다"},{ oper:'ni', text:"내에 있지 않다"},{ oper:'ew', text:"로 끝난다"},{ oper:'en', text:"로 끝나지 않는다"},{ oper:'cn', text:"내에 존재한다"},{ oper:'nc', text:"내에 존재하지 않는다"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "전부" }, { op: "OR", text: "임의" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "행 추가",
29
+ editCaption: "행 수정",
30
+ bSubmit: "전송",
31
+ bCancel: "취소",
32
+ bClose: "닫기",
33
+ saveData: "자료가 변경되었습니다! 저장하시겠습니까?",
34
+ bYes : "예",
35
+ bNo : "아니오",
36
+ bExit : "취소",
37
+ msg: {
38
+ required:"필수항목입니다",
39
+ number:"유효한 번호를 입력해 주세요",
40
+ minValue:"입력값은 크거나 같아야 합니다",
41
+ maxValue:"입력값은 작거나 같아야 합니다",
42
+ email: "유효하지 않은 이메일주소입니다",
43
+ integer: "유효한 숫자를 입력하세요",
44
+ date: "유효한 날짜를 입력하세요",
45
+ url: "은 유효하지 않은 URL입니다. 문장앞에 다음단어가 필요합니다('http://' or 'https://')",
46
+ nodefined : " 은 정의도지 않았습니다!",
47
+ novalue : " 반환값이 필요합니다!",
48
+ customarray : "사용자정의 함수는 배열을 반환해야 합니다!",
49
+ customfcheck : "Custom function should be present in case of custom checking!"
50
+
51
+ }
52
+ },
53
+ view : {
54
+ caption: "행 조회",
55
+ bClose: "닫기"
56
+ },
57
+ del : {
58
+ caption: "삭제",
59
+ msg: "선택된 행을 삭제하시겠습니까?",
60
+ bSubmit: "삭제",
61
+ bCancel: "취소"
62
+ },
63
+ nav : {
64
+ edittext: "",
65
+ edittitle: "선택된 행 편집",
66
+ addtext:"",
67
+ addtitle: "행 삽입",
68
+ deltext: "",
69
+ deltitle: "선택된 행 삭제",
70
+ searchtext: "",
71
+ searchtitle: "행 찾기",
72
+ refreshtext: "",
73
+ refreshtitle: "그리드 갱신",
74
+ alertcap: "경고",
75
+ alerttext: "행을 선택하세요",
76
+ viewtext: "",
77
+ viewtitle: "선택된 행 조회"
78
+ },
79
+ col : {
80
+ caption: "열을 선택하세요",
81
+ bSubmit: "확인",
82
+ bCancel: "취소"
83
+ },
84
+ errors : {
85
+ errcap : "오류",
86
+ nourl : "설정된 url이 없습니다",
87
+ norecords: "처리할 행이 없습니다",
88
+ model : "colNames의 길이가 colModel과 일치하지 않습니다!"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: ",", defaultValue: '0'},
92
+ number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
93
+ currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
+ date : {
95
+ dayNames: [
96
+ "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
97
+ "일", "월", "화", "수", "목", "금", "토"
98
+ ],
99
+ monthNames: [
100
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
101
+ "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'm-d-Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ ISO8601Long:"Y-m-d H:i:s",
110
+ ISO8601Short:"Y-m-d",
111
+ ShortDate: "Y/j/n",
112
+ LongDate: "l, F d, Y",
113
+ FullDateTime: "l, F d, Y g:i:s A",
114
+ MonthDay: "F d",
115
+ ShortTime: "g:i A",
116
+ LongTime: "g:i:s A",
117
+ SortableDateTime: "Y-m-d\\TH:i:s",
118
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
119
+ YearMonth: "F, Y"
120
+ },
121
+ reformatAfterEdit : false
122
+ },
123
+ baseLinkUrl: '',
124
+ showAction: '',
125
+ target: '',
126
+ checkbox : {disabled:true},
127
+ idName : 'id'
128
+ }
129
+ });
130
+ })(jQuery);
app/assets/js/i18n/grid.locale-lt.js CHANGED
@@ -1,130 +1,130 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Lithuanian Translation
4
- * aur1mas aur1mas@devnet.lt
5
- * http://aur1mas.devnet.lt
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Peržiūrima {0} - {1} iš {2}",
14
- emptyrecords: "Įrašų nėra",
15
- loadtext: "Kraunama...",
16
- pgtext : "Puslapis {0} iš {1}"
17
- },
18
- search : {
19
- caption: "Paieška...",
20
- Find: "Ieškoti",
21
- Reset: "Atstatyti",
22
- odata: [{ oper:'eq', text:"lygu"},{ oper:'ne', text:"nelygu"},{ oper:'lt', text:"mažiau"},{ oper:'le', text:"mažiau arba lygu"},{ oper:'gt', text:"daugiau"},{ oper:'ge', text:"daugiau arba lygu"},{ oper:'bw', text:"prasideda"},{ oper:'bn', text:"neprasideda"},{ oper:'in', text:"reikšmė yra"},{ oper:'ni', text:"reikšmės nėra"},{ oper:'ew', text:"baigiasi"},{ oper:'en', text:"nesibaigia"},{ oper:'cn', text:"yra sudarytas"},{ oper:'nc', text:"nėra sudarytas"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "visi" }, { op: "OR", text: "bet kuris" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Sukurti įrašą",
29
- editCaption: "Redaguoti įrašą",
30
- bSubmit: "Išsaugoti",
31
- bCancel: "Atšaukti",
32
- bClose: "Uždaryti",
33
- saveData: "Duomenys buvo pakeisti! Išsaugoti pakeitimus?",
34
- bYes : "Taip",
35
- bNo : "Ne",
36
- bExit : "Atšaukti",
37
- msg: {
38
- required:"Privalomas laukas",
39
- number:"Įveskite tinkamą numerį",
40
- minValue:"reikšmė turi būti didesnė arba lygi ",
41
- maxValue:"reikšmė turi būti mažesnė arba lygi",
42
- email: "neteisingas el. pašto adresas",
43
- integer: "Įveskite teisingą sveikąjį skaičių",
44
- date: "Įveskite teisingą datą",
45
- url: "blogas adresas. Nepamirškite pridėti ('http://' arba 'https://')",
46
- nodefined : " nėra apibrėžta!",
47
- novalue : " turi būti gražinama kokia nors reikšmė!",
48
- customarray : "Custom f-ja turi grąžinti masyvą!",
49
- customfcheck : "Custom f-ja tūrėtų būti sukurta, prieš bandant ją naudoti!"
50
-
51
- }
52
- },
53
- view : {
54
- caption: "Peržiūrėti įrašus",
55
- bClose: "Uždaryti"
56
- },
57
- del : {
58
- caption: "Ištrinti",
59
- msg: "Ištrinti pažymėtus įrašus(-ą)?",
60
- bSubmit: "Ištrinti",
61
- bCancel: "Atšaukti"
62
- },
63
- nav : {
64
- edittext: "",
65
- edittitle: "Redaguoti pažymėtą eilutę",
66
- addtext:"",
67
- addtitle: "Pridėti naują eilutę",
68
- deltext: "",
69
- deltitle: "Ištrinti pažymėtą eilutę",
70
- searchtext: "",
71
- searchtitle: "Rasti įrašus",
72
- refreshtext: "",
73
- refreshtitle: "Perkrauti lentelę",
74
- alertcap: "Įspėjimas",
75
- alerttext: "Pasirinkite eilutę",
76
- viewtext: "",
77
- viewtitle: "Peržiūrėti pasirinktą eilutę"
78
- },
79
- col : {
80
- caption: "Pasirinkti stulpelius",
81
- bSubmit: "Gerai",
82
- bCancel: "Atšaukti"
83
- },
84
- errors : {
85
- errcap : "Klaida",
86
- nourl : "Url reikšmė turi būti perduota",
87
- norecords: "Nėra įrašų, kuriuos būtų galima apdoroti",
88
- model : "colNames skaičius <> colModel skaičiui!"
89
- },
90
- formatter : {
91
- integer : {thousandsSeparator: "", defaultValue: '0'},
92
- number : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0.00'},
93
- currency : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
- date : {
95
- dayNames: [
96
- "Sek", "Pir", "Ant", "Tre", "Ket", "Pen", "Šeš",
97
- "Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis"
98
- ],
99
- monthNames: [
100
- "Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugj", "Rugs", "Spa", "Lap", "Gru",
101
- "Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"
102
- ],
103
- AmPm : ["am","pm","AM","PM"],
104
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
- srcformat: 'Y-m-d',
106
- newformat: 'd/m/Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks : {
109
- ISO8601Long:"Y-m-d H:i:s",
110
- ISO8601Short:"Y-m-d",
111
- ShortDate: "n/j/Y",
112
- LongDate: "l, F d, Y",
113
- FullDateTime: "l, F d, Y g:i:s A",
114
- MonthDay: "F d",
115
- ShortTime: "g:i A",
116
- LongTime: "g:i:s A",
117
- SortableDateTime: "Y-m-d\\TH:i:s",
118
- UniversalSortableDateTime: "Y-m-d H:i:sO",
119
- YearMonth: "F, Y"
120
- },
121
- reformatAfterEdit : false
122
- },
123
- baseLinkUrl: '',
124
- showAction: '',
125
- target: '',
126
- checkbox : {disabled:true},
127
- idName : 'id'
128
- }
129
- });
130
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Lithuanian Translation
4
+ * aur1mas aur1mas@devnet.lt
5
+ * http://aur1mas.devnet.lt
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Peržiūrima {0} - {1} iš {2}",
14
+ emptyrecords: "Įrašų nėra",
15
+ loadtext: "Kraunama...",
16
+ pgtext : "Puslapis {0} iš {1}"
17
+ },
18
+ search : {
19
+ caption: "Paieška...",
20
+ Find: "Ieškoti",
21
+ Reset: "Atstatyti",
22
+ odata: [{ oper:'eq', text:"lygu"},{ oper:'ne', text:"nelygu"},{ oper:'lt', text:"mažiau"},{ oper:'le', text:"mažiau arba lygu"},{ oper:'gt', text:"daugiau"},{ oper:'ge', text:"daugiau arba lygu"},{ oper:'bw', text:"prasideda"},{ oper:'bn', text:"neprasideda"},{ oper:'in', text:"reikšmė yra"},{ oper:'ni', text:"reikšmės nėra"},{ oper:'ew', text:"baigiasi"},{ oper:'en', text:"nesibaigia"},{ oper:'cn', text:"yra sudarytas"},{ oper:'nc', text:"nėra sudarytas"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "visi" }, { op: "OR", text: "bet kuris" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Sukurti įrašą",
29
+ editCaption: "Redaguoti įrašą",
30
+ bSubmit: "Išsaugoti",
31
+ bCancel: "Atšaukti",
32
+ bClose: "Uždaryti",
33
+ saveData: "Duomenys buvo pakeisti! Išsaugoti pakeitimus?",
34
+ bYes : "Taip",
35
+ bNo : "Ne",
36
+ bExit : "Atšaukti",
37
+ msg: {
38
+ required:"Privalomas laukas",
39
+ number:"Įveskite tinkamą numerį",
40
+ minValue:"reikšmė turi būti didesnė arba lygi ",
41
+ maxValue:"reikšmė turi būti mažesnė arba lygi",
42
+ email: "neteisingas el. pašto adresas",
43
+ integer: "Įveskite teisingą sveikąjį skaičių",
44
+ date: "Įveskite teisingą datą",
45
+ url: "blogas adresas. Nepamirškite pridėti ('http://' arba 'https://')",
46
+ nodefined : " nėra apibrėžta!",
47
+ novalue : " turi būti gražinama kokia nors reikšmė!",
48
+ customarray : "Custom f-ja turi grąžinti masyvą!",
49
+ customfcheck : "Custom f-ja tūrėtų būti sukurta, prieš bandant ją naudoti!"
50
+
51
+ }
52
+ },
53
+ view : {
54
+ caption: "Peržiūrėti įrašus",
55
+ bClose: "Uždaryti"
56
+ },
57
+ del : {
58
+ caption: "Ištrinti",
59
+ msg: "Ištrinti pažymėtus įrašus(-ą)?",
60
+ bSubmit: "Ištrinti",
61
+ bCancel: "Atšaukti"
62
+ },
63
+ nav : {
64
+ edittext: "",
65
+ edittitle: "Redaguoti pažymėtą eilutę",
66
+ addtext:"",
67
+ addtitle: "Pridėti naują eilutę",
68
+ deltext: "",
69
+ deltitle: "Ištrinti pažymėtą eilutę",
70
+ searchtext: "",
71
+ searchtitle: "Rasti įrašus",
72
+ refreshtext: "",
73
+ refreshtitle: "Perkrauti lentelę",
74
+ alertcap: "Įspėjimas",
75
+ alerttext: "Pasirinkite eilutę",
76
+ viewtext: "",
77
+ viewtitle: "Peržiūrėti pasirinktą eilutę"
78
+ },
79
+ col : {
80
+ caption: "Pasirinkti stulpelius",
81
+ bSubmit: "Gerai",
82
+ bCancel: "Atšaukti"
83
+ },
84
+ errors : {
85
+ errcap : "Klaida",
86
+ nourl : "Url reikšmė turi būti perduota",
87
+ norecords: "Nėra įrašų, kuriuos būtų galima apdoroti",
88
+ model : "colNames skaičius <> colModel skaičiui!"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: "", defaultValue: '0'},
92
+ number : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0.00'},
93
+ currency : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
+ date : {
95
+ dayNames: [
96
+ "Sek", "Pir", "Ant", "Tre", "Ket", "Pen", "Šeš",
97
+ "Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis"
98
+ ],
99
+ monthNames: [
100
+ "Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugj", "Rugs", "Spa", "Lap", "Gru",
101
+ "Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'd/m/Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ ISO8601Long:"Y-m-d H:i:s",
110
+ ISO8601Short:"Y-m-d",
111
+ ShortDate: "n/j/Y",
112
+ LongDate: "l, F d, Y",
113
+ FullDateTime: "l, F d, Y g:i:s A",
114
+ MonthDay: "F d",
115
+ ShortTime: "g:i A",
116
+ LongTime: "g:i:s A",
117
+ SortableDateTime: "Y-m-d\\TH:i:s",
118
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
119
+ YearMonth: "F, Y"
120
+ },
121
+ reformatAfterEdit : false
122
+ },
123
+ baseLinkUrl: '',
124
+ showAction: '',
125
+ target: '',
126
+ checkbox : {disabled:true},
127
+ idName : 'id'
128
+ }
129
+ });
130
+ })(jQuery);
app/assets/js/i18n/grid.locale-mne.js CHANGED
@@ -1,130 +1,130 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Montenegrian Translation
4
- * Bild Studio info@bild-studio.net
5
- * http://www.bild-studio.com
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Pregled {0} - {1} od {2}",
14
- emptyrecords: "Ne postoji nijedan zapis",
15
- loadtext: "Učitivanje...",
16
- pgtext : "Strana {0} od {1}"
17
- },
18
- search : {
19
- caption: "Traženje...",
20
- Find: "Traži",
21
- Reset: "Resetuj",
22
- odata: [{ oper:'eq', text:"jednako"},{ oper:'ne', text:"nije jednako"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili jednako"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili jednako"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa"},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "sva" }, { op: "OR", text: "bilo koje" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Dodaj zapis",
29
- editCaption: "Izmjeni zapis",
30
- bSubmit: "Pošalji",
31
- bCancel: "Odustani",
32
- bClose: "Zatvori",
33
- saveData: "Podatak je izmjenjen! Sačuvaj izmjene?",
34
- bYes : "Da",
35
- bNo : "Ne",
36
- bExit : "Odustani",
37
- msg: {
38
- required:"Polje je obavezno",
39
- number:"Unesite ispravan broj",
40
- minValue:"vrijednost mora biti veća od ili jednaka sa ",
41
- maxValue:"vrijednost mora biti manja ili jednaka sa",
42
- email: "nije ispravna email adresa, nije valjda da ne umiješ ukucati mail!?",
43
- integer: "Ne zajebaji se unesi cjelobrojnu vrijednost ",
44
- date: "Unesite ispravan datum",
45
- url: "nije ispravan URL. Potreban je prefiks ('http://' or 'https://')",
46
- nodefined : " nije definisan!",
47
- novalue : " zahtjevana je povratna vrijednost!",
48
- customarray : "Prilagođena funkcija treba da vrati niz!",
49
- customfcheck : "Prilagođena funkcija treba da bude prisutana u slučaju prilagođene provjere!"
50
-
51
- }
52
- },
53
- view : {
54
- caption: "Pogledaj zapis",
55
- bClose: "Zatvori"
56
- },
57
- del : {
58
- caption: "Izbrisi",
59
- msg: "Izbrisi izabran(e) zapise(e)?",
60
- bSubmit: "Izbriši",
61
- bCancel: "Odbaci"
62
- },
63
- nav : {
64
- edittext: "",
65
- edittitle: "Izmjeni izabrani red",
66
- addtext:"",
67
- addtitle: "Dodaj novi red",
68
- deltext: "",
69
- deltitle: "Izbriši izabran red",
70
- searchtext: "",
71
- searchtitle: "Nađi zapise",
72
- refreshtext: "",
73
- refreshtitle: "Ponovo učitaj podatke",
74
- alertcap: "Upozorenje",
75
- alerttext: "Izaberite red",
76
- viewtext: "",
77
- viewtitle: "Pogledaj izabrani red"
78
- },
79
- col : {
80
- caption: "Izaberi kolone",
81
- bSubmit: "OK",
82
- bCancel: "Odbaci"
83
- },
84
- errors : {
85
- errcap : "Greška",
86
- nourl : "Nije postavljen URL",
87
- norecords: "Nema zapisa za obradu",
88
- model : "Dužina modela colNames <> colModel!"
89
- },
90
- formatter : {
91
- integer : {thousandsSeparator: " ", defaultValue: '0'},
92
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
- date : {
95
- dayNames: [
96
- "Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub",
97
- "Nedelja", "Ponedeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
98
- ],
99
- monthNames: [
100
- "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec",
101
- "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
102
- ],
103
- AmPm : ["am","pm","AM","PM"],
104
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
- srcformat: 'Y-m-d',
106
- newformat: 'd/m/Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks : {
109
- ISO8601Long:"Y-m-d H:i:s",
110
- ISO8601Short:"Y-m-d",
111
- ShortDate: "n/j/Y",
112
- LongDate: "l, F d, Y",
113
- FullDateTime: "l, F d, Y g:i:s A",
114
- MonthDay: "F d",
115
- ShortTime: "g:i A",
116
- LongTime: "g:i:s A",
117
- SortableDateTime: "Y-m-d\\TH:i:s",
118
- UniversalSortableDateTime: "Y-m-d H:i:sO",
119
- YearMonth: "F, Y"
120
- },
121
- reformatAfterEdit : false
122
- },
123
- baseLinkUrl: '',
124
- showAction: '',
125
- target: '',
126
- checkbox : {disabled:true},
127
- idName : 'id'
128
- }
129
- });
130
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Montenegrian Translation
4
+ * Bild Studio info@bild-studio.net
5
+ * http://www.bild-studio.com
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Pregled {0} - {1} od {2}",
14
+ emptyrecords: "Ne postoji nijedan zapis",
15
+ loadtext: "Učitivanje...",
16
+ pgtext : "Strana {0} od {1}"
17
+ },
18
+ search : {
19
+ caption: "Traženje...",
20
+ Find: "Traži",
21
+ Reset: "Resetuj",
22
+ odata: [{ oper:'eq', text:"jednako"},{ oper:'ne', text:"nije jednako"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili jednako"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili jednako"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa"},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "sva" }, { op: "OR", text: "bilo koje" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Dodaj zapis",
29
+ editCaption: "Izmjeni zapis",
30
+ bSubmit: "Pošalji",
31
+ bCancel: "Odustani",
32
+ bClose: "Zatvori",
33
+ saveData: "Podatak je izmjenjen! Sačuvaj izmjene?",
34
+ bYes : "Da",
35
+ bNo : "Ne",
36
+ bExit : "Odustani",
37
+ msg: {
38
+ required:"Polje je obavezno",
39
+ number:"Unesite ispravan broj",
40
+ minValue:"vrijednost mora biti veća od ili jednaka sa ",
41
+ maxValue:"vrijednost mora biti manja ili jednaka sa",
42
+ email: "nije ispravna email adresa, nije valjda da ne umiješ ukucati mail!?",
43
+ integer: "Ne zajebaji se unesi cjelobrojnu vrijednost ",
44
+ date: "Unesite ispravan datum",
45
+ url: "nije ispravan URL. Potreban je prefiks ('http://' or 'https://')",
46
+ nodefined : " nije definisan!",
47
+ novalue : " zahtjevana je povratna vrijednost!",
48
+ customarray : "Prilagođena funkcija treba da vrati niz!",
49
+ customfcheck : "Prilagođena funkcija treba da bude prisutana u slučaju prilagođene provjere!"
50
+
51
+ }
52
+ },
53
+ view : {
54
+ caption: "Pogledaj zapis",
55
+ bClose: "Zatvori"
56
+ },
57
+ del : {
58
+ caption: "Izbrisi",
59
+ msg: "Izbrisi izabran(e) zapise(e)?",
60
+ bSubmit: "Izbriši",
61
+ bCancel: "Odbaci"
62
+ },
63
+ nav : {
64
+ edittext: "",
65
+ edittitle: "Izmjeni izabrani red",
66
+ addtext:"",
67
+ addtitle: "Dodaj novi red",
68
+ deltext: "",
69
+ deltitle: "Izbriši izabran red",
70
+ searchtext: "",
71
+ searchtitle: "Nađi zapise",
72
+ refreshtext: "",
73
+ refreshtitle: "Ponovo učitaj podatke",
74
+ alertcap: "Upozorenje",
75
+ alerttext: "Izaberite red",
76
+ viewtext: "",
77
+ viewtitle: "Pogledaj izabrani red"
78
+ },
79
+ col : {
80
+ caption: "Izaberi kolone",
81
+ bSubmit: "OK",
82
+ bCancel: "Odbaci"
83
+ },
84
+ errors : {
85
+ errcap : "Greška",
86
+ nourl : "Nije postavljen URL",
87
+ norecords: "Nema zapisa za obradu",
88
+ model : "Dužina modela colNames <> colModel!"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
92
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
+ date : {
95
+ dayNames: [
96
+ "Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub",
97
+ "Nedelja", "Ponedeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
98
+ ],
99
+ monthNames: [
100
+ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec",
101
+ "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'd/m/Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ ISO8601Long:"Y-m-d H:i:s",
110
+ ISO8601Short:"Y-m-d",
111
+ ShortDate: "n/j/Y",
112
+ LongDate: "l, F d, Y",
113
+ FullDateTime: "l, F d, Y g:i:s A",
114
+ MonthDay: "F d",
115
+ ShortTime: "g:i A",
116
+ LongTime: "g:i:s A",
117
+ SortableDateTime: "Y-m-d\\TH:i:s",
118
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
119
+ YearMonth: "F, Y"
120
+ },
121
+ reformatAfterEdit : false
122
+ },
123
+ baseLinkUrl: '',
124
+ showAction: '',
125
+ target: '',
126
+ checkbox : {disabled:true},
127
+ idName : 'id'
128
+ }
129
+ });
130
+ })(jQuery);
app/assets/js/i18n/grid.locale-nl.js CHANGED
@@ -1,150 +1,150 @@
1
- (function(a) {
2
- a.jgrid = a.jgrid || {};
3
- a.extend(a.jgrid,{
4
- defaults:
5
- {
6
- recordtext: "regels {0} - {1} van {2}",
7
- emptyrecords: "Geen data gevonden.",
8
- loadtext: "laden...",
9
- pgtext: "pagina {0} van {1}"
10
- },
11
- search:
12
- {
13
- caption: "Zoeken...",
14
- Find: "Zoek",
15
- Reset: "Herstellen",
16
- odata: [{ oper:'eq', text:"gelijk aan"},{ oper:'ne', text:"niet gelijk aan"},{ oper:'lt', text:"kleiner dan"},{ oper:'le', text:"kleiner dan of gelijk aan"},{ oper:'gt', text:"groter dan"},{ oper:'ge', text:"groter dan of gelijk aan"},{ oper:'bw', text:"begint met"},{ oper:'bn', text:"begint niet met"},{ oper:'in', text:"is in"},{ oper:'ni', text:"is niet in"},{ oper:'ew', text:"eindigd met"},{ oper:'en', text:"eindigd niet met"},{ oper:'cn', text:"bevat"},{ oper:'nc', text:"bevat niet"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
17
- groupOps: [{ op: "AND", text: "alle" }, { op: "OR", text: "een van de"}],
18
- operandTitle : "Click to select search operation.",
19
- resetTitle : "Reset Search Value"
20
- },
21
- edit:
22
- {
23
- addCaption: "Nieuw",
24
- editCaption: "Bewerken",
25
- bSubmit: "Opslaan",
26
- bCancel: "Annuleren",
27
- bClose: "Sluiten",
28
- saveData: "Er is data aangepast! Wijzigingen opslaan?",
29
- bYes: "Ja",
30
- bNo: "Nee",
31
- bExit: "Sluiten",
32
- msg:
33
- {
34
- required: "Veld is verplicht",
35
- number: "Voer a.u.b. geldig nummer in",
36
- minValue: "Waarde moet groter of gelijk zijn aan ",
37
- maxValue: "Waarde moet kleiner of gelijks zijn aan",
38
- email: "is geen geldig e-mailadres",
39
- integer: "Voer a.u.b. een geldig getal in",
40
- date: "Voer a.u.b. een geldige waarde in",
41
- url: "is geen geldige URL. Prefix is verplicht ('http://' or 'https://')",
42
- nodefined : " is not defined!",
43
- novalue : " return value is required!",
44
- customarray : "Custom function should return array!",
45
- customfcheck : "Custom function should be present in case of custom checking!"
46
- }
47
- },
48
- view:
49
- {
50
- caption: "Tonen",
51
- bClose: "Sluiten"
52
- },
53
- del:
54
- {
55
- caption: "Verwijderen",
56
- msg: "Verwijder geselecteerde regel(s)?",
57
- bSubmit: "Verwijderen",
58
- bCancel: "Annuleren"
59
- },
60
- nav:
61
- {
62
- edittext: "",
63
- edittitle: "Bewerken",
64
- addtext: "",
65
- addtitle: "Nieuw",
66
- deltext: "",
67
- deltitle: "Verwijderen",
68
- searchtext: "",
69
- searchtitle: "Zoeken",
70
- refreshtext: "",
71
- refreshtitle: "Vernieuwen",
72
- alertcap: "Waarschuwing",
73
- alerttext: "Selecteer a.u.b. een regel",
74
- viewtext: "",
75
- viewtitle: "Openen"
76
- },
77
- col:
78
- {
79
- caption: "Tonen/verbergen kolommen",
80
- bSubmit: "OK",
81
- bCancel: "Annuleren"
82
- },
83
- errors:
84
- {
85
- errcap: "Fout",
86
- nourl: "Er is geen URL gedefinieerd",
87
- norecords: "Geen data om te verwerken",
88
- model: "Lengte van 'colNames' is niet gelijk aan 'colModel'!"
89
- },
90
- formatter:
91
- {
92
- integer:
93
- {
94
- thousandsSeparator: ".",
95
- defaultValue: "0"
96
- },
97
- number:
98
- {
99
- decimalSeparator: ",",
100
- thousandsSeparator: ".",
101
- decimalPlaces: 2,
102
- defaultValue: "0.00"
103
- },
104
- currency:
105
- {
106
- decimalSeparator: ",",
107
- thousandsSeparator: ".",
108
- decimalPlaces: 2,
109
- prefix: "EUR ",
110
- suffix: "",
111
- defaultValue: "0.00"
112
- },
113
- date:
114
- {
115
- dayNames: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"],
116
- monthNames: ["Jan", "Feb", "Maa", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "October", "November", "December"],
117
- AmPm: ["am", "pm", "AM", "PM"],
118
- S: function(b) {
119
- return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
120
- },
121
- srcformat: "Y-m-d",
122
- newformat: "d/m/Y",
123
- parseRe : /[#%\\\/:_;.,\t\s-]/,
124
- masks:
125
- {
126
- ISO8601Long: "Y-m-d H:i:s",
127
- ISO8601Short: "Y-m-d",
128
- ShortDate: "n/j/Y",
129
- LongDate: "l, F d, Y",
130
- FullDateTime: "l d F Y G:i:s",
131
- MonthDay: "d F",
132
- ShortTime: "G:i",
133
- LongTime: "G:i:s",
134
- SortableDateTime: "Y-m-d\\TH:i:s",
135
- UniversalSortableDateTime: "Y-m-d H:i:sO",
136
- YearMonth: "F, Y"
137
- },
138
- reformatAfterEdit: false
139
- },
140
- baseLinkUrl: "",
141
- showAction: "",
142
- target: "",
143
- checkbox:
144
- {
145
- disabled: true
146
- },
147
- idName: "id"
148
- }
149
- });
150
  })(jQuery);
1
+ (function(a) {
2
+ a.jgrid = a.jgrid || {};
3
+ a.extend(a.jgrid,{
4
+ defaults:
5
+ {
6
+ recordtext: "regels {0} - {1} van {2}",
7
+ emptyrecords: "Geen data gevonden.",
8
+ loadtext: "laden...",
9
+ pgtext: "pagina {0} van {1}"
10
+ },
11
+ search:
12
+ {
13
+ caption: "Zoeken...",
14
+ Find: "Zoek",
15
+ Reset: "Herstellen",
16
+ odata: [{ oper:'eq', text:"gelijk aan"},{ oper:'ne', text:"niet gelijk aan"},{ oper:'lt', text:"kleiner dan"},{ oper:'le', text:"kleiner dan of gelijk aan"},{ oper:'gt', text:"groter dan"},{ oper:'ge', text:"groter dan of gelijk aan"},{ oper:'bw', text:"begint met"},{ oper:'bn', text:"begint niet met"},{ oper:'in', text:"is in"},{ oper:'ni', text:"is niet in"},{ oper:'ew', text:"eindigd met"},{ oper:'en', text:"eindigd niet met"},{ oper:'cn', text:"bevat"},{ oper:'nc', text:"bevat niet"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
17
+ groupOps: [{ op: "AND", text: "alle" }, { op: "OR", text: "een van de"}],
18
+ operandTitle : "Click to select search operation.",
19
+ resetTitle : "Reset Search Value"
20
+ },
21
+ edit:
22
+ {
23
+ addCaption: "Nieuw",
24
+ editCaption: "Bewerken",
25
+ bSubmit: "Opslaan",
26
+ bCancel: "Annuleren",
27
+ bClose: "Sluiten",
28
+ saveData: "Er is data aangepast! Wijzigingen opslaan?",
29
+ bYes: "Ja",
30
+ bNo: "Nee",
31
+ bExit: "Sluiten",
32
+ msg:
33
+ {
34
+ required: "Veld is verplicht",
35
+ number: "Voer a.u.b. geldig nummer in",
36
+ minValue: "Waarde moet groter of gelijk zijn aan ",
37
+ maxValue: "Waarde moet kleiner of gelijks zijn aan",
38
+ email: "is geen geldig e-mailadres",
39
+ integer: "Voer a.u.b. een geldig getal in",
40
+ date: "Voer a.u.b. een geldige waarde in",
41
+ url: "is geen geldige URL. Prefix is verplicht ('http://' or 'https://')",
42
+ nodefined : " is not defined!",
43
+ novalue : " return value is required!",
44
+ customarray : "Custom function should return array!",
45
+ customfcheck : "Custom function should be present in case of custom checking!"
46
+ }
47
+ },
48
+ view:
49
+ {
50
+ caption: "Tonen",
51
+ bClose: "Sluiten"
52
+ },
53
+ del:
54
+ {
55
+ caption: "Verwijderen",
56
+ msg: "Verwijder geselecteerde regel(s)?",
57
+ bSubmit: "Verwijderen",
58
+ bCancel: "Annuleren"
59
+ },
60
+ nav:
61
+ {
62
+ edittext: "",
63
+ edittitle: "Bewerken",
64
+ addtext: "",
65
+ addtitle: "Nieuw",
66
+ deltext: "",
67
+ deltitle: "Verwijderen",
68
+ searchtext: "",
69
+ searchtitle: "Zoeken",
70
+ refreshtext: "",
71
+ refreshtitle: "Vernieuwen",
72
+ alertcap: "Waarschuwing",
73
+ alerttext: "Selecteer a.u.b. een regel",
74
+ viewtext: "",
75
+ viewtitle: "Openen"
76
+ },
77
+ col:
78
+ {
79
+ caption: "Tonen/verbergen kolommen",
80
+ bSubmit: "OK",
81
+ bCancel: "Annuleren"
82
+ },
83
+ errors:
84
+ {
85
+ errcap: "Fout",
86
+ nourl: "Er is geen URL gedefinieerd",
87
+ norecords: "Geen data om te verwerken",
88
+ model: "Lengte van 'colNames' is niet gelijk aan 'colModel'!"
89
+ },
90
+ formatter:
91
+ {
92
+ integer:
93
+ {
94
+ thousandsSeparator: ".",
95
+ defaultValue: "0"
96
+ },
97
+ number:
98
+ {
99
+ decimalSeparator: ",",
100
+ thousandsSeparator: ".",
101
+ decimalPlaces: 2,
102
+ defaultValue: "0.00"
103
+ },
104
+ currency:
105
+ {
106
+ decimalSeparator: ",",
107
+ thousandsSeparator: ".",
108
+ decimalPlaces: 2,
109
+ prefix: "EUR ",
110
+ suffix: "",
111
+ defaultValue: "0.00"
112
+ },
113
+ date:
114
+ {
115
+ dayNames: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"],
116
+ monthNames: ["Jan", "Feb", "Maa", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "October", "November", "December"],
117
+ AmPm: ["am", "pm", "AM", "PM"],
118
+ S: function(b) {
119
+ return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
120
+ },
121
+ srcformat: "Y-m-d",
122
+ newformat: "d/m/Y",
123
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
124
+ masks:
125
+ {
126
+ ISO8601Long: "Y-m-d H:i:s",
127
+ ISO8601Short: "Y-m-d",
128
+ ShortDate: "n/j/Y",
129
+ LongDate: "l, F d, Y",
130
+ FullDateTime: "l d F Y G:i:s",
131
+ MonthDay: "d F",
132
+ ShortTime: "G:i",
133
+ LongTime: "G:i:s",
134
+ SortableDateTime: "Y-m-d\\TH:i:s",
135
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
136
+ YearMonth: "F, Y"
137
+ },
138
+ reformatAfterEdit: false
139
+ },
140
+ baseLinkUrl: "",
141
+ showAction: "",
142
+ target: "",
143
+ checkbox:
144
+ {
145
+ disabled: true
146
+ },
147
+ idName: "id"
148
+ }
149
+ });
150
  })(jQuery);
app/assets/js/i18n/grid.locale-no.js CHANGED
@@ -1 +1 @@
1
- (function(a){a.jgrid= a.jgrid || {};a.jgrid.defaults={recordtext:"Rad {0} - {1}, totalt {2}",loadtext:"Laster...",pgtext:"Side {0} av {1}"};a.jgrid.search={caption:"S�k...",Find:"Finn",Reset:"Nullstill",odata:[{oper:'eq', text:"lik"},{oper:'ne', text:"forskjellig fra"},{oper:'lt', text:"mindre enn"},{oper:'le', text:"mindre eller lik"},{oper:'gt', text:"st�rre enn"},{oper:'ge', text:" st�rre eller lik"},{oper:'bw', text:"starter med"},{oper:'ew', text:"slutter med"},{oper:'cn', text:"inneholder"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],operandTitle : "Click to select search operation.",resetTitle : "Reset Search Value"};a.jgrid.edit={addCaption:"Ny rad",editCaption:"Rediger",bSubmit:"Send",bCancel:"Avbryt",bClose:"Lukk",processData:"Laster...",msg:{required:"Felt er obligatorisk",number:"Legg inn et gyldig tall",minValue:"verdi m� v�re st�rre enn eller lik",maxValue:"verdi m� v�re mindre enn eller lik",email:"er ikke en gyldig e-post adresse",integer:"Legg inn et gyldig heltall",date:"Legg inn en gyldig dato",url:"er ikke en gyldig URL. Prefiks p�krevd ('http://' eller 'https://')",nodefined:" er ikke definert!",novalue:" returverdi er p�krevd!",customarray:"Tilpasset funksjon m� returnere en tabell!",customfcheck:"Tilpasset funksjon m� eksistere!"}};a.jgrid.view={caption:"�pne post",bClose:"Lukk"};a.jgrid.del={caption:"Slett",msg:"Slett valgte rad(er)?",bSubmit:"Slett",bCancel:"Avbryt",processData:"Behandler..."};a.jgrid.nav={edittext:" ",edittitle:"Rediger valgte rad(er)",addtext:" ",addtitle:"Legg til ny rad",deltext:" ",deltitle:"Slett valgte rad(er)",searchtext:" ",searchtitle:"S�k",refreshtext:"",refreshtitle:"Oppdater tabell",alertcap:"Advarsel",alerttext:"Velg rad",viewtext:" ",viewtitle:"�pne valgt rad"};a.jgrid.col={caption:"Vis/skjul kolonner",bSubmit:"Utf�r",bCancel:"Avbryt"};a.jgrid.errors={errcap:"Feil",nourl:"Ingen url er satt",norecords:"Ingen poster � behandle",model:"colNames og colModel har forskjellig lengde!"};a.jgrid.formatter={integer:{thousandsSeparator:" ",defaultValue:0},number:{decimalSeparator:",",thousandsSeparator:" ",decimalPlaces:2,defaulValue:0},currency:{decimalSeparator:",",thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:"",defaulValue:0},date:{dayNames:["s�.","ma.","ti.","on.","to.","fr.","l�.","S�ndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","L�rdag"],monthNames:["jan.","feb.","mars","april","mai","juni","juli","aug.","sep.","okt.","nov.","des.","januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],AmPm:["","","",""],S:function(b){return"."},srcformat:"Y-m-d H:i:s",newformat:"Y-m-d H:i:s",parseRe : /[#%\\\/:_;.,\t\s-]/,masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"j.n.Y",LongDate:"l j. F Y",FullDateTime:"l j. F Y kl. G.i.s",MonthDay:"j. F",ShortTime:"H:i",LongTime:"H:i:s",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"show",addParam:"",checkbox:{disabled:true}}})(jQuery);
1
+ (function(a){a.jgrid= a.jgrid || {};a.jgrid.defaults={recordtext:"Rad {0} - {1}, totalt {2}",loadtext:"Laster...",pgtext:"Side {0} av {1}"};a.jgrid.search={caption:"S�k...",Find:"Finn",Reset:"Nullstill",odata:[{oper:'eq', text:"lik"},{oper:'ne', text:"forskjellig fra"},{oper:'lt', text:"mindre enn"},{oper:'le', text:"mindre eller lik"},{oper:'gt', text:"st�rre enn"},{oper:'ge', text:" st�rre eller lik"},{oper:'bw', text:"starter med"},{oper:'ew', text:"slutter med"},{oper:'cn', text:"inneholder"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],operandTitle : "Click to select search operation.",resetTitle : "Reset Search Value"};a.jgrid.edit={addCaption:"Ny rad",editCaption:"Rediger",bSubmit:"Send",bCancel:"Avbryt",bClose:"Lukk",processData:"Laster...",msg:{required:"Felt er obligatorisk",number:"Legg inn et gyldig tall",minValue:"verdi m� v�re st�rre enn eller lik",maxValue:"verdi m� v�re mindre enn eller lik",email:"er ikke en gyldig e-post adresse",integer:"Legg inn et gyldig heltall",date:"Legg inn en gyldig dato",url:"er ikke en gyldig URL. Prefiks p�krevd ('http://' eller 'https://')",nodefined:" er ikke definert!",novalue:" returverdi er p�krevd!",customarray:"Tilpasset funksjon m� returnere en tabell!",customfcheck:"Tilpasset funksjon m� eksistere!"}};a.jgrid.view={caption:"�pne post",bClose:"Lukk"};a.jgrid.del={caption:"Slett",msg:"Slett valgte rad(er)?",bSubmit:"Slett",bCancel:"Avbryt",processData:"Behandler..."};a.jgrid.nav={edittext:" ",edittitle:"Rediger valgte rad(er)",addtext:" ",addtitle:"Legg til ny rad",deltext:" ",deltitle:"Slett valgte rad(er)",searchtext:" ",searchtitle:"S�k",refreshtext:"",refreshtitle:"Oppdater tabell",alertcap:"Advarsel",alerttext:"Velg rad",viewtext:" ",viewtitle:"�pne valgt rad"};a.jgrid.col={caption:"Vis/skjul kolonner",bSubmit:"Utf�r",bCancel:"Avbryt"};a.jgrid.errors={errcap:"Feil",nourl:"Ingen url er satt",norecords:"Ingen poster � behandle",model:"colNames og colModel har forskjellig lengde!"};a.jgrid.formatter={integer:{thousandsSeparator:" ",defaultValue:0},number:{decimalSeparator:",",thousandsSeparator:" ",decimalPlaces:2,defaulValue:0},currency:{decimalSeparator:",",thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:"",defaulValue:0},date:{dayNames:["s�.","ma.","ti.","on.","to.","fr.","l�.","S�ndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","L�rdag"],monthNames:["jan.","feb.","mars","april","mai","juni","juli","aug.","sep.","okt.","nov.","des.","januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],AmPm:["","","",""],S:function(b){return"."},srcformat:"Y-m-d H:i:s",newformat:"Y-m-d H:i:s",parseRe : /[#%\\\/:_;.,\t\s-]/,masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"j.n.Y",LongDate:"l j. F Y",FullDateTime:"l j. F Y kl. G.i.s",MonthDay:"j. F",ShortTime:"H:i",LongTime:"H:i:s",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"show",addParam:"",checkbox:{disabled:true}}})(jQuery);
app/assets/js/i18n/grid.locale-pl.js CHANGED
@@ -1,134 +1,134 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Polish Translation
4
- * Łukasz Schab lukasz@freetree.pl
5
- * http://FreeTree.pl
6
- *
7
- * Updated names, abbreviations, currency and date/time formats for Polish norms (also corresponding with CLDR v21.0.1 --> http://cldr.unicode.org/index)
8
- * Tomasz Pęczek tpeczek@gmail.com
9
- * http://tpeczek.blogspot.com; http://tpeczek.codeplex.com
10
- *
11
- * Dual licensed under the MIT and GPL licenses:
12
- * http://www.opensource.org/licenses/mit-license.php
13
- * http://www.gnu.org/licenses/gpl.html
14
- **/
15
- $.jgrid = $.jgrid || {};
16
- $.extend($.jgrid,{
17
- defaults : {
18
- recordtext: "Pokaż {0} - {1} z {2}",
19
- emptyrecords: "Brak rekordów do pokazania",
20
- loadtext: "Ładowanie...",
21
- pgtext : "Strona {0} z {1}"
22
- },
23
- search : {
24
- caption: "Wyszukiwanie...",
25
- Find: "Szukaj",
26
- Reset: "Czyść",
27
- odata: [{ oper:'eq', text:"dokładnie"},{ oper:'ne', text:"różne od"},{ oper:'lt', text:"mniejsze od"},{ oper:'le', text:"mniejsze lub równe"},{ oper:'gt', text:"większe od"},{ oper:'ge', text:"większe lub równe"},{ oper:'bw', text:"zaczyna się od"},{ oper:'bn', text:"nie zaczyna się od"},{ oper:'in', text:"jest w"},{ oper:'ni', text:"nie jest w"},{ oper:'ew', text:"kończy się na"},{ oper:'en', text:"nie kończy się na"},{ oper:'cn', text:"zawiera"},{ oper:'nc', text:"nie zawiera"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
28
- groupOps: [ { op: "AND", text: "oraz" }, { op: "OR", text: "lub" } ],
29
- operandTitle : "Click to select search operation.",
30
- resetTitle : "Reset Search Value"
31
- },
32
- edit : {
33
- addCaption: "Dodaj rekord",
34
- editCaption: "Edytuj rekord",
35
- bSubmit: "Zapisz",
36
- bCancel: "Anuluj",
37
- bClose: "Zamknij",
38
- saveData: "Dane zostały zmienione! Zapisać zmiany?",
39
- bYes: "Tak",
40
- bNo: "Nie",
41
- bExit: "Anuluj",
42
- msg: {
43
- required: "Pole jest wymagane",
44
- number: "Proszę wpisać poprawną liczbę",
45
- minValue: "wartość musi być większa lub równa od",
46
- maxValue: "wartość musi być mniejsza lub równa od",
47
- email: "nie jest poprawnym adresem e-mail",
48
- integer: "Proszę wpisać poprawną liczbę",
49
- date: "Proszę podaj poprawną datę",
50
- url: "jest niewłaściwym adresem URL. Pamiętaj o prefiksie ('http://' lub 'https://')",
51
- nodefined: " niezdefiniowane!",
52
- novalue: " wymagana jest wartość zwracana!",
53
- customarray: "Funkcja niestandardowa powinna zwracać tablicę!",
54
- customfcheck: "Funkcja niestandardowa powinna być obecna w przypadku niestandardowego sprawdzania!"
55
- }
56
- },
57
- view : {
58
- caption: "Pokaż rekord",
59
- bClose: "Zamknij"
60
- },
61
- del : {
62
- caption: "Usuń",
63
- msg: "Czy usunąć wybrany rekord(y)?",
64
- bSubmit: "Usuń",
65
- bCancel: "Anuluj"
66
- },
67
- nav : {
68
- edittext: "",
69
- edittitle: "Edytuj wybrany wiersz",
70
- addtext: "",
71
- addtitle: "Dodaj nowy wiersz",
72
- deltext: "",
73
- deltitle: "Usuń wybrany wiersz",
74
- searchtext: "",
75
- searchtitle: "Wyszukaj rekord",
76
- refreshtext: "",
77
- refreshtitle: "Przeładuj",
78
- alertcap: "Uwaga",
79
- alerttext: "Proszę wybrać wiersz",
80
- viewtext: "",
81
- viewtitle: "Pokaż wybrany wiersz"
82
- },
83
- col : {
84
- caption: "Pokaż/Ukryj kolumny",
85
- bSubmit: "Zatwierdź",
86
- bCancel: "Anuluj"
87
- },
88
- errors : {
89
- errcap: "Błąd",
90
- nourl: "Brak adresu url",
91
- norecords: "Brak danych",
92
- model : "Długość colNames <> colModel!"
93
- },
94
- formatter : {
95
- integer : {thousandsSeparator: " ", defaultValue: '0'},
96
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
97
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" zł", defaultValue: '0,00'},
98
- date : {
99
- dayNames: [
100
- "niedz.", "pon.", "wt.", "śr.", "czw.", "pt.", "sob.",
101
- "niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"
102
- ],
103
- monthNames: [
104
- "sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru",
105
- "styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień"
106
- ],
107
- AmPm : ["","","",""],
108
- S: function (j) {return '';},
109
- srcformat: 'Y-m-d',
110
- newformat: 'd.m.Y',
111
- parseRe : /[#%\\\/:_;.,\t\s-]/,
112
- masks : {
113
- ISO8601Long: "Y-m-d H:i:s",
114
- ISO8601Short: "Y-m-d",
115
- ShortDate: "d.m.y",
116
- LongDate: "l, j F Y",
117
- FullDateTime: "l, j F Y H:i:s",
118
- MonthDay: "j F",
119
- ShortTime: "H:i",
120
- LongTime: "H:i:s",
121
- SortableDateTime: "Y-m-d\\TH:i:s",
122
- UniversalSortableDateTime: "Y-m-d H:i:sO",
123
- YearMonth: "F Y"
124
- },
125
- reformatAfterEdit : false
126
- },
127
- baseLinkUrl: '',
128
- showAction: '',
129
- target: '',
130
- checkbox : {disabled:true},
131
- idName : 'id'
132
- }
133
- });
134
  })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Polish Translation
4
+ * Łukasz Schab lukasz@freetree.pl
5
+ * http://FreeTree.pl
6
+ *
7
+ * Updated names, abbreviations, currency and date/time formats for Polish norms (also corresponding with CLDR v21.0.1 --> http://cldr.unicode.org/index)
8
+ * Tomasz Pęczek tpeczek@gmail.com
9
+ * http://tpeczek.blogspot.com; http://tpeczek.codeplex.com
10
+ *
11
+ * Dual licensed under the MIT and GPL licenses:
12
+ * http://www.opensource.org/licenses/mit-license.php
13
+ * http://www.gnu.org/licenses/gpl.html
14
+ **/
15
+ $.jgrid = $.jgrid || {};
16
+ $.extend($.jgrid,{
17
+ defaults : {
18
+ recordtext: "Pokaż {0} - {1} z {2}",
19
+ emptyrecords: "Brak rekordów do pokazania",
20
+ loadtext: "Ładowanie...",
21
+ pgtext : "Strona {0} z {1}"
22
+ },
23
+ search : {
24
+ caption: "Wyszukiwanie...",
25
+ Find: "Szukaj",
26
+ Reset: "Czyść",
27
+ odata: [{ oper:'eq', text:"dokładnie"},{ oper:'ne', text:"różne od"},{ oper:'lt', text:"mniejsze od"},{ oper:'le', text:"mniejsze lub równe"},{ oper:'gt', text:"większe od"},{ oper:'ge', text:"większe lub równe"},{ oper:'bw', text:"zaczyna się od"},{ oper:'bn', text:"nie zaczyna się od"},{ oper:'in', text:"jest w"},{ oper:'ni', text:"nie jest w"},{ oper:'ew', text:"kończy się na"},{ oper:'en', text:"nie kończy się na"},{ oper:'cn', text:"zawiera"},{ oper:'nc', text:"nie zawiera"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
28
+ groupOps: [ { op: "AND", text: "oraz" }, { op: "OR", text: "lub" } ],
29
+ operandTitle : "Click to select search operation.",
30
+ resetTitle : "Reset Search Value"
31
+ },
32
+ edit : {
33
+ addCaption: "Dodaj rekord",
34
+ editCaption: "Edytuj rekord",
35
+ bSubmit: "Zapisz",
36
+ bCancel: "Anuluj",
37
+ bClose: "Zamknij",
38
+ saveData: "Dane zostały zmienione! Zapisać zmiany?",
39
+ bYes: "Tak",
40
+ bNo: "Nie",
41
+ bExit: "Anuluj",
42
+ msg: {
43
+ required: "Pole jest wymagane",
44
+ number: "Proszę wpisać poprawną liczbę",
45
+ minValue: "wartość musi być większa lub równa od",
46
+ maxValue: "wartość musi być mniejsza lub równa od",
47
+ email: "nie jest poprawnym adresem e-mail",
48
+ integer: "Proszę wpisać poprawną liczbę",
49
+ date: "Proszę podaj poprawną datę",
50
+ url: "jest niewłaściwym adresem URL. Pamiętaj o prefiksie ('http://' lub 'https://')",
51
+ nodefined: " niezdefiniowane!",
52
+ novalue: " wymagana jest wartość zwracana!",
53
+ customarray: "Funkcja niestandardowa powinna zwracać tablicę!",
54
+ customfcheck: "Funkcja niestandardowa powinna być obecna w przypadku niestandardowego sprawdzania!"
55
+ }
56
+ },
57
+ view : {
58
+ caption: "Pokaż rekord",
59
+ bClose: "Zamknij"
60
+ },
61
+ del : {
62
+ caption: "Usuń",
63
+ msg: "Czy usunąć wybrany rekord(y)?",
64
+ bSubmit: "Usuń",
65
+ bCancel: "Anuluj"
66
+ },
67
+ nav : {
68
+ edittext: "",
69
+ edittitle: "Edytuj wybrany wiersz",
70
+ addtext: "",
71
+ addtitle: "Dodaj nowy wiersz",
72
+ deltext: "",
73
+ deltitle: "Usuń wybrany wiersz",
74
+ searchtext: "",
75
+ searchtitle: "Wyszukaj rekord",
76
+ refreshtext: "",
77
+ refreshtitle: "Przeładuj",
78
+ alertcap: "Uwaga",
79
+ alerttext: "Proszę wybrać wiersz",
80
+ viewtext: "",
81
+ viewtitle: "Pokaż wybrany wiersz"
82
+ },
83
+ col : {
84
+ caption: "Pokaż/Ukryj kolumny",
85
+ bSubmit: "Zatwierdź",
86
+ bCancel: "Anuluj"
87
+ },
88
+ errors : {
89
+ errcap: "Błąd",
90
+ nourl: "Brak adresu url",
91
+ norecords: "Brak danych",
92
+ model : "Długość colNames <> colModel!"
93
+ },
94
+ formatter : {
95
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
96
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
97
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" zł", defaultValue: '0,00'},
98
+ date : {
99
+ dayNames: [
100
+ "niedz.", "pon.", "wt.", "śr.", "czw.", "pt.", "sob.",
101
+ "niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"
102
+ ],
103
+ monthNames: [
104
+ "sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru",
105
+ "styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień"
106
+ ],
107
+ AmPm : ["","","",""],
108
+ S: function (j) {return '';},
109
+ srcformat: 'Y-m-d',
110
+ newformat: 'd.m.Y',
111
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
112
+ masks : {
113
+ ISO8601Long: "Y-m-d H:i:s",
114
+ ISO8601Short: "Y-m-d",
115
+ ShortDate: "d.m.y",
116
+ LongDate: "l, j F Y",
117
+ FullDateTime: "l, j F Y H:i:s",
118
+ MonthDay: "j F",
119
+ ShortTime: "H:i",
120
+ LongTime: "H:i:s",
121
+ SortableDateTime: "Y-m-d\\TH:i:s",
122
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
123
+ YearMonth: "F Y"
124
+ },
125
+ reformatAfterEdit : false
126
+ },
127
+ baseLinkUrl: '',
128
+ showAction: '',
129
+ target: '',
130
+ checkbox : {disabled:true},
131
+ idName : 'id'
132
+ }
133
+ });
134
  })(jQuery);
app/assets/js/i18n/grid.locale-pt-br.js CHANGED
@@ -1,137 +1,137 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Brazilian-Portuguese Translation
4
- * Sergio Righi sergio.righi@gmail.com
5
- * http://curve.com.br
6
- *
7
- * Updated by Jonnas Fonini
8
- * http://fonini.net
9
- *
10
- *
11
- * Updated by Fabio Ferreira da Silva fabio_ferreiradasilva@yahoo.com.br
12
- *
13
- *
14
- * Dual licensed under the MIT and GPL licenses:
15
- * http://www.opensource.org/licenses/mit-license.php
16
- * http://www.gnu.org/licenses/gpl.html
17
- **/
18
- $.jgrid = $.jgrid || {};
19
- $.extend($.jgrid,{
20
- defaults : {
21
- recordtext: "Ver {0} - {1} de {2}",
22
- emptyrecords: "Nenhum registro para visualizar",
23
- loadtext: "Carregando...",
24
- pgtext : "Página {0} de {1}"
25
- },
26
- search : {
27
- caption: "Procurar...",
28
- Find: "Procurar",
29
- Reset: "Resetar",
30
- odata: [{ oper:'eq', text:"igual"},{ oper:'ne', text:"diferente"},{ oper:'lt', text:"menor"},{ oper:'le', text:"menor ou igual"},{ oper:'gt', text:"maior"},{ oper:'ge', text:"maior ou igual"},{ oper:'bw', text:"inicia com"},{ oper:'bn', text:"não inicia com"},{ oper:'in', text:"está em"},{ oper:'ni', text:"não está em"},{ oper:'ew', text:"termina com"},{ oper:'en', text:"não termina com"},{ oper:'cn', text:"contém"},{ oper:'nc', text:"não contém"},{ oper:'nu', text:"nulo"},{ oper:'nn', text:"não nulo"}],
31
- groupOps: [ { op: "AND", text: "todos" },{ op: "OR", text: "qualquer um" } ],
32
- operandTitle : "Click to select search operation.",
33
- resetTitle : "Reset Search Value"
34
- },
35
- edit : {
36
- addCaption: "Incluir",
37
- editCaption: "Alterar",
38
- bSubmit: "Enviar",
39
- bCancel: "Cancelar",
40
- bClose: "Fechar",
41
- saveData: "Os dados foram alterados! Salvar alterações?",
42
- bYes : "Sim",
43
- bNo : "Não",
44
- bExit : "Cancelar",
45
- msg: {
46
- required:"Campo obrigatório",
47
- number:"Por favor, informe um número válido",
48
- minValue:"valor deve ser igual ou maior que ",
49
- maxValue:"valor deve ser menor ou igual a",
50
- email: "este e-mail não é válido",
51
- integer: "Por favor, informe um valor inteiro",
52
- date: "Por favor, informe uma data válida",
53
- url: "não é uma URL válida. Prefixo obrigatório ('http://' or 'https://')",
54
- nodefined : " não está definido!",
55
- novalue : " um valor de retorno é obrigatório!",
56
- customarray : "Função customizada deve retornar um array!",
57
- customfcheck : "Função customizada deve estar presente em caso de validação customizada!"
58
- }
59
- },
60
- view : {
61
- caption: "Ver Registro",
62
- bClose: "Fechar"
63
- },
64
- del : {
65
- caption: "Apagar",
66
- msg: "Apagar registro(s) selecionado(s)?",
67
- bSubmit: "Apagar",
68
- bCancel: "Cancelar"
69
- },
70
- nav : {
71
- edittext: " ",
72
- edittitle: "Alterar registro selecionado",
73
- addtext:" ",
74
- addtitle: "Incluir novo registro",
75
- deltext: " ",
76
- deltitle: "Apagar registro selecionado",
77
- searchtext: " ",
78
- searchtitle: "Procurar registros",
79
- refreshtext: "",
80
- refreshtitle: "Recarregando tabela",
81
- alertcap: "Aviso",
82
- alerttext: "Por favor, selecione um registro",
83
- viewtext: "",
84
- viewtitle: "Ver linha selecionada"
85
- },
86
- col : {
87
- caption: "Mostrar/Esconder Colunas",
88
- bSubmit: "Enviar",
89
- bCancel: "Cancelar"
90
- },
91
- errors : {
92
- errcap : "Erro",
93
- nourl : "Nenhuma URL definida",
94
- norecords: "Sem registros para exibir",
95
- model : "Comprimento de colNames <> colModel!"
96
- },
97
- formatter : {
98
- integer : {thousandsSeparator: " ", defaultValue: '0'},
99
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
100
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "R$ ", suffix:"", defaultValue: '0,00'},
101
- date : {
102
- dayNames: [
103
- "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb",
104
- "Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"
105
- ],
106
- monthNames: [
107
- "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
108
- "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
109
- ],
110
- AmPm : ["am","pm","AM","PM"],
111
- S: function (j) {return j < 11 || j > 13 ? ['º', 'º', 'º', 'º'][Math.min((j - 1) % 10, 3)] : 'º'},
112
- srcformat: 'Y-m-d',
113
- newformat: 'd/m/Y',
114
- parseRe : /[#%\\\/:_;.,\t\s-]/,
115
- masks : {
116
- ISO8601Long:"Y-m-d H:i:s",
117
- ISO8601Short:"Y-m-d",
118
- ShortDate: "n/j/Y",
119
- LongDate: "l, F d, Y",
120
- FullDateTime: "l, F d, Y g:i:s A",
121
- MonthDay: "F d",
122
- ShortTime: "g:i A",
123
- LongTime: "g:i:s A",
124
- SortableDateTime: "Y-m-d\\TH:i:s",
125
- UniversalSortableDateTime: "Y-m-d H:i:sO",
126
- YearMonth: "F, Y"
127
- },
128
- reformatAfterEdit : false
129
- },
130
- baseLinkUrl: '',
131
- showAction: '',
132
- target: '',
133
- checkbox : {disabled:true},
134
- idName : 'id'
135
- }
136
- });
137
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Brazilian-Portuguese Translation
4
+ * Sergio Righi sergio.righi@gmail.com
5
+ * http://curve.com.br
6
+ *
7
+ * Updated by Jonnas Fonini
8
+ * http://fonini.net
9
+ *
10
+ *
11
+ * Updated by Fabio Ferreira da Silva fabio_ferreiradasilva@yahoo.com.br
12
+ *
13
+ *
14
+ * Dual licensed under the MIT and GPL licenses:
15
+ * http://www.opensource.org/licenses/mit-license.php
16
+ * http://www.gnu.org/licenses/gpl.html
17
+ **/
18
+ $.jgrid = $.jgrid || {};
19
+ $.extend($.jgrid,{
20
+ defaults : {
21
+ recordtext: "Ver {0} - {1} de {2}",
22
+ emptyrecords: "Nenhum registro para visualizar",
23
+ loadtext: "Carregando...",
24
+ pgtext : "Página {0} de {1}"
25
+ },
26
+ search : {
27
+ caption: "Procurar...",
28
+ Find: "Procurar",
29
+ Reset: "Resetar",
30
+ odata: [{ oper:'eq', text:"igual"},{ oper:'ne', text:"diferente"},{ oper:'lt', text:"menor"},{ oper:'le', text:"menor ou igual"},{ oper:'gt', text:"maior"},{ oper:'ge', text:"maior ou igual"},{ oper:'bw', text:"inicia com"},{ oper:'bn', text:"não inicia com"},{ oper:'in', text:"está em"},{ oper:'ni', text:"não está em"},{ oper:'ew', text:"termina com"},{ oper:'en', text:"não termina com"},{ oper:'cn', text:"contém"},{ oper:'nc', text:"não contém"},{ oper:'nu', text:"nulo"},{ oper:'nn', text:"não nulo"}],
31
+ groupOps: [ { op: "AND", text: "todos" },{ op: "OR", text: "qualquer um" } ],
32
+ operandTitle : "Click to select search operation.",
33
+ resetTitle : "Reset Search Value"
34
+ },
35
+ edit : {
36
+ addCaption: "Incluir",
37
+ editCaption: "Alterar",
38
+ bSubmit: "Enviar",
39
+ bCancel: "Cancelar",
40
+ bClose: "Fechar",
41
+ saveData: "Os dados foram alterados! Salvar alterações?",
42
+ bYes : "Sim",
43
+ bNo : "Não",
44
+ bExit : "Cancelar",
45
+ msg: {
46
+ required:"Campo obrigatório",
47
+ number:"Por favor, informe um número válido",
48
+ minValue:"valor deve ser igual ou maior que ",
49
+ maxValue:"valor deve ser menor ou igual a",
50
+ email: "este e-mail não é válido",
51
+ integer: "Por favor, informe um valor inteiro",
52
+ date: "Por favor, informe uma data válida",
53
+ url: "não é uma URL válida. Prefixo obrigatório ('http://' or 'https://')",
54
+ nodefined : " não está definido!",
55
+ novalue : " um valor de retorno é obrigatório!",
56
+ customarray : "Função customizada deve retornar um array!",
57
+ customfcheck : "Função customizada deve estar presente em caso de validação customizada!"
58
+ }
59
+ },
60
+ view : {
61
+ caption: "Ver Registro",
62
+ bClose: "Fechar"
63
+ },
64
+ del : {
65
+ caption: "Apagar",
66
+ msg: "Apagar registro(s) selecionado(s)?",
67
+ bSubmit: "Apagar",
68
+ bCancel: "Cancelar"
69
+ },
70
+ nav : {
71
+ edittext: " ",
72
+ edittitle: "Alterar registro selecionado",
73
+ addtext:" ",
74
+ addtitle: "Incluir novo registro",
75
+ deltext: " ",
76
+ deltitle: "Apagar registro selecionado",
77
+ searchtext: " ",
78
+ searchtitle: "Procurar registros",
79
+ refreshtext: "",
80
+ refreshtitle: "Recarregando tabela",
81
+ alertcap: "Aviso",
82
+ alerttext: "Por favor, selecione um registro",
83
+ viewtext: "",
84
+ viewtitle: "Ver linha selecionada"
85
+ },
86
+ col : {
87
+ caption: "Mostrar/Esconder Colunas",
88
+ bSubmit: "Enviar",
89
+ bCancel: "Cancelar"
90
+ },
91
+ errors : {
92
+ errcap : "Erro",
93
+ nourl : "Nenhuma URL definida",
94
+ norecords: "Sem registros para exibir",
95
+ model : "Comprimento de colNames <> colModel!"
96
+ },
97
+ formatter : {
98
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
99
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
100
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "R$ ", suffix:"", defaultValue: '0,00'},
101
+ date : {
102
+ dayNames: [
103
+ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb",
104
+ "Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"
105
+ ],
106
+ monthNames: [
107
+ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
108
+ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
109
+ ],
110
+ AmPm : ["am","pm","AM","PM"],
111
+ S: function (j) {return j < 11 || j > 13 ? ['º', 'º', 'º', 'º'][Math.min((j - 1) % 10, 3)] : 'º'},
112
+ srcformat: 'Y-m-d',
113
+ newformat: 'd/m/Y',
114
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
115
+ masks : {
116
+ ISO8601Long:"Y-m-d H:i:s",
117
+ ISO8601Short:"Y-m-d",
118
+ ShortDate: "n/j/Y",
119
+ LongDate: "l, F d, Y",
120
+ FullDateTime: "l, F d, Y g:i:s A",
121
+ MonthDay: "F d",
122
+ ShortTime: "g:i A",
123
+ LongTime: "g:i:s A",
124
+ SortableDateTime: "Y-m-d\\TH:i:s",
125
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
126
+ YearMonth: "F, Y"
127
+ },
128
+ reformatAfterEdit : false
129
+ },
130
+ baseLinkUrl: '',
131
+ showAction: '',
132
+ target: '',
133
+ checkbox : {disabled:true},
134
+ idName : 'id'
135
+ }
136
+ });
137
+ })(jQuery);
app/assets/js/i18n/grid.locale-pt.js CHANGED
@@ -1,127 +1,127 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Portuguese Translation
4
- * Tradu��o da jqGrid em Portugues por Frederico Carvalho, http://www.eyeviewdesign.pt
5
- * Dual licensed under the MIT and GPL licenses:
6
- * http://www.opensource.org/licenses/mit-license.php
7
- * http://www.gnu.org/licenses/gpl.html
8
- **/
9
- $.jgrid = $.jgrid || {};
10
- $.extend($.jgrid,{
11
- defaults : {
12
- recordtext: "View {0} - {1} of {2}",
13
- emptyrecords: "No records to view",
14
- loadtext: "A carregar...",
15
- pgtext : "Página {0} de {1}"
16
- },
17
- search : {
18
- caption: "Busca...",
19
- Find: "Procurar",
20
- Reset: "Limpar",
21
- odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
22
- groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
23
- operandTitle : "Click to select search operation.",
24
- resetTitle : "Reset Search Value"
25
- },
26
- edit : {
27
- addCaption: "Adicionar Registo",
28
- editCaption: "Modificar Registo",
29
- bSubmit: "Submeter",
30
- bCancel: "Cancelar",
31
- bClose: "Fechar",
32
- saveData: "Data has been changed! Save changes?",
33
- bYes : "Yes",
34
- bNo : "No",
35
- bExit : "Cancel",
36
- msg: {
37
- required:"Campo obrigat�rio",
38
- number:"Por favor, introduza um numero",
39
- minValue:"O valor deve ser maior ou igual que",
40
- maxValue:"O valor deve ser menor ou igual a",
41
- email: "N�o � um endere�o de email v�lido",
42
- integer: "Por favor, introduza um numero inteiro",
43
- url: "is not a valid URL. Prefix required ('http://' or 'https://')",
44
- nodefined : " is not defined!",
45
- novalue : " return value is required!",
46
- customarray : "Custom function should return array!",
47
- customfcheck : "Custom function should be present in case of custom checking!"
48
- }
49
- },
50
- view : {
51
- caption: "View Record",
52
- bClose: "Close"
53
- },
54
- del : {
55
- caption: "Eliminar",
56
- msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?",
57
- bSubmit: "Eliminar",
58
- bCancel: "Cancelar"
59
- },
60
- nav : {
61
- edittext: " ",
62
- edittitle: "Modificar registo seleccionado",
63
- addtext:" ",
64
- addtitle: "Adicionar novo registo",
65
- deltext: " ",
66
- deltitle: "Eliminar registo seleccionado",
67
- searchtext: " ",
68
- searchtitle: "Procurar",
69
- refreshtext: "",
70
- refreshtitle: "Actualizar",
71
- alertcap: "Aviso",
72
- alerttext: "Por favor, seleccione um registo",
73
- viewtext: "",
74
- viewtitle: "View selected row"
75
- },
76
- col : {
77
- caption: "Mostrar/Ocultar Colunas",
78
- bSubmit: "Enviar",
79
- bCancel: "Cancelar"
80
- },
81
- errors : {
82
- errcap : "Erro",
83
- nourl : "N�o especificou um url",
84
- norecords: "N�o existem dados para processar",
85
- model : "Tamanho do colNames <> colModel!"
86
- },
87
- formatter : {
88
- integer : {thousandsSeparator: " ", defaultValue: '0'},
89
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
90
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
91
- date : {
92
- dayNames: [
93
- "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab",
94
- "Domingo", "Segunda-Feira", "Ter�a-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "S�bado"
95
- ],
96
- monthNames: [
97
- "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
98
- "Janeiro", "Fevereiro", "Mar�o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
99
- ],
100
- AmPm : ["am","pm","AM","PM"],
101
- S: function (j) {return j < 11 || j > 13 ? ['�', '�', '�', '�'][Math.min((j - 1) % 10, 3)] : '�'},
102
- srcformat: 'Y-m-d',
103
- newformat: 'd/m/Y',
104
- parseRe : /[#%\\\/:_;.,\t\s-]/,
105
- masks : {
106
- ISO8601Long:"Y-m-d H:i:s",
107
- ISO8601Short:"Y-m-d",
108
- ShortDate: "n/j/Y",
109
- LongDate: "l, F d, Y",
110
- FullDateTime: "l, F d, Y g:i:s A",
111
- MonthDay: "F d",
112
- ShortTime: "g:i A",
113
- LongTime: "g:i:s A",
114
- SortableDateTime: "Y-m-d\\TH:i:s",
115
- UniversalSortableDateTime: "Y-m-d H:i:sO",
116
- YearMonth: "F, Y"
117
- },
118
- reformatAfterEdit : false
119
- },
120
- baseLinkUrl: '',
121
- showAction: '',
122
- target: '',
123
- checkbox : {disabled:true},
124
- idName : 'id'
125
- }
126
- });
127
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Portuguese Translation
4
+ * Tradu��o da jqGrid em Portugues por Frederico Carvalho, http://www.eyeviewdesign.pt
5
+ * Dual licensed under the MIT and GPL licenses:
6
+ * http://www.opensource.org/licenses/mit-license.php
7
+ * http://www.gnu.org/licenses/gpl.html
8
+ **/
9
+ $.jgrid = $.jgrid || {};
10
+ $.extend($.jgrid,{
11
+ defaults : {
12
+ recordtext: "View {0} - {1} of {2}",
13
+ emptyrecords: "No records to view",
14
+ loadtext: "A carregar...",
15
+ pgtext : "Página {0} de {1}"
16
+ },
17
+ search : {
18
+ caption: "Busca...",
19
+ Find: "Procurar",
20
+ Reset: "Limpar",
21
+ odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
22
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
23
+ operandTitle : "Click to select search operation.",
24
+ resetTitle : "Reset Search Value"
25
+ },
26
+ edit : {
27
+ addCaption: "Adicionar Registo",
28
+ editCaption: "Modificar Registo",
29
+ bSubmit: "Submeter",
30
+ bCancel: "Cancelar",
31
+ bClose: "Fechar",
32
+ saveData: "Data has been changed! Save changes?",
33
+ bYes : "Yes",
34
+ bNo : "No",
35
+ bExit : "Cancel",
36
+ msg: {
37
+ required:"Campo obrigat�rio",
38
+ number:"Por favor, introduza um numero",
39
+ minValue:"O valor deve ser maior ou igual que",
40
+ maxValue:"O valor deve ser menor ou igual a",
41
+ email: "N�o � um endere�o de email v�lido",
42
+ integer: "Por favor, introduza um numero inteiro",
43
+ url: "is not a valid URL. Prefix required ('http://' or 'https://')",
44
+ nodefined : " is not defined!",
45
+ novalue : " return value is required!",
46
+ customarray : "Custom function should return array!",
47
+ customfcheck : "Custom function should be present in case of custom checking!"
48
+ }
49
+ },
50
+ view : {
51
+ caption: "View Record",
52
+ bClose: "Close"
53
+ },
54
+ del : {
55
+ caption: "Eliminar",
56
+ msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?",
57
+ bSubmit: "Eliminar",
58
+ bCancel: "Cancelar"
59
+ },
60
+ nav : {
61
+ edittext: " ",
62
+ edittitle: "Modificar registo seleccionado",
63
+ addtext:" ",
64
+ addtitle: "Adicionar novo registo",
65
+ deltext: " ",
66
+ deltitle: "Eliminar registo seleccionado",
67
+ searchtext: " ",
68
+ searchtitle: "Procurar",
69
+ refreshtext: "",
70
+ refreshtitle: "Actualizar",
71
+ alertcap: "Aviso",
72
+ alerttext: "Por favor, seleccione um registo",
73
+ viewtext: "",
74
+ viewtitle: "View selected row"
75
+ },
76
+ col : {
77
+ caption: "Mostrar/Ocultar Colunas",
78
+ bSubmit: "Enviar",
79
+ bCancel: "Cancelar"
80
+ },
81
+ errors : {
82
+ errcap : "Erro",
83
+ nourl : "N�o especificou um url",
84
+ norecords: "N�o existem dados para processar",
85
+ model : "Tamanho do colNames <> colModel!"
86
+ },
87
+ formatter : {
88
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
89
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
90
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
91
+ date : {
92
+ dayNames: [
93
+ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab",
94
+ "Domingo", "Segunda-Feira", "Ter�a-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "S�bado"
95
+ ],
96
+ monthNames: [
97
+ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
98
+ "Janeiro", "Fevereiro", "Mar�o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
99
+ ],
100
+ AmPm : ["am","pm","AM","PM"],
101
+ S: function (j) {return j < 11 || j > 13 ? ['�', '�', '�', '�'][Math.min((j - 1) % 10, 3)] : '�'},
102
+ srcformat: 'Y-m-d',
103
+ newformat: 'd/m/Y',
104
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
105
+ masks : {
106
+ ISO8601Long:"Y-m-d H:i:s",
107
+ ISO8601Short:"Y-m-d",
108
+ ShortDate: "n/j/Y",
109
+ LongDate: "l, F d, Y",
110
+ FullDateTime: "l, F d, Y g:i:s A",
111
+ MonthDay: "F d",
112
+ ShortTime: "g:i A",
113
+ LongTime: "g:i:s A",
114
+ SortableDateTime: "Y-m-d\\TH:i:s",
115
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
116
+ YearMonth: "F, Y"
117
+ },
118
+ reformatAfterEdit : false
119
+ },
120
+ baseLinkUrl: '',
121
+ showAction: '',
122
+ target: '',
123
+ checkbox : {disabled:true},
124
+ idName : 'id'
125
+ }
126
+ });
127
+ })(jQuery);
app/assets/js/i18n/grid.locale-ro.js CHANGED
@@ -1,141 +1,141 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Romanian Translation
4
- * Alexandru Emil Lupu contact@alecslupu.ro
5
- * http://www.alecslupu.ro/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Vizualizare {0} - {1} din {2}",
14
- emptyrecords: "Nu există înregistrări de vizualizat",
15
- loadtext: "Încărcare...",
16
- pgtext : "Pagina {0} din {1}"
17
- },
18
- search : {
19
- caption: "Caută...",
20
- Find: "Caută",
21
- Reset: "Resetare",
22
- odata: [{ oper:'eq', text:"egal"},{ oper:'ne', text:"diferit"},{ oper:'lt', text:"mai mic"},{ oper:'le', text:"mai mic sau egal"},{ oper:'gt', text:"mai mare"},{ oper:'ge', text:"mai mare sau egal"},{ oper:'bw', text:"începe cu"},{ oper:'bn', text:"nu începe cu"},{ oper:'in', text:"se găsește în"},{ oper:'ni', text:"nu se găsește în"},{ oper:'ew', text:"se termină cu"},{ oper:'en', text:"nu se termină cu"},{ oper:'cn', text:"conține"},{ oper:'nc', text:""},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "toate" }, { op: "OR", text: "oricare" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Adăugare înregistrare",
29
- editCaption: "Modificare înregistrare",
30
- bSubmit: "Salvează",
31
- bCancel: "Anulare",
32
- bClose: "Închide",
33
- saveData: "Informațiile au fost modificate! Salvați modificările?",
34
- bYes : "Da",
35
- bNo : "Nu",
36
- bExit : "Anulare",
37
- msg: {
38
- required:"Câmpul este obligatoriu",
39
- number:"Vă rugăm introduceți un număr valid",
40
- minValue:"valoarea trebuie sa fie mai mare sau egală cu",
41
- maxValue:"valoarea trebuie sa fie mai mică sau egală cu",
42
- email: "nu este o adresă de e-mail validă",
43
- integer: "Vă rugăm introduceți un număr valid",
44
- date: "Vă rugăm să introduceți o dată validă",
45
- url: "Nu este un URL valid. Prefixul este necesar('http://' or 'https://')",
46
- nodefined : " is not defined!",
47
- novalue : " return value is required!",
48
- customarray : "Custom function should return array!",
49
- customfcheck : "Custom function should be present in case of custom checking!"
50
- }
51
- },
52
- view : {
53
- caption: "Vizualizare înregistrare",
54
- bClose: "Închidere"
55
- },
56
- del : {
57
- caption: "Ștegere",
58
- msg: "Ștergeți înregistrarea (înregistrările) selectate?",
59
- bSubmit: "Șterge",
60
- bCancel: "Anulare"
61
- },
62
- nav : {
63
- edittext: "",
64
- edittitle: "Modifică rândul selectat",
65
- addtext:"",
66
- addtitle: "Adaugă rând nou",
67
- deltext: "",
68
- deltitle: "Șterge rândul selectat",
69
- searchtext: "",
70
- searchtitle: "Căutare înregistrări",
71
- refreshtext: "",
72
- refreshtitle: "Reîncarcare Grid",
73
- alertcap: "Avertisment",
74
- alerttext: "Vă rugăm să selectați un rând",
75
- viewtext: "",
76
- viewtitle: "Vizualizează rândul selectat"
77
- },
78
- col : {
79
- caption: "Arată/Ascunde coloanele",
80
- bSubmit: "Salvează",
81
- bCancel: "Anulare"
82
- },
83
- errors : {
84
- errcap : "Eroare",
85
- nourl : "Niciun url nu este setat",
86
- norecords: "Nu sunt înregistrări de procesat",
87
- model : "Lungimea colNames <> colModel!"
88
- },
89
- formatter : {
90
- integer : {thousandsSeparator: " ", defaultValue: '0'},
91
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
92
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
- date : {
94
- dayNames: [
95
- "Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm",
96
- "Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"
97
- ],
98
- monthNames: [
99
- "Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec",
100
- "Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"
101
- ],
102
- AmPm : ["am","pm","AM","PM"],
103
- /*
104
- Here is a problem in romanian:
105
- M / F
106
- 1st = primul / prima
107
- 2nd = Al doilea / A doua
108
- 3rd = Al treilea / A treia
109
- 4th = Al patrulea/ A patra
110
- 5th = Al cincilea / A cincea
111
- 6th = Al șaselea / A șasea
112
- 7th = Al șaptelea / A șaptea
113
- ....
114
- */
115
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
116
- srcformat: 'Y-m-d',
117
- newformat: 'd/m/Y',
118
- parseRe : /[#%\\\/:_;.,\t\s-]/,
119
- masks : {
120
- ISO8601Long:"Y-m-d H:i:s",
121
- ISO8601Short:"Y-m-d",
122
- ShortDate: "n/j/Y",
123
- LongDate: "l, F d, Y",
124
- FullDateTime: "l, F d, Y g:i:s A",
125
- MonthDay: "F d",
126
- ShortTime: "g:i A",
127
- LongTime: "g:i:s A",
128
- SortableDateTime: "Y-m-d\\TH:i:s",
129
- UniversalSortableDateTime: "Y-m-d H:i:sO",
130
- YearMonth: "F, Y"
131
- },
132
- reformatAfterEdit : false
133
- },
134
- baseLinkUrl: '',
135
- showAction: '',
136
- target: '',
137
- checkbox : {disabled:true},
138
- idName : 'id'
139
- }
140
- });
141
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Romanian Translation
4
+ * Alexandru Emil Lupu contact@alecslupu.ro
5
+ * http://www.alecslupu.ro/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Vizualizare {0} - {1} din {2}",
14
+ emptyrecords: "Nu există înregistrări de vizualizat",
15
+ loadtext: "Încărcare...",
16
+ pgtext : "Pagina {0} din {1}"
17
+ },
18
+ search : {
19
+ caption: "Caută...",
20
+ Find: "Caută",
21
+ Reset: "Resetare",
22
+ odata: [{ oper:'eq', text:"egal"},{ oper:'ne', text:"diferit"},{ oper:'lt', text:"mai mic"},{ oper:'le', text:"mai mic sau egal"},{ oper:'gt', text:"mai mare"},{ oper:'ge', text:"mai mare sau egal"},{ oper:'bw', text:"începe cu"},{ oper:'bn', text:"nu începe cu"},{ oper:'in', text:"se găsește în"},{ oper:'ni', text:"nu se găsește în"},{ oper:'ew', text:"se termină cu"},{ oper:'en', text:"nu se termină cu"},{ oper:'cn', text:"conține"},{ oper:'nc', text:""},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "toate" }, { op: "OR", text: "oricare" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Adăugare înregistrare",
29
+ editCaption: "Modificare înregistrare",
30
+ bSubmit: "Salvează",
31
+ bCancel: "Anulare",
32
+ bClose: "Închide",
33
+ saveData: "Informațiile au fost modificate! Salvați modificările?",
34
+ bYes : "Da",
35
+ bNo : "Nu",
36
+ bExit : "Anulare",
37
+ msg: {
38
+ required:"Câmpul este obligatoriu",
39
+ number:"Vă rugăm introduceți un număr valid",
40
+ minValue:"valoarea trebuie sa fie mai mare sau egală cu",
41
+ maxValue:"valoarea trebuie sa fie mai mică sau egală cu",
42
+ email: "nu este o adresă de e-mail validă",
43
+ integer: "Vă rugăm introduceți un număr valid",
44
+ date: "Vă rugăm să introduceți o dată validă",
45
+ url: "Nu este un URL valid. Prefixul este necesar('http://' or 'https://')",
46
+ nodefined : " is not defined!",
47
+ novalue : " return value is required!",
48
+ customarray : "Custom function should return array!",
49
+ customfcheck : "Custom function should be present in case of custom checking!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Vizualizare înregistrare",
54
+ bClose: "Închidere"
55
+ },
56
+ del : {
57
+ caption: "Ștegere",
58
+ msg: "Ștergeți înregistrarea (înregistrările) selectate?",
59
+ bSubmit: "Șterge",
60
+ bCancel: "Anulare"
61
+ },
62
+ nav : {
63
+ edittext: "",
64
+ edittitle: "Modifică rândul selectat",
65
+ addtext:"",
66
+ addtitle: "Adaugă rând nou",
67
+ deltext: "",
68
+ deltitle: "Șterge rândul selectat",
69
+ searchtext: "",
70
+ searchtitle: "Căutare înregistrări",
71
+ refreshtext: "",
72
+ refreshtitle: "Reîncarcare Grid",
73
+ alertcap: "Avertisment",
74
+ alerttext: "Vă rugăm să selectați un rând",
75
+ viewtext: "",
76
+ viewtitle: "Vizualizează rândul selectat"
77
+ },
78
+ col : {
79
+ caption: "Arată/Ascunde coloanele",
80
+ bSubmit: "Salvează",
81
+ bCancel: "Anulare"
82
+ },
83
+ errors : {
84
+ errcap : "Eroare",
85
+ nourl : "Niciun url nu este setat",
86
+ norecords: "Nu sunt înregistrări de procesat",
87
+ model : "Lungimea colNames <> colModel!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
91
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
92
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
+ date : {
94
+ dayNames: [
95
+ "Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm",
96
+ "Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"
97
+ ],
98
+ monthNames: [
99
+ "Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec",
100
+ "Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"
101
+ ],
102
+ AmPm : ["am","pm","AM","PM"],
103
+ /*
104
+ Here is a problem in romanian:
105
+ M / F
106
+ 1st = primul / prima
107
+ 2nd = Al doilea / A doua
108
+ 3rd = Al treilea / A treia
109
+ 4th = Al patrulea/ A patra
110
+ 5th = Al cincilea / A cincea
111
+ 6th = Al șaselea / A șasea
112
+ 7th = Al șaptelea / A șaptea
113
+ ....
114
+ */
115
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
116
+ srcformat: 'Y-m-d',
117
+ newformat: 'd/m/Y',
118
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
119
+ masks : {
120
+ ISO8601Long:"Y-m-d H:i:s",
121
+ ISO8601Short:"Y-m-d",
122
+ ShortDate: "n/j/Y",
123
+ LongDate: "l, F d, Y",
124
+ FullDateTime: "l, F d, Y g:i:s A",
125
+ MonthDay: "F d",
126
+ ShortTime: "g:i A",
127
+ LongTime: "g:i:s A",
128
+ SortableDateTime: "Y-m-d\\TH:i:s",
129
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
130
+ YearMonth: "F, Y"
131
+ },
132
+ reformatAfterEdit : false
133
+ },
134
+ baseLinkUrl: '',
135
+ showAction: '',
136
+ target: '',
137
+ checkbox : {disabled:true},
138
+ idName : 'id'
139
+ }
140
+ });
141
+ })(jQuery);
app/assets/js/i18n/grid.locale-ru.js CHANGED
@@ -1,129 +1,129 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Russian Translation v1.0 02.07.2009 (based on translation by Alexey Kanaev v1.1 21.01.2009, http://softcore.com.ru)
4
- * Sergey Dyagovchenko
5
- * http://d.sumy.ua
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Просмотр {0} - {1} из {2}",
14
- emptyrecords: "Нет записей для просмотра",
15
- loadtext: "Загрузка...",
16
- pgtext : "Стр. {0} из {1}"
17
- },
18
- search : {
19
- caption: "Поиск...",
20
- Find: "Найти",
21
- Reset: "Сброс",
22
- odata: [{ oper:'eq', text:"равно"},{ oper:'ne', text:"не равно"},{ oper:'lt', text:"меньше"},{ oper:'le', text:"меньше или равно"},{ oper:'gt', text:"больше"},{ oper:'ge', text:"больше или равно"},{ oper:'bw', text:"начинается с"},{ oper:'bn', text:"не начинается с"},{ oper:'in', text:"находится в"},{ oper:'ni', text:"не находится в"},{ oper:'ew', text:"заканчивается на"},{ oper:'en', text:"не заканчивается на"},{ oper:'cn', text:"содержит"},{ oper:'nc', text:"не содержит"},{ oper:'nu', text:"равно NULL"},{ oper:'nn', text:"не равно NULL"}],
23
- groupOps: [ { op: "AND", text: "все" }, { op: "OR", text: "любой" }],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Добавить запись",
29
- editCaption: "Редактировать запись",
30
- bSubmit: "Сохранить",
31
- bCancel: "Отмена",
32
- bClose: "Закрыть",
33
- saveData: "Данные были измененны! Сохранить изменения?",
34
- bYes : "Да",
35
- bNo : "Нет",
36
- bExit : "Отмена",
37
- msg: {
38
- required:"Поле является обязательным",
39
- number:"Пожалуйста, введите правильное число",
40
- minValue:"значение должно быть больше либо равно",
41
- maxValue:"значение должно быть меньше либо равно",
42
- email: "некорректное значение e-mail",
43
- integer: "Пожалуйста, введите целое число",
44
- date: "Пожалуйста, введите правильную дату",
45
- url: "неверная ссылка. Необходимо ввести префикс ('http://' или 'https://')",
46
- nodefined : " не определено!",
47
- novalue : " возвращаемое значение обязательно!",
48
- customarray : "Пользовательская функция должна возвращать массив!",
49
- customfcheck : "Пользовательская функция должна присутствовать в случаи пользовательской проверки!"
50
- }
51
- },
52
- view : {
53
- caption: "Просмотр записи",
54
- bClose: "Закрыть"
55
- },
56
- del : {
57
- caption: "Удалить",
58
- msg: "Удалить выбранную запись(и)?",
59
- bSubmit: "Удалить",
60
- bCancel: "Отмена"
61
- },
62
- nav : {
63
- edittext: " ",
64
- edittitle: "Редактировать выбранную запись",
65
- addtext:" ",
66
- addtitle: "Добавить новую запись",
67
- deltext: " ",
68
- deltitle: "Удалить выбранную запись",
69
- searchtext: " ",
70
- searchtitle: "Найти записи",
71
- refreshtext: "",
72
- refreshtitle: "Обновить таблицу",
73
- alertcap: "Внимание",
74
- alerttext: "Пожалуйста, выберите запись",
75
- viewtext: "",
76
- viewtitle: "Просмотреть выбранную запись"
77
- },
78
- col : {
79
- caption: "Показать/скрыть столбцы",
80
- bSubmit: "Сохранить",
81
- bCancel: "Отмена"
82
- },
83
- errors : {
84
- errcap : "Ошибка",
85
- nourl : "URL не установлен",
86
- norecords: "Нет записей для обработки",
87
- model : "Число полей не соответствует числу столбцов таблицы!"
88
- },
89
- formatter : {
90
- integer : {thousandsSeparator: " ", defaultValue: '0'},
91
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
92
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
- date : {
94
- dayNames: [
95
- "Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб",
96
- "Воскресение", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"
97
- ],
98
- monthNames: [
99
- "Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек",
100
- "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"
101
- ],
102
- AmPm : ["am","pm","AM","PM"],
103
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
104
- srcformat: 'Y-m-d',
105
- newformat: 'd.m.Y',
106
- parseRe : /[#%\\\/:_;.,\t\s-]/,
107
- masks : {
108
- ISO8601Long:"Y-m-d H:i:s",
109
- ISO8601Short:"Y-m-d",
110
- ShortDate: "n.j.Y",
111
- LongDate: "l, F d, Y",
112
- FullDateTime: "l, F d, Y G:i:s",
113
- MonthDay: "F d",
114
- ShortTime: "G:i",
115
- LongTime: "G:i:s",
116
- SortableDateTime: "Y-m-d\\TH:i:s",
117
- UniversalSortableDateTime: "Y-m-d H:i:sO",
118
- YearMonth: "F, Y"
119
- },
120
- reformatAfterEdit : false
121
- },
122
- baseLinkUrl: '',
123
- showAction: '',
124
- target: '',
125
- checkbox : {disabled:true},
126
- idName : 'id'
127
- }
128
- });
129
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Russian Translation v1.0 02.07.2009 (based on translation by Alexey Kanaev v1.1 21.01.2009, http://softcore.com.ru)
4
+ * Sergey Dyagovchenko
5
+ * http://d.sumy.ua
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Просмотр {0} - {1} из {2}",
14
+ emptyrecords: "Нет записей для просмотра",
15
+ loadtext: "Загрузка...",
16
+ pgtext : "Стр. {0} из {1}"
17
+ },
18
+ search : {
19
+ caption: "Поиск...",
20
+ Find: "Найти",
21
+ Reset: "Сброс",
22
+ odata: [{ oper:'eq', text:"равно"},{ oper:'ne', text:"не равно"},{ oper:'lt', text:"меньше"},{ oper:'le', text:"меньше или равно"},{ oper:'gt', text:"больше"},{ oper:'ge', text:"больше или равно"},{ oper:'bw', text:"начинается с"},{ oper:'bn', text:"не начинается с"},{ oper:'in', text:"находится в"},{ oper:'ni', text:"не находится в"},{ oper:'ew', text:"заканчивается на"},{ oper:'en', text:"не заканчивается на"},{ oper:'cn', text:"содержит"},{ oper:'nc', text:"не содержит"},{ oper:'nu', text:"равно NULL"},{ oper:'nn', text:"не равно NULL"}],
23
+ groupOps: [ { op: "AND", text: "все" }, { op: "OR", text: "любой" }],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Добавить запись",
29
+ editCaption: "Редактировать запись",
30
+ bSubmit: "Сохранить",
31
+ bCancel: "Отмена",
32
+ bClose: "Закрыть",
33
+ saveData: "Данные были измененны! Сохранить изменения?",
34
+ bYes : "Да",
35
+ bNo : "Нет",
36
+ bExit : "Отмена",
37
+ msg: {
38
+ required:"Поле является обязательным",
39
+ number:"Пожалуйста, введите правильное число",
40
+ minValue:"значение должно быть больше либо равно",
41
+ maxValue:"значение должно быть меньше либо равно",
42
+ email: "некорректное значение e-mail",
43
+ integer: "Пожалуйста, введите целое число",
44
+ date: "Пожалуйста, введите правильную дату",
45
+ url: "неверная ссылка. Необходимо ввести префикс ('http://' или 'https://')",
46
+ nodefined : " не определено!",
47
+ novalue : " возвращаемое значение обязательно!",
48
+ customarray : "Пользовательская функция должна возвращать массив!",
49
+ customfcheck : "Пользовательская функция должна присутствовать в случаи пользовательской проверки!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Просмотр записи",
54
+ bClose: "Закрыть"
55
+ },
56
+ del : {
57
+ caption: "Удалить",
58
+ msg: "Удалить выбранную запись(и)?",
59
+ bSubmit: "Удалить",
60
+ bCancel: "Отмена"
61
+ },
62
+ nav : {
63
+ edittext: " ",
64
+ edittitle: "Редактировать выбранную запись",
65
+ addtext:" ",
66
+ addtitle: "Добавить новую запись",
67
+ deltext: " ",
68
+ deltitle: "Удалить выбранную запись",
69
+ searchtext: " ",
70
+ searchtitle: "Найти записи",
71
+ refreshtext: "",
72
+ refreshtitle: "Обновить таблицу",
73
+ alertcap: "Внимание",
74
+ alerttext: "Пожалуйста, выберите запись",
75
+ viewtext: "",
76
+ viewtitle: "Просмотреть выбранную запись"
77
+ },
78
+ col : {
79
+ caption: "Показать/скрыть столбцы",
80
+ bSubmit: "Сохранить",
81
+ bCancel: "Отмена"
82
+ },
83
+ errors : {
84
+ errcap : "Ошибка",
85
+ nourl : "URL не установлен",
86
+ norecords: "Нет записей для обработки",
87
+ model : "Число полей не соответствует числу столбцов таблицы!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
91
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
92
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
+ date : {
94
+ dayNames: [
95
+ "Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб",
96
+ "Воскресение", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"
97
+ ],
98
+ monthNames: [
99
+ "Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек",
100
+ "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"
101
+ ],
102
+ AmPm : ["am","pm","AM","PM"],
103
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'd.m.Y',
106
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
107
+ masks : {
108
+ ISO8601Long:"Y-m-d H:i:s",
109
+ ISO8601Short:"Y-m-d",
110
+ ShortDate: "n.j.Y",
111
+ LongDate: "l, F d, Y",
112
+ FullDateTime: "l, F d, Y G:i:s",
113
+ MonthDay: "F d",
114
+ ShortTime: "G:i",
115
+ LongTime: "G:i:s",
116
+ SortableDateTime: "Y-m-d\\TH:i:s",
117
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
118
+ YearMonth: "F, Y"
119
+ },
120
+ reformatAfterEdit : false
121
+ },
122
+ baseLinkUrl: '',
123
+ showAction: '',
124
+ target: '',
125
+ checkbox : {disabled:true},
126
+ idName : 'id'
127
+ }
128
+ });
129
+ })(jQuery);
app/assets/js/i18n/grid.locale-sk.js CHANGED
@@ -1,129 +1,129 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Slovak Translation
4
- * Milan Cibulka
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Zobrazených {0} - {1} z {2} záznamov",
14
- emptyrecords: "Neboli nájdené žiadne záznamy",
15
- loadtext: "Načítám...",
16
- pgtext : "Strana {0} z {1}"
17
- },
18
- search : {
19
- caption: "Vyhľadávam...",
20
- Find: "Hľadať",
21
- Reset: "Reset",
22
- odata: [{ oper:'eq', text:"rovná sa"},{ oper:'ne', text:"nerovná sa"},{ oper:'lt', text:"menšie"},{ oper:'le', text:"menšie alebo rovnajúce sa"},{ oper:'gt', text:"väčšie"},{ oper:'ge', text:"väčšie alebo rovnajúce sa"},{ oper:'bw', text:"začína s"},{ oper:'bn', text:"nezačína s"},{ oper:'in', text:"je v"},{ oper:'ni', text:"nie je v"},{ oper:'ew', text:"končí s"},{ oper:'en', text:"nekončí s"},{ oper:'cn', text:"obahuje"},{ oper:'nc', text:"neobsahuje"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "všetkých" }, { op: "OR", text: "niektorého z" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Pridať záznam",
29
- editCaption: "Editácia záznamov",
30
- bSubmit: "Uložiť",
31
- bCancel: "Storno",
32
- bClose: "Zavrieť",
33
- saveData: "Údaje boli zmenené! Uložiť zmeny?",
34
- bYes : "Ano",
35
- bNo : "Nie",
36
- bExit : "Zrušiť",
37
- msg: {
38
- required:"Pole je požadované",
39
- number:"Prosím, vložte valídne číslo",
40
- minValue:"hodnota musí býť väčšia ako alebo rovná ",
41
- maxValue:"hodnota musí býť menšia ako alebo rovná ",
42
- email: "nie je valídny e-mail",
43
- integer: "Prosím, vložte celé číslo",
44
- date: "Prosím, vložte valídny dátum",
45
- url: "nie je platnou URL. Požadovaný prefix ('http://' alebo 'https://')",
46
- nodefined : " nie je definovaný!",
47
- novalue : " je vyžadovaná návratová hodnota!",
48
- customarray : "Custom function mala vrátiť pole!",
49
- customfcheck : "Custom function by mala byť prítomná v prípade custom checking!"
50
- }
51
- },
52
- view : {
53
- caption: "Zobraziť záznam",
54
- bClose: "Zavrieť"
55
- },
56
- del : {
57
- caption: "Zmazať",
58
- msg: "Zmazať vybraný(é) záznam(y)?",
59
- bSubmit: "Zmazať",
60
- bCancel: "Storno"
61
- },
62
- nav : {
63
- edittext: " ",
64
- edittitle: "Editovať vybraný riadok",
65
- addtext:" ",
66
- addtitle: "Pridať nový riadek",
67
- deltext: " ",
68
- deltitle: "Zmazať vybraný záznam ",
69
- searchtext: " ",
70
- searchtitle: "Nájsť záznamy",
71
- refreshtext: "",
72
- refreshtitle: "Obnoviť tabuľku",
73
- alertcap: "Varovanie",
74
- alerttext: "Prosím, vyberte riadok",
75
- viewtext: "",
76
- viewtitle: "Zobraziť vybraný riadok"
77
- },
78
- col : {
79
- caption: "Zobrazit/Skrýť stĺpce",
80
- bSubmit: "Uložiť",
81
- bCancel: "Storno"
82
- },
83
- errors : {
84
- errcap : "Chyba",
85
- nourl : "Nie je nastavená url",
86
- norecords: "Žiadne záznamy k spracovaniu",
87
- model : "Dĺžka colNames <> colModel!"
88
- },
89
- formatter : {
90
- integer : {thousandsSeparator: " ", defaultValue: '0'},
91
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
92
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
93
- date : {
94
- dayNames: [
95
- "Ne", "Po", "Ut", "St", "Št", "Pi", "So",
96
- "Nedela", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatek", "Sobota"
97
- ],
98
- monthNames: [
99
- "Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec",
100
- "Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"
101
- ],
102
- AmPm : ["do","od","DO","OD"],
103
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
- srcformat: 'Y-m-d',
105
- newformat: 'd/m/Y',
106
- parseRe : /[#%\\\/:_;.,\t\s-]/,
107
- masks : {
108
- ISO8601Long:"Y-m-d H:i:s",
109
- ISO8601Short:"Y-m-d",
110
- ShortDate: "n/j/Y",
111
- LongDate: "l, F d, Y",
112
- FullDateTime: "l, F d, Y g:i:s A",
113
- MonthDay: "F d",
114
- ShortTime: "g:i A",
115
- LongTime: "g:i:s A",
116
- SortableDateTime: "Y-m-d\\TH:i:s",
117
- UniversalSortableDateTime: "Y-m-d H:i:sO",
118
- YearMonth: "F, Y"
119
- },
120
- reformatAfterEdit : false
121
- },
122
- baseLinkUrl: '',
123
- showAction: '',
124
- target: '',
125
- checkbox : {disabled:true},
126
- idName : 'id'
127
- }
128
- });
129
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Slovak Translation
4
+ * Milan Cibulka
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Zobrazených {0} - {1} z {2} záznamov",
14
+ emptyrecords: "Neboli nájdené žiadne záznamy",
15
+ loadtext: "Načítám...",
16
+ pgtext : "Strana {0} z {1}"
17
+ },
18
+ search : {
19
+ caption: "Vyhľadávam...",
20
+ Find: "Hľadať",
21
+ Reset: "Reset",
22
+ odata: [{ oper:'eq', text:"rovná sa"},{ oper:'ne', text:"nerovná sa"},{ oper:'lt', text:"menšie"},{ oper:'le', text:"menšie alebo rovnajúce sa"},{ oper:'gt', text:"väčšie"},{ oper:'ge', text:"väčšie alebo rovnajúce sa"},{ oper:'bw', text:"začína s"},{ oper:'bn', text:"nezačína s"},{ oper:'in', text:"je v"},{ oper:'ni', text:"nie je v"},{ oper:'ew', text:"končí s"},{ oper:'en', text:"nekončí s"},{ oper:'cn', text:"obahuje"},{ oper:'nc', text:"neobsahuje"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "všetkých" }, { op: "OR", text: "niektorého z" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Pridať záznam",
29
+ editCaption: "Editácia záznamov",
30
+ bSubmit: "Uložiť",
31
+ bCancel: "Storno",
32
+ bClose: "Zavrieť",
33
+ saveData: "Údaje boli zmenené! Uložiť zmeny?",
34
+ bYes : "Ano",
35
+ bNo : "Nie",
36
+ bExit : "Zrušiť",
37
+ msg: {
38
+ required:"Pole je požadované",
39
+ number:"Prosím, vložte valídne číslo",
40
+ minValue:"hodnota musí býť väčšia ako alebo rovná ",
41
+ maxValue:"hodnota musí býť menšia ako alebo rovná ",
42
+ email: "nie je valídny e-mail",
43
+ integer: "Prosím, vložte celé číslo",
44
+ date: "Prosím, vložte valídny dátum",
45
+ url: "nie je platnou URL. Požadovaný prefix ('http://' alebo 'https://')",
46
+ nodefined : " nie je definovaný!",
47
+ novalue : " je vyžadovaná návratová hodnota!",
48
+ customarray : "Custom function mala vrátiť pole!",
49
+ customfcheck : "Custom function by mala byť prítomná v prípade custom checking!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Zobraziť záznam",
54
+ bClose: "Zavrieť"
55
+ },
56
+ del : {
57
+ caption: "Zmazať",
58
+ msg: "Zmazať vybraný(é) záznam(y)?",
59
+ bSubmit: "Zmazať",
60
+ bCancel: "Storno"
61
+ },
62
+ nav : {
63
+ edittext: " ",
64
+ edittitle: "Editovať vybraný riadok",
65
+ addtext:" ",
66
+ addtitle: "Pridať nový riadek",
67
+ deltext: " ",
68
+ deltitle: "Zmazať vybraný záznam ",
69
+ searchtext: " ",
70
+ searchtitle: "Nájsť záznamy",
71
+ refreshtext: "",
72
+ refreshtitle: "Obnoviť tabuľku",
73
+ alertcap: "Varovanie",
74
+ alerttext: "Prosím, vyberte riadok",
75
+ viewtext: "",
76
+ viewtitle: "Zobraziť vybraný riadok"
77
+ },
78
+ col : {
79
+ caption: "Zobrazit/Skrýť stĺpce",
80
+ bSubmit: "Uložiť",
81
+ bCancel: "Storno"
82
+ },
83
+ errors : {
84
+ errcap : "Chyba",
85
+ nourl : "Nie je nastavená url",
86
+ norecords: "Žiadne záznamy k spracovaniu",
87
+ model : "Dĺžka colNames <> colModel!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
91
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
92
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
93
+ date : {
94
+ dayNames: [
95
+ "Ne", "Po", "Ut", "St", "Št", "Pi", "So",
96
+ "Nedela", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatek", "Sobota"
97
+ ],
98
+ monthNames: [
99
+ "Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec",
100
+ "Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"
101
+ ],
102
+ AmPm : ["do","od","DO","OD"],
103
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'd/m/Y',
106
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
107
+ masks : {
108
+ ISO8601Long:"Y-m-d H:i:s",
109
+ ISO8601Short:"Y-m-d",
110
+ ShortDate: "n/j/Y",
111
+ LongDate: "l, F d, Y",
112
+ FullDateTime: "l, F d, Y g:i:s A",
113
+ MonthDay: "F d",
114
+ ShortTime: "g:i A",
115
+ LongTime: "g:i:s A",
116
+ SortableDateTime: "Y-m-d\\TH:i:s",
117
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
118
+ YearMonth: "F, Y"
119
+ },
120
+ reformatAfterEdit : false
121
+ },
122
+ baseLinkUrl: '',
123
+ showAction: '',
124
+ target: '',
125
+ checkbox : {disabled:true},
126
+ idName : 'id'
127
+ }
128
+ });
129
+ })(jQuery);
app/assets/js/i18n/grid.locale-sr-latin.js CHANGED
@@ -1,130 +1,130 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Serbian latin Translation
4
- * Bild Studio info@bild-studio.net
5
- * http://www.bild-studio.com
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Pregled {0} - {1} od {2}",
14
- emptyrecords: "Ne postoji nijedan zapis",
15
- loadtext: "Učitavanje…",
16
- pgtext : "Strana {0} od {1}"
17
- },
18
- search : {
19
- caption: "Traženje...",
20
- Find: "Traži",
21
- Reset: "Resetuj",
22
- odata: [{ oper:'eq', text:"jednako"},{ oper:'ne', text:"nije jednako"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili jednako"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili jednako"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa"},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "sva" }, { op: "OR", text: "bilo koje" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Dodaj zapis",
29
- editCaption: "Izmeni zapis",
30
- bSubmit: "Pošalji",
31
- bCancel: "Odustani",
32
- bClose: "Zatvori",
33
- saveData: "Podatak je izmenjen! Sačuvaj izmene?",
34
- bYes : "Da",
35
- bNo : "Ne",
36
- bExit : "Odustani",
37
- msg: {
38
- required: "Polje je obavezno",
39
- number: "Unesite ispravan broj",
40
- minValue: "vrednost mora biti veća od ili jednaka sa ",
41
- maxValue: "vrednost mora biti manja ili jednaka sa",
42
- email: "nije ispravna email adresa, nije valjda da ne umeš ukucati mail!?",
43
- integer: "Unesi celobrojnu vrednost ",
44
- date: "Unesite ispravan datum",
45
- url: "nije ispravan URL. Potreban je prefiks ('http://' or 'https://')",
46
- nodefined : " nije definisan!",
47
- novalue : " zahtevana je povratna vrednost!",
48
- customarray : "Prilagođena funkcija treba da vrati niz!",
49
- customfcheck : "Prilagođena funkcija treba da bude prisutana u slučaju prilagođene provere!"
50
-
51
- }
52
- },
53
- view : {
54
- caption: "Pogledaj zapis",
55
- bClose: "Zatvori"
56
- },
57
- del : {
58
- caption: "Izbrisi",
59
- msg: "Izbrisi izabran(e) zapise(e)?",
60
- bSubmit: "Izbriši",
61
- bCancel: "Odbaci"
62
- },
63
- nav : {
64
- edittext: "",
65
- edittitle: "Izmeni izabrani red",
66
- addtext:"",
67
- addtitle: "Dodaj novi red",
68
- deltext: "",
69
- deltitle: "Izbriši izabran red",
70
- searchtext: "",
71
- searchtitle: "Nađi zapise",
72
- refreshtext: "",
73
- refreshtitle: "Ponovo učitaj podatke",
74
- alertcap: "Upozorenje",
75
- alerttext: "Izaberite red",
76
- viewtext: "",
77
- viewtitle: "Pogledaj izabrani red"
78
- },
79
- col : {
80
- caption: "Izaberi kolone",
81
- bSubmit: "OK",
82
- bCancel: "Odbaci"
83
- },
84
- errors : {
85
- errcap : "Greška",
86
- nourl : "Nije postavljen URL",
87
- norecords: "Nema zapisa za obradu",
88
- model : "Dužina modela colNames <> colModel!"
89
- },
90
- formatter : {
91
- integer : {thousandsSeparator: " ", defaultValue: '0'},
92
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
- date : {
95
- dayNames: [
96
- "Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub",
97
- "Nedelja", "Ponedeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
98
- ],
99
- monthNames: [
100
- "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec",
101
- "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
102
- ],
103
- AmPm : ["am","pm","AM","PM"],
104
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
- srcformat: 'Y-m-d',
106
- newformat: 'd/m/Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks : {
109
- ISO8601Long:"Y-m-d H:i:s",
110
- ISO8601Short:"Y-m-d",
111
- ShortDate: "n/j/Y",
112
- LongDate: "l, F d, Y",
113
- FullDateTime: "l, F d, Y g:i:s A",
114
- MonthDay: "F d",
115
- ShortTime: "g:i A",
116
- LongTime: "g:i:s A",
117
- SortableDateTime: "Y-m-d\\TH:i:s",
118
- UniversalSortableDateTime: "Y-m-d H:i:sO",
119
- YearMonth: "F, Y"
120
- },
121
- reformatAfterEdit : false
122
- },
123
- baseLinkUrl: '',
124
- showAction: '',
125
- target: '',
126
- checkbox : {disabled:true},
127
- idName : 'id'
128
- }
129
- });
130
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Serbian latin Translation
4
+ * Bild Studio info@bild-studio.net
5
+ * http://www.bild-studio.com
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Pregled {0} - {1} od {2}",
14
+ emptyrecords: "Ne postoji nijedan zapis",
15
+ loadtext: "Učitavanje…",
16
+ pgtext : "Strana {0} od {1}"
17
+ },
18
+ search : {
19
+ caption: "Traženje...",
20
+ Find: "Traži",
21
+ Reset: "Resetuj",
22
+ odata: [{ oper:'eq', text:"jednako"},{ oper:'ne', text:"nije jednako"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili jednako"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili jednako"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa"},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "sva" }, { op: "OR", text: "bilo koje" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Dodaj zapis",
29
+ editCaption: "Izmeni zapis",
30
+ bSubmit: "Pošalji",
31
+ bCancel: "Odustani",
32
+ bClose: "Zatvori",
33
+ saveData: "Podatak je izmenjen! Sačuvaj izmene?",
34
+ bYes : "Da",
35
+ bNo : "Ne",
36
+ bExit : "Odustani",
37
+ msg: {
38
+ required: "Polje je obavezno",
39
+ number: "Unesite ispravan broj",
40
+ minValue: "vrednost mora biti veća od ili jednaka sa ",
41
+ maxValue: "vrednost mora biti manja ili jednaka sa",
42
+ email: "nije ispravna email adresa, nije valjda da ne umeš ukucati mail!?",
43
+ integer: "Unesi celobrojnu vrednost ",
44
+ date: "Unesite ispravan datum",
45
+ url: "nije ispravan URL. Potreban je prefiks ('http://' or 'https://')",
46
+ nodefined : " nije definisan!",
47
+ novalue : " zahtevana je povratna vrednost!",
48
+ customarray : "Prilagođena funkcija treba da vrati niz!",
49
+ customfcheck : "Prilagođena funkcija treba da bude prisutana u slučaju prilagođene provere!"
50
+
51
+ }
52
+ },
53
+ view : {
54
+ caption: "Pogledaj zapis",
55
+ bClose: "Zatvori"
56
+ },
57
+ del : {
58
+ caption: "Izbrisi",
59
+ msg: "Izbrisi izabran(e) zapise(e)?",
60
+ bSubmit: "Izbriši",
61
+ bCancel: "Odbaci"
62
+ },
63
+ nav : {
64
+ edittext: "",
65
+ edittitle: "Izmeni izabrani red",
66
+ addtext:"",
67
+ addtitle: "Dodaj novi red",
68
+ deltext: "",
69
+ deltitle: "Izbriši izabran red",
70
+ searchtext: "",
71
+ searchtitle: "Nađi zapise",
72
+ refreshtext: "",
73
+ refreshtitle: "Ponovo učitaj podatke",
74
+ alertcap: "Upozorenje",
75
+ alerttext: "Izaberite red",
76
+ viewtext: "",
77
+ viewtitle: "Pogledaj izabrani red"
78
+ },
79
+ col : {
80
+ caption: "Izaberi kolone",
81
+ bSubmit: "OK",
82
+ bCancel: "Odbaci"
83
+ },
84
+ errors : {
85
+ errcap : "Greška",
86
+ nourl : "Nije postavljen URL",
87
+ norecords: "Nema zapisa za obradu",
88
+ model : "Dužina modela colNames <> colModel!"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
92
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
+ date : {
95
+ dayNames: [
96
+ "Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub",
97
+ "Nedelja", "Ponedeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
98
+ ],
99
+ monthNames: [
100
+ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec",
101
+ "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'd/m/Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ ISO8601Long:"Y-m-d H:i:s",
110
+ ISO8601Short:"Y-m-d",
111
+ ShortDate: "n/j/Y",
112
+ LongDate: "l, F d, Y",
113
+ FullDateTime: "l, F d, Y g:i:s A",
114
+ MonthDay: "F d",
115
+ ShortTime: "g:i A",
116
+ LongTime: "g:i:s A",
117
+ SortableDateTime: "Y-m-d\\TH:i:s",
118
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
119
+ YearMonth: "F, Y"
120
+ },
121
+ reformatAfterEdit : false
122
+ },
123
+ baseLinkUrl: '',
124
+ showAction: '',
125
+ target: '',
126
+ checkbox : {disabled:true},
127
+ idName : 'id'
128
+ }
129
+ });
130
+ })(jQuery);
app/assets/js/i18n/grid.locale-sr.js CHANGED
@@ -1,130 +1,130 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Serbian Translation
4
- * Александар Миловац(Aleksandar Milovac) aleksandar.milovac@gmail.com
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Преглед {0} - {1} од {2}",
14
- emptyrecords: "Не постоји ниједан запис",
15
- loadtext: "Учитавање...",
16
- pgtext : "Страна {0} од {1}"
17
- },
18
- search : {
19
- caption: "Тражење...",
20
- Find: "Тражи",
21
- Reset: "Ресетуј",
22
- odata: [{ oper:'eq', text:"једнако"},{ oper:'ne', text:"није једнако"},{ oper:'lt', text:"мање"},{ oper:'le', text:"мање или једнако"},{ oper:'gt', text:"веће"},{ oper:'ge', text:"веће или једнако"},{ oper:'bw', text:"почиње са"},{ oper:'bn', text:"не почиње са"},{ oper:'in', text:"је у"},{ oper:'ni', text:"није у"},{ oper:'ew', text:"завршава са"},{ oper:'en', text:"не завршава са"},{ oper:'cn', text:"садржи"},{ oper:'nc', text:"не садржи"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "И", text: "сви" }, { op: "ИЛИ", text: "сваки" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Додај запис",
29
- editCaption: "Измени запис",
30
- bSubmit: "Пошаљи",
31
- bCancel: "Одустани",
32
- bClose: "Затвори",
33
- saveData: "Податак је измењен! Сачувај измене?",
34
- bYes : "Да",
35
- bNo : "Не",
36
- bExit : "Одустани",
37
- msg: {
38
- required:"Поље је обавезно",
39
- number:"Молим, унесите исправан број",
40
- minValue:"вредност мора бити већа од или једнака са ",
41
- maxValue:"вредност мора бити мања од или једнака са",
42
- email: "није исправна имејл адреса",
43
- integer: "Молим, унесите исправну целобројну вредност ",
44
- date: "Молим, унесите исправан датум",
45
- url: "није исправан УРЛ. Потребан је префикс ('http://' or 'https://')",
46
- nodefined : " није дефинисан!",
47
- novalue : " захтевана је повратна вредност!",
48
- customarray : "Custom function should return array!",
49
- customfcheck : "Custom function should be present in case of custom checking!"
50
-
51
- }
52
- },
53
- view : {
54
- caption: "Погледај запис",
55
- bClose: "Затвори"
56
- },
57
- del : {
58
- caption: "Избриши",
59
- msg: "Избриши изабран(е) запис(е)?",
60
- bSubmit: "Ибриши",
61
- bCancel: "Одбаци"
62
- },
63
- nav : {
64
- edittext: "",
65
- edittitle: "Измени изабрани ред",
66
- addtext:"",
67
- addtitle: "Додај нови ред",
68
- deltext: "",
69
- deltitle: "Избриши изабран ред",
70
- searchtext: "",
71
- searchtitle: "Нађи записе",
72
- refreshtext: "",
73
- refreshtitle: "Поново учитај податке",
74
- alertcap: "Упозорење",
75
- alerttext: "Молим, изаберите ред",
76
- viewtext: "",
77
- viewtitle: "Погледај изабрани ред"
78
- },
79
- col : {
80
- caption: "Изабери колоне",
81
- bSubmit: "ОК",
82
- bCancel: "Одбаци"
83
- },
84
- errors : {
85
- errcap : "Грешка",
86
- nourl : "Није постављен URL",
87
- norecords: "Нема записа за обраду",
88
- model : "Дужина модела colNames <> colModel!"
89
- },
90
- formatter : {
91
- integer : {thousandsSeparator: " ", defaultValue: '0'},
92
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
- date : {
95
- dayNames: [
96
- "Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб",
97
- "Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота"
98
- ],
99
- monthNames: [
100
- "Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец",
101
- "Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"
102
- ],
103
- AmPm : ["am","pm","AM","PM"],
104
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
- srcformat: 'Y-m-d',
106
- newformat: 'd/m/Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks : {
109
- ISO8601Long:"Y-m-d H:i:s",
110
- ISO8601Short:"Y-m-d",
111
- ShortDate: "n/j/Y",
112
- LongDate: "l, F d, Y",
113
- FullDateTime: "l, F d, Y g:i:s A",
114
- MonthDay: "F d",
115
- ShortTime: "g:i A",
116
- LongTime: "g:i:s A",
117
- SortableDateTime: "Y-m-d\\TH:i:s",
118
- UniversalSortableDateTime: "Y-m-d H:i:sO",
119
- YearMonth: "F, Y"
120
- },
121
- reformatAfterEdit : false
122
- },
123
- baseLinkUrl: '',
124
- showAction: '',
125
- target: '',
126
- checkbox : {disabled:true},
127
- idName : 'id'
128
- }
129
- });
130
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Serbian Translation
4
+ * Александар Миловац(Aleksandar Milovac) aleksandar.milovac@gmail.com
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Преглед {0} - {1} од {2}",
14
+ emptyrecords: "Не постоји ниједан запис",
15
+ loadtext: "Учитавање...",
16
+ pgtext : "Страна {0} од {1}"
17
+ },
18
+ search : {
19
+ caption: "Тражење...",
20
+ Find: "Тражи",
21
+ Reset: "Ресетуј",
22
+ odata: [{ oper:'eq', text:"једнако"},{ oper:'ne', text:"није једнако"},{ oper:'lt', text:"мање"},{ oper:'le', text:"мање или једнако"},{ oper:'gt', text:"веће"},{ oper:'ge', text:"веће или једнако"},{ oper:'bw', text:"почиње са"},{ oper:'bn', text:"не почиње са"},{ oper:'in', text:"је у"},{ oper:'ni', text:"није у"},{ oper:'ew', text:"завршава са"},{ oper:'en', text:"не завршава са"},{ oper:'cn', text:"садржи"},{ oper:'nc', text:"не садржи"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "И", text: "сви" }, { op: "ИЛИ", text: "сваки" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Додај запис",
29
+ editCaption: "Измени запис",
30
+ bSubmit: "Пошаљи",
31
+ bCancel: "Одустани",
32
+ bClose: "Затвори",
33
+ saveData: "Податак је измењен! Сачувај измене?",
34
+ bYes : "Да",
35
+ bNo : "Не",
36
+ bExit : "Одустани",
37
+ msg: {
38
+ required:"Поље је обавезно",
39
+ number:"Молим, унесите исправан број",
40
+ minValue:"вредност мора бити већа од или једнака са ",
41
+ maxValue:"вредност мора бити мања од или једнака са",
42
+ email: "није исправна имејл адреса",
43
+ integer: "Молим, унесите исправну целобројну вредност ",
44
+ date: "Молим, унесите исправан датум",
45
+ url: "није исправан УРЛ. Потребан је префикс ('http://' or 'https://')",
46
+ nodefined : " није дефинисан!",
47
+ novalue : " захтевана је повратна вредност!",
48
+ customarray : "Custom function should return array!",
49
+ customfcheck : "Custom function should be present in case of custom checking!"
50
+
51
+ }
52
+ },
53
+ view : {
54
+ caption: "Погледај запис",
55
+ bClose: "Затвори"
56
+ },
57
+ del : {
58
+ caption: "Избриши",
59
+ msg: "Избриши изабран(е) запис(е)?",
60
+ bSubmit: "Ибриши",
61
+ bCancel: "Одбаци"
62
+ },
63
+ nav : {
64
+ edittext: "",
65
+ edittitle: "Измени изабрани ред",
66
+ addtext:"",
67
+ addtitle: "Додај нови ред",
68
+ deltext: "",
69
+ deltitle: "Избриши изабран ред",
70
+ searchtext: "",
71
+ searchtitle: "Нађи записе",
72
+ refreshtext: "",
73
+ refreshtitle: "Поново учитај податке",
74
+ alertcap: "Упозорење",
75
+ alerttext: "Молим, изаберите ред",
76
+ viewtext: "",
77
+ viewtitle: "Погледај изабрани ред"
78
+ },
79
+ col : {
80
+ caption: "Изабери колоне",
81
+ bSubmit: "ОК",
82
+ bCancel: "Одбаци"
83
+ },
84
+ errors : {
85
+ errcap : "Грешка",
86
+ nourl : "Није постављен URL",
87
+ norecords: "Нема записа за обраду",
88
+ model : "Дужина модела colNames <> colModel!"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
92
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
+ date : {
95
+ dayNames: [
96
+ "Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб",
97
+ "Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота"
98
+ ],
99
+ monthNames: [
100
+ "Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец",
101
+ "Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'd/m/Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ ISO8601Long:"Y-m-d H:i:s",
110
+ ISO8601Short:"Y-m-d",
111
+ ShortDate: "n/j/Y",
112
+ LongDate: "l, F d, Y",
113
+ FullDateTime: "l, F d, Y g:i:s A",
114
+ MonthDay: "F d",
115
+ ShortTime: "g:i A",
116
+ LongTime: "g:i:s A",
117
+ SortableDateTime: "Y-m-d\\TH:i:s",
118
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
119
+ YearMonth: "F, Y"
120
+ },
121
+ reformatAfterEdit : false
122
+ },
123
+ baseLinkUrl: '',
124
+ showAction: '',
125
+ target: '',
126
+ checkbox : {disabled:true},
127
+ idName : 'id'
128
+ }
129
+ });
130
+ })(jQuery);
app/assets/js/i18n/grid.locale-sv.js CHANGED
@@ -1,129 +1,129 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Swedish Translation
4
- * Harald Normann harald.normann@wts.se, harald.normann@gmail.com
5
- * http://www.worldteamsoftware.com
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Visar {0} - {1} av {2}",
14
- emptyrecords: "Det finns inga poster att visa",
15
- loadtext: "Laddar...",
16
- pgtext : "Sida {0} av {1}"
17
- },
18
- search : {
19
- caption: "Sök Poster - Ange sökvillkor",
20
- Find: "Sök",
21
- Reset: "Nollställ Villkor",
22
- odata: [{ oper:'eq', text:"lika"},{ oper:'ne', text:"ej lika"},{ oper:'lt', text:"mindre"},{ oper:'le', text:"mindre eller lika"},{ oper:'gt', text:"större"},{ oper:'ge', text:"större eller lika"},{ oper:'bw', text:"börjar med"},{ oper:'bn', text:"börjar inte med"},{ oper:'in', text:"tillhör"},{ oper:'ni', text:"tillhör inte"},{ oper:'ew', text:"slutar med"},{ oper:'en', text:"slutar inte med"},{ oper:'cn', text:"innehåller"},{ oper:'nc', text:"innehåller inte"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "alla" }, { op: "OR", text: "eller" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Ny Post",
29
- editCaption: "Redigera Post",
30
- bSubmit: "Spara",
31
- bCancel: "Avbryt",
32
- bClose: "Stäng",
33
- saveData: "Data har ändrats! Spara förändringar?",
34
- bYes : "Ja",
35
- bNo : "Nej",
36
- bExit : "Avbryt",
37
- msg: {
38
- required:"Fältet är obligatoriskt",
39
- number:"Välj korrekt nummer",
40
- minValue:"värdet måste vara större än eller lika med",
41
- maxValue:"värdet måste vara mindre än eller lika med",
42
- email: "är inte korrekt e-post adress",
43
- integer: "Var god ange korrekt heltal",
44
- date: "Var god ange korrekt datum",
45
- url: "är inte en korrekt URL. Prefix måste anges ('http://' or 'https://')",
46
- nodefined : " är inte definierad!",
47
- novalue : " returvärde måste anges!",
48
- customarray : "Custom funktion måste returnera en vektor!",
49
- customfcheck : "Custom funktion måste finnas om Custom kontroll sker!"
50
- }
51
- },
52
- view : {
53
- caption: "Visa Post",
54
- bClose: "Stäng"
55
- },
56
- del : {
57
- caption: "Radera",
58
- msg: "Radera markerad(e) post(er)?",
59
- bSubmit: "Radera",
60
- bCancel: "Avbryt"
61
- },
62
- nav : {
63
- edittext: "",
64
- edittitle: "Redigera markerad rad",
65
- addtext:"",
66
- addtitle: "Skapa ny post",
67
- deltext: "",
68
- deltitle: "Radera markerad rad",
69
- searchtext: "",
70
- searchtitle: "Sök poster",
71
- refreshtext: "",
72
- refreshtitle: "Uppdatera data",
73
- alertcap: "Varning",
74
- alerttext: "Ingen rad är markerad",
75
- viewtext: "",
76
- viewtitle: "Visa markerad rad"
77
- },
78
- col : {
79
- caption: "Välj Kolumner",
80
- bSubmit: "OK",
81
- bCancel: "Avbryt"
82
- },
83
- errors : {
84
- errcap : "Fel",
85
- nourl : "URL saknas",
86
- norecords: "Det finns inga poster att bearbeta",
87
- model : "Antal colNames <> colModel!"
88
- },
89
- formatter : {
90
- integer : {thousandsSeparator: " ", defaultValue: '0'},
91
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
92
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"Kr", defaultValue: '0,00'},
93
- date : {
94
- dayNames: [
95
- "Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör",
96
- "Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"
97
- ],
98
- monthNames: [
99
- "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
100
- "Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"
101
- ],
102
- AmPm : ["fm","em","FM","EM"],
103
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
- srcformat: 'Y-m-d',
105
- newformat: 'Y-m-d',
106
- parseRe : /[#%\\\/:_;.,\t\s-]/,
107
- masks : {
108
- ISO8601Long:"Y-m-d H:i:s",
109
- ISO8601Short:"Y-m-d",
110
- ShortDate: "n/j/Y",
111
- LongDate: "l, F d, Y",
112
- FullDateTime: "l, F d, Y g:i:s A",
113
- MonthDay: "F d",
114
- ShortTime: "g:i A",
115
- LongTime: "g:i:s A",
116
- SortableDateTime: "Y-m-d\\TH:i:s",
117
- UniversalSortableDateTime: "Y-m-d H:i:sO",
118
- YearMonth: "F, Y"
119
- },
120
- reformatAfterEdit : false
121
- },
122
- baseLinkUrl: '',
123
- showAction: '',
124
- target: '',
125
- checkbox : {disabled:true},
126
- idName : 'id'
127
- }
128
- });
129
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Swedish Translation
4
+ * Harald Normann harald.normann@wts.se, harald.normann@gmail.com
5
+ * http://www.worldteamsoftware.com
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Visar {0} - {1} av {2}",
14
+ emptyrecords: "Det finns inga poster att visa",
15
+ loadtext: "Laddar...",
16
+ pgtext : "Sida {0} av {1}"
17
+ },
18
+ search : {
19
+ caption: "Sök Poster - Ange sökvillkor",
20
+ Find: "Sök",
21
+ Reset: "Nollställ Villkor",
22
+ odata: [{ oper:'eq', text:"lika"},{ oper:'ne', text:"ej lika"},{ oper:'lt', text:"mindre"},{ oper:'le', text:"mindre eller lika"},{ oper:'gt', text:"större"},{ oper:'ge', text:"större eller lika"},{ oper:'bw', text:"börjar med"},{ oper:'bn', text:"börjar inte med"},{ oper:'in', text:"tillhör"},{ oper:'ni', text:"tillhör inte"},{ oper:'ew', text:"slutar med"},{ oper:'en', text:"slutar inte med"},{ oper:'cn', text:"innehåller"},{ oper:'nc', text:"innehåller inte"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "alla" }, { op: "OR", text: "eller" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Ny Post",
29
+ editCaption: "Redigera Post",
30
+ bSubmit: "Spara",
31
+ bCancel: "Avbryt",
32
+ bClose: "Stäng",
33
+ saveData: "Data har ändrats! Spara förändringar?",
34
+ bYes : "Ja",
35
+ bNo : "Nej",
36
+ bExit : "Avbryt",
37
+ msg: {
38
+ required:"Fältet är obligatoriskt",
39
+ number:"Välj korrekt nummer",
40
+ minValue:"värdet måste vara större än eller lika med",
41
+ maxValue:"värdet måste vara mindre än eller lika med",
42
+ email: "är inte korrekt e-post adress",
43
+ integer: "Var god ange korrekt heltal",
44
+ date: "Var god ange korrekt datum",
45
+ url: "är inte en korrekt URL. Prefix måste anges ('http://' or 'https://')",
46
+ nodefined : " är inte definierad!",
47
+ novalue : " returvärde måste anges!",
48
+ customarray : "Custom funktion måste returnera en vektor!",
49
+ customfcheck : "Custom funktion måste finnas om Custom kontroll sker!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Visa Post",
54
+ bClose: "Stäng"
55
+ },
56
+ del : {
57
+ caption: "Radera",
58
+ msg: "Radera markerad(e) post(er)?",
59
+ bSubmit: "Radera",
60
+ bCancel: "Avbryt"
61
+ },
62
+ nav : {
63
+ edittext: "",
64
+ edittitle: "Redigera markerad rad",
65
+ addtext:"",
66
+ addtitle: "Skapa ny post",
67
+ deltext: "",
68
+ deltitle: "Radera markerad rad",
69
+ searchtext: "",
70
+ searchtitle: "Sök poster",
71
+ refreshtext: "",
72
+ refreshtitle: "Uppdatera data",
73
+ alertcap: "Varning",
74
+ alerttext: "Ingen rad är markerad",
75
+ viewtext: "",
76
+ viewtitle: "Visa markerad rad"
77
+ },
78
+ col : {
79
+ caption: "Välj Kolumner",
80
+ bSubmit: "OK",
81
+ bCancel: "Avbryt"
82
+ },
83
+ errors : {
84
+ errcap : "Fel",
85
+ nourl : "URL saknas",
86
+ norecords: "Det finns inga poster att bearbeta",
87
+ model : "Antal colNames <> colModel!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
91
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
92
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"Kr", defaultValue: '0,00'},
93
+ date : {
94
+ dayNames: [
95
+ "Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör",
96
+ "Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"
97
+ ],
98
+ monthNames: [
99
+ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
100
+ "Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"
101
+ ],
102
+ AmPm : ["fm","em","FM","EM"],
103
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'Y-m-d',
106
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
107
+ masks : {
108
+ ISO8601Long:"Y-m-d H:i:s",
109
+ ISO8601Short:"Y-m-d",
110
+ ShortDate: "n/j/Y",
111
+ LongDate: "l, F d, Y",
112
+ FullDateTime: "l, F d, Y g:i:s A",
113
+ MonthDay: "F d",
114
+ ShortTime: "g:i A",
115
+ LongTime: "g:i:s A",
116
+ SortableDateTime: "Y-m-d\\TH:i:s",
117
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
118
+ YearMonth: "F, Y"
119
+ },
120
+ reformatAfterEdit : false
121
+ },
122
+ baseLinkUrl: '',
123
+ showAction: '',
124
+ target: '',
125
+ checkbox : {disabled:true},
126
+ idName : 'id'
127
+ }
128
+ });
129
+ })(jQuery);
app/assets/js/i18n/grid.locale-th.js CHANGED
@@ -1,130 +1,130 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Thai Translation
4
- * Kittituch Manakul m.kittituch@Gmail.com
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "แสดง {0} - {1} จาก {2}",
14
- emptyrecords: "ไม่พบข้อมูล",
15
- loadtext: "กำลังร้องขอข้อมูล...",
16
- pgtext : "หน้า {0} จาก {1}"
17
- },
18
- search : {
19
- caption: "กำลังค้นหา...",
20
- Find: "ค้นหา",
21
- Reset: "คืนค่ากลับ",
22
- odata: [{ oper:'eq', text:"เท่ากับ"},{ oper:'ne', text:"ไม่เท่ากับ"},{ oper:'lt', text:"น้อยกว่า"},{ oper:'le', text:"ไม่มากกว่า"},{ oper:'gt', text:"มากกกว่า"},{ oper:'ge', text:"ไม่น้อยกว่า"},{ oper:'bw', text:"ขึ้นต้นด้วย"},{ oper:'bn', text:"ไม่ขึ้นต้นด้วย"},{ oper:'in', text:"มีคำใดคำหนึ่งใน"},{ oper:'ni', text:"ไม่มีคำใดคำหนึ่งใน"},{ oper:'ew', text:"ลงท้ายด้วย"},{ oper:'en', text:"ไม่ลงท้ายด้วย"},{ oper:'cn', text:"มีคำว่า"},{ oper:'nc', text:"ไม่มีคำว่า"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "และ", text: "ทั้งหมด" }, { op: "หรือ", text: "ใดๆ" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "เพิ่มข้อมูล",
29
- editCaption: "แก้ไขข้อมูล",
30
- bSubmit: "บันทึก",
31
- bCancel: "ยกเลิก",
32
- bClose: "ปิด",
33
- saveData: "คุณต้องการบันทึการแก้ไข ใช่หรือไม่?",
34
- bYes : "บันทึก",
35
- bNo : "ละทิ้งการแก้ไข",
36
- bExit : "ยกเลิก",
37
- msg: {
38
- required:"ข้อมูลนี้จำเป็น",
39
- number:"กรุณากรอกหมายเลขให้ถูกต้อง",
40
- minValue:"ค่าของข้อมูลนี้ต้องไม่น้อยกว่า",
41
- maxValue:"ค่าของข้อมูลนี้ต้องไม่มากกว่า",
42
- email: "อีเมลล์นี้ไม่ถูกต้อง",
43
- integer: "กรุณากรอกเป็นจำนวนเต็ม",
44
- date: "กรุณากรอกวันที่ให้ถูกต้อง",
45
- url: "URL ไม่ถูกต้อง URL จำเป็นต้องขึ้นต้นด้วย 'http://' หรือ 'https://'",
46
- nodefined : "ไม่ได้ถูกกำหนดค่า!",
47
- novalue : "ต้องการการคืนค่า!",
48
- customarray : "ฟังก์ชันที่สร้างขึ้นต้องส่งค่ากลับเป็นแบบแอเรย์",
49
- customfcheck : "ระบบต้องการฟังก์ชันที่สร้างขึ้นสำหรับการตรวจสอบ!"
50
-
51
- }
52
- },
53
- view : {
54
- caption: "เรียกดูข้อมูล",
55
- bClose: "ปิด"
56
- },
57
- del : {
58
- caption: "ลบข้อมูล",
59
- msg: "คุณต้องการลบข้อมูลที่ถูกเลือก ใช่หรือไม่?",
60
- bSubmit: "ต้องการลบ",
61
- bCancel: "ยกเลิก"
62
- },
63
- nav : {
64
- edittext: "",
65
- edittitle: "แก้ไขข้อมูล",
66
- addtext:"",
67
- addtitle: "เพิ่มข้อมูล",
68
- deltext: "",
69
- deltitle: "ลบข้อมูล",
70
- searchtext: "",
71
- searchtitle: "ค้นหาข้อมูล",
72
- refreshtext: "",
73
- refreshtitle: "รีเฟรช",
74
- alertcap: "คำเตือน",
75
- alerttext: "กรุณาเลือกข้อมูล",
76
- viewtext: "",
77
- viewtitle: "ดูรายละเอียดข้อมูล"
78
- },
79
- col : {
80
- caption: "กรุณาเลือกคอลัมน์",
81
- bSubmit: "ตกลง",
82
- bCancel: "ยกเลิก"
83
- },
84
- errors : {
85
- errcap : "เกิดความผิดพลาด",
86
- nourl : "ไม่ได้กำหนด URL",
87
- norecords: "ไม่มีข้อมูลให้ดำเนินการ",
88
- model : "จำนวนคอลัมน์ไม่เท่ากับจำนวนคอลัมน์โมเดล!"
89
- },
90
- formatter : {
91
- integer : {thousandsSeparator: " ", defaultValue: '0'},
92
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
- date : {
95
- dayNames: [
96
- "อา", "จ", "อ", "พ", "พฤ", "ศ", "ส",
97
- "อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศูกร์", "เสาร์"
98
- ],
99
- monthNames: [
100
- "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค.",
101
- "มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฏาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"
102
- ],
103
- AmPm : ["am","pm","AM","PM"],
104
- S: function (j) {return ''},
105
- srcformat: 'Y-m-d',
106
- newformat: 'd/m/Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks : {
109
- ISO8601Long:"Y-m-d H:i:s",
110
- ISO8601Short:"Y-m-d",
111
- ShortDate: "n/j/Y",
112
- LongDate: "l, F d, Y",
113
- FullDateTime: "l, F d, Y g:i:s A",
114
- MonthDay: "F d",
115
- ShortTime: "g:i A",
116
- LongTime: "g:i:s A",
117
- SortableDateTime: "Y-m-d\\TH:i:s",
118
- UniversalSortableDateTime: "Y-m-d H:i:sO",
119
- YearMonth: "F, Y"
120
- },
121
- reformatAfterEdit : false
122
- },
123
- baseLinkUrl: '',
124
- showAction: '',
125
- target: '',
126
- checkbox : {disabled:true},
127
- idName : 'id'
128
- }
129
- });
130
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Thai Translation
4
+ * Kittituch Manakul m.kittituch@Gmail.com
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "แสดง {0} - {1} จาก {2}",
14
+ emptyrecords: "ไม่พบข้อมูล",
15
+ loadtext: "กำลังร้องขอข้อมูล...",
16
+ pgtext : "หน้า {0} จาก {1}"
17
+ },
18
+ search : {
19
+ caption: "กำลังค้นหา...",
20
+ Find: "ค้นหา",
21
+ Reset: "คืนค่ากลับ",
22
+ odata: [{ oper:'eq', text:"เท่ากับ"},{ oper:'ne', text:"ไม่เท่ากับ"},{ oper:'lt', text:"น้อยกว่า"},{ oper:'le', text:"ไม่มากกว่า"},{ oper:'gt', text:"มากกกว่า"},{ oper:'ge', text:"ไม่น้อยกว่า"},{ oper:'bw', text:"ขึ้นต้นด้วย"},{ oper:'bn', text:"ไม่ขึ้นต้นด้วย"},{ oper:'in', text:"มีคำใดคำหนึ่งใน"},{ oper:'ni', text:"ไม่มีคำใดคำหนึ่งใน"},{ oper:'ew', text:"ลงท้ายด้วย"},{ oper:'en', text:"ไม่ลงท้ายด้วย"},{ oper:'cn', text:"มีคำว่า"},{ oper:'nc', text:"ไม่มีคำว่า"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "และ", text: "ทั้งหมด" }, { op: "หรือ", text: "ใดๆ" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "เพิ่มข้อมูล",
29
+ editCaption: "แก้ไขข้อมูล",
30
+ bSubmit: "บันทึก",
31
+ bCancel: "ยกเลิก",
32
+ bClose: "ปิด",
33
+ saveData: "คุณต้องการบันทึการแก้ไข ใช่หรือไม่?",
34
+ bYes : "บันทึก",
35
+ bNo : "ละทิ้งการแก้ไข",
36
+ bExit : "ยกเลิก",
37
+ msg: {
38
+ required:"ข้อมูลนี้จำเป็น",
39
+ number:"กรุณากรอกหมายเลขให้ถูกต้อง",
40
+ minValue:"ค่าของข้อมูลนี้ต้องไม่น้อยกว่า",
41
+ maxValue:"ค่าของข้อมูลนี้ต้องไม่มากกว่า",
42
+ email: "อีเมลล์นี้ไม่ถูกต้อง",
43
+ integer: "กรุณากรอกเป็นจำนวนเต็ม",
44
+ date: "กรุณากรอกวันที่ให้ถูกต้อง",
45
+ url: "URL ไม่ถูกต้อง URL จำเป็นต้องขึ้นต้นด้วย 'http://' หรือ 'https://'",
46
+ nodefined : "ไม่ได้ถูกกำหนดค่า!",
47
+ novalue : "ต้องการการคืนค่า!",
48
+ customarray : "ฟังก์ชันที่สร้างขึ้นต้องส่งค่ากลับเป็นแบบแอเรย์",
49
+ customfcheck : "ระบบต้องการฟังก์ชันที่สร้างขึ้นสำหรับการตรวจสอบ!"
50
+
51
+ }
52
+ },
53
+ view : {
54
+ caption: "เรียกดูข้อมูล",
55
+ bClose: "ปิด"
56
+ },
57
+ del : {
58
+ caption: "ลบข้อมูล",
59
+ msg: "คุณต้องการลบข้อมูลที่ถูกเลือก ใช่หรือไม่?",
60
+ bSubmit: "ต้องการลบ",
61
+ bCancel: "ยกเลิก"
62
+ },
63
+ nav : {
64
+ edittext: "",
65
+ edittitle: "แก้ไขข้อมูล",
66
+ addtext:"",
67
+ addtitle: "เพิ่มข้อมูล",
68
+ deltext: "",
69
+ deltitle: "ลบข้อมูล",
70
+ searchtext: "",
71
+ searchtitle: "ค้นหาข้อมูล",
72
+ refreshtext: "",
73
+ refreshtitle: "รีเฟรช",
74
+ alertcap: "คำเตือน",
75
+ alerttext: "กรุณาเลือกข้อมูล",
76
+ viewtext: "",
77
+ viewtitle: "ดูรายละเอียดข้อมูล"
78
+ },
79
+ col : {
80
+ caption: "กรุณาเลือกคอลัมน์",
81
+ bSubmit: "ตกลง",
82
+ bCancel: "ยกเลิก"
83
+ },
84
+ errors : {
85
+ errcap : "เกิดความผิดพลาด",
86
+ nourl : "ไม่ได้กำหนด URL",
87
+ norecords: "ไม่มีข้อมูลให้ดำเนินการ",
88
+ model : "จำนวนคอลัมน์ไม่เท่ากับจำนวนคอลัมน์โมเดล!"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
92
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
+ date : {
95
+ dayNames: [
96
+ "อา", "จ", "อ", "พ", "พฤ", "ศ", "ส",
97
+ "อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศูกร์", "เสาร์"
98
+ ],
99
+ monthNames: [
100
+ "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค.",
101
+ "มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฏาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {return ''},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'd/m/Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ ISO8601Long:"Y-m-d H:i:s",
110
+ ISO8601Short:"Y-m-d",
111
+ ShortDate: "n/j/Y",
112
+ LongDate: "l, F d, Y",
113
+ FullDateTime: "l, F d, Y g:i:s A",
114
+ MonthDay: "F d",
115
+ ShortTime: "g:i A",
116
+ LongTime: "g:i:s A",
117
+ SortableDateTime: "Y-m-d\\TH:i:s",
118
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
119
+ YearMonth: "F, Y"
120
+ },
121
+ reformatAfterEdit : false
122
+ },
123
+ baseLinkUrl: '',
124
+ showAction: '',
125
+ target: '',
126
+ checkbox : {disabled:true},
127
+ idName : 'id'
128
+ }
129
+ });
130
+ })(jQuery);
app/assets/js/i18n/grid.locale-tr.js CHANGED
@@ -1,128 +1,128 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Turkish Translation
4
- * Erhan Gündoğan (erhan@trposta.net)
5
- * http://blog.zakkum.com
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "{0}-{1} listeleniyor. Toplam:{2}",
14
- emptyrecords: "Kayıt bulunamadı",
15
- loadtext: "Yükleniyor...",
16
- pgtext : "{0}/{1}. Sayfa"
17
- },
18
- search : {
19
- caption: "Arama...",
20
- Find: "Bul",
21
- Reset: "Temizle",
22
- odata: [{ oper:'eq', text:"eşit"},{ oper:'ne', text:"eşit değil"},{ oper:'lt', text:"daha az"},{ oper:'le', text:"daha az veya eşit"},{ oper:'gt', text:"daha fazla"},{ oper:'ge', text:"daha fazla veya eşit"},{ oper:'bw', text:"ile başlayan"},{ oper:'bn', text:"ile başlamayan"},{ oper:'in', text:"içinde"},{ oper:'ni', text:"içinde değil"},{ oper:'ew', text:"ile biten"},{ oper:'en', text:"ile bitmeyen"},{ oper:'cn', text:"içeren"},{ oper:'nc', text:"içermeyen"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "VE", text: "tüm" }, { op: "VEYA", text: "herhangi" }],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Kayıt Ekle",
29
- editCaption: "Kayıt Düzenle",
30
- bSubmit: "Gönder",
31
- bCancel: "İptal",
32
- bClose: "Kapat",
33
- saveData: "Veriler değişti! Kayıt edilsin mi?",
34
- bYes : "Evet",
35
- bNo : "Hayıt",
36
- bExit : "İptal",
37
- msg: {
38
- required:"Alan gerekli",
39
- number:"Lütfen bir numara giriniz",
40
- minValue:"girilen değer daha büyük ya da buna eşit olmalıdır",
41
- maxValue:"girilen değer daha küçük ya da buna eşit olmalıdır",
42
- email: "geçerli bir e-posta adresi değildir",
43
- integer: "Lütfen bir tamsayı giriniz",
44
- url: "Geçerli bir URL değil. ('http://' or 'https://') ön eki gerekli.",
45
- nodefined : " is not defined!",
46
- novalue : " return value is required!",
47
- customarray : "Custom function should return array!",
48
- customfcheck : "Custom function should be present in case of custom checking!"
49
- }
50
- },
51
- view : {
52
- caption: "Kayıt Görüntüle",
53
- bClose: "Kapat"
54
- },
55
- del : {
56
- caption: "Sil",
57
- msg: "Seçilen kayıtlar silinsin mi?",
58
- bSubmit: "Sil",
59
- bCancel: "İptal"
60
- },
61
- nav : {
62
- edittext: " ",
63
- edittitle: "Seçili satırı düzenle",
64
- addtext:" ",
65
- addtitle: "Yeni satır ekle",
66
- deltext: " ",
67
- deltitle: "Seçili satırı sil",
68
- searchtext: " ",
69
- searchtitle: "Kayıtları bul",
70
- refreshtext: "",
71
- refreshtitle: "Tabloyu yenile",
72
- alertcap: "Uyarı",
73
- alerttext: "Lütfen bir satır seçiniz",
74
- viewtext: "",
75
- viewtitle: "Seçilen satırı görüntüle"
76
- },
77
- col : {
78
- caption: "Sütunları göster/gizle",
79
- bSubmit: "Gönder",
80
- bCancel: "İptal"
81
- },
82
- errors : {
83
- errcap : "Hata",
84
- nourl : "Bir url yapılandırılmamış",
85
- norecords: "İşlem yapılacak bir kayıt yok",
86
- model : "colNames uzunluğu <> colModel!"
87
- },
88
- formatter : {
89
- integer : {thousandsSeparator: " ", defaultValue: '0'},
90
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
91
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
92
- date : {
93
- dayNames: [
94
- "Paz", "Pts", "Sal", "Çar", "Per", "Cum", "Cts",
95
- "Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"
96
- ],
97
- monthNames: [
98
- "Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara",
99
- "Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"
100
- ],
101
- AmPm : ["am","pm","AM","PM"],
102
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
103
- srcformat: 'Y-m-d',
104
- newformat: 'd/m/Y',
105
- parseRe : /[#%\\\/:_;.,\t\s-]/,
106
- masks : {
107
- ISO8601Long:"Y-m-d H:i:s",
108
- ISO8601Short:"Y-m-d",
109
- ShortDate: "n/j/Y",
110
- LongDate: "l, F d, Y",
111
- FullDateTime: "l, F d, Y g:i:s A",
112
- MonthDay: "F d",
113
- ShortTime: "g:i A",
114
- LongTime: "g:i:s A",
115
- SortableDateTime: "Y-m-d\\TH:i:s",
116
- UniversalSortableDateTime: "Y-m-d H:i:sO",
117
- YearMonth: "F, Y"
118
- },
119
- reformatAfterEdit : false
120
- },
121
- baseLinkUrl: '',
122
- showAction: '',
123
- target: '',
124
- checkbox : {disabled:true},
125
- idName : 'id'
126
- }
127
- });
128
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Turkish Translation
4
+ * Erhan Gündoğan (erhan@trposta.net)
5
+ * http://blog.zakkum.com
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "{0}-{1} listeleniyor. Toplam:{2}",
14
+ emptyrecords: "Kayıt bulunamadı",
15
+ loadtext: "Yükleniyor...",
16
+ pgtext : "{0}/{1}. Sayfa"
17
+ },
18
+ search : {
19
+ caption: "Arama...",
20
+ Find: "Bul",
21
+ Reset: "Temizle",
22
+ odata: [{ oper:'eq', text:"eşit"},{ oper:'ne', text:"eşit değil"},{ oper:'lt', text:"daha az"},{ oper:'le', text:"daha az veya eşit"},{ oper:'gt', text:"daha fazla"},{ oper:'ge', text:"daha fazla veya eşit"},{ oper:'bw', text:"ile başlayan"},{ oper:'bn', text:"ile başlamayan"},{ oper:'in', text:"içinde"},{ oper:'ni', text:"içinde değil"},{ oper:'ew', text:"ile biten"},{ oper:'en', text:"ile bitmeyen"},{ oper:'cn', text:"içeren"},{ oper:'nc', text:"içermeyen"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "VE", text: "tüm" }, { op: "VEYA", text: "herhangi" }],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Kayıt Ekle",
29
+ editCaption: "Kayıt Düzenle",
30
+ bSubmit: "Gönder",
31
+ bCancel: "İptal",
32
+ bClose: "Kapat",
33
+ saveData: "Veriler değişti! Kayıt edilsin mi?",
34
+ bYes : "Evet",
35
+ bNo : "Hayıt",
36
+ bExit : "İptal",
37
+ msg: {
38
+ required:"Alan gerekli",
39
+ number:"Lütfen bir numara giriniz",
40
+ minValue:"girilen değer daha büyük ya da buna eşit olmalıdır",
41
+ maxValue:"girilen değer daha küçük ya da buna eşit olmalıdır",
42
+ email: "geçerli bir e-posta adresi değildir",
43
+ integer: "Lütfen bir tamsayı giriniz",
44
+ url: "Geçerli bir URL değil. ('http://' or 'https://') ön eki gerekli.",
45
+ nodefined : " is not defined!",
46
+ novalue : " return value is required!",
47
+ customarray : "Custom function should return array!",
48
+ customfcheck : "Custom function should be present in case of custom checking!"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "Kayıt Görüntüle",
53
+ bClose: "Kapat"
54
+ },
55
+ del : {
56
+ caption: "Sil",
57
+ msg: "Seçilen kayıtlar silinsin mi?",
58
+ bSubmit: "Sil",
59
+ bCancel: "İptal"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Seçili satırı düzenle",
64
+ addtext:" ",
65
+ addtitle: "Yeni satır ekle",
66
+ deltext: " ",
67
+ deltitle: "Seçili satırı sil",
68
+ searchtext: " ",
69
+ searchtitle: "Kayıtları bul",
70
+ refreshtext: "",
71
+ refreshtitle: "Tabloyu yenile",
72
+ alertcap: "Uyarı",
73
+ alerttext: "Lütfen bir satır seçiniz",
74
+ viewtext: "",
75
+ viewtitle: "Seçilen satırı görüntüle"
76
+ },
77
+ col : {
78
+ caption: "Sütunları göster/gizle",
79
+ bSubmit: "Gönder",
80
+ bCancel: "İptal"
81
+ },
82
+ errors : {
83
+ errcap : "Hata",
84
+ nourl : "Bir url yapılandırılmamış",
85
+ norecords: "İşlem yapılacak bir kayıt yok",
86
+ model : "colNames uzunluğu <> colModel!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
90
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
91
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
92
+ date : {
93
+ dayNames: [
94
+ "Paz", "Pts", "Sal", "Çar", "Per", "Cum", "Cts",
95
+ "Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"
96
+ ],
97
+ monthNames: [
98
+ "Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara",
99
+ "Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"
100
+ ],
101
+ AmPm : ["am","pm","AM","PM"],
102
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
103
+ srcformat: 'Y-m-d',
104
+ newformat: 'd/m/Y',
105
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
106
+ masks : {
107
+ ISO8601Long:"Y-m-d H:i:s",
108
+ ISO8601Short:"Y-m-d",
109
+ ShortDate: "n/j/Y",
110
+ LongDate: "l, F d, Y",
111
+ FullDateTime: "l, F d, Y g:i:s A",
112
+ MonthDay: "F d",
113
+ ShortTime: "g:i A",
114
+ LongTime: "g:i:s A",
115
+ SortableDateTime: "Y-m-d\\TH:i:s",
116
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
117
+ YearMonth: "F, Y"
118
+ },
119
+ reformatAfterEdit : false
120
+ },
121
+ baseLinkUrl: '',
122
+ showAction: '',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ });
128
+ })(jQuery);
app/assets/js/i18n/grid.locale-tw.js CHANGED
@@ -1,131 +1,131 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Chinese (Taiwan) Translation for v4.2
4
- * linquize
5
- * https://github.com/linquize/jqGrid
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- *
10
- **/
11
- $.jgrid = $.jgrid || {};
12
- $.extend($.jgrid,{
13
- defaults : {
14
- recordtext: "{0} - {1} 共 {2} 條",
15
- emptyrecords: "沒有記錄",
16
- loadtext: "載入中...",
17
- pgtext : " {0} 共 {1} 頁"
18
- },
19
- search : {
20
- caption: "搜尋...",
21
- Find: "搜尋",
22
- Reset: "重設",
23
- odata: [{ oper:'eq', text:"等於 "},{ oper:'ne', text:"不等於 "},{ oper:'lt', text:"小於 "},{ oper:'le', text:"小於等於 "},{ oper:'gt', text:"大於 "},{ oper:'ge', text:"大於等於 "},{ oper:'bw', text:"開始於 "},{ oper:'bn', text:"不開始於 "},{ oper:'in', text:"在其中 "},{ oper:'ni', text:"不在其中 "},{ oper:'ew', text:"結束於 "},{ oper:'en', text:"不結束於 "},{ oper:'cn', text:"包含 "},{ oper:'nc', text:"不包含 "},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
- groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
25
- operandTitle : "Click to select search operation.",
26
- resetTitle : "Reset Search Value"
27
- },
28
- edit : {
29
- addCaption: "新增記錄",
30
- editCaption: "編輯記錄",
31
- bSubmit: "提交",
32
- bCancel: "取消",
33
- bClose: "關閉",
34
- saveData: "資料已改變,是否儲存?",
35
- bYes : "是",
36
- bNo : "否",
37
- bExit : "取消",
38
- msg: {
39
- required:"此欄必要",
40
- number:"請輸入有效的數字",
41
- minValue:"值必須大於等於 ",
42
- maxValue:"值必須小於等於 ",
43
- email: "不是有效的e-mail地址",
44
- integer: "請輸入有效整数",
45
- date: "請輸入有效時間",
46
- url: "網址無效。前綴必須為 ('http://' 或 'https://')",
47
- nodefined : " 未定義!",
48
- novalue : " 需要傳回值!",
49
- customarray : "自訂函數應傳回陣列!",
50
- customfcheck : "自訂檢查應有自訂函數!"
51
-
52
- }
53
- },
54
- view : {
55
- caption: "查看記錄",
56
- bClose: "關閉"
57
- },
58
- del : {
59
- caption: "刪除",
60
- msg: "刪除已選記錄?",
61
- bSubmit: "刪除",
62
- bCancel: "取消"
63
- },
64
- nav : {
65
- edittext: "",
66
- edittitle: "編輯已選列",
67
- addtext:"",
68
- addtitle: "新增列",
69
- deltext: "",
70
- deltitle: "刪除已選列",
71
- searchtext: "",
72
- searchtitle: "搜尋記錄",
73
- refreshtext: "",
74
- refreshtitle: "重新整理表格",
75
- alertcap: "警告",
76
- alerttext: "請選擇列",
77
- viewtext: "",
78
- viewtitle: "檢視已選列"
79
- },
80
- col : {
81
- caption: "選擇欄",
82
- bSubmit: "確定",
83
- bCancel: "取消"
84
- },
85
- errors : {
86
- errcap : "錯誤",
87
- nourl : "未設定URL",
88
- norecords: "無需要處理的記錄",
89
- model : "colNames 和 colModel 長度不同!"
90
- },
91
- formatter : {
92
- integer : {thousandsSeparator: " ", defaultValue: '0'},
93
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
94
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
95
- date : {
96
- dayNames: [
97
- "日", "一", "二", "三", "四", "五", "六",
98
- "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"
99
- ],
100
- monthNames: [
101
- "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二",
102
- "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
103
- ],
104
- AmPm : ["上午","下午","上午","下午"],
105
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
106
- srcformat: 'Y-m-d',
107
- newformat: 'm-d-Y',
108
- parseRe : /[#%\\\/:_;.,\t\s-]/,
109
- masks : {
110
- ISO8601Long:"Y-m-d H:i:s",
111
- ISO8601Short:"Y-m-d",
112
- ShortDate: "Y/j/n",
113
- LongDate: "l, F d, Y",
114
- FullDateTime: "l, F d, Y g:i:s A",
115
- MonthDay: "F d",
116
- ShortTime: "g:i A",
117
- LongTime: "g:i:s A",
118
- SortableDateTime: "Y-m-d\\TH:i:s",
119
- UniversalSortableDateTime: "Y-m-d H:i:sO",
120
- YearMonth: "F, Y"
121
- },
122
- reformatAfterEdit : false
123
- },
124
- baseLinkUrl: '',
125
- showAction: '',
126
- target: '',
127
- checkbox : {disabled:true},
128
- idName : 'id'
129
- }
130
- });
131
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Chinese (Taiwan) Translation for v4.2
4
+ * linquize
5
+ * https://github.com/linquize/jqGrid
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ *
10
+ **/
11
+ $.jgrid = $.jgrid || {};
12
+ $.extend($.jgrid,{
13
+ defaults : {
14
+ recordtext: "{0} - {1} 共 {2} 條",
15
+ emptyrecords: "沒有記錄",
16
+ loadtext: "載入中...",
17
+ pgtext : " {0} 共 {1} 頁"
18
+ },
19
+ search : {
20
+ caption: "搜尋...",
21
+ Find: "搜尋",
22
+ Reset: "重設",
23
+ odata: [{ oper:'eq', text:"等於 "},{ oper:'ne', text:"不等於 "},{ oper:'lt', text:"小於 "},{ oper:'le', text:"小於等於 "},{ oper:'gt', text:"大於 "},{ oper:'ge', text:"大於等於 "},{ oper:'bw', text:"開始於 "},{ oper:'bn', text:"不開始於 "},{ oper:'in', text:"在其中 "},{ oper:'ni', text:"不在其中 "},{ oper:'ew', text:"結束於 "},{ oper:'en', text:"不結束於 "},{ oper:'cn', text:"包含 "},{ oper:'nc', text:"不包含 "},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
+ groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
25
+ operandTitle : "Click to select search operation.",
26
+ resetTitle : "Reset Search Value"
27
+ },
28
+ edit : {
29
+ addCaption: "新增記錄",
30
+ editCaption: "編輯記錄",
31
+ bSubmit: "提交",
32
+ bCancel: "取消",
33
+ bClose: "關閉",
34
+ saveData: "資料已改變,是否儲存?",
35
+ bYes : "是",
36
+ bNo : "否",
37
+ bExit : "取消",
38
+ msg: {
39
+ required:"此欄必要",
40
+ number:"請輸入有效的數字",
41
+ minValue:"值必須大於等於 ",
42
+ maxValue:"值必須小於等於 ",
43
+ email: "不是有效的e-mail地址",
44
+ integer: "請輸入有效整数",
45
+ date: "請輸入有效時間",
46
+ url: "網址無效。前綴必須為 ('http://' 或 'https://')",
47
+ nodefined : " 未定義!",
48
+ novalue : " 需要傳回值!",
49
+ customarray : "自訂函數應傳回陣列!",
50
+ customfcheck : "自訂檢查應有自訂函數!"
51
+
52
+ }
53
+ },
54
+ view : {
55
+ caption: "查看記錄",
56
+ bClose: "關閉"
57
+ },
58
+ del : {
59
+ caption: "刪除",
60
+ msg: "刪除已選記錄?",
61
+ bSubmit: "刪除",
62
+ bCancel: "取消"
63
+ },
64
+ nav : {
65
+ edittext: "",
66
+ edittitle: "編輯已選列",
67
+ addtext:"",
68
+ addtitle: "新增列",
69
+ deltext: "",
70
+ deltitle: "刪除已選列",
71
+ searchtext: "",
72
+ searchtitle: "搜尋記錄",
73
+ refreshtext: "",
74
+ refreshtitle: "重新整理表格",
75
+ alertcap: "警告",
76
+ alerttext: "請選擇列",
77
+ viewtext: "",
78
+ viewtitle: "檢視已選列"
79
+ },
80
+ col : {
81
+ caption: "選擇欄",
82
+ bSubmit: "確定",
83
+ bCancel: "取消"
84
+ },
85
+ errors : {
86
+ errcap : "錯誤",
87
+ nourl : "未設定URL",
88
+ norecords: "無需要處理的記錄",
89
+ model : "colNames 和 colModel 長度不同!"
90
+ },
91
+ formatter : {
92
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
93
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
94
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
95
+ date : {
96
+ dayNames: [
97
+ "日", "一", "二", "三", "四", "五", "六",
98
+ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"
99
+ ],
100
+ monthNames: [
101
+ "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二",
102
+ "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
103
+ ],
104
+ AmPm : ["上午","下午","上午","下午"],
105
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
106
+ srcformat: 'Y-m-d',
107
+ newformat: 'm-d-Y',
108
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
109
+ masks : {
110
+ ISO8601Long:"Y-m-d H:i:s",
111
+ ISO8601Short:"Y-m-d",
112
+ ShortDate: "Y/j/n",
113
+ LongDate: "l, F d, Y",
114
+ FullDateTime: "l, F d, Y g:i:s A",
115
+ MonthDay: "F d",
116
+ ShortTime: "g:i A",
117
+ LongTime: "g:i:s A",
118
+ SortableDateTime: "Y-m-d\\TH:i:s",
119
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
120
+ YearMonth: "F, Y"
121
+ },
122
+ reformatAfterEdit : false
123
+ },
124
+ baseLinkUrl: '',
125
+ showAction: '',
126
+ target: '',
127
+ checkbox : {disabled:true},
128
+ idName : 'id'
129
+ }
130
+ });
131
+ })(jQuery);
app/assets/js/i18n/grid.locale-ua.js CHANGED
@@ -1,129 +1,129 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Ukrainian Translation v1.0 02.07.2009
4
- * Sergey Dyagovchenko
5
- * http://d.sumy.ua
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Перегляд {0} - {1} з {2}",
14
- emptyrecords: "Немає записів для перегляду",
15
- loadtext: "Завантаження...",
16
- pgtext : "Стор. {0} з {1}"
17
- },
18
- search : {
19
- caption: "Пошук...",
20
- Find: "Знайти",
21
- Reset: "Скидання",
22
- odata: [{ oper:'eq', text:"рівно"},{ oper:'ne', text:"не рівно"},{ oper:'lt', text:"менше"},{ oper:'le', text:"менше або рівне"},{ oper:'gt', text:"більше"},{ oper:'ge', text:"більше або рівне"},{ oper:'bw', text:"починається з"},{ oper:'bn', text:"не починається з"},{ oper:'in', text:"знаходиться в"},{ oper:'ni', text:"не знаходиться в"},{ oper:'ew', text:"закінчується на"},{ oper:'en', text:"не закінчується на"},{ oper:'cn', text:"містить"},{ oper:'nc', text:"не містить"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "AND", text: "все" }, { op: "OR", text: "будь-який" }],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Додати запис",
29
- editCaption: "Змінити запис",
30
- bSubmit: "Зберегти",
31
- bCancel: "Відміна",
32
- bClose: "Закрити",
33
- saveData: "До данних були внесені зміни! Зберегти зміни?",
34
- bYes : "Так",
35
- bNo : "Ні",
36
- bExit : "Відміна",
37
- msg: {
38
- required:"Поле є обов'язковим",
39
- number:"Будь ласка, введіть правильне число",
40
- minValue:"значення повинне бути більше або дорівнює",
41
- maxValue:"значення повинно бути менше або дорівнює",
42
- email: "некоректна адреса електронної пошти",
43
- integer: "Будь ласка, введення дійсне ціле значення",
44
- date: "Будь ласка, введення дійсне значення дати",
45
- url: "не дійсний URL. Необхідна приставка ('http://' or 'https://')",
46
- nodefined : " is not defined!",
47
- novalue : " return value is required!",
48
- customarray : "Custom function should return array!",
49
- customfcheck : "Custom function should be present in case of custom checking!"
50
- }
51
- },
52
- view : {
53
- caption: "Переглянути запис",
54
- bClose: "Закрити"
55
- },
56
- del : {
57
- caption: "Видалити",
58
- msg: "Видалити обраний запис(и)?",
59
- bSubmit: "Видалити",
60
- bCancel: "Відміна"
61
- },
62
- nav : {
63
- edittext: " ",
64
- edittitle: "Змінити вибраний запис",
65
- addtext:" ",
66
- addtitle: "Додати новий запис",
67
- deltext: " ",
68
- deltitle: "Видалити вибраний запис",
69
- searchtext: " ",
70
- searchtitle: "Знайти записи",
71
- refreshtext: "",
72
- refreshtitle: "Оновити таблицю",
73
- alertcap: "Попередження",
74
- alerttext: "Будь ласка, виберіть запис",
75
- viewtext: "",
76
- viewtitle: "Переглянути обраний запис"
77
- },
78
- col : {
79
- caption: "Показати/Приховати стовпці",
80
- bSubmit: "Зберегти",
81
- bCancel: "Відміна"
82
- },
83
- errors : {
84
- errcap : "Помилка",
85
- nourl : "URL не задан",
86
- norecords: "Немає записів для обробки",
87
- model : "Число полів не відповідає числу стовпців таблиці!"
88
- },
89
- formatter : {
90
- integer : {thousandsSeparator: " ", defaultValue: '0'},
91
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
92
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
- date : {
94
- dayNames: [
95
- "Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб",
96
- "Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота"
97
- ],
98
- monthNames: [
99
- "Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру",
100
- "Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"
101
- ],
102
- AmPm : ["am","pm","AM","PM"],
103
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
- srcformat: 'Y-m-d',
105
- newformat: 'd.m.Y',
106
- parseRe : /[#%\\\/:_;.,\t\s-]/,
107
- masks : {
108
- ISO8601Long:"Y-m-d H:i:s",
109
- ISO8601Short:"Y-m-d",
110
- ShortDate: "n.j.Y",
111
- LongDate: "l, F d, Y",
112
- FullDateTime: "l, F d, Y G:i:s",
113
- MonthDay: "F d",
114
- ShortTime: "G:i",
115
- LongTime: "G:i:s",
116
- SortableDateTime: "Y-m-d\\TH:i:s",
117
- UniversalSortableDateTime: "Y-m-d H:i:sO",
118
- YearMonth: "F, Y"
119
- },
120
- reformatAfterEdit : false
121
- },
122
- baseLinkUrl: '',
123
- showAction: '',
124
- target: '',
125
- checkbox : {disabled:true},
126
- idName : 'id'
127
- }
128
- });
129
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Ukrainian Translation v1.0 02.07.2009
4
+ * Sergey Dyagovchenko
5
+ * http://d.sumy.ua
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Перегляд {0} - {1} з {2}",
14
+ emptyrecords: "Немає записів для перегляду",
15
+ loadtext: "Завантаження...",
16
+ pgtext : "Стор. {0} з {1}"
17
+ },
18
+ search : {
19
+ caption: "Пошук...",
20
+ Find: "Знайти",
21
+ Reset: "Скидання",
22
+ odata: [{ oper:'eq', text:"рівно"},{ oper:'ne', text:"не рівно"},{ oper:'lt', text:"менше"},{ oper:'le', text:"менше або рівне"},{ oper:'gt', text:"більше"},{ oper:'ge', text:"більше або рівне"},{ oper:'bw', text:"починається з"},{ oper:'bn', text:"не починається з"},{ oper:'in', text:"знаходиться в"},{ oper:'ni', text:"не знаходиться в"},{ oper:'ew', text:"закінчується на"},{ oper:'en', text:"не закінчується на"},{ oper:'cn', text:"містить"},{ oper:'nc', text:"не містить"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "все" }, { op: "OR", text: "будь-який" }],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Додати запис",
29
+ editCaption: "Змінити запис",
30
+ bSubmit: "Зберегти",
31
+ bCancel: "Відміна",
32
+ bClose: "Закрити",
33
+ saveData: "До данних були внесені зміни! Зберегти зміни?",
34
+ bYes : "Так",
35
+ bNo : "Ні",
36
+ bExit : "Відміна",
37
+ msg: {
38
+ required:"Поле є обов'язковим",
39
+ number:"Будь ласка, введіть правильне число",
40
+ minValue:"значення повинне бути більше або дорівнює",
41
+ maxValue:"значення повинно бути менше або дорівнює",
42
+ email: "некоректна адреса електронної пошти",
43
+ integer: "Будь ласка, введення дійсне ціле значення",
44
+ date: "Будь ласка, введення дійсне значення дати",
45
+ url: "не дійсний URL. Необхідна приставка ('http://' or 'https://')",
46
+ nodefined : " is not defined!",
47
+ novalue : " return value is required!",
48
+ customarray : "Custom function should return array!",
49
+ customfcheck : "Custom function should be present in case of custom checking!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Переглянути запис",
54
+ bClose: "Закрити"
55
+ },
56
+ del : {
57
+ caption: "Видалити",
58
+ msg: "Видалити обраний запис(и)?",
59
+ bSubmit: "Видалити",
60
+ bCancel: "Відміна"
61
+ },
62
+ nav : {
63
+ edittext: " ",
64
+ edittitle: "Змінити вибраний запис",
65
+ addtext:" ",
66
+ addtitle: "Додати новий запис",
67
+ deltext: " ",
68
+ deltitle: "Видалити вибраний запис",
69
+ searchtext: " ",
70
+ searchtitle: "Знайти записи",
71
+ refreshtext: "",
72
+ refreshtitle: "Оновити таблицю",
73
+ alertcap: "Попередження",
74
+ alerttext: "Будь ласка, виберіть запис",
75
+ viewtext: "",
76
+ viewtitle: "Переглянути обраний запис"
77
+ },
78
+ col : {
79
+ caption: "Показати/Приховати стовпці",
80
+ bSubmit: "Зберегти",
81
+ bCancel: "Відміна"
82
+ },
83
+ errors : {
84
+ errcap : "Помилка",
85
+ nourl : "URL не задан",
86
+ norecords: "Немає записів для обробки",
87
+ model : "Число полів не відповідає числу стовпців таблиці!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
91
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
92
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
+ date : {
94
+ dayNames: [
95
+ "Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб",
96
+ "Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота"
97
+ ],
98
+ monthNames: [
99
+ "Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру",
100
+ "Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"
101
+ ],
102
+ AmPm : ["am","pm","AM","PM"],
103
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'd.m.Y',
106
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
107
+ masks : {
108
+ ISO8601Long:"Y-m-d H:i:s",
109
+ ISO8601Short:"Y-m-d",
110
+ ShortDate: "n.j.Y",
111
+ LongDate: "l, F d, Y",
112
+ FullDateTime: "l, F d, Y G:i:s",
113
+ MonthDay: "F d",
114
+ ShortTime: "G:i",
115
+ LongTime: "G:i:s",
116
+ SortableDateTime: "Y-m-d\\TH:i:s",
117
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
118
+ YearMonth: "F, Y"
119
+ },
120
+ reformatAfterEdit : false
121
+ },
122
+ baseLinkUrl: '',
123
+ showAction: '',
124
+ target: '',
125
+ checkbox : {disabled:true},
126
+ idName : 'id'
127
+ }
128
+ });
129
+ })(jQuery);
app/assets/js/i18n/grid.locale-vi.js CHANGED
@@ -1,170 +1,170 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Vietnamese Translation
4
- * Lê Đình Dũng dungtdc@gmail.com
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "View {0} - {1} of {2}",
14
- emptyrecords: "Không có dữ liệu",
15
- loadtext: "Đang nạp dữ liệu...",
16
- pgtext : "Trang {0} trong tổng số {1}"
17
- },
18
- search : {
19
- caption: "Tìm kiếm...",
20
- Find: "Tìm",
21
- Reset: "Khởi tạo lại",
22
- odata: [{ oper:'eq', text:"bằng"},{ oper:'ne', text:"không bằng"},{ oper:'lt', text:"bé hơn"},{ oper:'le', text:"bé hơn hoặc bằng"},{ oper:'gt', text:"lớn hơn"},{ oper:'ge', text:"lớn hơn hoặc bằng"},{ oper:'bw', text:"bắt đầu với"},{ oper:'bn', text:"không bắt đầu với"},{ oper:'in', text:"trong"},{ oper:'ni', text:"không nằm trong"},{ oper:'ew', text:"kết thúc với"},{ oper:'en', text:"không kết thúc với"},{ oper:'cn', text:"chứa"},{ oper:'nc', text:"không chứa"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
- groupOps: [ { op: "VÀ", text: "tất cả" }, { op: "HOẶC", text: "bất kỳ" } ],
24
- operandTitle : "Click to select search operation.",
25
- resetTitle : "Reset Search Value"
26
- },
27
- edit : {
28
- addCaption: "Thêm bản ghi",
29
- editCaption: "Sửa bản ghi",
30
- bSubmit: "Gửi",
31
- bCancel: "Hủy bỏ",
32
- bClose: "Đóng",
33
- saveData: "Dữ liệu đã thay đổi! Có lưu thay đổi không?",
34
- bYes : "Có",
35
- bNo : "Không",
36
- bExit : "Hủy bỏ",
37
- msg: {
38
- required:"Trường dữ liệu bắt buộc có",
39
- number:"Hãy điền đúng số",
40
- minValue:"giá trị phải lớn hơn hoặc bằng với ",
41
- maxValue:"giá trị phải bé hơn hoặc bằng",
42
- email: "không phải là một email đúng",
43
- integer: "Hãy điền đúng số nguyên",
44
- date: "Hãy điền đúng ngày tháng",
45
- url: "không phải là URL. Khởi đầu bắt buộc là ('http://' hoặc 'https://')",
46
- nodefined : " chưa được định nghĩa!",
47
- novalue : " giá trị trả về bắt buộc phải có!",
48
- customarray : "Hàm nên trả về một mảng!",
49
- customfcheck : "Custom function should be present in case of custom checking!"
50
-
51
- }
52
- },
53
- view : {
54
- caption: "Xem bản ghi",
55
- bClose: "Đóng"
56
- },
57
- del : {
58
- caption: "Xóa",
59
- msg: "Xóa bản ghi đã chọn?",
60
- bSubmit: "Xóa",
61
- bCancel: "Hủy bỏ"
62
- },
63
- nav : {
64
- edittext: "",
65
- edittitle: "Sửa dòng đã chọn",
66
- addtext:"",
67
- addtitle: "Thêm mới 1 dòng",
68
- deltext: "",
69
- deltitle: "Xóa dòng đã chọn",
70
- searchtext: "",
71
- searchtitle: "Tìm bản ghi",
72
- refreshtext: "",
73
- refreshtitle: "Nạp lại lưới",
74
- alertcap: "Cảnh báo",
75
- alerttext: "Hãy chọn một dòng",
76
- viewtext: "",
77
- viewtitle: "Xem dòng đã chọn"
78
- },
79
- col : {
80
- caption: "Chọn cột",
81
- bSubmit: "OK",
82
- bCancel: "Hủy bỏ"
83
- },
84
- errors : {
85
- errcap : "Lỗi",
86
- nourl : "không url được đặt",
87
- norecords: "Không có bản ghi để xử lý",
88
- model : "Chiều dài của colNames <> colModel!"
89
- },
90
- formatter : {
91
- integer : {thousandsSeparator: ".", defaultValue: '0'},
92
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
93
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0'},
94
- date : {
95
- dayNames: [
96
- "CN", "T2", "T3", "T4", "T5", "T6", "T7",
97
- "Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy"
98
- ],
99
- monthNames: [
100
- "Th1", "Th2", "Th3", "Th4", "Th5", "Th6", "Th7", "Th8", "Th9", "Th10", "Th11", "Th12",
101
- "Tháng một", "Tháng hai", "Tháng ba", "Tháng tư", "Tháng năm", "Tháng sáu", "Tháng bảy", "Tháng tám", "Tháng chín", "Tháng mười", "Tháng mười một", "Tháng mười hai"
102
- ],
103
- AmPm : ["sáng","chiều","SÁNG","CHIỀU"],
104
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
105
- srcformat: 'Y-m-d',
106
- newformat: 'n/j/Y',
107
- parseRe : /[#%\\\/:_;.,\t\s-]/,
108
- masks : {
109
- // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
110
- // and see http://docs.jquery.com/UI/Datepicker/formatDate
111
- // and https://github.com/jquery/globalize#dates for alternative formats used frequently
112
- // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
113
- // information about date, time, numbers and currency formats used in different countries
114
- // one should just convert the information in PHP format
115
- ISO8601Long:"Y-m-d H:i:s",
116
- ISO8601Short:"Y-m-d",
117
- // short date:
118
- // n - Numeric representation of a month, without leading zeros
119
- // j - Day of the month without leading zeros
120
- // Y - A full numeric representation of a year, 4 digits
121
- // example: 3/1/2012 which means 1 March 2012
122
- ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
123
- // long date:
124
- // l - A full textual representation of the day of the week
125
- // F - A full textual representation of a month
126
- // d - Day of the month, 2 digits with leading zeros
127
- // Y - A full numeric representation of a year, 4 digits
128
- LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
129
- // long date with long time:
130
- // l - A full textual representation of the day of the week
131
- // F - A full textual representation of a month
132
- // d - Day of the month, 2 digits with leading zeros
133
- // Y - A full numeric representation of a year, 4 digits
134
- // g - 12-hour format of an hour without leading zeros
135
- // i - Minutes with leading zeros
136
- // s - Seconds, with leading zeros
137
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
138
- FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
139
- // month day:
140
- // F - A full textual representation of a month
141
- // d - Day of the month, 2 digits with leading zeros
142
- MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
143
- // short time (without seconds)
144
- // g - 12-hour format of an hour without leading zeros
145
- // i - Minutes with leading zeros
146
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
147
- ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
148
- // long time (with seconds)
149
- // g - 12-hour format of an hour without leading zeros
150
- // i - Minutes with leading zeros
151
- // s - Seconds, with leading zeros
152
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
153
- LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
154
- SortableDateTime: "Y-m-d\\TH:i:s",
155
- UniversalSortableDateTime: "Y-m-d H:i:sO",
156
- // month with year
157
- // Y - A full numeric representation of a year, 4 digits
158
- // F - A full textual representation of a month
159
- YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
160
- },
161
- reformatAfterEdit : false
162
- },
163
- baseLinkUrl: '',
164
- showAction: '',
165
- target: '',
166
- checkbox : {disabled:true},
167
- idName : 'id'
168
- }
169
- });
170
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Vietnamese Translation
4
+ * Lê Đình Dũng dungtdc@gmail.com
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "View {0} - {1} of {2}",
14
+ emptyrecords: "Không có dữ liệu",
15
+ loadtext: "Đang nạp dữ liệu...",
16
+ pgtext : "Trang {0} trong tổng số {1}"
17
+ },
18
+ search : {
19
+ caption: "Tìm kiếm...",
20
+ Find: "Tìm",
21
+ Reset: "Khởi tạo lại",
22
+ odata: [{ oper:'eq', text:"bằng"},{ oper:'ne', text:"không bằng"},{ oper:'lt', text:"bé hơn"},{ oper:'le', text:"bé hơn hoặc bằng"},{ oper:'gt', text:"lớn hơn"},{ oper:'ge', text:"lớn hơn hoặc bằng"},{ oper:'bw', text:"bắt đầu với"},{ oper:'bn', text:"không bắt đầu với"},{ oper:'in', text:"trong"},{ oper:'ni', text:"không nằm trong"},{ oper:'ew', text:"kết thúc với"},{ oper:'en', text:"không kết thúc với"},{ oper:'cn', text:"chứa"},{ oper:'nc', text:"không chứa"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "VÀ", text: "tất cả" }, { op: "HOẶC", text: "bất kỳ" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Thêm bản ghi",
29
+ editCaption: "Sửa bản ghi",
30
+ bSubmit: "Gửi",
31
+ bCancel: "Hủy bỏ",
32
+ bClose: "Đóng",
33
+ saveData: "Dữ liệu đã thay đổi! Có lưu thay đổi không?",
34
+ bYes : "Có",
35
+ bNo : "Không",
36
+ bExit : "Hủy bỏ",
37
+ msg: {
38
+ required:"Trường dữ liệu bắt buộc có",
39
+ number:"Hãy điền đúng số",
40
+ minValue:"giá trị phải lớn hơn hoặc bằng với ",
41
+ maxValue:"giá trị phải bé hơn hoặc bằng",
42
+ email: "không phải là một email đúng",
43
+ integer: "Hãy điền đúng số nguyên",
44
+ date: "Hãy điền đúng ngày tháng",
45
+ url: "không phải là URL. Khởi đầu bắt buộc là ('http://' hoặc 'https://')",
46
+ nodefined : " chưa được định nghĩa!",
47
+ novalue : " giá trị trả về bắt buộc phải có!",
48
+ customarray : "Hàm nên trả về một mảng!",
49
+ customfcheck : "Custom function should be present in case of custom checking!"
50
+
51
+ }
52
+ },
53
+ view : {
54
+ caption: "Xem bản ghi",
55
+ bClose: "Đóng"
56
+ },
57
+ del : {
58
+ caption: "Xóa",
59
+ msg: "Xóa bản ghi đã chọn?",
60
+ bSubmit: "Xóa",
61
+ bCancel: "Hủy bỏ"
62
+ },
63
+ nav : {
64
+ edittext: "",
65
+ edittitle: "Sửa dòng đã chọn",
66
+ addtext:"",
67
+ addtitle: "Thêm mới 1 dòng",
68
+ deltext: "",
69
+ deltitle: "Xóa dòng đã chọn",
70
+ searchtext: "",
71
+ searchtitle: "Tìm bản ghi",
72
+ refreshtext: "",
73
+ refreshtitle: "Nạp lại lưới",
74
+ alertcap: "Cảnh báo",
75
+ alerttext: "Hãy chọn một dòng",
76
+ viewtext: "",
77
+ viewtitle: "Xem dòng đã chọn"
78
+ },
79
+ col : {
80
+ caption: "Chọn cột",
81
+ bSubmit: "OK",
82
+ bCancel: "Hủy bỏ"
83
+ },
84
+ errors : {
85
+ errcap : "Lỗi",
86
+ nourl : "không url được đặt",
87
+ norecords: "Không có bản ghi để xử lý",
88
+ model : "Chiều dài của colNames <> colModel!"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
92
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
93
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0'},
94
+ date : {
95
+ dayNames: [
96
+ "CN", "T2", "T3", "T4", "T5", "T6", "T7",
97
+ "Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy"
98
+ ],
99
+ monthNames: [
100
+ "Th1", "Th2", "Th3", "Th4", "Th5", "Th6", "Th7", "Th8", "Th9", "Th10", "Th11", "Th12",
101
+ "Tháng một", "Tháng hai", "Tháng ba", "Tháng tư", "Tháng năm", "Tháng sáu", "Tháng bảy", "Tháng tám", "Tháng chín", "Tháng mười", "Tháng mười một", "Tháng mười hai"
102
+ ],
103
+ AmPm : ["sáng","chiều","SÁNG","CHIỀU"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'n/j/Y',
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
110
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
111
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
112
+ // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
113
+ // information about date, time, numbers and currency formats used in different countries
114
+ // one should just convert the information in PHP format
115
+ ISO8601Long:"Y-m-d H:i:s",
116
+ ISO8601Short:"Y-m-d",
117
+ // short date:
118
+ // n - Numeric representation of a month, without leading zeros
119
+ // j - Day of the month without leading zeros
120
+ // Y - A full numeric representation of a year, 4 digits
121
+ // example: 3/1/2012 which means 1 March 2012
122
+ ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
123
+ // long date:
124
+ // l - A full textual representation of the day of the week
125
+ // F - A full textual representation of a month
126
+ // d - Day of the month, 2 digits with leading zeros
127
+ // Y - A full numeric representation of a year, 4 digits
128
+ LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
129
+ // long date with long time:
130
+ // l - A full textual representation of the day of the week
131
+ // F - A full textual representation of a month
132
+ // d - Day of the month, 2 digits with leading zeros
133
+ // Y - A full numeric representation of a year, 4 digits
134
+ // g - 12-hour format of an hour without leading zeros
135
+ // i - Minutes with leading zeros
136
+ // s - Seconds, with leading zeros
137
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
138
+ FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
139
+ // month day:
140
+ // F - A full textual representation of a month
141
+ // d - Day of the month, 2 digits with leading zeros
142
+ MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
143
+ // short time (without seconds)
144
+ // g - 12-hour format of an hour without leading zeros
145
+ // i - Minutes with leading zeros
146
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
147
+ ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
148
+ // long time (with seconds)
149
+ // g - 12-hour format of an hour without leading zeros
150
+ // i - Minutes with leading zeros
151
+ // s - Seconds, with leading zeros
152
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
153
+ LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
154
+ SortableDateTime: "Y-m-d\\TH:i:s",
155
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
156
+ // month with year
157
+ // Y - A full numeric representation of a year, 4 digits
158
+ // F - A full textual representation of a month
159
+ YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
160
+ },
161
+ reformatAfterEdit : false
162
+ },
163
+ baseLinkUrl: '',
164
+ showAction: '',
165
+ target: '',
166
+ checkbox : {disabled:true},
167
+ idName : 'id'
168
+ }
169
+ });
170
+ })(jQuery);
app/assets/js/libraries/bootstrap/bootstrap.min.js CHANGED
@@ -1,11 +1,11 @@
1
- /*!
2
- * Bootstrap v3.3.1 (http://getbootstrap.com)
3
- * Copyright 2011-2015 Twitter, Inc.
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
- */
6
-
7
- /*!
8
- * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=d0958b1794002b881652)
9
- * Config saved to config.json and https://gist.github.com/d0958b1794002b881652
10
- */
11
  if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.tooltip"),s="object"==typeof e&&e,r=s&&s.selector;(n||"destroy"!=e)&&(r?(n||o.data("bs.tooltip",n={}),n[r]||(n[r]=new i(this,s))):n||o.data("bs.tooltip",n=new i(this,s)),"string"==typeof e&&n[e]())})}var i=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)};i.VERSION="3.3.1",i.TRANSITION_DURATION=150,i.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(e,i,o){this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport);for(var n=this.options.trigger.split(" "),s=n.length;s--;){var r=n[s];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",p="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(p+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},i.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,o){i[t]!=o&&(e[t]=o)}),e},i.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i&&i.$tip&&i.$tip.is(":visible")?void(i.hoverState="in"):(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},i.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide()},i.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var o=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!o)return;var n=this,s=this.tip(),r=this.getUID(this.type);this.setContent(),s.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&s.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,p=/\s?auto?\s?/i,l=p.test(a);l&&(a=a.replace(p,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element);var h=this.getPosition(),f=s[0].offsetWidth,u=s[0].offsetHeight;if(l){var d=a,c=this.options.container?t(this.options.container):this.$element.parent(),g=this.getPosition(c);a="bottom"==a&&h.bottom+u>g.bottom?"top":"top"==a&&h.top-u<g.top?"bottom":"right"==a&&h.right+f>g.width?"left":"left"==a&&h.left-f<g.left?"right":a,s.removeClass(d).addClass(a)}var v=this.getCalculatedOffset(a,h,f,u);this.applyPlacement(v,a);var y=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",y).emulateTransitionEnd(i.TRANSITION_DURATION):y()}},i.prototype.applyPlacement=function(e,i){var o=this.tip(),n=o[0].offsetWidth,s=o[0].offsetHeight,r=parseInt(o.css("margin-top"),10),a=parseInt(o.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),e.top=e.top+r,e.left=e.left+a,t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),o.addClass("in");var p=o[0].offsetWidth,l=o[0].offsetHeight;"top"==i&&l!=s&&(e.top=e.top+s-l);var h=this.getViewportAdjustedDelta(i,e,p,l);h.left?e.left+=h.left:e.top+=h.top;var f=/top|bottom/.test(i),u=f?2*h.left-n+p:2*h.top-s+l,d=f?"offsetWidth":"offsetHeight";o.offset(e),this.replaceArrow(u,o[0][d],f)},i.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},i.prototype.hide=function(e){function o(){"in"!=n.hoverState&&s.detach(),n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),e&&e()}var n=this,s=this.tip(),r=t.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(s.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",o).emulateTransitionEnd(i.TRANSITION_DURATION):o(),this.hoverState=null,this)},i.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},i.prototype.hasContent=function(){return this.getTitle()},i.prototype.getPosition=function(e){e=e||this.$element;var i=e[0],o="BODY"==i.tagName,n=i.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var s=o?{top:0,left:0}:e.offset(),r={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,r,a,s)},i.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},i.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-s-r.scroll,p=e.top+s-r.scroll+o;a<r.top?n.top=r.top-a:p>r.top+r.height&&(n.top=r.top+r.height-p)}else{var l=e.left-s,h=e.left+s+i;l<r.left?n.left=r.left-l:h>r.width&&(n.left=r.left+r.width-h)}return n},i.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},i.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},i.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(e){var i=this;e&&(i=t(e.currentTarget).data("bs."+this.type),i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),i.tip().hasClass("in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var o=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=i,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=o,this}}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,o=this;t(this).one("bsTransitionEnd",function(){i=!0});var n=function(){i||t(o).trigger(t.support.transition.end)};return setTimeout(n,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery);
1
+ /*!
2
+ * Bootstrap v3.3.1 (http://getbootstrap.com)
3
+ * Copyright 2011-2015 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+
7
+ /*!
8
+ * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=d0958b1794002b881652)
9
+ * Config saved to config.json and https://gist.github.com/d0958b1794002b881652
10
+ */
11
  if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.tooltip"),s="object"==typeof e&&e,r=s&&s.selector;(n||"destroy"!=e)&&(r?(n||o.data("bs.tooltip",n={}),n[r]||(n[r]=new i(this,s))):n||o.data("bs.tooltip",n=new i(this,s)),"string"==typeof e&&n[e]())})}var i=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)};i.VERSION="3.3.1",i.TRANSITION_DURATION=150,i.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(e,i,o){this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport);for(var n=this.options.trigger.split(" "),s=n.length;s--;){var r=n[s];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",p="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(p+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},i.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,o){i[t]!=o&&(e[t]=o)}),e},i.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i&&i.$tip&&i.$tip.is(":visible")?void(i.hoverState="in"):(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},i.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide()},i.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var o=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!o)return;var n=this,s=this.tip(),r=this.getUID(this.type);this.setContent(),s.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&s.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,p=/\s?auto?\s?/i,l=p.test(a);l&&(a=a.replace(p,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element);var h=this.getPosition(),f=s[0].offsetWidth,u=s[0].offsetHeight;if(l){var d=a,c=this.options.container?t(this.options.container):this.$element.parent(),g=this.getPosition(c);a="bottom"==a&&h.bottom+u>g.bottom?"top":"top"==a&&h.top-u<g.top?"bottom":"right"==a&&h.right+f>g.width?"left":"left"==a&&h.left-f<g.left?"right":a,s.removeClass(d).addClass(a)}var v=this.getCalculatedOffset(a,h,f,u);this.applyPlacement(v,a);var y=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",y).emulateTransitionEnd(i.TRANSITION_DURATION):y()}},i.prototype.applyPlacement=function(e,i){var o=this.tip(),n=o[0].offsetWidth,s=o[0].offsetHeight,r=parseInt(o.css("margin-top"),10),a=parseInt(o.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),e.top=e.top+r,e.left=e.left+a,t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),o.addClass("in");var p=o[0].offsetWidth,l=o[0].offsetHeight;"top"==i&&l!=s&&(e.top=e.top+s-l);var h=this.getViewportAdjustedDelta(i,e,p,l);h.left?e.left+=h.left:e.top+=h.top;var f=/top|bottom/.test(i),u=f?2*h.left-n+p:2*h.top-s+l,d=f?"offsetWidth":"offsetHeight";o.offset(e),this.replaceArrow(u,o[0][d],f)},i.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},i.prototype.hide=function(e){function o(){"in"!=n.hoverState&&s.detach(),n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),e&&e()}var n=this,s=this.tip(),r=t.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(s.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",o).emulateTransitionEnd(i.TRANSITION_DURATION):o(),this.hoverState=null,this)},i.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},i.prototype.hasContent=function(){return this.getTitle()},i.prototype.getPosition=function(e){e=e||this.$element;var i=e[0],o="BODY"==i.tagName,n=i.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var s=o?{top:0,left:0}:e.offset(),r={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,r,a,s)},i.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},i.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-s-r.scroll,p=e.top+s-r.scroll+o;a<r.top?n.top=r.top-a:p>r.top+r.height&&(n.top=r.top+r.height-p)}else{var l=e.left-s,h=e.left+s+i;l<r.left?n.left=r.left-l:h>r.width&&(n.left=r.left+r.width-h)}return n},i.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},i.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},i.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(e){var i=this;e&&(i=t(e.currentTarget).data("bs."+this.type),i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),i.tip().hasClass("in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var o=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=i,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=o,this}}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,o=this;t(this).one("bsTransitionEnd",function(){i=!0});var n=function(){i||t(o).trigger(t.support.transition.end)};return setTimeout(n,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery);
app/assets/js/libraries/jqGrid/jquery.jqGrid.min.js CHANGED
@@ -1,545 +1,545 @@
1
- /*
2
- * jqGrid 4.6.0 - jQuery Grid
3
- * Copyright (c) 2008, Tony Tomov, tony@trirand.com
4
- * Dual licensed under the MIT or GPL licenses
5
- * http://www.opensource.org/licenses/mit-license.php
6
- * http://www.gnu.org/licenses/gpl-2.0.html
7
- * Date:2014-02-20
8
- * Modules: grid.base.js; jquery.fmatter.js; grid.custom.js; grid.common.js; grid.formedit.js; grid.filter.js; grid.inlinedit.js; grid.celledit.js; jqModal.js; jqDnR.js; grid.subgrid.js; grid.grouping.js; grid.treegrid.js; grid.pivot.js; grid.import.js; JsonXml.js; grid.tbltogrid.js; grid.jqueryui.js;
9
- */
10
- (function(b){b.jgrid=b.jgrid||{};b.extend(b.jgrid,{version:"4.6.0",htmlDecode:function(b){return b&&("&nbsp;"===b||"&#160;"===b||1===b.length&&160===b.charCodeAt(0))?"":b?String(b).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&quot;/g,'"').replace(/&amp;/g,"&"):b},htmlEncode:function(b){return b?String(b).replace(/&/g,"&amp;").replace(/\"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):b},format:function(e){var f=b.makeArray(arguments).slice(1);null==e&&(e="");return e.replace(/\{(\d+)\}/g,
11
- function(b,d){return f[d]})},msie:"Microsoft Internet Explorer"===navigator.appName,msiever:function(){var b=-1;null!=/MSIE ([0-9]{1,}[.0-9]{0,})/.exec(navigator.userAgent)&&(b=parseFloat(RegExp.$1));return b},getCellIndex:function(e){e=b(e);if(e.is("tr"))return-1;e=(e.is("td")||e.is("th")?e:e.closest("td,th"))[0];return b.jgrid.msie?b.inArray(e,e.parentNode.cells):e.cellIndex},stripHtml:function(b){b=String(b);var f=/<("[^"]*"|'[^']*'|[^'">])*>/gi;return b?(b=b.replace(f,""))&&"&nbsp;"!==b&&"&#160;"!==
12
- b?b.replace(/\"/g,"'"):"":b},stripPref:function(e,f){var c=b.type(e);if("string"===c||"number"===c)e=String(e),f=""!==e?String(f).replace(String(e),""):f;return f},parse:function(e){"while(1);"===e.substr(0,9)&&(e=e.substr(9));"/*"===e.substr(0,2)&&(e=e.substr(2,e.length-4));e||(e="{}");return!0===b.jgrid.useJSON&&"object"===typeof JSON&&"function"===typeof JSON.parse?JSON.parse(e):eval("("+e+")")},parseDate:function(e,f,c,d){var a=/^\/Date\((([-+])?[0-9]+)(([-+])([0-9]{2})([0-9]{2}))?\)\/$/,l="string"===
13
- typeof f?f.match(a):null,a=function(a,b){a=String(a);for(b=parseInt(b,10)||2;a.length<b;)a="0"+a;return a},g={m:1,d:1,y:1970,h:0,i:0,s:0,u:0},h=0,k,n,h=function(a,b){0===a?12===b&&(b=0):12!==b&&(b+=12);return b};void 0===d&&(d=b.jgrid.formatter.date);void 0===d.parseRe&&(d.parseRe=/[#%\\\/:_;.,\t\s-]/);d.masks.hasOwnProperty(e)&&(e=d.masks[e]);if(f&&null!=f)if(isNaN(f-0)||"u"!==String(e).toLowerCase())if(f.constructor===Date)h=f;else if(null!==l){if(h=new Date(parseInt(l[1],10)),l[3]){var m=60*Number(l[5])+
14
- Number(l[6]),m=m*("-"===l[4]?1:-1),m=m-h.getTimezoneOffset();h.setTime(Number(Number(h)+6E4*m))}}else{m=0;"ISO8601Long"===d.srcformat&&"Z"===f.charAt(f.length-1)&&(m-=(new Date).getTimezoneOffset());f=String(f).replace(/\T/g,"#").replace(/\t/,"%").split(d.parseRe);e=e.replace(/\T/g,"#").replace(/\t/,"%").split(d.parseRe);k=0;for(n=e.length;k<n;k++)"M"===e[k]&&(l=b.inArray(f[k],d.monthNames),-1!==l&&12>l&&(f[k]=l+1,g.m=f[k])),"F"===e[k]&&(l=b.inArray(f[k],d.monthNames,12),-1!==l&&11<l&&(f[k]=l+1-12,
15
- g.m=f[k])),"a"===e[k]&&(l=b.inArray(f[k],d.AmPm),-1!==l&&2>l&&f[k]===d.AmPm[l]&&(f[k]=l,g.h=h(f[k],g.h))),"A"===e[k]&&(l=b.inArray(f[k],d.AmPm),-1!==l&&1<l&&f[k]===d.AmPm[l]&&(f[k]=l-2,g.h=h(f[k],g.h))),"g"===e[k]&&(g.h=parseInt(f[k],10)),void 0!==f[k]&&(g[e[k].toLowerCase()]=parseInt(f[k],10));g.f&&(g.m=g.f);if(0===g.m&&0===g.y&&0===g.d)return"&#160;";g.m=parseInt(g.m,10)-1;h=g.y;70<=h&&99>=h?g.y=1900+g.y:0<=h&&69>=h&&(g.y=2E3+g.y);h=new Date(g.y,g.m,g.d,g.h,g.i,g.s,g.u);0<m&&h.setTime(Number(Number(h)+
16
- 6E4*m))}else h=new Date(1E3*parseFloat(f));else h=new Date(g.y,g.m,g.d,g.h,g.i,g.s,g.u);if(void 0===c)return h;d.masks.hasOwnProperty(c)?c=d.masks[c]:c||(c="Y-m-d");e=h.getHours();f=h.getMinutes();g=h.getDate();m=h.getMonth()+1;l=h.getTimezoneOffset();k=h.getSeconds();n=h.getMilliseconds();var r=h.getDay(),p=h.getFullYear(),q=(r+6)%7+1,x=(new Date(p,m-1,g)-new Date(p,0,1))/864E5,G={d:a(g),D:d.dayNames[r],j:g,l:d.dayNames[r+7],N:q,S:d.S(g),w:r,z:x,W:5>q?Math.floor((x+q-1)/7)+1:Math.floor((x+q-1)/7)||
17
- (4>((new Date(p-1,0,1)).getDay()+6)%7?53:52),F:d.monthNames[m-1+12],m:a(m),M:d.monthNames[m-1],n:m,t:"?",L:"?",o:"?",Y:p,y:String(p).substring(2),a:12>e?d.AmPm[0]:d.AmPm[1],A:12>e?d.AmPm[2]:d.AmPm[3],B:"?",g:e%12||12,G:e,h:a(e%12||12),H:a(e),i:a(f),s:a(k),u:n,e:"?",I:"?",O:(0<l?"-":"+")+a(100*Math.floor(Math.abs(l)/60)+Math.abs(l)%60,4),P:"?",T:(String(h).match(/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g)||
18
- [""]).pop().replace(/[^-+\dA-Z]/g,""),Z:"?",c:"?",r:"?",U:Math.floor(h/1E3)};return c.replace(/\\.|[dDjlNSwzWFmMntLoYyaABgGhHisueIOPTZcrU]/g,function(a){return G.hasOwnProperty(a)?G[a]:a.substring(1)})},jqID:function(b){return String(b).replace(/[!"#$%&'()*+,.\/:; <=>?@\[\\\]\^`{|}~]/g,"\\$&")},guid:1,uidPref:"jqg",randId:function(e){return(e||b.jgrid.uidPref)+b.jgrid.guid++},getAccessor:function(b,f){var c,d,a=[],l;if("function"===typeof f)return f(b);c=b[f];if(void 0===c)try{if("string"===typeof f&&
19
- (a=f.split(".")),l=a.length)for(c=b;c&&l--;)d=a.shift(),c=c[d]}catch(g){}return c},getXmlData:function(e,f,c){var d="string"===typeof f?f.match(/^(.*)\[(\w+)\]$/):null;if("function"===typeof f)return f(e);if(d&&d[2])return d[1]?b(d[1],e).attr(d[2]):b(e).attr(d[2]);e=b(f,e);return c?e:0<e.length?b(e).text():void 0},cellWidth:function(){var e=b("<div class='ui-jqgrid' style='left:10000px'><table class='ui-jqgrid-btable' style='width:5px;'><tr class='jqgrow'><td style='width:5px;display:block;'></td></tr></table></div>"),
20
- f=e.appendTo("body").find("td").width();e.remove();return 0.1<Math.abs(f-5)},cell_width:!0,ajaxOptions:{},from:function(e){return new function(e,c){"string"===typeof e&&(e=b.data(e));var d=this,a=e,l=!0,g=!1,h=c,k=/[\$,%]/g,n=null,m=null,r=0,p=!1,q="",x=[],G=!0;if("object"===typeof e&&e.push)0<e.length&&(G="object"!==typeof e[0]?!1:!0);else throw"data provides is not an array";this._hasData=function(){return null===a?!1:0===a.length?!1:!0};this._getStr=function(a){var b=[];g&&b.push("jQuery.trim(");
21
- b.push("String("+a+")");g&&b.push(")");l||b.push(".toLowerCase()");return b.join("")};this._strComp=function(a){return"string"===typeof a?".toString()":""};this._group=function(a,b){return{field:a.toString(),unique:b,items:[]}};this._toStr=function(a){g&&(a=b.trim(a));a=a.toString().replace(/\\/g,"\\\\").replace(/\"/g,'\\"');return l?a:a.toLowerCase()};this._funcLoop=function(d){var l=[];b.each(a,function(a,b){l.push(d(b))});return l};this._append=function(a){var b;h=null===h?"":h+(""===q?" && ":
22
- q);for(b=0;b<r;b++)h+="(";p&&(h+="!");h+="("+a+")";p=!1;q="";r=0};this._setCommand=function(a,b){n=a;m=b};this._resetNegate=function(){p=!1};this._repeatCommand=function(a,b){return null===n?d:null!==a&&null!==b?n(a,b):null!==m&&G?n(m,a):n(a)};this._equals=function(a,b){return 0===d._compare(a,b,1)};this._compare=function(a,b,d){var e=Object.prototype.toString;void 0===d&&(d=1);void 0===a&&(a=null);void 0===b&&(b=null);if(null===a&&null===b)return 0;if(null===a&&null!==b)return 1;if(null!==a&&null===
23
- b)return-1;if("[object Date]"===e.call(a)&&"[object Date]"===e.call(b))return a<b?-d:a>b?d:0;l||"number"===typeof a||"number"===typeof b||(a=String(a),b=String(b));return a<b?-d:a>b?d:0};this._performSort=function(){0!==x.length&&(a=d._doSort(a,0))};this._doSort=function(a,b){var l=x[b].by,e=x[b].dir,g=x[b].type,c=x[b].datefmt,f=x[b].sfunc;if(b===x.length-1)return d._getOrder(a,l,e,g,c,f);b++;l=d._getGroup(a,l,e,g,c);e=[];for(g=0;g<l.length;g++)for(f=d._doSort(l[g].items,b),c=0;c<f.length;c++)e.push(f[c]);
24
- return e};this._getOrder=function(a,e,g,c,f,h){var m=[],n=[],r="a"===g?1:-1,p,x;void 0===c&&(c="text");x="float"===c||"number"===c||"currency"===c||"numeric"===c?function(a){a=parseFloat(String(a).replace(k,""));return isNaN(a)?0:a}:"int"===c||"integer"===c?function(a){return a?parseFloat(String(a).replace(k,"")):0}:"date"===c||"datetime"===c?function(a){return b.jgrid.parseDate(f,a).getTime()}:b.isFunction(c)?c:function(a){a=a?b.trim(String(a)):"";return l?a:a.toLowerCase()};b.each(a,function(a,
25
- d){p=""!==e?b.jgrid.getAccessor(d,e):d;void 0===p&&(p="");p=x(p,d);n.push({vSort:p,index:a})});b.isFunction(h)?n.sort(function(a,b){a=a.vSort;b=b.vSort;return h.call(this,a,b,r)}):n.sort(function(a,b){a=a.vSort;b=b.vSort;return d._compare(a,b,r)});c=0;for(var q=a.length;c<q;)g=n[c].index,m.push(a[g]),c++;return m};this._getGroup=function(a,c,e,l,g){var f=[],h=null,k=null,m;b.each(d._getOrder(a,c,e,l,g),function(a,e){m=b.jgrid.getAccessor(e,c);null==m&&(m="");d._equals(k,m)||(k=m,null!==h&&f.push(h),
26
- h=d._group(c,m));h.items.push(e)});null!==h&&f.push(h);return f};this.ignoreCase=function(){l=!1;return d};this.useCase=function(){l=!0;return d};this.trim=function(){g=!0;return d};this.noTrim=function(){g=!1;return d};this.execute=function(){var c=h,e=[];if(null===c)return d;b.each(a,function(){eval(c)&&e.push(this)});a=e;return d};this.data=function(){return a};this.select=function(c){d._performSort();if(!d._hasData())return[];d.execute();if(b.isFunction(c)){var e=[];b.each(a,function(a,b){e.push(c(b))});
27
- return e}return a};this.hasMatch=function(){if(!d._hasData())return!1;d.execute();return 0<a.length};this.andNot=function(a,b,c){p=!p;return d.and(a,b,c)};this.orNot=function(a,b,c){p=!p;return d.or(a,b,c)};this.not=function(a,b,c){return d.andNot(a,b,c)};this.and=function(a,b,c){q=" && ";return void 0===a?d:d._repeatCommand(a,b,c)};this.or=function(a,b,c){q=" || ";return void 0===a?d:d._repeatCommand(a,b,c)};this.orBegin=function(){r++;return d};this.orEnd=function(){null!==h&&(h+=")");return d};
28
- this.isNot=function(a){p=!p;return d.is(a)};this.is=function(a){d._append("this."+a);d._resetNegate();return d};this._compareValues=function(a,c,e,l,g){var f;f=G?"jQuery.jgrid.getAccessor(this,'"+c+"')":"this";void 0===e&&(e=null);var h=e,m=void 0===g.stype?"text":g.stype;if(null!==e)switch(m){case "int":case "integer":h=isNaN(Number(h))||""===h?"0":h;f="parseInt("+f+",10)";h="parseInt("+h+",10)";break;case "float":case "number":case "numeric":h=String(h).replace(k,"");h=isNaN(Number(h))||""===h?
29
- "0":h;f="parseFloat("+f+")";h="parseFloat("+h+")";break;case "date":case "datetime":h=String(b.jgrid.parseDate(g.newfmt||"Y-m-d",h).getTime());f='jQuery.jgrid.parseDate("'+g.srcfmt+'",'+f+").getTime()";break;default:f=d._getStr(f),h=d._getStr('"'+d._toStr(h)+'"')}d._append(f+" "+l+" "+h);d._setCommand(a,c);d._resetNegate();return d};this.equals=function(a,b,c){return d._compareValues(d.equals,a,b,"==",c)};this.notEquals=function(a,b,c){return d._compareValues(d.equals,a,b,"!==",c)};this.isNull=function(a,
30
- b,c){return d._compareValues(d.equals,a,null,"===",c)};this.greater=function(a,b,c){return d._compareValues(d.greater,a,b,">",c)};this.less=function(a,b,c){return d._compareValues(d.less,a,b,"<",c)};this.greaterOrEquals=function(a,b,c){return d._compareValues(d.greaterOrEquals,a,b,">=",c)};this.lessOrEquals=function(a,b,c){return d._compareValues(d.lessOrEquals,a,b,"<=",c)};this.startsWith=function(a,c){var e=null==c?a:c,e=g?b.trim(e.toString()).length:e.toString().length;G?d._append(d._getStr("jQuery.jgrid.getAccessor(this,'"+
31
- a+"')")+".substr(0,"+e+") == "+d._getStr('"'+d._toStr(c)+'"')):(null!=c&&(e=g?b.trim(c.toString()).length:c.toString().length),d._append(d._getStr("this")+".substr(0,"+e+") == "+d._getStr('"'+d._toStr(a)+'"')));d._setCommand(d.startsWith,a);d._resetNegate();return d};this.endsWith=function(a,c){var e=null==c?a:c,e=g?b.trim(e.toString()).length:e.toString().length;G?d._append(d._getStr("jQuery.jgrid.getAccessor(this,'"+a+"')")+".substr("+d._getStr("jQuery.jgrid.getAccessor(this,'"+a+"')")+".length-"+
32
- e+","+e+') == "'+d._toStr(c)+'"'):d._append(d._getStr("this")+".substr("+d._getStr("this")+'.length-"'+d._toStr(a)+'".length,"'+d._toStr(a)+'".length) == "'+d._toStr(a)+'"');d._setCommand(d.endsWith,a);d._resetNegate();return d};this.contains=function(a,b){G?d._append(d._getStr("jQuery.jgrid.getAccessor(this,'"+a+"')")+'.indexOf("'+d._toStr(b)+'",0) > -1'):d._append(d._getStr("this")+'.indexOf("'+d._toStr(a)+'",0) > -1');d._setCommand(d.contains,a);d._resetNegate();return d};this.groupBy=function(b,
33
- c,e,l){return d._hasData()?d._getGroup(a,b,c,e,l):null};this.orderBy=function(a,c,e,l,g){c=null==c?"a":b.trim(c.toString().toLowerCase());null==e&&(e="text");null==l&&(l="Y-m-d");null==g&&(g=!1);if("desc"===c||"descending"===c)c="d";if("asc"===c||"ascending"===c)c="a";x.push({by:a,dir:c,type:e,datefmt:l,sfunc:g});return d};return d}(e,null)},getMethod:function(e){return this.getAccessor(b.fn.jqGrid,e)},extend:function(e){b.extend(b.fn.jqGrid,e);this.no_legacy_api||b.fn.extend(e)}});b.fn.jqGrid=function(e){if("string"===
34
- typeof e){var f=b.jgrid.getMethod(e);if(!f)throw"jqGrid - No such method: "+e;var c=b.makeArray(arguments).slice(1);return f.apply(this,c)}return this.each(function(){if(!this.grid){var d=b.extend(!0,{url:"",height:150,page:1,rowNum:20,rowTotal:null,records:0,pager:"",pgbuttons:!0,pginput:!0,colModel:[],rowList:[],colNames:[],sortorder:"asc",sortname:"",datatype:"xml",mtype:"GET",altRows:!1,selarrrow:[],savedRow:[],shrinkToFit:!0,xmlReader:{},jsonReader:{},subGrid:!1,subGridModel:[],reccount:0,lastpage:0,
35
- lastsort:0,selrow:null,beforeSelectRow:null,onSelectRow:null,onSortCol:null,ondblClickRow:null,onRightClickRow:null,onPaging:null,onSelectAll:null,onInitGrid:null,loadComplete:null,gridComplete:null,loadError:null,loadBeforeSend:null,afterInsertRow:null,beforeRequest:null,beforeProcessing:null,onHeaderClick:null,viewrecords:!1,loadonce:!1,multiselect:!1,multikey:!1,editurl:null,search:!1,caption:"",hidegrid:!0,hiddengrid:!1,postData:{},userData:{},treeGrid:!1,treeGridModel:"nested",treeReader:{},
36
- treeANode:-1,ExpandColumn:null,tree_root_level:0,prmNames:{page:"page",rows:"rows",sort:"sidx",order:"sord",search:"_search",nd:"nd",id:"id",oper:"oper",editoper:"edit",addoper:"add",deloper:"del",subgridid:"id",npage:null,totalrows:"totalrows"},forceFit:!1,gridstate:"visible",cellEdit:!1,cellsubmit:"remote",nv:0,loadui:"enable",toolbar:[!1,""],scroll:!1,multiboxonly:!1,deselectAfterSort:!0,scrollrows:!1,autowidth:!1,scrollOffset:18,cellLayout:5,subGridWidth:20,multiselectWidth:20,gridview:!1,rownumWidth:25,
37
- rownumbers:!1,pagerpos:"center",recordpos:"right",footerrow:!1,userDataOnFooter:!1,hoverrows:!0,altclass:"ui-priority-secondary",viewsortcols:[!1,"vertical",!0],resizeclass:"",autoencode:!1,remapColumns:[],ajaxGridOptions:{},direction:"ltr",toppager:!1,headertitles:!1,scrollTimeout:40,data:[],_index:{},grouping:!1,groupingView:{groupField:[],groupOrder:[],groupText:[],groupColumnShow:[],groupSummary:[],showSummaryOnHide:!1,sortitems:[],sortnames:[],summary:[],summaryval:[],plusicon:"ui-icon-circlesmall-plus",
38
- minusicon:"ui-icon-circlesmall-minus",displayField:[],groupSummaryPos:[],formatDisplayField:[],_locgr:!1},ignoreCase:!1,cmTemplate:{},idPrefix:"",multiSort:!1},b.jgrid.defaults,e||{}),a=this,c={headers:[],cols:[],footers:[],dragStart:function(c,e,g){var f=b(this.bDiv).offset().left;this.resizing={idx:c,startX:e.clientX,sOL:e.clientX-f};this.hDiv.style.cursor="col-resize";this.curGbox=b("#rs_m"+b.jgrid.jqID(d.id),"#gbox_"+b.jgrid.jqID(d.id));this.curGbox.css({display:"block",left:e.clientX-f,top:g[1],
39
- height:g[2]});b(a).triggerHandler("jqGridResizeStart",[e,c]);b.isFunction(d.resizeStart)&&d.resizeStart.call(a,e,c);document.onselectstart=function(){return!1}},dragMove:function(a){if(this.resizing){var b=a.clientX-this.resizing.startX;a=this.headers[this.resizing.idx];var c="ltr"===d.direction?a.width+b:a.width-b,e;33<c&&(this.curGbox.css({left:this.resizing.sOL+b}),!0===d.forceFit?(e=this.headers[this.resizing.idx+d.nv],b="ltr"===d.direction?e.width-b:e.width+b,33<b&&(a.newWidth=c,e.newWidth=b)):
40
- (this.newWidth="ltr"===d.direction?d.tblwidth+b:d.tblwidth-b,a.newWidth=c))}},dragEnd:function(){this.hDiv.style.cursor="default";if(this.resizing){var c=this.resizing.idx,e=this.headers[c].newWidth||this.headers[c].width,e=parseInt(e,10);this.resizing=!1;b("#rs_m"+b.jgrid.jqID(d.id)).css("display","none");d.colModel[c].width=e;this.headers[c].width=e;this.headers[c].el.style.width=e+"px";this.cols[c].style.width=e+"px";0<this.footers.length&&(this.footers[c].style.width=e+"px");!0===d.forceFit?(e=
41
- this.headers[c+d.nv].newWidth||this.headers[c+d.nv].width,this.headers[c+d.nv].width=e,this.headers[c+d.nv].el.style.width=e+"px",this.cols[c+d.nv].style.width=e+"px",0<this.footers.length&&(this.footers[c+d.nv].style.width=e+"px"),d.colModel[c+d.nv].width=e):(d.tblwidth=this.newWidth||d.tblwidth,b("table:first",this.bDiv).css("width",d.tblwidth+"px"),b("table:first",this.hDiv).css("width",d.tblwidth+"px"),this.hDiv.scrollLeft=this.bDiv.scrollLeft,d.footerrow&&(b("table:first",this.sDiv).css("width",
42
- d.tblwidth+"px"),this.sDiv.scrollLeft=this.bDiv.scrollLeft));b(a).triggerHandler("jqGridResizeStop",[e,c]);b.isFunction(d.resizeStop)&&d.resizeStop.call(a,e,c)}this.curGbox=null;document.onselectstart=function(){return!0}},populateVisible:function(){c.timer&&clearTimeout(c.timer);c.timer=null;var a=b(c.bDiv).height();if(a){var e=b("table:first",c.bDiv),g,f;if(e[0].rows.length)try{f=(g=e[0].rows[1])?b(g).outerHeight()||c.prevRowHeight:c.prevRowHeight}catch(pa){f=c.prevRowHeight}if(f){c.prevRowHeight=
43
- f;var h=d.rowNum;g=c.scrollTop=c.bDiv.scrollTop;var k=Math.round(e.position().top)-g,m=k+e.height();f*=h;var E,n,C;m<a&&0>=k&&(void 0===d.lastpage||parseInt((m+g+f-1)/f,10)<=d.lastpage)&&(n=parseInt((a-m+f-1)/f,10),0<=m||2>n||!0===d.scroll?(E=Math.round((m+g)/f)+1,k=-1):k=1);0<k&&(E=parseInt(g/f,10)+1,n=parseInt((g+a)/f,10)+2-E,C=!0);!n||d.lastpage&&(E>d.lastpage||1===d.lastpage||E===d.page&&E===d.lastpage)||(c.hDiv.loading?c.timer=setTimeout(c.populateVisible,d.scrollTimeout):(d.page=E,C&&(c.selectionPreserver(e[0]),
44
- c.emptyRows.call(e[0],!1,!1)),c.populate(n)))}}},scrollGrid:function(a){if(d.scroll){var b=c.bDiv.scrollTop;void 0===c.scrollTop&&(c.scrollTop=0);b!==c.scrollTop&&(c.scrollTop=b,c.timer&&clearTimeout(c.timer),c.timer=setTimeout(c.populateVisible,d.scrollTimeout))}c.hDiv.scrollLeft=c.bDiv.scrollLeft;d.footerrow&&(c.sDiv.scrollLeft=c.bDiv.scrollLeft);a&&a.stopPropagation()},selectionPreserver:function(a){var c=a.p,d=c.selrow,e=c.selarrrow?b.makeArray(c.selarrrow):null,f=a.grid.bDiv.scrollLeft,g=function(){var h;
45
- c.selrow=null;c.selarrrow=[];if(c.multiselect&&e&&0<e.length)for(h=0;h<e.length;h++)e[h]!==d&&b(a).jqGrid("setSelection",e[h],!1,null);d&&b(a).jqGrid("setSelection",d,!1,null);a.grid.bDiv.scrollLeft=f;b(a).unbind(".selectionPreserver",g)};b(a).bind("jqGridGridComplete.selectionPreserver",g)}};if("TABLE"!==this.tagName.toUpperCase())alert("Element is not a table");else if(void 0!==document.documentMode&&5>=document.documentMode)alert("Grid can not be used in this ('quirks') mode!");else{b(this).empty().attr("tabindex",
46
- "0");this.p=d;this.p.useProp=!!b.fn.prop;var g,f;if(0===this.p.colNames.length)for(g=0;g<this.p.colModel.length;g++)this.p.colNames[g]=this.p.colModel[g].label||this.p.colModel[g].name;if(this.p.colNames.length!==this.p.colModel.length)alert(b.jgrid.errors.model);else{var k=b("<div class='ui-jqgrid-view'></div>"),n=b.jgrid.msie;a.p.direction=b.trim(a.p.direction.toLowerCase());-1===b.inArray(a.p.direction,["ltr","rtl"])&&(a.p.direction="ltr");f=a.p.direction;b(k).insertBefore(this);b(this).removeClass("scroll").appendTo(k);
47
- var m=b("<div class='ui-jqgrid ui-widget ui-widget-content ui-corner-all'></div>");b(m).attr({id:"gbox_"+this.id,dir:f}).insertBefore(k);b(k).attr("id","gview_"+this.id).appendTo(m);b("<div class='ui-widget-overlay jqgrid-overlay' id='lui_"+this.id+"'></div>").insertBefore(k);b("<div class='loading ui-state-default ui-state-active' id='load_"+this.id+"'>"+this.p.loadtext+"</div>").insertBefore(k);b(this).attr({cellspacing:"0",cellpadding:"0",border:"0",role:"grid","aria-multiselectable":!!this.p.multiselect,
48
- "aria-labelledby":"gbox_"+this.id});var r=function(a,b){a=parseInt(a,10);return isNaN(a)?b||0:a},p=function(d,e,f,g,pa,h){var k=a.p.colModel[d],m=k.align,E='style="',n=k.classes,C=k.name,A=[];m&&(E+="text-align:"+m+";");!0===k.hidden&&(E+="display:none;");if(0===e)E+="width: "+c.headers[d].width+"px;";else if(k.cellattr&&b.isFunction(k.cellattr)&&(d=k.cellattr.call(a,pa,f,g,k,h))&&"string"===typeof d)if(d=d.replace(/style/i,"style").replace(/title/i,"title"),-1<d.indexOf("title")&&(k.title=!1),-1<
49
- d.indexOf("class")&&(n=void 0),A=d.replace("-style","-sti").split(/style/),2===A.length){A[1]=b.trim(A[1].replace("-sti","-style").replace("=",""));if(0===A[1].indexOf("'")||0===A[1].indexOf('"'))A[1]=A[1].substring(1);E+=A[1].replace(/'/gi,'"')}else E+='"';A.length||(A[0]="",E+='"');E+=(void 0!==n?' class="'+n+'"':"")+(k.title&&f?' title="'+b.jgrid.stripHtml(f)+'"':"");E+=' aria-describedby="'+a.p.id+"_"+C+'"';return E+A[0]},q=function(c){return null==c||""===c?"&#160;":a.p.autoencode?b.jgrid.htmlEncode(c):
50
- String(c)},x=function(c,d,e,f,g){var h=a.p.colModel[e];void 0!==h.formatter?(c=""!==String(a.p.idPrefix)?b.jgrid.stripPref(a.p.idPrefix,c):c,c={rowId:c,colModel:h,gid:a.p.id,pos:e},d=b.isFunction(h.formatter)?h.formatter.call(a,d,c,f,g):b.fmatter?b.fn.fmatter.call(a,h.formatter,d,c,f,g):q(d)):d=q(d);return d},G=function(a,b,c,d,e,f){b=x(a,b,c,e,"add");return'<td role="gridcell" '+p(c,d,b,e,a,f)+">"+b+"</td>"},U=function(b,c,d,e){e='<input role="checkbox" type="checkbox" id="jqg_'+a.p.id+"_"+b+'" class="cbox" name="jqg_'+
51
- a.p.id+"_"+b+'"'+(e?'checked="checked"':"")+"/>";return'<td role="gridcell" '+p(c,d,"",null,b,!0)+">"+e+"</td>"},M=function(a,b,c,d){c=(parseInt(c,10)-1)*parseInt(d,10)+1+b;return'<td role="gridcell" class="ui-state-default jqgrid-rownum" '+p(a,b,c,null,b,!0)+">"+c+"</td>"},ea=function(b){var c,d=[],e=0,f;for(f=0;f<a.p.colModel.length;f++)c=a.p.colModel[f],"cb"!==c.name&&"subgrid"!==c.name&&"rn"!==c.name&&(d[e]="local"===b?c.name:"xml"===b||"xmlstring"===b?c.xmlmap||c.name:c.jsonmap||c.name,!1!==
52
- a.p.keyIndex&&!0===c.key&&(a.p.keyName=d[e]),e++);return d},W=function(c){var d=a.p.remapColumns;d&&d.length||(d=b.map(a.p.colModel,function(a,b){return b}));c&&(d=b.map(d,function(a){return a<c?null:a-c}));return d},X=function(a,c){var d;this.p.deepempty?b(this.rows).slice(1).remove():(d=0<this.rows.length?this.rows[0]:null,b(this.firstChild).empty().append(d));a&&this.p.scroll&&(b(this.grid.bDiv.firstChild).css({height:"auto"}),b(this.grid.bDiv.firstChild.firstChild).css({height:0,display:"none"}),
53
- 0!==this.grid.bDiv.scrollTop&&(this.grid.bDiv.scrollTop=0));!0===c&&this.p.treeGrid&&(this.p.data=[],this.p._index={})},O=function(){var c=a.p.data.length,d,e,f;d=!0===a.p.rownumbers?1:0;e=!0===a.p.multiselect?1:0;f=!0===a.p.subGrid?1:0;d=!1===a.p.keyIndex||!0===a.p.loadonce?a.p.localReader.id:a.p.colModel[a.p.keyIndex+e+f+d].name;for(e=0;e<c;e++)f=b.jgrid.getAccessor(a.p.data[e],d),void 0===f&&(f=String(e+1)),a.p._index[f]=e},$=function(c,d,e,f,g,h){var l="-1",k="",m;d=d?"display:none;":"";e="ui-widget-content jqgrow ui-row-"+
54
- a.p.direction+(e?" "+e:"")+(h?" ui-state-highlight":"");h=b(a).triggerHandler("jqGridRowAttr",[f,g,c]);"object"!==typeof h&&(h=b.isFunction(a.p.rowattr)?a.p.rowattr.call(a,f,g,c):{});if(!b.isEmptyObject(h)){h.hasOwnProperty("id")&&(c=h.id,delete h.id);h.hasOwnProperty("tabindex")&&(l=h.tabindex,delete h.tabindex);h.hasOwnProperty("style")&&(d+=h.style,delete h.style);h.hasOwnProperty("class")&&(e+=" "+h["class"],delete h["class"]);try{delete h.role}catch(n){}for(m in h)h.hasOwnProperty(m)&&(k+=" "+
55
- m+"="+h[m])}return'<tr role="row" id="'+c+'" tabindex="'+l+'" class="'+e+'"'+(""===d?"":' style="'+d+'"')+k+">"},K=function(c,d,e,f,g){var h=new Date,l="local"!==a.p.datatype&&a.p.loadonce||"xmlstring"===a.p.datatype,k=a.p.xmlReader,m="local"===a.p.datatype?"local":"xml";l&&(a.p.data=[],a.p._index={},a.p.localReader.id="_id_");a.p.reccount=0;if(b.isXMLDoc(c)){-1!==a.p.treeANode||a.p.scroll?e=1<e?e:1:(X.call(a,!1,!0),e=1);var n=b(a),C,A,R=0,p,u=!0===a.p.multiselect?1:0,z=0,x,q=!0===a.p.rownumbers?
56
- 1:0,t,Z=[],aa,v={},w,H,s=[],L=!0===a.p.altRows?a.p.altclass:"",ia;!0===a.p.subGrid&&(z=1,x=b.jgrid.getMethod("addSubGridCell"));k.repeatitems||(Z=ea(m));t=!1===a.p.keyIndex?b.isFunction(k.id)?k.id.call(a,c):k.id:a.p.keyIndex;0<Z.length&&!isNaN(t)&&(t=a.p.keyName);m=-1===String(t).indexOf("[")?Z.length?function(a,c){return b(t,a).text()||c}:function(a,c){return b(k.cell,a).eq(t).text()||c}:function(a,b){return a.getAttribute(t.replace(/[\[\]]/g,""))||b};a.p.userData={};a.p.page=r(b.jgrid.getXmlData(c,
57
- k.page),a.p.page);a.p.lastpage=r(b.jgrid.getXmlData(c,k.total),1);a.p.records=r(b.jgrid.getXmlData(c,k.records));b.isFunction(k.userdata)?a.p.userData=k.userdata.call(a,c)||{}:b.jgrid.getXmlData(c,k.userdata,!0).each(function(){a.p.userData[this.getAttribute("name")]=b(this).text()});c=b.jgrid.getXmlData(c,k.root,!0);(c=b.jgrid.getXmlData(c,k.row,!0))||(c=[]);var S=c.length,I=0,y=[],D=parseInt(a.p.rowNum,10),B=a.p.scroll?b.jgrid.randId():1;0<S&&0>=a.p.page&&(a.p.page=1);if(c&&S){g&&(D*=g+1);g=b.isFunction(a.p.afterInsertRow);
58
- var F=!1,J;a.p.grouping&&(F=!0===a.p.groupingView.groupCollapse,J=b.jgrid.getMethod("groupingPrepare"));for(;I<S;){w=c[I];H=m(w,B+I);H=a.p.idPrefix+H;C=0===e?0:e+1;ia=1===(C+I)%2?L:"";var K=s.length;s.push("");q&&s.push(M(0,I,a.p.page,a.p.rowNum));u&&s.push(U(H,q,I,!1));z&&s.push(x.call(n,u+q,I+e));if(k.repeatitems){aa||(aa=W(u+z+q));var N=b.jgrid.getXmlData(w,k.cell,!0);b.each(aa,function(b){var c=N[this];if(!c)return!1;p=c.textContent||c.text;v[a.p.colModel[b+u+z+q].name]=p;s.push(G(H,p,b+u+z+q,
59
- I+e,w,v))})}else for(C=0;C<Z.length;C++)p=b.jgrid.getXmlData(w,Z[C]),v[a.p.colModel[C+u+z+q].name]=p,s.push(G(H,p,C+u+z+q,I+e,w,v));s[K]=$(H,F,ia,v,w,!1);s.push("</tr>");a.p.grouping&&(y.push(s),a.p.groupingView._locgr||J.call(n,v,I),s=[]);if(l||!0===a.p.treeGrid)v._id_=b.jgrid.stripPref(a.p.idPrefix,H),a.p.data.push(v),a.p._index[v._id_]=a.p.data.length-1;!1===a.p.gridview&&(b("tbody:first",d).append(s.join("")),n.triggerHandler("jqGridAfterInsertRow",[H,v,w]),g&&a.p.afterInsertRow.call(a,H,v,w),
60
- s=[]);v={};R++;I++;if(R===D)break}}!0===a.p.gridview&&(A=-1<a.p.treeANode?a.p.treeANode:0,a.p.grouping?(l||n.jqGrid("groupingRender",y,a.p.colModel.length,a.p.page,D),y=null):!0===a.p.treeGrid&&0<A?b(a.rows[A]).after(s.join("")):b("tbody:first",d).append(s.join("")));if(!0===a.p.subGrid)try{n.jqGrid("addSubGrid",u+q)}catch(Q){}a.p.totaltime=new Date-h;0<R&&0===a.p.records&&(a.p.records=S);s=null;if(!0===a.p.treeGrid)try{n.jqGrid("setTreeNode",A+1,R+A+1)}catch(O){}a.p.treeGrid||a.p.scroll||(a.grid.bDiv.scrollTop=
61
- 0);a.p.reccount=R;a.p.treeANode=-1;a.p.userDataOnFooter&&n.jqGrid("footerData","set",a.p.userData,!0);l&&(a.p.records=S,a.p.lastpage=Math.ceil(S/D));f||a.updatepager(!1,!0);if(l){for(;R<S;){w=c[R];H=m(w,R+B);H=a.p.idPrefix+H;if(k.repeatitems){aa||(aa=W(u+z+q));var P=b.jgrid.getXmlData(w,k.cell,!0);b.each(aa,function(b){var c=P[this];if(!c)return!1;p=c.textContent||c.text;v[a.p.colModel[b+u+z+q].name]=p})}else for(C=0;C<Z.length;C++)p=b.jgrid.getXmlData(w,Z[C]),v[a.p.colModel[C+u+z+q].name]=p;v._id_=
62
- b.jgrid.stripPref(a.p.idPrefix,H);a.p.grouping&&J.call(n,v,R);a.p.data.push(v);a.p._index[v._id_]=a.p.data.length-1;v={};R++}a.p.grouping&&(a.p.groupingView._locgr=!0,n.jqGrid("groupingRender",y,a.p.colModel.length,a.p.page,D),y=null)}}},Y=function(c,d,e,f,g){var h=new Date;if(c){-1!==a.p.treeANode||a.p.scroll?e=1<e?e:1:(X.call(a,!1,!0),e=1);var k,l="local"!==a.p.datatype&&a.p.loadonce||"jsonstring"===a.p.datatype;l&&(a.p.data=[],a.p._index={},a.p.localReader.id="_id_");a.p.reccount=0;"local"===a.p.datatype?
63
- (d=a.p.localReader,k="local"):(d=a.p.jsonReader,k="json");var m=b(a),n=0,C,A,p,q=[],u=a.p.multiselect?1:0,z=!0===a.p.subGrid?1:0,x,t=!0===a.p.rownumbers?1:0,D=W(u+z+t);k=ea(k);var y,B,v,w={},H,s,L=[],ia=!0===a.p.altRows?a.p.altclass:"",S;a.p.page=r(b.jgrid.getAccessor(c,d.page),a.p.page);a.p.lastpage=r(b.jgrid.getAccessor(c,d.total),1);a.p.records=r(b.jgrid.getAccessor(c,d.records));a.p.userData=b.jgrid.getAccessor(c,d.userdata)||{};z&&(x=b.jgrid.getMethod("addSubGridCell"));v=!1===a.p.keyIndex?b.isFunction(d.id)?
64
- d.id.call(a,c):d.id:a.p.keyIndex;d.repeatitems||(q=k,0<q.length&&!isNaN(v)&&(v=a.p.keyName));B=b.jgrid.getAccessor(c,d.root);null==B&&b.isArray(c)&&(B=c);B||(B=[]);c=B.length;A=0;0<c&&0>=a.p.page&&(a.p.page=1);var I=parseInt(a.p.rowNum,10),F=a.p.scroll?b.jgrid.randId():1,J=!1,K;g&&(I*=g+1);"local"!==a.p.datatype||a.p.deselectAfterSort||(J=!0);var N=b.isFunction(a.p.afterInsertRow),P=[],Q=!1,O;a.p.grouping&&(Q=!0===a.p.groupingView.groupCollapse,O=b.jgrid.getMethod("groupingPrepare"));for(;A<c;){g=
65
- B[A];s=b.jgrid.getAccessor(g,v);void 0===s&&("number"===typeof v&&null!=a.p.colModel[v+u+z+t]&&(s=b.jgrid.getAccessor(g,a.p.colModel[v+u+z+t].name)),void 0===s&&(s=F+A,0===q.length&&d.cell&&(C=b.jgrid.getAccessor(g,d.cell)||g,s=null!=C&&void 0!==C[v]?C[v]:s)));s=a.p.idPrefix+s;C=1===e?0:e;S=1===(C+A)%2?ia:"";J&&(K=a.p.multiselect?-1!==b.inArray(s,a.p.selarrrow):s===a.p.selrow);var T=L.length;L.push("");t&&L.push(M(0,A,a.p.page,a.p.rowNum));u&&L.push(U(s,t,A,K));z&&L.push(x.call(m,u+t,A+e));y=k;d.repeatitems&&
66
- (d.cell&&(g=b.jgrid.getAccessor(g,d.cell)||g),b.isArray(g)&&(y=D));for(p=0;p<y.length;p++)C=b.jgrid.getAccessor(g,y[p]),w[a.p.colModel[p+u+z+t].name]=C,L.push(G(s,C,p+u+z+t,A+e,g,w));L[T]=$(s,Q,S,w,g,K);L.push("</tr>");a.p.grouping&&(P.push(L),a.p.groupingView._locgr||O.call(m,w,A),L=[]);if(l||!0===a.p.treeGrid)w._id_=b.jgrid.stripPref(a.p.idPrefix,s),a.p.data.push(w),a.p._index[w._id_]=a.p.data.length-1;!1===a.p.gridview&&(b("#"+b.jgrid.jqID(a.p.id)+" tbody:first").append(L.join("")),m.triggerHandler("jqGridAfterInsertRow",
67
- [s,w,g]),N&&a.p.afterInsertRow.call(a,s,w,g),L=[]);w={};n++;A++;if(n===I)break}!0===a.p.gridview&&(H=-1<a.p.treeANode?a.p.treeANode:0,a.p.grouping?l||(m.jqGrid("groupingRender",P,a.p.colModel.length,a.p.page,I),P=null):!0===a.p.treeGrid&&0<H?b(a.rows[H]).after(L.join("")):b("#"+b.jgrid.jqID(a.p.id)+" tbody:first").append(L.join("")));if(!0===a.p.subGrid)try{m.jqGrid("addSubGrid",u+t)}catch(V){}a.p.totaltime=new Date-h;0<n&&0===a.p.records&&(a.p.records=c);if(!0===a.p.treeGrid)try{m.jqGrid("setTreeNode",
68
- H+1,n+H+1)}catch(Y){}a.p.treeGrid||a.p.scroll||(a.grid.bDiv.scrollTop=0);a.p.reccount=n;a.p.treeANode=-1;a.p.userDataOnFooter&&m.jqGrid("footerData","set",a.p.userData,!0);l&&(a.p.records=c,a.p.lastpage=Math.ceil(c/I));f||a.updatepager(!1,!0);if(l){for(;n<c&&B[n];){g=B[n];s=b.jgrid.getAccessor(g,v);void 0===s&&("number"===typeof v&&null!=a.p.colModel[v+u+z+t]&&(s=b.jgrid.getAccessor(g,a.p.colModel[v+u+z+t].name)),void 0===s&&(s=F+n,0===q.length&&d.cell&&(e=b.jgrid.getAccessor(g,d.cell)||g,s=null!=
69
- e&&void 0!==e[v]?e[v]:s)));if(g){s=a.p.idPrefix+s;y=k;d.repeatitems&&(d.cell&&(g=b.jgrid.getAccessor(g,d.cell)||g),b.isArray(g)&&(y=D));for(p=0;p<y.length;p++)w[a.p.colModel[p+u+z+t].name]=b.jgrid.getAccessor(g,y[p]);w._id_=b.jgrid.stripPref(a.p.idPrefix,s);a.p.grouping&&O.call(m,w,n);a.p.data.push(w);a.p._index[w._id_]=a.p.data.length-1;w={}}n++}a.p.grouping&&(a.p.groupingView._locgr=!0,m.jqGrid("groupingRender",P,a.p.colModel.length,a.p.page,I))}}},oa=function(){function c(a){var b=0,d,e,g,h,k;
70
- if(null!=a.groups){(e=a.groups.length&&"OR"===a.groupOp.toString().toUpperCase())&&u.orBegin();for(d=0;d<a.groups.length;d++){0<b&&e&&u.or();try{c(a.groups[d])}catch(l){alert(l)}b++}e&&u.orEnd()}if(null!=a.rules)try{(g=a.rules.length&&"OR"===a.groupOp.toString().toUpperCase())&&u.orBegin();for(d=0;d<a.rules.length;d++)k=a.rules[d],h=a.groupOp.toString().toUpperCase(),q[k.op]&&k.field&&(0<b&&h&&"OR"===h&&(u=u.or()),u=q[k.op](u,h)(k.field,k.data,f[k.field])),b++;g&&u.orEnd()}catch(m){alert(m)}}var d=
71
- a.p.multiSort?[]:"",e=[],g=!1,f={},h=[],k=[],l,m,n;if(b.isArray(a.p.data)){var p=a.p.grouping?a.p.groupingView:!1,A,r;b.each(a.p.colModel,function(){m=this.sorttype||"text";"date"===m||"datetime"===m?(this.formatter&&"string"===typeof this.formatter&&"date"===this.formatter?(l=this.formatoptions&&this.formatoptions.srcformat?this.formatoptions.srcformat:b.jgrid.formatter.date.srcformat,n=this.formatoptions&&this.formatoptions.newformat?this.formatoptions.newformat:b.jgrid.formatter.date.newformat):
72
- l=n=this.datefmt||"Y-m-d",f[this.name]={stype:m,srcfmt:l,newfmt:n,sfunc:this.sortfunc||null}):f[this.name]={stype:m,srcfmt:"",newfmt:"",sfunc:this.sortfunc||null};if(a.p.grouping)for(r=0,A=p.groupField.length;r<A;r++)if(this.name===p.groupField[r]){var c=this.name;this.index&&(c=this.index);h[r]=f[c];k[r]=c}a.p.multiSort?this.lso&&(d.push(this.name),c=this.lso.split("-"),e.push(c[c.length-1])):g||this.index!==a.p.sortname&&this.name!==a.p.sortname||(d=this.name,g=!0)});if(a.p.treeGrid)b(a).jqGrid("SortTree",
73
- d,a.p.sortorder,f[d].stype||"text",f[d].srcfmt||"");else{var q={eq:function(a){return a.equals},ne:function(a){return a.notEquals},lt:function(a){return a.less},le:function(a){return a.lessOrEquals},gt:function(a){return a.greater},ge:function(a){return a.greaterOrEquals},cn:function(a){return a.contains},nc:function(a,b){return"OR"===b?a.orNot().contains:a.andNot().contains},bw:function(a){return a.startsWith},bn:function(a,b){return"OR"===b?a.orNot().startsWith:a.andNot().startsWith},en:function(a,
74
- b){return"OR"===b?a.orNot().endsWith:a.andNot().endsWith},ew:function(a){return a.endsWith},ni:function(a,b){return"OR"===b?a.orNot().equals:a.andNot().equals},"in":function(a){return a.equals},nu:function(a){return a.isNull},nn:function(a,b){return"OR"===b?a.orNot().isNull:a.andNot().isNull}},u=b.jgrid.from(a.p.data);a.p.ignoreCase&&(u=u.ignoreCase());if(!0===a.p.search){var z=a.p.postData.filters;if(z)"string"===typeof z&&(z=b.jgrid.parse(z)),c(z);else try{u=q[a.p.postData.searchOper](u)(a.p.postData.searchField,
75
- a.p.postData.searchString,f[a.p.postData.searchField])}catch(t){}}if(a.p.grouping)for(r=0;r<A;r++)u.orderBy(k[r],p.groupOrder[r],h[r].stype,h[r].srcfmt);a.p.multiSort?b.each(d,function(a){u.orderBy(this,e[a],f[this].stype,f[this].srcfmt,f[this].sfunc)}):d&&a.p.sortorder&&g&&("DESC"===a.p.sortorder.toUpperCase()?u.orderBy(a.p.sortname,"d",f[d].stype,f[d].srcfmt,f[d].sfunc):u.orderBy(a.p.sortname,"a",f[d].stype,f[d].srcfmt,f[d].sfunc));var z=u.select(),x=parseInt(a.p.rowNum,10),y=z.length,B=parseInt(a.p.page,
76
- 10),D=Math.ceil(y/x),v={};if((a.p.search||a.p.resetsearch)&&a.p.grouping&&a.p.groupingView._locgr){a.p.groupingView.groups=[];var w,G=b.jgrid.getMethod("groupingPrepare"),s,F;if(a.p.footerrow&&a.p.userDataOnFooter){for(s in a.p.userData)a.p.userData.hasOwnProperty(s)&&(a.p.userData[s]=0);F=!0}for(w=0;w<y;w++){if(F)for(s in a.p.userData)a.p.userData[s]+=parseFloat(z[w][s]||0);G.call(b(a),z[w],w,x)}}z=z.slice((B-1)*x,B*x);f=u=null;v[a.p.localReader.total]=D;v[a.p.localReader.page]=B;v[a.p.localReader.records]=
77
- y;v[a.p.localReader.root]=z;v[a.p.localReader.userdata]=a.p.userData;z=null;return v}}},P=function(){a.grid.hDiv.loading=!0;if(!a.p.hiddengrid)switch(a.p.loadui){case "enable":b("#load_"+b.jgrid.jqID(a.p.id)).show();break;case "block":b("#lui_"+b.jgrid.jqID(a.p.id)).show(),b("#load_"+b.jgrid.jqID(a.p.id)).show()}},T=function(){a.grid.hDiv.loading=!1;switch(a.p.loadui){case "enable":b("#load_"+b.jgrid.jqID(a.p.id)).hide();break;case "block":b("#lui_"+b.jgrid.jqID(a.p.id)).hide(),b("#load_"+b.jgrid.jqID(a.p.id)).hide()}},
78
- Q=function(c){if(!a.grid.hDiv.loading){var d=a.p.scroll&&!1===c,e={},g,f=a.p.prmNames;0>=a.p.page&&(a.p.page=Math.min(1,a.p.lastpage));null!==f.search&&(e[f.search]=a.p.search);null!==f.nd&&(e[f.nd]=(new Date).getTime());null!==f.rows&&(e[f.rows]=a.p.rowNum);null!==f.page&&(e[f.page]=a.p.page);null!==f.sort&&(e[f.sort]=a.p.sortname);null!==f.order&&(e[f.order]=a.p.sortorder);null!==a.p.rowTotal&&null!==f.totalrows&&(e[f.totalrows]=a.p.rowTotal);var h=b.isFunction(a.p.loadComplete),k=h?a.p.loadComplete:
79
- null,l=0;c=c||1;1<c?null!==f.npage?(e[f.npage]=c,l=c-1,c=1):k=function(b){a.p.page++;a.grid.hDiv.loading=!1;h&&a.p.loadComplete.call(a,b);Q(c-1)}:null!==f.npage&&delete a.p.postData[f.npage];if(a.p.grouping){b(a).jqGrid("groupingSetup");var m=a.p.groupingView,n,p="";for(n=0;n<m.groupField.length;n++){var r=m.groupField[n];b.each(a.p.colModel,function(a,b){b.name===r&&b.index&&(r=b.index)});p+=r+" "+m.groupOrder[n]+", "}e[f.sort]=p+e[f.sort]}b.extend(a.p.postData,e);var q=a.p.scroll?a.rows.length-
80
- 1:1,e=b(a).triggerHandler("jqGridBeforeRequest");if(!1!==e&&"stop"!==e)if(b.isFunction(a.p.datatype))a.p.datatype.call(a,a.p.postData,"load_"+a.p.id,q,c,l);else{if(b.isFunction(a.p.beforeRequest)&&(e=a.p.beforeRequest.call(a),void 0===e&&(e=!0),!1===e))return;g=a.p.datatype.toLowerCase();switch(g){case "json":case "jsonp":case "xml":case "script":b.ajax(b.extend({url:a.p.url,type:a.p.mtype,dataType:g,data:b.isFunction(a.p.serializeGridData)?a.p.serializeGridData.call(a,a.p.postData):a.p.postData,
81
- success:function(e,f,h){if(b.isFunction(a.p.beforeProcessing)&&!1===a.p.beforeProcessing.call(a,e,f,h))T();else{"xml"===g?K(e,a.grid.bDiv,q,1<c,l):Y(e,a.grid.bDiv,q,1<c,l);b(a).triggerHandler("jqGridLoadComplete",[e]);k&&k.call(a,e);b(a).triggerHandler("jqGridAfterLoadComplete",[e]);d&&a.grid.populateVisible();if(a.p.loadonce||a.p.treeGrid)a.p.datatype="local";1===c&&T()}},error:function(d,e,f){b.isFunction(a.p.loadError)&&a.p.loadError.call(a,d,e,f);1===c&&T()},beforeSend:function(c,d){var e=!0;
82
- b.isFunction(a.p.loadBeforeSend)&&(e=a.p.loadBeforeSend.call(a,c,d));void 0===e&&(e=!0);if(!1===e)return!1;P()}},b.jgrid.ajaxOptions,a.p.ajaxGridOptions));break;case "xmlstring":P();e="string"!==typeof a.p.datastr?a.p.datastr:b.parseXML(a.p.datastr);K(e,a.grid.bDiv);b(a).triggerHandler("jqGridLoadComplete",[e]);h&&a.p.loadComplete.call(a,e);b(a).triggerHandler("jqGridAfterLoadComplete",[e]);a.p.datatype="local";a.p.datastr=null;T();break;case "jsonstring":P();e="string"===typeof a.p.datastr?b.jgrid.parse(a.p.datastr):
83
- a.p.datastr;Y(e,a.grid.bDiv);b(a).triggerHandler("jqGridLoadComplete",[e]);h&&a.p.loadComplete.call(a,e);b(a).triggerHandler("jqGridAfterLoadComplete",[e]);a.p.datatype="local";a.p.datastr=null;T();break;case "local":case "clientside":P(),a.p.datatype="local",e=oa(),Y(e,a.grid.bDiv,q,1<c,l),b(a).triggerHandler("jqGridLoadComplete",[e]),k&&k.call(a,e),b(a).triggerHandler("jqGridAfterLoadComplete",[e]),d&&a.grid.populateVisible(),T()}}}},ha=function(c){b("#cb_"+b.jgrid.jqID(a.p.id),a.grid.hDiv)[a.p.useProp?
84
- "prop":"attr"]("checked",c);if(a.p.frozenColumns&&a.p.id+"_frozen")b("#cb_"+b.jgrid.jqID(a.p.id),a.grid.fhDiv)[a.p.useProp?"prop":"attr"]("checked",c)},qa=function(c,e){var d="",g="<table cellspacing='0' cellpadding='0' border='0' style='table-layout:auto;' class='ui-pg-table'><tbody><tr>",k="",l,m,n,p,q=function(c){var e;b.isFunction(a.p.onPaging)&&(e=a.p.onPaging.call(a,c));if("stop"===e)return!1;a.p.selrow=null;a.p.multiselect&&(a.p.selarrrow=[],ha(!1));a.p.savedRow=[];return!0};c=c.substr(1);
85
- e+="_"+c;l="pg_"+c;m=c+"_left";n=c+"_center";p=c+"_right";b("#"+b.jgrid.jqID(c)).append("<div id='"+l+"' class='ui-pager-control' role='group'><table cellspacing='0' cellpadding='0' border='0' class='ui-pg-table' style='width:100%;table-layout:fixed;height:100%;' role='row'><tbody><tr><td id='"+m+"' align='left'></td><td id='"+n+"' align='center' style='white-space:pre;'></td><td id='"+p+"' align='right'></td></tr></tbody></table></div>").attr("dir","ltr");if(0<a.p.rowList.length){k="<td dir='"+f+
86
- "'>";k+="<select class='ui-pg-selbox' role='listbox'>";for(m=0;m<a.p.rowList.length;m++)k+='<option role="option" value="'+a.p.rowList[m]+'"'+(a.p.rowNum===a.p.rowList[m]?' selected="selected"':"")+">"+a.p.rowList[m]+"</option>";k+="</select></td>"}"rtl"===f&&(g+=k);!0===a.p.pginput&&(d="<td dir='"+f+"'>"+b.jgrid.format(a.p.pgtext||"","<input class='ui-pg-input' type='text' size='2' maxlength='7' value='0' role='textbox'/>","<span id='sp_1_"+b.jgrid.jqID(c)+"'></span>")+"</td>");!0===a.p.pgbuttons?
87
- (m=["first"+e,"prev"+e,"next"+e,"last"+e],"rtl"===f&&m.reverse(),g+="<td id='"+m[0]+"' class='ui-pg-button ui-corner-all'><span class='ui-icon ui-icon-seek-first'></span></td>",g+="<td id='"+m[1]+"' class='ui-pg-button ui-corner-all'><span class='ui-icon ui-icon-seek-prev'></span></td>",g=g+(""!==d?"<td class='ui-pg-button ui-state-disabled' style='width:4px;'><span class='ui-separator'></span></td>"+d+"<td class='ui-pg-button ui-state-disabled' style='width:4px;'><span class='ui-separator'></span></td>":
88
- "")+("<td id='"+m[2]+"' class='ui-pg-button ui-corner-all'><span class='ui-icon ui-icon-seek-next'></span></td>"),g+="<td id='"+m[3]+"' class='ui-pg-button ui-corner-all'><span class='ui-icon ui-icon-seek-end'></span></td>"):""!==d&&(g+=d);"ltr"===f&&(g+=k);g+="</tr></tbody></table>";!0===a.p.viewrecords&&b("td#"+c+"_"+a.p.recordpos,"#"+l).append("<div dir='"+f+"' style='text-align:"+a.p.recordpos+"' class='ui-paging-info'></div>");b("td#"+c+"_"+a.p.pagerpos,"#"+l).append(g);k=b(".ui-jqgrid").css("font-size")||
89
- "11px";b(document.body).append("<div id='testpg' class='ui-jqgrid ui-widget ui-widget-content' style='font-size:"+k+";visibility:hidden;' ></div>");g=b(g).clone().appendTo("#testpg").width();b("#testpg").remove();0<g&&(""!==d&&(g+=50),b("td#"+c+"_"+a.p.pagerpos,"#"+l).width(g));a.p._nvtd=[];a.p._nvtd[0]=g?Math.floor((a.p.width-g)/2):Math.floor(a.p.width/3);a.p._nvtd[1]=0;g=null;b(".ui-pg-selbox","#"+l).bind("change",function(){if(!q("records"))return!1;a.p.page=Math.round(a.p.rowNum*(a.p.page-1)/
90
- this.value-0.5)+1;a.p.rowNum=this.value;a.p.pager&&b(".ui-pg-selbox",a.p.pager).val(this.value);a.p.toppager&&b(".ui-pg-selbox",a.p.toppager).val(this.value);Q();return!1});!0===a.p.pgbuttons&&(b(".ui-pg-button","#"+l).hover(function(){b(this).hasClass("ui-state-disabled")?this.style.cursor="default":(b(this).addClass("ui-state-hover"),this.style.cursor="pointer")},function(){b(this).hasClass("ui-state-disabled")||(b(this).removeClass("ui-state-hover"),this.style.cursor="default")}),b("#first"+b.jgrid.jqID(e)+
91
- ", #prev"+b.jgrid.jqID(e)+", #next"+b.jgrid.jqID(e)+", #last"+b.jgrid.jqID(e)).click(function(){if(b(this).hasClass("ui-state-disabled"))return!1;var c=r(a.p.page,1),d=r(a.p.lastpage,1),g=!1,f=!0,h=!0,k=!0,l=!0;0===d||1===d?l=k=h=f=!1:1<d&&1<=c?1===c?h=f=!1:c===d&&(l=k=!1):1<d&&0===c&&(l=k=!1,c=d-1);if(!q(this.id))return!1;this.id==="first"+e&&f&&(a.p.page=1,g=!0);this.id==="prev"+e&&h&&(a.p.page=c-1,g=!0);this.id==="next"+e&&k&&(a.p.page=c+1,g=!0);this.id==="last"+e&&l&&(a.p.page=d,g=!0);g&&Q();
92
- return!1}));!0===a.p.pginput&&b("input.ui-pg-input","#"+l).keypress(function(c){if(13===(c.charCode||c.keyCode||0)){if(!q("user"))return!1;b(this).val(r(b(this).val(),1));a.p.page=0<b(this).val()?b(this).val():a.p.page;Q();return!1}return this})},wa=function(c,e){var d,g="",f=a.p.colModel,h=!1,k;k=a.p.frozenColumns?e:a.grid.headers[c].el;var l="";b("span.ui-grid-ico-sort",k).addClass("ui-state-disabled");b(k).attr("aria-selected","false");if(f[c].lso)if("asc"===f[c].lso)f[c].lso+="-desc",l="desc";
93
- else if("desc"===f[c].lso)f[c].lso+="-asc",l="asc";else{if("asc-desc"===f[c].lso||"desc-asc"===f[c].lso)f[c].lso=""}else f[c].lso=l=f[c].firstsortorder||"asc";l?(b("span.s-ico",k).show(),b("span.ui-icon-"+l,k).removeClass("ui-state-disabled"),b(k).attr("aria-selected","true")):a.p.viewsortcols[0]||b("span.s-ico",k).hide();a.p.sortorder="";b.each(f,function(b){this.lso&&(0<b&&h&&(g+=", "),d=this.lso.split("-"),g+=f[b].index||f[b].name,g+=" "+d[d.length-1],h=!0,a.p.sortorder=d[d.length-1])});k=g.lastIndexOf(a.p.sortorder);
94
- g=g.substring(0,k);a.p.sortname=g},ra=function(c,d,e,g,f){if(a.p.colModel[d].sortable&&!(0<a.p.savedRow.length)){e||(a.p.lastsort===d?"asc"===a.p.sortorder?a.p.sortorder="desc":"desc"===a.p.sortorder&&(a.p.sortorder="asc"):a.p.sortorder=a.p.colModel[d].firstsortorder||"asc",a.p.page=1);if(a.p.multiSort)wa(d,f);else{if(g){if(a.p.lastsort===d&&a.p.sortorder===g&&!e)return;a.p.sortorder=g}e=a.grid.headers[a.p.lastsort].el;f=a.p.frozenColumns?f:a.grid.headers[d].el;b("span.ui-grid-ico-sort",e).addClass("ui-state-disabled");
95
- b(e).attr("aria-selected","false");a.p.frozenColumns&&(a.grid.fhDiv.find("span.ui-grid-ico-sort").addClass("ui-state-disabled"),a.grid.fhDiv.find("th").attr("aria-selected","false"));b("span.ui-icon-"+a.p.sortorder,f).removeClass("ui-state-disabled");b(f).attr("aria-selected","true");a.p.viewsortcols[0]||a.p.lastsort===d||(a.p.frozenColumns&&a.grid.fhDiv.find("span.s-ico").hide(),b("span.s-ico",e).hide(),b("span.s-ico",f).show());c=c.substring(5+a.p.id.length+1);a.p.sortname=a.p.colModel[d].index||
96
- c}"stop"===b(a).triggerHandler("jqGridSortCol",[a.p.sortname,d,a.p.sortorder])?a.p.lastsort=d:b.isFunction(a.p.onSortCol)&&"stop"===a.p.onSortCol.call(a,a.p.sortname,d,a.p.sortorder)?a.p.lastsort=d:("local"===a.p.datatype?a.p.deselectAfterSort&&b(a).jqGrid("resetSelection"):(a.p.selrow=null,a.p.multiselect&&ha(!1),a.p.selarrrow=[],a.p.savedRow=[]),a.p.scroll&&(f=a.grid.bDiv.scrollLeft,X.call(a,!0,!1),a.grid.hDiv.scrollLeft=f),a.p.subGrid&&"local"===a.p.datatype&&b("td.sgexpanded","#"+b.jgrid.jqID(a.p.id)).each(function(){b(this).trigger("click")}),
97
- Q(),a.p.lastsort=d,a.p.sortname!==c&&d&&(a.p.lastsort=d))}},xa=function(c){c=b(a.grid.headers[c].el);c=[c.position().left+c.outerWidth()];"rtl"===a.p.direction&&(c[0]=a.p.width-c[0]);c[0]-=a.grid.bDiv.scrollLeft;c.push(b(a.grid.hDiv).position().top);c.push(b(a.grid.bDiv).offset().top-b(a.grid.hDiv).offset().top+b(a.grid.bDiv).height());return c},sa=function(c){var d,e=a.grid.headers,g=b.jgrid.getCellIndex(c);for(d=0;d<e.length;d++)if(c===e[d].el){g=d;break}return g};this.p.id=this.id;-1===b.inArray(a.p.multikey,
98
- ["shiftKey","altKey","ctrlKey"])&&(a.p.multikey=!1);a.p.keyIndex=!1;a.p.keyName=!1;for(g=0;g<a.p.colModel.length;g++)a.p.colModel[g]=b.extend(!0,{},a.p.cmTemplate,a.p.colModel[g].template||{},a.p.colModel[g]),!1===a.p.keyIndex&&!0===a.p.colModel[g].key&&(a.p.keyIndex=g);a.p.sortorder=a.p.sortorder.toLowerCase();b.jgrid.cell_width=b.jgrid.cellWidth();!0===a.p.grouping&&(a.p.scroll=!1,a.p.rownumbers=!1,a.p.treeGrid=!1,a.p.gridview=!0);if(!0===this.p.treeGrid){try{b(this).jqGrid("setTreeGrid")}catch(za){}"local"!==
99
- a.p.datatype&&(a.p.localReader={id:"_id_"})}if(this.p.subGrid)try{b(a).jqGrid("setSubGrid")}catch(Aa){}this.p.multiselect&&(this.p.colNames.unshift("<input role='checkbox' id='cb_"+this.p.id+"' class='cbox' type='checkbox'/>"),this.p.colModel.unshift({name:"cb",width:b.jgrid.cell_width?a.p.multiselectWidth+a.p.cellLayout:a.p.multiselectWidth,sortable:!1,resizable:!1,hidedlg:!0,search:!1,align:"center",fixed:!0}));this.p.rownumbers&&(this.p.colNames.unshift(""),this.p.colModel.unshift({name:"rn",width:a.p.rownumWidth,
100
- sortable:!1,resizable:!1,hidedlg:!0,search:!1,align:"center",fixed:!0}));a.p.xmlReader=b.extend(!0,{root:"rows",row:"row",page:"rows>page",total:"rows>total",records:"rows>records",repeatitems:!0,cell:"cell",id:"[id]",userdata:"userdata",subgrid:{root:"rows",row:"row",repeatitems:!0,cell:"cell"}},a.p.xmlReader);a.p.jsonReader=b.extend(!0,{root:"rows",page:"page",total:"total",records:"records",repeatitems:!0,cell:"cell",id:"id",userdata:"userdata",subgrid:{root:"rows",repeatitems:!0,cell:"cell"}},
101
- a.p.jsonReader);a.p.localReader=b.extend(!0,{root:"rows",page:"page",total:"total",records:"records",repeatitems:!1,cell:"cell",id:"id",userdata:"userdata",subgrid:{root:"rows",repeatitems:!0,cell:"cell"}},a.p.localReader);a.p.scroll&&(a.p.pgbuttons=!1,a.p.pginput=!1,a.p.rowList=[]);a.p.data.length&&O();var D="<thead><tr class='ui-jqgrid-labels' role='rowheader'>",ta,F,ja,fa,ka,y,t,ba,ua=ba="",ga=[],va=[];F=[];if(!0===a.p.shrinkToFit&&!0===a.p.forceFit)for(g=a.p.colModel.length-1;0<=g;g--)if(!a.p.colModel[g].hidden){a.p.colModel[g].resizable=
102
- !1;break}"horizontal"===a.p.viewsortcols[1]&&(ba=" ui-i-asc",ua=" ui-i-desc");ta=n?"class='ui-th-div-ie'":"";ba="<span class='s-ico' style='display:none'><span sort='asc' class='ui-grid-ico-sort ui-icon-asc"+ba+" ui-state-disabled ui-icon ui-icon-triangle-1-n ui-sort-"+f+"'></span>"+("<span sort='desc' class='ui-grid-ico-sort ui-icon-desc"+ua+" ui-state-disabled ui-icon ui-icon-triangle-1-s ui-sort-"+f+"'></span></span>");if(a.p.multiSort)for(ga=a.p.sortname.split(","),g=0;g<ga.length;g++)F=b.trim(ga[g]).split(" "),
103
- ga[g]=b.trim(F[0]),va[g]=F[1]?b.trim(F[1]):a.p.sortorder||"asc";for(g=0;g<this.p.colNames.length;g++)F=a.p.headertitles?' title="'+b.jgrid.stripHtml(a.p.colNames[g])+'"':"",D+="<th id='"+a.p.id+"_"+a.p.colModel[g].name+"' role='columnheader' class='ui-state-default ui-th-column ui-th-"+f+"'"+F+">",F=a.p.colModel[g].index||a.p.colModel[g].name,D+="<div id='jqgh_"+a.p.id+"_"+a.p.colModel[g].name+"' "+ta+">"+a.p.colNames[g],a.p.colModel[g].width=a.p.colModel[g].width?parseInt(a.p.colModel[g].width,10):
104
- 150,"boolean"!==typeof a.p.colModel[g].title&&(a.p.colModel[g].title=!0),a.p.colModel[g].lso="",F===a.p.sortname&&(a.p.lastsort=g),a.p.multiSort&&(F=b.inArray(F,ga),-1!==F&&(a.p.colModel[g].lso=va[F])),D+=ba+"</div></th>";D+="</tr></thead>";ba=null;b(this).append(D);b("thead tr:first th",this).hover(function(){b(this).addClass("ui-state-hover")},function(){b(this).removeClass("ui-state-hover")});if(this.p.multiselect){var la=[],ca;b("#cb_"+b.jgrid.jqID(a.p.id),this).bind("click",function(){a.p.selarrrow=
105
- [];var c=!0===a.p.frozenColumns?a.p.id+"_frozen":"";this.checked?(b(a.rows).each(function(d){0<d&&!b(this).hasClass("ui-subgrid")&&!b(this).hasClass("jqgroup")&&!b(this).hasClass("ui-state-disabled")&&(b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+b.jgrid.jqID(this.id))[a.p.useProp?"prop":"attr"]("checked",!0),b(this).addClass("ui-state-highlight").attr("aria-selected","true"),a.p.selarrrow.push(this.id),a.p.selrow=this.id,c&&(b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+b.jgrid.jqID(this.id),a.grid.fbDiv)[a.p.useProp?
106
- "prop":"attr"]("checked",!0),b("#"+b.jgrid.jqID(this.id),a.grid.fbDiv).addClass("ui-state-highlight")))}),ca=!0,la=[]):(b(a.rows).each(function(d){0<d&&!b(this).hasClass("ui-subgrid")&&!b(this).hasClass("ui-state-disabled")&&(b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+b.jgrid.jqID(this.id))[a.p.useProp?"prop":"attr"]("checked",!1),b(this).removeClass("ui-state-highlight").attr("aria-selected","false"),la.push(this.id),c&&(b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+b.jgrid.jqID(this.id),a.grid.fbDiv)[a.p.useProp?
107
- "prop":"attr"]("checked",!1),b("#"+b.jgrid.jqID(this.id),a.grid.fbDiv).removeClass("ui-state-highlight")))}),a.p.selrow=null,ca=!1);b(a).triggerHandler("jqGridSelectAll",[ca?a.p.selarrrow:la,ca]);b.isFunction(a.p.onSelectAll)&&a.p.onSelectAll.call(a,ca?a.p.selarrrow:la,ca)})}!0===a.p.autowidth&&(D=b(m).innerWidth(),a.p.width=0<D?D:"nw");(function(){var d=0,e=b.jgrid.cell_width?0:r(a.p.cellLayout,0),g=0,f,h=r(a.p.scrollOffset,0),k,m=!1,n,p=0,q;b.each(a.p.colModel,function(){void 0===this.hidden&&(this.hidden=
108
- !1);if(a.p.grouping&&a.p.autowidth){var c=b.inArray(this.name,a.p.groupingView.groupField);0<=c&&a.p.groupingView.groupColumnShow.length>c&&(this.hidden=!a.p.groupingView.groupColumnShow[c])}this.widthOrg=k=r(this.width,0);!1===this.hidden&&(d+=k+e,this.fixed?p+=k+e:g++)});isNaN(a.p.width)&&(a.p.width=d+(!1!==a.p.shrinkToFit||isNaN(a.p.height)?0:h));c.width=a.p.width;a.p.tblwidth=d;!1===a.p.shrinkToFit&&!0===a.p.forceFit&&(a.p.forceFit=!1);!0===a.p.shrinkToFit&&0<g&&(n=c.width-e*g-p,isNaN(a.p.height)||
109
- (n-=h,m=!0),d=0,b.each(a.p.colModel,function(b){!1!==this.hidden||this.fixed||(this.width=k=Math.round(n*this.width/(a.p.tblwidth-e*g-p)),d+=k,f=b)}),q=0,m?c.width-p-(d+e*g)!==h&&(q=c.width-p-(d+e*g)-h):m||1===Math.abs(c.width-p-(d+e*g))||(q=c.width-p-(d+e*g)),a.p.colModel[f].width+=q,a.p.tblwidth=d+q+e*g+p,a.p.tblwidth>a.p.width&&(a.p.colModel[f].width-=a.p.tblwidth-parseInt(a.p.width,10),a.p.tblwidth=a.p.width))})();b(m).css("width",c.width+"px").append("<div class='ui-jqgrid-resize-mark' id='rs_m"+
110
- a.p.id+"'>&#160;</div>");b(k).css("width",c.width+"px");var D=b("thead:first",a).get(0),V="";a.p.footerrow&&(V+="<table role='grid' style='width:"+a.p.tblwidth+"px' class='ui-jqgrid-ftable' cellspacing='0' cellpadding='0' border='0'><tbody><tr role='row' class='ui-widget-content footrow footrow-"+f+"'>");var k=b("tr:first",D),da="<tr class='jqgfirstrow' role='row' style='height:auto'>";a.p.disableClick=!1;b("th",k).each(function(d){ja=a.p.colModel[d].width;void 0===a.p.colModel[d].resizable&&(a.p.colModel[d].resizable=
111
- !0);a.p.colModel[d].resizable?(fa=document.createElement("span"),b(fa).html("&#160;").addClass("ui-jqgrid-resize ui-jqgrid-resize-"+f).css("cursor","col-resize"),b(this).addClass(a.p.resizeclass)):fa="";b(this).css("width",ja+"px").prepend(fa);fa=null;var e="";a.p.colModel[d].hidden&&(b(this).css("display","none"),e="display:none;");da+="<td role='gridcell' style='height:0px;width:"+ja+"px;"+e+"'></td>";c.headers[d]={width:ja,el:this};ka=a.p.colModel[d].sortable;"boolean"!==typeof ka&&(ka=a.p.colModel[d].sortable=
112
- !0);e=a.p.colModel[d].name;"cb"!==e&&"subgrid"!==e&&"rn"!==e&&a.p.viewsortcols[2]&&b(">div",this).addClass("ui-jqgrid-sortable");ka&&(a.p.multiSort?a.p.viewsortcols[0]?(b("div span.s-ico",this).show(),a.p.colModel[d].lso&&b("div span.ui-icon-"+a.p.colModel[d].lso,this).removeClass("ui-state-disabled")):a.p.colModel[d].lso&&(b("div span.s-ico",this).show(),b("div span.ui-icon-"+a.p.colModel[d].lso,this).removeClass("ui-state-disabled")):a.p.viewsortcols[0]?(b("div span.s-ico",this).show(),d===a.p.lastsort&&
113
- b("div span.ui-icon-"+a.p.sortorder,this).removeClass("ui-state-disabled")):d===a.p.lastsort&&(b("div span.s-ico",this).show(),b("div span.ui-icon-"+a.p.sortorder,this).removeClass("ui-state-disabled")));a.p.footerrow&&(V+="<td role='gridcell' "+p(d,0,"",null,"",!1)+">&#160;</td>")}).mousedown(function(d){if(1===b(d.target).closest("th>span.ui-jqgrid-resize").length){var e=sa(this);if(!0===a.p.forceFit){var g=a.p,f=e,h;for(h=e+1;h<a.p.colModel.length;h++)if(!0!==a.p.colModel[h].hidden){f=h;break}g.nv=
114
- f-e}c.dragStart(e,d,xa(e));return!1}}).click(function(c){if(a.p.disableClick)return a.p.disableClick=!1;var d="th>div.ui-jqgrid-sortable",e,g;a.p.viewsortcols[2]||(d="th>div>span>span.ui-grid-ico-sort");c=b(c.target).closest(d);if(1===c.length){var f;if(a.p.frozenColumns){var h=b(this)[0].id.substring(a.p.id.length+1);b(a.p.colModel).each(function(a){if(this.name===h)return f=a,!1})}else f=sa(this);a.p.viewsortcols[2]||(e=!0,g=c.attr("sort"));null!=f&&ra(b("div",this)[0].id,f,e,g,this);return!1}});
115
- if(a.p.sortable&&b.fn.sortable)try{b(a).jqGrid("sortableColumns",k)}catch(Ba){}a.p.footerrow&&(V+="</tr></tbody></table>");da+="</tr>";k=document.createElement("tbody");this.appendChild(k);b(this).addClass("ui-jqgrid-btable").append(da);var da=null,k=b("<table class='ui-jqgrid-htable' style='width:"+a.p.tblwidth+"px' role='grid' aria-labelledby='gbox_"+this.id+"' cellspacing='0' cellpadding='0' border='0'></table>").append(D),J=a.p.caption&&!0===a.p.hiddengrid?!0:!1;g=b("<div class='ui-jqgrid-hbox"+
116
- ("rtl"===f?"-rtl":"")+"'></div>");D=null;c.hDiv=document.createElement("div");b(c.hDiv).css({width:c.width+"px"}).addClass("ui-state-default ui-jqgrid-hdiv").append(g);b(g).append(k);k=null;J&&b(c.hDiv).hide();a.p.pager&&("string"===typeof a.p.pager?"#"!==a.p.pager.substr(0,1)&&(a.p.pager="#"+a.p.pager):a.p.pager="#"+b(a.p.pager).attr("id"),b(a.p.pager).css({width:c.width+"px"}).addClass("ui-state-default ui-jqgrid-pager ui-corner-bottom").appendTo(m),J&&b(a.p.pager).hide(),qa(a.p.pager,""));!1===
117
- a.p.cellEdit&&!0===a.p.hoverrows&&b(a).bind("mouseover",function(a){t=b(a.target).closest("tr.jqgrow");"ui-subgrid"!==b(t).attr("class")&&b(t).addClass("ui-state-hover")}).bind("mouseout",function(a){t=b(a.target).closest("tr.jqgrow");b(t).removeClass("ui-state-hover")});var B,N,ma;b(a).before(c.hDiv).click(function(c){y=c.target;t=b(y,a.rows).closest("tr.jqgrow");if(0===b(t).length||-1<t[0].className.indexOf("ui-state-disabled")||(b(y,a).closest("table.ui-jqgrid-btable").attr("id")||"").replace("_frozen",
118
- "")!==a.id)return this;var d=b(y).hasClass("cbox"),e=b(a).triggerHandler("jqGridBeforeSelectRow",[t[0].id,c]);(e=!1===e||"stop"===e?!1:!0)&&b.isFunction(a.p.beforeSelectRow)&&(e=a.p.beforeSelectRow.call(a,t[0].id,c));if("A"!==y.tagName&&("INPUT"!==y.tagName&&"TEXTAREA"!==y.tagName&&"OPTION"!==y.tagName&&"SELECT"!==y.tagName||d)&&!0===e)if(B=t[0].id,N=b.jgrid.getCellIndex(y),ma=b(y).closest("td,th").html(),b(a).triggerHandler("jqGridCellSelect",[B,N,ma,c]),b.isFunction(a.p.onCellSelect)&&a.p.onCellSelect.call(a,
119
- B,N,ma,c),!0===a.p.cellEdit)if(a.p.multiselect&&d)b(a).jqGrid("setSelection",B,!0,c);else{B=t[0].rowIndex;try{b(a).jqGrid("editCell",B,N,!0)}catch(g){}}else if(a.p.multikey)c[a.p.multikey]?b(a).jqGrid("setSelection",B,!0,c):a.p.multiselect&&d&&(d=b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+B).is(":checked"),b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+B)[a.p.useProp?"prop":"attr"]("checked",d));else{if(a.p.multiselect&&a.p.multiboxonly&&!d){var f=a.p.frozenColumns?a.p.id+"_frozen":"";b(a.p.selarrrow).each(function(c,
120
- d){var e=b(a).jqGrid("getGridRowById",d);b(e).removeClass("ui-state-highlight");b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+b.jgrid.jqID(d))[a.p.useProp?"prop":"attr"]("checked",!1);f&&(b("#"+b.jgrid.jqID(d),"#"+b.jgrid.jqID(f)).removeClass("ui-state-highlight"),b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+b.jgrid.jqID(d),"#"+b.jgrid.jqID(f))[a.p.useProp?"prop":"attr"]("checked",!1))});a.p.selarrrow=[]}b(a).jqGrid("setSelection",B,!0,c)}}).bind("reloadGrid",function(c,d){!0===a.p.treeGrid&&(a.p.datatype=a.p.treedatatype);
121
- d&&d.current&&a.grid.selectionPreserver(a);"local"===a.p.datatype?(b(a).jqGrid("resetSelection"),a.p.data.length&&O()):a.p.treeGrid||(a.p.selrow=null,a.p.multiselect&&(a.p.selarrrow=[],ha(!1)),a.p.savedRow=[]);a.p.scroll&&X.call(a,!0,!1);if(d&&d.page){var e=d.page;e>a.p.lastpage&&(e=a.p.lastpage);1>e&&(e=1);a.p.page=e;a.grid.bDiv.scrollTop=a.grid.prevRowHeight?(e-1)*a.grid.prevRowHeight*a.p.rowNum:0}a.grid.prevRowHeight&&a.p.scroll?(delete a.p.lastpage,a.grid.populateVisible()):a.grid.populate();
122
- !0===a.p._inlinenav&&b(a).jqGrid("showAddEditButtons");return!1}).dblclick(function(c){y=c.target;t=b(y,a.rows).closest("tr.jqgrow");0!==b(t).length&&(B=t[0].rowIndex,N=b.jgrid.getCellIndex(y),b(a).triggerHandler("jqGridDblClickRow",[b(t).attr("id"),B,N,c]),b.isFunction(a.p.ondblClickRow)&&a.p.ondblClickRow.call(a,b(t).attr("id"),B,N,c))}).bind("contextmenu",function(c){y=c.target;t=b(y,a.rows).closest("tr.jqgrow");0!==b(t).length&&(a.p.multiselect||b(a).jqGrid("setSelection",t[0].id,!0,c),B=t[0].rowIndex,
123
- N=b.jgrid.getCellIndex(y),b(a).triggerHandler("jqGridRightClickRow",[b(t).attr("id"),B,N,c]),b.isFunction(a.p.onRightClickRow)&&a.p.onRightClickRow.call(a,b(t).attr("id"),B,N,c))});c.bDiv=document.createElement("div");n&&"auto"===String(a.p.height).toLowerCase()&&(a.p.height="100%");b(c.bDiv).append(b('<div style="position:relative;'+(n&&8>b.jgrid.msiever()?"height:0.01%;":"")+'"></div>').append("<div></div>").append(this)).addClass("ui-jqgrid-bdiv").css({height:a.p.height+(isNaN(a.p.height)?"":"px"),
124
- width:c.width+"px"}).scroll(c.scrollGrid);b("table:first",c.bDiv).css({width:a.p.tblwidth+"px"});b.support.tbody||2===b("tbody",this).length&&b("tbody:gt(0)",this).remove();a.p.multikey&&(b.jgrid.msie?b(c.bDiv).bind("selectstart",function(){return!1}):b(c.bDiv).bind("mousedown",function(){return!1}));J&&b(c.bDiv).hide();c.cDiv=document.createElement("div");var na=!0===a.p.hidegrid?b("<a role='link' class='ui-jqgrid-titlebar-close ui-corner-all HeaderButton' />").hover(function(){na.addClass("ui-state-hover")},
125
- function(){na.removeClass("ui-state-hover")}).append("<span class='ui-icon ui-icon-circle-triangle-n'></span>").css("rtl"===f?"left":"right","0px"):"";b(c.cDiv).append(na).append("<span class='ui-jqgrid-title'>"+a.p.caption+"</span>").addClass("ui-jqgrid-titlebar ui-jqgrid-caption"+("rtl"===f?"-rtl":"")+" ui-widget-header ui-corner-top ui-helper-clearfix");b(c.cDiv).insertBefore(c.hDiv);a.p.toolbar[0]&&(c.uDiv=document.createElement("div"),"top"===a.p.toolbar[1]?b(c.uDiv).insertBefore(c.hDiv):"bottom"===
126
- a.p.toolbar[1]&&b(c.uDiv).insertAfter(c.hDiv),"both"===a.p.toolbar[1]?(c.ubDiv=document.createElement("div"),b(c.uDiv).addClass("ui-userdata ui-state-default").attr("id","t_"+this.id).insertBefore(c.hDiv),b(c.ubDiv).addClass("ui-userdata ui-state-default").attr("id","tb_"+this.id).insertAfter(c.hDiv),J&&b(c.ubDiv).hide()):b(c.uDiv).width(c.width).addClass("ui-userdata ui-state-default").attr("id","t_"+this.id),J&&b(c.uDiv).hide());a.p.toppager&&(a.p.toppager=b.jgrid.jqID(a.p.id)+"_toppager",c.topDiv=
127
- b("<div id='"+a.p.toppager+"'></div>")[0],a.p.toppager="#"+a.p.toppager,b(c.topDiv).addClass("ui-state-default ui-jqgrid-toppager").width(c.width).insertBefore(c.hDiv),qa(a.p.toppager,"_t"));a.p.footerrow&&(c.sDiv=b("<div class='ui-jqgrid-sdiv'></div>")[0],g=b("<div class='ui-jqgrid-hbox"+("rtl"===f?"-rtl":"")+"'></div>"),b(c.sDiv).append(g).width(c.width).insertAfter(c.hDiv),b(g).append(V),c.footers=b(".ui-jqgrid-ftable",c.sDiv)[0].rows[0].cells,a.p.rownumbers&&(c.footers[0].className="ui-state-default jqgrid-rownum"),
128
- J&&b(c.sDiv).hide());g=null;if(a.p.caption){var ya=a.p.datatype;!0===a.p.hidegrid&&(b(".ui-jqgrid-titlebar-close",c.cDiv).click(function(d){var e=b.isFunction(a.p.onHeaderClick),g=".ui-jqgrid-bdiv, .ui-jqgrid-hdiv, .ui-jqgrid-pager, .ui-jqgrid-sdiv",f,h=this;!0===a.p.toolbar[0]&&("both"===a.p.toolbar[1]&&(g+=", #"+b(c.ubDiv).attr("id")),g+=", #"+b(c.uDiv).attr("id"));f=b(g,"#gview_"+b.jgrid.jqID(a.p.id)).length;"visible"===a.p.gridstate?b(g,"#gbox_"+b.jgrid.jqID(a.p.id)).slideUp("fast",function(){f--;
129
- 0===f&&(b("span",h).removeClass("ui-icon-circle-triangle-n").addClass("ui-icon-circle-triangle-s"),a.p.gridstate="hidden",b("#gbox_"+b.jgrid.jqID(a.p.id)).hasClass("ui-resizable")&&b(".ui-resizable-handle","#gbox_"+b.jgrid.jqID(a.p.id)).hide(),b(a).triggerHandler("jqGridHeaderClick",[a.p.gridstate,d]),e&&(J||a.p.onHeaderClick.call(a,a.p.gridstate,d)))}):"hidden"===a.p.gridstate&&b(g,"#gbox_"+b.jgrid.jqID(a.p.id)).slideDown("fast",function(){f--;0===f&&(b("span",h).removeClass("ui-icon-circle-triangle-s").addClass("ui-icon-circle-triangle-n"),
130
- J&&(a.p.datatype=ya,Q(),J=!1),a.p.gridstate="visible",b("#gbox_"+b.jgrid.jqID(a.p.id)).hasClass("ui-resizable")&&b(".ui-resizable-handle","#gbox_"+b.jgrid.jqID(a.p.id)).show(),b(a).triggerHandler("jqGridHeaderClick",[a.p.gridstate,d]),e&&(J||a.p.onHeaderClick.call(a,a.p.gridstate,d)))});return!1}),J&&(a.p.datatype="local",b(".ui-jqgrid-titlebar-close",c.cDiv).trigger("click")))}else b(c.cDiv).hide();b(c.hDiv).after(c.bDiv).mousemove(function(a){if(c.resizing)return c.dragMove(a),!1});b(".ui-jqgrid-labels",
131
- c.hDiv).bind("selectstart",function(){return!1});b(document).bind("mouseup.jqGrid"+a.p.id,function(){return c.resizing?(c.dragEnd(),!1):!0});a.formatCol=p;a.sortData=ra;a.updatepager=function(c,d){var e,g,f,h,k,l,m,n="",p=a.p.pager?"_"+b.jgrid.jqID(a.p.pager.substr(1)):"",q=a.p.toppager?"_"+a.p.toppager.substr(1):"";f=parseInt(a.p.page,10)-1;0>f&&(f=0);f*=parseInt(a.p.rowNum,10);k=f+a.p.reccount;if(a.p.scroll){e=b("tbody:first > tr:gt(0)",a.grid.bDiv);f=k-e.length;a.p.reccount=e.length;if(e=e.outerHeight()||
132
- a.grid.prevRowHeight)g=f*e,m=parseInt(a.p.records,10)*e,b(">div:first",a.grid.bDiv).css({height:m}).children("div:first").css({height:g,display:g?"":"none"}),0==a.grid.bDiv.scrollTop&&1<a.p.page&&(a.grid.bDiv.scrollTop=a.p.rowNum*(a.p.page-1)*e);a.grid.bDiv.scrollLeft=a.grid.hDiv.scrollLeft}n=a.p.pager||"";if(n+=a.p.toppager?n?","+a.p.toppager:a.p.toppager:"")m=b.jgrid.formatter.integer||{},e=r(a.p.page),g=r(a.p.lastpage),b(".selbox",n)[this.p.useProp?"prop":"attr"]("disabled",!1),!0===a.p.pginput&&
133
- (b(".ui-pg-input",n).val(a.p.page),h=a.p.toppager?"#sp_1"+p+",#sp_1"+q:"#sp_1"+p,b(h).html(b.fmatter?b.fmatter.util.NumberFormat(a.p.lastpage,m):a.p.lastpage)),a.p.viewrecords&&(0===a.p.reccount?b(".ui-paging-info",n).html(a.p.emptyrecords):(h=f+1,l=a.p.records,b.fmatter&&(h=b.fmatter.util.NumberFormat(h,m),k=b.fmatter.util.NumberFormat(k,m),l=b.fmatter.util.NumberFormat(l,m)),b(".ui-paging-info",n).html(b.jgrid.format(a.p.recordtext,h,k,l)))),!0===a.p.pgbuttons&&(0>=e&&(e=g=0),1===e||0===e?(b("#first"+
134
- p+", #prev"+p).addClass("ui-state-disabled").removeClass("ui-state-hover"),a.p.toppager&&b("#first_t"+q+", #prev_t"+q).addClass("ui-state-disabled").removeClass("ui-state-hover")):(b("#first"+p+", #prev"+p).removeClass("ui-state-disabled"),a.p.toppager&&b("#first_t"+q+", #prev_t"+q).removeClass("ui-state-disabled")),e===g||0===e?(b("#next"+p+", #last"+p).addClass("ui-state-disabled").removeClass("ui-state-hover"),a.p.toppager&&b("#next_t"+q+", #last_t"+q).addClass("ui-state-disabled").removeClass("ui-state-hover")):
135
- (b("#next"+p+", #last"+p).removeClass("ui-state-disabled"),a.p.toppager&&b("#next_t"+q+", #last_t"+q).removeClass("ui-state-disabled")));!0===c&&!0===a.p.rownumbers&&b(">td.jqgrid-rownum",a.rows).each(function(a){b(this).html(f+1+a)});d&&a.p.jqgdnd&&b(a).jqGrid("gridDnD","updateDnD");b(a).triggerHandler("jqGridGridComplete");b.isFunction(a.p.gridComplete)&&a.p.gridComplete.call(a);b(a).triggerHandler("jqGridAfterGridComplete")};a.refreshIndex=O;a.setHeadCheckBox=ha;a.constructTr=$;a.formatter=function(a,
136
- b,c,d,e){return x(a,b,c,d,e)};b.extend(c,{populate:Q,emptyRows:X,beginReq:P,endReq:T});this.grid=c;a.addXmlData=function(b){K(b,a.grid.bDiv)};a.addJSONData=function(b){Y(b,a.grid.bDiv)};this.grid.cols=this.rows[0].cells;b(a).triggerHandler("jqGridInitGrid");b.isFunction(a.p.onInitGrid)&&a.p.onInitGrid.call(a);Q();a.p.hiddengrid=!1}}}})};b.jgrid.extend({getGridParam:function(b){var f=this[0];if(f&&f.grid)return b?void 0!==f.p[b]?f.p[b]:null:f.p},setGridParam:function(e){return this.each(function(){this.grid&&
137
- "object"===typeof e&&b.extend(!0,this.p,e)})},getGridRowById:function(e){var f;this.each(function(){try{for(var c=this.rows.length;c--;)if(e.toString()===this.rows[c].id){f=this.rows[c];break}}catch(d){f=b(this.grid.bDiv).find("#"+b.jgrid.jqID(e))}});return f},getDataIDs:function(){var e=[],f=0,c,d=0;this.each(function(){if((c=this.rows.length)&&0<c)for(;f<c;)b(this.rows[f]).hasClass("jqgrow")&&(e[d]=this.rows[f].id,d++),f++});return e},setSelection:function(e,f,c){return this.each(function(){var d,
138
- a,l,g,h,k;void 0!==e&&(f=!1===f?!1:!0,!(a=b(this).jqGrid("getGridRowById",e))||!a.className||-1<a.className.indexOf("ui-state-disabled")||(!0===this.p.scrollrows&&(l=b(this).jqGrid("getGridRowById",e).rowIndex,0<=l&&(d=b(this.grid.bDiv)[0].clientHeight,g=b(this.grid.bDiv)[0].scrollTop,h=b(this.rows[l]).position().top,l=this.rows[l].clientHeight,h+l>=d+g?b(this.grid.bDiv)[0].scrollTop=h-(d+g)+l+g:h<d+g&&h<g&&(b(this.grid.bDiv)[0].scrollTop=h))),!0===this.p.frozenColumns&&(k=this.p.id+"_frozen"),this.p.multiselect?
139
- (this.setHeadCheckBox(!1),this.p.selrow=a.id,g=b.inArray(this.p.selrow,this.p.selarrrow),-1===g?("ui-subgrid"!==a.className&&b(a).addClass("ui-state-highlight").attr("aria-selected","true"),d=!0,this.p.selarrrow.push(this.p.selrow)):("ui-subgrid"!==a.className&&b(a).removeClass("ui-state-highlight").attr("aria-selected","false"),d=!1,this.p.selarrrow.splice(g,1),h=this.p.selarrrow[0],this.p.selrow=void 0===h?null:h),b("#jqg_"+b.jgrid.jqID(this.p.id)+"_"+b.jgrid.jqID(a.id))[this.p.useProp?"prop":"attr"]("checked",
140
- d),k&&(-1===g?b("#"+b.jgrid.jqID(e),"#"+b.jgrid.jqID(k)).addClass("ui-state-highlight"):b("#"+b.jgrid.jqID(e),"#"+b.jgrid.jqID(k)).removeClass("ui-state-highlight"),b("#jqg_"+b.jgrid.jqID(this.p.id)+"_"+b.jgrid.jqID(e),"#"+b.jgrid.jqID(k))[this.p.useProp?"prop":"attr"]("checked",d)),f&&(b(this).triggerHandler("jqGridSelectRow",[a.id,d,c]),this.p.onSelectRow&&this.p.onSelectRow.call(this,a.id,d,c))):"ui-subgrid"!==a.className&&(this.p.selrow!==a.id?(b(b(this).jqGrid("getGridRowById",this.p.selrow)).removeClass("ui-state-highlight").attr({"aria-selected":"false",
141
- tabindex:"-1"}),b(a).addClass("ui-state-highlight").attr({"aria-selected":"true",tabindex:"0"}),k&&(b("#"+b.jgrid.jqID(this.p.selrow),"#"+b.jgrid.jqID(k)).removeClass("ui-state-highlight"),b("#"+b.jgrid.jqID(e),"#"+b.jgrid.jqID(k)).addClass("ui-state-highlight")),d=!0):d=!1,this.p.selrow=a.id,f&&(b(this).triggerHandler("jqGridSelectRow",[a.id,d,c]),this.p.onSelectRow&&this.p.onSelectRow.call(this,a.id,d,c)))))})},resetSelection:function(e){return this.each(function(){var f=this,c,d;!0===f.p.frozenColumns&&
142
- (d=f.p.id+"_frozen");if(void 0!==e){c=e===f.p.selrow?f.p.selrow:e;b("#"+b.jgrid.jqID(f.p.id)+" tbody:first tr#"+b.jgrid.jqID(c)).removeClass("ui-state-highlight").attr("aria-selected","false");d&&b("#"+b.jgrid.jqID(c),"#"+b.jgrid.jqID(d)).removeClass("ui-state-highlight");if(f.p.multiselect){b("#jqg_"+b.jgrid.jqID(f.p.id)+"_"+b.jgrid.jqID(c),"#"+b.jgrid.jqID(f.p.id))[f.p.useProp?"prop":"attr"]("checked",!1);if(d)b("#jqg_"+b.jgrid.jqID(f.p.id)+"_"+b.jgrid.jqID(c),"#"+b.jgrid.jqID(d))[f.p.useProp?"prop":
143
- "attr"]("checked",!1);f.setHeadCheckBox(!1)}c=null}else f.p.multiselect?(b(f.p.selarrrow).each(function(a,c){b(b(f).jqGrid("getGridRowById",c)).removeClass("ui-state-highlight").attr("aria-selected","false");b("#jqg_"+b.jgrid.jqID(f.p.id)+"_"+b.jgrid.jqID(c))[f.p.useProp?"prop":"attr"]("checked",!1);d&&(b("#"+b.jgrid.jqID(c),"#"+b.jgrid.jqID(d)).removeClass("ui-state-highlight"),b("#jqg_"+b.jgrid.jqID(f.p.id)+"_"+b.jgrid.jqID(c),"#"+b.jgrid.jqID(d))[f.p.useProp?"prop":"attr"]("checked",!1))}),f.setHeadCheckBox(!1),
144
- f.p.selarrrow=[],f.p.selrow=null):f.p.selrow&&(b("#"+b.jgrid.jqID(f.p.id)+" tbody:first tr#"+b.jgrid.jqID(f.p.selrow)).removeClass("ui-state-highlight").attr("aria-selected","false"),d&&b("#"+b.jgrid.jqID(f.p.selrow),"#"+b.jgrid.jqID(d)).removeClass("ui-state-highlight"),f.p.selrow=null);!0===f.p.cellEdit&&0<=parseInt(f.p.iCol,10)&&0<=parseInt(f.p.iRow,10)&&(b("td:eq("+f.p.iCol+")",f.rows[f.p.iRow]).removeClass("edit-cell ui-state-highlight"),b(f.rows[f.p.iRow]).removeClass("selected-row ui-state-hover"));
145
- f.p.savedRow=[]})},getRowData:function(e){var f={},c,d=!1,a,l=0;this.each(function(){var g=this,h,k;if(void 0===e)d=!0,c=[],a=g.rows.length;else{k=b(g).jqGrid("getGridRowById",e);if(!k)return f;a=2}for(;l<a;)d&&(k=g.rows[l]),b(k).hasClass("jqgrow")&&(b('td[role="gridcell"]',k).each(function(a){h=g.p.colModel[a].name;if("cb"!==h&&"subgrid"!==h&&"rn"!==h)if(!0===g.p.treeGrid&&h===g.p.ExpandColumn)f[h]=b.jgrid.htmlDecode(b("span:first",this).html());else try{f[h]=b.unformat.call(g,this,{rowId:k.id,colModel:g.p.colModel[a]},
146
- a)}catch(c){f[h]=b.jgrid.htmlDecode(b(this).html())}}),d&&(c.push(f),f={})),l++});return c||f},delRowData:function(e){var f=!1,c,d;this.each(function(){c=b(this).jqGrid("getGridRowById",e);if(!c)return!1;b(c).remove();this.p.records--;this.p.reccount--;this.updatepager(!0,!1);f=!0;this.p.multiselect&&(d=b.inArray(e,this.p.selarrrow),-1!==d&&this.p.selarrrow.splice(d,1));this.p.selrow=this.p.multiselect&&0<this.p.selarrrow.length?this.p.selarrrow[this.p.selarrrow.length-1]:null;if("local"===this.p.datatype){var a=
147
- b.jgrid.stripPref(this.p.idPrefix,e),a=this.p._index[a];void 0!==a&&(this.p.data.splice(a,1),this.refreshIndex())}if(!0===this.p.altRows&&f){var l=this.p.altclass;b(this.rows).each(function(a){1===a%2?b(this).addClass(l):b(this).removeClass(l)})}});return f},setRowData:function(e,f,c){var d,a=!0,l;this.each(function(){if(!this.grid)return!1;var g=this,h,k,n=typeof c,m={};k=b(this).jqGrid("getGridRowById",e);if(!k)return!1;if(f)try{if(b(this.p.colModel).each(function(a){d=this.name;var c=b.jgrid.getAccessor(f,
148
- d);void 0!==c&&(m[d]=this.formatter&&"string"===typeof this.formatter&&"date"===this.formatter?b.unformat.date.call(g,c,this):c,h=g.formatter(e,c,a,f,"edit"),l=this.title?{title:b.jgrid.stripHtml(h)}:{},!0===g.p.treeGrid&&d===g.p.ExpandColumn?b("td[role='gridcell']:eq("+a+") > span:first",k).html(h).attr(l):b("td[role='gridcell']:eq("+a+")",k).html(h).attr(l))}),"local"===g.p.datatype){var r=b.jgrid.stripPref(g.p.idPrefix,e),p=g.p._index[r],q;if(g.p.treeGrid)for(q in g.p.treeReader)g.p.treeReader.hasOwnProperty(q)&&
149
- delete m[g.p.treeReader[q]];void 0!==p&&(g.p.data[p]=b.extend(!0,g.p.data[p],m));m=null}}catch(x){a=!1}a&&("string"===n?b(k).addClass(c):null!==c&&"object"===n&&b(k).css(c),b(g).triggerHandler("jqGridAfterGridComplete"))});return a},addRowData:function(e,f,c,d){c||(c="last");var a=!1,l,g,h,k,n,m,r,p,q="",x,G,U,M,ea,W;f&&(b.isArray(f)?(x=!0,c="last",G=e):(f=[f],x=!1),this.each(function(){var X=f.length;n=!0===this.p.rownumbers?1:0;h=!0===this.p.multiselect?1:0;k=!0===this.p.subGrid?1:0;x||(void 0!==
150
- e?e=String(e):(e=b.jgrid.randId(),!1!==this.p.keyIndex&&(G=this.p.colModel[this.p.keyIndex+h+k+n].name,void 0!==f[0][G]&&(e=f[0][G]))));U=this.p.altclass;for(var O=0,$="",K={},Y=b.isFunction(this.p.afterInsertRow)?!0:!1;O<X;){M=f[O];g=[];if(x){try{e=M[G],void 0===e&&(e=b.jgrid.randId())}catch(oa){e=b.jgrid.randId()}$=!0===this.p.altRows?0===(this.rows.length-1)%2?U:"":""}W=e;e=this.p.idPrefix+e;n&&(q=this.formatCol(0,1,"",null,e,!0),g[g.length]='<td role="gridcell" class="ui-state-default jqgrid-rownum" '+
151
- q+">0</td>");h&&(p='<input role="checkbox" type="checkbox" id="jqg_'+this.p.id+"_"+e+'" class="cbox"/>',q=this.formatCol(n,1,"",null,e,!0),g[g.length]='<td role="gridcell" '+q+">"+p+"</td>");k&&(g[g.length]=b(this).jqGrid("addSubGridCell",h+n,1));for(r=h+k+n;r<this.p.colModel.length;r++)ea=this.p.colModel[r],l=ea.name,K[l]=M[l],p=this.formatter(e,b.jgrid.getAccessor(M,l),r,M),q=this.formatCol(r,1,p,M,e,K),g[g.length]='<td role="gridcell" '+q+">"+p+"</td>";g.unshift(this.constructTr(e,!1,$,K,M,!1));
152
- g[g.length]="</tr>";if(0===this.rows.length)b("table:first",this.grid.bDiv).append(g.join(""));else switch(c){case "last":b(this.rows[this.rows.length-1]).after(g.join(""));m=this.rows.length-1;break;case "first":b(this.rows[0]).after(g.join(""));m=1;break;case "after":if(m=b(this).jqGrid("getGridRowById",d))b(this.rows[m.rowIndex+1]).hasClass("ui-subgrid")?b(this.rows[m.rowIndex+1]).after(g):b(m).after(g.join("")),m=m.rowIndex+1;break;case "before":if(m=b(this).jqGrid("getGridRowById",d))b(m).before(g.join("")),
153
- m=m.rowIndex-1}!0===this.p.subGrid&&b(this).jqGrid("addSubGrid",h+n,m);this.p.records++;this.p.reccount++;b(this).triggerHandler("jqGridAfterInsertRow",[e,M,M]);Y&&this.p.afterInsertRow.call(this,e,M,M);O++;"local"===this.p.datatype&&(K[this.p.localReader.id]=W,this.p._index[W]=this.p.data.length,this.p.data.push(K),K={})}!0!==this.p.altRows||x||("last"===c?1===(this.rows.length-1)%2&&b(this.rows[this.rows.length-1]).addClass(U):b(this.rows).each(function(a){1===a%2?b(this).addClass(U):b(this).removeClass(U)}));
154
- this.updatepager(!0,!0);a=!0}));return a},footerData:function(e,f,c){function d(a){for(var b in a)if(a.hasOwnProperty(b))return!1;return!0}var a,l=!1,g={},h;void 0==e&&(e="get");"boolean"!==typeof c&&(c=!0);e=e.toLowerCase();this.each(function(){var k=this,n;if(!k.grid||!k.p.footerrow||"set"===e&&d(f))return!1;l=!0;b(this.p.colModel).each(function(d){a=this.name;"set"===e?void 0!==f[a]&&(n=c?k.formatter("",f[a],d,f,"edit"):f[a],h=this.title?{title:b.jgrid.stripHtml(n)}:{},b("tr.footrow td:eq("+d+
155
- ")",k.grid.sDiv).html(n).attr(h),l=!0):"get"===e&&(g[a]=b("tr.footrow td:eq("+d+")",k.grid.sDiv).html())})});return"get"===e?g:l},showHideCol:function(e,f){return this.each(function(){var c=this,d=!1,a=b.jgrid.cell_width?0:c.p.cellLayout,l;if(c.grid){"string"===typeof e&&(e=[e]);f="none"!==f?"":"none";var g=""===f?!0:!1,h=c.p.groupHeader&&("object"===typeof c.p.groupHeader||b.isFunction(c.p.groupHeader));h&&b(c).jqGrid("destroyGroupHeader",!1);b(this.p.colModel).each(function(h){if(-1!==b.inArray(this.name,
156
- e)&&this.hidden===g){if(!0===c.p.frozenColumns&&!0===this.frozen)return!0;b("tr[role=rowheader]",c.grid.hDiv).each(function(){b(this.cells[h]).css("display",f)});b(c.rows).each(function(){b(this).hasClass("jqgroup")||b(this.cells[h]).css("display",f)});c.p.footerrow&&b("tr.footrow td:eq("+h+")",c.grid.sDiv).css("display",f);l=parseInt(this.width,10);c.p.tblwidth="none"===f?c.p.tblwidth-(l+a):c.p.tblwidth+(l+a);this.hidden=!g;d=!0;b(c).triggerHandler("jqGridShowHideCol",[g,this.name,h])}});!0===d&&
157
- (!0!==c.p.shrinkToFit||isNaN(c.p.height)||(c.p.tblwidth+=parseInt(c.p.scrollOffset,10)),b(c).jqGrid("setGridWidth",!0===c.p.shrinkToFit?c.p.tblwidth:c.p.width));h&&b(c).jqGrid("setGroupHeaders",c.p.groupHeader)}})},hideCol:function(e){return this.each(function(){b(this).jqGrid("showHideCol",e,"none")})},showCol:function(e){return this.each(function(){b(this).jqGrid("showHideCol",e,"")})},remapColumns:function(e,f,c){function d(a){var c;c=a.length?b.makeArray(a):b.extend({},a);b.each(e,function(b){a[b]=
158
- c[this]})}function a(a,c){b(">tr"+(c||""),a).each(function(){var a=this,c=b.makeArray(a.cells);b.each(e,function(){var b=c[this];b&&a.appendChild(b)})})}var l=this.get(0);d(l.p.colModel);d(l.p.colNames);d(l.grid.headers);a(b("thead:first",l.grid.hDiv),c&&":not(.ui-jqgrid-labels)");f&&a(b("#"+b.jgrid.jqID(l.p.id)+" tbody:first"),".jqgfirstrow, tr.jqgrow, tr.jqfoot");l.p.footerrow&&a(b("tbody:first",l.grid.sDiv));l.p.remapColumns&&(l.p.remapColumns.length?d(l.p.remapColumns):l.p.remapColumns=b.makeArray(e));
159
- l.p.lastsort=b.inArray(l.p.lastsort,e);l.p.treeGrid&&(l.p.expColInd=b.inArray(l.p.expColInd,e));b(l).triggerHandler("jqGridRemapColumns",[e,f,c])},setGridWidth:function(e,f){return this.each(function(){if(this.grid){var c=this,d,a=0,l=b.jgrid.cell_width?0:c.p.cellLayout,g,h=0,k=!1,n=c.p.scrollOffset,m,r=0,p;"boolean"!==typeof f&&(f=c.p.shrinkToFit);if(!isNaN(e)){e=parseInt(e,10);c.grid.width=c.p.width=e;b("#gbox_"+b.jgrid.jqID(c.p.id)).css("width",e+"px");b("#gview_"+b.jgrid.jqID(c.p.id)).css("width",
160
- e+"px");b(c.grid.bDiv).css("width",e+"px");b(c.grid.hDiv).css("width",e+"px");c.p.pager&&b(c.p.pager).css("width",e+"px");c.p.toppager&&b(c.p.toppager).css("width",e+"px");!0===c.p.toolbar[0]&&(b(c.grid.uDiv).css("width",e+"px"),"both"===c.p.toolbar[1]&&b(c.grid.ubDiv).css("width",e+"px"));c.p.footerrow&&b(c.grid.sDiv).css("width",e+"px");!1===f&&!0===c.p.forceFit&&(c.p.forceFit=!1);if(!0===f){b.each(c.p.colModel,function(){!1===this.hidden&&(d=this.widthOrg,a+=d+l,this.fixed?r+=d+l:h++)});if(0===
161
- h)return;c.p.tblwidth=a;m=e-l*h-r;!isNaN(c.p.height)&&(b(c.grid.bDiv)[0].clientHeight<b(c.grid.bDiv)[0].scrollHeight||1===c.rows.length)&&(k=!0,m-=n);var a=0,q=0<c.grid.cols.length;b.each(c.p.colModel,function(b){!1!==this.hidden||this.fixed||(d=this.widthOrg,d=Math.round(m*d/(c.p.tblwidth-l*h-r)),0>d||(this.width=d,a+=d,c.grid.headers[b].width=d,c.grid.headers[b].el.style.width=d+"px",c.p.footerrow&&(c.grid.footers[b].style.width=d+"px"),q&&(c.grid.cols[b].style.width=d+"px"),g=b))});if(!g)return;
162
- p=0;k?e-r-(a+l*h)!==n&&(p=e-r-(a+l*h)-n):1!==Math.abs(e-r-(a+l*h))&&(p=e-r-(a+l*h));c.p.colModel[g].width+=p;c.p.tblwidth=a+p+l*h+r;c.p.tblwidth>e?(k=c.p.tblwidth-parseInt(e,10),c.p.tblwidth=e,d=c.p.colModel[g].width-=k):d=c.p.colModel[g].width;c.grid.headers[g].width=d;c.grid.headers[g].el.style.width=d+"px";q&&(c.grid.cols[g].style.width=d+"px");c.p.footerrow&&(c.grid.footers[g].style.width=d+"px")}c.p.tblwidth&&(b("table:first",c.grid.bDiv).css("width",c.p.tblwidth+"px"),b("table:first",c.grid.hDiv).css("width",
163
- c.p.tblwidth+"px"),c.grid.hDiv.scrollLeft=c.grid.bDiv.scrollLeft,c.p.footerrow&&b("table:first",c.grid.sDiv).css("width",c.p.tblwidth+"px"))}}})},setGridHeight:function(e){return this.each(function(){if(this.grid){var f=b(this.grid.bDiv);f.css({height:e+(isNaN(e)?"":"px")});!0===this.p.frozenColumns&&b("#"+b.jgrid.jqID(this.p.id)+"_frozen").parent().height(f.height()-16);this.p.height=e;this.p.scroll&&this.grid.populateVisible()}})},setCaption:function(e){return this.each(function(){this.p.caption=
164
- e;b("span.ui-jqgrid-title, span.ui-jqgrid-title-rtl",this.grid.cDiv).html(e);b(this.grid.cDiv).show()})},setLabel:function(e,f,c,d){return this.each(function(){var a=-1;if(this.grid&&void 0!==e&&(b(this.p.colModel).each(function(b){if(this.name===e)return a=b,!1}),0<=a)){var l=b("tr.ui-jqgrid-labels th:eq("+a+")",this.grid.hDiv);if(f){var g=b(".s-ico",l);b("[id^=jqgh_]",l).empty().html(f).append(g);this.p.colNames[a]=f}c&&("string"===typeof c?b(l).addClass(c):b(l).css(c));"object"===typeof d&&b(l).attr(d)}})},
165
- setCell:function(e,f,c,d,a,l){return this.each(function(){var g=-1,h,k;if(this.grid&&(isNaN(f)?b(this.p.colModel).each(function(a){if(this.name===f)return g=a,!1}):g=parseInt(f,10),0<=g&&(h=b(this).jqGrid("getGridRowById",e)))){var n=b("td:eq("+g+")",h);if(""!==c||!0===l)h=this.formatter(e,c,g,h,"edit"),k=this.p.colModel[g].title?{title:b.jgrid.stripHtml(h)}:{},this.p.treeGrid&&0<b(".tree-wrap",b(n)).length?b("span",b(n)).html(h).attr(k):b(n).html(h).attr(k),"local"===this.p.datatype&&(h=this.p.colModel[g],
166
- c=h.formatter&&"string"===typeof h.formatter&&"date"===h.formatter?b.unformat.date.call(this,c,h):c,k=this.p._index[b.jgrid.stripPref(this.p.idPrefix,e)],void 0!==k&&(this.p.data[k][h.name]=c));"string"===typeof d?b(n).addClass(d):d&&b(n).css(d);"object"===typeof a&&b(n).attr(a)}})},getCell:function(e,f){var c=!1;this.each(function(){var d=-1;if(this.grid&&(isNaN(f)?b(this.p.colModel).each(function(a){if(this.name===f)return d=a,!1}):d=parseInt(f,10),0<=d)){var a=b(this).jqGrid("getGridRowById",e);
167
- if(a)try{c=b.unformat.call(this,b("td:eq("+d+")",a),{rowId:a.id,colModel:this.p.colModel[d]},d)}catch(l){c=b.jgrid.htmlDecode(b("td:eq("+d+")",a).html())}}});return c},getCol:function(e,f,c){var d=[],a,l=0,g,h,k;f="boolean"!==typeof f?!1:f;void 0===c&&(c=!1);this.each(function(){var n=-1;if(this.grid&&(isNaN(e)?b(this.p.colModel).each(function(a){if(this.name===e)return n=a,!1}):n=parseInt(e,10),0<=n)){var m=this.rows.length,r=0,p=0;if(m&&0<m){for(;r<m;){if(b(this.rows[r]).hasClass("jqgrow")){try{a=
168
- b.unformat.call(this,b(this.rows[r].cells[n]),{rowId:this.rows[r].id,colModel:this.p.colModel[n]},n)}catch(q){a=b.jgrid.htmlDecode(this.rows[r].cells[n].innerHTML)}c?(k=parseFloat(a),isNaN(k)||(l+=k,void 0===h&&(h=g=k),g=Math.min(g,k),h=Math.max(h,k),p++)):f?d.push({id:this.rows[r].id,value:a}):d.push(a)}r++}if(c)switch(c.toLowerCase()){case "sum":d=l;break;case "avg":d=l/p;break;case "count":d=m-1;break;case "min":d=g;break;case "max":d=h}}}});return d},clearGridData:function(e){return this.each(function(){if(this.grid){"boolean"!==
169
- typeof e&&(e=!1);if(this.p.deepempty)b("#"+b.jgrid.jqID(this.p.id)+" tbody:first tr:gt(0)").remove();else{var f=b("#"+b.jgrid.jqID(this.p.id)+" tbody:first tr:first")[0];b("#"+b.jgrid.jqID(this.p.id)+" tbody:first").empty().append(f)}this.p.footerrow&&e&&b(".ui-jqgrid-ftable td",this.grid.sDiv).html("&#160;");this.p.selrow=null;this.p.selarrrow=[];this.p.savedRow=[];this.p.records=0;this.p.page=1;this.p.lastpage=0;this.p.reccount=0;this.p.data=[];this.p._index={};this.updatepager(!0,!1)}})},getInd:function(e,
170
- f){var c=!1,d;this.each(function(){(d=b(this).jqGrid("getGridRowById",e))&&(c=!0===f?d:d.rowIndex)});return c},bindKeys:function(e){var f=b.extend({onEnter:null,onSpace:null,onLeftKey:null,onRightKey:null,scrollingRows:!0},e||{});return this.each(function(){var c=this;b("body").is("[role]")||b("body").attr("role","application");c.p.scrollrows=f.scrollingRows;b(c).keydown(function(d){var a=b(c).find("tr[tabindex=0]")[0],e,g,h,k=c.p.treeReader.expanded_field;if(a)if(h=c.p._index[b.jgrid.stripPref(c.p.idPrefix,
171
- a.id)],37===d.keyCode||38===d.keyCode||39===d.keyCode||40===d.keyCode){if(38===d.keyCode){g=a.previousSibling;e="";if(g)if(b(g).is(":hidden"))for(;g;){if(g=g.previousSibling,!b(g).is(":hidden")&&b(g).hasClass("jqgrow")){e=g.id;break}}else e=g.id;b(c).jqGrid("setSelection",e,!0,d);d.preventDefault()}if(40===d.keyCode){g=a.nextSibling;e="";if(g)if(b(g).is(":hidden"))for(;g;){if(g=g.nextSibling,!b(g).is(":hidden")&&b(g).hasClass("jqgrow")){e=g.id;break}}else e=g.id;b(c).jqGrid("setSelection",e,!0,d);
172
- d.preventDefault()}37===d.keyCode&&(c.p.treeGrid&&c.p.data[h][k]&&b(a).find("div.treeclick").trigger("click"),b(c).triggerHandler("jqGridKeyLeft",[c.p.selrow]),b.isFunction(f.onLeftKey)&&f.onLeftKey.call(c,c.p.selrow));39===d.keyCode&&(c.p.treeGrid&&!c.p.data[h][k]&&b(a).find("div.treeclick").trigger("click"),b(c).triggerHandler("jqGridKeyRight",[c.p.selrow]),b.isFunction(f.onRightKey)&&f.onRightKey.call(c,c.p.selrow))}else 13===d.keyCode?(b(c).triggerHandler("jqGridKeyEnter",[c.p.selrow]),b.isFunction(f.onEnter)&&
173
- f.onEnter.call(c,c.p.selrow)):32===d.keyCode&&(b(c).triggerHandler("jqGridKeySpace",[c.p.selrow]),b.isFunction(f.onSpace)&&f.onSpace.call(c,c.p.selrow))})})},unbindKeys:function(){return this.each(function(){b(this).unbind("keydown")})},getLocalRow:function(e){var f=!1,c;this.each(function(){void 0!==e&&(c=this.p._index[b.jgrid.stripPref(this.p.idPrefix,e)],0<=c&&(f=this.p.data[c]))});return f}})})(jQuery);
174
- (function(a){a.fmatter={};a.extend(a.fmatter,{isBoolean:function(a){return"boolean"===typeof a},isObject:function(c){return c&&("object"===typeof c||a.isFunction(c))||!1},isString:function(a){return"string"===typeof a},isNumber:function(a){return"number"===typeof a&&isFinite(a)},isValue:function(a){return this.isObject(a)||this.isString(a)||this.isNumber(a)||this.isBoolean(a)},isEmpty:function(c){if(!this.isString(c)&&this.isValue(c))return!1;if(!this.isValue(c))return!0;c=a.trim(c).replace(/\&nbsp\;/ig,
175
- "").replace(/\&#160\;/ig,"");return""===c}});a.fn.fmatter=function(c,b,d,e,f){var g=b;d=a.extend({},a.jgrid.formatter,d);try{g=a.fn.fmatter[c].call(this,b,d,e,f)}catch(h){}return g};a.fmatter.util={NumberFormat:function(c,b){a.fmatter.isNumber(c)||(c*=1);if(a.fmatter.isNumber(c)){var d=0>c,e=String(c),f=b.decimalSeparator||".",g;if(a.fmatter.isNumber(b.decimalPlaces)){var h=b.decimalPlaces,e=Math.pow(10,h),e=String(Math.round(c*e)/e);g=e.lastIndexOf(".");if(0<h)for(0>g?(e+=f,g=e.length-1):"."!==f&&
176
- (e=e.replace(".",f));e.length-1-g<h;)e+="0"}if(b.thousandsSeparator){h=b.thousandsSeparator;g=e.lastIndexOf(f);g=-1<g?g:e.length;var f=e.substring(g),l=-1,k;for(k=g;0<k;k--)l++,0===l%3&&k!==g&&(!d||1<k)&&(f=h+f),f=e.charAt(k-1)+f;e=f}e=b.prefix?b.prefix+e:e;return e=b.suffix?e+b.suffix:e}return c}};a.fn.fmatter.defaultFormat=function(c,b){return a.fmatter.isValue(c)&&""!==c?c:b.defaultValue||"&#160;"};a.fn.fmatter.email=function(c,b){return a.fmatter.isEmpty(c)?a.fn.fmatter.defaultFormat(c,b):'<a href="mailto:'+
177
- c+'">'+c+"</a>"};a.fn.fmatter.checkbox=function(c,b){var d=a.extend({},b.checkbox),e;void 0!==b.colModel&&void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));e=!0===d.disabled?'disabled="disabled"':"";if(a.fmatter.isEmpty(c)||void 0===c)c=a.fn.fmatter.defaultFormat(c,d);c=String(c);c=(c+"").toLowerCase();return'<input type="checkbox" '+(0>c.search(/(false|f|0|no|n|off|undefined)/i)?" checked='checked' ":"")+' value="'+c+'" offval="no" '+e+"/>"};a.fn.fmatter.link=function(c,
178
- b){var d={target:b.target},e="";void 0!==b.colModel&&void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));d.target&&(e="target="+d.target);return a.fmatter.isEmpty(c)?a.fn.fmatter.defaultFormat(c,b):"<a "+e+' href="'+c+'">'+c+"</a>"};a.fn.fmatter.showlink=function(c,b){var d={baseLinkUrl:b.baseLinkUrl,showAction:b.showAction,addParam:b.addParam||"",target:b.target,idName:b.idName},e="";void 0!==b.colModel&&void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));
179
- d.target&&(e="target="+d.target);d=d.baseLinkUrl+d.showAction+"?"+d.idName+"="+b.rowId+d.addParam;return a.fmatter.isString(c)||a.fmatter.isNumber(c)?"<a "+e+' href="'+d+'">'+c+"</a>":a.fn.fmatter.defaultFormat(c,b)};a.fn.fmatter.integer=function(c,b){var d=a.extend({},b.integer);void 0!==b.colModel&&void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));return a.fmatter.isEmpty(c)?d.defaultValue:a.fmatter.util.NumberFormat(c,d)};a.fn.fmatter.number=function(c,b){var d=a.extend({},
180
- b.number);void 0!==b.colModel&&void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));return a.fmatter.isEmpty(c)?d.defaultValue:a.fmatter.util.NumberFormat(c,d)};a.fn.fmatter.currency=function(c,b){var d=a.extend({},b.currency);void 0!==b.colModel&&void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));return a.fmatter.isEmpty(c)?d.defaultValue:a.fmatter.util.NumberFormat(c,d)};a.fn.fmatter.date=function(c,b,d,e){d=a.extend({},b.date);void 0!==b.colModel&&
181
- void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));return d.reformatAfterEdit||"edit"!==e?a.fmatter.isEmpty(c)?a.fn.fmatter.defaultFormat(c,b):a.jgrid.parseDate(d.srcformat,c,d.newformat,d):a.fn.fmatter.defaultFormat(c,b)};a.fn.fmatter.select=function(c,b){c=String(c);var d=!1,e=[],f,g;void 0!==b.colModel.formatoptions?(d=b.colModel.formatoptions.value,f=void 0===b.colModel.formatoptions.separator?":":b.colModel.formatoptions.separator,g=void 0===b.colModel.formatoptions.delimiter?
182
- ";":b.colModel.formatoptions.delimiter):void 0!==b.colModel.editoptions&&(d=b.colModel.editoptions.value,f=void 0===b.colModel.editoptions.separator?":":b.colModel.editoptions.separator,g=void 0===b.colModel.editoptions.delimiter?";":b.colModel.editoptions.delimiter);if(d){var h=!0===b.colModel.editoptions.multiple?!0:!1,l=[];h&&(l=c.split(","),l=a.map(l,function(b){return a.trim(b)}));if(a.fmatter.isString(d)){var k=d.split(g),m=0,n;for(n=0;n<k.length;n++)if(g=k[n].split(f),2<g.length&&(g[1]=a.map(g,
183
- function(a,b){if(0<b)return a}).join(f)),h)-1<a.inArray(g[0],l)&&(e[m]=g[1],m++);else if(a.trim(g[0])===a.trim(c)){e[0]=g[1];break}}else a.fmatter.isObject(d)&&(h?e=a.map(l,function(a){return d[a]}):e[0]=d[c]||"")}c=e.join(", ");return""===c?a.fn.fmatter.defaultFormat(c,b):c};a.fn.fmatter.rowactions=function(c){var b=a(this).closest("tr.jqgrow"),d=b.attr("id"),e=a(this).closest("table.ui-jqgrid-btable").attr("id").replace(/_frozen([^_]*)$/,"$1"),e=a("#"+e),f=e[0],g=f.p,h=g.colModel[a.jgrid.getCellIndex(this)],
184
- l=h.frozen?a("tr#"+d+" td:eq("+a.jgrid.getCellIndex(this)+") > div",e):a(this).parent(),k={extraparam:{}},m=function(b){a.isFunction(k.afterRestore)&&k.afterRestore.call(f,b);l.find("div.ui-inline-edit,div.ui-inline-del").show();l.find("div.ui-inline-save,div.ui-inline-cancel").hide()};void 0!==h.formatoptions&&(k=a.extend(k,h.formatoptions));void 0!==g.editOptions&&(k.editOptions=g.editOptions);void 0!==g.delOptions&&(k.delOptions=g.delOptions);b.hasClass("jqgrid-new-row")&&(k.extraparam[g.prmNames.oper]=
185
- g.prmNames.addoper);b={keys:k.keys,oneditfunc:k.onEdit,successfunc:k.onSuccess,url:k.url,extraparam:k.extraparam,aftersavefunc:function(b,c){a.isFunction(k.afterSave)&&k.afterSave.call(f,b,c);l.find("div.ui-inline-edit,div.ui-inline-del").show();l.find("div.ui-inline-save,div.ui-inline-cancel").hide()},errorfunc:k.onError,afterrestorefunc:m,restoreAfterError:k.restoreAfterError,mtype:k.mtype};switch(c){case "edit":e.jqGrid("editRow",d,b);l.find("div.ui-inline-edit,div.ui-inline-del").hide();l.find("div.ui-inline-save,div.ui-inline-cancel").show();
186
- e.triggerHandler("jqGridAfterGridComplete");break;case "save":e.jqGrid("saveRow",d,b)&&(l.find("div.ui-inline-edit,div.ui-inline-del").show(),l.find("div.ui-inline-save,div.ui-inline-cancel").hide(),e.triggerHandler("jqGridAfterGridComplete"));break;case "cancel":e.jqGrid("restoreRow",d,m);l.find("div.ui-inline-edit,div.ui-inline-del").show();l.find("div.ui-inline-save,div.ui-inline-cancel").hide();e.triggerHandler("jqGridAfterGridComplete");break;case "del":e.jqGrid("delGridRow",d,k.delOptions);
187
- break;case "formedit":e.jqGrid("setSelection",d),e.jqGrid("editGridRow",d,k.editOptions)}};a.fn.fmatter.actions=function(c,b){var d={keys:!1,editbutton:!0,delbutton:!0,editformbutton:!1},e=b.rowId,f="";void 0!==b.colModel.formatoptions&&(d=a.extend(d,b.colModel.formatoptions));if(void 0===e||a.fmatter.isEmpty(e))return"";d.editformbutton?f+="<div title='"+a.jgrid.nav.edittitle+"' style='float:left;cursor:pointer;' class='ui-pg-div ui-inline-edit' "+("id='jEditButton_"+e+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'formedit'); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover'); ")+
188
- "><span class='ui-icon ui-icon-pencil'></span></div>":d.editbutton&&(f+="<div title='"+a.jgrid.nav.edittitle+"' style='float:left;cursor:pointer;' class='ui-pg-div ui-inline-edit' "+("id='jEditButton_"+e+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'edit'); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover') ")+"><span class='ui-icon ui-icon-pencil'></span></div>");d.delbutton&&(f+="<div title='"+a.jgrid.nav.deltitle+"' style='float:left;margin-left:5px;' class='ui-pg-div ui-inline-del' "+
189
- ("id='jDeleteButton_"+e+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'del'); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover'); ")+"><span class='ui-icon ui-icon-trash'></span></div>");f+="<div title='"+a.jgrid.edit.bSubmit+"' style='float:left;display:none' class='ui-pg-div ui-inline-save' "+("id='jSaveButton_"+e+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'save'); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover'); ")+
190
- "><span class='ui-icon ui-icon-disk'></span></div>";f+="<div title='"+a.jgrid.edit.bCancel+"' style='float:left;display:none;margin-left:5px;' class='ui-pg-div ui-inline-cancel' "+("id='jCancelButton_"+e+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'cancel'); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover'); ")+"><span class='ui-icon ui-icon-cancel'></span></div>";return"<div style='margin-left:8px;'>"+f+"</div>"};a.unformat=function(c,
191
- b,d,e){var f,g=b.colModel.formatter,h=b.colModel.formatoptions||{},l=/([\.\*\_\'\(\)\{\}\+\?\\])/g,k=b.colModel.unformat||a.fn.fmatter[g]&&a.fn.fmatter[g].unformat;if(void 0!==k&&a.isFunction(k))f=k.call(this,a(c).text(),b,c);else if(void 0!==g&&a.fmatter.isString(g))switch(f=a.jgrid.formatter||{},g){case "integer":h=a.extend({},f.integer,h);b=h.thousandsSeparator.replace(l,"\\$1");b=RegExp(b,"g");f=a(c).text().replace(b,"");break;case "number":h=a.extend({},f.number,h);b=h.thousandsSeparator.replace(l,
192
- "\\$1");b=RegExp(b,"g");f=a(c).text().replace(b,"").replace(h.decimalSeparator,".");break;case "currency":h=a.extend({},f.currency,h);b=h.thousandsSeparator.replace(l,"\\$1");b=RegExp(b,"g");f=a(c).text();h.prefix&&h.prefix.length&&(f=f.substr(h.prefix.length));h.suffix&&h.suffix.length&&(f=f.substr(0,f.length-h.suffix.length));f=f.replace(b,"").replace(h.decimalSeparator,".");break;case "checkbox":h=b.colModel.editoptions?b.colModel.editoptions.value.split(":"):["Yes","No"];f=a("input",c).is(":checked")?
193
- h[0]:h[1];break;case "select":f=a.unformat.select(c,b,d,e);break;case "actions":return"";default:f=a(c).text()}return void 0!==f?f:!0===e?a(c).text():a.jgrid.htmlDecode(a(c).html())};a.unformat.select=function(c,b,d,e){d=[];c=a(c).text();if(!0===e)return c;e=a.extend({},void 0!==b.colModel.formatoptions?b.colModel.formatoptions:b.colModel.editoptions);b=void 0===e.separator?":":e.separator;var f=void 0===e.delimiter?";":e.delimiter;if(e.value){var g=e.value;e=!0===e.multiple?!0:!1;var h=[];e&&(h=
194
- c.split(","),h=a.map(h,function(b){return a.trim(b)}));if(a.fmatter.isString(g)){var l=g.split(f),k=0,m;for(m=0;m<l.length;m++)if(f=l[m].split(b),2<f.length&&(f[1]=a.map(f,function(a,b){if(0<b)return a}).join(b)),e)-1<a.inArray(f[1],h)&&(d[k]=f[0],k++);else if(a.trim(f[1])===a.trim(c)){d[0]=f[0];break}}else if(a.fmatter.isObject(g)||a.isArray(g))e||(h[0]=c),d=a.map(h,function(b){var c;a.each(g,function(a,d){if(d===b)return c=a,!1});if(void 0!==c)return c});return d.join(", ")}return c||""};a.unformat.date=
195
- function(c,b){var d=a.jgrid.formatter.date||{};void 0!==b.formatoptions&&(d=a.extend({},d,b.formatoptions));return a.fmatter.isEmpty(c)?a.fn.fmatter.defaultFormat(c,b):a.jgrid.parseDate(d.newformat,c,d.srcformat,d)}})(jQuery);
196
- (function(a){a.jgrid.extend({getColProp:function(a){var c={},d=this[0];if(!d.grid)return!1;var d=d.p.colModel,h;for(h=0;h<d.length;h++)if(d[h].name===a){c=d[h];break}return c},setColProp:function(b,c){return this.each(function(){if(this.grid&&c){var d=this.p.colModel,h;for(h=0;h<d.length;h++)if(d[h].name===b){a.extend(!0,this.p.colModel[h],c);break}}})},sortGrid:function(a,c,d){return this.each(function(){var h=-1,k,e=!1;if(this.grid){a||(a=this.p.sortname);for(k=0;k<this.p.colModel.length;k++)if(this.p.colModel[k].index===
197
- a||this.p.colModel[k].name===a){h=k;!0===this.p.frozenColumns&&!0===this.p.colModel[k].frozen&&(e=this.grid.fhDiv.find("#"+this.p.id+"_"+a));break}-1!==h&&(k=this.p.colModel[h].sortable,e||(e=this.grid.headers[h].el),"boolean"!==typeof k&&(k=!0),"boolean"!==typeof c&&(c=!1),k&&this.sortData("jqgh_"+this.p.id+"_"+a,h,c,d,e))}})},clearBeforeUnload:function(){return this.each(function(){var b=this.grid;a.isFunction(b.emptyRows)&&b.emptyRows.call(this,!0,!0);a(document).unbind("mouseup.jqGrid"+this.p.id);
198
- a(b.hDiv).unbind("mousemove");a(this).unbind();b.dragEnd=null;b.dragMove=null;b.dragStart=null;b.emptyRows=null;b.populate=null;b.populateVisible=null;b.scrollGrid=null;b.selectionPreserver=null;b.bDiv=null;b.cDiv=null;b.hDiv=null;b.cols=null;var c,d=b.headers.length;for(c=0;c<d;c++)b.headers[c].el=null;this.grid=this.addJSONData=this.addXmlData=this.formatter=this.constructTr=this.setHeadCheckBox=this.refreshIndex=this.updatepager=this.sortData=this.formatCol=null})},GridDestroy:function(){return this.each(function(){if(this.grid){this.p.pager&&
199
- a(this.p.pager).remove();try{a(this).jqGrid("clearBeforeUnload"),a("#gbox_"+a.jgrid.jqID(this.id)).remove()}catch(b){}}})},GridUnload:function(){return this.each(function(){if(this.grid){var b=a(this).attr("id"),c=a(this).attr("class");this.p.pager&&a(this.p.pager).empty().removeClass("ui-state-default ui-jqgrid-pager ui-corner-bottom");var d=document.createElement("table");a(d).attr({id:b});d.className=c;b=a.jgrid.jqID(this.id);a(d).removeClass("ui-jqgrid-btable");1===a(this.p.pager).parents("#gbox_"+
200
- b).length?(a(d).insertBefore("#gbox_"+b).show(),a(this.p.pager).insertBefore("#gbox_"+b)):a(d).insertBefore("#gbox_"+b).show();a(this).jqGrid("clearBeforeUnload");a("#gbox_"+b).remove()}})},setGridState:function(b){return this.each(function(){this.grid&&("hidden"===b?(a(".ui-jqgrid-bdiv, .ui-jqgrid-hdiv","#gview_"+a.jgrid.jqID(this.p.id)).slideUp("fast"),this.p.pager&&a(this.p.pager).slideUp("fast"),this.p.toppager&&a(this.p.toppager).slideUp("fast"),!0===this.p.toolbar[0]&&("both"===this.p.toolbar[1]&&
201
- a(this.grid.ubDiv).slideUp("fast"),a(this.grid.uDiv).slideUp("fast")),this.p.footerrow&&a(".ui-jqgrid-sdiv","#gbox_"+a.jgrid.jqID(this.p.id)).slideUp("fast"),a(".ui-jqgrid-titlebar-close span",this.grid.cDiv).removeClass("ui-icon-circle-triangle-n").addClass("ui-icon-circle-triangle-s"),this.p.gridstate="hidden"):"visible"===b&&(a(".ui-jqgrid-hdiv, .ui-jqgrid-bdiv","#gview_"+a.jgrid.jqID(this.p.id)).slideDown("fast"),this.p.pager&&a(this.p.pager).slideDown("fast"),this.p.toppager&&a(this.p.toppager).slideDown("fast"),
202
- !0===this.p.toolbar[0]&&("both"===this.p.toolbar[1]&&a(this.grid.ubDiv).slideDown("fast"),a(this.grid.uDiv).slideDown("fast")),this.p.footerrow&&a(".ui-jqgrid-sdiv","#gbox_"+a.jgrid.jqID(this.p.id)).slideDown("fast"),a(".ui-jqgrid-titlebar-close span",this.grid.cDiv).removeClass("ui-icon-circle-triangle-s").addClass("ui-icon-circle-triangle-n"),this.p.gridstate="visible"))})},filterToolbar:function(b){b=a.extend({autosearch:!0,searchOnEnter:!0,beforeSearch:null,afterSearch:null,beforeClear:null,afterClear:null,
203
- searchurl:"",stringResult:!1,groupOp:"AND",defaultSearch:"bw",searchOperators:!1,resetIcon:"x",operands:{eq:"==",ne:"!",lt:"<",le:"<=",gt:">",ge:">=",bw:"^",bn:"!^","in":"=",ni:"!=",ew:"|",en:"!@",cn:"~",nc:"!~",nu:"#",nn:"!#"}},a.jgrid.search,b||{});return this.each(function(){var c=this;if(!this.ftoolbar){var d=function(){var d={},f=0,g,m,e={},q;a.each(c.p.colModel,function(){var l=a("#gs_"+a.jgrid.jqID(this.name),!0===this.frozen&&!0===c.p.frozenColumns?c.grid.fhDiv:c.grid.hDiv);m=this.index||
204
- this.name;q=b.searchOperators?l.parent().prev().children("a").attr("soper")||b.defaultSearch:this.searchoptions&&this.searchoptions.sopt?this.searchoptions.sopt[0]:"select"===this.stype?"eq":b.defaultSearch;if((g="custom"===this.stype&&a.isFunction(this.searchoptions.custom_value)&&0<l.length&&"SPAN"===l[0].nodeName.toUpperCase()?this.searchoptions.custom_value.call(c,l.children(".customelement:first"),"get"):l.val())||"nu"===q||"nn"===q)d[m]=g,e[m]=q,f++;else try{delete c.p.postData[m]}catch(k){}});
205
- var k=0<f?!0:!1;if(!0===b.stringResult||"local"===c.p.datatype){var l='{"groupOp":"'+b.groupOp+'","rules":[',n=0;a.each(d,function(a,b){0<n&&(l+=",");l+='{"field":"'+a+'",';l+='"op":"'+e[a]+'",';l+='"data":"'+(b+"").replace(/\\/g,"\\\\").replace(/\"/g,'\\"')+'"}';n++});l+="]}";a.extend(c.p.postData,{filters:l});a.each(["searchField","searchString","searchOper"],function(a,b){c.p.postData.hasOwnProperty(b)&&delete c.p.postData[b]})}else a.extend(c.p.postData,d);var r;c.p.searchurl&&(r=c.p.url,a(c).jqGrid("setGridParam",
206
- {url:c.p.searchurl}));var h="stop"===a(c).triggerHandler("jqGridToolbarBeforeSearch")?!0:!1;!h&&a.isFunction(b.beforeSearch)&&(h=b.beforeSearch.call(c));h||a(c).jqGrid("setGridParam",{search:k}).trigger("reloadGrid",[{page:1}]);r&&a(c).jqGrid("setGridParam",{url:r});a(c).triggerHandler("jqGridToolbarAfterSearch");a.isFunction(b.afterSearch)&&b.afterSearch.call(c)},h=function(e,f,g){a("#sopt_menu").remove();f=parseInt(f,10);g=parseInt(g,10)+18;f='<ul id="sopt_menu" class="ui-search-menu" role="menu" tabindex="0" style="font-size:'+
207
- (a(".ui-jqgrid-view").css("font-size")||"11px")+";left:"+f+"px;top:"+g+'px;">';g=a(e).attr("soper");var k,h=[],q,p=0,l=a(e).attr("colname");for(k=c.p.colModel.length;p<k&&c.p.colModel[p].name!==l;)p++;p=c.p.colModel[p];l=a.extend({},p.searchoptions);l.sopt||(l.sopt=[],l.sopt[0]="select"===p.stype?"eq":b.defaultSearch);a.each(b.odata,function(){h.push(this.oper)});for(p=0;p<l.sopt.length;p++)q=a.inArray(l.sopt[p],h),-1!==q&&(k=g===b.odata[q].oper?"ui-state-highlight":"",f+='<li class="ui-menu-item '+
208
- k+'" role="presentation"><a class="ui-corner-all g-menu-item" tabindex="0" role="menuitem" value="'+b.odata[q].oper+'" oper="'+b.operands[b.odata[q].oper]+'"><table cellspacing="0" cellpadding="0" border="0"><tr><td width="25px">'+b.operands[b.odata[q].oper]+"</td><td>"+b.odata[q].text+"</td></tr></table></a></li>");f+="</ul>";a("body").append(f);a("#sopt_menu").addClass("ui-menu ui-widget ui-widget-content ui-corner-all");a("#sopt_menu > li > a").hover(function(){a(this).addClass("ui-state-hover")},
209
- function(){a(this).removeClass("ui-state-hover")}).click(function(f){f=a(this).attr("value");var g=a(this).attr("oper");a(c).triggerHandler("jqGridToolbarSelectOper",[f,g,e]);a("#sopt_menu").hide();a(e).text(g).attr("soper",f);!0===b.autosearch&&(g=a(e).parent().next().children()[0],(a(g).val()||"nu"===f||"nn"===f)&&d())})},k=a("<tr class='ui-search-toolbar' role='rowheader'></tr>"),e;a.each(c.p.colModel,function(h){var f=this,g,m;m="";var x="=",q,p=a("<th role='columnheader' class='ui-state-default ui-th-column ui-th-"+
210
- c.p.direction+"'></th>"),l=a("<div style='position:relative;height:100%;padding-right:0.3em;padding-left:0.3em;'></div>"),n=a("<table class='ui-search-table' cellspacing='0'><tr><td class='ui-search-oper'></td><td class='ui-search-input'></td><td class='ui-search-clear'></td></tr></table>");!0===this.hidden&&a(p).css("display","none");this.search=!1===this.search?!1:!0;void 0===this.stype&&(this.stype="text");g=a.extend({},this.searchoptions||{});if(this.search){if(b.searchOperators){m=g.sopt?g.sopt[0]:
211
- "select"===f.stype?"eq":b.defaultSearch;for(q=0;q<b.odata.length;q++)if(b.odata[q].oper===m){x=b.operands[m]||"";break}m="<a title='"+(null!=g.searchtitle?g.searchtitle:b.operandTitle)+"' style='padding-right: 0.5em;' soper='"+m+"' class='soptclass' colname='"+this.name+"'>"+x+"</a>"}a("td:eq(0)",n).attr("colindex",h).append(m);void 0===g.clearSearch&&(g.clearSearch=!0);g.clearSearch?(m=b.resetTitle||"Clear Search Value",a("td:eq(2)",n).append("<a title='"+m+"' style='padding-right: 0.3em;padding-left: 0.3em;' class='clearsearchclass'>"+
212
- b.resetIcon+"</a>")):a("td:eq(2)",n).hide();switch(this.stype){case "select":if(m=this.surl||g.dataUrl)a(l).append(n),a.ajax(a.extend({url:m,dataType:"html",success:function(e){void 0!==g.buildSelect?(e=g.buildSelect(e))&&a("td:eq(1)",n).append(e):a("td:eq(1)",n).append(e);void 0!==g.defaultValue&&a("select",l).val(g.defaultValue);a("select",l).attr({name:f.index||f.name,id:"gs_"+f.name});g.attr&&a("select",l).attr(g.attr);a("select",l).css({width:"100%"});a.jgrid.bindEv.call(c,a("select",l)[0],g);
213
- !0===b.autosearch&&a("select",l).change(function(){d();return!1});e=null}},a.jgrid.ajaxOptions,c.p.ajaxSelectOptions||{}));else{var r,w,u;f.searchoptions?(r=void 0===f.searchoptions.value?"":f.searchoptions.value,w=void 0===f.searchoptions.separator?":":f.searchoptions.separator,u=void 0===f.searchoptions.delimiter?";":f.searchoptions.delimiter):f.editoptions&&(r=void 0===f.editoptions.value?"":f.editoptions.value,w=void 0===f.editoptions.separator?":":f.editoptions.separator,u=void 0===f.editoptions.delimiter?
214
- ";":f.editoptions.delimiter);if(r){var t=document.createElement("select");t.style.width="100%";a(t).attr({name:f.index||f.name,id:"gs_"+f.name});var v;if("string"===typeof r)for(m=r.split(u),v=0;v<m.length;v++)r=m[v].split(w),u=document.createElement("option"),u.value=r[0],u.innerHTML=r[1],t.appendChild(u);else if("object"===typeof r)for(v in r)r.hasOwnProperty(v)&&(u=document.createElement("option"),u.value=v,u.innerHTML=r[v],t.appendChild(u));void 0!==g.defaultValue&&a(t).val(g.defaultValue);g.attr&&
215
- a(t).attr(g.attr);a(l).append(n);a.jgrid.bindEv.call(c,t,g);a("td:eq(1)",n).append(t);!0===b.autosearch&&a(t).change(function(){d();return!1})}}break;case "text":w=void 0!==g.defaultValue?g.defaultValue:"";a("td:eq(1)",n).append("<input type='text' style='width:100%;padding:0px;' name='"+(f.index||f.name)+"' id='gs_"+f.name+"' value='"+w+"'/>");a(l).append(n);g.attr&&a("input",l).attr(g.attr);a.jgrid.bindEv.call(c,a("input",l)[0],g);!0===b.autosearch&&(b.searchOnEnter?a("input",l).keypress(function(a){return 13===
216
- (a.charCode||a.keyCode||0)?(d(),!1):this}):a("input",l).keydown(function(a){switch(a.which){case 13:return!1;case 9:case 16:case 37:case 38:case 39:case 40:case 27:break;default:e&&clearTimeout(e),e=setTimeout(function(){d()},500)}}));break;case "custom":a("td:eq(1)",n).append("<span style='width:95%;padding:0px;' name='"+(f.index||f.name)+"' id='gs_"+f.name+"'/>");a(l).append(n);try{if(a.isFunction(g.custom_element))if(t=g.custom_element.call(c,void 0!==g.defaultValue?g.defaultValue:"",g))t=a(t).addClass("customelement"),
217
- a(l).find(">span").append(t);else throw"e2";else throw"e1";}catch(y){"e1"===y&&a.jgrid.info_dialog(a.jgrid.errors.errcap,"function 'custom_element' "+a.jgrid.edit.msg.nodefined,a.jgrid.edit.bClose),"e2"===y?a.jgrid.info_dialog(a.jgrid.errors.errcap,"function 'custom_element' "+a.jgrid.edit.msg.novalue,a.jgrid.edit.bClose):a.jgrid.info_dialog(a.jgrid.errors.errcap,"string"===typeof y?y:y.message,a.jgrid.edit.bClose)}}}a(p).append(l);a(k).append(p);b.searchOperators||a("td:eq(0)",n).hide()});a("table thead",
218
- c.grid.hDiv).append(k);b.searchOperators&&(a(".soptclass",k).click(function(b){var c=a(this).offset();h(this,c.left,c.top);b.stopPropagation()}),a("body").on("click",function(b){"soptclass"!==b.target.className&&a("#sopt_menu").hide()}));a(".clearsearchclass",k).click(function(e){e=a(this).parents("tr:first");var f=parseInt(a("td.ui-search-oper",e).attr("colindex"),10),g=a.extend({},c.p.colModel[f].searchoptions||{}),g=g.defaultValue?g.defaultValue:"";"select"===c.p.colModel[f].stype?g?a("td.ui-search-input select",
219
- e).val(g):a("td.ui-search-input select",e)[0].selectedIndex=0:a("td.ui-search-input input",e).val(g);!0===b.autosearch&&d()});this.ftoolbar=!0;this.triggerToolbar=d;this.clearToolbar=function(d){var f={},g=0,e;d="boolean"!==typeof d?!0:d;a.each(c.p.colModel,function(){var b,d=a("#gs_"+a.jgrid.jqID(this.name),!0===this.frozen&&!0===c.p.frozenColumns?c.grid.fhDiv:c.grid.hDiv);this.searchoptions&&void 0!==this.searchoptions.defaultValue&&(b=this.searchoptions.defaultValue);e=this.index||this.name;switch(this.stype){case "select":d.find("option").each(function(c){0===
220
- c&&(this.selected=!0);if(a(this).val()===b)return this.selected=!0,!1});if(void 0!==b)f[e]=b,g++;else try{delete c.p.postData[e]}catch(h){}break;case "text":d.val(b||"");if(void 0!==b)f[e]=b,g++;else try{delete c.p.postData[e]}catch(k){}break;case "custom":a.isFunction(this.searchoptions.custom_value)&&0<d.length&&"SPAN"===d[0].nodeName.toUpperCase()&&this.searchoptions.custom_value.call(c,d.children(".customelement:first"),"set",b||"")}});var k=0<g?!0:!1;c.p.resetsearch=!0;if(!0===b.stringResult||
221
- "local"===c.p.datatype){var h='{"groupOp":"'+b.groupOp+'","rules":[',p=0;a.each(f,function(a,b){0<p&&(h+=",");h+='{"field":"'+a+'",';h+='"op":"eq",';h+='"data":"'+(b+"").replace(/\\/g,"\\\\").replace(/\"/g,'\\"')+'"}';p++});h+="]}";a.extend(c.p.postData,{filters:h});a.each(["searchField","searchString","searchOper"],function(a,b){c.p.postData.hasOwnProperty(b)&&delete c.p.postData[b]})}else a.extend(c.p.postData,f);var l;c.p.searchurl&&(l=c.p.url,a(c).jqGrid("setGridParam",{url:c.p.searchurl}));var n=
222
- "stop"===a(c).triggerHandler("jqGridToolbarBeforeClear")?!0:!1;!n&&a.isFunction(b.beforeClear)&&(n=b.beforeClear.call(c));n||d&&a(c).jqGrid("setGridParam",{search:k}).trigger("reloadGrid",[{page:1}]);l&&a(c).jqGrid("setGridParam",{url:l});a(c).triggerHandler("jqGridToolbarAfterClear");a.isFunction(b.afterClear)&&b.afterClear()};this.toggleToolbar=function(){var b=a("tr.ui-search-toolbar",c.grid.hDiv),d=!0===c.p.frozenColumns?a("tr.ui-search-toolbar",c.grid.fhDiv):!1;"none"===b.css("display")?(b.show(),
223
- d&&d.show()):(b.hide(),d&&d.hide())}}})},destroyFilterToolbar:function(){return this.each(function(){this.ftoolbar&&(this.toggleToolbar=this.clearToolbar=this.triggerToolbar=null,this.ftoolbar=!1,a(this.grid.hDiv).find("table thead tr.ui-search-toolbar").remove())})},destroyGroupHeader:function(b){void 0===b&&(b=!0);return this.each(function(){var c,d,h,k,e,s;d=this.grid;var f=a("table.ui-jqgrid-htable thead",d.hDiv),g=this.p.colModel;if(d){a(this).unbind(".setGroupHeaders");c=a("<tr>",{role:"rowheader"}).addClass("ui-jqgrid-labels");
224
- k=d.headers;d=0;for(h=k.length;d<h;d++){e=g[d].hidden?"none":"";e=a(k[d].el).width(k[d].width).css("display",e);try{e.removeAttr("rowSpan")}catch(m){e.attr("rowSpan",1)}c.append(e);s=e.children("span.ui-jqgrid-resize");0<s.length&&(s[0].style.height="");e.children("div")[0].style.top=""}a(f).children("tr.ui-jqgrid-labels").remove();a(f).prepend(c);!0===b&&a(this).jqGrid("setGridParam",{groupHeader:null})}})},setGroupHeaders:function(b){b=a.extend({useColSpanStyle:!1,groupHeaders:[]},b||{});return this.each(function(){this.p.groupHeader=
225
- b;var c,d,h=0,k,e,s,f,g,m=this.p.colModel,x=m.length,q=this.grid.headers,p=a("table.ui-jqgrid-htable",this.grid.hDiv),l=p.children("thead").children("tr.ui-jqgrid-labels:last").addClass("jqg-second-row-header");k=p.children("thead");var n=p.find(".jqg-first-row-header");void 0===n[0]?n=a("<tr>",{role:"row","aria-hidden":"true"}).addClass("jqg-first-row-header").css("height","auto"):n.empty();var r,w=function(a,b){var c=b.length,d;for(d=0;d<c;d++)if(b[d].startColumnName===a)return d;return-1};a(this).prepend(k);
226
- k=a("<tr>",{role:"rowheader"}).addClass("ui-jqgrid-labels jqg-third-row-header");for(c=0;c<x;c++)if(s=q[c].el,f=a(s),d=m[c],e={height:"0px",width:q[c].width+"px",display:d.hidden?"none":""},a("<th>",{role:"gridcell"}).css(e).addClass("ui-first-th-"+this.p.direction).appendTo(n),s.style.width="",e=w(d.name,b.groupHeaders),0<=e){e=b.groupHeaders[e];h=e.numberOfColumns;g=e.titleText;for(e=d=0;e<h&&c+e<x;e++)m[c+e].hidden||d++;e=a("<th>").attr({role:"columnheader"}).addClass("ui-state-default ui-th-column-header ui-th-"+
227
- this.p.direction).css({height:"22px","border-top":"0 none"}).html(g);0<d&&e.attr("colspan",String(d));this.p.headertitles&&e.attr("title",e.text());0===d&&e.hide();f.before(e);k.append(s);h-=1}else 0===h?b.useColSpanStyle?f.attr("rowspan","2"):(a("<th>",{role:"columnheader"}).addClass("ui-state-default ui-th-column-header ui-th-"+this.p.direction).css({display:d.hidden?"none":"","border-top":"0 none"}).insertBefore(f),k.append(s)):(k.append(s),h--);m=a(this).children("thead");m.prepend(n);k.insertAfter(l);
228
- p.append(m);b.useColSpanStyle&&(p.find("span.ui-jqgrid-resize").each(function(){var b=a(this).parent();b.is(":visible")&&(this.style.cssText="height: "+b.height()+"px !important; cursor: col-resize;")}),p.find("div.ui-jqgrid-sortable").each(function(){var b=a(this),c=b.parent();c.is(":visible")&&c.is(":has(span.ui-jqgrid-resize)")&&b.css("top",(c.height()-b.outerHeight())/2+"px")}));r=m.find("tr.jqg-first-row-header");a(this).bind("jqGridResizeStop.setGroupHeaders",function(a,b,c){r.find("th").eq(c).width(b)})})},
229
- setFrozenColumns:function(){return this.each(function(){if(this.grid){var b=this,c=b.p.colModel,d=0,h=c.length,k=-1,e=!1;if(!0!==b.p.subGrid&&!0!==b.p.treeGrid&&!0!==b.p.cellEdit&&!b.p.sortable&&!b.p.scroll){b.p.rownumbers&&d++;for(b.p.multiselect&&d++;d<h;){if(!0===c[d].frozen)e=!0,k=d;else break;d++}if(0<=k&&e){c=b.p.caption?a(b.grid.cDiv).outerHeight():0;d=a(".ui-jqgrid-htable","#gview_"+a.jgrid.jqID(b.p.id)).height();b.p.toppager&&(c+=a(b.grid.topDiv).outerHeight());!0===b.p.toolbar[0]&&"bottom"!==
230
- b.p.toolbar[1]&&(c+=a(b.grid.uDiv).outerHeight());b.grid.fhDiv=a('<div style="position:absolute;left:0px;top:'+c+"px;height:"+d+'px;" class="frozen-div ui-state-default ui-jqgrid-hdiv"></div>');b.grid.fbDiv=a('<div style="position:absolute;left:0px;top:'+(parseInt(c,10)+parseInt(d,10)+1)+'px;overflow-y:hidden" class="frozen-bdiv ui-jqgrid-bdiv"></div>');a("#gview_"+a.jgrid.jqID(b.p.id)).append(b.grid.fhDiv);c=a(".ui-jqgrid-htable","#gview_"+a.jgrid.jqID(b.p.id)).clone(!0);if(b.p.groupHeader){a("tr.jqg-first-row-header, tr.jqg-third-row-header",
231
- c).each(function(){a("th:gt("+k+")",this).remove()});var s=-1,f=-1,g,m;a("tr.jqg-second-row-header th",c).each(function(){g=parseInt(a(this).attr("colspan"),10);if(m=parseInt(a(this).attr("rowspan"),10))s++,f++;g&&(s+=g,f++);if(s===k)return!1});s!==k&&(f=k);a("tr.jqg-second-row-header",c).each(function(){a("th:gt("+f+")",this).remove()})}else a("tr",c).each(function(){a("th:gt("+k+")",this).remove()});a(c).width(1);a(b.grid.fhDiv).append(c).mousemove(function(a){if(b.grid.resizing)return b.grid.dragMove(a),
232
- !1});a(b).bind("jqGridResizeStop.setFrozenColumns",function(c,d,e){c=a(".ui-jqgrid-htable",b.grid.fhDiv);a("th:eq("+e+")",c).width(d);c=a(".ui-jqgrid-btable",b.grid.fbDiv);a("tr:first td:eq("+e+")",c).width(d)});a(b).bind("jqGridSortCol.setFrozenColumns",function(c,d,e){c=a("tr.ui-jqgrid-labels:last th:eq("+b.p.lastsort+")",b.grid.fhDiv);d=a("tr.ui-jqgrid-labels:last th:eq("+e+")",b.grid.fhDiv);a("span.ui-grid-ico-sort",c).addClass("ui-state-disabled");a(c).attr("aria-selected","false");a("span.ui-icon-"+
233
- b.p.sortorder,d).removeClass("ui-state-disabled");a(d).attr("aria-selected","true");b.p.viewsortcols[0]||b.p.lastsort===e||(a("span.s-ico",c).hide(),a("span.s-ico",d).show())});a("#gview_"+a.jgrid.jqID(b.p.id)).append(b.grid.fbDiv);a(b.grid.bDiv).scroll(function(){a(b.grid.fbDiv).scrollTop(a(this).scrollTop())});!0===b.p.hoverrows&&a("#"+a.jgrid.jqID(b.p.id)).unbind("mouseover").unbind("mouseout");a(b).bind("jqGridAfterGridComplete.setFrozenColumns",function(){a("#"+a.jgrid.jqID(b.p.id)+"_frozen").remove();
234
- a(b.grid.fbDiv).height(a(b.grid.bDiv).height()-16);var c=a("#"+a.jgrid.jqID(b.p.id)).clone(!0);a("tr[role=row]",c).each(function(){a("td[role=gridcell]:gt("+k+")",this).remove()});a(c).width(1).attr("id",b.p.id+"_frozen");a(b.grid.fbDiv).append(c);!0===b.p.hoverrows&&(a("tr.jqgrow",c).hover(function(){a(this).addClass("ui-state-hover");a("#"+a.jgrid.jqID(this.id),"#"+a.jgrid.jqID(b.p.id)).addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover");a("#"+a.jgrid.jqID(this.id),"#"+
235
- a.jgrid.jqID(b.p.id)).removeClass("ui-state-hover")}),a("tr.jqgrow","#"+a.jgrid.jqID(b.p.id)).hover(function(){a(this).addClass("ui-state-hover");a("#"+a.jgrid.jqID(this.id),"#"+a.jgrid.jqID(b.p.id)+"_frozen").addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover");a("#"+a.jgrid.jqID(this.id),"#"+a.jgrid.jqID(b.p.id)+"_frozen").removeClass("ui-state-hover")}));c=null});b.grid.hDiv.loading||a(b).triggerHandler("jqGridAfterGridComplete");b.p.frozenColumns=!0}}}})},destroyFrozenColumns:function(){return this.each(function(){if(this.grid&&
236
- !0===this.p.frozenColumns){a(this.grid.fhDiv).remove();a(this.grid.fbDiv).remove();this.grid.fhDiv=null;this.grid.fbDiv=null;a(this).unbind(".setFrozenColumns");if(!0===this.p.hoverrows){var b;a("#"+a.jgrid.jqID(this.p.id)).bind("mouseover",function(c){b=a(c.target).closest("tr.jqgrow");"ui-subgrid"!==a(b).attr("class")&&a(b).addClass("ui-state-hover")}).bind("mouseout",function(c){b=a(c.target).closest("tr.jqgrow");a(b).removeClass("ui-state-hover")})}this.p.frozenColumns=!1}})}})})(jQuery);
237
- (function(a){a.extend(a.jgrid,{showModal:function(a){a.w.show()},closeModal:function(a){a.w.hide().attr("aria-hidden","true");a.o&&a.o.remove()},hideModal:function(d,b){b=a.extend({jqm:!0,gb:""},b||{});if(b.onClose){var c=b.gb&&"string"===typeof b.gb&&"#gbox_"===b.gb.substr(0,6)?b.onClose.call(a("#"+b.gb.substr(6))[0],d):b.onClose(d);if("boolean"===typeof c&&!c)return}if(a.fn.jqm&&!0===b.jqm)a(d).attr("aria-hidden","true").jqmHide();else{if(""!==b.gb)try{a(".jqgrid-overlay:first",b.gb).hide()}catch(g){}a(d).hide().attr("aria-hidden",
238
- "true")}},findPos:function(a){var b=0,c=0;if(a.offsetParent){do b+=a.offsetLeft,c+=a.offsetTop;while(a=a.offsetParent)}return[b,c]},createModal:function(d,b,c,g,e,h,f){c=a.extend(!0,{},a.jgrid.jqModal||{},c);var k=document.createElement("div"),l,m=this;f=a.extend({},f||{});l="rtl"===a(c.gbox).attr("dir")?!0:!1;k.className="ui-widget ui-widget-content ui-corner-all ui-jqdialog";k.id=d.themodal;var n=document.createElement("div");n.className="ui-jqdialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix";
239
- n.id=d.modalhead;a(n).append("<span class='ui-jqdialog-title'>"+c.caption+"</span>");var q=a("<a class='ui-jqdialog-titlebar-close ui-corner-all'></a>").hover(function(){q.addClass("ui-state-hover")},function(){q.removeClass("ui-state-hover")}).append("<span class='ui-icon ui-icon-closethick'></span>");a(n).append(q);l?(k.dir="rtl",a(".ui-jqdialog-title",n).css("float","right"),a(".ui-jqdialog-titlebar-close",n).css("left","0.3em")):(k.dir="ltr",a(".ui-jqdialog-title",n).css("float","left"),a(".ui-jqdialog-titlebar-close",
240
- n).css("right","0.3em"));var p=document.createElement("div");a(p).addClass("ui-jqdialog-content ui-widget-content").attr("id",d.modalcontent);a(p).append(b);k.appendChild(p);a(k).prepend(n);!0===h?a("body").append(k):"string"===typeof h?a(h).append(k):a(k).insertBefore(g);a(k).css(f);void 0===c.jqModal&&(c.jqModal=!0);b={};if(a.fn.jqm&&!0===c.jqModal)0===c.left&&0===c.top&&c.overlay&&(f=[],f=a.jgrid.findPos(e),c.left=f[0]+4,c.top=f[1]+4),b.top=c.top+"px",b.left=c.left;else if(0!==c.left||0!==c.top)b.left=
241
- c.left,b.top=c.top+"px";a("a.ui-jqdialog-titlebar-close",n).click(function(){var b=a("#"+a.jgrid.jqID(d.themodal)).data("onClose")||c.onClose,e=a("#"+a.jgrid.jqID(d.themodal)).data("gbox")||c.gbox;m.hideModal("#"+a.jgrid.jqID(d.themodal),{gb:e,jqm:c.jqModal,onClose:b});return!1});0!==c.width&&c.width||(c.width=300);0!==c.height&&c.height||(c.height=200);c.zIndex||(g=a(g).parents("*[role=dialog]").filter(":first").css("z-index"),c.zIndex=g?parseInt(g,10)+2:950);g=0;l&&b.left&&!h&&(g=a(c.gbox).width()-
242
- (isNaN(c.width)?0:parseInt(c.width,10))-8,b.left=parseInt(b.left,10)+parseInt(g,10));b.left&&(b.left+="px");a(k).css(a.extend({width:isNaN(c.width)?"auto":c.width+"px",height:isNaN(c.height)?"auto":c.height+"px",zIndex:c.zIndex,overflow:"hidden"},b)).attr({tabIndex:"-1",role:"dialog","aria-labelledby":d.modalhead,"aria-hidden":"true"});void 0===c.drag&&(c.drag=!0);void 0===c.resize&&(c.resize=!0);if(c.drag)if(a(n).css("cursor","move"),a.fn.jqDrag)a(k).jqDrag(n);else try{a(k).draggable({handle:a("#"+
243
- a.jgrid.jqID(n.id))})}catch(r){}if(c.resize)if(a.fn.jqResize)a(k).append("<div class='jqResize ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se'></div>"),a("#"+a.jgrid.jqID(d.themodal)).jqResize(".jqResize",d.scrollelm?"#"+a.jgrid.jqID(d.scrollelm):!1);else try{a(k).resizable({handles:"se, sw",alsoResize:d.scrollelm?"#"+a.jgrid.jqID(d.scrollelm):!1})}catch(s){}!0===c.closeOnEscape&&a(k).keydown(function(b){27==b.which&&(b=a("#"+a.jgrid.jqID(d.themodal)).data("onClose")||c.onClose,
244
- m.hideModal("#"+a.jgrid.jqID(d.themodal),{gb:c.gbox,jqm:c.jqModal,onClose:b}))})},viewModal:function(d,b){b=a.extend({toTop:!0,overlay:10,modal:!1,overlayClass:"ui-widget-overlay",onShow:a.jgrid.showModal,onHide:a.jgrid.closeModal,gbox:"",jqm:!0,jqM:!0},b||{});if(a.fn.jqm&&!0===b.jqm)b.jqM?a(d).attr("aria-hidden","false").jqm(b).jqmShow():a(d).attr("aria-hidden","false").jqmShow();else{""!==b.gbox&&(a(".jqgrid-overlay:first",b.gbox).show(),a(d).data("gbox",b.gbox));a(d).show().attr("aria-hidden",
245
- "false");try{a(":input:visible",d)[0].focus()}catch(c){}}},info_dialog:function(d,b,c,g){var e={width:290,height:"auto",dataheight:"auto",drag:!0,resize:!1,left:250,top:170,zIndex:1E3,jqModal:!0,modal:!1,closeOnEscape:!0,align:"center",buttonalign:"center",buttons:[]};a.extend(!0,e,a.jgrid.jqModal||{},{caption:"<b>"+d+"</b>"},g||{});var h=e.jqModal,f=this;a.fn.jqm&&!h&&(h=!1);d="";if(0<e.buttons.length)for(g=0;g<e.buttons.length;g++)void 0===e.buttons[g].id&&(e.buttons[g].id="info_button_"+g),d+=
246
- "<a id='"+e.buttons[g].id+"' class='fm-button ui-state-default ui-corner-all'>"+e.buttons[g].text+"</a>";g=isNaN(e.dataheight)?e.dataheight:e.dataheight+"px";b="<div id='info_id'>"+("<div id='infocnt' style='margin:0px;padding-bottom:1em;width:100%;overflow:auto;position:relative;height:"+g+";"+("text-align:"+e.align+";")+"'>"+b+"</div>");b+=c?"<div class='ui-widget-content ui-helper-clearfix' style='text-align:"+e.buttonalign+";padding-bottom:0.8em;padding-top:0.5em;background-image: none;border-width: 1px 0 0 0;'><a id='closedialog' class='fm-button ui-state-default ui-corner-all'>"+
247
- c+"</a>"+d+"</div>":""!==d?"<div class='ui-widget-content ui-helper-clearfix' style='text-align:"+e.buttonalign+";padding-bottom:0.8em;padding-top:0.5em;background-image: none;border-width: 1px 0 0 0;'>"+d+"</div>":"";b+="</div>";try{"false"===a("#info_dialog").attr("aria-hidden")&&a.jgrid.hideModal("#info_dialog",{jqm:h}),a("#info_dialog").remove()}catch(k){}a.jgrid.createModal({themodal:"info_dialog",modalhead:"info_head",modalcontent:"info_content",scrollelm:"infocnt"},b,e,"","",!0);d&&a.each(e.buttons,
248
- function(b){a("#"+a.jgrid.jqID(this.id),"#info_id").bind("click",function(){e.buttons[b].onClick.call(a("#info_dialog"));return!1})});a("#closedialog","#info_id").click(function(){f.hideModal("#info_dialog",{jqm:h,onClose:a("#info_dialog").data("onClose")||e.onClose,gb:a("#info_dialog").data("gbox")||e.gbox});return!1});a(".fm-button","#info_dialog").hover(function(){a(this).addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover")});a.isFunction(e.beforeOpen)&&e.beforeOpen();a.jgrid.viewModal("#info_dialog",
249
- {onHide:function(a){a.w.hide().remove();a.o&&a.o.remove()},modal:e.modal,jqm:h});a.isFunction(e.afterOpen)&&e.afterOpen();try{a("#info_dialog").focus()}catch(l){}},bindEv:function(d,b){a.isFunction(b.dataInit)&&b.dataInit.call(this,d,b);b.dataEvents&&a.each(b.dataEvents,function(){void 0!==this.data?a(d).bind(this.type,this.data,this.fn):a(d).bind(this.type,this.fn)})},createEl:function(d,b,c,g,e){function h(b,d,c){var e="dataInit dataEvents dataUrl buildSelect sopt searchhidden defaultValue attr custom_element custom_value".split(" ");
250
- void 0!==c&&a.isArray(c)&&a.merge(e,c);a.each(d,function(d,c){-1===a.inArray(d,e)&&a(b).attr(d,c)});d.hasOwnProperty("id")||a(b).attr("id",a.jgrid.randId())}var f="",k=this;switch(d){case "textarea":f=document.createElement("textarea");g?b.cols||a(f).css({width:"98%"}):b.cols||(b.cols=20);b.rows||(b.rows=2);if("&nbsp;"===c||"&#160;"===c||1===c.length&&160===c.charCodeAt(0))c="";f.value=c;h(f,b);a(f).attr({role:"textbox",multiline:"true"});break;case "checkbox":f=document.createElement("input");f.type=
251
- "checkbox";b.value?(d=b.value.split(":"),c===d[0]&&(f.checked=!0,f.defaultChecked=!0),f.value=d[0],a(f).attr("offval",d[1])):(d=(c+"").toLowerCase(),0>d.search(/(false|f|0|no|n|off|undefined)/i)&&""!==d?(f.checked=!0,f.defaultChecked=!0,f.value=c):f.value="on",a(f).attr("offval","off"));h(f,b,["value"]);a(f).attr("role","checkbox");break;case "select":f=document.createElement("select");f.setAttribute("role","select");g=[];!0===b.multiple?(d=!0,f.multiple="multiple",a(f).attr("aria-multiselectable",
252
- "true")):d=!1;if(void 0!==b.dataUrl){d=b.name?String(b.id).substring(0,String(b.id).length-String(b.name).length-1):String(b.id);var l=b.postData||e.postData;k.p&&k.p.idPrefix&&(d=a.jgrid.stripPref(k.p.idPrefix,d));a.ajax(a.extend({url:a.isFunction(b.dataUrl)?b.dataUrl.call(k,d,c,String(b.name)):b.dataUrl,type:"GET",dataType:"html",data:a.isFunction(l)?l.call(k,d,c,String(b.name)):l,context:{elem:f,options:b,vl:c},success:function(b){var d=[],c=this.elem,e=this.vl,f=a.extend({},this.options),g=!0===
253
- f.multiple;b=a.isFunction(f.buildSelect)?f.buildSelect.call(k,b):b;"string"===typeof b&&(b=a(a.trim(b)).html());b&&(a(c).append(b),h(c,f,l?["postData"]:void 0),void 0===f.size&&(f.size=g?3:1),g?(d=e.split(","),d=a.map(d,function(b){return a.trim(b)})):d[0]=a.trim(e),setTimeout(function(){a("option",c).each(function(b){0===b&&c.multiple&&(this.selected=!1);a(this).attr("role","option");if(-1<a.inArray(a.trim(a(this).text()),d)||-1<a.inArray(a.trim(a(this).val()),d))this.selected="selected"})},0))}},
254
- e||{}))}else if(b.value){var m;void 0===b.size&&(b.size=d?3:1);d&&(g=c.split(","),g=a.map(g,function(b){return a.trim(b)}));"function"===typeof b.value&&(b.value=b.value());var n,q,p=void 0===b.separator?":":b.separator;e=void 0===b.delimiter?";":b.delimiter;if("string"===typeof b.value)for(n=b.value.split(e),m=0;m<n.length;m++)q=n[m].split(p),2<q.length&&(q[1]=a.map(q,function(a,b){if(0<b)return a}).join(p)),e=document.createElement("option"),e.setAttribute("role","option"),e.value=q[0],e.innerHTML=
255
- q[1],f.appendChild(e),d||a.trim(q[0])!==a.trim(c)&&a.trim(q[1])!==a.trim(c)||(e.selected="selected"),d&&(-1<a.inArray(a.trim(q[1]),g)||-1<a.inArray(a.trim(q[0]),g))&&(e.selected="selected");else if("object"===typeof b.value)for(m in p=b.value,p)p.hasOwnProperty(m)&&(e=document.createElement("option"),e.setAttribute("role","option"),e.value=m,e.innerHTML=p[m],f.appendChild(e),d||a.trim(m)!==a.trim(c)&&a.trim(p[m])!==a.trim(c)||(e.selected="selected"),d&&(-1<a.inArray(a.trim(p[m]),g)||-1<a.inArray(a.trim(m),
256
- g))&&(e.selected="selected"));h(f,b,["value"])}break;case "text":case "password":case "button":m="button"===d?"button":"textbox";f=document.createElement("input");f.type=d;f.value=c;h(f,b);"button"!==d&&(g?b.size||a(f).css({width:"98%"}):b.size||(b.size=20));a(f).attr("role",m);break;case "image":case "file":f=document.createElement("input");f.type=d;h(f,b);break;case "custom":f=document.createElement("span");try{if(a.isFunction(b.custom_element))if(p=b.custom_element.call(k,c,b))p=a(p).addClass("customelement").attr({id:b.id,
257
- name:b.name}),a(f).empty().append(p);else throw"e2";else throw"e1";}catch(r){"e1"===r&&a.jgrid.info_dialog(a.jgrid.errors.errcap,"function 'custom_element' "+a.jgrid.edit.msg.nodefined,a.jgrid.edit.bClose),"e2"===r?a.jgrid.info_dialog(a.jgrid.errors.errcap,"function 'custom_element' "+a.jgrid.edit.msg.novalue,a.jgrid.edit.bClose):a.jgrid.info_dialog(a.jgrid.errors.errcap,"string"===typeof r?r:r.message,a.jgrid.edit.bClose)}}return f},checkDate:function(a,b){var c={},g;a=a.toLowerCase();g=-1!==a.indexOf("/")?
258
- "/":-1!==a.indexOf("-")?"-":-1!==a.indexOf(".")?".":"/";a=a.split(g);b=b.split(g);if(3!==b.length)return!1;var e=-1,h,f=g=-1,k;for(k=0;k<a.length;k++)h=isNaN(b[k])?0:parseInt(b[k],10),c[a[k]]=h,h=a[k],-1!==h.indexOf("y")&&(e=k),-1!==h.indexOf("m")&&(f=k),-1!==h.indexOf("d")&&(g=k);h="y"===a[e]||"yyyy"===a[e]?4:"yy"===a[e]?2:-1;k=[0,31,29,31,30,31,30,31,31,30,31,30,31];var l;if(-1===e)return!1;l=c[a[e]].toString();2===h&&1===l.length&&(h=1);if(l.length!==h||0===c[a[e]]&&"00"!==b[e]||-1===f)return!1;
259
- l=c[a[f]].toString();if(1>l.length||1>c[a[f]]||12<c[a[f]]||-1===g)return!1;l=c[a[g]].toString();if(!(h=1>l.length)&&!(h=1>c[a[g]])&&!(h=31<c[a[g]])){if(h=2===c[a[f]])e=c[a[e]],h=c[a[g]]>(0!==e%4||0===e%100&&0!==e%400?28:29);h=h||c[a[g]]>k[c[a[f]]]}return h?!1:!0},isEmpty:function(a){return a.match(/^\s+$/)||""===a?!0:!1},checkTime:function(d){var b=/^(\d{1,2}):(\d{2})([apAP][Mm])?$/;if(!a.jgrid.isEmpty(d))if(d=d.match(b)){if(d[3]){if(1>d[1]||12<d[1])return!1}else if(23<d[1])return!1;if(59<d[2])return!1}else return!1;
260
- return!0},checkValues:function(d,b,c,g){var e,h,f;f=this.p.colModel;if(void 0===c)if("string"===typeof b)for(c=0,g=f.length;c<g;c++){if(f[c].name===b){e=f[c].editrules;b=c;null!=f[c].formoptions&&(h=f[c].formoptions.label);break}}else 0<=b&&(e=f[b].editrules);else e=c,h=void 0===g?"_":g;if(e){h||(h=null!=this.p.colNames?this.p.colNames[b]:f[b].label);if(!0===e.required&&a.jgrid.isEmpty(d))return[!1,h+": "+a.jgrid.edit.msg.required,""];c=!1===e.required?!1:!0;if(!0===e.number&&(!1!==c||!a.jgrid.isEmpty(d))&&
261
- isNaN(d))return[!1,h+": "+a.jgrid.edit.msg.number,""];if(void 0!==e.minValue&&!isNaN(e.minValue)&&parseFloat(d)<parseFloat(e.minValue))return[!1,h+": "+a.jgrid.edit.msg.minValue+" "+e.minValue,""];if(void 0!==e.maxValue&&!isNaN(e.maxValue)&&parseFloat(d)>parseFloat(e.maxValue))return[!1,h+": "+a.jgrid.edit.msg.maxValue+" "+e.maxValue,""];if(!(!0!==e.email||!1===c&&a.jgrid.isEmpty(d)||(g=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i,
262
- g.test(d))))return[!1,h+": "+a.jgrid.edit.msg.email,""];if(!(!0!==e.integer||!1===c&&a.jgrid.isEmpty(d)||!isNaN(d)&&0===d%1&&-1===d.indexOf(".")))return[!1,h+": "+a.jgrid.edit.msg.integer,""];if(!(!0!==e.date||!1===c&&a.jgrid.isEmpty(d)||(f[b].formatoptions&&f[b].formatoptions.newformat?(f=f[b].formatoptions.newformat,a.jgrid.formatter.date.masks.hasOwnProperty(f)&&(f=a.jgrid.formatter.date.masks[f])):f=f[b].datefmt||"Y-m-d",a.jgrid.checkDate(f,d))))return[!1,h+": "+a.jgrid.edit.msg.date+" - "+f,
263
- ""];if(!0===e.time&&!(!1===c&&a.jgrid.isEmpty(d)||a.jgrid.checkTime(d)))return[!1,h+": "+a.jgrid.edit.msg.date+" - hh:mm (am/pm)",""];if(!(!0!==e.url||!1===c&&a.jgrid.isEmpty(d)||(g=/^(((https?)|(ftp)):\/\/([\-\w]+\.)+\w{2,3}(\/[%\-\w]+(\.\w{2,})?)*(([\w\-\.\?\\\/+@&#;`~=%!]*)(\.\w{2,})?)*\/?)/i,g.test(d))))return[!1,h+": "+a.jgrid.edit.msg.url,""];if(!0===e.custom&&(!1!==c||!a.jgrid.isEmpty(d)))return a.isFunction(e.custom_func)?(d=e.custom_func.call(this,d,h,b),a.isArray(d)?d:[!1,a.jgrid.edit.msg.customarray,
264
- ""]):[!1,a.jgrid.edit.msg.customfcheck,""]}return[!0,"",""]}})})(jQuery);
265
- (function(a){var b={};a.jgrid.extend({searchGrid:function(b){b=a.extend(!0,{recreateFilter:!1,drag:!0,sField:"searchField",sValue:"searchString",sOper:"searchOper",sFilter:"filters",loadDefaults:!0,beforeShowSearch:null,afterShowSearch:null,onInitializeSearch:null,afterRedraw:null,afterChange:null,closeAfterSearch:!1,closeAfterReset:!1,closeOnEscape:!1,searchOnEnter:!1,multipleSearch:!1,multipleGroup:!1,top:0,left:0,jqModal:!0,modal:!1,resize:!0,width:450,height:"auto",dataheight:"auto",showQuery:!1,
266
- errorcheck:!0,sopt:null,stringResult:void 0,onClose:null,onSearch:null,onReset:null,toTop:!0,overlay:30,columns:[],tmplNames:null,tmplFilters:null,tmplLabel:" Template: ",showOnLoad:!1,layer:null,operands:{eq:"=",ne:"<>",lt:"<",le:"<=",gt:">",ge:">=",bw:"LIKE",bn:"NOT LIKE","in":"IN",ni:"NOT IN",ew:"LIKE",en:"NOT LIKE",cn:"LIKE",nc:"NOT LIKE",nu:"IS NULL",nn:"ISNOT NULL"}},a.jgrid.search,b||{});return this.each(function(){function c(c){w=a(e).triggerHandler("jqGridFilterBeforeShow",[c]);void 0===
267
- w&&(w=!0);w&&a.isFunction(b.beforeShowSearch)&&(w=b.beforeShowSearch.call(e,c));w&&(a.jgrid.viewModal("#"+a.jgrid.jqID(s.themodal),{gbox:"#gbox_"+a.jgrid.jqID(h),jqm:b.jqModal,modal:b.modal,overlay:b.overlay,toTop:b.toTop}),a(e).triggerHandler("jqGridFilterAfterShow",[c]),a.isFunction(b.afterShowSearch)&&b.afterShowSearch.call(e,c))}var e=this;if(e.grid){var h="fbox_"+e.p.id,w=!0,t=!0,s={themodal:"searchmod"+h,modalhead:"searchhd"+h,modalcontent:"searchcnt"+h,scrollelm:h},r=e.p.postData[b.sFilter];
268
- "string"===typeof r&&(r=a.jgrid.parse(r));!0===b.recreateFilter&&a("#"+a.jgrid.jqID(s.themodal)).remove();if(void 0!==a("#"+a.jgrid.jqID(s.themodal))[0])c(a("#fbox_"+a.jgrid.jqID(+e.p.id)));else{var f=a("<div><div id='"+h+"' class='searchFilter' style='overflow:auto'></div></div>").insertBefore("#gview_"+a.jgrid.jqID(e.p.id)),k="left",u="";"rtl"===e.p.direction&&(k="right",u=" style='text-align:left'",f.attr("dir","rtl"));var x=a.extend([],e.p.colModel),d="<a id='"+h+"_search' class='fm-button ui-state-default ui-corner-all fm-button-icon-right ui-reset'><span class='ui-icon ui-icon-search'></span>"+
269
- b.Find+"</a>",v="<a id='"+h+"_reset' class='fm-button ui-state-default ui-corner-all fm-button-icon-left ui-search'><span class='ui-icon ui-icon-arrowreturnthick-1-w'></span>"+b.Reset+"</a>",g="",m="",p,q=!1,y=-1;b.showQuery&&(g="<a id='"+h+"_query' class='fm-button ui-state-default ui-corner-all fm-button-icon-left'><span class='ui-icon ui-icon-comment'></span>Query</a>");b.columns.length?(x=b.columns,y=0,p=x[0].index||x[0].name):a.each(x,function(a,b){b.label||(b.label=e.p.colNames[a]);if(!q){var c=
270
- void 0===b.search?!0:b.search,d=!0===b.hidden;if(b.searchoptions&&!0===b.searchoptions.searchhidden&&c||c&&!d)q=!0,p=b.index||b.name,y=a}});if(!r&&p||!1===b.multipleSearch){var D="eq";0<=y&&x[y].searchoptions&&x[y].searchoptions.sopt?D=x[y].searchoptions.sopt[0]:b.sopt&&b.sopt.length&&(D=b.sopt[0]);r={groupOp:"AND",rules:[{field:p,op:D,data:""}]}}q=!1;b.tmplNames&&b.tmplNames.length&&(q=!0,m=b.tmplLabel,m+="<select class='ui-template'>",m+="<option value='default'>Default</option>",a.each(b.tmplNames,
271
- function(a,b){m+="<option value='"+a+"'>"+b+"</option>"}),m+="</select>");k="<table class='EditTable' style='border:0px none;margin-top:5px' id='"+h+"_2'><tbody><tr><td colspan='2'><hr class='ui-widget-content' style='margin:1px'/></td></tr><tr><td class='EditButton' style='text-align:"+k+"'>"+v+m+"</td><td class='EditButton' "+u+">"+g+d+"</td></tr></tbody></table>";h=a.jgrid.jqID(h);a("#"+h).jqFilter({columns:x,filter:b.loadDefaults?r:null,showQuery:b.showQuery,errorcheck:b.errorcheck,sopt:b.sopt,
272
- groupButton:b.multipleGroup,ruleButtons:b.multipleSearch,afterRedraw:b.afterRedraw,ops:b.odata,operands:b.operands,ajaxSelectOptions:e.p.ajaxSelectOptions,groupOps:b.groupOps,onChange:function(){this.p.showQuery&&a(".query",this).html(this.toUserFriendlyString());a.isFunction(b.afterChange)&&b.afterChange.call(e,a("#"+h),b)},direction:e.p.direction,id:e.p.id});f.append(k);q&&b.tmplFilters&&b.tmplFilters.length&&a(".ui-template",f).bind("change",function(){var c=a(this).val();"default"===c?a("#"+h).jqFilter("addFilter",
273
- r):a("#"+h).jqFilter("addFilter",b.tmplFilters[parseInt(c,10)]);return!1});!0===b.multipleGroup&&(b.multipleSearch=!0);a(e).triggerHandler("jqGridFilterInitialize",[a("#"+h)]);a.isFunction(b.onInitializeSearch)&&b.onInitializeSearch.call(e,a("#"+h));b.gbox="#gbox_"+h;b.layer?a.jgrid.createModal(s,f,b,"#gview_"+a.jgrid.jqID(e.p.id),a("#gbox_"+a.jgrid.jqID(e.p.id))[0],"#"+a.jgrid.jqID(b.layer),{position:"relative"}):a.jgrid.createModal(s,f,b,"#gview_"+a.jgrid.jqID(e.p.id),a("#gbox_"+a.jgrid.jqID(e.p.id))[0]);
274
- (b.searchOnEnter||b.closeOnEscape)&&a("#"+a.jgrid.jqID(s.themodal)).keydown(function(c){var d=a(c.target);if(b.searchOnEnter&&13===c.which&&!(d.hasClass("add-group")||d.hasClass("add-rule")||d.hasClass("delete-group")||d.hasClass("delete-rule")||d.hasClass("fm-button")&&d.is("[id$=_query]")))return a("#"+h+"_search").click(),!1;if(b.closeOnEscape&&27===c.which)return a("#"+a.jgrid.jqID(s.modalhead)).find(".ui-jqdialog-titlebar-close").click(),!1});g&&a("#"+h+"_query").bind("click",function(){a(".queryresult",
275
- f).toggle();return!1});void 0===b.stringResult&&(b.stringResult=b.multipleSearch);a("#"+h+"_search").bind("click",function(){var c=a("#"+h),d={},n,g;c.find(".input-elm:focus").change();g=c.jqFilter("filterData");if(b.errorcheck&&(c[0].hideError(),b.showQuery||c.jqFilter("toSQLString"),c[0].p.error))return c[0].showError(),!1;if(b.stringResult){try{n=xmlJsonClass.toJson(g,"","",!1)}catch(f){try{n=JSON.stringify(g)}catch(k){}}"string"===typeof n&&(d[b.sFilter]=n,a.each([b.sField,b.sValue,b.sOper],function(){d[this]=
276
- ""}))}else b.multipleSearch?(d[b.sFilter]=g,a.each([b.sField,b.sValue,b.sOper],function(){d[this]=""})):(d[b.sField]=g.rules[0].field,d[b.sValue]=g.rules[0].data,d[b.sOper]=g.rules[0].op,d[b.sFilter]="");e.p.search=!0;a.extend(e.p.postData,d);t=a(e).triggerHandler("jqGridFilterSearch");void 0===t&&(t=!0);t&&a.isFunction(b.onSearch)&&(t=b.onSearch.call(e,e.p.filters));!1!==t&&a(e).trigger("reloadGrid",[{page:1}]);b.closeAfterSearch&&a.jgrid.hideModal("#"+a.jgrid.jqID(s.themodal),{gb:"#gbox_"+a.jgrid.jqID(e.p.id),
277
- jqm:b.jqModal,onClose:b.onClose});return!1});a("#"+h+"_reset").bind("click",function(){var c={},d=a("#"+h);e.p.search=!1;e.p.resetsearch=!0;!1===b.multipleSearch?c[b.sField]=c[b.sValue]=c[b.sOper]="":c[b.sFilter]="";d[0].resetFilter();q&&a(".ui-template",f).val("default");a.extend(e.p.postData,c);t=a(e).triggerHandler("jqGridFilterReset");void 0===t&&(t=!0);t&&a.isFunction(b.onReset)&&(t=b.onReset.call(e));!1!==t&&a(e).trigger("reloadGrid",[{page:1}]);b.closeAfterReset&&a.jgrid.hideModal("#"+a.jgrid.jqID(s.themodal),
278
- {gb:"#gbox_"+a.jgrid.jqID(e.p.id),jqm:b.jqModal,onClose:b.onClose});return!1});c(a("#"+h));a(".fm-button:not(.ui-state-disabled)",f).hover(function(){a(this).addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover")})}}})},editGridRow:function(z,c){c=a.extend(!0,{top:0,left:0,width:300,datawidth:"auto",height:"auto",dataheight:"auto",modal:!1,overlay:30,drag:!0,resize:!0,url:null,mtype:"POST",clearAfterAdd:!0,closeAfterEdit:!1,reloadAfterSubmit:!0,onInitializeForm:null,beforeInitData:null,
279
- beforeShowForm:null,afterShowForm:null,beforeSubmit:null,afterSubmit:null,onclickSubmit:null,afterComplete:null,onclickPgButtons:null,afterclickPgButtons:null,editData:{},recreateForm:!1,jqModal:!0,closeOnEscape:!1,addedrow:"first",topinfo:"",bottominfo:"",saveicon:[],closeicon:[],savekey:[!1,13],navkeys:[!1,38,40],checkOnSubmit:!1,checkOnUpdate:!1,_savedData:{},processing:!1,onClose:null,ajaxEditOptions:{},serializeEditData:null,viewPagerButtons:!0,overlayClass:"ui-widget-overlay"},a.jgrid.edit,
280
- c||{});b[a(this)[0].p.id]=c;return this.each(function(){function e(){a(p+" > tbody > tr > td > .FormElement").each(function(){var b=a(".customelement",this);if(b.length){var c=a(b[0]).attr("name");a.each(d.p.colModel,function(){if(this.name===c&&this.editoptions&&a.isFunction(this.editoptions.custom_value)){try{if(l[c]=this.editoptions.custom_value.call(d,a("#"+a.jgrid.jqID(c),p),"get"),void 0===l[c])throw"e1";}catch(b){"e1"===b?a.jgrid.info_dialog(a.jgrid.errors.errcap,"function 'custom_value' "+
281
- a.jgrid.edit.msg.novalue,a.jgrid.edit.bClose):a.jgrid.info_dialog(a.jgrid.errors.errcap,b.message,a.jgrid.edit.bClose)}return!0}})}else{switch(a(this).get(0).type){case "checkbox":a(this).is(":checked")?l[this.name]=a(this).val():(b=a(this).attr("offval"),l[this.name]=b);break;case "select-one":l[this.name]=a("option:selected",this).val();break;case "select-multiple":l[this.name]=a(this).val();l[this.name]=l[this.name]?l[this.name].join(","):"";a("option:selected",this).each(function(b,c){a(c).text()});
282
- break;case "password":case "text":case "textarea":case "button":l[this.name]=a(this).val()}d.p.autoencode&&(l[this.name]=a.jgrid.htmlEncode(l[this.name]))}});return!0}function h(c,e,n,f){var k,l,p,h=0,q,m,r,C=[],u=!1,z="",t;for(t=1;t<=f;t++)z+="<td class='CaptionTD'>&#160;</td><td class='DataTD'>&#160;</td>";"_empty"!==c&&(u=a(e).jqGrid("getInd",c));a(e.p.colModel).each(function(t){k=this.name;m=(l=this.editrules&&!0===this.editrules.edithidden?!1:!0===this.hidden?!0:!1)?"style='display:none'":"";
283
- if("cb"!==k&&"subgrid"!==k&&!0===this.editable&&"rn"!==k){if(!1===u)q="";else if(k===e.p.ExpandColumn&&!0===e.p.treeGrid)q=a("td[role='gridcell']:eq("+t+")",e.rows[u]).text();else{try{q=a.unformat.call(e,a("td[role='gridcell']:eq("+t+")",e.rows[u]),{rowId:c,colModel:this},t)}catch(w){q=this.edittype&&"textarea"===this.edittype?a("td[role='gridcell']:eq("+t+")",e.rows[u]).text():a("td[role='gridcell']:eq("+t+")",e.rows[u]).html()}if(!q||"&nbsp;"===q||"&#160;"===q||1===q.length&&160===q.charCodeAt(0))q=
284
- ""}var s=a.extend({},this.editoptions||{},{id:k,name:k}),y=a.extend({},{elmprefix:"",elmsuffix:"",rowabove:!1,rowcontent:""},this.formoptions||{}),v=parseInt(y.rowpos,10)||h+1,A=parseInt(2*(parseInt(y.colpos,10)||1),10);"_empty"===c&&s.defaultValue&&(q=a.isFunction(s.defaultValue)?s.defaultValue.call(d):s.defaultValue);this.edittype||(this.edittype="text");d.p.autoencode&&(q=a.jgrid.htmlDecode(q));r=a.jgrid.createEl.call(d,this.edittype,s,q,!1,a.extend({},a.jgrid.ajaxOptions,e.p.ajaxSelectOptions||
285
- {}));if(b[d.p.id].checkOnSubmit||b[d.p.id].checkOnUpdate)b[d.p.id]._savedData[k]=q;a(r).addClass("FormElement");-1<a.inArray(this.edittype,["text","textarea","password","select"])&&a(r).addClass("ui-widget-content ui-corner-all");p=a(n).find("tr[rowpos="+v+"]");if(y.rowabove){var x=a("<tr><td class='contentinfo' colspan='"+2*f+"'>"+y.rowcontent+"</td></tr>");a(n).append(x);x[0].rp=v}0===p.length&&(p=a("<tr "+m+" rowpos='"+v+"'></tr>").addClass("FormData").attr("id","tr_"+k),a(p).append(z),a(n).append(p),
286
- p[0].rp=v);a("td:eq("+(A-2)+")",p[0]).html(void 0===y.label?e.p.colNames[t]:y.label);a("td:eq("+(A-1)+")",p[0]).append(y.elmprefix).append(r).append(y.elmsuffix);"custom"===this.edittype&&a.isFunction(s.custom_value)&&s.custom_value.call(d,a("#"+k,"#"+g),"set",q);a.jgrid.bindEv.call(d,r,s);C[h]=t;h++}});0<h&&(t=a("<tr class='FormData' style='display:none'><td class='CaptionTD'></td><td colspan='"+(2*f-1)+"' class='DataTD'><input class='FormElement' id='id_g' type='text' name='"+e.p.id+"_id' value='"+
287
- c+"'/></td></tr>"),t[0].rp=h+999,a(n).append(t),b[d.p.id].checkOnSubmit||b[d.p.id].checkOnUpdate)&&(b[d.p.id]._savedData[e.p.id+"_id"]=c);return C}function w(c,e,n){var g,k=0,f,l,q,h,r;if(b[d.p.id].checkOnSubmit||b[d.p.id].checkOnUpdate)b[d.p.id]._savedData={},b[d.p.id]._savedData[e.p.id+"_id"]=c;var m=e.p.colModel;if("_empty"===c)a(m).each(function(){g=this.name;q=a.extend({},this.editoptions||{});(l=a("#"+a.jgrid.jqID(g),"#"+n))&&l.length&&null!==l[0]&&(h="","custom"===this.edittype&&a.isFunction(q.custom_value)?
288
- q.custom_value.call(d,a("#"+g,"#"+n),"set",h):q.defaultValue?(h=a.isFunction(q.defaultValue)?q.defaultValue.call(d):q.defaultValue,"checkbox"===l[0].type?(r=h.toLowerCase(),0>r.search(/(false|f|0|no|n|off|undefined)/i)&&""!==r?(l[0].checked=!0,l[0].defaultChecked=!0,l[0].value=h):(l[0].checked=!1,l[0].defaultChecked=!1)):l.val(h)):"checkbox"===l[0].type?(l[0].checked=!1,l[0].defaultChecked=!1,h=a(l).attr("offval")):l[0].type&&"select"===l[0].type.substr(0,6)?l[0].selectedIndex=0:l.val(h),!0===b[d.p.id].checkOnSubmit||
289
- b[d.p.id].checkOnUpdate)&&(b[d.p.id]._savedData[g]=h)}),a("#id_g","#"+n).val(c);else{var t=a(e).jqGrid("getInd",c,!0);t&&(a('td[role="gridcell"]',t).each(function(l){g=m[l].name;if("cb"!==g&&"subgrid"!==g&&"rn"!==g&&!0===m[l].editable){if(g===e.p.ExpandColumn&&!0===e.p.treeGrid)f=a(this).text();else try{f=a.unformat.call(e,a(this),{rowId:c,colModel:m[l]},l)}catch(q){f="textarea"===m[l].edittype?a(this).text():a(this).html()}d.p.autoencode&&(f=a.jgrid.htmlDecode(f));if(!0===b[d.p.id].checkOnSubmit||
290
- b[d.p.id].checkOnUpdate)b[d.p.id]._savedData[g]=f;g=a.jgrid.jqID(g);switch(m[l].edittype){case "password":case "text":case "button":case "image":case "textarea":if("&nbsp;"===f||"&#160;"===f||1===f.length&&160===f.charCodeAt(0))f="";a("#"+g,"#"+n).val(f);break;case "select":var h=f.split(","),h=a.map(h,function(b){return a.trim(b)});a("#"+g+" option","#"+n).each(function(){m[l].editoptions.multiple||a.trim(f)!==a.trim(a(this).text())&&h[0]!==a.trim(a(this).text())&&h[0]!==a.trim(a(this).val())?m[l].editoptions.multiple?
291
- -1<a.inArray(a.trim(a(this).text()),h)||-1<a.inArray(a.trim(a(this).val()),h)?this.selected=!0:this.selected=!1:this.selected=!1:this.selected=!0});break;case "checkbox":f=String(f);if(m[l].editoptions&&m[l].editoptions.value)if(m[l].editoptions.value.split(":")[0]===f)a("#"+g,"#"+n)[d.p.useProp?"prop":"attr"]({checked:!0,defaultChecked:!0});else a("#"+g,"#"+n)[d.p.useProp?"prop":"attr"]({checked:!1,defaultChecked:!1});else f=f.toLowerCase(),0>f.search(/(false|f|0|no|n|off|undefined)/i)&&""!==f?(a("#"+
292
- g,"#"+n)[d.p.useProp?"prop":"attr"]("checked",!0),a("#"+g,"#"+n)[d.p.useProp?"prop":"attr"]("defaultChecked",!0)):(a("#"+g,"#"+n)[d.p.useProp?"prop":"attr"]("checked",!1),a("#"+g,"#"+n)[d.p.useProp?"prop":"attr"]("defaultChecked",!1));break;case "custom":try{if(m[l].editoptions&&a.isFunction(m[l].editoptions.custom_value))m[l].editoptions.custom_value.call(d,a("#"+g,"#"+n),"set",f);else throw"e1";}catch(p){"e1"===p?a.jgrid.info_dialog(a.jgrid.errors.errcap,"function 'custom_value' "+a.jgrid.edit.msg.nodefined,
293
- a.jgrid.edit.bClose):a.jgrid.info_dialog(a.jgrid.errors.errcap,p.message,a.jgrid.edit.bClose)}}k++}}),0<k&&a("#id_g",p).val(c))}}function t(){a.each(d.p.colModel,function(a,b){b.editoptions&&!0===b.editoptions.NullIfEmpty&&l.hasOwnProperty(b.name)&&""===l[b.name]&&(l[b.name]="null")})}function s(){var e,n=[!0,"",""],f={},k=d.p.prmNames,h,m,r,u,s,C=a(d).triggerHandler("jqGridAddEditBeforeCheckValues",[a("#"+g),B]);C&&"object"===typeof C&&(l=C);a.isFunction(b[d.p.id].beforeCheckValues)&&(C=b[d.p.id].beforeCheckValues.call(d,
294
- l,a("#"+g),B))&&"object"===typeof C&&(l=C);for(r in l)if(l.hasOwnProperty(r)&&(n=a.jgrid.checkValues.call(d,l[r],r),!1===n[0]))break;t();n[0]&&(f=a(d).triggerHandler("jqGridAddEditClickSubmit",[b[d.p.id],l,B]),void 0===f&&a.isFunction(b[d.p.id].onclickSubmit)&&(f=b[d.p.id].onclickSubmit.call(d,b[d.p.id],l,B)||{}),n=a(d).triggerHandler("jqGridAddEditBeforeSubmit",[l,a("#"+g),B]),void 0===n&&(n=[!0,"",""]),n[0]&&a.isFunction(b[d.p.id].beforeSubmit)&&(n=b[d.p.id].beforeSubmit.call(d,l,a("#"+g),B)));
295
- if(n[0]&&!b[d.p.id].processing){b[d.p.id].processing=!0;a("#sData",p+"_2").addClass("ui-state-active");m=k.oper;h=k.id;l[m]="_empty"===a.trim(l[d.p.id+"_id"])?k.addoper:k.editoper;l[m]!==k.addoper?l[h]=l[d.p.id+"_id"]:void 0===l[h]&&(l[h]=l[d.p.id+"_id"]);delete l[d.p.id+"_id"];l=a.extend(l,b[d.p.id].editData,f);if(!0===d.p.treeGrid)for(s in l[m]===k.addoper&&(u=a(d).jqGrid("getGridParam","selrow"),l["adjacency"===d.p.treeGridModel?d.p.treeReader.parent_id_field:"parent_id"]=u),d.p.treeReader)d.p.treeReader.hasOwnProperty(s)&&
296
- (f=d.p.treeReader[s],!l.hasOwnProperty(f)||l[m]===k.addoper&&"parent_id_field"===s||delete l[f]);l[h]=a.jgrid.stripPref(d.p.idPrefix,l[h]);s=a.extend({url:b[d.p.id].url||a(d).jqGrid("getGridParam","editurl"),type:b[d.p.id].mtype,data:a.isFunction(b[d.p.id].serializeEditData)?b[d.p.id].serializeEditData.call(d,l):l,complete:function(f,r){var s;l[h]=d.p.idPrefix+l[h];300<=f.status&&304!==f.status?(n[0]=!1,n[1]=a(d).triggerHandler("jqGridAddEditErrorTextFormat",[f,B]),a.isFunction(b[d.p.id].errorTextFormat)?
297
- n[1]=b[d.p.id].errorTextFormat.call(d,f,B):n[1]=r+" Status: '"+f.statusText+"'. Error code: "+f.status):(n=a(d).triggerHandler("jqGridAddEditAfterSubmit",[f,l,B]),void 0===n&&(n=[!0,"",""]),n[0]&&a.isFunction(b[d.p.id].afterSubmit)&&(n=b[d.p.id].afterSubmit.call(d,f,l,B)));if(!1===n[0])a("#FormError>td",p).html(n[1]),a("#FormError",p).show();else if(d.p.autoencode&&a.each(l,function(b,c){l[b]=a.jgrid.htmlDecode(c)}),l[m]===k.addoper?(n[2]||(n[2]=a.jgrid.randId()),l[h]=n[2],b[d.p.id].reloadAfterSubmit?
298
- a(d).trigger("reloadGrid"):!0===d.p.treeGrid?a(d).jqGrid("addChildNode",n[2],u,l):a(d).jqGrid("addRowData",n[2],l,c.addedrow),b[d.p.id].closeAfterAdd?(!0!==d.p.treeGrid&&a(d).jqGrid("setSelection",n[2]),a.jgrid.hideModal("#"+a.jgrid.jqID(q.themodal),{gb:"#gbox_"+a.jgrid.jqID(v),jqm:c.jqModal,onClose:b[d.p.id].onClose})):b[d.p.id].clearAfterAdd&&w("_empty",d,g)):(b[d.p.id].reloadAfterSubmit?(a(d).trigger("reloadGrid"),b[d.p.id].closeAfterEdit||setTimeout(function(){a(d).jqGrid("setSelection",l[h])},
299
- 1E3)):!0===d.p.treeGrid?a(d).jqGrid("setTreeRow",l[h],l):a(d).jqGrid("setRowData",l[h],l),b[d.p.id].closeAfterEdit&&a.jgrid.hideModal("#"+a.jgrid.jqID(q.themodal),{gb:"#gbox_"+a.jgrid.jqID(v),jqm:c.jqModal,onClose:b[d.p.id].onClose})),a.isFunction(b[d.p.id].afterComplete)&&(e=f,setTimeout(function(){a(d).triggerHandler("jqGridAddEditAfterComplete",[e,l,a("#"+g),B]);b[d.p.id].afterComplete.call(d,e,l,a("#"+g),B);e=null},500)),b[d.p.id].checkOnSubmit||b[d.p.id].checkOnUpdate)if(a("#"+g).data("disabled",
300
- !1),"_empty"!==b[d.p.id]._savedData[d.p.id+"_id"])for(s in b[d.p.id]._savedData)b[d.p.id]._savedData.hasOwnProperty(s)&&l[s]&&(b[d.p.id]._savedData[s]=l[s]);b[d.p.id].processing=!1;a("#sData",p+"_2").removeClass("ui-state-active");try{a(":input:visible","#"+g)[0].focus()}catch(t){}}},a.jgrid.ajaxOptions,b[d.p.id].ajaxEditOptions);s.url||b[d.p.id].useDataProxy||(a.isFunction(d.p.dataProxy)?b[d.p.id].useDataProxy=!0:(n[0]=!1,n[1]+=" "+a.jgrid.errors.nourl));n[0]&&(b[d.p.id].useDataProxy?(f=d.p.dataProxy.call(d,
301
- s,"set_"+d.p.id),void 0===f&&(f=[!0,""]),!1===f[0]?(n[0]=!1,n[1]=f[1]||"Error deleting the selected row!"):(s.data.oper===k.addoper&&b[d.p.id].closeAfterAdd&&a.jgrid.hideModal("#"+a.jgrid.jqID(q.themodal),{gb:"#gbox_"+a.jgrid.jqID(v),jqm:c.jqModal,onClose:b[d.p.id].onClose}),s.data.oper===k.editoper&&b[d.p.id].closeAfterEdit&&a.jgrid.hideModal("#"+a.jgrid.jqID(q.themodal),{gb:"#gbox_"+a.jgrid.jqID(v),jqm:c.jqModal,onClose:b[d.p.id].onClose}))):a.ajax(s))}!1===n[0]&&(a("#FormError>td",p).html(n[1]),
302
- a("#FormError",p).show())}function r(a,b){var c=!1,d;for(d in a)if(a.hasOwnProperty(d)&&a[d]!=b[d]){c=!0;break}return c}function f(){var c=!0;a("#FormError",p).hide();b[d.p.id].checkOnUpdate&&(l={},e(),M=r(l,b[d.p.id]._savedData))&&(a("#"+g).data("disabled",!0),a(".confirm","#"+q.themodal).show(),c=!1);return c}function k(){var b;if("_empty"!==z&&void 0!==d.p.savedRow&&0<d.p.savedRow.length&&a.isFunction(a.fn.jqGrid.restoreRow))for(b=0;b<d.p.savedRow.length;b++)if(d.p.savedRow[b].id==z){a(d).jqGrid("restoreRow",
303
- z);break}}function u(b,c){var d=c[1].length-1;0===b?a("#pData",p+"_2").addClass("ui-state-disabled"):void 0!==c[1][b-1]&&a("#"+a.jgrid.jqID(c[1][b-1])).hasClass("ui-state-disabled")?a("#pData",p+"_2").addClass("ui-state-disabled"):a("#pData",p+"_2").removeClass("ui-state-disabled");b===d?a("#nData",p+"_2").addClass("ui-state-disabled"):void 0!==c[1][b+1]&&a("#"+a.jgrid.jqID(c[1][b+1])).hasClass("ui-state-disabled")?a("#nData",p+"_2").addClass("ui-state-disabled"):a("#nData",p+"_2").removeClass("ui-state-disabled")}
304
- function x(){var b=a(d).jqGrid("getDataIDs"),c=a("#id_g",p).val();return[a.inArray(c,b),b]}var d=this;if(d.grid&&z){var v=d.p.id,g="FrmGrid_"+v,m="TblGrid_"+v,p="#"+a.jgrid.jqID(m),q={themodal:"editmod"+v,modalhead:"edithd"+v,modalcontent:"editcnt"+v,scrollelm:g},y=a.isFunction(b[d.p.id].beforeShowForm)?b[d.p.id].beforeShowForm:!1,D=a.isFunction(b[d.p.id].afterShowForm)?b[d.p.id].afterShowForm:!1,A=a.isFunction(b[d.p.id].beforeInitData)?b[d.p.id].beforeInitData:!1,E=a.isFunction(b[d.p.id].onInitializeForm)?
305
- b[d.p.id].onInitializeForm:!1,n=!0,C=1,I=0,l,M,B,g=a.jgrid.jqID(g);"new"===z?(z="_empty",B="add",c.caption=b[d.p.id].addCaption):(c.caption=b[d.p.id].editCaption,B="edit");c.recreateForm||a(d).data("formProp")&&a.extend(b[a(this)[0].p.id],a(d).data("formProp"));var N=!0;c.checkOnUpdate&&c.jqModal&&!c.modal&&(N=!1);var H=isNaN(b[a(this)[0].p.id].dataheight)?b[a(this)[0].p.id].dataheight:b[a(this)[0].p.id].dataheight+"px",n=isNaN(b[a(this)[0].p.id].datawidth)?b[a(this)[0].p.id].datawidth:b[a(this)[0].p.id].datawidth+
306
- "px",H=a("<form name='FormPost' id='"+g+"' class='FormGrid' onSubmit='return false;' style='width:"+n+";overflow:auto;position:relative;height:"+H+";'></form>").data("disabled",!1),F=a("<table id='"+m+"' class='EditTable' cellspacing='0' cellpadding='0' border='0'><tbody></tbody></table>"),n=a(d).triggerHandler("jqGridAddEditBeforeInitData",[a("#"+g),B]);void 0===n&&(n=!0);n&&A&&(n=A.call(d,a("#"+g),B));if(!1!==n){k();a(d.p.colModel).each(function(){var a=this.formoptions;C=Math.max(C,a?a.colpos||
307
- 0:0);I=Math.max(I,a?a.rowpos||0:0)});a(H).append(F);A=a("<tr id='FormError' style='display:none'><td class='ui-state-error' colspan='"+2*C+"'></td></tr>");A[0].rp=0;a(F).append(A);A=a("<tr style='display:none' class='tinfo'><td class='topinfo' colspan='"+2*C+"'>"+b[d.p.id].topinfo+"</td></tr>");A[0].rp=0;a(F).append(A);var n=(A="rtl"===d.p.direction?!0:!1)?"nData":"pData",G=A?"pData":"nData";h(z,d,F,C);var n="<a id='"+n+"' class='fm-button ui-state-default ui-corner-left'><span class='ui-icon ui-icon-triangle-1-w'></span></a>",
308
- G="<a id='"+G+"' class='fm-button ui-state-default ui-corner-right'><span class='ui-icon ui-icon-triangle-1-e'></span></a>",J="<a id='sData' class='fm-button ui-state-default ui-corner-all'>"+c.bSubmit+"</a>",K="<a id='cData' class='fm-button ui-state-default ui-corner-all'>"+c.bCancel+"</a>",m="<table border='0' cellspacing='0' cellpadding='0' class='EditTable' id='"+m+"_2'><tbody><tr><td colspan='2'><hr class='ui-widget-content' style='margin:1px'/></td></tr><tr id='Act_Buttons'><td class='navButton'>"+
309
- (A?G+n:n+G)+"</td><td class='EditButton'>"+J+K+"</td></tr>"+("<tr style='display:none' class='binfo'><td class='bottominfo' colspan='2'>"+b[d.p.id].bottominfo+"</td></tr>"),m=m+"</tbody></table>";if(0<I){var L=[];a.each(a(F)[0].rows,function(a,b){L[a]=b});L.sort(function(a,b){return a.rp>b.rp?1:a.rp<b.rp?-1:0});a.each(L,function(b,c){a("tbody",F).append(c)})}c.gbox="#gbox_"+a.jgrid.jqID(v);var O=!1;!0===c.closeOnEscape&&(c.closeOnEscape=!1,O=!0);m=a("<div></div>").append(H).append(m);a.jgrid.createModal(q,
310
- m,b[a(this)[0].p.id],"#gview_"+a.jgrid.jqID(d.p.id),a("#gbox_"+a.jgrid.jqID(d.p.id))[0]);A&&(a("#pData, #nData",p+"_2").css("float","right"),a(".EditButton",p+"_2").css("text-align","left"));b[d.p.id].topinfo&&a(".tinfo",p).show();b[d.p.id].bottominfo&&a(".binfo",p+"_2").show();m=m=null;a("#"+a.jgrid.jqID(q.themodal)).keydown(function(e){var n=e.target;if(!0===a("#"+g).data("disabled"))return!1;if(!0===b[d.p.id].savekey[0]&&e.which===b[d.p.id].savekey[1]&&"TEXTAREA"!==n.tagName)return a("#sData",
311
- p+"_2").trigger("click"),!1;if(27===e.which){if(!f())return!1;O&&a.jgrid.hideModal("#"+a.jgrid.jqID(q.themodal),{gb:c.gbox,jqm:c.jqModal,onClose:b[d.p.id].onClose});return!1}if(!0===b[d.p.id].navkeys[0]){if("_empty"===a("#id_g",p).val())return!0;if(e.which===b[d.p.id].navkeys[1])return a("#pData",p+"_2").trigger("click"),!1;if(e.which===b[d.p.id].navkeys[2])return a("#nData",p+"_2").trigger("click"),!1}});c.checkOnUpdate&&(a("a.ui-jqdialog-titlebar-close span","#"+a.jgrid.jqID(q.themodal)).removeClass("jqmClose"),
312
- a("a.ui-jqdialog-titlebar-close","#"+a.jgrid.jqID(q.themodal)).unbind("click").click(function(){if(!f())return!1;a.jgrid.hideModal("#"+a.jgrid.jqID(q.themodal),{gb:"#gbox_"+a.jgrid.jqID(v),jqm:c.jqModal,onClose:b[d.p.id].onClose});return!1}));c.saveicon=a.extend([!0,"left","ui-icon-disk"],c.saveicon);c.closeicon=a.extend([!0,"left","ui-icon-close"],c.closeicon);!0===c.saveicon[0]&&a("#sData",p+"_2").addClass("right"===c.saveicon[1]?"fm-button-icon-right":"fm-button-icon-left").append("<span class='ui-icon "+
313
- c.saveicon[2]+"'></span>");!0===c.closeicon[0]&&a("#cData",p+"_2").addClass("right"===c.closeicon[1]?"fm-button-icon-right":"fm-button-icon-left").append("<span class='ui-icon "+c.closeicon[2]+"'></span>");if(b[d.p.id].checkOnSubmit||b[d.p.id].checkOnUpdate)J="<a id='sNew' class='fm-button ui-state-default ui-corner-all' style='z-index:1002'>"+c.bYes+"</a>",G="<a id='nNew' class='fm-button ui-state-default ui-corner-all' style='z-index:1002'>"+c.bNo+"</a>",K="<a id='cNew' class='fm-button ui-state-default ui-corner-all' style='z-index:1002'>"+
314
- c.bExit+"</a>",m=c.zIndex||999,m++,a("<div class='"+c.overlayClass+" jqgrid-overlay confirm' style='z-index:"+m+";display:none;'>&#160;</div><div class='confirm ui-widget-content ui-jqconfirm' style='z-index:"+(m+1)+"'>"+c.saveData+"<br/><br/>"+J+G+K+"</div>").insertAfter("#"+g),a("#sNew","#"+a.jgrid.jqID(q.themodal)).click(function(){s();a("#"+g).data("disabled",!1);a(".confirm","#"+a.jgrid.jqID(q.themodal)).hide();return!1}),a("#nNew","#"+a.jgrid.jqID(q.themodal)).click(function(){a(".confirm",
315
- "#"+a.jgrid.jqID(q.themodal)).hide();a("#"+g).data("disabled",!1);setTimeout(function(){a(":input:visible","#"+g)[0].focus()},0);return!1}),a("#cNew","#"+a.jgrid.jqID(q.themodal)).click(function(){a(".confirm","#"+a.jgrid.jqID(q.themodal)).hide();a("#"+g).data("disabled",!1);a.jgrid.hideModal("#"+a.jgrid.jqID(q.themodal),{gb:"#gbox_"+a.jgrid.jqID(v),jqm:c.jqModal,onClose:b[d.p.id].onClose});return!1});a(d).triggerHandler("jqGridAddEditInitializeForm",[a("#"+g),B]);E&&E.call(d,a("#"+g),B);"_empty"!==
316
- z&&b[d.p.id].viewPagerButtons?a("#pData,#nData",p+"_2").show():a("#pData,#nData",p+"_2").hide();a(d).triggerHandler("jqGridAddEditBeforeShowForm",[a("#"+g),B]);y&&y.call(d,a("#"+g),B);a("#"+a.jgrid.jqID(q.themodal)).data("onClose",b[d.p.id].onClose);a.jgrid.viewModal("#"+a.jgrid.jqID(q.themodal),{gbox:"#gbox_"+a.jgrid.jqID(v),jqm:c.jqModal,overlay:c.overlay,modal:c.modal,overlayClass:c.overlayClass,onHide:function(b){a(d).data("formProp",{top:parseFloat(a(b.w).css("top")),left:parseFloat(a(b.w).css("left")),
317
- width:a(b.w).width(),height:a(b.w).height(),dataheight:a("#"+g).height(),datawidth:a("#"+g).width()});b.w.remove();b.o&&b.o.remove()}});N||a("."+a.jgrid.jqID(c.overlayClass)).click(function(){if(!f())return!1;a.jgrid.hideModal("#"+a.jgrid.jqID(q.themodal),{gb:"#gbox_"+a.jgrid.jqID(v),jqm:c.jqModal,onClose:b[d.p.id].onClose});return!1});a(".fm-button","#"+a.jgrid.jqID(q.themodal)).hover(function(){a(this).addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover")});a("#sData",p+"_2").click(function(){l=
318
- {};a("#FormError",p).hide();e();"_empty"===l[d.p.id+"_id"]?s():!0===c.checkOnSubmit?(M=r(l,b[d.p.id]._savedData))?(a("#"+g).data("disabled",!0),a(".confirm","#"+a.jgrid.jqID(q.themodal)).show()):s():s();return!1});a("#cData",p+"_2").click(function(){if(!f())return!1;a.jgrid.hideModal("#"+a.jgrid.jqID(q.themodal),{gb:"#gbox_"+a.jgrid.jqID(v),jqm:c.jqModal,onClose:b[d.p.id].onClose});return!1});a("#nData",p+"_2").click(function(){if(!f())return!1;a("#FormError",p).hide();var b=x();b[0]=parseInt(b[0],
319
- 10);if(-1!==b[0]&&b[1][b[0]+1]){a(d).triggerHandler("jqGridAddEditClickPgButtons",["next",a("#"+g),b[1][b[0]]]);var e;if(a.isFunction(c.onclickPgButtons)&&(e=c.onclickPgButtons.call(d,"next",a("#"+g),b[1][b[0]]),void 0!==e&&!1===e)||a("#"+a.jgrid.jqID(b[1][b[0]+1])).hasClass("ui-state-disabled"))return!1;w(b[1][b[0]+1],d,g);a(d).jqGrid("setSelection",b[1][b[0]+1]);a(d).triggerHandler("jqGridAddEditAfterClickPgButtons",["next",a("#"+g),b[1][b[0]]]);a.isFunction(c.afterclickPgButtons)&&c.afterclickPgButtons.call(d,
320
- "next",a("#"+g),b[1][b[0]+1]);u(b[0]+1,b)}return!1});a("#pData",p+"_2").click(function(){if(!f())return!1;a("#FormError",p).hide();var b=x();if(-1!==b[0]&&b[1][b[0]-1]){a(d).triggerHandler("jqGridAddEditClickPgButtons",["prev",a("#"+g),b[1][b[0]]]);var e;if(a.isFunction(c.onclickPgButtons)&&(e=c.onclickPgButtons.call(d,"prev",a("#"+g),b[1][b[0]]),void 0!==e&&!1===e)||a("#"+a.jgrid.jqID(b[1][b[0]-1])).hasClass("ui-state-disabled"))return!1;w(b[1][b[0]-1],d,g);a(d).jqGrid("setSelection",b[1][b[0]-1]);
321
- a(d).triggerHandler("jqGridAddEditAfterClickPgButtons",["prev",a("#"+g),b[1][b[0]]]);a.isFunction(c.afterclickPgButtons)&&c.afterclickPgButtons.call(d,"prev",a("#"+g),b[1][b[0]-1]);u(b[0]-1,b)}return!1});a(d).triggerHandler("jqGridAddEditAfterShowForm",[a("#"+g),B]);D&&D.call(d,a("#"+g),B);y=x();u(y[0],y)}}})},viewGridRow:function(z,c){c=a.extend(!0,{top:0,left:0,width:0,datawidth:"auto",height:"auto",dataheight:"auto",modal:!1,overlay:30,drag:!0,resize:!0,jqModal:!0,closeOnEscape:!1,labelswidth:"30%",
322
- closeicon:[],navkeys:[!1,38,40],onClose:null,beforeShowForm:null,beforeInitData:null,viewPagerButtons:!0,recreateForm:!1},a.jgrid.view,c||{});b[a(this)[0].p.id]=c;return this.each(function(){function e(){!0!==b[r.p.id].closeOnEscape&&!0!==b[r.p.id].navkeys[0]||setTimeout(function(){a(".ui-jqdialog-titlebar-close","#"+a.jgrid.jqID(v.modalhead)).focus()},0)}function h(b,d,e,f){var g,k,h,q=0,m,p,r=[],s=!1,t,u="<td class='CaptionTD form-view-label ui-widget-content' width='"+c.labelswidth+"'>&#160;</td><td class='DataTD form-view-data ui-helper-reset ui-widget-content'>&#160;</td>",
323
- y="",z=["integer","number","currency"],v=0,w=0,A,x,D;for(t=1;t<=f;t++)y+=1===t?u:"<td class='CaptionTD form-view-label ui-widget-content'>&#160;</td><td class='DataTD form-view-data ui-widget-content'>&#160;</td>";a(d.p.colModel).each(function(){(k=this.editrules&&!0===this.editrules.edithidden?!1:!0===this.hidden?!0:!1)||"right"!==this.align||(this.formatter&&-1!==a.inArray(this.formatter,z)?v=Math.max(v,parseInt(this.width,10)):w=Math.max(w,parseInt(this.width,10)))});A=0!==v?v:0!==w?w:0;s=a(d).jqGrid("getInd",
324
- b);a(d.p.colModel).each(function(b){g=this.name;x=!1;p=(k=this.editrules&&!0===this.editrules.edithidden?!1:!0===this.hidden?!0:!1)?"style='display:none'":"";D="boolean"!==typeof this.viewable?!0:this.viewable;if("cb"!==g&&"subgrid"!==g&&"rn"!==g&&D){m=!1===s?"":g===d.p.ExpandColumn&&!0===d.p.treeGrid?a("td:eq("+b+")",d.rows[s]).text():a("td:eq("+b+")",d.rows[s]).html();x="right"===this.align&&0!==A?!0:!1;var c=a.extend({},{rowabove:!1,rowcontent:""},this.formoptions||{}),n=parseInt(c.rowpos,10)||
325
- q+1,t=parseInt(2*(parseInt(c.colpos,10)||1),10);if(c.rowabove){var u=a("<tr><td class='contentinfo' colspan='"+2*f+"'>"+c.rowcontent+"</td></tr>");a(e).append(u);u[0].rp=n}h=a(e).find("tr[rowpos="+n+"]");0===h.length&&(h=a("<tr "+p+" rowpos='"+n+"'></tr>").addClass("FormData").attr("id","trv_"+g),a(h).append(y),a(e).append(h),h[0].rp=n);a("td:eq("+(t-2)+")",h[0]).html("<b>"+(void 0===c.label?d.p.colNames[b]:c.label)+"</b>");a("td:eq("+(t-1)+")",h[0]).append("<span>"+m+"</span>").attr("id","v_"+g);
326
- x&&a("td:eq("+(t-1)+") span",h[0]).css({"text-align":"right",width:A+"px"});r[q]=b;q++}});0<q&&(b=a("<tr class='FormData' style='display:none'><td class='CaptionTD'></td><td colspan='"+(2*f-1)+"' class='DataTD'><input class='FormElement' id='id_g' type='text' name='id' value='"+b+"'/></td></tr>"),b[0].rp=q+99,a(e).append(b));return r}function w(b,c){var d,e,f=0,g,k;if(k=a(c).jqGrid("getInd",b,!0))a("td",k).each(function(b){d=c.p.colModel[b].name;e=c.p.colModel[b].editrules&&!0===c.p.colModel[b].editrules.edithidden?
327
- !1:!0===c.p.colModel[b].hidden?!0:!1;"cb"!==d&&"subgrid"!==d&&"rn"!==d&&(g=d===c.p.ExpandColumn&&!0===c.p.treeGrid?a(this).text():a(this).html(),d=a.jgrid.jqID("v_"+d),a("#"+d+" span","#"+u).html(g),e&&a("#"+d,"#"+u).parents("tr:first").hide(),f++)}),0<f&&a("#id_g","#"+u).val(b)}function t(b,c){var d=c[1].length-1;0===b?a("#pData","#"+u+"_2").addClass("ui-state-disabled"):void 0!==c[1][b-1]&&a("#"+a.jgrid.jqID(c[1][b-1])).hasClass("ui-state-disabled")?a("#pData",u+"_2").addClass("ui-state-disabled"):
328
- a("#pData","#"+u+"_2").removeClass("ui-state-disabled");b===d?a("#nData","#"+u+"_2").addClass("ui-state-disabled"):void 0!==c[1][b+1]&&a("#"+a.jgrid.jqID(c[1][b+1])).hasClass("ui-state-disabled")?a("#nData",u+"_2").addClass("ui-state-disabled"):a("#nData","#"+u+"_2").removeClass("ui-state-disabled")}function s(){var b=a(r).jqGrid("getDataIDs"),c=a("#id_g","#"+u).val();return[a.inArray(c,b),b]}var r=this;if(r.grid&&z){var f=r.p.id,k="ViewGrid_"+a.jgrid.jqID(f),u="ViewTbl_"+a.jgrid.jqID(f),x="ViewGrid_"+
329
- f,d="ViewTbl_"+f,v={themodal:"viewmod"+f,modalhead:"viewhd"+f,modalcontent:"viewcnt"+f,scrollelm:k},g=a.isFunction(b[r.p.id].beforeInitData)?b[r.p.id].beforeInitData:!1,m=!0,p=1,q=0;c.recreateForm||a(r).data("viewProp")&&a.extend(b[a(this)[0].p.id],a(r).data("viewProp"));var y=isNaN(b[a(this)[0].p.id].dataheight)?b[a(this)[0].p.id].dataheight:b[a(this)[0].p.id].dataheight+"px",D=isNaN(b[a(this)[0].p.id].datawidth)?b[a(this)[0].p.id].datawidth:b[a(this)[0].p.id].datawidth+"px",x=a("<form name='FormPost' id='"+
330
- x+"' class='FormGrid' style='width:"+D+";overflow:auto;position:relative;height:"+y+";'></form>"),A=a("<table id='"+d+"' class='EditTable' cellspacing='1' cellpadding='2' border='0' style='table-layout:fixed'><tbody></tbody></table>");g&&(m=g.call(r,a("#"+k)),void 0===m&&(m=!0));if(!1!==m){a(r.p.colModel).each(function(){var a=this.formoptions;p=Math.max(p,a?a.colpos||0:0);q=Math.max(q,a?a.rowpos||0:0)});a(x).append(A);h(z,r,A,p);d="rtl"===r.p.direction?!0:!1;g="<a id='"+(d?"nData":"pData")+"' class='fm-button ui-state-default ui-corner-left'><span class='ui-icon ui-icon-triangle-1-w'></span></a>";
331
- m="<a id='"+(d?"pData":"nData")+"' class='fm-button ui-state-default ui-corner-right'><span class='ui-icon ui-icon-triangle-1-e'></span></a>";y="<a id='cData' class='fm-button ui-state-default ui-corner-all'>"+c.bClose+"</a>";if(0<q){var E=[];a.each(a(A)[0].rows,function(a,b){E[a]=b});E.sort(function(a,b){return a.rp>b.rp?1:a.rp<b.rp?-1:0});a.each(E,function(b,c){a("tbody",A).append(c)})}c.gbox="#gbox_"+a.jgrid.jqID(f);x=a("<div></div>").append(x).append("<table border='0' class='EditTable' id='"+
332
- u+"_2'><tbody><tr id='Act_Buttons'><td class='navButton' width='"+c.labelswidth+"'>"+(d?m+g:g+m)+"</td><td class='EditButton'>"+y+"</td></tr></tbody></table>");a.jgrid.createModal(v,x,c,"#gview_"+a.jgrid.jqID(r.p.id),a("#gview_"+a.jgrid.jqID(r.p.id))[0]);d&&(a("#pData, #nData","#"+u+"_2").css("float","right"),a(".EditButton","#"+u+"_2").css("text-align","left"));c.viewPagerButtons||a("#pData, #nData","#"+u+"_2").hide();x=null;a("#"+v.themodal).keydown(function(d){if(27===d.which)return b[r.p.id].closeOnEscape&&
333
- a.jgrid.hideModal("#"+a.jgrid.jqID(v.themodal),{gb:c.gbox,jqm:c.jqModal,onClose:c.onClose}),!1;if(!0===c.navkeys[0]){if(d.which===c.navkeys[1])return a("#pData","#"+u+"_2").trigger("click"),!1;if(d.which===c.navkeys[2])return a("#nData","#"+u+"_2").trigger("click"),!1}});c.closeicon=a.extend([!0,"left","ui-icon-close"],c.closeicon);!0===c.closeicon[0]&&a("#cData","#"+u+"_2").addClass("right"===c.closeicon[1]?"fm-button-icon-right":"fm-button-icon-left").append("<span class='ui-icon "+c.closeicon[2]+
334
- "'></span>");a.isFunction(c.beforeShowForm)&&c.beforeShowForm.call(r,a("#"+k));a.jgrid.viewModal("#"+a.jgrid.jqID(v.themodal),{gbox:"#gbox_"+a.jgrid.jqID(f),jqm:c.jqModal,overlay:c.overlay,modal:c.modal,onHide:function(b){a(r).data("viewProp",{top:parseFloat(a(b.w).css("top")),left:parseFloat(a(b.w).css("left")),width:a(b.w).width(),height:a(b.w).height(),dataheight:a("#"+k).height(),datawidth:a("#"+k).width()});b.w.remove();b.o&&b.o.remove()}});a(".fm-button:not(.ui-state-disabled)","#"+u+"_2").hover(function(){a(this).addClass("ui-state-hover")},
335
- function(){a(this).removeClass("ui-state-hover")});e();a("#cData","#"+u+"_2").click(function(){a.jgrid.hideModal("#"+a.jgrid.jqID(v.themodal),{gb:"#gbox_"+a.jgrid.jqID(f),jqm:c.jqModal,onClose:c.onClose});return!1});a("#nData","#"+u+"_2").click(function(){a("#FormError","#"+u).hide();var b=s();b[0]=parseInt(b[0],10);-1!==b[0]&&b[1][b[0]+1]&&(a.isFunction(c.onclickPgButtons)&&c.onclickPgButtons.call(r,"next",a("#"+k),b[1][b[0]]),w(b[1][b[0]+1],r),a(r).jqGrid("setSelection",b[1][b[0]+1]),a.isFunction(c.afterclickPgButtons)&&
336
- c.afterclickPgButtons.call(r,"next",a("#"+k),b[1][b[0]+1]),t(b[0]+1,b));e();return!1});a("#pData","#"+u+"_2").click(function(){a("#FormError","#"+u).hide();var b=s();-1!==b[0]&&b[1][b[0]-1]&&(a.isFunction(c.onclickPgButtons)&&c.onclickPgButtons.call(r,"prev",a("#"+k),b[1][b[0]]),w(b[1][b[0]-1],r),a(r).jqGrid("setSelection",b[1][b[0]-1]),a.isFunction(c.afterclickPgButtons)&&c.afterclickPgButtons.call(r,"prev",a("#"+k),b[1][b[0]-1]),t(b[0]-1,b));e();return!1});x=s();t(x[0],x)}}})},delGridRow:function(z,
337
- c){c=a.extend(!0,{top:0,left:0,width:240,height:"auto",dataheight:"auto",modal:!1,overlay:30,drag:!0,resize:!0,url:"",mtype:"POST",reloadAfterSubmit:!0,beforeShowForm:null,beforeInitData:null,afterShowForm:null,beforeSubmit:null,onclickSubmit:null,afterSubmit:null,jqModal:!0,closeOnEscape:!1,delData:{},delicon:[],cancelicon:[],onClose:null,ajaxDelOptions:{},processing:!1,serializeDelData:null,useDataProxy:!1},a.jgrid.del,c||{});b[a(this)[0].p.id]=c;return this.each(function(){var e=this;if(e.grid&&
338
- z){var h=a.isFunction(b[e.p.id].beforeShowForm),w=a.isFunction(b[e.p.id].afterShowForm),t=a.isFunction(b[e.p.id].beforeInitData)?b[e.p.id].beforeInitData:!1,s=e.p.id,r={},f=!0,k="DelTbl_"+a.jgrid.jqID(s),u,x,d,v,g="DelTbl_"+s,m={themodal:"delmod"+s,modalhead:"delhd"+s,modalcontent:"delcnt"+s,scrollelm:k};a.isArray(z)&&(z=z.join());if(void 0!==a("#"+a.jgrid.jqID(m.themodal))[0]){t&&(f=t.call(e,a("#"+k)),void 0===f&&(f=!0));if(!1===f)return;a("#DelData>td","#"+k).text(z);a("#DelError","#"+k).hide();
339
- !0===b[e.p.id].processing&&(b[e.p.id].processing=!1,a("#dData","#"+k).removeClass("ui-state-active"));h&&b[e.p.id].beforeShowForm.call(e,a("#"+k));a.jgrid.viewModal("#"+a.jgrid.jqID(m.themodal),{gbox:"#gbox_"+a.jgrid.jqID(s),jqm:b[e.p.id].jqModal,jqM:!1,overlay:b[e.p.id].overlay,modal:b[e.p.id].modal})}else{var p=isNaN(b[e.p.id].dataheight)?b[e.p.id].dataheight:b[e.p.id].dataheight+"px",q=isNaN(c.datawidth)?c.datawidth:c.datawidth+"px",g="<div id='"+g+"' class='formdata' style='width:"+q+";overflow:auto;position:relative;height:"+
340
- p+";'><table class='DelTable'><tbody>",g=g+"<tr id='DelError' style='display:none'><td class='ui-state-error'></td></tr>",g=g+("<tr id='DelData' style='display:none'><td >"+z+"</td></tr>"),g=g+('<tr><td class="delmsg" style="white-space:pre;">'+b[e.p.id].msg+"</td></tr><tr><td >&#160;</td></tr>"),g=g+"</tbody></table></div>",g=g+("<table cellspacing='0' cellpadding='0' border='0' class='EditTable' id='"+k+"_2'><tbody><tr><td><hr class='ui-widget-content' style='margin:1px'/></td></tr><tr><td class='DelButton EditButton'>"+
341
- ("<a id='dData' class='fm-button ui-state-default ui-corner-all'>"+c.bSubmit+"</a>")+"&#160;"+("<a id='eData' class='fm-button ui-state-default ui-corner-all'>"+c.bCancel+"</a>")+"</td></tr></tbody></table>");c.gbox="#gbox_"+a.jgrid.jqID(s);a.jgrid.createModal(m,g,c,"#gview_"+a.jgrid.jqID(e.p.id),a("#gview_"+a.jgrid.jqID(e.p.id))[0]);t&&(f=t.call(e,a("#"+k)),void 0===f&&(f=!0));if(!1===f)return;a(".fm-button","#"+k+"_2").hover(function(){a(this).addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover")});
342
- c.delicon=a.extend([!0,"left","ui-icon-scissors"],b[e.p.id].delicon);c.cancelicon=a.extend([!0,"left","ui-icon-cancel"],b[e.p.id].cancelicon);!0===c.delicon[0]&&a("#dData","#"+k+"_2").addClass("right"===c.delicon[1]?"fm-button-icon-right":"fm-button-icon-left").append("<span class='ui-icon "+c.delicon[2]+"'></span>");!0===c.cancelicon[0]&&a("#eData","#"+k+"_2").addClass("right"===c.cancelicon[1]?"fm-button-icon-right":"fm-button-icon-left").append("<span class='ui-icon "+c.cancelicon[2]+"'></span>");
343
- a("#dData","#"+k+"_2").click(function(){var f=[!0,""],g,h=a("#DelData>td","#"+k).text();r={};a.isFunction(b[e.p.id].onclickSubmit)&&(r=b[e.p.id].onclickSubmit.call(e,b[e.p.id],h)||{});a.isFunction(b[e.p.id].beforeSubmit)&&(f=b[e.p.id].beforeSubmit.call(e,h));if(f[0]&&!b[e.p.id].processing){b[e.p.id].processing=!0;d=e.p.prmNames;u=a.extend({},b[e.p.id].delData,r);v=d.oper;u[v]=d.deloper;x=d.id;h=String(h).split(",");if(!h.length)return!1;for(g in h)h.hasOwnProperty(g)&&(h[g]=a.jgrid.stripPref(e.p.idPrefix,
344
- h[g]));u[x]=h.join();a(this).addClass("ui-state-active");g=a.extend({url:b[e.p.id].url||a(e).jqGrid("getGridParam","editurl"),type:b[e.p.id].mtype,data:a.isFunction(b[e.p.id].serializeDelData)?b[e.p.id].serializeDelData.call(e,u):u,complete:function(d,g){var q;300<=d.status&&304!==d.status?(f[0]=!1,a.isFunction(b[e.p.id].errorTextFormat)?f[1]=b[e.p.id].errorTextFormat.call(e,d):f[1]=g+" Status: '"+d.statusText+"'. Error code: "+d.status):a.isFunction(b[e.p.id].afterSubmit)&&(f=b[e.p.id].afterSubmit.call(e,
345
- d,u));if(!1===f[0])a("#DelError>td","#"+k).html(f[1]),a("#DelError","#"+k).show();else{if(b[e.p.id].reloadAfterSubmit&&"local"!==e.p.datatype)a(e).trigger("reloadGrid");else{if(!0===e.p.treeGrid)try{a(e).jqGrid("delTreeNode",e.p.idPrefix+h[0])}catch(p){}else for(q=0;q<h.length;q++)a(e).jqGrid("delRowData",e.p.idPrefix+h[q]);e.p.selrow=null;e.p.selarrrow=[]}a.isFunction(b[e.p.id].afterComplete)&&setTimeout(function(){b[e.p.id].afterComplete.call(e,d,h)},500)}b[e.p.id].processing=!1;a("#dData","#"+
346
- k+"_2").removeClass("ui-state-active");f[0]&&a.jgrid.hideModal("#"+a.jgrid.jqID(m.themodal),{gb:"#gbox_"+a.jgrid.jqID(s),jqm:c.jqModal,onClose:b[e.p.id].onClose})}},a.jgrid.ajaxOptions,b[e.p.id].ajaxDelOptions);g.url||b[e.p.id].useDataProxy||(a.isFunction(e.p.dataProxy)?b[e.p.id].useDataProxy=!0:(f[0]=!1,f[1]+=" "+a.jgrid.errors.nourl));f[0]&&(b[e.p.id].useDataProxy?(g=e.p.dataProxy.call(e,g,"del_"+e.p.id),void 0===g&&(g=[!0,""]),!1===g[0]?(f[0]=!1,f[1]=g[1]||"Error deleting the selected row!"):a.jgrid.hideModal("#"+
347
- a.jgrid.jqID(m.themodal),{gb:"#gbox_"+a.jgrid.jqID(s),jqm:c.jqModal,onClose:b[e.p.id].onClose})):a.ajax(g))}!1===f[0]&&(a("#DelError>td","#"+k).html(f[1]),a("#DelError","#"+k).show());return!1});a("#eData","#"+k+"_2").click(function(){a.jgrid.hideModal("#"+a.jgrid.jqID(m.themodal),{gb:"#gbox_"+a.jgrid.jqID(s),jqm:b[e.p.id].jqModal,onClose:b[e.p.id].onClose});return!1});h&&b[e.p.id].beforeShowForm.call(e,a("#"+k));a.jgrid.viewModal("#"+a.jgrid.jqID(m.themodal),{gbox:"#gbox_"+a.jgrid.jqID(s),jqm:b[e.p.id].jqModal,
348
- overlay:b[e.p.id].overlay,modal:b[e.p.id].modal})}w&&b[e.p.id].afterShowForm.call(e,a("#"+k));!0===b[e.p.id].closeOnEscape&&setTimeout(function(){a(".ui-jqdialog-titlebar-close","#"+a.jgrid.jqID(m.modalhead)).focus()},0)}})},navGrid:function(b,c,e,h,w,t,s){c=a.extend({edit:!0,editicon:"ui-icon-pencil",add:!0,addicon:"ui-icon-plus",del:!0,delicon:"ui-icon-trash",search:!0,searchicon:"ui-icon-search",refresh:!0,refreshicon:"ui-icon-refresh",refreshstate:"firstpage",view:!1,viewicon:"ui-icon-document",
349
- position:"left",closeOnEscape:!0,beforeRefresh:null,afterRefresh:null,cloneToTop:!1,alertwidth:200,alertheight:"auto",alerttop:null,alertleft:null,alertzIndex:null},a.jgrid.nav,c||{});return this.each(function(){if(!this.nav){var r={themodal:"alertmod_"+this.p.id,modalhead:"alerthd_"+this.p.id,modalcontent:"alertcnt_"+this.p.id},f=this,k;if(f.grid&&"string"===typeof b){void 0===a("#"+r.themodal)[0]&&(c.alerttop||c.alertleft||(void 0!==window.innerWidth?(c.alertleft=window.innerWidth,c.alerttop=window.innerHeight):
350
- void 0!==document.documentElement&&void 0!==document.documentElement.clientWidth&&0!==document.documentElement.clientWidth?(c.alertleft=document.documentElement.clientWidth,c.alerttop=document.documentElement.clientHeight):(c.alertleft=1024,c.alerttop=768),c.alertleft=c.alertleft/2-parseInt(c.alertwidth,10)/2,c.alerttop=c.alerttop/2-25),a.jgrid.createModal(r,"<div>"+c.alerttext+"</div><span tabindex='0'><span tabindex='-1' id='jqg_alrt'></span></span>",{gbox:"#gbox_"+a.jgrid.jqID(f.p.id),jqModal:!0,
351
- drag:!0,resize:!0,caption:c.alertcap,top:c.alerttop,left:c.alertleft,width:c.alertwidth,height:c.alertheight,closeOnEscape:c.closeOnEscape,zIndex:c.alertzIndex},"#gview_"+a.jgrid.jqID(f.p.id),a("#gbox_"+a.jgrid.jqID(f.p.id))[0],!0));var u=1,x,d=function(){a(this).hasClass("ui-state-disabled")||a(this).addClass("ui-state-hover")},v=function(){a(this).removeClass("ui-state-hover")};c.cloneToTop&&f.p.toppager&&(u=2);for(x=0;x<u;x++){var g=a("<table cellspacing='0' cellpadding='0' border='0' class='ui-pg-table navtable' style='float:left;table-layout:auto;'><tbody><tr></tr></tbody></table>"),
352
- m,p;0===x?(m=b,p=f.p.id,m===f.p.toppager&&(p+="_top",u=1)):(m=f.p.toppager,p=f.p.id+"_top");"rtl"===f.p.direction&&a(g).attr("dir","rtl").css("float","right");c.add&&(h=h||{},k=a("<td class='ui-pg-button ui-corner-all'></td>"),a(k).append("<div class='ui-pg-div'><span class='ui-icon "+c.addicon+"'></span>"+c.addtext+"</div>"),a("tr",g).append(k),a(k,g).attr({title:c.addtitle||"",id:h.id||"add_"+p}).click(function(){a(this).hasClass("ui-state-disabled")||(a.isFunction(c.addfunc)?c.addfunc.call(f):
353
- a(f).jqGrid("editGridRow","new",h));return!1}).hover(d,v),k=null);c.edit&&(k=a("<td class='ui-pg-button ui-corner-all'></td>"),e=e||{},a(k).append("<div class='ui-pg-div'><span class='ui-icon "+c.editicon+"'></span>"+c.edittext+"</div>"),a("tr",g).append(k),a(k,g).attr({title:c.edittitle||"",id:e.id||"edit_"+p}).click(function(){if(!a(this).hasClass("ui-state-disabled")){var b=f.p.selrow;b?a.isFunction(c.editfunc)?c.editfunc.call(f,b):a(f).jqGrid("editGridRow",b,e):(a.jgrid.viewModal("#"+r.themodal,
354
- {gbox:"#gbox_"+a.jgrid.jqID(f.p.id),jqm:!0}),a("#jqg_alrt").focus())}return!1}).hover(d,v),k=null);c.view&&(k=a("<td class='ui-pg-button ui-corner-all'></td>"),s=s||{},a(k).append("<div class='ui-pg-div'><span class='ui-icon "+c.viewicon+"'></span>"+c.viewtext+"</div>"),a("tr",g).append(k),a(k,g).attr({title:c.viewtitle||"",id:s.id||"view_"+p}).click(function(){if(!a(this).hasClass("ui-state-disabled")){var b=f.p.selrow;b?a.isFunction(c.viewfunc)?c.viewfunc.call(f,b):a(f).jqGrid("viewGridRow",b,s):
355
- (a.jgrid.viewModal("#"+r.themodal,{gbox:"#gbox_"+a.jgrid.jqID(f.p.id),jqm:!0}),a("#jqg_alrt").focus())}return!1}).hover(d,v),k=null);c.del&&(k=a("<td class='ui-pg-button ui-corner-all'></td>"),w=w||{},a(k).append("<div class='ui-pg-div'><span class='ui-icon "+c.delicon+"'></span>"+c.deltext+"</div>"),a("tr",g).append(k),a(k,g).attr({title:c.deltitle||"",id:w.id||"del_"+p}).click(function(){if(!a(this).hasClass("ui-state-disabled")){var b;f.p.multiselect?(b=f.p.selarrrow,0===b.length&&(b=null)):b=
356
- f.p.selrow;b?a.isFunction(c.delfunc)?c.delfunc.call(f,b):a(f).jqGrid("delGridRow",b,w):(a.jgrid.viewModal("#"+r.themodal,{gbox:"#gbox_"+a.jgrid.jqID(f.p.id),jqm:!0}),a("#jqg_alrt").focus())}return!1}).hover(d,v),k=null);(c.add||c.edit||c.del||c.view)&&a("tr",g).append("<td class='ui-pg-button ui-state-disabled' style='width:4px;'><span class='ui-separator'></span></td>");c.search&&(k=a("<td class='ui-pg-button ui-corner-all'></td>"),t=t||{},a(k).append("<div class='ui-pg-div'><span class='ui-icon "+
357
- c.searchicon+"'></span>"+c.searchtext+"</div>"),a("tr",g).append(k),a(k,g).attr({title:c.searchtitle||"",id:t.id||"search_"+p}).click(function(){a(this).hasClass("ui-state-disabled")||(a.isFunction(c.searchfunc)?c.searchfunc.call(f,t):a(f).jqGrid("searchGrid",t));return!1}).hover(d,v),t.showOnLoad&&!0===t.showOnLoad&&a(k,g).click(),k=null);c.refresh&&(k=a("<td class='ui-pg-button ui-corner-all'></td>"),a(k).append("<div class='ui-pg-div'><span class='ui-icon "+c.refreshicon+"'></span>"+c.refreshtext+
358
- "</div>"),a("tr",g).append(k),a(k,g).attr({title:c.refreshtitle||"",id:"refresh_"+p}).click(function(){if(!a(this).hasClass("ui-state-disabled")){a.isFunction(c.beforeRefresh)&&c.beforeRefresh.call(f);f.p.search=!1;f.p.resetsearch=!0;try{var b=f.p.id;f.p.postData.filters="";try{a("#fbox_"+a.jgrid.jqID(b)).jqFilter("resetFilter")}catch(d){}a.isFunction(f.clearToolbar)&&f.clearToolbar.call(f,!1)}catch(e){}switch(c.refreshstate){case "firstpage":a(f).trigger("reloadGrid",[{page:1}]);break;case "current":a(f).trigger("reloadGrid",
359
- [{current:!0}])}a.isFunction(c.afterRefresh)&&c.afterRefresh.call(f)}return!1}).hover(d,v),k=null);k=a(".ui-jqgrid").css("font-size")||"11px";a("body").append("<div id='testpg2' class='ui-jqgrid ui-widget ui-widget-content' style='font-size:"+k+";visibility:hidden;' ></div>");k=a(g).clone().appendTo("#testpg2").width();a("#testpg2").remove();a(m+"_"+c.position,m).append(g);f.p._nvtd&&(k>f.p._nvtd[0]&&(a(m+"_"+c.position,m).width(k),f.p._nvtd[0]=k),f.p._nvtd[1]=k);g=k=k=null;this.nav=!0}}}})},navButtonAdd:function(b,
360
- c){c=a.extend({caption:"newButton",title:"",buttonicon:"ui-icon-newwin",onClickButton:null,position:"last",cursor:"pointer"},c||{});return this.each(function(){if(this.grid){"string"===typeof b&&0!==b.indexOf("#")&&(b="#"+a.jgrid.jqID(b));var e=a(".navtable",b)[0],h=this;if(e&&(!c.id||void 0===a("#"+a.jgrid.jqID(c.id),e)[0])){var w=a("<td></td>");"NONE"===c.buttonicon.toString().toUpperCase()?a(w).addClass("ui-pg-button ui-corner-all").append("<div class='ui-pg-div'>"+c.caption+"</div>"):a(w).addClass("ui-pg-button ui-corner-all").append("<div class='ui-pg-div'><span class='ui-icon "+
361
- c.buttonicon+"'></span>"+c.caption+"</div>");c.id&&a(w).attr("id",c.id);"first"===c.position?0===e.rows[0].cells.length?a("tr",e).append(w):a("tr td:eq(0)",e).before(w):a("tr",e).append(w);a(w,e).attr("title",c.title||"").click(function(b){a(this).hasClass("ui-state-disabled")||a.isFunction(c.onClickButton)&&c.onClickButton.call(h,b);return!1}).hover(function(){a(this).hasClass("ui-state-disabled")||a(this).addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover")})}}})},navSeparatorAdd:function(b,
362
- c){c=a.extend({sepclass:"ui-separator",sepcontent:"",position:"last"},c||{});return this.each(function(){if(this.grid){"string"===typeof b&&0!==b.indexOf("#")&&(b="#"+a.jgrid.jqID(b));var e=a(".navtable",b)[0];if(e){var h="<td class='ui-pg-button ui-state-disabled' style='width:4px;'><span class='"+c.sepclass+"'></span>"+c.sepcontent+"</td>";"first"===c.position?0===e.rows[0].cells.length?a("tr",e).append(h):a("tr td:eq(0)",e).before(h):a("tr",e).append(h)}}})},GridToForm:function(b,c){return this.each(function(){var e=
363
- this,h;if(e.grid){var w=a(e).jqGrid("getRowData",b);if(w)for(h in w)w.hasOwnProperty(h)&&(a("[name="+a.jgrid.jqID(h)+"]",c).is("input:radio")||a("[name="+a.jgrid.jqID(h)+"]",c).is("input:checkbox")?a("[name="+a.jgrid.jqID(h)+"]",c).each(function(){if(a(this).val()==w[h])a(this)[e.p.useProp?"prop":"attr"]("checked",!0);else a(this)[e.p.useProp?"prop":"attr"]("checked",!1)}):a("[name="+a.jgrid.jqID(h)+"]",c).val(w[h]))}})},FormToGrid:function(b,c,e,h){return this.each(function(){if(this.grid){e||(e=
364
- "set");h||(h="first");var w=a(c).serializeArray(),t={};a.each(w,function(a,b){t[b.name]=b.value});"add"===e?a(this).jqGrid("addRowData",b,t,h):"set"===e&&a(this).jqGrid("setRowData",b,t)}})}})})(jQuery);
365
- (function(a){a.fn.jqFilter=function(d){if("string"===typeof d){var q=a.fn.jqFilter[d];if(!q)throw"jqFilter - No such method: "+d;var x=a.makeArray(arguments).slice(1);return q.apply(this,x)}var n=a.extend(!0,{filter:null,columns:[],onChange:null,afterRedraw:null,checkValues:null,error:!1,errmsg:"",errorcheck:!0,showQuery:!0,sopt:null,ops:[],operands:null,numopts:"eq ne lt le gt ge nu nn in ni".split(" "),stropts:"eq ne bw bn ew en cn nc nu nn in ni".split(" "),strarr:["text","string","blob"],groupOps:[{op:"AND",
366
- text:"AND"},{op:"OR",text:"OR"}],groupButton:!0,ruleButtons:!0,direction:"ltr"},a.jgrid.filter,d||{});return this.each(function(){if(!this.filter){this.p=n;if(null===this.p.filter||void 0===this.p.filter)this.p.filter={groupOp:this.p.groupOps[0].op,rules:[],groups:[]};var d,q=this.p.columns.length,f,w=/msie/i.test(navigator.userAgent)&&!window.opera;this.p.initFilter=a.extend(!0,{},this.p.filter);if(q){for(d=0;d<q;d++)f=this.p.columns[d],f.stype?f.inputtype=f.stype:f.inputtype||(f.inputtype="text"),
367
- f.sorttype?f.searchtype=f.sorttype:f.searchtype||(f.searchtype="string"),void 0===f.hidden&&(f.hidden=!1),f.label||(f.label=f.name),f.index&&(f.name=f.index),f.hasOwnProperty("searchoptions")||(f.searchoptions={}),f.hasOwnProperty("searchrules")||(f.searchrules={});this.p.showQuery&&a(this).append("<table class='queryresult ui-widget ui-widget-content' style='display:block;max-width:440px;border:0px none;' dir='"+this.p.direction+"'><tbody><tr><td class='query'></td></tr></tbody></table>");var u=
368
- function(g,l){var b=[!0,""],c=a("#"+a.jgrid.jqID(n.id))[0]||null;if(a.isFunction(l.searchrules))b=l.searchrules.call(c,g,l);else if(a.jgrid&&a.jgrid.checkValues)try{b=a.jgrid.checkValues.call(c,g,-1,l.searchrules,l.label)}catch(m){}b&&b.length&&!1===b[0]&&(n.error=!b[0],n.errmsg=b[1])};this.onchange=function(){this.p.error=!1;this.p.errmsg="";return a.isFunction(this.p.onChange)?this.p.onChange.call(this,this.p):!1};this.reDraw=function(){a("table.group:first",this).remove();var g=this.createTableForGroup(n.filter,
369
- null);a(this).append(g);a.isFunction(this.p.afterRedraw)&&this.p.afterRedraw.call(this,this.p)};this.createTableForGroup=function(g,l){var b=this,c,m=a("<table class='group ui-widget ui-widget-content' style='border:0px none;'><tbody></tbody></table>"),e="left";"rtl"===this.p.direction&&(e="right",m.attr("dir","rtl"));null===l&&m.append("<tr class='error' style='display:none;'><th colspan='5' class='ui-state-error' align='"+e+"'></th></tr>");var h=a("<tr></tr>");m.append(h);e=a("<th colspan='5' align='"+
370
- e+"'></th>");h.append(e);if(!0===this.p.ruleButtons){var d=a("<select class='opsel'></select>");e.append(d);var h="",k;for(c=0;c<n.groupOps.length;c++)k=g.groupOp===b.p.groupOps[c].op?" selected='selected'":"",h+="<option value='"+b.p.groupOps[c].op+"'"+k+">"+b.p.groupOps[c].text+"</option>";d.append(h).bind("change",function(){g.groupOp=a(d).val();b.onchange()})}h="<span></span>";this.p.groupButton&&(h=a("<input type='button' value='+ {}' title='Add subgroup' class='add-group'/>"),h.bind("click",
371
- function(){void 0===g.groups&&(g.groups=[]);g.groups.push({groupOp:n.groupOps[0].op,rules:[],groups:[]});b.reDraw();b.onchange();return!1}));e.append(h);if(!0===this.p.ruleButtons){var h=a("<input type='button' value='+' title='Add rule' class='add-rule ui-add'/>"),f;h.bind("click",function(){void 0===g.rules&&(g.rules=[]);for(c=0;c<b.p.columns.length;c++){var e=void 0===b.p.columns[c].search?!0:b.p.columns[c].search,l=!0===b.p.columns[c].hidden;if(!0===b.p.columns[c].searchoptions.searchhidden&&
372
- e||e&&!l){f=b.p.columns[c];break}}e=f.searchoptions.sopt?f.searchoptions.sopt:b.p.sopt?b.p.sopt:-1!==a.inArray(f.searchtype,b.p.strarr)?b.p.stropts:b.p.numopts;g.rules.push({field:f.name,op:e[0],data:""});b.reDraw();return!1});e.append(h)}null!==l&&(h=a("<input type='button' value='-' title='Delete group' class='delete-group'/>"),e.append(h),h.bind("click",function(){for(c=0;c<l.groups.length;c++)if(l.groups[c]===g){l.groups.splice(c,1);break}b.reDraw();b.onchange();return!1}));if(void 0!==g.groups)for(c=
373
- 0;c<g.groups.length;c++)e=a("<tr></tr>"),m.append(e),h=a("<td class='first'></td>"),e.append(h),h=a("<td colspan='4'></td>"),h.append(this.createTableForGroup(g.groups[c],g)),e.append(h);void 0===g.groupOp&&(g.groupOp=b.p.groupOps[0].op);if(void 0!==g.rules)for(c=0;c<g.rules.length;c++)m.append(this.createTableRowForRule(g.rules[c],g));return m};this.createTableRowForRule=function(g,l){var b=this,c=a("#"+a.jgrid.jqID(n.id))[0]||null,m=a("<tr></tr>"),e,h,f,k,d="",s;m.append("<td class='first'></td>");
374
- var p=a("<td class='columns'></td>");m.append(p);var q=a("<select></select>"),r,t=[];p.append(q);q.bind("change",function(){g.field=a(q).val();f=a(this).parents("tr:first");for(e=0;e<b.p.columns.length;e++)if(b.p.columns[e].name===g.field){k=b.p.columns[e];break}if(k){k.searchoptions.id=a.jgrid.randId();w&&"text"===k.inputtype&&!k.searchoptions.size&&(k.searchoptions.size=10);var d=a.jgrid.createEl.call(c,k.inputtype,k.searchoptions,"",!0,b.p.ajaxSelectOptions||{},!0);a(d).addClass("input-elm");h=
375
- k.searchoptions.sopt?k.searchoptions.sopt:b.p.sopt?b.p.sopt:-1!==a.inArray(k.searchtype,b.p.strarr)?b.p.stropts:b.p.numopts;var l="",m=0;t=[];a.each(b.p.ops,function(){t.push(this.oper)});for(e=0;e<h.length;e++)r=a.inArray(h[e],t),-1!==r&&(0===m&&(g.op=b.p.ops[r].oper),l+="<option value='"+b.p.ops[r].oper+"'>"+b.p.ops[r].text+"</option>",m++);a(".selectopts",f).empty().append(l);a(".selectopts",f)[0].selectedIndex=0;a.jgrid.msie&&9>a.jgrid.msiever()&&(l=parseInt(a("select.selectopts",f)[0].offsetWidth,
376
- 10)+1,a(".selectopts",f).width(l),a(".selectopts",f).css("width","auto"));a(".data",f).empty().append(d);a.jgrid.bindEv.call(c,d,k.searchoptions);a(".input-elm",f).bind("change",function(e){e=e.target;g.data="SPAN"===e.nodeName.toUpperCase()&&k.searchoptions&&a.isFunction(k.searchoptions.custom_value)?k.searchoptions.custom_value.call(c,a(e).children(".customelement:first"),"get"):e.value;b.onchange()});setTimeout(function(){g.data=a(d).val();b.onchange()},0)}});for(e=p=0;e<b.p.columns.length;e++){s=
377
- void 0===b.p.columns[e].search?!0:b.p.columns[e].search;var u=!0===b.p.columns[e].hidden;if(!0===b.p.columns[e].searchoptions.searchhidden&&s||s&&!u)s="",g.field===b.p.columns[e].name&&(s=" selected='selected'",p=e),d+="<option value='"+b.p.columns[e].name+"'"+s+">"+b.p.columns[e].label+"</option>"}q.append(d);d=a("<td class='operators'></td>");m.append(d);k=n.columns[p];k.searchoptions.id=a.jgrid.randId();w&&"text"===k.inputtype&&!k.searchoptions.size&&(k.searchoptions.size=10);p=a.jgrid.createEl.call(c,
378
- k.inputtype,k.searchoptions,g.data,!0,b.p.ajaxSelectOptions||{},!0);if("nu"===g.op||"nn"===g.op)a(p).attr("readonly","true"),a(p).attr("disabled","true");var v=a("<select class='selectopts'></select>");d.append(v);v.bind("change",function(){g.op=a(v).val();f=a(this).parents("tr:first");var c=a(".input-elm",f)[0];"nu"===g.op||"nn"===g.op?(g.data="","SELECT"!==c.tagName.toUpperCase()&&(c.value=""),c.setAttribute("readonly","true"),c.setAttribute("disabled","true")):("SELECT"===c.tagName.toUpperCase()&&
379
- (g.data=c.value),c.removeAttribute("readonly"),c.removeAttribute("disabled"));b.onchange()});h=k.searchoptions.sopt?k.searchoptions.sopt:b.p.sopt?b.p.sopt:-1!==a.inArray(k.searchtype,b.p.strarr)?b.p.stropts:b.p.numopts;d="";a.each(b.p.ops,function(){t.push(this.oper)});for(e=0;e<h.length;e++)r=a.inArray(h[e],t),-1!==r&&(s=g.op===b.p.ops[r].oper?" selected='selected'":"",d+="<option value='"+b.p.ops[r].oper+"'"+s+">"+b.p.ops[r].text+"</option>");v.append(d);d=a("<td class='data'></td>");m.append(d);
380
- d.append(p);a.jgrid.bindEv.call(c,p,k.searchoptions);a(p).addClass("input-elm").bind("change",function(){g.data="custom"===k.inputtype?k.searchoptions.custom_value.call(c,a(this).children(".customelement:first"),"get"):a(this).val();b.onchange()});d=a("<td></td>");m.append(d);!0===this.p.ruleButtons&&(p=a("<input type='button' value='-' title='Delete rule' class='delete-rule ui-del'/>"),d.append(p),p.bind("click",function(){for(e=0;e<l.rules.length;e++)if(l.rules[e]===g){l.rules.splice(e,1);break}b.reDraw();
381
- b.onchange();return!1}));return m};this.getStringForGroup=function(a){var d="(",b;if(void 0!==a.groups)for(b=0;b<a.groups.length;b++){1<d.length&&(d+=" "+a.groupOp+" ");try{d+=this.getStringForGroup(a.groups[b])}catch(c){alert(c)}}if(void 0!==a.rules)try{for(b=0;b<a.rules.length;b++)1<d.length&&(d+=" "+a.groupOp+" "),d+=this.getStringForRule(a.rules[b])}catch(f){alert(f)}d+=")";return"()"===d?"":d};this.getStringForRule=function(d){var f="",b="",c,m;for(c=0;c<this.p.ops.length;c++)if(this.p.ops[c].oper===
382
- d.op){f=this.p.operands.hasOwnProperty(d.op)?this.p.operands[d.op]:"";b=this.p.ops[c].oper;break}for(c=0;c<this.p.columns.length;c++)if(this.p.columns[c].name===d.field){m=this.p.columns[c];break}if(void 0==m)return"";c=d.data;if("bw"===b||"bn"===b)c+="%";if("ew"===b||"en"===b)c="%"+c;if("cn"===b||"nc"===b)c="%"+c+"%";if("in"===b||"ni"===b)c=" ("+c+")";n.errorcheck&&u(d.data,m);return-1!==a.inArray(m.searchtype,["int","integer","float","number","currency"])||"nn"===b||"nu"===b?d.field+" "+f+" "+c:
383
- d.field+" "+f+' "'+c+'"'};this.resetFilter=function(){this.p.filter=a.extend(!0,{},this.p.initFilter);this.reDraw();this.onchange()};this.hideError=function(){a("th.ui-state-error",this).html("");a("tr.error",this).hide()};this.showError=function(){a("th.ui-state-error",this).html(this.p.errmsg);a("tr.error",this).show()};this.toUserFriendlyString=function(){return this.getStringForGroup(n.filter)};this.toString=function(){function a(b){var c="(",f;if(void 0!==b.groups)for(f=0;f<b.groups.length;f++)1<
384
- c.length&&(c="OR"===b.groupOp?c+" || ":c+" && "),c+=a(b.groups[f]);if(void 0!==b.rules)for(f=0;f<b.rules.length;f++){1<c.length&&(c="OR"===b.groupOp?c+" || ":c+" && ");var e=b.rules[f];if(d.p.errorcheck){for(var h=void 0,n=void 0,h=0;h<d.p.columns.length;h++)if(d.p.columns[h].name===e.field){n=d.p.columns[h];break}n&&u(e.data,n)}c+=e.op+"(item."+e.field+",'"+e.data+"')"}c+=")";return"()"===c?"":c}var d=this;return a(this.p.filter)};this.reDraw();if(this.p.showQuery)this.onchange();this.filter=!0}}})};
385
- a.extend(a.fn.jqFilter,{toSQLString:function(){var a="";this.each(function(){a=this.toUserFriendlyString()});return a},filterData:function(){var a;this.each(function(){a=this.p.filter});return a},getParameter:function(a){return void 0!==a&&this.p.hasOwnProperty(a)?this.p[a]:this.p},resetFilter:function(){return this.each(function(){this.resetFilter()})},addFilter:function(d){"string"===typeof d&&(d=a.jgrid.parse(d));this.each(function(){this.p.filter=d;this.reDraw();this.onchange()})}})})(jQuery);
386
- (function(a){a.jgrid.inlineEdit=a.jgrid.inlineEdit||{};a.jgrid.extend({editRow:function(c,e,b,l,h,n,p,g,f){var m={},d=a.makeArray(arguments).slice(1);"object"===a.type(d[0])?m=d[0]:(void 0!==e&&(m.keys=e),a.isFunction(b)&&(m.oneditfunc=b),a.isFunction(l)&&(m.successfunc=l),void 0!==h&&(m.url=h),void 0!==n&&(m.extraparam=n),a.isFunction(p)&&(m.aftersavefunc=p),a.isFunction(g)&&(m.errorfunc=g),a.isFunction(f)&&(m.afterrestorefunc=f));m=a.extend(!0,{keys:!1,oneditfunc:null,successfunc:null,url:null,
387
- extraparam:{},aftersavefunc:null,errorfunc:null,afterrestorefunc:null,restoreAfterError:!0,mtype:"POST"},a.jgrid.inlineEdit,m);return this.each(function(){var d=this,f,e,b,g=0,h=null,n={},l,q;d.grid&&(l=a(d).jqGrid("getInd",c,!0),!1!==l&&(b=a.isFunction(m.beforeEditRow)?m.beforeEditRow.call(d,m,c):void 0,void 0===b&&(b=!0),b&&(b=a(l).attr("editable")||"0","0"!==b||a(l).hasClass("not-editable-row")||(q=d.p.colModel,a('td[role="gridcell"]',l).each(function(b){f=q[b].name;var l=!0===d.p.treeGrid&&f===
388
- d.p.ExpandColumn;if(l)e=a("span:first",this).html();else try{e=a.unformat.call(d,this,{rowId:c,colModel:q[b]},b)}catch(m){e=q[b].edittype&&"textarea"===q[b].edittype?a(this).text():a(this).html()}if("cb"!==f&&"subgrid"!==f&&"rn"!==f&&(d.p.autoencode&&(e=a.jgrid.htmlDecode(e)),n[f]=e,!0===q[b].editable)){null===h&&(h=b);l?a("span:first",this).html(""):a(this).html("");var p=a.extend({},q[b].editoptions||{},{id:c+"_"+f,name:f});q[b].edittype||(q[b].edittype="text");if("&nbsp;"===e||"&#160;"===e||1===
389
- e.length&&160===e.charCodeAt(0))e="";var x=a.jgrid.createEl.call(d,q[b].edittype,p,e,!0,a.extend({},a.jgrid.ajaxOptions,d.p.ajaxSelectOptions||{}));a(x).addClass("editable");l?a("span:first",this).append(x):a(this).append(x);a.jgrid.bindEv.call(d,x,p);"select"===q[b].edittype&&void 0!==q[b].editoptions&&!0===q[b].editoptions.multiple&&void 0===q[b].editoptions.dataUrl&&a.jgrid.msie&&a(x).width(a(x).width());g++}}),0<g&&(n.id=c,d.p.savedRow.push(n),a(l).attr("editable","1"),setTimeout(function(){a("td:eq("+
390
- h+") input",l).focus()},0),!0===m.keys&&a(l).bind("keydown",function(b){if(27===b.keyCode){a(d).jqGrid("restoreRow",c,m.afterrestorefunc);if(d.p._inlinenav)try{a(d).jqGrid("showAddEditButtons")}catch(f){}return!1}if(13===b.keyCode){if("TEXTAREA"===b.target.tagName)return!0;if(a(d).jqGrid("saveRow",c,m)&&d.p._inlinenav)try{a(d).jqGrid("showAddEditButtons")}catch(e){}return!1}}),a(d).triggerHandler("jqGridInlineEditRow",[c,m]),a.isFunction(m.oneditfunc)&&m.oneditfunc.call(d,c))))))})},saveRow:function(c,
391
- e,b,l,h,n,p){var g=a.makeArray(arguments).slice(1),f={};"object"===a.type(g[0])?f=g[0]:(a.isFunction(e)&&(f.successfunc=e),void 0!==b&&(f.url=b),void 0!==l&&(f.extraparam=l),a.isFunction(h)&&(f.aftersavefunc=h),a.isFunction(n)&&(f.errorfunc=n),a.isFunction(p)&&(f.afterrestorefunc=p));var f=a.extend(!0,{successfunc:null,url:null,extraparam:{},aftersavefunc:null,errorfunc:null,afterrestorefunc:null,restoreAfterError:!0,mtype:"POST"},a.jgrid.inlineEdit,f),m=!1,d=this[0],r,k={},y={},v={},w,z,u;if(!d.grid)return m;
392
- u=a(d).jqGrid("getInd",c,!0);if(!1===u)return m;g=a.isFunction(f.beforeSaveRow)?f.beforeSaveRow.call(d,f,c):void 0;void 0===g&&(g=!0);if(g){g=a(u).attr("editable");f.url=f.url||d.p.editurl;if("1"===g){var t;a('td[role="gridcell"]',u).each(function(c){t=d.p.colModel[c];r=t.name;if("cb"!==r&&"subgrid"!==r&&!0===t.editable&&"rn"!==r&&!a(this).hasClass("not-editable-cell")){switch(t.edittype){case "checkbox":var b=["Yes","No"];t.editoptions&&(b=t.editoptions.value.split(":"));k[r]=a("input",this).is(":checked")?
393
- b[0]:b[1];break;case "text":case "password":case "textarea":case "button":k[r]=a("input, textarea",this).val();break;case "select":if(t.editoptions.multiple){var b=a("select",this),e=[];k[r]=a(b).val();k[r]=k[r]?k[r].join(","):"";a("select option:selected",this).each(function(d,b){e[d]=a(b).text()});y[r]=e.join(",")}else k[r]=a("select option:selected",this).val(),y[r]=a("select option:selected",this).text();t.formatter&&"select"===t.formatter&&(y={});break;case "custom":try{if(t.editoptions&&a.isFunction(t.editoptions.custom_value)){if(k[r]=
394
- t.editoptions.custom_value.call(d,a(".customelement",this),"get"),void 0===k[r])throw"e2";}else throw"e1";}catch(g){"e1"===g&&a.jgrid.info_dialog(a.jgrid.errors.errcap,"function 'custom_value' "+a.jgrid.edit.msg.nodefined,a.jgrid.edit.bClose),"e2"===g?a.jgrid.info_dialog(a.jgrid.errors.errcap,"function 'custom_value' "+a.jgrid.edit.msg.novalue,a.jgrid.edit.bClose):a.jgrid.info_dialog(a.jgrid.errors.errcap,g.message,a.jgrid.edit.bClose)}}z=a.jgrid.checkValues.call(d,k[r],c);if(!1===z[0])return!1;d.p.autoencode&&
395
- (k[r]=a.jgrid.htmlEncode(k[r]));"clientArray"!==f.url&&t.editoptions&&!0===t.editoptions.NullIfEmpty&&""===k[r]&&(v[r]="null")}});if(!1===z[0]){try{var q=a(d).jqGrid("getGridRowById",c),s=a.jgrid.findPos(q);a.jgrid.info_dialog(a.jgrid.errors.errcap,z[1],a.jgrid.edit.bClose,{left:s[0],top:s[1]+a(q).outerHeight()})}catch(A){alert(z[1])}return m}g=d.p.prmNames;q=c;s=!1===d.p.keyIndex?g.id:d.p.colModel[d.p.keyIndex+(!0===d.p.rownumbers?1:0)+(!0===d.p.multiselect?1:0)+(!0===d.p.subGrid?1:0)].name;k&&(k[g.oper]=
396
- g.editoper,void 0===k[s]||""===k[s]?k[s]=c:u.id!==d.p.idPrefix+k[s]&&(g=a.jgrid.stripPref(d.p.idPrefix,c),void 0!==d.p._index[g]&&(d.p._index[k[s]]=d.p._index[g],delete d.p._index[g]),c=d.p.idPrefix+k[s],a(u).attr("id",c),d.p.selrow===q&&(d.p.selrow=c),a.isArray(d.p.selarrrow)&&(g=a.inArray(q,d.p.selarrrow),0<=g&&(d.p.selarrrow[g]=c)),d.p.multiselect&&(g="jqg_"+d.p.id+"_"+c,a("input.cbox",u).attr("id",g).attr("name",g))),void 0===d.p.inlineData&&(d.p.inlineData={}),k=a.extend({},k,d.p.inlineData,
397
- f.extraparam));if("clientArray"===f.url){k=a.extend({},k,y);d.p.autoencode&&a.each(k,function(d,b){k[d]=a.jgrid.htmlDecode(b)});g=a(d).jqGrid("setRowData",c,k);a(u).attr("editable","0");for(s=0;s<d.p.savedRow.length;s++)if(String(d.p.savedRow[s].id)===String(q)){w=s;break}0<=w&&d.p.savedRow.splice(w,1);a(d).triggerHandler("jqGridInlineAfterSaveRow",[c,g,k,f]);a.isFunction(f.aftersavefunc)&&f.aftersavefunc.call(d,c,g,f);m=!0;a(u).removeClass("jqgrid-new-row").unbind("keydown")}else a("#lui_"+a.jgrid.jqID(d.p.id)).show(),
398
- v=a.extend({},k,v),v[s]=a.jgrid.stripPref(d.p.idPrefix,v[s]),a.ajax(a.extend({url:f.url,data:a.isFunction(d.p.serializeRowData)?d.p.serializeRowData.call(d,v):v,type:f.mtype,async:!1,complete:function(b,e){a("#lui_"+a.jgrid.jqID(d.p.id)).hide();if("success"===e){var g=!0,h;h=a(d).triggerHandler("jqGridInlineSuccessSaveRow",[b,c,f]);a.isArray(h)||(h=[!0,k]);h[0]&&a.isFunction(f.successfunc)&&(h=f.successfunc.call(d,b));a.isArray(h)?(g=h[0],k=h[1]||k):g=h;if(!0===g){d.p.autoencode&&a.each(k,function(b,
399
- d){k[b]=a.jgrid.htmlDecode(d)});k=a.extend({},k,y);a(d).jqGrid("setRowData",c,k);a(u).attr("editable","0");for(g=0;g<d.p.savedRow.length;g++)if(String(d.p.savedRow[g].id)===String(c)){w=g;break}0<=w&&d.p.savedRow.splice(w,1);a(d).triggerHandler("jqGridInlineAfterSaveRow",[c,b,k,f]);a.isFunction(f.aftersavefunc)&&f.aftersavefunc.call(d,c,b);m=!0;a(u).removeClass("jqgrid-new-row").unbind("keydown")}else a(d).triggerHandler("jqGridInlineErrorSaveRow",[c,b,e,null,f]),a.isFunction(f.errorfunc)&&f.errorfunc.call(d,
400
- c,b,e,null),!0===f.restoreAfterError&&a(d).jqGrid("restoreRow",c,f.afterrestorefunc)}},error:function(b,e,g){a("#lui_"+a.jgrid.jqID(d.p.id)).hide();a(d).triggerHandler("jqGridInlineErrorSaveRow",[c,b,e,g,f]);if(a.isFunction(f.errorfunc))f.errorfunc.call(d,c,b,e,g);else{b=b.responseText||b.statusText;try{a.jgrid.info_dialog(a.jgrid.errors.errcap,'<div class="ui-state-error">'+b+"</div>",a.jgrid.edit.bClose,{buttonalign:"right"})}catch(h){alert(b)}}!0===f.restoreAfterError&&a(d).jqGrid("restoreRow",
401
- c,f.afterrestorefunc)}},a.jgrid.ajaxOptions,d.p.ajaxRowOptions||{}))}return m}},restoreRow:function(c,e){var b=a.makeArray(arguments).slice(1),l={};"object"===a.type(b[0])?l=b[0]:a.isFunction(e)&&(l.afterrestorefunc=e);l=a.extend(!0,{},a.jgrid.inlineEdit,l);return this.each(function(){var b=this,e=-1,p,g={},f;if(b.grid&&(p=a(b).jqGrid("getInd",c,!0),!1!==p&&(f=a.isFunction(l.beforeCancelRow)?l.beforeCancelRow.call(b,l,sr):void 0,void 0===f&&(f=!0),f))){for(f=0;f<b.p.savedRow.length;f++)if(String(b.p.savedRow[f].id)===
402
- String(c)){e=f;break}if(0<=e){if(a.isFunction(a.fn.datepicker))try{a("input.hasDatepicker","#"+a.jgrid.jqID(p.id)).datepicker("hide")}catch(m){}a.each(b.p.colModel,function(){!0===this.editable&&b.p.savedRow[e].hasOwnProperty(this.name)&&(g[this.name]=b.p.savedRow[e][this.name])});a(b).jqGrid("setRowData",c,g);a(p).attr("editable","0").unbind("keydown");b.p.savedRow.splice(e,1);a("#"+a.jgrid.jqID(c),"#"+a.jgrid.jqID(b.p.id)).hasClass("jqgrid-new-row")&&setTimeout(function(){a(b).jqGrid("delRowData",
403
- c);a(b).jqGrid("showAddEditButtons")},0)}a(b).triggerHandler("jqGridInlineAfterRestoreRow",[c]);a.isFunction(l.afterrestorefunc)&&l.afterrestorefunc.call(b,c)}})},addRow:function(c){c=a.extend(!0,{rowID:null,initdata:{},position:"first",useDefValues:!0,useFormatter:!1,addRowParams:{extraparam:{}}},c||{});return this.each(function(){if(this.grid){var e=this,b=a.isFunction(c.beforeAddRow)?c.beforeAddRow.call(e,c.addRowParams):void 0;void 0===b&&(b=!0);b&&(c.rowID=a.isFunction(c.rowID)?c.rowID.call(e,
404
- c):null!=c.rowID?c.rowID:a.jgrid.randId(),!0===c.useDefValues&&a(e.p.colModel).each(function(){if(this.editoptions&&this.editoptions.defaultValue){var b=this.editoptions.defaultValue,b=a.isFunction(b)?b.call(e):b;c.initdata[this.name]=b}}),a(e).jqGrid("addRowData",c.rowID,c.initdata,c.position),c.rowID=e.p.idPrefix+c.rowID,a("#"+a.jgrid.jqID(c.rowID),"#"+a.jgrid.jqID(e.p.id)).addClass("jqgrid-new-row"),c.useFormatter?a("#"+a.jgrid.jqID(c.rowID)+" .ui-inline-edit","#"+a.jgrid.jqID(e.p.id)).click():
405
- (b=e.p.prmNames,c.addRowParams.extraparam[b.oper]=b.addoper,a(e).jqGrid("editRow",c.rowID,c.addRowParams),a(e).jqGrid("setSelection",c.rowID)))}})},inlineNav:function(c,e){e=a.extend(!0,{edit:!0,editicon:"ui-icon-pencil",add:!0,addicon:"ui-icon-plus",save:!0,saveicon:"ui-icon-disk",cancel:!0,cancelicon:"ui-icon-cancel",addParams:{addRowParams:{extraparam:{}}},editParams:{},restoreAfterSelect:!0},a.jgrid.nav,e||{});return this.each(function(){if(this.grid){var b=this,l,h=a.jgrid.jqID(b.p.id);b.p._inlinenav=
406
- !0;if(!0===e.addParams.useFormatter){var n=b.p.colModel,p;for(p=0;p<n.length;p++)if(n[p].formatter&&"actions"===n[p].formatter){n[p].formatoptions&&(n=a.extend({keys:!1,onEdit:null,onSuccess:null,afterSave:null,onError:null,afterRestore:null,extraparam:{},url:null},n[p].formatoptions),e.addParams.addRowParams={keys:n.keys,oneditfunc:n.onEdit,successfunc:n.onSuccess,url:n.url,extraparam:n.extraparam,aftersavefunc:n.afterSave,errorfunc:n.onError,afterrestorefunc:n.afterRestore});break}}e.add&&a(b).jqGrid("navButtonAdd",
407
- c,{caption:e.addtext,title:e.addtitle,buttonicon:e.addicon,id:b.p.id+"_iladd",onClickButton:function(){a(b).jqGrid("addRow",e.addParams);e.addParams.useFormatter||(a("#"+h+"_ilsave").removeClass("ui-state-disabled"),a("#"+h+"_ilcancel").removeClass("ui-state-disabled"),a("#"+h+"_iladd").addClass("ui-state-disabled"),a("#"+h+"_iledit").addClass("ui-state-disabled"))}});e.edit&&a(b).jqGrid("navButtonAdd",c,{caption:e.edittext,title:e.edittitle,buttonicon:e.editicon,id:b.p.id+"_iledit",onClickButton:function(){var c=
408
- a(b).jqGrid("getGridParam","selrow");c?(a(b).jqGrid("editRow",c,e.editParams),a("#"+h+"_ilsave").removeClass("ui-state-disabled"),a("#"+h+"_ilcancel").removeClass("ui-state-disabled"),a("#"+h+"_iladd").addClass("ui-state-disabled"),a("#"+h+"_iledit").addClass("ui-state-disabled")):(a.jgrid.viewModal("#alertmod",{gbox:"#gbox_"+h,jqm:!0}),a("#jqg_alrt").focus())}});e.save&&(a(b).jqGrid("navButtonAdd",c,{caption:e.savetext||"",title:e.savetitle||"Save row",buttonicon:e.saveicon,id:b.p.id+"_ilsave",onClickButton:function(){var c=
409
- b.p.savedRow[0].id;if(c){var f=b.p.prmNames,m=f.oper,d=e.editParams;a("#"+a.jgrid.jqID(c),"#"+h).hasClass("jqgrid-new-row")?(e.addParams.addRowParams.extraparam[m]=f.addoper,d=e.addParams.addRowParams):(e.editParams.extraparam||(e.editParams.extraparam={}),e.editParams.extraparam[m]=f.editoper);a(b).jqGrid("saveRow",c,d)&&a(b).jqGrid("showAddEditButtons")}else a.jgrid.viewModal("#alertmod",{gbox:"#gbox_"+h,jqm:!0}),a("#jqg_alrt").focus()}}),a("#"+h+"_ilsave").addClass("ui-state-disabled"));e.cancel&&
410
- (a(b).jqGrid("navButtonAdd",c,{caption:e.canceltext||"",title:e.canceltitle||"Cancel row editing",buttonicon:e.cancelicon,id:b.p.id+"_ilcancel",onClickButton:function(){var c=b.p.savedRow[0].id,f=e.editParams;c?(a("#"+a.jgrid.jqID(c),"#"+h).hasClass("jqgrid-new-row")&&(f=e.addParams.addRowParams),a(b).jqGrid("restoreRow",c,f),a(b).jqGrid("showAddEditButtons")):(a.jgrid.viewModal("#alertmod",{gbox:"#gbox_"+h,jqm:!0}),a("#jqg_alrt").focus())}}),a("#"+h+"_ilcancel").addClass("ui-state-disabled"));!0===
411
- e.restoreAfterSelect&&(l=a.isFunction(b.p.beforeSelectRow)?b.p.beforeSelectRow:!1,b.p.beforeSelectRow=function(c,f){var h=!0;0<b.p.savedRow.length&&!0===b.p._inlinenav&&c!==b.p.selrow&&null!==b.p.selrow&&(b.p.selrow===e.addParams.rowID?a(b).jqGrid("delRowData",b.p.selrow):a(b).jqGrid("restoreRow",b.p.selrow,e.editParams),a(b).jqGrid("showAddEditButtons"));l&&(h=l.call(b,c,f));return h})}})},showAddEditButtons:function(){return this.each(function(){if(this.grid){var c=a.jgrid.jqID(this.p.id);a("#"+
412
- c+"_ilsave").addClass("ui-state-disabled");a("#"+c+"_ilcancel").addClass("ui-state-disabled");a("#"+c+"_iladd").removeClass("ui-state-disabled");a("#"+c+"_iledit").removeClass("ui-state-disabled")}})}})})(jQuery);
413
- (function(b){b.jgrid.extend({editCell:function(d,f,a){return this.each(function(){var c=this,g,e,h,k;if(c.grid&&!0===c.p.cellEdit){f=parseInt(f,10);c.p.selrow=c.rows[d].id;c.p.knv||b(c).jqGrid("GridNav");if(0<c.p.savedRow.length){if(!0===a&&d==c.p.iRow&&f==c.p.iCol)return;b(c).jqGrid("saveCell",c.p.savedRow[0].id,c.p.savedRow[0].ic)}else window.setTimeout(function(){b("#"+b.jgrid.jqID(c.p.knv)).attr("tabindex","-1").focus()},0);k=c.p.colModel[f];g=k.name;if("subgrid"!==g&&"cb"!==g&&"rn"!==g){h=b("td:eq("+
414
- f+")",c.rows[d]);if(!0!==k.editable||!0!==a||h.hasClass("not-editable-cell"))0<=parseInt(c.p.iCol,10)&&0<=parseInt(c.p.iRow,10)&&(b("td:eq("+c.p.iCol+")",c.rows[c.p.iRow]).removeClass("edit-cell ui-state-highlight"),b(c.rows[c.p.iRow]).removeClass("selected-row ui-state-hover")),h.addClass("edit-cell ui-state-highlight"),b(c.rows[d]).addClass("selected-row ui-state-hover"),e=h.html().replace(/\&#160\;/ig,""),b(c).triggerHandler("jqGridSelectCell",[c.rows[d].id,g,e,d,f]),b.isFunction(c.p.onSelectCell)&&
415
- c.p.onSelectCell.call(c,c.rows[d].id,g,e,d,f);else{0<=parseInt(c.p.iCol,10)&&0<=parseInt(c.p.iRow,10)&&(b("td:eq("+c.p.iCol+")",c.rows[c.p.iRow]).removeClass("edit-cell ui-state-highlight"),b(c.rows[c.p.iRow]).removeClass("selected-row ui-state-hover"));b(h).addClass("edit-cell ui-state-highlight");b(c.rows[d]).addClass("selected-row ui-state-hover");try{e=b.unformat.call(c,h,{rowId:c.rows[d].id,colModel:k},f)}catch(m){e=k.edittype&&"textarea"===k.edittype?b(h).text():b(h).html()}c.p.autoencode&&
416
- (e=b.jgrid.htmlDecode(e));k.edittype||(k.edittype="text");c.p.savedRow.push({id:d,ic:f,name:g,v:e});if("&nbsp;"===e||"&#160;"===e||1===e.length&&160===e.charCodeAt(0))e="";if(b.isFunction(c.p.formatCell)){var l=c.p.formatCell.call(c,c.rows[d].id,g,e,d,f);void 0!==l&&(e=l)}b(c).triggerHandler("jqGridBeforeEditCell",[c.rows[d].id,g,e,d,f]);b.isFunction(c.p.beforeEditCell)&&c.p.beforeEditCell.call(c,c.rows[d].id,g,e,d,f);var l=b.extend({},k.editoptions||{},{id:d+"_"+g,name:g}),q=b.jgrid.createEl.call(c,
417
- k.edittype,l,e,!0,b.extend({},b.jgrid.ajaxOptions,c.p.ajaxSelectOptions||{}));b(h).html("").append(q).attr("tabindex","0");b.jgrid.bindEv.call(c,q,l);window.setTimeout(function(){b(q).focus()},0);b("input, select, textarea",h).bind("keydown",function(a){27===a.keyCode&&(0<b("input.hasDatepicker",h).length?b(".ui-datepicker").is(":hidden")?b(c).jqGrid("restoreCell",d,f):b("input.hasDatepicker",h).datepicker("hide"):b(c).jqGrid("restoreCell",d,f));if(13===a.keyCode)return b(c).jqGrid("saveCell",d,f),
418
- !1;if(9===a.keyCode){if(c.grid.hDiv.loading)return!1;a.shiftKey?b(c).jqGrid("prevCell",d,f):b(c).jqGrid("nextCell",d,f)}a.stopPropagation()});b(c).triggerHandler("jqGridAfterEditCell",[c.rows[d].id,g,e,d,f]);b.isFunction(c.p.afterEditCell)&&c.p.afterEditCell.call(c,c.rows[d].id,g,e,d,f)}c.p.iCol=f;c.p.iRow=d}}})},saveCell:function(d,f){return this.each(function(){var a=this,c;if(a.grid&&!0===a.p.cellEdit){c=1<=a.p.savedRow.length?0:null;if(null!==c){var g=b("td:eq("+f+")",a.rows[d]),e,h,k=a.p.colModel[f],
419
- m=k.name,l=b.jgrid.jqID(m);switch(k.edittype){case "select":if(k.editoptions.multiple){var l=b("#"+d+"_"+l,a.rows[d]),q=[];(e=b(l).val())?e.join(","):e="";b("option:selected",l).each(function(a,c){q[a]=b(c).text()});h=q.join(",")}else e=b("#"+d+"_"+l+" option:selected",a.rows[d]).val(),h=b("#"+d+"_"+l+" option:selected",a.rows[d]).text();k.formatter&&(h=e);break;case "checkbox":var n=["Yes","No"];k.editoptions&&(n=k.editoptions.value.split(":"));h=e=b("#"+d+"_"+l,a.rows[d]).is(":checked")?n[0]:n[1];
420
- break;case "password":case "text":case "textarea":case "button":h=e=b("#"+d+"_"+l,a.rows[d]).val();break;case "custom":try{if(k.editoptions&&b.isFunction(k.editoptions.custom_value)){e=k.editoptions.custom_value.call(a,b(".customelement",g),"get");if(void 0===e)throw"e2";h=e}else throw"e1";}catch(r){"e1"===r&&b.jgrid.info_dialog(b.jgrid.errors.errcap,"function 'custom_value' "+b.jgrid.edit.msg.nodefined,b.jgrid.edit.bClose),"e2"===r?b.jgrid.info_dialog(b.jgrid.errors.errcap,"function 'custom_value' "+
421
- b.jgrid.edit.msg.novalue,b.jgrid.edit.bClose):b.jgrid.info_dialog(b.jgrid.errors.errcap,r.message,b.jgrid.edit.bClose)}}if(h!==a.p.savedRow[c].v){if(c=b(a).triggerHandler("jqGridBeforeSaveCell",[a.rows[d].id,m,e,d,f]))h=e=c;b.isFunction(a.p.beforeSaveCell)&&(c=a.p.beforeSaveCell.call(a,a.rows[d].id,m,e,d,f))&&(h=e=c);var s=b.jgrid.checkValues.call(a,e,f);if(!0===s[0]){c=b(a).triggerHandler("jqGridBeforeSubmitCell",[a.rows[d].id,m,e,d,f])||{};b.isFunction(a.p.beforeSubmitCell)&&((c=a.p.beforeSubmitCell.call(a,
422
- a.rows[d].id,m,e,d,f))||(c={}));0<b("input.hasDatepicker",g).length&&b("input.hasDatepicker",g).datepicker("hide");if("remote"===a.p.cellsubmit)if(a.p.cellurl){var p={};a.p.autoencode&&(e=b.jgrid.htmlEncode(e));p[m]=e;n=a.p.prmNames;k=n.id;l=n.oper;p[k]=b.jgrid.stripPref(a.p.idPrefix,a.rows[d].id);p[l]=n.editoper;p=b.extend(c,p);b("#lui_"+b.jgrid.jqID(a.p.id)).show();a.grid.hDiv.loading=!0;b.ajax(b.extend({url:a.p.cellurl,data:b.isFunction(a.p.serializeCellData)?a.p.serializeCellData.call(a,p):p,
423
- type:"POST",complete:function(c,k){b("#lui_"+a.p.id).hide();a.grid.hDiv.loading=!1;if("success"===k){var l=b(a).triggerHandler("jqGridAfterSubmitCell",[a,c,p.id,m,e,d,f])||[!0,""];!0===l[0]&&b.isFunction(a.p.afterSubmitCell)&&(l=a.p.afterSubmitCell.call(a,c,p.id,m,e,d,f));!0===l[0]?(b(g).empty(),b(a).jqGrid("setCell",a.rows[d].id,f,h,!1,!1,!0),b(g).addClass("dirty-cell"),b(a.rows[d]).addClass("edited"),b(a).triggerHandler("jqGridAfterSaveCell",[a.rows[d].id,m,e,d,f]),b.isFunction(a.p.afterSaveCell)&&
424
- a.p.afterSaveCell.call(a,a.rows[d].id,m,e,d,f),a.p.savedRow.splice(0,1)):(b.jgrid.info_dialog(b.jgrid.errors.errcap,l[1],b.jgrid.edit.bClose),b(a).jqGrid("restoreCell",d,f))}},error:function(c,e,h){b("#lui_"+b.jgrid.jqID(a.p.id)).hide();a.grid.hDiv.loading=!1;b(a).triggerHandler("jqGridErrorCell",[c,e,h]);b.isFunction(a.p.errorCell)?a.p.errorCell.call(a,c,e,h):b.jgrid.info_dialog(b.jgrid.errors.errcap,c.status+" : "+c.statusText+"<br/>"+e,b.jgrid.edit.bClose);b(a).jqGrid("restoreCell",d,f)}},b.jgrid.ajaxOptions,
425
- a.p.ajaxCellOptions||{}))}else try{b.jgrid.info_dialog(b.jgrid.errors.errcap,b.jgrid.errors.nourl,b.jgrid.edit.bClose),b(a).jqGrid("restoreCell",d,f)}catch(t){}"clientArray"===a.p.cellsubmit&&(b(g).empty(),b(a).jqGrid("setCell",a.rows[d].id,f,h,!1,!1,!0),b(g).addClass("dirty-cell"),b(a.rows[d]).addClass("edited"),b(a).triggerHandler("jqGridAfterSaveCell",[a.rows[d].id,m,e,d,f]),b.isFunction(a.p.afterSaveCell)&&a.p.afterSaveCell.call(a,a.rows[d].id,m,e,d,f),a.p.savedRow.splice(0,1))}else try{window.setTimeout(function(){b.jgrid.info_dialog(b.jgrid.errors.errcap,
426
- e+" "+s[1],b.jgrid.edit.bClose)},100),b(a).jqGrid("restoreCell",d,f)}catch(u){}}else b(a).jqGrid("restoreCell",d,f)}window.setTimeout(function(){b("#"+b.jgrid.jqID(a.p.knv)).attr("tabindex","-1").focus()},0)}})},restoreCell:function(d,f){return this.each(function(){var a=this,c;if(a.grid&&!0===a.p.cellEdit){c=1<=a.p.savedRow.length?0:null;if(null!==c){var g=b("td:eq("+f+")",a.rows[d]);if(b.isFunction(b.fn.datepicker))try{b("input.hasDatepicker",g).datepicker("hide")}catch(e){}b(g).empty().attr("tabindex",
427
- "-1");b(a).jqGrid("setCell",a.rows[d].id,f,a.p.savedRow[c].v,!1,!1,!0);b(a).triggerHandler("jqGridAfterRestoreCell",[a.rows[d].id,a.p.savedRow[c].v,d,f]);b.isFunction(a.p.afterRestoreCell)&&a.p.afterRestoreCell.call(a,a.rows[d].id,a.p.savedRow[c].v,d,f);a.p.savedRow.splice(0,1)}window.setTimeout(function(){b("#"+a.p.knv).attr("tabindex","-1").focus()},0)}})},nextCell:function(d,f){return this.each(function(){var a=!1,c;if(this.grid&&!0===this.p.cellEdit){for(c=f+1;c<this.p.colModel.length;c++)if(!0===
428
- this.p.colModel[c].editable){a=c;break}!1!==a?b(this).jqGrid("editCell",d,a,!0):0<this.p.savedRow.length&&b(this).jqGrid("saveCell",d,f)}})},prevCell:function(d,f){return this.each(function(){var a=!1,c;if(this.grid&&!0===this.p.cellEdit){for(c=f-1;0<=c;c--)if(!0===this.p.colModel[c].editable){a=c;break}!1!==a?b(this).jqGrid("editCell",d,a,!0):0<this.p.savedRow.length&&b(this).jqGrid("saveCell",d,f)}})},GridNav:function(){return this.each(function(){function d(c,d,e){if("v"===e.substr(0,1)){var f=
429
- b(a.grid.bDiv)[0].clientHeight,g=b(a.grid.bDiv)[0].scrollTop,n=a.rows[c].offsetTop+a.rows[c].clientHeight,r=a.rows[c].offsetTop;"vd"===e&&n>=f&&(b(a.grid.bDiv)[0].scrollTop=b(a.grid.bDiv)[0].scrollTop+a.rows[c].clientHeight);"vu"===e&&r<g&&(b(a.grid.bDiv)[0].scrollTop=b(a.grid.bDiv)[0].scrollTop-a.rows[c].clientHeight)}"h"===e&&(e=b(a.grid.bDiv)[0].clientWidth,f=b(a.grid.bDiv)[0].scrollLeft,g=a.rows[c].cells[d].offsetLeft,a.rows[c].cells[d].offsetLeft+a.rows[c].cells[d].clientWidth>=e+parseInt(f,
430
- 10)?b(a.grid.bDiv)[0].scrollLeft=b(a.grid.bDiv)[0].scrollLeft+a.rows[c].cells[d].clientWidth:g<f&&(b(a.grid.bDiv)[0].scrollLeft=b(a.grid.bDiv)[0].scrollLeft-a.rows[c].cells[d].clientWidth))}function f(b,c){var d,e;if("lft"===c)for(d=b+1,e=b;0<=e;e--)if(!0!==a.p.colModel[e].hidden){d=e;break}if("rgt"===c)for(d=b-1,e=b;e<a.p.colModel.length;e++)if(!0!==a.p.colModel[e].hidden){d=e;break}return d}var a=this;if(a.grid&&!0===a.p.cellEdit){a.p.knv=a.p.id+"_kn";var c=b("<div style='position:fixed;top:0px;width:1px;height:1px;' tabindex='0'><div tabindex='-1' style='width:1px;height:1px;' id='"+
431
- a.p.knv+"'></div></div>"),g,e;b(c).insertBefore(a.grid.cDiv);b("#"+a.p.knv).focus().keydown(function(c){e=c.keyCode;"rtl"===a.p.direction&&(37===e?e=39:39===e&&(e=37));switch(e){case 38:0<a.p.iRow-1&&(d(a.p.iRow-1,a.p.iCol,"vu"),b(a).jqGrid("editCell",a.p.iRow-1,a.p.iCol,!1));break;case 40:a.p.iRow+1<=a.rows.length-1&&(d(a.p.iRow+1,a.p.iCol,"vd"),b(a).jqGrid("editCell",a.p.iRow+1,a.p.iCol,!1));break;case 37:0<=a.p.iCol-1&&(g=f(a.p.iCol-1,"lft"),d(a.p.iRow,g,"h"),b(a).jqGrid("editCell",a.p.iRow,g,
432
- !1));break;case 39:a.p.iCol+1<=a.p.colModel.length-1&&(g=f(a.p.iCol+1,"rgt"),d(a.p.iRow,g,"h"),b(a).jqGrid("editCell",a.p.iRow,g,!1));break;case 13:0<=parseInt(a.p.iCol,10)&&0<=parseInt(a.p.iRow,10)&&b(a).jqGrid("editCell",a.p.iRow,a.p.iCol,!0);break;default:return!0}return!1})}})},getChangedCells:function(d){var f=[];d||(d="all");this.each(function(){var a=this,c;a.grid&&!0===a.p.cellEdit&&b(a.rows).each(function(g){var e={};b(this).hasClass("edited")&&(b("td",this).each(function(f){c=a.p.colModel[f].name;
433
- if("cb"!==c&&"subgrid"!==c)if("dirty"===d){if(b(this).hasClass("dirty-cell"))try{e[c]=b.unformat.call(a,this,{rowId:a.rows[g].id,colModel:a.p.colModel[f]},f)}catch(k){e[c]=b.jgrid.htmlDecode(b(this).html())}}else try{e[c]=b.unformat.call(a,this,{rowId:a.rows[g].id,colModel:a.p.colModel[f]},f)}catch(m){e[c]=b.jgrid.htmlDecode(b(this).html())}}),e.id=this.id,f.push(e))})});return f}})})(jQuery);
434
- (function(c){c.fn.jqm=function(a){var k={overlay:50,closeoverlay:!0,overlayClass:"jqmOverlay",closeClass:"jqmClose",trigger:".jqModal",ajax:d,ajaxText:"",target:d,modal:d,toTop:d,onShow:d,onHide:d,onLoad:d};return this.each(function(){if(this._jqm)return l[this._jqm].c=c.extend({},l[this._jqm].c,a);n++;this._jqm=n;l[n]={c:c.extend(k,c.jqm.params,a),a:d,w:c(this).addClass("jqmID"+n),s:n};k.trigger&&c(this).jqmAddTrigger(k.trigger)})};c.fn.jqmAddClose=function(a){return r(this,a,"jqmHide")};c.fn.jqmAddTrigger=
435
- function(a){return r(this,a,"jqmShow")};c.fn.jqmShow=function(a){return this.each(function(){c.jqm.open(this._jqm,a)})};c.fn.jqmHide=function(a){return this.each(function(){c.jqm.close(this._jqm,a)})};c.jqm={hash:{},open:function(a,k){var b=l[a],e=b.c,h="."+e.closeClass,f=parseInt(b.w.css("z-index")),f=0<f?f:3E3,g=c("<div></div>").css({height:"100%",width:"100%",position:"fixed",left:0,top:0,"z-index":f-1,opacity:e.overlay/100});if(b.a)return d;b.t=k;b.a=!0;b.w.css("z-index",f);e.modal?(m[0]||setTimeout(function(){s("bind")},
436
- 1),m.push(a)):0<e.overlay?e.closeoverlay&&b.w.jqmAddClose(g):g=d;b.o=g?g.addClass(e.overlayClass).prependTo("body"):d;e.ajax?(f=e.target||b.w,g=e.ajax,f="string"==typeof f?c(f,b.w):c(f),g="@"==g.substr(0,1)?c(k).attr(g.substring(1)):g,f.html(e.ajaxText).load(g,function(){e.onLoad&&e.onLoad.call(this,b);h&&b.w.jqmAddClose(c(h,b.w));p(b)})):h&&b.w.jqmAddClose(c(h,b.w));e.toTop&&b.o&&b.w.before('<span id="jqmP'+b.w[0]._jqm+'"></span>').insertAfter(b.o);e.onShow?e.onShow(b):b.w.show();p(b);return d},
437
- close:function(a){a=l[a];if(!a.a)return d;a.a=d;m[0]&&(m.pop(),m[0]||s("unbind"));a.c.toTop&&a.o&&c("#jqmP"+a.w[0]._jqm).after(a.w).remove();if(a.c.onHide)a.c.onHide(a);else a.w.hide(),a.o&&a.o.remove();return d},params:{}};var n=0,l=c.jqm.hash,m=[],d=!1,p=function(a){try{c(":input:visible",a.w)[0].focus()}catch(d){}},s=function(a){c(document)[a]("keypress",q)[a]("keydown",q)[a]("mousedown",q)},q=function(a){var d=l[m[m.length-1]],b=!c(a.target).parents(".jqmID"+d.s)[0];b&&(c(".jqmID"+d.s).each(function(){var d=
438
- c(this),h=d.offset();if(h.top<=a.pageY&&a.pageY<=h.top+d.height()&&h.left<=a.pageX&&a.pageX<=h.left+d.width())return b=!1}),p(d));return!b},r=function(a,k,b){return a.each(function(){var a=this._jqm;c(k).each(function(){this[b]||(this[b]=[],c(this).click(function(){for(var a in{jqmShow:1,jqmHide:1})for(var b in this[a])if(l[this[a][b]])l[this[a][b]].w[a](this);return d}));this[b].push(a)})})}})(jQuery);
439
- (function(b){b.fn.jqDrag=function(a){return h(this,a,"d")};b.fn.jqResize=function(a,b){return h(this,a,"r",b)};b.jqDnR={dnr:{},e:0,drag:function(a){"d"==d.k?e.css({left:d.X+a.pageX-d.pX,top:d.Y+a.pageY-d.pY}):(e.css({width:Math.max(a.pageX-d.pX+d.W,0),height:Math.max(a.pageY-d.pY+d.H,0)}),f&&g.css({width:Math.max(a.pageX-f.pX+f.W,0),height:Math.max(a.pageY-f.pY+f.H,0)}));return!1},stop:function(){b(document).unbind("mousemove",c.drag).unbind("mouseup",c.stop)}};var c=b.jqDnR,d=c.dnr,e=c.e,g,f,h=function(a,
440
- c,h,n){return a.each(function(){c=c?b(c,a):a;c.bind("mousedown",{e:a,k:h},function(a){var c=a.data,k={};e=c.e;g=n?b(n):!1;if("relative"!=e.css("position"))try{e.position(k)}catch(h){}d={X:k.left||l("left")||0,Y:k.top||l("top")||0,W:l("width")||e[0].scrollWidth||0,H:l("height")||e[0].scrollHeight||0,pX:a.pageX,pY:a.pageY,k:c.k};f=g&&"d"!=c.k?{X:k.left||m("left")||0,Y:k.top||m("top")||0,W:g[0].offsetWidth||m("width")||0,H:g[0].offsetHeight||m("height")||0,pX:a.pageX,pY:a.pageY,k:c.k}:!1;if(b("input.hasDatepicker",
441
- e[0])[0])try{b("input.hasDatepicker",e[0]).datepicker("hide")}catch(p){}b(document).mousemove(b.jqDnR.drag).mouseup(b.jqDnR.stop);return!1})})},l=function(a){return parseInt(e.css(a),10)||!1},m=function(a){return parseInt(g.css(a),10)||!1}})(jQuery);
442
- (function(b){b.jgrid.extend({setSubGrid:function(){return this.each(function(){var d,c;this.p.subGridOptions=b.extend({plusicon:"ui-icon-plus",minusicon:"ui-icon-minus",openicon:"ui-icon-carat-1-sw",expandOnLoad:!1,delayOnLoad:50,selectOnExpand:!1,selectOnCollapse:!1,reloadOnExpand:!0},this.p.subGridOptions||{});this.p.colNames.unshift("");this.p.colModel.unshift({name:"subgrid",width:b.jgrid.cell_width?this.p.subGridWidth+this.p.cellLayout:this.p.subGridWidth,sortable:!1,resizable:!1,hidedlg:!0,
443
- search:!1,fixed:!0});d=this.p.subGridModel;if(d[0])for(d[0].align=b.extend([],d[0].align||[]),c=0;c<d[0].name.length;c++)d[0].align[c]=d[0].align[c]||"left"})},addSubGridCell:function(b,c){var a="",p,n;this.each(function(){a=this.formatCol(b,c);n=this.p.id;p=this.p.subGridOptions.plusicon});return'<td role="gridcell" aria-describedby="'+n+'_subgrid" class="ui-sgcollapsed sgcollapsed" '+a+"><a style='cursor:pointer;'><span class='ui-icon "+p+"'></span></a></td>"},addSubGrid:function(d,c){return this.each(function(){var a=
444
- this;if(a.grid){var p=function(c,d,h){d=b("<td align='"+a.p.subGridModel[0].align[h]+"'></td>").html(d);b(c).append(d)},n=function(c,d){var h,f,e,g=b("<table cellspacing='0' cellpadding='0' border='0'><tbody></tbody></table>"),k=b("<tr></tr>");for(f=0;f<a.p.subGridModel[0].name.length;f++)h=b("<th class='ui-state-default ui-th-subgrid ui-th-column ui-th-"+a.p.direction+"'></th>"),b(h).html(a.p.subGridModel[0].name[f]),b(h).width(a.p.subGridModel[0].width[f]),b(k).append(h);b(g).append(k);c&&(e=a.p.xmlReader.subgrid,
445
- b(e.root+" "+e.row,c).each(function(){k=b("<tr class='ui-widget-content ui-subtblcell'></tr>");if(!0===e.repeatitems)b(e.cell,this).each(function(a){p(k,b(this).text()||"&#160;",a)});else{var c=a.p.subGridModel[0].mapping||a.p.subGridModel[0].name;if(c)for(f=0;f<c.length;f++)p(k,b(c[f],this).text()||"&#160;",f)}b(g).append(k)}));h=b("table:first",a.grid.bDiv).attr("id")+"_";b("#"+b.jgrid.jqID(h+d)).append(g);a.grid.hDiv.loading=!1;b("#load_"+b.jgrid.jqID(a.p.id)).hide();return!1},r=function(c,d){var h,
446
- f,e,g,k,m=b("<table cellspacing='0' cellpadding='0' border='0'><tbody></tbody></table>"),l=b("<tr></tr>");for(f=0;f<a.p.subGridModel[0].name.length;f++)h=b("<th class='ui-state-default ui-th-subgrid ui-th-column ui-th-"+a.p.direction+"'></th>"),b(h).html(a.p.subGridModel[0].name[f]),b(h).width(a.p.subGridModel[0].width[f]),b(l).append(h);b(m).append(l);if(c&&(g=a.p.jsonReader.subgrid,h=b.jgrid.getAccessor(c,g.root),void 0!==h))for(f=0;f<h.length;f++){e=h[f];l=b("<tr class='ui-widget-content ui-subtblcell'></tr>");
447
- if(!0===g.repeatitems)for(g.cell&&(e=e[g.cell]),k=0;k<e.length;k++)p(l,e[k]||"&#160;",k);else{var n=a.p.subGridModel[0].mapping||a.p.subGridModel[0].name;if(n.length)for(k=0;k<n.length;k++)p(l,e[n[k]]||"&#160;",k)}b(m).append(l)}f=b("table:first",a.grid.bDiv).attr("id")+"_";b("#"+b.jgrid.jqID(f+d)).append(m);a.grid.hDiv.loading=!1;b("#load_"+b.jgrid.jqID(a.p.id)).hide();return!1},v=function(c){var e,d,f,g;e=b(c).attr("id");d={nd_:(new Date).getTime()};d[a.p.prmNames.subgridid]=e;if(!a.p.subGridModel[0])return!1;
448
- if(a.p.subGridModel[0].params)for(g=0;g<a.p.subGridModel[0].params.length;g++)for(f=0;f<a.p.colModel.length;f++)a.p.colModel[f].name===a.p.subGridModel[0].params[g]&&(d[a.p.colModel[f].name]=b("td:eq("+f+")",c).text().replace(/\&#160\;/ig,""));if(!a.grid.hDiv.loading)switch(a.grid.hDiv.loading=!0,b("#load_"+b.jgrid.jqID(a.p.id)).show(),a.p.subgridtype||(a.p.subgridtype=a.p.datatype),b.isFunction(a.p.subgridtype)?a.p.subgridtype.call(a,d):a.p.subgridtype=a.p.subgridtype.toLowerCase(),a.p.subgridtype){case "xml":case "json":b.ajax(b.extend({type:a.p.mtype,
449
- url:a.p.subGridUrl,dataType:a.p.subgridtype,data:b.isFunction(a.p.serializeSubGridData)?a.p.serializeSubGridData.call(a,d):d,complete:function(c){"xml"===a.p.subgridtype?n(c.responseXML,e):r(b.jgrid.parse(c.responseText),e)}},b.jgrid.ajaxOptions,a.p.ajaxSubgridOptions||{}))}return!1},e,m,s,t=0,g,l;b.each(a.p.colModel,function(){!0!==this.hidden&&"rn"!==this.name&&"cb"!==this.name||t++});var u=a.rows.length,q=1;void 0!==c&&0<c&&(q=c,u=c+1);for(;q<u;)b(a.rows[q]).hasClass("jqgrow")&&b(a.rows[q].cells[d]).bind("click",
450
- function(){var c=b(this).parent("tr")[0];l=c.nextSibling;if(b(this).hasClass("sgcollapsed")){m=a.p.id;e=c.id;if(!0===a.p.subGridOptions.reloadOnExpand||!1===a.p.subGridOptions.reloadOnExpand&&!b(l).hasClass("ui-subgrid")){s=1<=d?"<td colspan='"+d+"'>&#160;</td>":"";g=b(a).triggerHandler("jqGridSubGridBeforeExpand",[m+"_"+e,e]);(g=!1===g||"stop"===g?!1:!0)&&b.isFunction(a.p.subGridBeforeExpand)&&(g=a.p.subGridBeforeExpand.call(a,m+"_"+e,e));if(!1===g)return!1;b(c).after("<tr role='row' class='ui-subgrid'>"+
451
- s+"<td class='ui-widget-content subgrid-cell'><span class='ui-icon "+a.p.subGridOptions.openicon+"'></span></td><td colspan='"+parseInt(a.p.colNames.length-1-t,10)+"' class='ui-widget-content subgrid-data'><div id="+m+"_"+e+" class='tablediv'></div></td></tr>");b(a).triggerHandler("jqGridSubGridRowExpanded",[m+"_"+e,e]);b.isFunction(a.p.subGridRowExpanded)?a.p.subGridRowExpanded.call(a,m+"_"+e,e):v(c)}else b(l).show();b(this).html("<a style='cursor:pointer;'><span class='ui-icon "+a.p.subGridOptions.minusicon+
452
- "'></span></a>").removeClass("sgcollapsed").addClass("sgexpanded");a.p.subGridOptions.selectOnExpand&&b(a).jqGrid("setSelection",e)}else if(b(this).hasClass("sgexpanded")){g=b(a).triggerHandler("jqGridSubGridRowColapsed",[m+"_"+e,e]);g=!1===g||"stop"===g?!1:!0;e=c.id;g&&b.isFunction(a.p.subGridRowColapsed)&&(g=a.p.subGridRowColapsed.call(a,m+"_"+e,e));if(!1===g)return!1;!0===a.p.subGridOptions.reloadOnExpand?b(l).remove(".ui-subgrid"):b(l).hasClass("ui-subgrid")&&b(l).hide();b(this).html("<a style='cursor:pointer;'><span class='ui-icon "+
453
- a.p.subGridOptions.plusicon+"'></span></a>").removeClass("sgexpanded").addClass("sgcollapsed");a.p.subGridOptions.selectOnCollapse&&b(a).jqGrid("setSelection",e)}return!1}),q++;!0===a.p.subGridOptions.expandOnLoad&&b(a.rows).filter(".jqgrow").each(function(a,c){b(c.cells[0]).click()});a.subGridXml=function(a,b){n(a,b)};a.subGridJson=function(a,b){r(a,b)}}})},expandSubGridRow:function(d){return this.each(function(){if((this.grid||d)&&!0===this.p.subGrid){var c=b(this).jqGrid("getInd",d,!0);c&&(c=b("td.sgcollapsed",
454
- c)[0])&&b(c).trigger("click")}})},collapseSubGridRow:function(d){return this.each(function(){if((this.grid||d)&&!0===this.p.subGrid){var c=b(this).jqGrid("getInd",d,!0);c&&(c=b("td.sgexpanded",c)[0])&&b(c).trigger("click")}})},toggleSubGridRow:function(d){return this.each(function(){if((this.grid||d)&&!0===this.p.subGrid){var c=b(this).jqGrid("getInd",d,!0);if(c){var a=b("td.sgcollapsed",c)[0];a?b(a).trigger("click"):(a=b("td.sgexpanded",c)[0])&&b(a).trigger("click")}}})}})})(jQuery);
455
- (function(d){d.extend(d.jgrid,{template:function(b){var k=d.makeArray(arguments).slice(1),a,c=k.length;null==b&&(b="");return b.replace(/\{([\w\-]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?\}/g,function(b,m){if(!isNaN(parseInt(m,10)))return k[parseInt(m,10)];for(a=0;a<c;a++)if(d.isArray(k[a]))for(var e=k[a],f=e.length;f--;)if(m===e[f].nm)return e[f].v})}});d.jgrid.extend({groupingSetup:function(){return this.each(function(){var b,k,a=this.p.colModel,c=this.p.groupingView;if(null===c||"object"!==typeof c&&!d.isFunction(c))this.p.grouping=
456
- !1;else if(c.groupField.length){void 0===c.visibiltyOnNextGrouping&&(c.visibiltyOnNextGrouping=[]);c.lastvalues=[];c._locgr||(c.groups=[]);c.counters=[];for(b=0;b<c.groupField.length;b++)c.groupOrder[b]||(c.groupOrder[b]="asc"),c.groupText[b]||(c.groupText[b]="{0}"),"boolean"!==typeof c.groupColumnShow[b]&&(c.groupColumnShow[b]=!0),"boolean"!==typeof c.groupSummary[b]&&(c.groupSummary[b]=!1),c.groupSummaryPos[b]||(c.groupSummaryPos[b]="footer"),!0===c.groupColumnShow[b]?(c.visibiltyOnNextGrouping[b]=
457
- !0,d(this).jqGrid("showCol",c.groupField[b])):(c.visibiltyOnNextGrouping[b]=d("#"+d.jgrid.jqID(this.p.id+"_"+c.groupField[b])).is(":visible"),d(this).jqGrid("hideCol",c.groupField[b]));c.summary=[];c.hideFirstGroupCol&&(c.formatDisplayField[0]=function(a){return a});b=0;for(k=a.length;b<k;b++)c.hideFirstGroupCol&&!a[b].hidden&&c.groupField[0]===a[b].name&&(a[b].formatter=function(){return""}),a[b].summaryType&&(a[b].summaryDivider?c.summary.push({nm:a[b].name,st:a[b].summaryType,v:"",sd:a[b].summaryDivider,
458
- vd:"",sr:a[b].summaryRound,srt:a[b].summaryRoundType||"round"}):c.summary.push({nm:a[b].name,st:a[b].summaryType,v:"",sr:a[b].summaryRound,srt:a[b].summaryRoundType||"round"}))}else this.p.grouping=!1})},groupingPrepare:function(b,k){this.each(function(){var a=this.p.groupingView,c=this,g,m=a.groupField.length,e,f,h,p=0;for(g=0;g<m;g++)e=a.groupField[g],h=a.displayField[g],f=b[e],h=null==h?null:b[h],null==h&&(h=f),void 0!==f&&(0===k?(a.groups.push({idx:g,dataIndex:e,value:f,displayValue:h,startRow:k,
459
- cnt:1,summary:[]}),a.lastvalues[g]=f,a.counters[g]={cnt:1,pos:a.groups.length-1,summary:d.extend(!0,[],a.summary)}):"object"===typeof f||(d.isArray(a.isInTheSameGroup)&&d.isFunction(a.isInTheSameGroup[g])?a.isInTheSameGroup[g].call(c,a.lastvalues[g],f,g,a):a.lastvalues[g]===f)?1===p?(a.groups.push({idx:g,dataIndex:e,value:f,displayValue:h,startRow:k,cnt:1,summary:[]}),a.lastvalues[g]=f,a.counters[g]={cnt:1,pos:a.groups.length-1,summary:d.extend(!0,[],a.summary)}):(a.counters[g].cnt+=1,a.groups[a.counters[g].pos].cnt=
460
- a.counters[g].cnt):(a.groups.push({idx:g,dataIndex:e,value:f,displayValue:h,startRow:k,cnt:1,summary:[]}),a.lastvalues[g]=f,p=1,a.counters[g]={cnt:1,pos:a.groups.length-1,summary:d.extend(!0,[],a.summary)}),d.each(a.counters[g].summary,function(){d.isFunction(this.st)?this.v=this.st.call(c,this.v,this.nm,b):(this.v=d(c).jqGrid("groupingCalculations.handler",this.st,this.v,this.nm,this.sr,this.srt,b),"avg"===this.st.toLowerCase()&&this.sd&&(this.vd=d(c).jqGrid("groupingCalculations.handler",this.st,
461
- this.vd,this.sd,this.sr,this.srt,b)))}),a.groups[a.counters[g].pos].summary=a.counters[g].summary)});return this},groupingToggle:function(b){this.each(function(){var k=this.p.groupingView,a=b.split("_"),c=parseInt(a[a.length-2],10);a.splice(a.length-2,2);var g=a.join("_"),a=k.minusicon,m=k.plusicon,e=d("#"+d.jgrid.jqID(b)),e=e.length?e[0].nextSibling:null,f=d("#"+d.jgrid.jqID(b)+" span.tree-wrap-"+this.p.direction),h=function(a){a=d.map(a.split(" "),function(a){if(a.substring(0,g.length+1)===g+"_")return parseInt(a.substring(g.length+
462
- 1),10)});return 0<a.length?a[0]:void 0},p,r=!1,q=this.p.frozenColumns?this.p.id+"_frozen":!1,n=q?d("#"+d.jgrid.jqID(b),"#"+d.jgrid.jqID(q)):!1,n=n&&n.length?n[0].nextSibling:null;if(f.hasClass(a)){if(k.showSummaryOnHide){if(e)for(;e&&!(d(e).hasClass("jqfoot")&&parseInt(d(e).attr("jqfootlevel"),10)<=c);)d(e).hide(),e=e.nextSibling,q&&(d(n).hide(),n=n.nextSibling)}else if(e)for(;e;){k=h(e.className);if(void 0!==k&&k<=c)break;d(e).hide();e=e.nextSibling;q&&(d(n).hide(),n=n.nextSibling)}f.removeClass(a).addClass(m);
463
- r=!0}else{if(e)for(p=void 0;e;){k=h(e.className);void 0===p&&(p=void 0===k);if(void 0!==k){if(k<=c)break;k===c+1&&(d(e).show().find(">td>span.tree-wrap-"+this.p.direction).removeClass(a).addClass(m),q&&d(n).show().find(">td>span.tree-wrap-"+this.p.direction).removeClass(a).addClass(m))}else p&&(d(e).show(),q&&d(n).show());e=e.nextSibling;q&&(n=n.nextSibling)}f.removeClass(m).addClass(a)}d(this).triggerHandler("jqGridGroupingClickGroup",[b,r]);d.isFunction(this.p.onClickGroup)&&this.p.onClickGroup.call(this,
464
- b,r)});return!1},groupingRender:function(b,k,a,c){return this.each(function(){function g(a,b,c){var d=!1;if(0===b)d=c[a];else{var e=c[a].idx;if(0===e)d=c[a];else for(;0<=a;a--)if(c[a].idx===e-b){d=c[a];break}}return d}function m(a,b,c,f){var h=g(a,b,c),m=e.p.colModel,n,q=h.cnt;a="";var p;for(p=f;p<k;p++){var r="<td "+e.formatCol(p,1,"")+">&#160;</td>",t="{0}";d.each(h.summary,function(){if(this.nm===m[p].name){m[p].summaryTpl&&(t=m[p].summaryTpl);"string"===typeof this.st&&"avg"===this.st.toLowerCase()&&
465
- (this.sd&&this.vd?this.v/=this.vd:this.v&&0<q&&(this.v/=q));try{this.groupCount=h.cnt,this.groupIndex=h.dataIndex,this.groupValue=h.value,n=e.formatter("",this.v,p,this)}catch(a){n=this.v}r="<td "+e.formatCol(p,1,"")+">"+d.jgrid.format(t,n)+"</td>";return!1}});a+=r}return a}var e=this,f=e.p.groupingView,h="",p="",r,q,n=f.groupCollapse?f.plusicon:f.minusicon,t,y=[],z=f.groupField.length,n=n+(" tree-wrap-"+e.p.direction);d.each(e.p.colModel,function(a,b){var c;for(c=0;c<z;c++)if(f.groupField[c]===b.name){y[c]=
466
- a;break}});var x=0,A=d.makeArray(f.groupSummary);A.reverse();d.each(f.groups,function(g,l){if(f._locgr&&!(l.startRow+l.cnt>(a-1)*c&&l.startRow<a*c))return!0;x++;q=e.p.id+"ghead_"+l.idx;r=q+"_"+g;p="<span style='cursor:pointer;' class='ui-icon "+n+"' onclick=\"jQuery('#"+d.jgrid.jqID(e.p.id)+"').jqGrid('groupingToggle','"+r+"');return false;\"></span>";try{d.isArray(f.formatDisplayField)&&d.isFunction(f.formatDisplayField[l.idx])?(l.displayValue=f.formatDisplayField[l.idx].call(e,l.displayValue,l.value,
467
- e.p.colModel[y[l.idx]],l.idx,f),t=l.displayValue):t=e.formatter(r,l.displayValue,y[l.idx],l.value)}catch(C){t=l.displayValue}"header"===f.groupSummaryPos[l.idx]?(h+='<tr id="'+r+'"'+(f.groupCollapse&&0<l.idx?' style="display:none;" ':" ")+'role="row" class= "ui-widget-content jqgroup ui-row-'+e.p.direction+" "+q+'"><td style="padding-left:'+12*l.idx+'px;">'+p+d.jgrid.template(f.groupText[l.idx],t,l.cnt,l.summary)+"</td>",h+=m(g,l.idx-1,f.groups,1),h+="</tr>"):h+='<tr id="'+r+'"'+(f.groupCollapse&&
468
- 0<l.idx?' style="display:none;" ':" ")+'role="row" class= "ui-widget-content jqgroup ui-row-'+e.p.direction+" "+q+'"><td style="padding-left:'+12*l.idx+'px;" colspan="'+k+'">'+p+d.jgrid.template(f.groupText[l.idx],t,l.cnt,l.summary)+"</td></tr>";if(z-1===l.idx){var s=f.groups[g+1],v,u=0;v=l.startRow;var B=void 0!==s?f.groups[g+1].startRow:b.length;f._locgr&&(u=(a-1)*c,u>l.startRow&&(v=u));for(;v<B&&b[v-u];v++)h+=b[v-u].join("");if("header"!==f.groupSummaryPos[l.idx]){var w;if(void 0!==s){for(w=0;w<
469
- f.groupField.length&&s.dataIndex!==f.groupField[w];w++);x=f.groupField.length-w}for(s=0;s<x;s++)A[s]&&(u="",f.groupCollapse&&!f.showSummaryOnHide&&(u=' style="display:none;"'),h+="<tr"+u+' jqfootlevel="'+(l.idx-s)+'" role="row" class="ui-widget-content jqfoot ui-row-'+e.p.direction+'">',h+=m(g,s,f.groups,0),h+="</tr>");x=w}}});d("#"+d.jgrid.jqID(e.p.id)+" tbody:first").append(h);h=null})},groupingGroupBy:function(b,k){return this.each(function(){"string"===typeof b&&(b=[b]);var a=this.p.groupingView;
470
- this.p.grouping=!0;void 0===a.visibiltyOnNextGrouping&&(a.visibiltyOnNextGrouping=[]);var c;for(c=0;c<a.groupField.length;c++)!a.groupColumnShow[c]&&a.visibiltyOnNextGrouping[c]&&d(this).jqGrid("showCol",a.groupField[c]);for(c=0;c<b.length;c++)a.visibiltyOnNextGrouping[c]=d("#"+d.jgrid.jqID(this.p.id)+"_"+d.jgrid.jqID(b[c])).is(":visible");this.p.groupingView=d.extend(this.p.groupingView,k||{});a.groupField=b;d(this).trigger("reloadGrid")})},groupingRemove:function(b){return this.each(function(){void 0===
471
- b&&(b=!0);this.p.grouping=!1;if(!0===b){var k=this.p.groupingView,a;for(a=0;a<k.groupField.length;a++)!k.groupColumnShow[a]&&k.visibiltyOnNextGrouping[a]&&d(this).jqGrid("showCol",k.groupField);d("tr.jqgroup, tr.jqfoot","#"+d.jgrid.jqID(this.p.id)+" tbody:first").remove();d("tr.jqgrow:hidden","#"+d.jgrid.jqID(this.p.id)+" tbody:first").show()}else d(this).trigger("reloadGrid")})},groupingCalculations:{handler:function(b,d,a,c,g,m){var e={sum:function(){return parseFloat(d||0)+parseFloat(m[a]||0)},
472
- min:function(){return""===d?parseFloat(m[a]||0):Math.min(parseFloat(d),parseFloat(m[a]||0))},max:function(){return""===d?parseFloat(m[a]||0):Math.max(parseFloat(d),parseFloat(m[a]||0))},count:function(){""===d&&(d=0);return m.hasOwnProperty(a)?d+1:0},avg:function(){return e.sum()}};if(!e[b])throw"jqGrid Grouping No such method: "+b;b=e[b]();null!=c&&("fixed"===g?b=b.toFixed(c):(c=Math.pow(10,c),b=Math.round(b*c)/c));return b}}})})(jQuery);
473
- (function(d){d.jgrid.extend({setTreeNode:function(b,c){return this.each(function(){var a=this;if(a.grid&&a.p.treeGrid)for(var h=a.p.expColInd,e=a.p.treeReader.expanded_field,k=a.p.treeReader.leaf_field,g=a.p.treeReader.level_field,f=a.p.treeReader.icon_field,n=a.p.treeReader.loaded,m,p,q,l;b<c;)l=d.jgrid.stripPref(a.p.idPrefix,a.rows[b].id),l=a.p.data[a.p._index[l]],"nested"!==a.p.treeGridModel||l[k]||(m=parseInt(l[a.p.treeReader.left_field],10),p=parseInt(l[a.p.treeReader.right_field],10),l[k]=p===
474
- m+1?"true":"false",a.rows[b].cells[a.p._treeleafpos].innerHTML=l[k]),m=parseInt(l[g],10),0===a.p.tree_root_level?(q=m+1,p=m):(q=m,p=m-1),q="<div class='tree-wrap tree-wrap-"+a.p.direction+"' style='width:"+18*q+"px;'>",q+="<div style='"+("rtl"===a.p.direction?"right:":"left:")+18*p+"px;' class='ui-icon ",void 0!==l[n]&&(l[n]="true"===l[n]||!0===l[n]?!0:!1),"true"===l[k]||!0===l[k]?(q+=(void 0!==l[f]&&""!==l[f]?l[f]:a.p.treeIcons.leaf)+" tree-leaf treeclick",l[k]=!0,p="leaf"):(l[k]=!1,p=""),l[e]=("true"===
475
- l[e]||!0===l[e]?!0:!1)&&(l[n]||void 0===l[n]),q=!1===l[e]?q+(!0===l[k]?"'":a.p.treeIcons.plus+" tree-plus treeclick'"):q+(!0===l[k]?"'":a.p.treeIcons.minus+" tree-minus treeclick'"),q+="></div></div>",d(a.rows[b].cells[h]).wrapInner("<span class='cell-wrapper"+p+"'></span>").prepend(q),m!==parseInt(a.p.tree_root_level,10)&&((l=(l=d(a).jqGrid("getNodeParent",l))&&l.hasOwnProperty(e)?l[e]:!0)||d(a.rows[b]).css("display","none")),d(a.rows[b].cells[h]).find("div.treeclick").bind("click",function(b){b=
476
- d.jgrid.stripPref(a.p.idPrefix,d(b.target||b.srcElement,a.rows).closest("tr.jqgrow")[0].id);b=a.p._index[b];a.p.data[b][k]||(a.p.data[b][e]?(d(a).jqGrid("collapseRow",a.p.data[b]),d(a).jqGrid("collapseNode",a.p.data[b])):(d(a).jqGrid("expandRow",a.p.data[b]),d(a).jqGrid("expandNode",a.p.data[b])));return!1}),!0===a.p.ExpandColClick&&d(a.rows[b].cells[h]).find("span.cell-wrapper").css("cursor","pointer").bind("click",function(b){b=d.jgrid.stripPref(a.p.idPrefix,d(b.target||b.srcElement,a.rows).closest("tr.jqgrow")[0].id);
477
- var c=a.p._index[b];a.p.data[c][k]||(a.p.data[c][e]?(d(a).jqGrid("collapseRow",a.p.data[c]),d(a).jqGrid("collapseNode",a.p.data[c])):(d(a).jqGrid("expandRow",a.p.data[c]),d(a).jqGrid("expandNode",a.p.data[c])));d(a).jqGrid("setSelection",b);return!1}),b++})},setTreeGrid:function(){return this.each(function(){var b=this,c=0,a,h=!1,e,k,g=[];if(b.p.treeGrid){b.p.treedatatype||d.extend(b.p,{treedatatype:b.p.datatype});b.p.subGrid=!1;b.p.altRows=!1;b.p.pgbuttons=!1;b.p.pginput=!1;b.p.gridview=!0;null===
478
- b.p.rowTotal&&(b.p.rowNum=1E4);b.p.multiselect=!1;b.p.rowList=[];b.p.expColInd=0;a="ui-icon-triangle-1-"+("rtl"===b.p.direction?"w":"e");b.p.treeIcons=d.extend({plus:a,minus:"ui-icon-triangle-1-s",leaf:"ui-icon-radio-off"},b.p.treeIcons||{});"nested"===b.p.treeGridModel?b.p.treeReader=d.extend({level_field:"level",left_field:"lft",right_field:"rgt",leaf_field:"isLeaf",expanded_field:"expanded",loaded:"loaded",icon_field:"icon"},b.p.treeReader):"adjacency"===b.p.treeGridModel&&(b.p.treeReader=d.extend({level_field:"level",
479
- parent_id_field:"parent",leaf_field:"isLeaf",expanded_field:"expanded",loaded:"loaded",icon_field:"icon"},b.p.treeReader));for(e in b.p.colModel)if(b.p.colModel.hasOwnProperty(e))for(k in a=b.p.colModel[e].name,a!==b.p.ExpandColumn||h||(h=!0,b.p.expColInd=c),c++,b.p.treeReader)b.p.treeReader.hasOwnProperty(k)&&b.p.treeReader[k]===a&&g.push(a);d.each(b.p.treeReader,function(a,e){e&&-1===d.inArray(e,g)&&("leaf_field"===a&&(b.p._treeleafpos=c),c++,b.p.colNames.push(e),b.p.colModel.push({name:e,width:1,
480
- hidden:!0,sortable:!1,resizable:!1,hidedlg:!0,editable:!0,search:!1}))})}})},expandRow:function(b){this.each(function(){var c=this;if(c.grid&&c.p.treeGrid){var a=d(c).jqGrid("getNodeChildren",b),h=c.p.treeReader.expanded_field;d(a).each(function(){var a=c.p.idPrefix+d.jgrid.getAccessor(this,c.p.localReader.id);d(d(c).jqGrid("getGridRowById",a)).css("display","");this[h]&&d(c).jqGrid("expandRow",this)})}})},collapseRow:function(b){this.each(function(){var c=this;if(c.grid&&c.p.treeGrid){var a=d(c).jqGrid("getNodeChildren",
481
- b),h=c.p.treeReader.expanded_field;d(a).each(function(){var a=c.p.idPrefix+d.jgrid.getAccessor(this,c.p.localReader.id);d(d(c).jqGrid("getGridRowById",a)).css("display","none");this[h]&&d(c).jqGrid("collapseRow",this)})}})},getRootNodes:function(){var b=[];this.each(function(){var c=this;if(c.grid&&c.p.treeGrid)switch(c.p.treeGridModel){case "nested":var a=c.p.treeReader.level_field;d(c.p.data).each(function(){parseInt(this[a],10)===parseInt(c.p.tree_root_level,10)&&b.push(this)});break;case "adjacency":var h=
482
- c.p.treeReader.parent_id_field;d(c.p.data).each(function(){null!==this[h]&&"null"!==String(this[h]).toLowerCase()||b.push(this)})}});return b},getNodeDepth:function(b){var c=null;this.each(function(){if(this.grid&&this.p.treeGrid)switch(this.p.treeGridModel){case "nested":c=parseInt(b[this.p.treeReader.level_field],10)-parseInt(this.p.tree_root_level,10);break;case "adjacency":c=d(this).jqGrid("getNodeAncestors",b).length}});return c},getNodeParent:function(b){var c=null;this.each(function(){var a=
483
- this;if(a.grid&&a.p.treeGrid)switch(a.p.treeGridModel){case "nested":var h=a.p.treeReader.left_field,e=a.p.treeReader.right_field,k=a.p.treeReader.level_field,g=parseInt(b[h],10),f=parseInt(b[e],10),n=parseInt(b[k],10);d(this.p.data).each(function(){if(parseInt(this[k],10)===n-1&&parseInt(this[h],10)<g&&parseInt(this[e],10)>f)return c=this,!1});break;case "adjacency":var m=a.p.treeReader.parent_id_field,p=a.p.localReader.id;d(this.p.data).each(function(){if(this[p]===d.jgrid.stripPref(a.p.idPrefix,
484
- b[m]))return c=this,!1})}});return c},getNodeChildren:function(b){var c=[];this.each(function(){var a=this;if(a.grid&&a.p.treeGrid)switch(a.p.treeGridModel){case "nested":var h=a.p.treeReader.left_field,e=a.p.treeReader.right_field,k=a.p.treeReader.level_field,g=parseInt(b[h],10),f=parseInt(b[e],10),n=parseInt(b[k],10);d(this.p.data).each(function(){parseInt(this[k],10)===n+1&&parseInt(this[h],10)>g&&parseInt(this[e],10)<f&&c.push(this)});break;case "adjacency":var m=a.p.treeReader.parent_id_field,
485
- p=a.p.localReader.id;d(this.p.data).each(function(){this[m]==d.jgrid.stripPref(a.p.idPrefix,b[p])&&c.push(this)})}});return c},getFullTreeNode:function(b){var c=[];this.each(function(){var a=this,h;if(a.grid&&a.p.treeGrid)switch(a.p.treeGridModel){case "nested":var e=a.p.treeReader.left_field,k=a.p.treeReader.right_field,g=a.p.treeReader.level_field,f=parseInt(b[e],10),n=parseInt(b[k],10),m=parseInt(b[g],10);d(this.p.data).each(function(){parseInt(this[g],10)>=m&&parseInt(this[e],10)>=f&&parseInt(this[e],
486
- 10)<=n&&c.push(this)});break;case "adjacency":if(b){c.push(b);var p=a.p.treeReader.parent_id_field,q=a.p.localReader.id;d(this.p.data).each(function(b){h=c.length;for(b=0;b<h;b++)if(d.jgrid.stripPref(a.p.idPrefix,c[b][q])===this[p]){c.push(this);break}})}}});return c},getNodeAncestors:function(b){var c=[];this.each(function(){if(this.grid&&this.p.treeGrid)for(var a=d(this).jqGrid("getNodeParent",b);a;)c.push(a),a=d(this).jqGrid("getNodeParent",a)});return c},isVisibleNode:function(b){var c=!0;this.each(function(){if(this.grid&&
487
- this.p.treeGrid){var a=d(this).jqGrid("getNodeAncestors",b),h=this.p.treeReader.expanded_field;d(a).each(function(){c=c&&this[h];if(!c)return!1})}});return c},isNodeLoaded:function(b){var c;this.each(function(){if(this.grid&&this.p.treeGrid){var a=this.p.treeReader.leaf_field,h=this.p.treeReader.loaded;c=void 0!==b?void 0!==b[h]?b[h]:b[a]||0<d(this).jqGrid("getNodeChildren",b).length?!0:!1:!1}});return c},expandNode:function(b){return this.each(function(){if(this.grid&&this.p.treeGrid){var c=this.p.treeReader.expanded_field,
488
- a=this.p.treeReader.parent_id_field,h=this.p.treeReader.loaded,e=this.p.treeReader.level_field,k=this.p.treeReader.left_field,g=this.p.treeReader.right_field;if(!b[c]){var f=d.jgrid.getAccessor(b,this.p.localReader.id),n=d("#"+this.p.idPrefix+d.jgrid.jqID(f),this.grid.bDiv)[0],m=this.p._index[f];d(this).jqGrid("isNodeLoaded",this.p.data[m])?(b[c]=!0,d("div.treeclick",n).removeClass(this.p.treeIcons.plus+" tree-plus").addClass(this.p.treeIcons.minus+" tree-minus")):this.grid.hDiv.loading||(b[c]=!0,
489
- d("div.treeclick",n).removeClass(this.p.treeIcons.plus+" tree-plus").addClass(this.p.treeIcons.minus+" tree-minus"),this.p.treeANode=n.rowIndex,this.p.datatype=this.p.treedatatype,"nested"===this.p.treeGridModel?d(this).jqGrid("setGridParam",{postData:{nodeid:f,n_left:b[k],n_right:b[g],n_level:b[e]}}):d(this).jqGrid("setGridParam",{postData:{nodeid:f,parentid:b[a],n_level:b[e]}}),d(this).trigger("reloadGrid"),b[h]=!0,"nested"===this.p.treeGridModel?d(this).jqGrid("setGridParam",{postData:{nodeid:"",
490
- n_left:"",n_right:"",n_level:""}}):d(this).jqGrid("setGridParam",{postData:{nodeid:"",parentid:"",n_level:""}}))}}})},collapseNode:function(b){return this.each(function(){if(this.grid&&this.p.treeGrid){var c=this.p.treeReader.expanded_field;b[c]&&(b[c]=!1,c=d.jgrid.getAccessor(b,this.p.localReader.id),c=d("#"+this.p.idPrefix+d.jgrid.jqID(c),this.grid.bDiv)[0],d("div.treeclick",c).removeClass(this.p.treeIcons.minus+" tree-minus").addClass(this.p.treeIcons.plus+" tree-plus"))}})},SortTree:function(b,
491
- c,a,h){return this.each(function(){if(this.grid&&this.p.treeGrid){var e,k,g,f=[],n=this,m;e=d(this).jqGrid("getRootNodes");e=d.jgrid.from(e);e.orderBy(b,c,a,h);m=e.select();e=0;for(k=m.length;e<k;e++)g=m[e],f.push(g),d(this).jqGrid("collectChildrenSortTree",f,g,b,c,a,h);d.each(f,function(a){var b=d.jgrid.getAccessor(this,n.p.localReader.id);d("#"+d.jgrid.jqID(n.p.id)+" tbody tr:eq("+a+")").after(d("tr#"+d.jgrid.jqID(b),n.grid.bDiv))});f=m=e=null}})},collectChildrenSortTree:function(b,c,a,h,e,k){return this.each(function(){if(this.grid&&
492
- this.p.treeGrid){var g,f,n,m;g=d(this).jqGrid("getNodeChildren",c);g=d.jgrid.from(g);g.orderBy(a,h,e,k);m=g.select();g=0;for(f=m.length;g<f;g++)n=m[g],b.push(n),d(this).jqGrid("collectChildrenSortTree",b,n,a,h,e,k)}})},setTreeRow:function(b,c){var a=!1;this.each(function(){this.grid&&this.p.treeGrid&&(a=d(this).jqGrid("setRowData",b,c))});return a},delTreeNode:function(b){return this.each(function(){var c=this.p.localReader.id,a,h=this.p.treeReader.left_field,e=this.p.treeReader.right_field,k,g,f;
493
- if(this.grid&&this.p.treeGrid&&(a=this.p._index[b],void 0!==a)){k=parseInt(this.p.data[a][e],10);g=k-parseInt(this.p.data[a][h],10)+1;var n=d(this).jqGrid("getFullTreeNode",this.p.data[a]);if(0<n.length)for(a=0;a<n.length;a++)d(this).jqGrid("delRowData",n[a][c]);if("nested"===this.p.treeGridModel){c=d.jgrid.from(this.p.data).greater(h,k,{stype:"integer"}).select();if(c.length)for(f in c)c.hasOwnProperty(f)&&(c[f][h]=parseInt(c[f][h],10)-g);c=d.jgrid.from(this.p.data).greater(e,k,{stype:"integer"}).select();
494
- if(c.length)for(f in c)c.hasOwnProperty(f)&&(c[f][e]=parseInt(c[f][e],10)-g)}}})},addChildNode:function(b,c,a,h){var e=this[0];if(a){var k=e.p.treeReader.expanded_field,g=e.p.treeReader.leaf_field,f=e.p.treeReader.level_field,n=e.p.treeReader.parent_id_field,m=e.p.treeReader.left_field,p=e.p.treeReader.right_field,q=e.p.treeReader.loaded,l,u,t,w,s;l=0;var v=c,x;void 0===h&&(h=!1);if(void 0===b||null===b){s=e.p.data.length-1;if(0<=s)for(;0<=s;)l=Math.max(l,parseInt(e.p.data[s][e.p.localReader.id],
495
- 10)),s--;b=l+1}var y=d(e).jqGrid("getInd",c);x=!1;void 0===c||null===c||""===c?(v=c=null,l="last",w=e.p.tree_root_level,s=e.p.data.length+1):(l="after",u=e.p._index[c],t=e.p.data[u],c=t[e.p.localReader.id],w=parseInt(t[f],10)+1,s=d(e).jqGrid("getFullTreeNode",t),s.length?(v=s=s[s.length-1][e.p.localReader.id],s=d(e).jqGrid("getInd",v)+1):s=d(e).jqGrid("getInd",c)+1,t[g]&&(x=!0,t[k]=!0,d(e.rows[y]).find("span.cell-wrapperleaf").removeClass("cell-wrapperleaf").addClass("cell-wrapper").end().find("div.tree-leaf").removeClass(e.p.treeIcons.leaf+
496
- " tree-leaf").addClass(e.p.treeIcons.minus+" tree-minus"),e.p.data[u][g]=!1,t[q]=!0));u=s+1;void 0===a[k]&&(a[k]=!1);void 0===a[q]&&(a[q]=!1);a[f]=w;void 0===a[g]&&(a[g]=!0);"adjacency"===e.p.treeGridModel&&(a[n]=c);if("nested"===e.p.treeGridModel){var r;if(null!==c){g=parseInt(t[p],10);f=d.jgrid.from(e.p.data);f=f.greaterOrEquals(p,g,{stype:"integer"});f=f.select();if(f.length)for(r in f)f.hasOwnProperty(r)&&(f[r][m]=f[r][m]>g?parseInt(f[r][m],10)+2:f[r][m],f[r][p]=f[r][p]>=g?parseInt(f[r][p],10)+
497
- 2:f[r][p]);a[m]=g;a[p]=g+1}else{g=parseInt(d(e).jqGrid("getCol",p,!1,"max"),10);f=d.jgrid.from(e.p.data).greater(m,g,{stype:"integer"}).select();if(f.length)for(r in f)f.hasOwnProperty(r)&&(f[r][m]=parseInt(f[r][m],10)+2);f=d.jgrid.from(e.p.data).greater(p,g,{stype:"integer"}).select();if(f.length)for(r in f)f.hasOwnProperty(r)&&(f[r][p]=parseInt(f[r][p],10)+2);a[m]=g+1;a[p]=g+2}}if(null===c||d(e).jqGrid("isNodeLoaded",t)||x)d(e).jqGrid("addRowData",b,a,l,v),d(e).jqGrid("setTreeNode",s,u);t&&!t[k]&&
498
- h&&d(e.rows[y]).find("div.treeclick").click()}}})})(jQuery);
499
- (function(d){function I(d,n){var h,e,v=[],r;if(!this||"function"!==typeof d||d instanceof RegExp)throw new TypeError;r=this.length;for(h=0;h<r;h++)if(this.hasOwnProperty(h)&&(e=this[h],d.call(n,e,h,this))){v.push(e);break}return v}d.assocArraySize=function(d){var n=0,h;for(h in d)d.hasOwnProperty(h)&&n++;return n};d.jgrid.extend({pivotSetup:function(q,n){var h=[],e=[],v=[],r=[],b={grouping:!0,groupingView:{groupField:[],groupSummary:[],groupSummaryPos:[]}},f=[],c=d.extend({rowTotals:!1,rowTotalsText:"Total",
500
- colTotals:!1,groupSummary:!0,groupSummaryPos:"header",frozenStaticCols:!1},n||{});this.each(function(){function n(C,c,a){C=I.call(C,c,a);return 0<C.length?C[0]:null}function J(c,a){var d=0,f=!0,h;for(h in c){if(c[h]!=this[d]){f=!1;break}d++;if(d>=this.length)break}f&&(D=a);return f}function E(c,a,f,h){var g=a.length,b,k,e,l;l=d.isArray(f)?f.length:1;r=[];for(e=r.root=0;e<l;e++){var n=[],m;for(b=0;b<g;b++){if(null==f)m=k=d.trim(a[b].member)+"_"+a[b].aggregator;else{m=f[e].replace(/\s+/g,"");try{k=
501
- 1===g?m:m+"_"+a[b].aggregator+"_"+b}catch(v){}}var t=h,u=k,x=n,y=k,w=h[k],p=a[b].member,q=c,s=void 0;switch(a[b].aggregator){case "sum":s=parseFloat(w||0)+parseFloat(q[p]||0);break;case "count":if(""===w||null==w)w=0;s=q.hasOwnProperty(p)?w+1:0;break;case "min":s=""===w||null==w?parseFloat(q[p]||0):Math.min(parseFloat(w),parseFloat(q[p]||0));break;case "max":s=""===w||null==w?parseFloat(q[p]||0):Math.max(parseFloat(w),parseFloat(q[p]||0))}t[u]=x[y]=s}r[m]=n}return h}function H(a){var d,b,g,k,e;for(g in a)if(a.hasOwnProperty(g)){if("object"!==
502
- typeof a[g]&&("level"===g&&(void 0===F[a.level]&&(F[a.level]="",0<a.level&&"_r_Totals"!==a.text&&(f[a.level-1]={useColSpanStyle:!1,groupHeaders:[]})),F[a.level]!==a.text&&a.children.length&&"_r_Totals"!==a.text&&0<a.level&&(f[a.level-1].groupHeaders.push({titleText:a.text}),b=f[a.level-1].groupHeaders.length,e=1===b?K:G+(b-1)*z,f[a.level-1].groupHeaders[b-1].startColumnName=h[e].name,f[a.level-1].groupHeaders[b-1].numberOfColumns=h.length-e,G=h.length),F[a.level]=a.text),a.level===l&&"level"===g&&
503
- 0<l))if(1<z){b=1;for(d in a.fields)1===b&&f[l-1].groupHeaders.push({startColumnName:d,numberOfColumns:1,titleText:a.text}),b++;f[l-1].groupHeaders[f[l-1].groupHeaders.length-1].numberOfColumns=b-1}else f.splice(l-1,1);null!=a[g]&&"object"===typeof a[g]&&H(a[g]);if("level"===g&&0<a.level)for(d in b=0,a.fields){e={};for(k in c.aggregates[b])if(c.aggregates[b].hasOwnProperty(k))switch(k){case "member":case "label":case "aggregator":break;default:e[k]=c.aggregates[b][k]}1<z?(e.name=d,e.label=c.aggregates[b].label||
504
- d):(e.name=a.text,e.label="_r_Totals"===a.text?c.rowTotalsText:a.text);h.push(e);b++}}}var m,D,a,y=q.length,s,l,z,k,p=0;c.rowTotals&&0<c.yDimension.length&&(c.yDimension.splice(0,0,{dataName:c.yDimension[0].dataName}),c.yDimension[0].converter=function(){return"_r_Totals"});s=d.isArray(c.xDimension)?c.xDimension.length:0;l=c.yDimension.length;z=d.isArray(c.aggregates)?c.aggregates.length:0;if(0===s||0===z)throw"xDimension or aggregates optiona are not set!";var x;for(a=0;a<s;a++)x={name:c.xDimension[a].dataName,
505
- frozen:c.frozenStaticCols},x=d.extend(!0,x,c.xDimension[a]),h.push(x);x=s-1;for(var A={};p<y;){m=q[p];var t=[],u=[];k={};a=0;do t[a]=d.trim(m[c.xDimension[a].dataName]),k[c.xDimension[a].dataName]=t[a],a++;while(a<s);var g=0;D=-1;a=n(e,J,t);if(!a){g=0;if(1<=l){for(g=0;g<l;g++)u[g]=d.trim(m[c.yDimension[g].dataName]),c.yDimension[g].converter&&d.isFunction(c.yDimension[g].converter)&&(u[g]=c.yDimension[g].converter.call(this,u[g],t,u));k=E(m,c.aggregates,u,k)}else 0===l&&(k=E(m,c.aggregates,null,k));
506
- e.push(k)}else if(0<=D){g=0;if(1<=l){for(g=0;g<l;g++)u[g]=d.trim(m[c.yDimension[g].dataName]),c.yDimension[g].converter&&d.isFunction(c.yDimension[g].converter)&&(u[g]=c.yDimension[g].converter.call(this,u[g],t,u));a=E(m,c.aggregates,u,a)}else 0===l&&(a=E(m,c.aggregates,null,a));e[D]=a}m=0;var t=k=null,B;for(B in r){if(0===m)A.children&&void 0!==A.children||(A={text:B,level:0,children:[]}),k=A.children;else{t=null;for(a=0;a<k.length;a++)if(k[a].text===B){t=k[a];break}t?k=t.children:(k.push({children:[],
507
- text:B,level:m,fields:r[B]}),k=k[k.length-1].children)}m++}p++}var F=[],G=h.length,K=G;0<l&&(f[l-1]={useColSpanStyle:!1,groupHeaders:[]});H(A,0);if(c.colTotals)for(p=e.length;p--;)for(a=s;a<h.length;a++)y=h[a].name,v[y]=v[y]?v[y]+parseFloat(e[p][y]||0):parseFloat(e[p][y]||0);if(0<x)for(a=0;a<x;a++)b.groupingView.groupField[a]=h[a].name,b.groupingView.groupSummary[a]=c.groupSummary,b.groupingView.groupSummaryPos[a]=c.groupSummaryPos;else b.grouping=!1;b.sortname=h[x].name;b.groupingView.hideFirstGroupCol=
508
- !0});return{colModel:h,rows:e,groupOptions:b,groupHeaders:f,summary:v}},jqPivot:function(q,n,h,e){return this.each(function(){function v(b){var f=jQuery(r).jqGrid("pivotSetup",b,n),c=0<d.assocArraySize(f.summary)?!0:!1,e=d.jgrid.from(f.rows);for(b=0;b<f.groupOptions.groupingView.groupField.length;b++)e.orderBy(f.groupOptions.groupingView.groupField[b],"a","text","");jQuery(r).jqGrid(d.extend({datastr:d.extend(e.select(),c?{userdata:f.summary}:{}),datatype:"jsonstring",footerrow:c,userDataOnFooter:c,
509
- colModel:f.colModel,viewrecords:!0,sortname:n.xDimension[0].dataName},h||{},f.groupOptions));f=f.groupHeaders;if(f.length)for(b=0;b<f.length;b++)f[b]&&f[b].groupHeaders.length&&jQuery(r).jqGrid("setGroupHeaders",f[b]);n.frozenStaticCols&&jQuery(r).jqGrid("setFrozenColumns")}var r=this;"string"===typeof q?d.ajax(d.extend({url:q,dataType:"json",success:function(b){v(d.jgrid.getAccessor(b,e&&e.reader?e.reader:"rows"))}},e||{})):v(q)})}})})(jQuery);
510
- (function(c){c.jgrid.extend({jqGridImport:function(a){a=c.extend({imptype:"xml",impstring:"",impurl:"",mtype:"GET",impData:{},xmlGrid:{config:"roots>grid",data:"roots>rows"},jsonGrid:{config:"grid",data:"data"},ajaxOptions:{}},a||{});return this.each(function(){var d=this,f=function(a,b){var e=c(b.xmlGrid.config,a)[0],h=c(b.xmlGrid.data,a)[0],f,g;if(xmlJsonClass.xml2json&&c.jgrid.parse){e=xmlJsonClass.xml2json(e," ");e=c.jgrid.parse(e);for(g in e)e.hasOwnProperty(g)&&(f=e[g]);h?(h=e.grid.datatype,
511
- e.grid.datatype="xmlstring",e.grid.datastr=a,c(d).jqGrid(f).jqGrid("setGridParam",{datatype:h})):c(d).jqGrid(f)}else alert("xml2json or parse are not present")},b=function(a,b){if(a&&"string"===typeof a){var e=!1;c.jgrid.useJSON&&(c.jgrid.useJSON=!1,e=!0);var f=c.jgrid.parse(a);e&&(c.jgrid.useJSON=!0);e=f[b.jsonGrid.config];if(f=f[b.jsonGrid.data]){var g=e.datatype;e.datatype="jsonstring";e.datastr=f;c(d).jqGrid(e).jqGrid("setGridParam",{datatype:g})}else c(d).jqGrid(e)}};switch(a.imptype){case "xml":c.ajax(c.extend({url:a.impurl,
512
- type:a.mtype,data:a.impData,dataType:"xml",complete:function(b,g){"success"===g&&(f(b.responseXML,a),c(d).triggerHandler("jqGridImportComplete",[b,a]),c.isFunction(a.importComplete)&&a.importComplete(b))}},a.ajaxOptions));break;case "xmlstring":if(a.impstring&&"string"===typeof a.impstring){var g=c.parseXML(a.impstring);g&&(f(g,a),c(d).triggerHandler("jqGridImportComplete",[g,a]),c.isFunction(a.importComplete)&&a.importComplete(g),a.impstring=null);g=null}break;case "json":c.ajax(c.extend({url:a.impurl,
513
- type:a.mtype,data:a.impData,dataType:"json",complete:function(f){try{b(f.responseText,a),c(d).triggerHandler("jqGridImportComplete",[f,a]),c.isFunction(a.importComplete)&&a.importComplete(f)}catch(g){}}},a.ajaxOptions));break;case "jsonstring":a.impstring&&"string"===typeof a.impstring&&(b(a.impstring,a),c(d).triggerHandler("jqGridImportComplete",[a.impstring,a]),c.isFunction(a.importComplete)&&a.importComplete(a.impstring),a.impstring=null)}})},jqGridExport:function(a){a=c.extend({exptype:"xmlstring",
514
- root:"grid",ident:"\t"},a||{});var d=null;this.each(function(){if(this.grid){var f,b=c.extend(!0,{},c(this).jqGrid("getGridParam"));b.rownumbers&&(b.colNames.splice(0,1),b.colModel.splice(0,1));b.multiselect&&(b.colNames.splice(0,1),b.colModel.splice(0,1));b.subGrid&&(b.colNames.splice(0,1),b.colModel.splice(0,1));b.knv=null;if(b.treeGrid)for(f in b.treeReader)b.treeReader.hasOwnProperty(f)&&(b.colNames.splice(b.colNames.length-1),b.colModel.splice(b.colModel.length-1));switch(a.exptype){case "xmlstring":d=
515
- "<"+a.root+">"+xmlJsonClass.json2xml(b,a.ident)+"</"+a.root+">";break;case "jsonstring":d="{"+xmlJsonClass.toJson(b,a.root,a.ident,!1)+"}",void 0!==b.postData.filters&&(d=d.replace(/filters":"/,'filters":'),d=d.replace(/}]}"/,"}]}"))}}});return d},excelExport:function(a){a=c.extend({exptype:"remote",url:null,oper:"oper",tag:"excel",exportOptions:{}},a||{});return this.each(function(){if(this.grid){var d;"remote"===a.exptype&&(d=c.extend({},this.p.postData),d[a.oper]=a.tag,d=jQuery.param(d),d=-1!==
516
- a.url.indexOf("?")?a.url+"&"+d:a.url+"?"+d,window.location=d)}})}})})(jQuery);
517
- var xmlJsonClass={xml2json:function(a,b){9===a.nodeType&&(a=a.documentElement);var g=this.removeWhite(a),g=this.toObj(g),g=this.toJson(g,a.nodeName,"\t");return"{\n"+b+(b?g.replace(/\t/g,b):g.replace(/\t|\n/g,""))+"\n}"},json2xml:function(a,b){var g=function(a,b,e){var d="",f,k;if(a instanceof Array)if(0===a.length)d+=e+"<"+b+">__EMPTY_ARRAY_</"+b+">\n";else for(f=0,k=a.length;f<k;f+=1)var n=e+g(a[f],b,e+"\t")+"\n",d=d+n;else if("object"===typeof a){f=!1;d+=e+"<"+b;for(k in a)a.hasOwnProperty(k)&&
518
- ("@"===k.charAt(0)?d+=" "+k.substr(1)+'="'+a[k].toString()+'"':f=!0);d+=f?">":"/>";if(f){for(k in a)a.hasOwnProperty(k)&&("#text"===k?d+=a[k]:"#cdata"===k?d+="<![CDATA["+a[k]+"]]\x3e":"@"!==k.charAt(0)&&(d+=g(a[k],k,e+"\t")));d+=("\n"===d.charAt(d.length-1)?e:"")+"</"+b+">"}}else"function"===typeof a?d+=e+"<"+b+"><![CDATA["+a+"]]\x3e</"+b+">":(void 0===a&&(a=""),d='""'===a.toString()||0===a.toString().length?d+(e+"<"+b+">__EMPTY_STRING_</"+b+">"):d+(e+"<"+b+">"+a.toString()+"</"+b+">"));return d},
519
- f="",e;for(e in a)a.hasOwnProperty(e)&&(f+=g(a[e],e,""));return b?f.replace(/\t/g,b):f.replace(/\t|\n/g,"")},toObj:function(a){var b={},g=/function/i;if(1===a.nodeType){if(a.attributes.length){var f;for(f=0;f<a.attributes.length;f+=1)b["@"+a.attributes[f].nodeName]=(a.attributes[f].nodeValue||"").toString()}if(a.firstChild){var e=f=0,h=!1,c;for(c=a.firstChild;c;c=c.nextSibling)1===c.nodeType?h=!0:3===c.nodeType&&c.nodeValue.match(/[^ \f\n\r\t\v]/)?f+=1:4===c.nodeType&&(e+=1);if(h)if(2>f&&2>e)for(this.removeWhite(a),
520
- c=a.firstChild;c;c=c.nextSibling)3===c.nodeType?b["#text"]=this.escape(c.nodeValue):4===c.nodeType?g.test(c.nodeValue)?b[c.nodeName]=[b[c.nodeName],c.nodeValue]:b["#cdata"]=this.escape(c.nodeValue):b[c.nodeName]?b[c.nodeName]instanceof Array?b[c.nodeName][b[c.nodeName].length]=this.toObj(c):b[c.nodeName]=[b[c.nodeName],this.toObj(c)]:b[c.nodeName]=this.toObj(c);else a.attributes.length?b["#text"]=this.escape(this.innerXml(a)):b=this.escape(this.innerXml(a));else if(f)a.attributes.length?b["#text"]=
521
- this.escape(this.innerXml(a)):(b=this.escape(this.innerXml(a)),"__EMPTY_ARRAY_"===b?b="[]":"__EMPTY_STRING_"===b&&(b=""));else if(e)if(1<e)b=this.escape(this.innerXml(a));else for(c=a.firstChild;c;c=c.nextSibling)if(g.test(a.firstChild.nodeValue)){b=a.firstChild.nodeValue;break}else b["#cdata"]=this.escape(c.nodeValue)}a.attributes.length||a.firstChild||(b=null)}else 9===a.nodeType?b=this.toObj(a.documentElement):alert("unhandled node type: "+a.nodeType);return b},toJson:function(a,b,g,f){void 0===
522
- f&&(f=!0);var e=b?'"'+b+'"':"",h="\t",c="\n";f||(c=h="");if("[]"===a)e+=b?":[]":"[]";else if(a instanceof Array){var l,d,m=[];d=0;for(l=a.length;d<l;d+=1)m[d]=this.toJson(a[d],"",g+h,f);e+=(b?":[":"[")+(1<m.length?c+g+h+m.join(","+c+g+h)+c+g:m.join(""))+"]"}else if(null===a)e+=(b&&":")+"null";else if("object"===typeof a){l=[];for(d in a)a.hasOwnProperty(d)&&(l[l.length]=this.toJson(a[d],d,g+h,f));e+=(b?":{":"{")+(1<l.length?c+g+h+l.join(","+c+g+h)+c+g:l.join(""))+"}"}else e="string"===typeof a?e+
523
- ((b&&":")+'"'+a.replace(/\\/g,"\\\\").replace(/\"/g,'\\"')+'"'):e+((b&&":")+a.toString());return e},innerXml:function(a){var b="";if("innerHTML"in a)b=a.innerHTML;else{var g=function(a){var b="",h;if(1===a.nodeType){b+="<"+a.nodeName;for(h=0;h<a.attributes.length;h+=1)b+=" "+a.attributes[h].nodeName+'="'+(a.attributes[h].nodeValue||"").toString()+'"';if(a.firstChild){b+=">";for(h=a.firstChild;h;h=h.nextSibling)b+=g(h);b+="</"+a.nodeName+">"}else b+="/>"}else 3===a.nodeType?b+=a.nodeValue:4===a.nodeType&&
524
- (b+="<![CDATA["+a.nodeValue+"]]\x3e");return b};for(a=a.firstChild;a;a=a.nextSibling)b+=g(a)}return b},escape:function(a){return a.replace(/[\\]/g,"\\\\").replace(/[\"]/g,'\\"').replace(/[\n]/g,"\\n").replace(/[\r]/g,"\\r")},removeWhite:function(a){a.normalize();var b;for(b=a.firstChild;b;)if(3===b.nodeType)if(b.nodeValue.match(/[^ \f\n\r\t\v]/))b=b.nextSibling;else{var g=b.nextSibling;a.removeChild(b);b=g}else 1===b.nodeType&&this.removeWhite(b),b=b.nextSibling;return a}};
525
- function tableToGrid(l,m){jQuery(l).each(function(){if(!this.grid){jQuery(this).width("99%");var b=jQuery(this).width(),c=jQuery("tr td:first-child input[type=checkbox]:first",jQuery(this)),a=jQuery("tr td:first-child input[type=radio]:first",jQuery(this)),c=0<c.length,a=!c&&0<a.length,k=c||a,d=[],e=[];jQuery("th",jQuery(this)).each(function(){0===d.length&&k?(d.push({name:"__selection__",index:"__selection__",width:0,hidden:!0}),e.push("__selection__")):(d.push({name:jQuery(this).attr("id")||jQuery.trim(jQuery.jgrid.stripHtml(jQuery(this).html())).split(" ").join("_"),
526
- index:jQuery(this).attr("id")||jQuery.trim(jQuery.jgrid.stripHtml(jQuery(this).html())).split(" ").join("_"),width:jQuery(this).width()||150}),e.push(jQuery(this).html()))});var f=[],g=[],h=[];jQuery("tbody > tr",jQuery(this)).each(function(){var b={},a=0;jQuery("td",jQuery(this)).each(function(){if(0===a&&k){var c=jQuery("input",jQuery(this)),e=c.attr("value");g.push(e||f.length);c.is(":checked")&&h.push(e);b[d[a].name]=c.attr("value")}else b[d[a].name]=jQuery(this).html();a++});0<a&&f.push(b)});
527
- jQuery(this).empty();jQuery(this).addClass("scroll");jQuery(this).jqGrid(jQuery.extend({datatype:"local",width:b,colNames:e,colModel:d,multiselect:c},m||{}));for(b=0;b<f.length;b++)a=null,0<g.length&&(a=g[b])&&a.replace&&(a=encodeURIComponent(a).replace(/[.\-%]/g,"_")),null===a&&(a=b+1),jQuery(this).jqGrid("addRowData",a,f[b]);for(b=0;b<h.length;b++)jQuery(this).jqGrid("setSelection",h[b])}})};
528
- (function(b){b.jgrid.msie&&8===b.jgrid.msiever()&&(b.expr[":"].hidden=function(b){return 0===b.offsetWidth||0===b.offsetHeight||"none"===b.style.display});b.jgrid._multiselect=!1;if(b.ui&&b.ui.multiselect){if(b.ui.multiselect.prototype._setSelected){var r=b.ui.multiselect.prototype._setSelected;b.ui.multiselect.prototype._setSelected=function(a,d){var c=r.call(this,a,d);if(d&&this.selectedList){var e=this.element;this.selectedList.find("li").each(function(){b(this).data("optionLink")&&b(this).data("optionLink").remove().appendTo(e)})}return c}}b.ui.multiselect.prototype.destroy&&
529
- (b.ui.multiselect.prototype.destroy=function(){this.element.show();this.container.remove();void 0===b.Widget?b.widget.prototype.destroy.apply(this,arguments):b.Widget.prototype.destroy.apply(this,arguments)});b.jgrid._multiselect=!0}b.jgrid.extend({sortableColumns:function(a){return this.each(function(){function d(){c.p.disableClick=!0}var c=this,e=b.jgrid.jqID(c.p.id),e={tolerance:"pointer",axis:"x",scrollSensitivity:"1",items:">th:not(:has(#jqgh_"+e+"_cb,#jqgh_"+e+"_rn,#jqgh_"+e+"_subgrid),:hidden)",
530
- placeholder:{element:function(a){return b(document.createElement(a[0].nodeName)).addClass(a[0].className+" ui-sortable-placeholder ui-state-highlight").removeClass("ui-sortable-helper")[0]},update:function(b,a){a.height(b.currentItem.innerHeight()-parseInt(b.currentItem.css("paddingTop")||0,10)-parseInt(b.currentItem.css("paddingBottom")||0,10));a.width(b.currentItem.innerWidth()-parseInt(b.currentItem.css("paddingLeft")||0,10)-parseInt(b.currentItem.css("paddingRight")||0,10))}},update:function(a,
531
- e){var d=b(e.item).parent(),d=b(">th",d),f={},g=c.p.id+"_";b.each(c.p.colModel,function(b){f[this.name]=b});var l=[];d.each(function(){var a=b(">div",this).get(0).id.replace(/^jqgh_/,"").replace(g,"");f.hasOwnProperty(a)&&l.push(f[a])});b(c).jqGrid("remapColumns",l,!0,!0);b.isFunction(c.p.sortable.update)&&c.p.sortable.update(l);setTimeout(function(){c.p.disableClick=!1},50)}};c.p.sortable.options?b.extend(e,c.p.sortable.options):b.isFunction(c.p.sortable)&&(c.p.sortable={update:c.p.sortable});if(e.start){var g=
532
- e.start;e.start=function(b,a){d();g.call(this,b,a)}}else e.start=d;c.p.sortable.exclude&&(e.items+=":not("+c.p.sortable.exclude+")");a.sortable(e).data("sortable").floating=!0})},columnChooser:function(a){function d(a,c){a&&("string"===typeof a?b.fn[a]&&b.fn[a].apply(c,b.makeArray(arguments).slice(2)):b.isFunction(a)&&a.apply(c,b.makeArray(arguments).slice(2)))}var c=this;if(!b("#colchooser_"+b.jgrid.jqID(c[0].p.id)).length){var e=b('<div id="colchooser_'+c[0].p.id+'" style="position:relative;overflow:hidden"><div><select multiple="multiple"></select></div></div>'),
533
- g=b("select",e);a=b.extend({width:420,height:240,classname:null,done:function(b){b&&c.jqGrid("remapColumns",b,!0)},msel:"multiselect",dlog:"dialog",dialog_opts:{minWidth:470},dlog_opts:function(a){var c={};c[a.bSubmit]=function(){a.apply_perm();a.cleanup(!1)};c[a.bCancel]=function(){a.cleanup(!0)};return b.extend(!0,{buttons:c,close:function(){a.cleanup(!0)},modal:a.modal||!1,resizable:a.resizable||!0,width:a.width+20},a.dialog_opts||{})},apply_perm:function(){b("option",g).each(function(){this.selected?
534
- c.jqGrid("showCol",k[this.value].name):c.jqGrid("hideCol",k[this.value].name)});var e=[];b("option:selected",g).each(function(){e.push(parseInt(this.value,10))});b.each(e,function(){delete p[k[parseInt(this,10)].name]});b.each(p,function(){var b=parseInt(this,10);var a=e,c=b;if(0<=c){var d=a.slice(),k=d.splice(c,Math.max(a.length-c,c));c>a.length&&(c=a.length);d[c]=b;e=d.concat(k)}else e=void 0});a.done&&a.done.call(c,e)},cleanup:function(b){d(a.dlog,e,"destroy");d(a.msel,g,"destroy");e.remove();
535
- b&&a.done&&a.done.call(c)},msel_opts:{}},b.jgrid.col,a||{});if(b.ui&&b.ui.multiselect&&"multiselect"===a.msel){if(!b.jgrid._multiselect){alert("Multiselect plugin loaded after jqGrid. Please load the plugin before the jqGrid!");return}a.msel_opts=b.extend(b.ui.multiselect.defaults,a.msel_opts)}a.caption&&e.attr("title",a.caption);a.classname&&(e.addClass(a.classname),g.addClass(a.classname));a.width&&(b(">div",e).css({width:a.width,margin:"0 auto"}),g.css("width",a.width));a.height&&(b(">div",e).css("height",
536
- a.height),g.css("height",a.height-10));var k=c.jqGrid("getGridParam","colModel"),t=c.jqGrid("getGridParam","colNames"),p={},f=[];g.empty();b.each(k,function(a){p[this.name]=a;this.hidedlg?this.hidden||f.push(a):g.append("<option value='"+a+"' "+(this.hidden?"":"selected='selected'")+">"+b.jgrid.stripHtml(t[a])+"</option>")});var q=b.isFunction(a.dlog_opts)?a.dlog_opts.call(c,a):a.dlog_opts;d(a.dlog,e,q);q=b.isFunction(a.msel_opts)?a.msel_opts.call(c,a):a.msel_opts;d(a.msel,g,q)}},sortableRows:function(a){return this.each(function(){var d=
537
- this;d.grid&&!d.p.treeGrid&&b.fn.sortable&&(a=b.extend({cursor:"move",axis:"y",items:".jqgrow"},a||{}),a.start&&b.isFunction(a.start)?(a._start_=a.start,delete a.start):a._start_=!1,a.update&&b.isFunction(a.update)?(a._update_=a.update,delete a.update):a._update_=!1,a.start=function(c,e){b(e.item).css("border-width","0");b("td",e.item).each(function(b){this.style.width=d.grid.cols[b].style.width});if(d.p.subGrid){var g=b(e.item).attr("id");try{b(d).jqGrid("collapseSubGridRow",g)}catch(k){}}a._start_&&
538
- a._start_.apply(this,[c,e])},a.update=function(c,e){b(e.item).css("border-width","");!0===d.p.rownumbers&&b("td.jqgrid-rownum",d.rows).each(function(a){b(this).html(a+1+(parseInt(d.p.page,10)-1)*parseInt(d.p.rowNum,10))});a._update_&&a._update_.apply(this,[c,e])},b("tbody:first",d).sortable(a),b("tbody:first",d).disableSelection())})},gridDnD:function(a){return this.each(function(){function d(){var a=b.data(c,"dnd");b("tr.jqgrow:not(.ui-draggable)",c).draggable(b.isFunction(a.drag)?a.drag.call(b(c),
539
- a):a.drag)}var c=this,e,g;if(c.grid&&!c.p.treeGrid&&b.fn.draggable&&b.fn.droppable)if(void 0===b("#jqgrid_dnd")[0]&&b("body").append("<table id='jqgrid_dnd' class='ui-jqgrid-dnd'></table>"),"string"===typeof a&&"updateDnD"===a&&!0===c.p.jqgdnd)d();else if(a=b.extend({drag:function(a){return b.extend({start:function(e,d){var f;if(c.p.subGrid){f=b(d.helper).attr("id");try{b(c).jqGrid("collapseSubGridRow",f)}catch(g){}}for(f=0;f<b.data(c,"dnd").connectWith.length;f++)0===b(b.data(c,"dnd").connectWith[f]).jqGrid("getGridParam",
540
- "reccount")&&b(b.data(c,"dnd").connectWith[f]).jqGrid("addRowData","jqg_empty_row",{});d.helper.addClass("ui-state-highlight");b("td",d.helper).each(function(b){this.style.width=c.grid.headers[b].width+"px"});a.onstart&&b.isFunction(a.onstart)&&a.onstart.call(b(c),e,d)},stop:function(e,d){var f;d.helper.dropped&&!a.dragcopy&&(f=b(d.helper).attr("id"),void 0===f&&(f=b(this).attr("id")),b(c).jqGrid("delRowData",f));for(f=0;f<b.data(c,"dnd").connectWith.length;f++)b(b.data(c,"dnd").connectWith[f]).jqGrid("delRowData",
541
- "jqg_empty_row");a.onstop&&b.isFunction(a.onstop)&&a.onstop.call(b(c),e,d)}},a.drag_opts||{})},drop:function(a){return b.extend({accept:function(a){if(!b(a).hasClass("jqgrow"))return a;a=b(a).closest("table.ui-jqgrid-btable");return 0<a.length&&void 0!==b.data(a[0],"dnd")?(a=b.data(a[0],"dnd").connectWith,-1!==b.inArray("#"+b.jgrid.jqID(this.id),a)?!0:!1):!1},drop:function(e,d){if(b(d.draggable).hasClass("jqgrow")){var f=b(d.draggable).attr("id"),f=d.draggable.parent().parent().jqGrid("getRowData",
542
- f);if(!a.dropbyname){var g=0,l={},h,n,s=b("#"+b.jgrid.jqID(this.id)).jqGrid("getGridParam","colModel");try{for(n in f)f.hasOwnProperty(n)&&(h=s[g].name,"cb"!==h&&"rn"!==h&&"subgrid"!==h&&f.hasOwnProperty(n)&&s[g]&&(l[h]=f[n]),g++);f=l}catch(r){}}d.helper.dropped=!0;a.beforedrop&&b.isFunction(a.beforedrop)&&(h=a.beforedrop.call(this,e,d,f,b("#"+b.jgrid.jqID(c.p.id)),b(this)),void 0!==h&&null!==h&&"object"===typeof h&&(f=h));if(d.helper.dropped){var m;a.autoid&&(b.isFunction(a.autoid)?m=a.autoid.call(this,
543
- f):(m=Math.ceil(1E3*Math.random()),m=a.autoidprefix+m));b("#"+b.jgrid.jqID(this.id)).jqGrid("addRowData",m,f,a.droppos)}a.ondrop&&b.isFunction(a.ondrop)&&a.ondrop.call(this,e,d,f)}}},a.drop_opts||{})},onstart:null,onstop:null,beforedrop:null,ondrop:null,drop_opts:{activeClass:"ui-state-active",hoverClass:"ui-state-hover"},drag_opts:{revert:"invalid",helper:"clone",cursor:"move",appendTo:"#jqgrid_dnd",zIndex:5E3},dragcopy:!1,dropbyname:!1,droppos:"first",autoid:!0,autoidprefix:"dnd_"},a||{}),a.connectWith)for(a.connectWith=
544
- a.connectWith.split(","),a.connectWith=b.map(a.connectWith,function(a){return b.trim(a)}),b.data(c,"dnd",a),0===c.p.reccount||c.p.jqgdnd||d(),c.p.jqgdnd=!0,e=0;e<a.connectWith.length;e++)g=a.connectWith[e],b(g).droppable(b.isFunction(a.drop)?a.drop.call(b(c),a):a.drop)})},gridResize:function(a){return this.each(function(){var d=this,c=b.jgrid.jqID(d.p.id);d.grid&&b.fn.resizable&&(a=b.extend({},a||{}),a.alsoResize?(a._alsoResize_=a.alsoResize,delete a.alsoResize):a._alsoResize_=!1,a.stop&&b.isFunction(a.stop)?
545
- (a._stop_=a.stop,delete a.stop):a._stop_=!1,a.stop=function(e,g){b(d).jqGrid("setGridParam",{height:b("#gview_"+c+" .ui-jqgrid-bdiv").height()});b(d).jqGrid("setGridWidth",g.size.width,a.shrinkToFit);a._stop_&&a._stop_.call(d,e,g)},a.alsoResize=a._alsoResize_?eval("("+("{'#gview_"+c+" .ui-jqgrid-bdiv':true,'"+a._alsoResize_+"':true}")+")"):b(".ui-jqgrid-bdiv","#gview_"+c),delete a._alsoResize_,b("#gbox_"+c).resizable(a))})}})})(jQuery);
1
+ /*
2
+ * jqGrid 4.6.0 - jQuery Grid
3
+ * Copyright (c) 2008, Tony Tomov, tony@trirand.com
4
+ * Dual licensed under the MIT or GPL licenses
5
+ * http://www.opensource.org/licenses/mit-license.php
6
+ * http://www.gnu.org/licenses/gpl-2.0.html
7
+ * Date:2014-02-20
8
+ * Modules: grid.base.js; jquery.fmatter.js; grid.custom.js; grid.common.js; grid.formedit.js; grid.filter.js; grid.inlinedit.js; grid.celledit.js; jqModal.js; jqDnR.js; grid.subgrid.js; grid.grouping.js; grid.treegrid.js; grid.pivot.js; grid.import.js; JsonXml.js; grid.tbltogrid.js; grid.jqueryui.js;
9
+ */
10
+ (function(b){b.jgrid=b.jgrid||{};b.extend(b.jgrid,{version:"4.6.0",htmlDecode:function(b){return b&&("&nbsp;"===b||"&#160;"===b||1===b.length&&160===b.charCodeAt(0))?"":b?String(b).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&quot;/g,'"').replace(/&amp;/g,"&"):b},htmlEncode:function(b){return b?String(b).replace(/&/g,"&amp;").replace(/\"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):b},format:function(e){var f=b.makeArray(arguments).slice(1);null==e&&(e="");return e.replace(/\{(\d+)\}/g,
11
+ function(b,d){return f[d]})},msie:"Microsoft Internet Explorer"===navigator.appName,msiever:function(){var b=-1;null!=/MSIE ([0-9]{1,}[.0-9]{0,})/.exec(navigator.userAgent)&&(b=parseFloat(RegExp.$1));return b},getCellIndex:function(e){e=b(e);if(e.is("tr"))return-1;e=(e.is("td")||e.is("th")?e:e.closest("td,th"))[0];return b.jgrid.msie?b.inArray(e,e.parentNode.cells):e.cellIndex},stripHtml:function(b){b=String(b);var f=/<("[^"]*"|'[^']*'|[^'">])*>/gi;return b?(b=b.replace(f,""))&&"&nbsp;"!==b&&"&#160;"!==
12
+ b?b.replace(/\"/g,"'"):"":b},stripPref:function(e,f){var c=b.type(e);if("string"===c||"number"===c)e=String(e),f=""!==e?String(f).replace(String(e),""):f;return f},parse:function(e){"while(1);"===e.substr(0,9)&&(e=e.substr(9));"/*"===e.substr(0,2)&&(e=e.substr(2,e.length-4));e||(e="{}");return!0===b.jgrid.useJSON&&"object"===typeof JSON&&"function"===typeof JSON.parse?JSON.parse(e):eval("("+e+")")},parseDate:function(e,f,c,d){var a=/^\/Date\((([-+])?[0-9]+)(([-+])([0-9]{2})([0-9]{2}))?\)\/$/,l="string"===
13
+ typeof f?f.match(a):null,a=function(a,b){a=String(a);for(b=parseInt(b,10)||2;a.length<b;)a="0"+a;return a},g={m:1,d:1,y:1970,h:0,i:0,s:0,u:0},h=0,k,n,h=function(a,b){0===a?12===b&&(b=0):12!==b&&(b+=12);return b};void 0===d&&(d=b.jgrid.formatter.date);void 0===d.parseRe&&(d.parseRe=/[#%\\\/:_;.,\t\s-]/);d.masks.hasOwnProperty(e)&&(e=d.masks[e]);if(f&&null!=f)if(isNaN(f-0)||"u"!==String(e).toLowerCase())if(f.constructor===Date)h=f;else if(null!==l){if(h=new Date(parseInt(l[1],10)),l[3]){var m=60*Number(l[5])+
14
+ Number(l[6]),m=m*("-"===l[4]?1:-1),m=m-h.getTimezoneOffset();h.setTime(Number(Number(h)+6E4*m))}}else{m=0;"ISO8601Long"===d.srcformat&&"Z"===f.charAt(f.length-1)&&(m-=(new Date).getTimezoneOffset());f=String(f).replace(/\T/g,"#").replace(/\t/,"%").split(d.parseRe);e=e.replace(/\T/g,"#").replace(/\t/,"%").split(d.parseRe);k=0;for(n=e.length;k<n;k++)"M"===e[k]&&(l=b.inArray(f[k],d.monthNames),-1!==l&&12>l&&(f[k]=l+1,g.m=f[k])),"F"===e[k]&&(l=b.inArray(f[k],d.monthNames,12),-1!==l&&11<l&&(f[k]=l+1-12,
15
+ g.m=f[k])),"a"===e[k]&&(l=b.inArray(f[k],d.AmPm),-1!==l&&2>l&&f[k]===d.AmPm[l]&&(f[k]=l,g.h=h(f[k],g.h))),"A"===e[k]&&(l=b.inArray(f[k],d.AmPm),-1!==l&&1<l&&f[k]===d.AmPm[l]&&(f[k]=l-2,g.h=h(f[k],g.h))),"g"===e[k]&&(g.h=parseInt(f[k],10)),void 0!==f[k]&&(g[e[k].toLowerCase()]=parseInt(f[k],10));g.f&&(g.m=g.f);if(0===g.m&&0===g.y&&0===g.d)return"&#160;";g.m=parseInt(g.m,10)-1;h=g.y;70<=h&&99>=h?g.y=1900+g.y:0<=h&&69>=h&&(g.y=2E3+g.y);h=new Date(g.y,g.m,g.d,g.h,g.i,g.s,g.u);0<m&&h.setTime(Number(Number(h)+
16
+ 6E4*m))}else h=new Date(1E3*parseFloat(f));else h=new Date(g.y,g.m,g.d,g.h,g.i,g.s,g.u);if(void 0===c)return h;d.masks.hasOwnProperty(c)?c=d.masks[c]:c||(c="Y-m-d");e=h.getHours();f=h.getMinutes();g=h.getDate();m=h.getMonth()+1;l=h.getTimezoneOffset();k=h.getSeconds();n=h.getMilliseconds();var r=h.getDay(),p=h.getFullYear(),q=(r+6)%7+1,x=(new Date(p,m-1,g)-new Date(p,0,1))/864E5,G={d:a(g),D:d.dayNames[r],j:g,l:d.dayNames[r+7],N:q,S:d.S(g),w:r,z:x,W:5>q?Math.floor((x+q-1)/7)+1:Math.floor((x+q-1)/7)||
17
+ (4>((new Date(p-1,0,1)).getDay()+6)%7?53:52),F:d.monthNames[m-1+12],m:a(m),M:d.monthNames[m-1],n:m,t:"?",L:"?",o:"?",Y:p,y:String(p).substring(2),a:12>e?d.AmPm[0]:d.AmPm[1],A:12>e?d.AmPm[2]:d.AmPm[3],B:"?",g:e%12||12,G:e,h:a(e%12||12),H:a(e),i:a(f),s:a(k),u:n,e:"?",I:"?",O:(0<l?"-":"+")+a(100*Math.floor(Math.abs(l)/60)+Math.abs(l)%60,4),P:"?",T:(String(h).match(/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g)||
18
+ [""]).pop().replace(/[^-+\dA-Z]/g,""),Z:"?",c:"?",r:"?",U:Math.floor(h/1E3)};return c.replace(/\\.|[dDjlNSwzWFmMntLoYyaABgGhHisueIOPTZcrU]/g,function(a){return G.hasOwnProperty(a)?G[a]:a.substring(1)})},jqID:function(b){return String(b).replace(/[!"#$%&'()*+,.\/:; <=>?@\[\\\]\^`{|}~]/g,"\\$&")},guid:1,uidPref:"jqg",randId:function(e){return(e||b.jgrid.uidPref)+b.jgrid.guid++},getAccessor:function(b,f){var c,d,a=[],l;if("function"===typeof f)return f(b);c=b[f];if(void 0===c)try{if("string"===typeof f&&
19
+ (a=f.split(".")),l=a.length)for(c=b;c&&l--;)d=a.shift(),c=c[d]}catch(g){}return c},getXmlData:function(e,f,c){var d="string"===typeof f?f.match(/^(.*)\[(\w+)\]$/):null;if("function"===typeof f)return f(e);if(d&&d[2])return d[1]?b(d[1],e).attr(d[2]):b(e).attr(d[2]);e=b(f,e);return c?e:0<e.length?b(e).text():void 0},cellWidth:function(){var e=b("<div class='ui-jqgrid' style='left:10000px'><table class='ui-jqgrid-btable' style='width:5px;'><tr class='jqgrow'><td style='width:5px;display:block;'></td></tr></table></div>"),
20
+ f=e.appendTo("body").find("td").width();e.remove();return 0.1<Math.abs(f-5)},cell_width:!0,ajaxOptions:{},from:function(e){return new function(e,c){"string"===typeof e&&(e=b.data(e));var d=this,a=e,l=!0,g=!1,h=c,k=/[\$,%]/g,n=null,m=null,r=0,p=!1,q="",x=[],G=!0;if("object"===typeof e&&e.push)0<e.length&&(G="object"!==typeof e[0]?!1:!0);else throw"data provides is not an array";this._hasData=function(){return null===a?!1:0===a.length?!1:!0};this._getStr=function(a){var b=[];g&&b.push("jQuery.trim(");
21
+ b.push("String("+a+")");g&&b.push(")");l||b.push(".toLowerCase()");return b.join("")};this._strComp=function(a){return"string"===typeof a?".toString()":""};this._group=function(a,b){return{field:a.toString(),unique:b,items:[]}};this._toStr=function(a){g&&(a=b.trim(a));a=a.toString().replace(/\\/g,"\\\\").replace(/\"/g,'\\"');return l?a:a.toLowerCase()};this._funcLoop=function(d){var l=[];b.each(a,function(a,b){l.push(d(b))});return l};this._append=function(a){var b;h=null===h?"":h+(""===q?" && ":
22
+ q);for(b=0;b<r;b++)h+="(";p&&(h+="!");h+="("+a+")";p=!1;q="";r=0};this._setCommand=function(a,b){n=a;m=b};this._resetNegate=function(){p=!1};this._repeatCommand=function(a,b){return null===n?d:null!==a&&null!==b?n(a,b):null!==m&&G?n(m,a):n(a)};this._equals=function(a,b){return 0===d._compare(a,b,1)};this._compare=function(a,b,d){var e=Object.prototype.toString;void 0===d&&(d=1);void 0===a&&(a=null);void 0===b&&(b=null);if(null===a&&null===b)return 0;if(null===a&&null!==b)return 1;if(null!==a&&null===
23
+ b)return-1;if("[object Date]"===e.call(a)&&"[object Date]"===e.call(b))return a<b?-d:a>b?d:0;l||"number"===typeof a||"number"===typeof b||(a=String(a),b=String(b));return a<b?-d:a>b?d:0};this._performSort=function(){0!==x.length&&(a=d._doSort(a,0))};this._doSort=function(a,b){var l=x[b].by,e=x[b].dir,g=x[b].type,c=x[b].datefmt,f=x[b].sfunc;if(b===x.length-1)return d._getOrder(a,l,e,g,c,f);b++;l=d._getGroup(a,l,e,g,c);e=[];for(g=0;g<l.length;g++)for(f=d._doSort(l[g].items,b),c=0;c<f.length;c++)e.push(f[c]);
24
+ return e};this._getOrder=function(a,e,g,c,f,h){var m=[],n=[],r="a"===g?1:-1,p,x;void 0===c&&(c="text");x="float"===c||"number"===c||"currency"===c||"numeric"===c?function(a){a=parseFloat(String(a).replace(k,""));return isNaN(a)?0:a}:"int"===c||"integer"===c?function(a){return a?parseFloat(String(a).replace(k,"")):0}:"date"===c||"datetime"===c?function(a){return b.jgrid.parseDate(f,a).getTime()}:b.isFunction(c)?c:function(a){a=a?b.trim(String(a)):"";return l?a:a.toLowerCase()};b.each(a,function(a,
25
+ d){p=""!==e?b.jgrid.getAccessor(d,e):d;void 0===p&&(p="");p=x(p,d);n.push({vSort:p,index:a})});b.isFunction(h)?n.sort(function(a,b){a=a.vSort;b=b.vSort;return h.call(this,a,b,r)}):n.sort(function(a,b){a=a.vSort;b=b.vSort;return d._compare(a,b,r)});c=0;for(var q=a.length;c<q;)g=n[c].index,m.push(a[g]),c++;return m};this._getGroup=function(a,c,e,l,g){var f=[],h=null,k=null,m;b.each(d._getOrder(a,c,e,l,g),function(a,e){m=b.jgrid.getAccessor(e,c);null==m&&(m="");d._equals(k,m)||(k=m,null!==h&&f.push(h),
26
+ h=d._group(c,m));h.items.push(e)});null!==h&&f.push(h);return f};this.ignoreCase=function(){l=!1;return d};this.useCase=function(){l=!0;return d};this.trim=function(){g=!0;return d};this.noTrim=function(){g=!1;return d};this.execute=function(){var c=h,e=[];if(null===c)return d;b.each(a,function(){eval(c)&&e.push(this)});a=e;return d};this.data=function(){return a};this.select=function(c){d._performSort();if(!d._hasData())return[];d.execute();if(b.isFunction(c)){var e=[];b.each(a,function(a,b){e.push(c(b))});
27
+ return e}return a};this.hasMatch=function(){if(!d._hasData())return!1;d.execute();return 0<a.length};this.andNot=function(a,b,c){p=!p;return d.and(a,b,c)};this.orNot=function(a,b,c){p=!p;return d.or(a,b,c)};this.not=function(a,b,c){return d.andNot(a,b,c)};this.and=function(a,b,c){q=" && ";return void 0===a?d:d._repeatCommand(a,b,c)};this.or=function(a,b,c){q=" || ";return void 0===a?d:d._repeatCommand(a,b,c)};this.orBegin=function(){r++;return d};this.orEnd=function(){null!==h&&(h+=")");return d};
28
+ this.isNot=function(a){p=!p;return d.is(a)};this.is=function(a){d._append("this."+a);d._resetNegate();return d};this._compareValues=function(a,c,e,l,g){var f;f=G?"jQuery.jgrid.getAccessor(this,'"+c+"')":"this";void 0===e&&(e=null);var h=e,m=void 0===g.stype?"text":g.stype;if(null!==e)switch(m){case "int":case "integer":h=isNaN(Number(h))||""===h?"0":h;f="parseInt("+f+",10)";h="parseInt("+h+",10)";break;case "float":case "number":case "numeric":h=String(h).replace(k,"");h=isNaN(Number(h))||""===h?
29
+ "0":h;f="parseFloat("+f+")";h="parseFloat("+h+")";break;case "date":case "datetime":h=String(b.jgrid.parseDate(g.newfmt||"Y-m-d",h).getTime());f='jQuery.jgrid.parseDate("'+g.srcfmt+'",'+f+").getTime()";break;default:f=d._getStr(f),h=d._getStr('"'+d._toStr(h)+'"')}d._append(f+" "+l+" "+h);d._setCommand(a,c);d._resetNegate();return d};this.equals=function(a,b,c){return d._compareValues(d.equals,a,b,"==",c)};this.notEquals=function(a,b,c){return d._compareValues(d.equals,a,b,"!==",c)};this.isNull=function(a,
30
+ b,c){return d._compareValues(d.equals,a,null,"===",c)};this.greater=function(a,b,c){return d._compareValues(d.greater,a,b,">",c)};this.less=function(a,b,c){return d._compareValues(d.less,a,b,"<",c)};this.greaterOrEquals=function(a,b,c){return d._compareValues(d.greaterOrEquals,a,b,">=",c)};this.lessOrEquals=function(a,b,c){return d._compareValues(d.lessOrEquals,a,b,"<=",c)};this.startsWith=function(a,c){var e=null==c?a:c,e=g?b.trim(e.toString()).length:e.toString().length;G?d._append(d._getStr("jQuery.jgrid.getAccessor(this,'"+
31
+ a+"')")+".substr(0,"+e+") == "+d._getStr('"'+d._toStr(c)+'"')):(null!=c&&(e=g?b.trim(c.toString()).length:c.toString().length),d._append(d._getStr("this")+".substr(0,"+e+") == "+d._getStr('"'+d._toStr(a)+'"')));d._setCommand(d.startsWith,a);d._resetNegate();return d};this.endsWith=function(a,c){var e=null==c?a:c,e=g?b.trim(e.toString()).length:e.toString().length;G?d._append(d._getStr("jQuery.jgrid.getAccessor(this,'"+a+"')")+".substr("+d._getStr("jQuery.jgrid.getAccessor(this,'"+a+"')")+".length-"+
32
+ e+","+e+') == "'+d._toStr(c)+'"'):d._append(d._getStr("this")+".substr("+d._getStr("this")+'.length-"'+d._toStr(a)+'".length,"'+d._toStr(a)+'".length) == "'+d._toStr(a)+'"');d._setCommand(d.endsWith,a);d._resetNegate();return d};this.contains=function(a,b){G?d._append(d._getStr("jQuery.jgrid.getAccessor(this,'"+a+"')")+'.indexOf("'+d._toStr(b)+'",0) > -1'):d._append(d._getStr("this")+'.indexOf("'+d._toStr(a)+'",0) > -1');d._setCommand(d.contains,a);d._resetNegate();return d};this.groupBy=function(b,
33
+ c,e,l){return d._hasData()?d._getGroup(a,b,c,e,l):null};this.orderBy=function(a,c,e,l,g){c=null==c?"a":b.trim(c.toString().toLowerCase());null==e&&(e="text");null==l&&(l="Y-m-d");null==g&&(g=!1);if("desc"===c||"descending"===c)c="d";if("asc"===c||"ascending"===c)c="a";x.push({by:a,dir:c,type:e,datefmt:l,sfunc:g});return d};return d}(e,null)},getMethod:function(e){return this.getAccessor(b.fn.jqGrid,e)},extend:function(e){b.extend(b.fn.jqGrid,e);this.no_legacy_api||b.fn.extend(e)}});b.fn.jqGrid=function(e){if("string"===
34
+ typeof e){var f=b.jgrid.getMethod(e);if(!f)throw"jqGrid - No such method: "+e;var c=b.makeArray(arguments).slice(1);return f.apply(this,c)}return this.each(function(){if(!this.grid){var d=b.extend(!0,{url:"",height:150,page:1,rowNum:20,rowTotal:null,records:0,pager:"",pgbuttons:!0,pginput:!0,colModel:[],rowList:[],colNames:[],sortorder:"asc",sortname:"",datatype:"xml",mtype:"GET",altRows:!1,selarrrow:[],savedRow:[],shrinkToFit:!0,xmlReader:{},jsonReader:{},subGrid:!1,subGridModel:[],reccount:0,lastpage:0,
35
+ lastsort:0,selrow:null,beforeSelectRow:null,onSelectRow:null,onSortCol:null,ondblClickRow:null,onRightClickRow:null,onPaging:null,onSelectAll:null,onInitGrid:null,loadComplete:null,gridComplete:null,loadError:null,loadBeforeSend:null,afterInsertRow:null,beforeRequest:null,beforeProcessing:null,onHeaderClick:null,viewrecords:!1,loadonce:!1,multiselect:!1,multikey:!1,editurl:null,search:!1,caption:"",hidegrid:!0,hiddengrid:!1,postData:{},userData:{},treeGrid:!1,treeGridModel:"nested",treeReader:{},
36
+ treeANode:-1,ExpandColumn:null,tree_root_level:0,prmNames:{page:"page",rows:"rows",sort:"sidx",order:"sord",search:"_search",nd:"nd",id:"id",oper:"oper",editoper:"edit",addoper:"add",deloper:"del",subgridid:"id",npage:null,totalrows:"totalrows"},forceFit:!1,gridstate:"visible",cellEdit:!1,cellsubmit:"remote",nv:0,loadui:"enable",toolbar:[!1,""],scroll:!1,multiboxonly:!1,deselectAfterSort:!0,scrollrows:!1,autowidth:!1,scrollOffset:18,cellLayout:5,subGridWidth:20,multiselectWidth:20,gridview:!1,rownumWidth:25,
37
+ rownumbers:!1,pagerpos:"center",recordpos:"right",footerrow:!1,userDataOnFooter:!1,hoverrows:!0,altclass:"ui-priority-secondary",viewsortcols:[!1,"vertical",!0],resizeclass:"",autoencode:!1,remapColumns:[],ajaxGridOptions:{},direction:"ltr",toppager:!1,headertitles:!1,scrollTimeout:40,data:[],_index:{},grouping:!1,groupingView:{groupField:[],groupOrder:[],groupText:[],groupColumnShow:[],groupSummary:[],showSummaryOnHide:!1,sortitems:[],sortnames:[],summary:[],summaryval:[],plusicon:"ui-icon-circlesmall-plus",
38
+ minusicon:"ui-icon-circlesmall-minus",displayField:[],groupSummaryPos:[],formatDisplayField:[],_locgr:!1},ignoreCase:!1,cmTemplate:{},idPrefix:"",multiSort:!1},b.jgrid.defaults,e||{}),a=this,c={headers:[],cols:[],footers:[],dragStart:function(c,e,g){var f=b(this.bDiv).offset().left;this.resizing={idx:c,startX:e.clientX,sOL:e.clientX-f};this.hDiv.style.cursor="col-resize";this.curGbox=b("#rs_m"+b.jgrid.jqID(d.id),"#gbox_"+b.jgrid.jqID(d.id));this.curGbox.css({display:"block",left:e.clientX-f,top:g[1],
39
+ height:g[2]});b(a).triggerHandler("jqGridResizeStart",[e,c]);b.isFunction(d.resizeStart)&&d.resizeStart.call(a,e,c);document.onselectstart=function(){return!1}},dragMove:function(a){if(this.resizing){var b=a.clientX-this.resizing.startX;a=this.headers[this.resizing.idx];var c="ltr"===d.direction?a.width+b:a.width-b,e;33<c&&(this.curGbox.css({left:this.resizing.sOL+b}),!0===d.forceFit?(e=this.headers[this.resizing.idx+d.nv],b="ltr"===d.direction?e.width-b:e.width+b,33<b&&(a.newWidth=c,e.newWidth=b)):
40
+ (this.newWidth="ltr"===d.direction?d.tblwidth+b:d.tblwidth-b,a.newWidth=c))}},dragEnd:function(){this.hDiv.style.cursor="default";if(this.resizing){var c=this.resizing.idx,e=this.headers[c].newWidth||this.headers[c].width,e=parseInt(e,10);this.resizing=!1;b("#rs_m"+b.jgrid.jqID(d.id)).css("display","none");d.colModel[c].width=e;this.headers[c].width=e;this.headers[c].el.style.width=e+"px";this.cols[c].style.width=e+"px";0<this.footers.length&&(this.footers[c].style.width=e+"px");!0===d.forceFit?(e=
41
+ this.headers[c+d.nv].newWidth||this.headers[c+d.nv].width,this.headers[c+d.nv].width=e,this.headers[c+d.nv].el.style.width=e+"px",this.cols[c+d.nv].style.width=e+"px",0<this.footers.length&&(this.footers[c+d.nv].style.width=e+"px"),d.colModel[c+d.nv].width=e):(d.tblwidth=this.newWidth||d.tblwidth,b("table:first",this.bDiv).css("width",d.tblwidth+"px"),b("table:first",this.hDiv).css("width",d.tblwidth+"px"),this.hDiv.scrollLeft=this.bDiv.scrollLeft,d.footerrow&&(b("table:first",this.sDiv).css("width",
42
+ d.tblwidth+"px"),this.sDiv.scrollLeft=this.bDiv.scrollLeft));b(a).triggerHandler("jqGridResizeStop",[e,c]);b.isFunction(d.resizeStop)&&d.resizeStop.call(a,e,c)}this.curGbox=null;document.onselectstart=function(){return!0}},populateVisible:function(){c.timer&&clearTimeout(c.timer);c.timer=null;var a=b(c.bDiv).height();if(a){var e=b("table:first",c.bDiv),g,f;if(e[0].rows.length)try{f=(g=e[0].rows[1])?b(g).outerHeight()||c.prevRowHeight:c.prevRowHeight}catch(pa){f=c.prevRowHeight}if(f){c.prevRowHeight=
43
+ f;var h=d.rowNum;g=c.scrollTop=c.bDiv.scrollTop;var k=Math.round(e.position().top)-g,m=k+e.height();f*=h;var E,n,C;m<a&&0>=k&&(void 0===d.lastpage||parseInt((m+g+f-1)/f,10)<=d.lastpage)&&(n=parseInt((a-m+f-1)/f,10),0<=m||2>n||!0===d.scroll?(E=Math.round((m+g)/f)+1,k=-1):k=1);0<k&&(E=parseInt(g/f,10)+1,n=parseInt((g+a)/f,10)+2-E,C=!0);!n||d.lastpage&&(E>d.lastpage||1===d.lastpage||E===d.page&&E===d.lastpage)||(c.hDiv.loading?c.timer=setTimeout(c.populateVisible,d.scrollTimeout):(d.page=E,C&&(c.selectionPreserver(e[0]),
44
+ c.emptyRows.call(e[0],!1,!1)),c.populate(n)))}}},scrollGrid:function(a){if(d.scroll){var b=c.bDiv.scrollTop;void 0===c.scrollTop&&(c.scrollTop=0);b!==c.scrollTop&&(c.scrollTop=b,c.timer&&clearTimeout(c.timer),c.timer=setTimeout(c.populateVisible,d.scrollTimeout))}c.hDiv.scrollLeft=c.bDiv.scrollLeft;d.footerrow&&(c.sDiv.scrollLeft=c.bDiv.scrollLeft);a&&a.stopPropagation()},selectionPreserver:function(a){var c=a.p,d=c.selrow,e=c.selarrrow?b.makeArray(c.selarrrow):null,f=a.grid.bDiv.scrollLeft,g=function(){var h;
45
+ c.selrow=null;c.selarrrow=[];if(c.multiselect&&e&&0<e.length)for(h=0;h<e.length;h++)e[h]!==d&&b(a).jqGrid("setSelection",e[h],!1,null);d&&b(a).jqGrid("setSelection",d,!1,null);a.grid.bDiv.scrollLeft=f;b(a).unbind(".selectionPreserver",g)};b(a).bind("jqGridGridComplete.selectionPreserver",g)}};if("TABLE"!==this.tagName.toUpperCase())alert("Element is not a table");else if(void 0!==document.documentMode&&5>=document.documentMode)alert("Grid can not be used in this ('quirks') mode!");else{b(this).empty().attr("tabindex",
46
+ "0");this.p=d;this.p.useProp=!!b.fn.prop;var g,f;if(0===this.p.colNames.length)for(g=0;g<this.p.colModel.length;g++)this.p.colNames[g]=this.p.colModel[g].label||this.p.colModel[g].name;if(this.p.colNames.length!==this.p.colModel.length)alert(b.jgrid.errors.model);else{var k=b("<div class='ui-jqgrid-view'></div>"),n=b.jgrid.msie;a.p.direction=b.trim(a.p.direction.toLowerCase());-1===b.inArray(a.p.direction,["ltr","rtl"])&&(a.p.direction="ltr");f=a.p.direction;b(k).insertBefore(this);b(this).removeClass("scroll").appendTo(k);
47
+ var m=b("<div class='ui-jqgrid ui-widget ui-widget-content ui-corner-all'></div>");b(m).attr({id:"gbox_"+this.id,dir:f}).insertBefore(k);b(k).attr("id","gview_"+this.id).appendTo(m);b("<div class='ui-widget-overlay jqgrid-overlay' id='lui_"+this.id+"'></div>").insertBefore(k);b("<div class='loading ui-state-default ui-state-active' id='load_"+this.id+"'>"+this.p.loadtext+"</div>").insertBefore(k);b(this).attr({cellspacing:"0",cellpadding:"0",border:"0",role:"grid","aria-multiselectable":!!this.p.multiselect,
48
+ "aria-labelledby":"gbox_"+this.id});var r=function(a,b){a=parseInt(a,10);return isNaN(a)?b||0:a},p=function(d,e,f,g,pa,h){var k=a.p.colModel[d],m=k.align,E='style="',n=k.classes,C=k.name,A=[];m&&(E+="text-align:"+m+";");!0===k.hidden&&(E+="display:none;");if(0===e)E+="width: "+c.headers[d].width+"px;";else if(k.cellattr&&b.isFunction(k.cellattr)&&(d=k.cellattr.call(a,pa,f,g,k,h))&&"string"===typeof d)if(d=d.replace(/style/i,"style").replace(/title/i,"title"),-1<d.indexOf("title")&&(k.title=!1),-1<
49
+ d.indexOf("class")&&(n=void 0),A=d.replace("-style","-sti").split(/style/),2===A.length){A[1]=b.trim(A[1].replace("-sti","-style").replace("=",""));if(0===A[1].indexOf("'")||0===A[1].indexOf('"'))A[1]=A[1].substring(1);E+=A[1].replace(/'/gi,'"')}else E+='"';A.length||(A[0]="",E+='"');E+=(void 0!==n?' class="'+n+'"':"")+(k.title&&f?' title="'+b.jgrid.stripHtml(f)+'"':"");E+=' aria-describedby="'+a.p.id+"_"+C+'"';return E+A[0]},q=function(c){return null==c||""===c?"&#160;":a.p.autoencode?b.jgrid.htmlEncode(c):
50
+ String(c)},x=function(c,d,e,f,g){var h=a.p.colModel[e];void 0!==h.formatter?(c=""!==String(a.p.idPrefix)?b.jgrid.stripPref(a.p.idPrefix,c):c,c={rowId:c,colModel:h,gid:a.p.id,pos:e},d=b.isFunction(h.formatter)?h.formatter.call(a,d,c,f,g):b.fmatter?b.fn.fmatter.call(a,h.formatter,d,c,f,g):q(d)):d=q(d);return d},G=function(a,b,c,d,e,f){b=x(a,b,c,e,"add");return'<td role="gridcell" '+p(c,d,b,e,a,f)+">"+b+"</td>"},U=function(b,c,d,e){e='<input role="checkbox" type="checkbox" id="jqg_'+a.p.id+"_"+b+'" class="cbox" name="jqg_'+
51
+ a.p.id+"_"+b+'"'+(e?'checked="checked"':"")+"/>";return'<td role="gridcell" '+p(c,d,"",null,b,!0)+">"+e+"</td>"},M=function(a,b,c,d){c=(parseInt(c,10)-1)*parseInt(d,10)+1+b;return'<td role="gridcell" class="ui-state-default jqgrid-rownum" '+p(a,b,c,null,b,!0)+">"+c+"</td>"},ea=function(b){var c,d=[],e=0,f;for(f=0;f<a.p.colModel.length;f++)c=a.p.colModel[f],"cb"!==c.name&&"subgrid"!==c.name&&"rn"!==c.name&&(d[e]="local"===b?c.name:"xml"===b||"xmlstring"===b?c.xmlmap||c.name:c.jsonmap||c.name,!1!==
52
+ a.p.keyIndex&&!0===c.key&&(a.p.keyName=d[e]),e++);return d},W=function(c){var d=a.p.remapColumns;d&&d.length||(d=b.map(a.p.colModel,function(a,b){return b}));c&&(d=b.map(d,function(a){return a<c?null:a-c}));return d},X=function(a,c){var d;this.p.deepempty?b(this.rows).slice(1).remove():(d=0<this.rows.length?this.rows[0]:null,b(this.firstChild).empty().append(d));a&&this.p.scroll&&(b(this.grid.bDiv.firstChild).css({height:"auto"}),b(this.grid.bDiv.firstChild.firstChild).css({height:0,display:"none"}),
53
+ 0!==this.grid.bDiv.scrollTop&&(this.grid.bDiv.scrollTop=0));!0===c&&this.p.treeGrid&&(this.p.data=[],this.p._index={})},O=function(){var c=a.p.data.length,d,e,f;d=!0===a.p.rownumbers?1:0;e=!0===a.p.multiselect?1:0;f=!0===a.p.subGrid?1:0;d=!1===a.p.keyIndex||!0===a.p.loadonce?a.p.localReader.id:a.p.colModel[a.p.keyIndex+e+f+d].name;for(e=0;e<c;e++)f=b.jgrid.getAccessor(a.p.data[e],d),void 0===f&&(f=String(e+1)),a.p._index[f]=e},$=function(c,d,e,f,g,h){var l="-1",k="",m;d=d?"display:none;":"";e="ui-widget-content jqgrow ui-row-"+
54
+ a.p.direction+(e?" "+e:"")+(h?" ui-state-highlight":"");h=b(a).triggerHandler("jqGridRowAttr",[f,g,c]);"object"!==typeof h&&(h=b.isFunction(a.p.rowattr)?a.p.rowattr.call(a,f,g,c):{});if(!b.isEmptyObject(h)){h.hasOwnProperty("id")&&(c=h.id,delete h.id);h.hasOwnProperty("tabindex")&&(l=h.tabindex,delete h.tabindex);h.hasOwnProperty("style")&&(d+=h.style,delete h.style);h.hasOwnProperty("class")&&(e+=" "+h["class"],delete h["class"]);try{delete h.role}catch(n){}for(m in h)h.hasOwnProperty(m)&&(k+=" "+
55
+ m+"="+h[m])}return'<tr role="row" id="'+c+'" tabindex="'+l+'" class="'+e+'"'+(""===d?"":' style="'+d+'"')+k+">"},K=function(c,d,e,f,g){var h=new Date,l="local"!==a.p.datatype&&a.p.loadonce||"xmlstring"===a.p.datatype,k=a.p.xmlReader,m="local"===a.p.datatype?"local":"xml";l&&(a.p.data=[],a.p._index={},a.p.localReader.id="_id_");a.p.reccount=0;if(b.isXMLDoc(c)){-1!==a.p.treeANode||a.p.scroll?e=1<e?e:1:(X.call(a,!1,!0),e=1);var n=b(a),C,A,R=0,p,u=!0===a.p.multiselect?1:0,z=0,x,q=!0===a.p.rownumbers?
56
+ 1:0,t,Z=[],aa,v={},w,H,s=[],L=!0===a.p.altRows?a.p.altclass:"",ia;!0===a.p.subGrid&&(z=1,x=b.jgrid.getMethod("addSubGridCell"));k.repeatitems||(Z=ea(m));t=!1===a.p.keyIndex?b.isFunction(k.id)?k.id.call(a,c):k.id:a.p.keyIndex;0<Z.length&&!isNaN(t)&&(t=a.p.keyName);m=-1===String(t).indexOf("[")?Z.length?function(a,c){return b(t,a).text()||c}:function(a,c){return b(k.cell,a).eq(t).text()||c}:function(a,b){return a.getAttribute(t.replace(/[\[\]]/g,""))||b};a.p.userData={};a.p.page=r(b.jgrid.getXmlData(c,
57
+ k.page),a.p.page);a.p.lastpage=r(b.jgrid.getXmlData(c,k.total),1);a.p.records=r(b.jgrid.getXmlData(c,k.records));b.isFunction(k.userdata)?a.p.userData=k.userdata.call(a,c)||{}:b.jgrid.getXmlData(c,k.userdata,!0).each(function(){a.p.userData[this.getAttribute("name")]=b(this).text()});c=b.jgrid.getXmlData(c,k.root,!0);(c=b.jgrid.getXmlData(c,k.row,!0))||(c=[]);var S=c.length,I=0,y=[],D=parseInt(a.p.rowNum,10),B=a.p.scroll?b.jgrid.randId():1;0<S&&0>=a.p.page&&(a.p.page=1);if(c&&S){g&&(D*=g+1);g=b.isFunction(a.p.afterInsertRow);
58
+ var F=!1,J;a.p.grouping&&(F=!0===a.p.groupingView.groupCollapse,J=b.jgrid.getMethod("groupingPrepare"));for(;I<S;){w=c[I];H=m(w,B+I);H=a.p.idPrefix+H;C=0===e?0:e+1;ia=1===(C+I)%2?L:"";var K=s.length;s.push("");q&&s.push(M(0,I,a.p.page,a.p.rowNum));u&&s.push(U(H,q,I,!1));z&&s.push(x.call(n,u+q,I+e));if(k.repeatitems){aa||(aa=W(u+z+q));var N=b.jgrid.getXmlData(w,k.cell,!0);b.each(aa,function(b){var c=N[this];if(!c)return!1;p=c.textContent||c.text;v[a.p.colModel[b+u+z+q].name]=p;s.push(G(H,p,b+u+z+q,
59
+ I+e,w,v))})}else for(C=0;C<Z.length;C++)p=b.jgrid.getXmlData(w,Z[C]),v[a.p.colModel[C+u+z+q].name]=p,s.push(G(H,p,C+u+z+q,I+e,w,v));s[K]=$(H,F,ia,v,w,!1);s.push("</tr>");a.p.grouping&&(y.push(s),a.p.groupingView._locgr||J.call(n,v,I),s=[]);if(l||!0===a.p.treeGrid)v._id_=b.jgrid.stripPref(a.p.idPrefix,H),a.p.data.push(v),a.p._index[v._id_]=a.p.data.length-1;!1===a.p.gridview&&(b("tbody:first",d).append(s.join("")),n.triggerHandler("jqGridAfterInsertRow",[H,v,w]),g&&a.p.afterInsertRow.call(a,H,v,w),
60
+ s=[]);v={};R++;I++;if(R===D)break}}!0===a.p.gridview&&(A=-1<a.p.treeANode?a.p.treeANode:0,a.p.grouping?(l||n.jqGrid("groupingRender",y,a.p.colModel.length,a.p.page,D),y=null):!0===a.p.treeGrid&&0<A?b(a.rows[A]).after(s.join("")):b("tbody:first",d).append(s.join("")));if(!0===a.p.subGrid)try{n.jqGrid("addSubGrid",u+q)}catch(Q){}a.p.totaltime=new Date-h;0<R&&0===a.p.records&&(a.p.records=S);s=null;if(!0===a.p.treeGrid)try{n.jqGrid("setTreeNode",A+1,R+A+1)}catch(O){}a.p.treeGrid||a.p.scroll||(a.grid.bDiv.scrollTop=
61
+ 0);a.p.reccount=R;a.p.treeANode=-1;a.p.userDataOnFooter&&n.jqGrid("footerData","set",a.p.userData,!0);l&&(a.p.records=S,a.p.lastpage=Math.ceil(S/D));f||a.updatepager(!1,!0);if(l){for(;R<S;){w=c[R];H=m(w,R+B);H=a.p.idPrefix+H;if(k.repeatitems){aa||(aa=W(u+z+q));var P=b.jgrid.getXmlData(w,k.cell,!0);b.each(aa,function(b){var c=P[this];if(!c)return!1;p=c.textContent||c.text;v[a.p.colModel[b+u+z+q].name]=p})}else for(C=0;C<Z.length;C++)p=b.jgrid.getXmlData(w,Z[C]),v[a.p.colModel[C+u+z+q].name]=p;v._id_=
62
+ b.jgrid.stripPref(a.p.idPrefix,H);a.p.grouping&&J.call(n,v,R);a.p.data.push(v);a.p._index[v._id_]=a.p.data.length-1;v={};R++}a.p.grouping&&(a.p.groupingView._locgr=!0,n.jqGrid("groupingRender",y,a.p.colModel.length,a.p.page,D),y=null)}}},Y=function(c,d,e,f,g){var h=new Date;if(c){-1!==a.p.treeANode||a.p.scroll?e=1<e?e:1:(X.call(a,!1,!0),e=1);var k,l="local"!==a.p.datatype&&a.p.loadonce||"jsonstring"===a.p.datatype;l&&(a.p.data=[],a.p._index={},a.p.localReader.id="_id_");a.p.reccount=0;"local"===a.p.datatype?
63
+ (d=a.p.localReader,k="local"):(d=a.p.jsonReader,k="json");var m=b(a),n=0,C,A,p,q=[],u=a.p.multiselect?1:0,z=!0===a.p.subGrid?1:0,x,t=!0===a.p.rownumbers?1:0,D=W(u+z+t);k=ea(k);var y,B,v,w={},H,s,L=[],ia=!0===a.p.altRows?a.p.altclass:"",S;a.p.page=r(b.jgrid.getAccessor(c,d.page),a.p.page);a.p.lastpage=r(b.jgrid.getAccessor(c,d.total),1);a.p.records=r(b.jgrid.getAccessor(c,d.records));a.p.userData=b.jgrid.getAccessor(c,d.userdata)||{};z&&(x=b.jgrid.getMethod("addSubGridCell"));v=!1===a.p.keyIndex?b.isFunction(d.id)?
64
+ d.id.call(a,c):d.id:a.p.keyIndex;d.repeatitems||(q=k,0<q.length&&!isNaN(v)&&(v=a.p.keyName));B=b.jgrid.getAccessor(c,d.root);null==B&&b.isArray(c)&&(B=c);B||(B=[]);c=B.length;A=0;0<c&&0>=a.p.page&&(a.p.page=1);var I=parseInt(a.p.rowNum,10),F=a.p.scroll?b.jgrid.randId():1,J=!1,K;g&&(I*=g+1);"local"!==a.p.datatype||a.p.deselectAfterSort||(J=!0);var N=b.isFunction(a.p.afterInsertRow),P=[],Q=!1,O;a.p.grouping&&(Q=!0===a.p.groupingView.groupCollapse,O=b.jgrid.getMethod("groupingPrepare"));for(;A<c;){g=
65
+ B[A];s=b.jgrid.getAccessor(g,v);void 0===s&&("number"===typeof v&&null!=a.p.colModel[v+u+z+t]&&(s=b.jgrid.getAccessor(g,a.p.colModel[v+u+z+t].name)),void 0===s&&(s=F+A,0===q.length&&d.cell&&(C=b.jgrid.getAccessor(g,d.cell)||g,s=null!=C&&void 0!==C[v]?C[v]:s)));s=a.p.idPrefix+s;C=1===e?0:e;S=1===(C+A)%2?ia:"";J&&(K=a.p.multiselect?-1!==b.inArray(s,a.p.selarrrow):s===a.p.selrow);var T=L.length;L.push("");t&&L.push(M(0,A,a.p.page,a.p.rowNum));u&&L.push(U(s,t,A,K));z&&L.push(x.call(m,u+t,A+e));y=k;d.repeatitems&&
66
+ (d.cell&&(g=b.jgrid.getAccessor(g,d.cell)||g),b.isArray(g)&&(y=D));for(p=0;p<y.length;p++)C=b.jgrid.getAccessor(g,y[p]),w[a.p.colModel[p+u+z+t].name]=C,L.push(G(s,C,p+u+z+t,A+e,g,w));L[T]=$(s,Q,S,w,g,K);L.push("</tr>");a.p.grouping&&(P.push(L),a.p.groupingView._locgr||O.call(m,w,A),L=[]);if(l||!0===a.p.treeGrid)w._id_=b.jgrid.stripPref(a.p.idPrefix,s),a.p.data.push(w),a.p._index[w._id_]=a.p.data.length-1;!1===a.p.gridview&&(b("#"+b.jgrid.jqID(a.p.id)+" tbody:first").append(L.join("")),m.triggerHandler("jqGridAfterInsertRow",
67
+ [s,w,g]),N&&a.p.afterInsertRow.call(a,s,w,g),L=[]);w={};n++;A++;if(n===I)break}!0===a.p.gridview&&(H=-1<a.p.treeANode?a.p.treeANode:0,a.p.grouping?l||(m.jqGrid("groupingRender",P,a.p.colModel.length,a.p.page,I),P=null):!0===a.p.treeGrid&&0<H?b(a.rows[H]).after(L.join("")):b("#"+b.jgrid.jqID(a.p.id)+" tbody:first").append(L.join("")));if(!0===a.p.subGrid)try{m.jqGrid("addSubGrid",u+t)}catch(V){}a.p.totaltime=new Date-h;0<n&&0===a.p.records&&(a.p.records=c);if(!0===a.p.treeGrid)try{m.jqGrid("setTreeNode",
68
+ H+1,n+H+1)}catch(Y){}a.p.treeGrid||a.p.scroll||(a.grid.bDiv.scrollTop=0);a.p.reccount=n;a.p.treeANode=-1;a.p.userDataOnFooter&&m.jqGrid("footerData","set",a.p.userData,!0);l&&(a.p.records=c,a.p.lastpage=Math.ceil(c/I));f||a.updatepager(!1,!0);if(l){for(;n<c&&B[n];){g=B[n];s=b.jgrid.getAccessor(g,v);void 0===s&&("number"===typeof v&&null!=a.p.colModel[v+u+z+t]&&(s=b.jgrid.getAccessor(g,a.p.colModel[v+u+z+t].name)),void 0===s&&(s=F+n,0===q.length&&d.cell&&(e=b.jgrid.getAccessor(g,d.cell)||g,s=null!=
69
+ e&&void 0!==e[v]?e[v]:s)));if(g){s=a.p.idPrefix+s;y=k;d.repeatitems&&(d.cell&&(g=b.jgrid.getAccessor(g,d.cell)||g),b.isArray(g)&&(y=D));for(p=0;p<y.length;p++)w[a.p.colModel[p+u+z+t].name]=b.jgrid.getAccessor(g,y[p]);w._id_=b.jgrid.stripPref(a.p.idPrefix,s);a.p.grouping&&O.call(m,w,n);a.p.data.push(w);a.p._index[w._id_]=a.p.data.length-1;w={}}n++}a.p.grouping&&(a.p.groupingView._locgr=!0,m.jqGrid("groupingRender",P,a.p.colModel.length,a.p.page,I))}}},oa=function(){function c(a){var b=0,d,e,g,h,k;
70
+ if(null!=a.groups){(e=a.groups.length&&"OR"===a.groupOp.toString().toUpperCase())&&u.orBegin();for(d=0;d<a.groups.length;d++){0<b&&e&&u.or();try{c(a.groups[d])}catch(l){alert(l)}b++}e&&u.orEnd()}if(null!=a.rules)try{(g=a.rules.length&&"OR"===a.groupOp.toString().toUpperCase())&&u.orBegin();for(d=0;d<a.rules.length;d++)k=a.rules[d],h=a.groupOp.toString().toUpperCase(),q[k.op]&&k.field&&(0<b&&h&&"OR"===h&&(u=u.or()),u=q[k.op](u,h)(k.field,k.data,f[k.field])),b++;g&&u.orEnd()}catch(m){alert(m)}}var d=
71
+ a.p.multiSort?[]:"",e=[],g=!1,f={},h=[],k=[],l,m,n;if(b.isArray(a.p.data)){var p=a.p.grouping?a.p.groupingView:!1,A,r;b.each(a.p.colModel,function(){m=this.sorttype||"text";"date"===m||"datetime"===m?(this.formatter&&"string"===typeof this.formatter&&"date"===this.formatter?(l=this.formatoptions&&this.formatoptions.srcformat?this.formatoptions.srcformat:b.jgrid.formatter.date.srcformat,n=this.formatoptions&&this.formatoptions.newformat?this.formatoptions.newformat:b.jgrid.formatter.date.newformat):
72
+ l=n=this.datefmt||"Y-m-d",f[this.name]={stype:m,srcfmt:l,newfmt:n,sfunc:this.sortfunc||null}):f[this.name]={stype:m,srcfmt:"",newfmt:"",sfunc:this.sortfunc||null};if(a.p.grouping)for(r=0,A=p.groupField.length;r<A;r++)if(this.name===p.groupField[r]){var c=this.name;this.index&&(c=this.index);h[r]=f[c];k[r]=c}a.p.multiSort?this.lso&&(d.push(this.name),c=this.lso.split("-"),e.push(c[c.length-1])):g||this.index!==a.p.sortname&&this.name!==a.p.sortname||(d=this.name,g=!0)});if(a.p.treeGrid)b(a).jqGrid("SortTree",
73
+ d,a.p.sortorder,f[d].stype||"text",f[d].srcfmt||"");else{var q={eq:function(a){return a.equals},ne:function(a){return a.notEquals},lt:function(a){return a.less},le:function(a){return a.lessOrEquals},gt:function(a){return a.greater},ge:function(a){return a.greaterOrEquals},cn:function(a){return a.contains},nc:function(a,b){return"OR"===b?a.orNot().contains:a.andNot().contains},bw:function(a){return a.startsWith},bn:function(a,b){return"OR"===b?a.orNot().startsWith:a.andNot().startsWith},en:function(a,
74
+ b){return"OR"===b?a.orNot().endsWith:a.andNot().endsWith},ew:function(a){return a.endsWith},ni:function(a,b){return"OR"===b?a.orNot().equals:a.andNot().equals},"in":function(a){return a.equals},nu:function(a){return a.isNull},nn:function(a,b){return"OR"===b?a.orNot().isNull:a.andNot().isNull}},u=b.jgrid.from(a.p.data);a.p.ignoreCase&&(u=u.ignoreCase());if(!0===a.p.search){var z=a.p.postData.filters;if(z)"string"===typeof z&&(z=b.jgrid.parse(z)),c(z);else try{u=q[a.p.postData.searchOper](u)(a.p.postData.searchField,
75
+ a.p.postData.searchString,f[a.p.postData.searchField])}catch(t){}}if(a.p.grouping)for(r=0;r<A;r++)u.orderBy(k[r],p.groupOrder[r],h[r].stype,h[r].srcfmt);a.p.multiSort?b.each(d,function(a){u.orderBy(this,e[a],f[this].stype,f[this].srcfmt,f[this].sfunc)}):d&&a.p.sortorder&&g&&("DESC"===a.p.sortorder.toUpperCase()?u.orderBy(a.p.sortname,"d",f[d].stype,f[d].srcfmt,f[d].sfunc):u.orderBy(a.p.sortname,"a",f[d].stype,f[d].srcfmt,f[d].sfunc));var z=u.select(),x=parseInt(a.p.rowNum,10),y=z.length,B=parseInt(a.p.page,
76
+ 10),D=Math.ceil(y/x),v={};if((a.p.search||a.p.resetsearch)&&a.p.grouping&&a.p.groupingView._locgr){a.p.groupingView.groups=[];var w,G=b.jgrid.getMethod("groupingPrepare"),s,F;if(a.p.footerrow&&a.p.userDataOnFooter){for(s in a.p.userData)a.p.userData.hasOwnProperty(s)&&(a.p.userData[s]=0);F=!0}for(w=0;w<y;w++){if(F)for(s in a.p.userData)a.p.userData[s]+=parseFloat(z[w][s]||0);G.call(b(a),z[w],w,x)}}z=z.slice((B-1)*x,B*x);f=u=null;v[a.p.localReader.total]=D;v[a.p.localReader.page]=B;v[a.p.localReader.records]=
77
+ y;v[a.p.localReader.root]=z;v[a.p.localReader.userdata]=a.p.userData;z=null;return v}}},P=function(){a.grid.hDiv.loading=!0;if(!a.p.hiddengrid)switch(a.p.loadui){case "enable":b("#load_"+b.jgrid.jqID(a.p.id)).show();break;case "block":b("#lui_"+b.jgrid.jqID(a.p.id)).show(),b("#load_"+b.jgrid.jqID(a.p.id)).show()}},T=function(){a.grid.hDiv.loading=!1;switch(a.p.loadui){case "enable":b("#load_"+b.jgrid.jqID(a.p.id)).hide();break;case "block":b("#lui_"+b.jgrid.jqID(a.p.id)).hide(),b("#load_"+b.jgrid.jqID(a.p.id)).hide()}},
78
+ Q=function(c){if(!a.grid.hDiv.loading){var d=a.p.scroll&&!1===c,e={},g,f=a.p.prmNames;0>=a.p.page&&(a.p.page=Math.min(1,a.p.lastpage));null!==f.search&&(e[f.search]=a.p.search);null!==f.nd&&(e[f.nd]=(new Date).getTime());null!==f.rows&&(e[f.rows]=a.p.rowNum);null!==f.page&&(e[f.page]=a.p.page);null!==f.sort&&(e[f.sort]=a.p.sortname);null!==f.order&&(e[f.order]=a.p.sortorder);null!==a.p.rowTotal&&null!==f.totalrows&&(e[f.totalrows]=a.p.rowTotal);var h=b.isFunction(a.p.loadComplete),k=h?a.p.loadComplete:
79
+ null,l=0;c=c||1;1<c?null!==f.npage?(e[f.npage]=c,l=c-1,c=1):k=function(b){a.p.page++;a.grid.hDiv.loading=!1;h&&a.p.loadComplete.call(a,b);Q(c-1)}:null!==f.npage&&delete a.p.postData[f.npage];if(a.p.grouping){b(a).jqGrid("groupingSetup");var m=a.p.groupingView,n,p="";for(n=0;n<m.groupField.length;n++){var r=m.groupField[n];b.each(a.p.colModel,function(a,b){b.name===r&&b.index&&(r=b.index)});p+=r+" "+m.groupOrder[n]+", "}e[f.sort]=p+e[f.sort]}b.extend(a.p.postData,e);var q=a.p.scroll?a.rows.length-
80
+ 1:1,e=b(a).triggerHandler("jqGridBeforeRequest");if(!1!==e&&"stop"!==e)if(b.isFunction(a.p.datatype))a.p.datatype.call(a,a.p.postData,"load_"+a.p.id,q,c,l);else{if(b.isFunction(a.p.beforeRequest)&&(e=a.p.beforeRequest.call(a),void 0===e&&(e=!0),!1===e))return;g=a.p.datatype.toLowerCase();switch(g){case "json":case "jsonp":case "xml":case "script":b.ajax(b.extend({url:a.p.url,type:a.p.mtype,dataType:g,data:b.isFunction(a.p.serializeGridData)?a.p.serializeGridData.call(a,a.p.postData):a.p.postData,
81
+ success:function(e,f,h){if(b.isFunction(a.p.beforeProcessing)&&!1===a.p.beforeProcessing.call(a,e,f,h))T();else{"xml"===g?K(e,a.grid.bDiv,q,1<c,l):Y(e,a.grid.bDiv,q,1<c,l);b(a).triggerHandler("jqGridLoadComplete",[e]);k&&k.call(a,e);b(a).triggerHandler("jqGridAfterLoadComplete",[e]);d&&a.grid.populateVisible();if(a.p.loadonce||a.p.treeGrid)a.p.datatype="local";1===c&&T()}},error:function(d,e,f){b.isFunction(a.p.loadError)&&a.p.loadError.call(a,d,e,f);1===c&&T()},beforeSend:function(c,d){var e=!0;
82
+ b.isFunction(a.p.loadBeforeSend)&&(e=a.p.loadBeforeSend.call(a,c,d));void 0===e&&(e=!0);if(!1===e)return!1;P()}},b.jgrid.ajaxOptions,a.p.ajaxGridOptions));break;case "xmlstring":P();e="string"!==typeof a.p.datastr?a.p.datastr:b.parseXML(a.p.datastr);K(e,a.grid.bDiv);b(a).triggerHandler("jqGridLoadComplete",[e]);h&&a.p.loadComplete.call(a,e);b(a).triggerHandler("jqGridAfterLoadComplete",[e]);a.p.datatype="local";a.p.datastr=null;T();break;case "jsonstring":P();e="string"===typeof a.p.datastr?b.jgrid.parse(a.p.datastr):
83
+ a.p.datastr;Y(e,a.grid.bDiv);b(a).triggerHandler("jqGridLoadComplete",[e]);h&&a.p.loadComplete.call(a,e);b(a).triggerHandler("jqGridAfterLoadComplete",[e]);a.p.datatype="local";a.p.datastr=null;T();break;case "local":case "clientside":P(),a.p.datatype="local",e=oa(),Y(e,a.grid.bDiv,q,1<c,l),b(a).triggerHandler("jqGridLoadComplete",[e]),k&&k.call(a,e),b(a).triggerHandler("jqGridAfterLoadComplete",[e]),d&&a.grid.populateVisible(),T()}}}},ha=function(c){b("#cb_"+b.jgrid.jqID(a.p.id),a.grid.hDiv)[a.p.useProp?
84
+ "prop":"attr"]("checked",c);if(a.p.frozenColumns&&a.p.id+"_frozen")b("#cb_"+b.jgrid.jqID(a.p.id),a.grid.fhDiv)[a.p.useProp?"prop":"attr"]("checked",c)},qa=function(c,e){var d="",g="<table cellspacing='0' cellpadding='0' border='0' style='table-layout:auto;' class='ui-pg-table'><tbody><tr>",k="",l,m,n,p,q=function(c){var e;b.isFunction(a.p.onPaging)&&(e=a.p.onPaging.call(a,c));if("stop"===e)return!1;a.p.selrow=null;a.p.multiselect&&(a.p.selarrrow=[],ha(!1));a.p.savedRow=[];return!0};c=c.substr(1);
85
+ e+="_"+c;l="pg_"+c;m=c+"_left";n=c+"_center";p=c+"_right";b("#"+b.jgrid.jqID(c)).append("<div id='"+l+"' class='ui-pager-control' role='group'><table cellspacing='0' cellpadding='0' border='0' class='ui-pg-table' style='width:100%;table-layout:fixed;height:100%;' role='row'><tbody><tr><td id='"+m+"' align='left'></td><td id='"+n+"' align='center' style='white-space:pre;'></td><td id='"+p+"' align='right'></td></tr></tbody></table></div>").attr("dir","ltr");if(0<a.p.rowList.length){k="<td dir='"+f+
86
+ "'>";k+="<select class='ui-pg-selbox' role='listbox'>";for(m=0;m<a.p.rowList.length;m++)k+='<option role="option" value="'+a.p.rowList[m]+'"'+(a.p.rowNum===a.p.rowList[m]?' selected="selected"':"")+">"+a.p.rowList[m]+"</option>";k+="</select></td>"}"rtl"===f&&(g+=k);!0===a.p.pginput&&(d="<td dir='"+f+"'>"+b.jgrid.format(a.p.pgtext||"","<input class='ui-pg-input' type='text' size='2' maxlength='7' value='0' role='textbox'/>","<span id='sp_1_"+b.jgrid.jqID(c)+"'></span>")+"</td>");!0===a.p.pgbuttons?
87
+ (m=["first"+e,"prev"+e,"next"+e,"last"+e],"rtl"===f&&m.reverse(),g+="<td id='"+m[0]+"' class='ui-pg-button ui-corner-all'><span class='ui-icon ui-icon-seek-first'></span></td>",g+="<td id='"+m[1]+"' class='ui-pg-button ui-corner-all'><span class='ui-icon ui-icon-seek-prev'></span></td>",g=g+(""!==d?"<td class='ui-pg-button ui-state-disabled' style='width:4px;'><span class='ui-separator'></span></td>"+d+"<td class='ui-pg-button ui-state-disabled' style='width:4px;'><span class='ui-separator'></span></td>":
88
+ "")+("<td id='"+m[2]+"' class='ui-pg-button ui-corner-all'><span class='ui-icon ui-icon-seek-next'></span></td>"),g+="<td id='"+m[3]+"' class='ui-pg-button ui-corner-all'><span class='ui-icon ui-icon-seek-end'></span></td>"):""!==d&&(g+=d);"ltr"===f&&(g+=k);g+="</tr></tbody></table>";!0===a.p.viewrecords&&b("td#"+c+"_"+a.p.recordpos,"#"+l).append("<div dir='"+f+"' style='text-align:"+a.p.recordpos+"' class='ui-paging-info'></div>");b("td#"+c+"_"+a.p.pagerpos,"#"+l).append(g);k=b(".ui-jqgrid").css("font-size")||
89
+ "11px";b(document.body).append("<div id='testpg' class='ui-jqgrid ui-widget ui-widget-content' style='font-size:"+k+";visibility:hidden;' ></div>");g=b(g).clone().appendTo("#testpg").width();b("#testpg").remove();0<g&&(""!==d&&(g+=50),b("td#"+c+"_"+a.p.pagerpos,"#"+l).width(g));a.p._nvtd=[];a.p._nvtd[0]=g?Math.floor((a.p.width-g)/2):Math.floor(a.p.width/3);a.p._nvtd[1]=0;g=null;b(".ui-pg-selbox","#"+l).bind("change",function(){if(!q("records"))return!1;a.p.page=Math.round(a.p.rowNum*(a.p.page-1)/
90
+ this.value-0.5)+1;a.p.rowNum=this.value;a.p.pager&&b(".ui-pg-selbox",a.p.pager).val(this.value);a.p.toppager&&b(".ui-pg-selbox",a.p.toppager).val(this.value);Q();return!1});!0===a.p.pgbuttons&&(b(".ui-pg-button","#"+l).hover(function(){b(this).hasClass("ui-state-disabled")?this.style.cursor="default":(b(this).addClass("ui-state-hover"),this.style.cursor="pointer")},function(){b(this).hasClass("ui-state-disabled")||(b(this).removeClass("ui-state-hover"),this.style.cursor="default")}),b("#first"+b.jgrid.jqID(e)+
91
+ ", #prev"+b.jgrid.jqID(e)+", #next"+b.jgrid.jqID(e)+", #last"+b.jgrid.jqID(e)).click(function(){if(b(this).hasClass("ui-state-disabled"))return!1;var c=r(a.p.page,1),d=r(a.p.lastpage,1),g=!1,f=!0,h=!0,k=!0,l=!0;0===d||1===d?l=k=h=f=!1:1<d&&1<=c?1===c?h=f=!1:c===d&&(l=k=!1):1<d&&0===c&&(l=k=!1,c=d-1);if(!q(this.id))return!1;this.id==="first"+e&&f&&(a.p.page=1,g=!0);this.id==="prev"+e&&h&&(a.p.page=c-1,g=!0);this.id==="next"+e&&k&&(a.p.page=c+1,g=!0);this.id==="last"+e&&l&&(a.p.page=d,g=!0);g&&Q();
92
+ return!1}));!0===a.p.pginput&&b("input.ui-pg-input","#"+l).keypress(function(c){if(13===(c.charCode||c.keyCode||0)){if(!q("user"))return!1;b(this).val(r(b(this).val(),1));a.p.page=0<b(this).val()?b(this).val():a.p.page;Q();return!1}return this})},wa=function(c,e){var d,g="",f=a.p.colModel,h=!1,k;k=a.p.frozenColumns?e:a.grid.headers[c].el;var l="";b("span.ui-grid-ico-sort",k).addClass("ui-state-disabled");b(k).attr("aria-selected","false");if(f[c].lso)if("asc"===f[c].lso)f[c].lso+="-desc",l="desc";
93
+ else if("desc"===f[c].lso)f[c].lso+="-asc",l="asc";else{if("asc-desc"===f[c].lso||"desc-asc"===f[c].lso)f[c].lso=""}else f[c].lso=l=f[c].firstsortorder||"asc";l?(b("span.s-ico",k).show(),b("span.ui-icon-"+l,k).removeClass("ui-state-disabled"),b(k).attr("aria-selected","true")):a.p.viewsortcols[0]||b("span.s-ico",k).hide();a.p.sortorder="";b.each(f,function(b){this.lso&&(0<b&&h&&(g+=", "),d=this.lso.split("-"),g+=f[b].index||f[b].name,g+=" "+d[d.length-1],h=!0,a.p.sortorder=d[d.length-1])});k=g.lastIndexOf(a.p.sortorder);
94
+ g=g.substring(0,k);a.p.sortname=g},ra=function(c,d,e,g,f){if(a.p.colModel[d].sortable&&!(0<a.p.savedRow.length)){e||(a.p.lastsort===d?"asc"===a.p.sortorder?a.p.sortorder="desc":"desc"===a.p.sortorder&&(a.p.sortorder="asc"):a.p.sortorder=a.p.colModel[d].firstsortorder||"asc",a.p.page=1);if(a.p.multiSort)wa(d,f);else{if(g){if(a.p.lastsort===d&&a.p.sortorder===g&&!e)return;a.p.sortorder=g}e=a.grid.headers[a.p.lastsort].el;f=a.p.frozenColumns?f:a.grid.headers[d].el;b("span.ui-grid-ico-sort",e).addClass("ui-state-disabled");
95
+ b(e).attr("aria-selected","false");a.p.frozenColumns&&(a.grid.fhDiv.find("span.ui-grid-ico-sort").addClass("ui-state-disabled"),a.grid.fhDiv.find("th").attr("aria-selected","false"));b("span.ui-icon-"+a.p.sortorder,f).removeClass("ui-state-disabled");b(f).attr("aria-selected","true");a.p.viewsortcols[0]||a.p.lastsort===d||(a.p.frozenColumns&&a.grid.fhDiv.find("span.s-ico").hide(),b("span.s-ico",e).hide(),b("span.s-ico",f).show());c=c.substring(5+a.p.id.length+1);a.p.sortname=a.p.colModel[d].index||
96
+ c}"stop"===b(a).triggerHandler("jqGridSortCol",[a.p.sortname,d,a.p.sortorder])?a.p.lastsort=d:b.isFunction(a.p.onSortCol)&&"stop"===a.p.onSortCol.call(a,a.p.sortname,d,a.p.sortorder)?a.p.lastsort=d:("local"===a.p.datatype?a.p.deselectAfterSort&&b(a).jqGrid("resetSelection"):(a.p.selrow=null,a.p.multiselect&&ha(!1),a.p.selarrrow=[],a.p.savedRow=[]),a.p.scroll&&(f=a.grid.bDiv.scrollLeft,X.call(a,!0,!1),a.grid.hDiv.scrollLeft=f),a.p.subGrid&&"local"===a.p.datatype&&b("td.sgexpanded","#"+b.jgrid.jqID(a.p.id)).each(function(){b(this).trigger("click")}),
97
+ Q(),a.p.lastsort=d,a.p.sortname!==c&&d&&(a.p.lastsort=d))}},xa=function(c){c=b(a.grid.headers[c].el);c=[c.position().left+c.outerWidth()];"rtl"===a.p.direction&&(c[0]=a.p.width-c[0]);c[0]-=a.grid.bDiv.scrollLeft;c.push(b(a.grid.hDiv).position().top);c.push(b(a.grid.bDiv).offset().top-b(a.grid.hDiv).offset().top+b(a.grid.bDiv).height());return c},sa=function(c){var d,e=a.grid.headers,g=b.jgrid.getCellIndex(c);for(d=0;d<e.length;d++)if(c===e[d].el){g=d;break}return g};this.p.id=this.id;-1===b.inArray(a.p.multikey,
98
+ ["shiftKey","altKey","ctrlKey"])&&(a.p.multikey=!1);a.p.keyIndex=!1;a.p.keyName=!1;for(g=0;g<a.p.colModel.length;g++)a.p.colModel[g]=b.extend(!0,{},a.p.cmTemplate,a.p.colModel[g].template||{},a.p.colModel[g]),!1===a.p.keyIndex&&!0===a.p.colModel[g].key&&(a.p.keyIndex=g);a.p.sortorder=a.p.sortorder.toLowerCase();b.jgrid.cell_width=b.jgrid.cellWidth();!0===a.p.grouping&&(a.p.scroll=!1,a.p.rownumbers=!1,a.p.treeGrid=!1,a.p.gridview=!0);if(!0===this.p.treeGrid){try{b(this).jqGrid("setTreeGrid")}catch(za){}"local"!==
99
+ a.p.datatype&&(a.p.localReader={id:"_id_"})}if(this.p.subGrid)try{b(a).jqGrid("setSubGrid")}catch(Aa){}this.p.multiselect&&(this.p.colNames.unshift("<input role='checkbox' id='cb_"+this.p.id+"' class='cbox' type='checkbox'/>"),this.p.colModel.unshift({name:"cb",width:b.jgrid.cell_width?a.p.multiselectWidth+a.p.cellLayout:a.p.multiselectWidth,sortable:!1,resizable:!1,hidedlg:!0,search:!1,align:"center",fixed:!0}));this.p.rownumbers&&(this.p.colNames.unshift(""),this.p.colModel.unshift({name:"rn",width:a.p.rownumWidth,
100
+ sortable:!1,resizable:!1,hidedlg:!0,search:!1,align:"center",fixed:!0}));a.p.xmlReader=b.extend(!0,{root:"rows",row:"row",page:"rows>page",total:"rows>total",records:"rows>records",repeatitems:!0,cell:"cell",id:"[id]",userdata:"userdata",subgrid:{root:"rows",row:"row",repeatitems:!0,cell:"cell"}},a.p.xmlReader);a.p.jsonReader=b.extend(!0,{root:"rows",page:"page",total:"total",records:"records",repeatitems:!0,cell:"cell",id:"id",userdata:"userdata",subgrid:{root:"rows",repeatitems:!0,cell:"cell"}},
101
+ a.p.jsonReader);a.p.localReader=b.extend(!0,{root:"rows",page:"page",total:"total",records:"records",repeatitems:!1,cell:"cell",id:"id",userdata:"userdata",subgrid:{root:"rows",repeatitems:!0,cell:"cell"}},a.p.localReader);a.p.scroll&&(a.p.pgbuttons=!1,a.p.pginput=!1,a.p.rowList=[]);a.p.data.length&&O();var D="<thead><tr class='ui-jqgrid-labels' role='rowheader'>",ta,F,ja,fa,ka,y,t,ba,ua=ba="",ga=[],va=[];F=[];if(!0===a.p.shrinkToFit&&!0===a.p.forceFit)for(g=a.p.colModel.length-1;0<=g;g--)if(!a.p.colModel[g].hidden){a.p.colModel[g].resizable=
102
+ !1;break}"horizontal"===a.p.viewsortcols[1]&&(ba=" ui-i-asc",ua=" ui-i-desc");ta=n?"class='ui-th-div-ie'":"";ba="<span class='s-ico' style='display:none'><span sort='asc' class='ui-grid-ico-sort ui-icon-asc"+ba+" ui-state-disabled ui-icon ui-icon-triangle-1-n ui-sort-"+f+"'></span>"+("<span sort='desc' class='ui-grid-ico-sort ui-icon-desc"+ua+" ui-state-disabled ui-icon ui-icon-triangle-1-s ui-sort-"+f+"'></span></span>");if(a.p.multiSort)for(ga=a.p.sortname.split(","),g=0;g<ga.length;g++)F=b.trim(ga[g]).split(" "),
103
+ ga[g]=b.trim(F[0]),va[g]=F[1]?b.trim(F[1]):a.p.sortorder||"asc";for(g=0;g<this.p.colNames.length;g++)F=a.p.headertitles?' title="'+b.jgrid.stripHtml(a.p.colNames[g])+'"':"",D+="<th id='"+a.p.id+"_"+a.p.colModel[g].name+"' role='columnheader' class='ui-state-default ui-th-column ui-th-"+f+"'"+F+">",F=a.p.colModel[g].index||a.p.colModel[g].name,D+="<div id='jqgh_"+a.p.id+"_"+a.p.colModel[g].name+"' "+ta+">"+a.p.colNames[g],a.p.colModel[g].width=a.p.colModel[g].width?parseInt(a.p.colModel[g].width,10):
104
+ 150,"boolean"!==typeof a.p.colModel[g].title&&(a.p.colModel[g].title=!0),a.p.colModel[g].lso="",F===a.p.sortname&&(a.p.lastsort=g),a.p.multiSort&&(F=b.inArray(F,ga),-1!==F&&(a.p.colModel[g].lso=va[F])),D+=ba+"</div></th>";D+="</tr></thead>";ba=null;b(this).append(D);b("thead tr:first th",this).hover(function(){b(this).addClass("ui-state-hover")},function(){b(this).removeClass("ui-state-hover")});if(this.p.multiselect){var la=[],ca;b("#cb_"+b.jgrid.jqID(a.p.id),this).bind("click",function(){a.p.selarrrow=
105
+ [];var c=!0===a.p.frozenColumns?a.p.id+"_frozen":"";this.checked?(b(a.rows).each(function(d){0<d&&!b(this).hasClass("ui-subgrid")&&!b(this).hasClass("jqgroup")&&!b(this).hasClass("ui-state-disabled")&&(b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+b.jgrid.jqID(this.id))[a.p.useProp?"prop":"attr"]("checked",!0),b(this).addClass("ui-state-highlight").attr("aria-selected","true"),a.p.selarrrow.push(this.id),a.p.selrow=this.id,c&&(b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+b.jgrid.jqID(this.id),a.grid.fbDiv)[a.p.useProp?
106
+ "prop":"attr"]("checked",!0),b("#"+b.jgrid.jqID(this.id),a.grid.fbDiv).addClass("ui-state-highlight")))}),ca=!0,la=[]):(b(a.rows).each(function(d){0<d&&!b(this).hasClass("ui-subgrid")&&!b(this).hasClass("ui-state-disabled")&&(b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+b.jgrid.jqID(this.id))[a.p.useProp?"prop":"attr"]("checked",!1),b(this).removeClass("ui-state-highlight").attr("aria-selected","false"),la.push(this.id),c&&(b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+b.jgrid.jqID(this.id),a.grid.fbDiv)[a.p.useProp?
107
+ "prop":"attr"]("checked",!1),b("#"+b.jgrid.jqID(this.id),a.grid.fbDiv).removeClass("ui-state-highlight")))}),a.p.selrow=null,ca=!1);b(a).triggerHandler("jqGridSelectAll",[ca?a.p.selarrrow:la,ca]);b.isFunction(a.p.onSelectAll)&&a.p.onSelectAll.call(a,ca?a.p.selarrrow:la,ca)})}!0===a.p.autowidth&&(D=b(m).innerWidth(),a.p.width=0<D?D:"nw");(function(){var d=0,e=b.jgrid.cell_width?0:r(a.p.cellLayout,0),g=0,f,h=r(a.p.scrollOffset,0),k,m=!1,n,p=0,q;b.each(a.p.colModel,function(){void 0===this.hidden&&(this.hidden=
108
+ !1);if(a.p.grouping&&a.p.autowidth){var c=b.inArray(this.name,a.p.groupingView.groupField);0<=c&&a.p.groupingView.groupColumnShow.length>c&&(this.hidden=!a.p.groupingView.groupColumnShow[c])}this.widthOrg=k=r(this.width,0);!1===this.hidden&&(d+=k+e,this.fixed?p+=k+e:g++)});isNaN(a.p.width)&&(a.p.width=d+(!1!==a.p.shrinkToFit||isNaN(a.p.height)?0:h));c.width=a.p.width;a.p.tblwidth=d;!1===a.p.shrinkToFit&&!0===a.p.forceFit&&(a.p.forceFit=!1);!0===a.p.shrinkToFit&&0<g&&(n=c.width-e*g-p,isNaN(a.p.height)||
109
+ (n-=h,m=!0),d=0,b.each(a.p.colModel,function(b){!1!==this.hidden||this.fixed||(this.width=k=Math.round(n*this.width/(a.p.tblwidth-e*g-p)),d+=k,f=b)}),q=0,m?c.width-p-(d+e*g)!==h&&(q=c.width-p-(d+e*g)-h):m||1===Math.abs(c.width-p-(d+e*g))||(q=c.width-p-(d+e*g)),a.p.colModel[f].width+=q,a.p.tblwidth=d+q+e*g+p,a.p.tblwidth>a.p.width&&(a.p.colModel[f].width-=a.p.tblwidth-parseInt(a.p.width,10),a.p.tblwidth=a.p.width))})();b(m).css("width",c.width+"px").append("<div class='ui-jqgrid-resize-mark' id='rs_m"+
110
+ a.p.id+"'>&#160;</div>");b(k).css("width",c.width+"px");var D=b("thead:first",a).get(0),V="";a.p.footerrow&&(V+="<table role='grid' style='width:"+a.p.tblwidth+"px' class='ui-jqgrid-ftable' cellspacing='0' cellpadding='0' border='0'><tbody><tr role='row' class='ui-widget-content footrow footrow-"+f+"'>");var k=b("tr:first",D),da="<tr class='jqgfirstrow' role='row' style='height:auto'>";a.p.disableClick=!1;b("th",k).each(function(d){ja=a.p.colModel[d].width;void 0===a.p.colModel[d].resizable&&(a.p.colModel[d].resizable=
111
+ !0);a.p.colModel[d].resizable?(fa=document.createElement("span"),b(fa).html("&#160;").addClass("ui-jqgrid-resize ui-jqgrid-resize-"+f).css("cursor","col-resize"),b(this).addClass(a.p.resizeclass)):fa="";b(this).css("width",ja+"px").prepend(fa);fa=null;var e="";a.p.colModel[d].hidden&&(b(this).css("display","none"),e="display:none;");da+="<td role='gridcell' style='height:0px;width:"+ja+"px;"+e+"'></td>";c.headers[d]={width:ja,el:this};ka=a.p.colModel[d].sortable;"boolean"!==typeof ka&&(ka=a.p.colModel[d].sortable=
112
+ !0);e=a.p.colModel[d].name;"cb"!==e&&"subgrid"!==e&&"rn"!==e&&a.p.viewsortcols[2]&&b(">div",this).addClass("ui-jqgrid-sortable");ka&&(a.p.multiSort?a.p.viewsortcols[0]?(b("div span.s-ico",this).show(),a.p.colModel[d].lso&&b("div span.ui-icon-"+a.p.colModel[d].lso,this).removeClass("ui-state-disabled")):a.p.colModel[d].lso&&(b("div span.s-ico",this).show(),b("div span.ui-icon-"+a.p.colModel[d].lso,this).removeClass("ui-state-disabled")):a.p.viewsortcols[0]?(b("div span.s-ico",this).show(),d===a.p.lastsort&&
113
+ b("div span.ui-icon-"+a.p.sortorder,this).removeClass("ui-state-disabled")):d===a.p.lastsort&&(b("div span.s-ico",this).show(),b("div span.ui-icon-"+a.p.sortorder,this).removeClass("ui-state-disabled")));a.p.footerrow&&(V+="<td role='gridcell' "+p(d,0,"",null,"",!1)+">&#160;</td>")}).mousedown(function(d){if(1===b(d.target).closest("th>span.ui-jqgrid-resize").length){var e=sa(this);if(!0===a.p.forceFit){var g=a.p,f=e,h;for(h=e+1;h<a.p.colModel.length;h++)if(!0!==a.p.colModel[h].hidden){f=h;break}g.nv=
114
+ f-e}c.dragStart(e,d,xa(e));return!1}}).click(function(c){if(a.p.disableClick)return a.p.disableClick=!1;var d="th>div.ui-jqgrid-sortable",e,g;a.p.viewsortcols[2]||(d="th>div>span>span.ui-grid-ico-sort");c=b(c.target).closest(d);if(1===c.length){var f;if(a.p.frozenColumns){var h=b(this)[0].id.substring(a.p.id.length+1);b(a.p.colModel).each(function(a){if(this.name===h)return f=a,!1})}else f=sa(this);a.p.viewsortcols[2]||(e=!0,g=c.attr("sort"));null!=f&&ra(b("div",this)[0].id,f,e,g,this);return!1}});
115
+ if(a.p.sortable&&b.fn.sortable)try{b(a).jqGrid("sortableColumns",k)}catch(Ba){}a.p.footerrow&&(V+="</tr></tbody></table>");da+="</tr>";k=document.createElement("tbody");this.appendChild(k);b(this).addClass("ui-jqgrid-btable").append(da);var da=null,k=b("<table class='ui-jqgrid-htable' style='width:"+a.p.tblwidth+"px' role='grid' aria-labelledby='gbox_"+this.id+"' cellspacing='0' cellpadding='0' border='0'></table>").append(D),J=a.p.caption&&!0===a.p.hiddengrid?!0:!1;g=b("<div class='ui-jqgrid-hbox"+
116
+ ("rtl"===f?"-rtl":"")+"'></div>");D=null;c.hDiv=document.createElement("div");b(c.hDiv).css({width:c.width+"px"}).addClass("ui-state-default ui-jqgrid-hdiv").append(g);b(g).append(k);k=null;J&&b(c.hDiv).hide();a.p.pager&&("string"===typeof a.p.pager?"#"!==a.p.pager.substr(0,1)&&(a.p.pager="#"+a.p.pager):a.p.pager="#"+b(a.p.pager).attr("id"),b(a.p.pager).css({width:c.width+"px"}).addClass("ui-state-default ui-jqgrid-pager ui-corner-bottom").appendTo(m),J&&b(a.p.pager).hide(),qa(a.p.pager,""));!1===
117
+ a.p.cellEdit&&!0===a.p.hoverrows&&b(a).bind("mouseover",function(a){t=b(a.target).closest("tr.jqgrow");"ui-subgrid"!==b(t).attr("class")&&b(t).addClass("ui-state-hover")}).bind("mouseout",function(a){t=b(a.target).closest("tr.jqgrow");b(t).removeClass("ui-state-hover")});var B,N,ma;b(a).before(c.hDiv).click(function(c){y=c.target;t=b(y,a.rows).closest("tr.jqgrow");if(0===b(t).length||-1<t[0].className.indexOf("ui-state-disabled")||(b(y,a).closest("table.ui-jqgrid-btable").attr("id")||"").replace("_frozen",
118
+ "")!==a.id)return this;var d=b(y).hasClass("cbox"),e=b(a).triggerHandler("jqGridBeforeSelectRow",[t[0].id,c]);(e=!1===e||"stop"===e?!1:!0)&&b.isFunction(a.p.beforeSelectRow)&&(e=a.p.beforeSelectRow.call(a,t[0].id,c));if("A"!==y.tagName&&("INPUT"!==y.tagName&&"TEXTAREA"!==y.tagName&&"OPTION"!==y.tagName&&"SELECT"!==y.tagName||d)&&!0===e)if(B=t[0].id,N=b.jgrid.getCellIndex(y),ma=b(y).closest("td,th").html(),b(a).triggerHandler("jqGridCellSelect",[B,N,ma,c]),b.isFunction(a.p.onCellSelect)&&a.p.onCellSelect.call(a,
119
+ B,N,ma,c),!0===a.p.cellEdit)if(a.p.multiselect&&d)b(a).jqGrid("setSelection",B,!0,c);else{B=t[0].rowIndex;try{b(a).jqGrid("editCell",B,N,!0)}catch(g){}}else if(a.p.multikey)c[a.p.multikey]?b(a).jqGrid("setSelection",B,!0,c):a.p.multiselect&&d&&(d=b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+B).is(":checked"),b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+B)[a.p.useProp?"prop":"attr"]("checked",d));else{if(a.p.multiselect&&a.p.multiboxonly&&!d){var f=a.p.frozenColumns?a.p.id+"_frozen":"";b(a.p.selarrrow).each(function(c,
120
+ d){var e=b(a).jqGrid("getGridRowById",d);b(e).removeClass("ui-state-highlight");b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+b.jgrid.jqID(d))[a.p.useProp?"prop":"attr"]("checked",!1);f&&(b("#"+b.jgrid.jqID(d),"#"+b.jgrid.jqID(f)).removeClass("ui-state-highlight"),b("#jqg_"+b.jgrid.jqID(a.p.id)+"_"+b.jgrid.jqID(d),"#"+b.jgrid.jqID(f))[a.p.useProp?"prop":"attr"]("checked",!1))});a.p.selarrrow=[]}b(a).jqGrid("setSelection",B,!0,c)}}).bind("reloadGrid",function(c,d){!0===a.p.treeGrid&&(a.p.datatype=a.p.treedatatype);
121
+ d&&d.current&&a.grid.selectionPreserver(a);"local"===a.p.datatype?(b(a).jqGrid("resetSelection"),a.p.data.length&&O()):a.p.treeGrid||(a.p.selrow=null,a.p.multiselect&&(a.p.selarrrow=[],ha(!1)),a.p.savedRow=[]);a.p.scroll&&X.call(a,!0,!1);if(d&&d.page){var e=d.page;e>a.p.lastpage&&(e=a.p.lastpage);1>e&&(e=1);a.p.page=e;a.grid.bDiv.scrollTop=a.grid.prevRowHeight?(e-1)*a.grid.prevRowHeight*a.p.rowNum:0}a.grid.prevRowHeight&&a.p.scroll?(delete a.p.lastpage,a.grid.populateVisible()):a.grid.populate();
122
+ !0===a.p._inlinenav&&b(a).jqGrid("showAddEditButtons");return!1}).dblclick(function(c){y=c.target;t=b(y,a.rows).closest("tr.jqgrow");0!==b(t).length&&(B=t[0].rowIndex,N=b.jgrid.getCellIndex(y),b(a).triggerHandler("jqGridDblClickRow",[b(t).attr("id"),B,N,c]),b.isFunction(a.p.ondblClickRow)&&a.p.ondblClickRow.call(a,b(t).attr("id"),B,N,c))}).bind("contextmenu",function(c){y=c.target;t=b(y,a.rows).closest("tr.jqgrow");0!==b(t).length&&(a.p.multiselect||b(a).jqGrid("setSelection",t[0].id,!0,c),B=t[0].rowIndex,
123
+ N=b.jgrid.getCellIndex(y),b(a).triggerHandler("jqGridRightClickRow",[b(t).attr("id"),B,N,c]),b.isFunction(a.p.onRightClickRow)&&a.p.onRightClickRow.call(a,b(t).attr("id"),B,N,c))});c.bDiv=document.createElement("div");n&&"auto"===String(a.p.height).toLowerCase()&&(a.p.height="100%");b(c.bDiv).append(b('<div style="position:relative;'+(n&&8>b.jgrid.msiever()?"height:0.01%;":"")+'"></div>').append("<div></div>").append(this)).addClass("ui-jqgrid-bdiv").css({height:a.p.height+(isNaN(a.p.height)?"":"px"),
124
+ width:c.width+"px"}).scroll(c.scrollGrid);b("table:first",c.bDiv).css({width:a.p.tblwidth+"px"});b.support.tbody||2===b("tbody",this).length&&b("tbody:gt(0)",this).remove();a.p.multikey&&(b.jgrid.msie?b(c.bDiv).bind("selectstart",function(){return!1}):b(c.bDiv).bind("mousedown",function(){return!1}));J&&b(c.bDiv).hide();c.cDiv=document.createElement("div");var na=!0===a.p.hidegrid?b("<a role='link' class='ui-jqgrid-titlebar-close ui-corner-all HeaderButton' />").hover(function(){na.addClass("ui-state-hover")},
125
+ function(){na.removeClass("ui-state-hover")}).append("<span class='ui-icon ui-icon-circle-triangle-n'></span>").css("rtl"===f?"left":"right","0px"):"";b(c.cDiv).append(na).append("<span class='ui-jqgrid-title'>"+a.p.caption+"</span>").addClass("ui-jqgrid-titlebar ui-jqgrid-caption"+("rtl"===f?"-rtl":"")+" ui-widget-header ui-corner-top ui-helper-clearfix");b(c.cDiv).insertBefore(c.hDiv);a.p.toolbar[0]&&(c.uDiv=document.createElement("div"),"top"===a.p.toolbar[1]?b(c.uDiv).insertBefore(c.hDiv):"bottom"===
126
+ a.p.toolbar[1]&&b(c.uDiv).insertAfter(c.hDiv),"both"===a.p.toolbar[1]?(c.ubDiv=document.createElement("div"),b(c.uDiv).addClass("ui-userdata ui-state-default").attr("id","t_"+this.id).insertBefore(c.hDiv),b(c.ubDiv).addClass("ui-userdata ui-state-default").attr("id","tb_"+this.id).insertAfter(c.hDiv),J&&b(c.ubDiv).hide()):b(c.uDiv).width(c.width).addClass("ui-userdata ui-state-default").attr("id","t_"+this.id),J&&b(c.uDiv).hide());a.p.toppager&&(a.p.toppager=b.jgrid.jqID(a.p.id)+"_toppager",c.topDiv=
127
+ b("<div id='"+a.p.toppager+"'></div>")[0],a.p.toppager="#"+a.p.toppager,b(c.topDiv).addClass("ui-state-default ui-jqgrid-toppager").width(c.width).insertBefore(c.hDiv),qa(a.p.toppager,"_t"));a.p.footerrow&&(c.sDiv=b("<div class='ui-jqgrid-sdiv'></div>")[0],g=b("<div class='ui-jqgrid-hbox"+("rtl"===f?"-rtl":"")+"'></div>"),b(c.sDiv).append(g).width(c.width).insertAfter(c.hDiv),b(g).append(V),c.footers=b(".ui-jqgrid-ftable",c.sDiv)[0].rows[0].cells,a.p.rownumbers&&(c.footers[0].className="ui-state-default jqgrid-rownum"),
128
+ J&&b(c.sDiv).hide());g=null;if(a.p.caption){var ya=a.p.datatype;!0===a.p.hidegrid&&(b(".ui-jqgrid-titlebar-close",c.cDiv).click(function(d){var e=b.isFunction(a.p.onHeaderClick),g=".ui-jqgrid-bdiv, .ui-jqgrid-hdiv, .ui-jqgrid-pager, .ui-jqgrid-sdiv",f,h=this;!0===a.p.toolbar[0]&&("both"===a.p.toolbar[1]&&(g+=", #"+b(c.ubDiv).attr("id")),g+=", #"+b(c.uDiv).attr("id"));f=b(g,"#gview_"+b.jgrid.jqID(a.p.id)).length;"visible"===a.p.gridstate?b(g,"#gbox_"+b.jgrid.jqID(a.p.id)).slideUp("fast",function(){f--;
129
+ 0===f&&(b("span",h).removeClass("ui-icon-circle-triangle-n").addClass("ui-icon-circle-triangle-s"),a.p.gridstate="hidden",b("#gbox_"+b.jgrid.jqID(a.p.id)).hasClass("ui-resizable")&&b(".ui-resizable-handle","#gbox_"+b.jgrid.jqID(a.p.id)).hide(),b(a).triggerHandler("jqGridHeaderClick",[a.p.gridstate,d]),e&&(J||a.p.onHeaderClick.call(a,a.p.gridstate,d)))}):"hidden"===a.p.gridstate&&b(g,"#gbox_"+b.jgrid.jqID(a.p.id)).slideDown("fast",function(){f--;0===f&&(b("span",h).removeClass("ui-icon-circle-triangle-s").addClass("ui-icon-circle-triangle-n"),
130
+ J&&(a.p.datatype=ya,Q(),J=!1),a.p.gridstate="visible",b("#gbox_"+b.jgrid.jqID(a.p.id)).hasClass("ui-resizable")&&b(".ui-resizable-handle","#gbox_"+b.jgrid.jqID(a.p.id)).show(),b(a).triggerHandler("jqGridHeaderClick",[a.p.gridstate,d]),e&&(J||a.p.onHeaderClick.call(a,a.p.gridstate,d)))});return!1}),J&&(a.p.datatype="local",b(".ui-jqgrid-titlebar-close",c.cDiv).trigger("click")))}else b(c.cDiv).hide();b(c.hDiv).after(c.bDiv).mousemove(function(a){if(c.resizing)return c.dragMove(a),!1});b(".ui-jqgrid-labels",
131
+ c.hDiv).bind("selectstart",function(){return!1});b(document).bind("mouseup.jqGrid"+a.p.id,function(){return c.resizing?(c.dragEnd(),!1):!0});a.formatCol=p;a.sortData=ra;a.updatepager=function(c,d){var e,g,f,h,k,l,m,n="",p=a.p.pager?"_"+b.jgrid.jqID(a.p.pager.substr(1)):"",q=a.p.toppager?"_"+a.p.toppager.substr(1):"";f=parseInt(a.p.page,10)-1;0>f&&(f=0);f*=parseInt(a.p.rowNum,10);k=f+a.p.reccount;if(a.p.scroll){e=b("tbody:first > tr:gt(0)",a.grid.bDiv);f=k-e.length;a.p.reccount=e.length;if(e=e.outerHeight()||
132
+ a.grid.prevRowHeight)g=f*e,m=parseInt(a.p.records,10)*e,b(">div:first",a.grid.bDiv).css({height:m}).children("div:first").css({height:g,display:g?"":"none"}),0==a.grid.bDiv.scrollTop&&1<a.p.page&&(a.grid.bDiv.scrollTop=a.p.rowNum*(a.p.page-1)*e);a.grid.bDiv.scrollLeft=a.grid.hDiv.scrollLeft}n=a.p.pager||"";if(n+=a.p.toppager?n?","+a.p.toppager:a.p.toppager:"")m=b.jgrid.formatter.integer||{},e=r(a.p.page),g=r(a.p.lastpage),b(".selbox",n)[this.p.useProp?"prop":"attr"]("disabled",!1),!0===a.p.pginput&&
133
+ (b(".ui-pg-input",n).val(a.p.page),h=a.p.toppager?"#sp_1"+p+",#sp_1"+q:"#sp_1"+p,b(h).html(b.fmatter?b.fmatter.util.NumberFormat(a.p.lastpage,m):a.p.lastpage)),a.p.viewrecords&&(0===a.p.reccount?b(".ui-paging-info",n).html(a.p.emptyrecords):(h=f+1,l=a.p.records,b.fmatter&&(h=b.fmatter.util.NumberFormat(h,m),k=b.fmatter.util.NumberFormat(k,m),l=b.fmatter.util.NumberFormat(l,m)),b(".ui-paging-info",n).html(b.jgrid.format(a.p.recordtext,h,k,l)))),!0===a.p.pgbuttons&&(0>=e&&(e=g=0),1===e||0===e?(b("#first"+
134
+ p+", #prev"+p).addClass("ui-state-disabled").removeClass("ui-state-hover"),a.p.toppager&&b("#first_t"+q+", #prev_t"+q).addClass("ui-state-disabled").removeClass("ui-state-hover")):(b("#first"+p+", #prev"+p).removeClass("ui-state-disabled"),a.p.toppager&&b("#first_t"+q+", #prev_t"+q).removeClass("ui-state-disabled")),e===g||0===e?(b("#next"+p+", #last"+p).addClass("ui-state-disabled").removeClass("ui-state-hover"),a.p.toppager&&b("#next_t"+q+", #last_t"+q).addClass("ui-state-disabled").removeClass("ui-state-hover")):
135
+ (b("#next"+p+", #last"+p).removeClass("ui-state-disabled"),a.p.toppager&&b("#next_t"+q+", #last_t"+q).removeClass("ui-state-disabled")));!0===c&&!0===a.p.rownumbers&&b(">td.jqgrid-rownum",a.rows).each(function(a){b(this).html(f+1+a)});d&&a.p.jqgdnd&&b(a).jqGrid("gridDnD","updateDnD");b(a).triggerHandler("jqGridGridComplete");b.isFunction(a.p.gridComplete)&&a.p.gridComplete.call(a);b(a).triggerHandler("jqGridAfterGridComplete")};a.refreshIndex=O;a.setHeadCheckBox=ha;a.constructTr=$;a.formatter=function(a,
136
+ b,c,d,e){return x(a,b,c,d,e)};b.extend(c,{populate:Q,emptyRows:X,beginReq:P,endReq:T});this.grid=c;a.addXmlData=function(b){K(b,a.grid.bDiv)};a.addJSONData=function(b){Y(b,a.grid.bDiv)};this.grid.cols=this.rows[0].cells;b(a).triggerHandler("jqGridInitGrid");b.isFunction(a.p.onInitGrid)&&a.p.onInitGrid.call(a);Q();a.p.hiddengrid=!1}}}})};b.jgrid.extend({getGridParam:function(b){var f=this[0];if(f&&f.grid)return b?void 0!==f.p[b]?f.p[b]:null:f.p},setGridParam:function(e){return this.each(function(){this.grid&&
137
+ "object"===typeof e&&b.extend(!0,this.p,e)})},getGridRowById:function(e){var f;this.each(function(){try{for(var c=this.rows.length;c--;)if(e.toString()===this.rows[c].id){f=this.rows[c];break}}catch(d){f=b(this.grid.bDiv).find("#"+b.jgrid.jqID(e))}});return f},getDataIDs:function(){var e=[],f=0,c,d=0;this.each(function(){if((c=this.rows.length)&&0<c)for(;f<c;)b(this.rows[f]).hasClass("jqgrow")&&(e[d]=this.rows[f].id,d++),f++});return e},setSelection:function(e,f,c){return this.each(function(){var d,
138
+ a,l,g,h,k;void 0!==e&&(f=!1===f?!1:!0,!(a=b(this).jqGrid("getGridRowById",e))||!a.className||-1<a.className.indexOf("ui-state-disabled")||(!0===this.p.scrollrows&&(l=b(this).jqGrid("getGridRowById",e).rowIndex,0<=l&&(d=b(this.grid.bDiv)[0].clientHeight,g=b(this.grid.bDiv)[0].scrollTop,h=b(this.rows[l]).position().top,l=this.rows[l].clientHeight,h+l>=d+g?b(this.grid.bDiv)[0].scrollTop=h-(d+g)+l+g:h<d+g&&h<g&&(b(this.grid.bDiv)[0].scrollTop=h))),!0===this.p.frozenColumns&&(k=this.p.id+"_frozen"),this.p.multiselect?
139
+ (this.setHeadCheckBox(!1),this.p.selrow=a.id,g=b.inArray(this.p.selrow,this.p.selarrrow),-1===g?("ui-subgrid"!==a.className&&b(a).addClass("ui-state-highlight").attr("aria-selected","true"),d=!0,this.p.selarrrow.push(this.p.selrow)):("ui-subgrid"!==a.className&&b(a).removeClass("ui-state-highlight").attr("aria-selected","false"),d=!1,this.p.selarrrow.splice(g,1),h=this.p.selarrrow[0],this.p.selrow=void 0===h?null:h),b("#jqg_"+b.jgrid.jqID(this.p.id)+"_"+b.jgrid.jqID(a.id))[this.p.useProp?"prop":"attr"]("checked",
140
+ d),k&&(-1===g?b("#"+b.jgrid.jqID(e),"#"+b.jgrid.jqID(k)).addClass("ui-state-highlight"):b("#"+b.jgrid.jqID(e),"#"+b.jgrid.jqID(k)).removeClass("ui-state-highlight"),b("#jqg_"+b.jgrid.jqID(this.p.id)+"_"+b.jgrid.jqID(e),"#"+b.jgrid.jqID(k))[this.p.useProp?"prop":"attr"]("checked",d)),f&&(b(this).triggerHandler("jqGridSelectRow",[a.id,d,c]),this.p.onSelectRow&&this.p.onSelectRow.call(this,a.id,d,c))):"ui-subgrid"!==a.className&&(this.p.selrow!==a.id?(b(b(this).jqGrid("getGridRowById",this.p.selrow)).removeClass("ui-state-highlight").attr({"aria-selected":"false",
141
+ tabindex:"-1"}),b(a).addClass("ui-state-highlight").attr({"aria-selected":"true",tabindex:"0"}),k&&(b("#"+b.jgrid.jqID(this.p.selrow),"#"+b.jgrid.jqID(k)).removeClass("ui-state-highlight"),b("#"+b.jgrid.jqID(e),"#"+b.jgrid.jqID(k)).addClass("ui-state-highlight")),d=!0):d=!1,this.p.selrow=a.id,f&&(b(this).triggerHandler("jqGridSelectRow",[a.id,d,c]),this.p.onSelectRow&&this.p.onSelectRow.call(this,a.id,d,c)))))})},resetSelection:function(e){return this.each(function(){var f=this,c,d;!0===f.p.frozenColumns&&
142
+ (d=f.p.id+"_frozen");if(void 0!==e){c=e===f.p.selrow?f.p.selrow:e;b("#"+b.jgrid.jqID(f.p.id)+" tbody:first tr#"+b.jgrid.jqID(c)).removeClass("ui-state-highlight").attr("aria-selected","false");d&&b("#"+b.jgrid.jqID(c),"#"+b.jgrid.jqID(d)).removeClass("ui-state-highlight");if(f.p.multiselect){b("#jqg_"+b.jgrid.jqID(f.p.id)+"_"+b.jgrid.jqID(c),"#"+b.jgrid.jqID(f.p.id))[f.p.useProp?"prop":"attr"]("checked",!1);if(d)b("#jqg_"+b.jgrid.jqID(f.p.id)+"_"+b.jgrid.jqID(c),"#"+b.jgrid.jqID(d))[f.p.useProp?"prop":
143
+ "attr"]("checked",!1);f.setHeadCheckBox(!1)}c=null}else f.p.multiselect?(b(f.p.selarrrow).each(function(a,c){b(b(f).jqGrid("getGridRowById",c)).removeClass("ui-state-highlight").attr("aria-selected","false");b("#jqg_"+b.jgrid.jqID(f.p.id)+"_"+b.jgrid.jqID(c))[f.p.useProp?"prop":"attr"]("checked",!1);d&&(b("#"+b.jgrid.jqID(c),"#"+b.jgrid.jqID(d)).removeClass("ui-state-highlight"),b("#jqg_"+b.jgrid.jqID(f.p.id)+"_"+b.jgrid.jqID(c),"#"+b.jgrid.jqID(d))[f.p.useProp?"prop":"attr"]("checked",!1))}),f.setHeadCheckBox(!1),
144
+ f.p.selarrrow=[],f.p.selrow=null):f.p.selrow&&(b("#"+b.jgrid.jqID(f.p.id)+" tbody:first tr#"+b.jgrid.jqID(f.p.selrow)).removeClass("ui-state-highlight").attr("aria-selected","false"),d&&b("#"+b.jgrid.jqID(f.p.selrow),"#"+b.jgrid.jqID(d)).removeClass("ui-state-highlight"),f.p.selrow=null);!0===f.p.cellEdit&&0<=parseInt(f.p.iCol,10)&&0<=parseInt(f.p.iRow,10)&&(b("td:eq("+f.p.iCol+")",f.rows[f.p.iRow]).removeClass("edit-cell ui-state-highlight"),b(f.rows[f.p.iRow]).removeClass("selected-row ui-state-hover"));
145
+ f.p.savedRow=[]})},getRowData:function(e){var f={},c,d=!1,a,l=0;this.each(function(){var g=this,h,k;if(void 0===e)d=!0,c=[],a=g.rows.length;else{k=b(g).jqGrid("getGridRowById",e);if(!k)return f;a=2}for(;l<a;)d&&(k=g.rows[l]),b(k).hasClass("jqgrow")&&(b('td[role="gridcell"]',k).each(function(a){h=g.p.colModel[a].name;if("cb"!==h&&"subgrid"!==h&&"rn"!==h)if(!0===g.p.treeGrid&&h===g.p.ExpandColumn)f[h]=b.jgrid.htmlDecode(b("span:first",this).html());else try{f[h]=b.unformat.call(g,this,{rowId:k.id,colModel:g.p.colModel[a]},
146
+ a)}catch(c){f[h]=b.jgrid.htmlDecode(b(this).html())}}),d&&(c.push(f),f={})),l++});return c||f},delRowData:function(e){var f=!1,c,d;this.each(function(){c=b(this).jqGrid("getGridRowById",e);if(!c)return!1;b(c).remove();this.p.records--;this.p.reccount--;this.updatepager(!0,!1);f=!0;this.p.multiselect&&(d=b.inArray(e,this.p.selarrrow),-1!==d&&this.p.selarrrow.splice(d,1));this.p.selrow=this.p.multiselect&&0<this.p.selarrrow.length?this.p.selarrrow[this.p.selarrrow.length-1]:null;if("local"===this.p.datatype){var a=
147
+ b.jgrid.stripPref(this.p.idPrefix,e),a=this.p._index[a];void 0!==a&&(this.p.data.splice(a,1),this.refreshIndex())}if(!0===this.p.altRows&&f){var l=this.p.altclass;b(this.rows).each(function(a){1===a%2?b(this).addClass(l):b(this).removeClass(l)})}});return f},setRowData:function(e,f,c){var d,a=!0,l;this.each(function(){if(!this.grid)return!1;var g=this,h,k,n=typeof c,m={};k=b(this).jqGrid("getGridRowById",e);if(!k)return!1;if(f)try{if(b(this.p.colModel).each(function(a){d=this.name;var c=b.jgrid.getAccessor(f,
148
+ d);void 0!==c&&(m[d]=this.formatter&&"string"===typeof this.formatter&&"date"===this.formatter?b.unformat.date.call(g,c,this):c,h=g.formatter(e,c,a,f,"edit"),l=this.title?{title:b.jgrid.stripHtml(h)}:{},!0===g.p.treeGrid&&d===g.p.ExpandColumn?b("td[role='gridcell']:eq("+a+") > span:first",k).html(h).attr(l):b("td[role='gridcell']:eq("+a+")",k).html(h).attr(l))}),"local"===g.p.datatype){var r=b.jgrid.stripPref(g.p.idPrefix,e),p=g.p._index[r],q;if(g.p.treeGrid)for(q in g.p.treeReader)g.p.treeReader.hasOwnProperty(q)&&
149
+ delete m[g.p.treeReader[q]];void 0!==p&&(g.p.data[p]=b.extend(!0,g.p.data[p],m));m=null}}catch(x){a=!1}a&&("string"===n?b(k).addClass(c):null!==c&&"object"===n&&b(k).css(c),b(g).triggerHandler("jqGridAfterGridComplete"))});return a},addRowData:function(e,f,c,d){c||(c="last");var a=!1,l,g,h,k,n,m,r,p,q="",x,G,U,M,ea,W;f&&(b.isArray(f)?(x=!0,c="last",G=e):(f=[f],x=!1),this.each(function(){var X=f.length;n=!0===this.p.rownumbers?1:0;h=!0===this.p.multiselect?1:0;k=!0===this.p.subGrid?1:0;x||(void 0!==
150
+ e?e=String(e):(e=b.jgrid.randId(),!1!==this.p.keyIndex&&(G=this.p.colModel[this.p.keyIndex+h+k+n].name,void 0!==f[0][G]&&(e=f[0][G]))));U=this.p.altclass;for(var O=0,$="",K={},Y=b.isFunction(this.p.afterInsertRow)?!0:!1;O<X;){M=f[O];g=[];if(x){try{e=M[G],void 0===e&&(e=b.jgrid.randId())}catch(oa){e=b.jgrid.randId()}$=!0===this.p.altRows?0===(this.rows.length-1)%2?U:"":""}W=e;e=this.p.idPrefix+e;n&&(q=this.formatCol(0,1,"",null,e,!0),g[g.length]='<td role="gridcell" class="ui-state-default jqgrid-rownum" '+
151
+ q+">0</td>");h&&(p='<input role="checkbox" type="checkbox" id="jqg_'+this.p.id+"_"+e+'" class="cbox"/>',q=this.formatCol(n,1,"",null,e,!0),g[g.length]='<td role="gridcell" '+q+">"+p+"</td>");k&&(g[g.length]=b(this).jqGrid("addSubGridCell",h+n,1));for(r=h+k+n;r<this.p.colModel.length;r++)ea=this.p.colModel[r],l=ea.name,K[l]=M[l],p=this.formatter(e,b.jgrid.getAccessor(M,l),r,M),q=this.formatCol(r,1,p,M,e,K),g[g.length]='<td role="gridcell" '+q+">"+p+"</td>";g.unshift(this.constructTr(e,!1,$,K,M,!1));
152
+ g[g.length]="</tr>";if(0===this.rows.length)b("table:first",this.grid.bDiv).append(g.join(""));else switch(c){case "last":b(this.rows[this.rows.length-1]).after(g.join(""));m=this.rows.length-1;break;case "first":b(this.rows[0]).after(g.join(""));m=1;break;case "after":if(m=b(this).jqGrid("getGridRowById",d))b(this.rows[m.rowIndex+1]).hasClass("ui-subgrid")?b(this.rows[m.rowIndex+1]).after(g):b(m).after(g.join("")),m=m.rowIndex+1;break;case "before":if(m=b(this).jqGrid("getGridRowById",d))b(m).before(g.join("")),
153
+ m=m.rowIndex-1}!0===this.p.subGrid&&b(this).jqGrid("addSubGrid",h+n,m);this.p.records++;this.p.reccount++;b(this).triggerHandler("jqGridAfterInsertRow",[e,M,M]);Y&&this.p.afterInsertRow.call(this,e,M,M);O++;"local"===this.p.datatype&&(K[this.p.localReader.id]=W,this.p._index[W]=this.p.data.length,this.p.data.push(K),K={})}!0!==this.p.altRows||x||("last"===c?1===(this.rows.length-1)%2&&b(this.rows[this.rows.length-1]).addClass(U):b(this.rows).each(function(a){1===a%2?b(this).addClass(U):b(this).removeClass(U)}));
154
+ this.updatepager(!0,!0);a=!0}));return a},footerData:function(e,f,c){function d(a){for(var b in a)if(a.hasOwnProperty(b))return!1;return!0}var a,l=!1,g={},h;void 0==e&&(e="get");"boolean"!==typeof c&&(c=!0);e=e.toLowerCase();this.each(function(){var k=this,n;if(!k.grid||!k.p.footerrow||"set"===e&&d(f))return!1;l=!0;b(this.p.colModel).each(function(d){a=this.name;"set"===e?void 0!==f[a]&&(n=c?k.formatter("",f[a],d,f,"edit"):f[a],h=this.title?{title:b.jgrid.stripHtml(n)}:{},b("tr.footrow td:eq("+d+
155
+ ")",k.grid.sDiv).html(n).attr(h),l=!0):"get"===e&&(g[a]=b("tr.footrow td:eq("+d+")",k.grid.sDiv).html())})});return"get"===e?g:l},showHideCol:function(e,f){return this.each(function(){var c=this,d=!1,a=b.jgrid.cell_width?0:c.p.cellLayout,l;if(c.grid){"string"===typeof e&&(e=[e]);f="none"!==f?"":"none";var g=""===f?!0:!1,h=c.p.groupHeader&&("object"===typeof c.p.groupHeader||b.isFunction(c.p.groupHeader));h&&b(c).jqGrid("destroyGroupHeader",!1);b(this.p.colModel).each(function(h){if(-1!==b.inArray(this.name,
156
+ e)&&this.hidden===g){if(!0===c.p.frozenColumns&&!0===this.frozen)return!0;b("tr[role=rowheader]",c.grid.hDiv).each(function(){b(this.cells[h]).css("display",f)});b(c.rows).each(function(){b(this).hasClass("jqgroup")||b(this.cells[h]).css("display",f)});c.p.footerrow&&b("tr.footrow td:eq("+h+")",c.grid.sDiv).css("display",f);l=parseInt(this.width,10);c.p.tblwidth="none"===f?c.p.tblwidth-(l+a):c.p.tblwidth+(l+a);this.hidden=!g;d=!0;b(c).triggerHandler("jqGridShowHideCol",[g,this.name,h])}});!0===d&&
157
+ (!0!==c.p.shrinkToFit||isNaN(c.p.height)||(c.p.tblwidth+=parseInt(c.p.scrollOffset,10)),b(c).jqGrid("setGridWidth",!0===c.p.shrinkToFit?c.p.tblwidth:c.p.width));h&&b(c).jqGrid("setGroupHeaders",c.p.groupHeader)}})},hideCol:function(e){return this.each(function(){b(this).jqGrid("showHideCol",e,"none")})},showCol:function(e){return this.each(function(){b(this).jqGrid("showHideCol",e,"")})},remapColumns:function(e,f,c){function d(a){var c;c=a.length?b.makeArray(a):b.extend({},a);b.each(e,function(b){a[b]=
158
+ c[this]})}function a(a,c){b(">tr"+(c||""),a).each(function(){var a=this,c=b.makeArray(a.cells);b.each(e,function(){var b=c[this];b&&a.appendChild(b)})})}var l=this.get(0);d(l.p.colModel);d(l.p.colNames);d(l.grid.headers);a(b("thead:first",l.grid.hDiv),c&&":not(.ui-jqgrid-labels)");f&&a(b("#"+b.jgrid.jqID(l.p.id)+" tbody:first"),".jqgfirstrow, tr.jqgrow, tr.jqfoot");l.p.footerrow&&a(b("tbody:first",l.grid.sDiv));l.p.remapColumns&&(l.p.remapColumns.length?d(l.p.remapColumns):l.p.remapColumns=b.makeArray(e));
159
+ l.p.lastsort=b.inArray(l.p.lastsort,e);l.p.treeGrid&&(l.p.expColInd=b.inArray(l.p.expColInd,e));b(l).triggerHandler("jqGridRemapColumns",[e,f,c])},setGridWidth:function(e,f){return this.each(function(){if(this.grid){var c=this,d,a=0,l=b.jgrid.cell_width?0:c.p.cellLayout,g,h=0,k=!1,n=c.p.scrollOffset,m,r=0,p;"boolean"!==typeof f&&(f=c.p.shrinkToFit);if(!isNaN(e)){e=parseInt(e,10);c.grid.width=c.p.width=e;b("#gbox_"+b.jgrid.jqID(c.p.id)).css("width",e+"px");b("#gview_"+b.jgrid.jqID(c.p.id)).css("width",
160
+ e+"px");b(c.grid.bDiv).css("width",e+"px");b(c.grid.hDiv).css("width",e+"px");c.p.pager&&b(c.p.pager).css("width",e+"px");c.p.toppager&&b(c.p.toppager).css("width",e+"px");!0===c.p.toolbar[0]&&(b(c.grid.uDiv).css("width",e+"px"),"both"===c.p.toolbar[1]&&b(c.grid.ubDiv).css("width",e+"px"));c.p.footerrow&&b(c.grid.sDiv).css("width",e+"px");!1===f&&!0===c.p.forceFit&&(c.p.forceFit=!1);if(!0===f){b.each(c.p.colModel,function(){!1===this.hidden&&(d=this.widthOrg,a+=d+l,this.fixed?r+=d+l:h++)});if(0===
161
+ h)return;c.p.tblwidth=a;m=e-l*h-r;!isNaN(c.p.height)&&(b(c.grid.bDiv)[0].clientHeight<b(c.grid.bDiv)[0].scrollHeight||1===c.rows.length)&&(k=!0,m-=n);var a=0,q=0<c.grid.cols.length;b.each(c.p.colModel,function(b){!1!==this.hidden||this.fixed||(d=this.widthOrg,d=Math.round(m*d/(c.p.tblwidth-l*h-r)),0>d||(this.width=d,a+=d,c.grid.headers[b].width=d,c.grid.headers[b].el.style.width=d+"px",c.p.footerrow&&(c.grid.footers[b].style.width=d+"px"),q&&(c.grid.cols[b].style.width=d+"px"),g=b))});if(!g)return;
162
+ p=0;k?e-r-(a+l*h)!==n&&(p=e-r-(a+l*h)-n):1!==Math.abs(e-r-(a+l*h))&&(p=e-r-(a+l*h));c.p.colModel[g].width+=p;c.p.tblwidth=a+p+l*h+r;c.p.tblwidth>e?(k=c.p.tblwidth-parseInt(e,10),c.p.tblwidth=e,d=c.p.colModel[g].width-=k):d=c.p.colModel[g].width;c.grid.headers[g].width=d;c.grid.headers[g].el.style.width=d+"px";q&&(c.grid.cols[g].style.width=d+"px");c.p.footerrow&&(c.grid.footers[g].style.width=d+"px")}c.p.tblwidth&&(b("table:first",c.grid.bDiv).css("width",c.p.tblwidth+"px"),b("table:first",c.grid.hDiv).css("width",
163
+ c.p.tblwidth+"px"),c.grid.hDiv.scrollLeft=c.grid.bDiv.scrollLeft,c.p.footerrow&&b("table:first",c.grid.sDiv).css("width",c.p.tblwidth+"px"))}}})},setGridHeight:function(e){return this.each(function(){if(this.grid){var f=b(this.grid.bDiv);f.css({height:e+(isNaN(e)?"":"px")});!0===this.p.frozenColumns&&b("#"+b.jgrid.jqID(this.p.id)+"_frozen").parent().height(f.height()-16);this.p.height=e;this.p.scroll&&this.grid.populateVisible()}})},setCaption:function(e){return this.each(function(){this.p.caption=
164
+ e;b("span.ui-jqgrid-title, span.ui-jqgrid-title-rtl",this.grid.cDiv).html(e);b(this.grid.cDiv).show()})},setLabel:function(e,f,c,d){return this.each(function(){var a=-1;if(this.grid&&void 0!==e&&(b(this.p.colModel).each(function(b){if(this.name===e)return a=b,!1}),0<=a)){var l=b("tr.ui-jqgrid-labels th:eq("+a+")",this.grid.hDiv);if(f){var g=b(".s-ico",l);b("[id^=jqgh_]",l).empty().html(f).append(g);this.p.colNames[a]=f}c&&("string"===typeof c?b(l).addClass(c):b(l).css(c));"object"===typeof d&&b(l).attr(d)}})},
165
+ setCell:function(e,f,c,d,a,l){return this.each(function(){var g=-1,h,k;if(this.grid&&(isNaN(f)?b(this.p.colModel).each(function(a){if(this.name===f)return g=a,!1}):g=parseInt(f,10),0<=g&&(h=b(this).jqGrid("getGridRowById",e)))){var n=b("td:eq("+g+")",h);if(""!==c||!0===l)h=this.formatter(e,c,g,h,"edit"),k=this.p.colModel[g].title?{title:b.jgrid.stripHtml(h)}:{},this.p.treeGrid&&0<b(".tree-wrap",b(n)).length?b("span",b(n)).html(h).attr(k):b(n).html(h).attr(k),"local"===this.p.datatype&&(h=this.p.colModel[g],
166
+ c=h.formatter&&"string"===typeof h.formatter&&"date"===h.formatter?b.unformat.date.call(this,c,h):c,k=this.p._index[b.jgrid.stripPref(this.p.idPrefix,e)],void 0!==k&&(this.p.data[k][h.name]=c));"string"===typeof d?b(n).addClass(d):d&&b(n).css(d);"object"===typeof a&&b(n).attr(a)}})},getCell:function(e,f){var c=!1;this.each(function(){var d=-1;if(this.grid&&(isNaN(f)?b(this.p.colModel).each(function(a){if(this.name===f)return d=a,!1}):d=parseInt(f,10),0<=d)){var a=b(this).jqGrid("getGridRowById",e);
167
+ if(a)try{c=b.unformat.call(this,b("td:eq("+d+")",a),{rowId:a.id,colModel:this.p.colModel[d]},d)}catch(l){c=b.jgrid.htmlDecode(b("td:eq("+d+")",a).html())}}});return c},getCol:function(e,f,c){var d=[],a,l=0,g,h,k;f="boolean"!==typeof f?!1:f;void 0===c&&(c=!1);this.each(function(){var n=-1;if(this.grid&&(isNaN(e)?b(this.p.colModel).each(function(a){if(this.name===e)return n=a,!1}):n=parseInt(e,10),0<=n)){var m=this.rows.length,r=0,p=0;if(m&&0<m){for(;r<m;){if(b(this.rows[r]).hasClass("jqgrow")){try{a=
168
+ b.unformat.call(this,b(this.rows[r].cells[n]),{rowId:this.rows[r].id,colModel:this.p.colModel[n]},n)}catch(q){a=b.jgrid.htmlDecode(this.rows[r].cells[n].innerHTML)}c?(k=parseFloat(a),isNaN(k)||(l+=k,void 0===h&&(h=g=k),g=Math.min(g,k),h=Math.max(h,k),p++)):f?d.push({id:this.rows[r].id,value:a}):d.push(a)}r++}if(c)switch(c.toLowerCase()){case "sum":d=l;break;case "avg":d=l/p;break;case "count":d=m-1;break;case "min":d=g;break;case "max":d=h}}}});return d},clearGridData:function(e){return this.each(function(){if(this.grid){"boolean"!==
169
+ typeof e&&(e=!1);if(this.p.deepempty)b("#"+b.jgrid.jqID(this.p.id)+" tbody:first tr:gt(0)").remove();else{var f=b("#"+b.jgrid.jqID(this.p.id)+" tbody:first tr:first")[0];b("#"+b.jgrid.jqID(this.p.id)+" tbody:first").empty().append(f)}this.p.footerrow&&e&&b(".ui-jqgrid-ftable td",this.grid.sDiv).html("&#160;");this.p.selrow=null;this.p.selarrrow=[];this.p.savedRow=[];this.p.records=0;this.p.page=1;this.p.lastpage=0;this.p.reccount=0;this.p.data=[];this.p._index={};this.updatepager(!0,!1)}})},getInd:function(e,
170
+ f){var c=!1,d;this.each(function(){(d=b(this).jqGrid("getGridRowById",e))&&(c=!0===f?d:d.rowIndex)});return c},bindKeys:function(e){var f=b.extend({onEnter:null,onSpace:null,onLeftKey:null,onRightKey:null,scrollingRows:!0},e||{});return this.each(function(){var c=this;b("body").is("[role]")||b("body").attr("role","application");c.p.scrollrows=f.scrollingRows;b(c).keydown(function(d){var a=b(c).find("tr[tabindex=0]")[0],e,g,h,k=c.p.treeReader.expanded_field;if(a)if(h=c.p._index[b.jgrid.stripPref(c.p.idPrefix,
171
+ a.id)],37===d.keyCode||38===d.keyCode||39===d.keyCode||40===d.keyCode){if(38===d.keyCode){g=a.previousSibling;e="";if(g)if(b(g).is(":hidden"))for(;g;){if(g=g.previousSibling,!b(g).is(":hidden")&&b(g).hasClass("jqgrow")){e=g.id;break}}else e=g.id;b(c).jqGrid("setSelection",e,!0,d);d.preventDefault()}if(40===d.keyCode){g=a.nextSibling;e="";if(g)if(b(g).is(":hidden"))for(;g;){if(g=g.nextSibling,!b(g).is(":hidden")&&b(g).hasClass("jqgrow")){e=g.id;break}}else e=g.id;b(c).jqGrid("setSelection",e,!0,d);
172
+ d.preventDefault()}37===d.keyCode&&(c.p.treeGrid&&c.p.data[h][k]&&b(a).find("div.treeclick").trigger("click"),b(c).triggerHandler("jqGridKeyLeft",[c.p.selrow]),b.isFunction(f.onLeftKey)&&f.onLeftKey.call(c,c.p.selrow));39===d.keyCode&&(c.p.treeGrid&&!c.p.data[h][k]&&b(a).find("div.treeclick").trigger("click"),b(c).triggerHandler("jqGridKeyRight",[c.p.selrow]),b.isFunction(f.onRightKey)&&f.onRightKey.call(c,c.p.selrow))}else 13===d.keyCode?(b(c).triggerHandler("jqGridKeyEnter",[c.p.selrow]),b.isFunction(f.onEnter)&&
173
+ f.onEnter.call(c,c.p.selrow)):32===d.keyCode&&(b(c).triggerHandler("jqGridKeySpace",[c.p.selrow]),b.isFunction(f.onSpace)&&f.onSpace.call(c,c.p.selrow))})})},unbindKeys:function(){return this.each(function(){b(this).unbind("keydown")})},getLocalRow:function(e){var f=!1,c;this.each(function(){void 0!==e&&(c=this.p._index[b.jgrid.stripPref(this.p.idPrefix,e)],0<=c&&(f=this.p.data[c]))});return f}})})(jQuery);
174
+ (function(a){a.fmatter={};a.extend(a.fmatter,{isBoolean:function(a){return"boolean"===typeof a},isObject:function(c){return c&&("object"===typeof c||a.isFunction(c))||!1},isString:function(a){return"string"===typeof a},isNumber:function(a){return"number"===typeof a&&isFinite(a)},isValue:function(a){return this.isObject(a)||this.isString(a)||this.isNumber(a)||this.isBoolean(a)},isEmpty:function(c){if(!this.isString(c)&&this.isValue(c))return!1;if(!this.isValue(c))return!0;c=a.trim(c).replace(/\&nbsp\;/ig,
175
+ "").replace(/\&#160\;/ig,"");return""===c}});a.fn.fmatter=function(c,b,d,e,f){var g=b;d=a.extend({},a.jgrid.formatter,d);try{g=a.fn.fmatter[c].call(this,b,d,e,f)}catch(h){}return g};a.fmatter.util={NumberFormat:function(c,b){a.fmatter.isNumber(c)||(c*=1);if(a.fmatter.isNumber(c)){var d=0>c,e=String(c),f=b.decimalSeparator||".",g;if(a.fmatter.isNumber(b.decimalPlaces)){var h=b.decimalPlaces,e=Math.pow(10,h),e=String(Math.round(c*e)/e);g=e.lastIndexOf(".");if(0<h)for(0>g?(e+=f,g=e.length-1):"."!==f&&
176
+ (e=e.replace(".",f));e.length-1-g<h;)e+="0"}if(b.thousandsSeparator){h=b.thousandsSeparator;g=e.lastIndexOf(f);g=-1<g?g:e.length;var f=e.substring(g),l=-1,k;for(k=g;0<k;k--)l++,0===l%3&&k!==g&&(!d||1<k)&&(f=h+f),f=e.charAt(k-1)+f;e=f}e=b.prefix?b.prefix+e:e;return e=b.suffix?e+b.suffix:e}return c}};a.fn.fmatter.defaultFormat=function(c,b){return a.fmatter.isValue(c)&&""!==c?c:b.defaultValue||"&#160;"};a.fn.fmatter.email=function(c,b){return a.fmatter.isEmpty(c)?a.fn.fmatter.defaultFormat(c,b):'<a href="mailto:'+
177
+ c+'">'+c+"</a>"};a.fn.fmatter.checkbox=function(c,b){var d=a.extend({},b.checkbox),e;void 0!==b.colModel&&void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));e=!0===d.disabled?'disabled="disabled"':"";if(a.fmatter.isEmpty(c)||void 0===c)c=a.fn.fmatter.defaultFormat(c,d);c=String(c);c=(c+"").toLowerCase();return'<input type="checkbox" '+(0>c.search(/(false|f|0|no|n|off|undefined)/i)?" checked='checked' ":"")+' value="'+c+'" offval="no" '+e+"/>"};a.fn.fmatter.link=function(c,
178
+ b){var d={target:b.target},e="";void 0!==b.colModel&&void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));d.target&&(e="target="+d.target);return a.fmatter.isEmpty(c)?a.fn.fmatter.defaultFormat(c,b):"<a "+e+' href="'+c+'">'+c+"</a>"};a.fn.fmatter.showlink=function(c,b){var d={baseLinkUrl:b.baseLinkUrl,showAction:b.showAction,addParam:b.addParam||"",target:b.target,idName:b.idName},e="";void 0!==b.colModel&&void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));
179
+ d.target&&(e="target="+d.target);d=d.baseLinkUrl+d.showAction+"?"+d.idName+"="+b.rowId+d.addParam;return a.fmatter.isString(c)||a.fmatter.isNumber(c)?"<a "+e+' href="'+d+'">'+c+"</a>":a.fn.fmatter.defaultFormat(c,b)};a.fn.fmatter.integer=function(c,b){var d=a.extend({},b.integer);void 0!==b.colModel&&void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));return a.fmatter.isEmpty(c)?d.defaultValue:a.fmatter.util.NumberFormat(c,d)};a.fn.fmatter.number=function(c,b){var d=a.extend({},
180
+ b.number);void 0!==b.colModel&&void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));return a.fmatter.isEmpty(c)?d.defaultValue:a.fmatter.util.NumberFormat(c,d)};a.fn.fmatter.currency=function(c,b){var d=a.extend({},b.currency);void 0!==b.colModel&&void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));return a.fmatter.isEmpty(c)?d.defaultValue:a.fmatter.util.NumberFormat(c,d)};a.fn.fmatter.date=function(c,b,d,e){d=a.extend({},b.date);void 0!==b.colModel&&
181
+ void 0!==b.colModel.formatoptions&&(d=a.extend({},d,b.colModel.formatoptions));return d.reformatAfterEdit||"edit"!==e?a.fmatter.isEmpty(c)?a.fn.fmatter.defaultFormat(c,b):a.jgrid.parseDate(d.srcformat,c,d.newformat,d):a.fn.fmatter.defaultFormat(c,b)};a.fn.fmatter.select=function(c,b){c=String(c);var d=!1,e=[],f,g;void 0!==b.colModel.formatoptions?(d=b.colModel.formatoptions.value,f=void 0===b.colModel.formatoptions.separator?":":b.colModel.formatoptions.separator,g=void 0===b.colModel.formatoptions.delimiter?
182
+ ";":b.colModel.formatoptions.delimiter):void 0!==b.colModel.editoptions&&(d=b.colModel.editoptions.value,f=void 0===b.colModel.editoptions.separator?":":b.colModel.editoptions.separator,g=void 0===b.colModel.editoptions.delimiter?";":b.colModel.editoptions.delimiter);if(d){var h=!0===b.colModel.editoptions.multiple?!0:!1,l=[];h&&(l=c.split(","),l=a.map(l,function(b){return a.trim(b)}));if(a.fmatter.isString(d)){var k=d.split(g),m=0,n;for(n=0;n<k.length;n++)if(g=k[n].split(f),2<g.length&&(g[1]=a.map(g,
183
+ function(a,b){if(0<b)return a}).join(f)),h)-1<a.inArray(g[0],l)&&(e[m]=g[1],m++);else if(a.trim(g[0])===a.trim(c)){e[0]=g[1];break}}else a.fmatter.isObject(d)&&(h?e=a.map(l,function(a){return d[a]}):e[0]=d[c]||"")}c=e.join(", ");return""===c?a.fn.fmatter.defaultFormat(c,b):c};a.fn.fmatter.rowactions=function(c){var b=a(this).closest("tr.jqgrow"),d=b.attr("id"),e=a(this).closest("table.ui-jqgrid-btable").attr("id").replace(/_frozen([^_]*)$/,"$1"),e=a("#"+e),f=e[0],g=f.p,h=g.colModel[a.jgrid.getCellIndex(this)],
184
+ l=h.frozen?a("tr#"+d+" td:eq("+a.jgrid.getCellIndex(this)+") > div",e):a(this).parent(),k={extraparam:{}},m=function(b){a.isFunction(k.afterRestore)&&k.afterRestore.call(f,b);l.find("div.ui-inline-edit,div.ui-inline-del").show();l.find("div.ui-inline-save,div.ui-inline-cancel").hide()};void 0!==h.formatoptions&&(k=a.extend(k,h.formatoptions));void 0!==g.editOptions&&(k.editOptions=g.editOptions);void 0!==g.delOptions&&(k.delOptions=g.delOptions);b.hasClass("jqgrid-new-row")&&(k.extraparam[g.prmNames.oper]=
185
+ g.prmNames.addoper);b={keys:k.keys,oneditfunc:k.onEdit,successfunc:k.onSuccess,url:k.url,extraparam:k.extraparam,aftersavefunc:function(b,c){a.isFunction(k.afterSave)&&k.afterSave.call(f,b,c);l.find("div.ui-inline-edit,div.ui-inline-del").show();l.find("div.ui-inline-save,div.ui-inline-cancel").hide()},errorfunc:k.onError,afterrestorefunc:m,restoreAfterError:k.restoreAfterError,mtype:k.mtype};switch(c){case "edit":e.jqGrid("editRow",d,b);l.find("div.ui-inline-edit,div.ui-inline-del").hide();l.find("div.ui-inline-save,div.ui-inline-cancel").show();
186
+ e.triggerHandler("jqGridAfterGridComplete");break;case "save":e.jqGrid("saveRow",d,b)&&(l.find("div.ui-inline-edit,div.ui-inline-del").show(),l.find("div.ui-inline-save,div.ui-inline-cancel").hide(),e.triggerHandler("jqGridAfterGridComplete"));break;case "cancel":e.jqGrid("restoreRow",d,m);l.find("div.ui-inline-edit,div.ui-inline-del").show();l.find("div.ui-inline-save,div.ui-inline-cancel").hide();e.triggerHandler("jqGridAfterGridComplete");break;case "del":e.jqGrid("delGridRow",d,k.delOptions);
187
+ break;case "formedit":e.jqGrid("setSelection",d),e.jqGrid("editGridRow",d,k.editOptions)}};a.fn.fmatter.actions=function(c,b){var d={keys:!1,editbutton:!0,delbutton:!0,editformbutton:!1},e=b.rowId,f="";void 0!==b.colModel.formatoptions&&(d=a.extend(d,b.colModel.formatoptions));if(void 0===e||a.fmatter.isEmpty(e))return"";d.editformbutton?f+="<div title='"+a.jgrid.nav.edittitle+"' style='float:left;cursor:pointer;' class='ui-pg-div ui-inline-edit' "+("id='jEditButton_"+e+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'formedit'); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover'); ")+
188
+ "><span class='ui-icon ui-icon-pencil'></span></div>":d.editbutton&&(f+="<div title='"+a.jgrid.nav.edittitle+"' style='float:left;cursor:pointer;' class='ui-pg-div ui-inline-edit' "+("id='jEditButton_"+e+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'edit'); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover') ")+"><span class='ui-icon ui-icon-pencil'></span></div>");d.delbutton&&(f+="<div title='"+a.jgrid.nav.deltitle+"' style='float:left;margin-left:5px;' class='ui-pg-div ui-inline-del' "+
189
+ ("id='jDeleteButton_"+e+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'del'); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover'); ")+"><span class='ui-icon ui-icon-trash'></span></div>");f+="<div title='"+a.jgrid.edit.bSubmit+"' style='float:left;display:none' class='ui-pg-div ui-inline-save' "+("id='jSaveButton_"+e+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'save'); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover'); ")+
190
+ "><span class='ui-icon ui-icon-disk'></span></div>";f+="<div title='"+a.jgrid.edit.bCancel+"' style='float:left;display:none;margin-left:5px;' class='ui-pg-div ui-inline-cancel' "+("id='jCancelButton_"+e+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'cancel'); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover'); ")+"><span class='ui-icon ui-icon-cancel'></span></div>";return"<div style='margin-left:8px;'>"+f+"</div>"};a.unformat=function(c,
191
+ b,d,e){var f,g=b.colModel.formatter,h=b.colModel.formatoptions||{},l=/([\.\*\_\'\(\)\{\}\+\?\\])/g,k=b.colModel.unformat||a.fn.fmatter[g]&&a.fn.fmatter[g].unformat;if(void 0!==k&&a.isFunction(k))f=k.call(this,a(c).text(),b,c);else if(void 0!==g&&a.fmatter.isString(g))switch(f=a.jgrid.formatter||{},g){case "integer":h=a.extend({},f.integer,h);b=h.thousandsSeparator.replace(l,"\\$1");b=RegExp(b,"g");f=a(c).text().replace(b,"");break;case "number":h=a.extend({},f.number,h);b=h.thousandsSeparator.replace(l,
192
+ "\\$1");b=RegExp(b,"g");f=a(c).text().replace(b,"").replace(h.decimalSeparator,".");break;case "currency":h=a.extend({},f.currency,h);b=h.thousandsSeparator.replace(l,"\\$1");b=RegExp(b,"g");f=a(c).text();h.prefix&&h.prefix.length&&(f=f.substr(h.prefix.length));h.suffix&&h.suffix.length&&(f=f.substr(0,f.length-h.suffix.length));f=f.replace(b,"").replace(h.decimalSeparator,".");break;case "checkbox":h=b.colModel.editoptions?b.colModel.editoptions.value.split(":"):["Yes","No"];f=a("input",c).is(":checked")?
193
+ h[0]:h[1];break;case "select":f=a.unformat.select(c,b,d,e);break;case "actions":return"";default:f=a(c).text()}return void 0!==f?f:!0===e?a(c).text():a.jgrid.htmlDecode(a(c).html())};a.unformat.select=function(c,b,d,e){d=[];c=a(c).text();if(!0===e)return c;e=a.extend({},void 0!==b.colModel.formatoptions?b.colModel.formatoptions:b.colModel.editoptions);b=void 0===e.separator?":":e.separator;var f=void 0===e.delimiter?";":e.delimiter;if(e.value){var g=e.value;e=!0===e.multiple?!0:!1;var h=[];e&&(h=
194
+ c.split(","),h=a.map(h,function(b){return a.trim(b)}));if(a.fmatter.isString(g)){var l=g.split(f),k=0,m;for(m=0;m<l.length;m++)if(f=l[m].split(b),2<f.length&&(f[1]=a.map(f,function(a,b){if(0<b)return a}).join(b)),e)-1<a.inArray(f[1],h)&&(d[k]=f[0],k++);else if(a.trim(f[1])===a.trim(c)){d[0]=f[0];break}}else if(a.fmatter.isObject(g)||a.isArray(g))e||(h[0]=c),d=a.map(h,function(b){var c;a.each(g,function(a,d){if(d===b)return c=a,!1});if(void 0!==c)return c});return d.join(", ")}return c||""};a.unformat.date=
195
+ function(c,b){var d=a.jgrid.formatter.date||{};void 0!==b.formatoptions&&(d=a.extend({},d,b.formatoptions));return a.fmatter.isEmpty(c)?a.fn.fmatter.defaultFormat(c,b):a.jgrid.parseDate(d.newformat,c,d.srcformat,d)}})(jQuery);
196
+ (function(a){a.jgrid.extend({getColProp:function(a){var c={},d=this[0];if(!d.grid)return!1;var d=d.p.colModel,h;for(h=0;h<d.length;h++)if(d[h].name===a){c=d[h];break}return c},setColProp:function(b,c){return this.each(function(){if(this.grid&&c){var d=this.p.colModel,h;for(h=0;h<d.length;h++)if(d[h].name===b){a.extend(!0,this.p.colModel[h],c);break}}})},sortGrid:function(a,c,d){return this.each(function(){var h=-1,k,e=!1;if(this.grid){a||(a=this.p.sortname);for(k=0;k<this.p.colModel.length;k++)if(this.p.colModel[k].index===
197
+ a||this.p.colModel[k].name===a){h=k;!0===this.p.frozenColumns&&!0===this.p.colModel[k].frozen&&(e=this.grid.fhDiv.find("#"+this.p.id+"_"+a));break}-1!==h&&(k=this.p.colModel[h].sortable,e||(e=this.grid.headers[h].el),"boolean"!==typeof k&&(k=!0),"boolean"!==typeof c&&(c=!1),k&&this.sortData("jqgh_"+this.p.id+"_"+a,h,c,d,e))}})},clearBeforeUnload:function(){return this.each(function(){var b=this.grid;a.isFunction(b.emptyRows)&&b.emptyRows.call(this,!0,!0);a(document).unbind("mouseup.jqGrid"+this.p.id);
198
+ a(b.hDiv).unbind("mousemove");a(this).unbind();b.dragEnd=null;b.dragMove=null;b.dragStart=null;b.emptyRows=null;b.populate=null;b.populateVisible=null;b.scrollGrid=null;b.selectionPreserver=null;b.bDiv=null;b.cDiv=null;b.hDiv=null;b.cols=null;var c,d=b.headers.length;for(c=0;c<d;c++)b.headers[c].el=null;this.grid=this.addJSONData=this.addXmlData=this.formatter=this.constructTr=this.setHeadCheckBox=this.refreshIndex=this.updatepager=this.sortData=this.formatCol=null})},GridDestroy:function(){return this.each(function(){if(this.grid){this.p.pager&&
199
+ a(this.p.pager).remove();try{a(this).jqGrid("clearBeforeUnload"),a("#gbox_"+a.jgrid.jqID(this.id)).remove()}catch(b){}}})},GridUnload:function(){return this.each(function(){if(this.grid){var b=a(this).attr("id"),c=a(this).attr("class");this.p.pager&&a(this.p.pager).empty().removeClass("ui-state-default ui-jqgrid-pager ui-corner-bottom");var d=document.createElement("table");a(d).attr({id:b});d.className=c;b=a.jgrid.jqID(this.id);a(d).removeClass("ui-jqgrid-btable");1===a(this.p.pager).parents("#gbox_"+
200
+ b).length?(a(d).insertBefore("#gbox_"+b).show(),a(this.p.pager).insertBefore("#gbox_"+b)):a(d).insertBefore("#gbox_"+b).show();a(this).jqGrid("clearBeforeUnload");a("#gbox_"+b).remove()}})},setGridState:function(b){return this.each(function(){this.grid&&("hidden"===b?(a(".ui-jqgrid-bdiv, .ui-jqgrid-hdiv","#gview_"+a.jgrid.jqID(this.p.id)).slideUp("fast"),this.p.pager&&a(this.p.pager).slideUp("fast"),this.p.toppager&&a(this.p.toppager).slideUp("fast"),!0===this.p.toolbar[0]&&("both"===this.p.toolbar[1]&&
201
+ a(this.grid.ubDiv).slideUp("fast"),a(this.grid.uDiv).slideUp("fast")),this.p.footerrow&&a(".ui-jqgrid-sdiv","#gbox_"+a.jgrid.jqID(this.p.id)).slideUp("fast"),a(".ui-jqgrid-titlebar-close span",this.grid.cDiv).removeClass("ui-icon-circle-triangle-n").addClass("ui-icon-circle-triangle-s"),this.p.gridstate="hidden"):"visible"===b&&(a(".ui-jqgrid-hdiv, .ui-jqgrid-bdiv","#gview_"+a.jgrid.jqID(this.p.id)).slideDown("fast"),this.p.pager&&a(this.p.pager).slideDown("fast"),this.p.toppager&&a(this.p.toppager).slideDown("fast"),
202
+ !0===this.p.toolbar[0]&&("both"===this.p.toolbar[1]&&a(this.grid.ubDiv).slideDown("fast"),a(this.grid.uDiv).slideDown("fast")),this.p.footerrow&&a(".ui-jqgrid-sdiv","#gbox_"+a.jgrid.jqID(this.p.id)).slideDown("fast"),a(".ui-jqgrid-titlebar-close span",this.grid.cDiv).removeClass("ui-icon-circle-triangle-s").addClass("ui-icon-circle-triangle-n"),this.p.gridstate="visible"))})},filterToolbar:function(b){b=a.extend({autosearch:!0,searchOnEnter:!0,beforeSearch:null,afterSearch:null,beforeClear:null,afterClear:null,
203
+ searchurl:"",stringResult:!1,groupOp:"AND",defaultSearch:"bw",searchOperators:!1,resetIcon:"x",operands:{eq:"==",ne:"!",lt:"<",le:"<=",gt:">",ge:">=",bw:"^",bn:"!^","in":"=",ni:"!=",ew:"|",en:"!@",cn:"~",nc:"!~",nu:"#",nn:"!#"}},a.jgrid.search,b||{});return this.each(function(){var c=this;if(!this.ftoolbar){var d=function(){var d={},f=0,g,m,e={},q;a.each(c.p.colModel,function(){var l=a("#gs_"+a.jgrid.jqID(this.name),!0===this.frozen&&!0===c.p.frozenColumns?c.grid.fhDiv:c.grid.hDiv);m=this.index||
204
+ this.name;q=b.searchOperators?l.parent().prev().children("a").attr("soper")||b.defaultSearch:this.searchoptions&&this.searchoptions.sopt?this.searchoptions.sopt[0]:"select"===this.stype?"eq":b.defaultSearch;if((g="custom"===this.stype&&a.isFunction(this.searchoptions.custom_value)&&0<l.length&&"SPAN"===l[0].nodeName.toUpperCase()?this.searchoptions.custom_value.call(c,l.children(".customelement:first"),"get"):l.val())||"nu"===q||"nn"===q)d[m]=g,e[m]=q,f++;else try{delete c.p.postData[m]}catch(k){}});
205
+ var k=0<f?!0:!1;if(!0===b.stringResult||"local"===c.p.datatype){var l='{"groupOp":"'+b.groupOp+'","rules":[',n=0;a.each(d,function(a,b){0<n&&(l+=",");l+='{"field":"'+a+'",';l+='"op":"'+e[a]+'",';l+='"data":"'+(b+"").replace(/\\/g,"\\\\").replace(/\"/g,'\\"')+'"}';n++});l+="]}";a.extend(c.p.postData,{filters:l});a.each(["searchField","searchString","searchOper"],function(a,b){c.p.postData.hasOwnProperty(b)&&delete c.p.postData[b]})}else a.extend(c.p.postData,d);var r;c.p.searchurl&&(r=c.p.url,a(c).jqGrid("setGridParam",
206
+ {url:c.p.searchurl}));var h="stop"===a(c).triggerHandler("jqGridToolbarBeforeSearch")?!0:!1;!h&&a.isFunction(b.beforeSearch)&&(h=b.beforeSearch.call(c));h||a(c).jqGrid("setGridParam",{search:k}).trigger("reloadGrid",[{page:1}]);r&&a(c).jqGrid("setGridParam",{url:r});a(c).triggerHandler("jqGridToolbarAfterSearch");a.isFunction(b.afterSearch)&&b.afterSearch.call(c)},h=function(e,f,g){a("#sopt_menu").remove();f=parseInt(f,10);g=parseInt(g,10)+18;f='<ul id="sopt_menu" class="ui-search-menu" role="menu" tabindex="0" style="font-size:'+
207
+ (a(".ui-jqgrid-view").css("font-size")||"11px")+";left:"+f+"px;top:"+g+'px;">';g=a(e).attr("soper");var k,h=[],q,p=0,l=a(e).attr("colname");for(k=c.p.colModel.length;p<k&&c.p.colModel[p].name!==l;)p++;p=c.p.colModel[p];l=a.extend({},p.searchoptions);l.sopt||(l.sopt=[],l.sopt[0]="select"===p.stype?"eq":b.defaultSearch);a.each(b.odata,function(){h.push(this.oper)});for(p=0;p<l.sopt.length;p++)q=a.inArray(l.sopt[p],h),-1!==q&&(k=g===b.odata[q].oper?"ui-state-highlight":"",f+='<li class="ui-menu-item '+
208
+ k+'" role="presentation"><a class="ui-corner-all g-menu-item" tabindex="0" role="menuitem" value="'+b.odata[q].oper+'" oper="'+b.operands[b.odata[q].oper]+'"><table cellspacing="0" cellpadding="0" border="0"><tr><td width="25px">'+b.operands[b.odata[q].oper]+"</td><td>"+b.odata[q].text+"</td></tr></table></a></li>");f+="</ul>";a("body").append(f);a("#sopt_menu").addClass("ui-menu ui-widget ui-widget-content ui-corner-all");a("#sopt_menu > li > a").hover(function(){a(this).addClass("ui-state-hover")},
209
+ function(){a(this).removeClass("ui-state-hover")}).click(function(f){f=a(this).attr("value");var g=a(this).attr("oper");a(c).triggerHandler("jqGridToolbarSelectOper",[f,g,e]);a("#sopt_menu").hide();a(e).text(g).attr("soper",f);!0===b.autosearch&&(g=a(e).parent().next().children()[0],(a(g).val()||"nu"===f||"nn"===f)&&d())})},k=a("<tr class='ui-search-toolbar' role='rowheader'></tr>"),e;a.each(c.p.colModel,function(h){var f=this,g,m;m="";var x="=",q,p=a("<th role='columnheader' class='ui-state-default ui-th-column ui-th-"+
210
+ c.p.direction+"'></th>"),l=a("<div style='position:relative;height:100%;padding-right:0.3em;padding-left:0.3em;'></div>"),n=a("<table class='ui-search-table' cellspacing='0'><tr><td class='ui-search-oper'></td><td class='ui-search-input'></td><td class='ui-search-clear'></td></tr></table>");!0===this.hidden&&a(p).css("display","none");this.search=!1===this.search?!1:!0;void 0===this.stype&&(this.stype="text");g=a.extend({},this.searchoptions||{});if(this.search){if(b.searchOperators){m=g.sopt?g.sopt[0]:
211
+ "select"===f.stype?"eq":b.defaultSearch;for(q=0;q<b.odata.length;q++)if(b.odata[q].oper===m){x=b.operands[m]||"";break}m="<a title='"+(null!=g.searchtitle?g.searchtitle:b.operandTitle)+"' style='padding-right: 0.5em;' soper='"+m+"' class='soptclass' colname='"+this.name+"'>"+x+"</a>"}a("td:eq(0)",n).attr("colindex",h).append(m);void 0===g.clearSearch&&(g.clearSearch=!0);g.clearSearch?(m=b.resetTitle||"Clear Search Value",a("td:eq(2)",n).append("<a title='"+m+"' style='padding-right: 0.3em;padding-left: 0.3em;' class='clearsearchclass'>"+
212
+ b.resetIcon+"</a>")):a("td:eq(2)",n).hide();switch(this.stype){case "select":if(m=this.surl||g.dataUrl)a(l).append(n),a.ajax(a.extend({url:m,dataType:"html",success:function(e){void 0!==g.buildSelect?(e=g.buildSelect(e))&&a("td:eq(1)",n).append(e):a("td:eq(1)",n).append(e);void 0!==g.defaultValue&&a("select",l).val(g.defaultValue);a("select",l).attr({name:f.index||f.name,id:"gs_"+f.name});g.attr&&a("select",l).attr(g.attr);a("select",l).css({width:"100%"});a.jgrid.bindEv.call(c,a("select",l)[0],g);
213
+ !0===b.autosearch&&a("select",l).change(function(){d();return!1});e=null}},a.jgrid.ajaxOptions,c.p.ajaxSelectOptions||{}));else{var r,w,u;f.searchoptions?(r=void 0===f.searchoptions.value?"":f.searchoptions.value,w=void 0===f.searchoptions.separator?":":f.searchoptions.separator,u=void 0===f.searchoptions.delimiter?";":f.searchoptions.delimiter):f.editoptions&&(r=void 0===f.editoptions.value?"":f.editoptions.value,w=void 0===f.editoptions.separator?":":f.editoptions.separator,u=void 0===f.editoptions.delimiter?
214
+ ";":f.editoptions.delimiter);if(r){var t=document.createElement("select");t.style.width="100%";a(t).attr({name:f.index||f.name,id:"gs_"+f.name});var v;if("string"===typeof r)for(m=r.split(u),v=0;v<m.length;v++)r=m[v].split(w),u=document.createElement("option"),u.value=r[0],u.innerHTML=r[1],t.appendChild(u);else if("object"===typeof r)for(v in r)r.hasOwnProperty(v)&&(u=document.createElement("option"),u.value=v,u.innerHTML=r[v],t.appendChild(u));void 0!==g.defaultValue&&a(t).val(g.defaultValue);g.attr&&
215
+ a(t).attr(g.attr);a(l).append(n);a.jgrid.bindEv.call(c,t,g);a("td:eq(1)",n).append(t);!0===b.autosearch&&a(t).change(function(){d();return!1})}}break;case "text":w=void 0!==g.defaultValue?g.defaultValue:"";a("td:eq(1)",n).append("<input type='text' style='width:100%;padding:0px;' name='"+(f.index||f.name)+"' id='gs_"+f.name+"' value='"+w+"'/>");a(l).append(n);g.attr&&a("input",l).attr(g.attr);a.jgrid.bindEv.call(c,a("input",l)[0],g);!0===b.autosearch&&(b.searchOnEnter?a("input",l).keypress(function(a){return 13===
216
+ (a.charCode||a.keyCode||0)?(d(),!1):this}):a("input",l).keydown(function(a){switch(a.which){case 13:return!1;case 9:case 16:case 37:case 38:case 39:case 40:case 27:break;default:e&&clearTimeout(e),e=setTimeout(function(){d()},500)}}));break;case "custom":a("td:eq(1)",n).append("<span style='width:95%;padding:0px;' name='"+(f.index||f.name)+"' id='gs_"+f.name+"'/>");a(l).append(n);try{if(a.isFunction(g.custom_element))if(t=g.custom_element.call(c,void 0!==g.defaultValue?g.defaultValue:"",g))t=a(t).addClass("customelement"),
217
+ a(l).find(">span").append(t);else throw"e2";else throw"e1";}catch(y){"e1"===y&&a.jgrid.info_dialog(a.jgrid.errors.errcap,"function 'custom_element' "+a.jgrid.edit.msg.nodefined,a.jgrid.edit.bClose),"e2"===y?a.jgrid.info_dialog(a.jgrid.errors.errcap,"function 'custom_element' "+a.jgrid.edit.msg.novalue,a.jgrid.edit.bClose):a.jgrid.info_dialog(a.jgrid.errors.errcap,"string"===typeof y?y:y.message,a.jgrid.edit.bClose)}}}a(p).append(l);a(k).append(p);b.searchOperators||a("td:eq(0)",n).hide()});a("table thead",
218
+ c.grid.hDiv).append(k);b.searchOperators&&(a(".soptclass",k).click(function(b){var c=a(this).offset();h(this,c.left,c.top);b.stopPropagation()}),a("body").on("click",function(b){"soptclass"!==b.target.className&&a("#sopt_menu").hide()}));a(".clearsearchclass",k).click(function(e){e=a(this).parents("tr:first");var f=parseInt(a("td.ui-search-oper",e).attr("colindex"),10),g=a.extend({},c.p.colModel[f].searchoptions||{}),g=g.defaultValue?g.defaultValue:"";"select"===c.p.colModel[f].stype?g?a("td.ui-search-input select",
219
+ e).val(g):a("td.ui-search-input select",e)[0].selectedIndex=0:a("td.ui-search-input input",e).val(g);!0===b.autosearch&&d()});this.ftoolbar=!0;this.triggerToolbar=d;this.clearToolbar=function(d){var f={},g=0,e;d="boolean"!==typeof d?!0:d;a.each(c.p.colModel,function(){var b,d=a("#gs_"+a.jgrid.jqID(this.name),!0===this.frozen&&!0===c.p.frozenColumns?c.grid.fhDiv:c.grid.hDiv);this.searchoptions&&void 0!==this.searchoptions.defaultValue&&(b=this.searchoptions.defaultValue);e=this.index||this.name;switch(this.stype){case "select":d.find("option").each(function(c){0===
220
+ c&&(this.selected=!0);if(a(this).val()===b)return this.selected=!0,!1});if(void 0!==b)f[e]=b,g++;else try{delete c.p.postData[e]}catch(h){}break;case "text":d.val(b||"");if(void 0!==b)f[e]=b,g++;else try{delete c.p.postData[e]}catch(k){}break;case "custom":a.isFunction(this.searchoptions.custom_value)&&0<d.length&&"SPAN"===d[0].nodeName.toUpperCase()&&this.searchoptions.custom_value.call(c,d.children(".customelement:first"),"set",b||"")}});var k=0<g?!0:!1;c.p.resetsearch=!0;if(!0===b.stringResult||
221
+ "local"===c.p.datatype){var h='{"groupOp":"'+b.groupOp+'","rules":[',p=0;a.each(f,function(a,b){0<p&&(h+=",");h+='{"field":"'+a+'",';h+='"op":"eq",';h+='"data":"'+(b+"").replace(/\\/g,"\\\\").replace(/\"/g,'\\"')+'"}';p++});h+="]}";a.extend(c.p.postData,{filters:h});a.each(["searchField","searchString","searchOper"],function(a,b){c.p.postData.hasOwnProperty(b)&&delete c.p.postData[b]})}else a.extend(c.p.postData,f);var l;c.p.searchurl&&(l=c.p.url,a(c).jqGrid("setGridParam",{url:c.p.searchurl}));var n=
222
+ "stop"===a(c).triggerHandler("jqGridToolbarBeforeClear")?!0:!1;!n&&a.isFunction(b.beforeClear)&&(n=b.beforeClear.call(c));n||d&&a(c).jqGrid("setGridParam",{search:k}).trigger("reloadGrid",[{page:1}]);l&&a(c).jqGrid("setGridParam",{url:l});a(c).triggerHandler("jqGridToolbarAfterClear");a.isFunction(b.afterClear)&&b.afterClear()};this.toggleToolbar=function(){var b=a("tr.ui-search-toolbar",c.grid.hDiv),d=!0===c.p.frozenColumns?a("tr.ui-search-toolbar",c.grid.fhDiv):!1;"none"===b.css("display")?(b.show(),
223
+ d&&d.show()):(b.hide(),d&&d.hide())}}})},destroyFilterToolbar:function(){return this.each(function(){this.ftoolbar&&(this.toggleToolbar=this.clearToolbar=this.triggerToolbar=null,this.ftoolbar=!1,a(this.grid.hDiv).find("table thead tr.ui-search-toolbar").remove())})},destroyGroupHeader:function(b){void 0===b&&(b=!0);return this.each(function(){var c,d,h,k,e,s;d=this.grid;var f=a("table.ui-jqgrid-htable thead",d.hDiv),g=this.p.colModel;if(d){a(this).unbind(".setGroupHeaders");c=a("<tr>",{role:"rowheader"}).addClass("ui-jqgrid-labels");
224
+ k=d.headers;d=0;for(h=k.length;d<h;d++){e=g[d].hidden?"none":"";e=a(k[d].el).width(k[d].width).css("display",e);try{e.removeAttr("rowSpan")}catch(m){e.attr("rowSpan",1)}c.append(e);s=e.children("span.ui-jqgrid-resize");0<s.length&&(s[0].style.height="");e.children("div")[0].style.top=""}a(f).children("tr.ui-jqgrid-labels").remove();a(f).prepend(c);!0===b&&a(this).jqGrid("setGridParam",{groupHeader:null})}})},setGroupHeaders:function(b){b=a.extend({useColSpanStyle:!1,groupHeaders:[]},b||{});return this.each(function(){this.p.groupHeader=
225
+ b;var c,d,h=0,k,e,s,f,g,m=this.p.colModel,x=m.length,q=this.grid.headers,p=a("table.ui-jqgrid-htable",this.grid.hDiv),l=p.children("thead").children("tr.ui-jqgrid-labels:last").addClass("jqg-second-row-header");k=p.children("thead");var n=p.find(".jqg-first-row-header");void 0===n[0]?n=a("<tr>",{role:"row","aria-hidden":"true"}).addClass("jqg-first-row-header").css("height","auto"):n.empty();var r,w=function(a,b){var c=b.length,d;for(d=0;d<c;d++)if(b[d].startColumnName===a)return d;return-1};a(this).prepend(k);
226
+ k=a("<tr>",{role:"rowheader"}).addClass("ui-jqgrid-labels jqg-third-row-header");for(c=0;c<x;c++)if(s=q[c].el,f=a(s),d=m[c],e={height:"0px",width:q[c].width+"px",display:d.hidden?"none":""},a("<th>",{role:"gridcell"}).css(e).addClass("ui-first-th-"+this.p.direction).appendTo(n),s.style.width="",e=w(d.name,b.groupHeaders),0<=e){e=b.groupHeaders[e];h=e.numberOfColumns;g=e.titleText;for(e=d=0;e<h&&c+e<x;e++)m[c+e].hidden||d++;e=a("<th>").attr({role:"columnheader"}).addClass("ui-state-default ui-th-column-header ui-th-"+
227
+ this.p.direction).css({height:"22px","border-top":"0 none"}).html(g);0<d&&e.attr("colspan",String(d));this.p.headertitles&&e.attr("title",e.text());0===d&&e.hide();f.before(e);k.append(s);h-=1}else 0===h?b.useColSpanStyle?f.attr("rowspan","2"):(a("<th>",{role:"columnheader"}).addClass("ui-state-default ui-th-column-header ui-th-"+this.p.direction).css({display:d.hidden?"none":"","border-top":"0 none"}).insertBefore(f),k.append(s)):(k.append(s),h--);m=a(this).children("thead");m.prepend(n);k.insertAfter(l);
228
+ p.append(m);b.useColSpanStyle&&(p.find("span.ui-jqgrid-resize").each(function(){var b=a(this).parent();b.is(":visible")&&(this.style.cssText="height: "+b.height()+"px !important; cursor: col-resize;")}),p.find("div.ui-jqgrid-sortable").each(function(){var b=a(this),c=b.parent();c.is(":visible")&&c.is(":has(span.ui-jqgrid-resize)")&&b.css("top",(c.height()-b.outerHeight())/2+"px")}));r=m.find("tr.jqg-first-row-header");a(this).bind("jqGridResizeStop.setGroupHeaders",function(a,b,c){r.find("th").eq(c).width(b)})})},
229
+ setFrozenColumns:function(){return this.each(function(){if(this.grid){var b=this,c=b.p.colModel,d=0,h=c.length,k=-1,e=!1;if(!0!==b.p.subGrid&&!0!==b.p.treeGrid&&!0!==b.p.cellEdit&&!b.p.sortable&&!b.p.scroll){b.p.rownumbers&&d++;for(b.p.multiselect&&d++;d<h;){if(!0===c[d].frozen)e=!0,k=d;else break;d++}if(0<=k&&e){c=b.p.caption?a(b.grid.cDiv).outerHeight():0;d=a(".ui-jqgrid-htable","#gview_"+a.jgrid.jqID(b.p.id)).height();b.p.toppager&&(c+=a(b.grid.topDiv).outerHeight());!0===b.p.toolbar[0]&&"bottom"!==
230
+ b.p.toolbar[1]&&(c+=a(b.grid.uDiv).outerHeight());b.grid.fhDiv=a('<div style="position:absolute;left:0px;top:'+c+"px;height:"+d+'px;" class="frozen-div ui-state-default ui-jqgrid-hdiv"></div>');b.grid.fbDiv=a('<div style="position:absolute;left:0px;top:'+(parseInt(c,10)+parseInt(d,10)+1)+'px;overflow-y:hidden" class="frozen-bdiv ui-jqgrid-bdiv"></div>');a("#gview_"+a.jgrid.jqID(b.p.id)).append(b.grid.fhDiv);c=a(".ui-jqgrid-htable","#gview_"+a.jgrid.jqID(b.p.id)).clone(!0);if(b.p.groupHeader){a("tr.jqg-first-row-header, tr.jqg-third-row-header",
231
+ c).each(function(){a("th:gt("+k+")",this).remove()});var s=-1,f=-1,g,m;a("tr.jqg-second-row-header th",c).each(function(){g=parseInt(a(this).attr("colspan"),10);if(m=parseInt(a(this).attr("rowspan"),10))s++,f++;g&&(s+=g,f++);if(s===k)return!1});s!==k&&(f=k);a("tr.jqg-second-row-header",c).each(function(){a("th:gt("+f+")",this).remove()})}else a("tr",c).each(function(){a("th:gt("+k+")",this).remove()});a(c).width(1);a(b.grid.fhDiv).append(c).mousemove(function(a){if(b.grid.resizing)return b.grid.dragMove(a),
232
+ !1});a(b).bind("jqGridResizeStop.setFrozenColumns",function(c,d,e){c=a(".ui-jqgrid-htable",b.grid.fhDiv);a("th:eq("+e+")",c).width(d);c=a(".ui-jqgrid-btable",b.grid.fbDiv);a("tr:first td:eq("+e+")",c).width(d)});a(b).bind("jqGridSortCol.setFrozenColumns",function(c,d,e){c=a("tr.ui-jqgrid-labels:last th:eq("+b.p.lastsort+")",b.grid.fhDiv);d=a("tr.ui-jqgrid-labels:last th:eq("+e+")",b.grid.fhDiv);a("span.ui-grid-ico-sort",c).addClass("ui-state-disabled");a(c).attr("aria-selected","false");a("span.ui-icon-"+
233
+ b.p.sortorder,d).removeClass("ui-state-disabled");a(d).attr("aria-selected","true");b.p.viewsortcols[0]||b.p.lastsort===e||(a("span.s-ico",c).hide(),a("span.s-ico",d).show())});a("#gview_"+a.jgrid.jqID(b.p.id)).append(b.grid.fbDiv);a(b.grid.bDiv).scroll(function(){a(b.grid.fbDiv).scrollTop(a(this).scrollTop())});!0===b.p.hoverrows&&a("#"+a.jgrid.jqID(b.p.id)).unbind("mouseover").unbind("mouseout");a(b).bind("jqGridAfterGridComplete.setFrozenColumns",function(){a("#"+a.jgrid.jqID(b.p.id)+"_frozen").remove();
234
+ a(b.grid.fbDiv).height(a(b.grid.bDiv).height()-16);var c=a("#"+a.jgrid.jqID(b.p.id)).clone(!0);a("tr[role=row]",c).each(function(){a("td[role=gridcell]:gt("+k+")",this).remove()});a(c).width(1).attr("id",b.p.id+"_frozen");a(b.grid.fbDiv).append(c);!0===b.p.hoverrows&&(a("tr.jqgrow",c).hover(function(){a(this).addClass("ui-state-hover");a("#"+a.jgrid.jqID(this.id),"#"+a.jgrid.jqID(b.p.id)).addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover");a("#"+a.jgrid.jqID(this.id),"#"+
235
+ a.jgrid.jqID(b.p.id)).removeClass("ui-state-hover")}),a("tr.jqgrow","#"+a.jgrid.jqID(b.p.id)).hover(function(){a(this).addClass("ui-state-hover");a("#"+a.jgrid.jqID(this.id),"#"+a.jgrid.jqID(b.p.id)+"_frozen").addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover");a("#"+a.jgrid.jqID(this.id),"#"+a.jgrid.jqID(b.p.id)+"_frozen").removeClass("ui-state-hover")}));c=null});b.grid.hDiv.loading||a(b).triggerHandler("jqGridAfterGridComplete");b.p.frozenColumns=!0}}}})},destroyFrozenColumns:function(){return this.each(function(){if(this.grid&&
236
+ !0===this.p.frozenColumns){a(this.grid.fhDiv).remove();a(this.grid.fbDiv).remove();this.grid.fhDiv=null;this.grid.fbDiv=null;a(this).unbind(".setFrozenColumns");if(!0===this.p.hoverrows){var b;a("#"+a.jgrid.jqID(this.p.id)).bind("mouseover",function(c){b=a(c.target).closest("tr.jqgrow");"ui-subgrid"!==a(b).attr("class")&&a(b).addClass("ui-state-hover")}).bind("mouseout",function(c){b=a(c.target).closest("tr.jqgrow");a(b).removeClass("ui-state-hover")})}this.p.frozenColumns=!1}})}})})(jQuery);
237
+ (function(a){a.extend(a.jgrid,{showModal:function(a){a.w.show()},closeModal:function(a){a.w.hide().attr("aria-hidden","true");a.o&&a.o.remove()},hideModal:function(d,b){b=a.extend({jqm:!0,gb:""},b||{});if(b.onClose){var c=b.gb&&"string"===typeof b.gb&&"#gbox_"===b.gb.substr(0,6)?b.onClose.call(a("#"+b.gb.substr(6))[0],d):b.onClose(d);if("boolean"===typeof c&&!c)return}if(a.fn.jqm&&!0===b.jqm)a(d).attr("aria-hidden","true").jqmHide();else{if(""!==b.gb)try{a(".jqgrid-overlay:first",b.gb).hide()}catch(g){}a(d).hide().attr("aria-hidden",
238
+ "true")}},findPos:function(a){var b=0,c=0;if(a.offsetParent){do b+=a.offsetLeft,c+=a.offsetTop;while(a=a.offsetParent)}return[b,c]},createModal:function(d,b,c,g,e,h,f){c=a.extend(!0,{},a.jgrid.jqModal||{},c);var k=document.createElement("div"),l,m=this;f=a.extend({},f||{});l="rtl"===a(c.gbox).attr("dir")?!0:!1;k.className="ui-widget ui-widget-content ui-corner-all ui-jqdialog";k.id=d.themodal;var n=document.createElement("div");n.className="ui-jqdialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix";
239
+ n.id=d.modalhead;a(n).append("<span class='ui-jqdialog-title'>"+c.caption+"</span>");var q=a("<a class='ui-jqdialog-titlebar-close ui-corner-all'></a>").hover(function(){q.addClass("ui-state-hover")},function(){q.removeClass("ui-state-hover")}).append("<span class='ui-icon ui-icon-closethick'></span>");a(n).append(q);l?(k.dir="rtl",a(".ui-jqdialog-title",n).css("float","right"),a(".ui-jqdialog-titlebar-close",n).css("left","0.3em")):(k.dir="ltr",a(".ui-jqdialog-title",n).css("float","left"),a(".ui-jqdialog-titlebar-close",
240
+ n).css("right","0.3em"));var p=document.createElement("div");a(p).addClass("ui-jqdialog-content ui-widget-content").attr("id",d.modalcontent);a(p).append(b);k.appendChild(p);a(k).prepend(n);!0===h?a("body").append(k):"string"===typeof h?a(h).append(k):a(k).insertBefore(g);a(k).css(f);void 0===c.jqModal&&(c.jqModal=!0);b={};if(a.fn.jqm&&!0===c.jqModal)0===c.left&&0===c.top&&c.overlay&&(f=[],f=a.jgrid.findPos(e),c.left=f[0]+4,c.top=f[1]+4),b.top=c.top+"px",b.left=c.left;else if(0!==c.left||0!==c.top)b.left=
241
+ c.left,b.top=c.top+"px";a("a.ui-jqdialog-titlebar-close",n).click(function(){var b=a("#"+a.jgrid.jqID(d.themodal)).data("onClose")||c.onClose,e=a("#"+a.jgrid.jqID(d.themodal)).data("gbox")||c.gbox;m.hideModal("#"+a.jgrid.jqID(d.themodal),{gb:e,jqm:c.jqModal,onClose:b});return!1});0!==c.width&&c.width||(c.width=300);0!==c.height&&c.height||(c.height=200);c.zIndex||(g=a(g).parents("*[role=dialog]").filter(":first").css("z-index"),c.zIndex=g?parseInt(g,10)+2:950);g=0;l&&b.left&&!h&&(g=a(c.gbox).width()-
242
+ (isNaN(c.width)?0:parseInt(c.width,10))-8,b.left=parseInt(b.left,10)+parseInt(g,10));b.left&&(b.left+="px");a(k).css(a.extend({width:isNaN(c.width)?"auto":c.width+"px",height:isNaN(c.height)?"auto":c.height+"px",zIndex:c.zIndex,overflow:"hidden"},b)).attr({tabIndex:"-1",role:"dialog","aria-labelledby":d.modalhead,"aria-hidden":"true"});void 0===c.drag&&(c.drag=!0);void 0===c.resize&&(c.resize=!0);if(c.drag)if(a(n).css("cursor","move"),a.fn.jqDrag)a(k).jqDrag(n);else try{a(k).draggable({handle:a("#"+
243
+ a.jgrid.jqID(n.id))})}catch(r){}if(c.resize)if(a.fn.jqResize)a(k).append("<div class='jqResize ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se'></div>"),a("#"+a.jgrid.jqID(d.themodal)).jqResize(".jqResize",d.scrollelm?"#"+a.jgrid.jqID(d.scrollelm):!1);else try{a(k).resizable({handles:"se, sw",alsoResize:d.scrollelm?"#"+a.jgrid.jqID(d.scrollelm):!1})}catch(s){}!0===c.closeOnEscape&&a(k).keydown(function(b){27==b.which&&(b=a("#"+a.jgrid.jqID(d.themodal)).data("onClose")||c.onClose,
244
+ m.hideModal("#"+a.jgrid.jqID(d.themodal),{gb:c.gbox,jqm:c.jqModal,onClose:b}))})},viewModal:function(d,b){b=a.extend({toTop:!0,overlay:10,modal:!1,overlayClass:"ui-widget-overlay",onShow:a.jgrid.showModal,onHide:a.jgrid.closeModal,gbox:"",jqm:!0,jqM:!0},b||{});if(a.fn.jqm&&!0===b.jqm)b.jqM?a(d).attr("aria-hidden","false").jqm(b).jqmShow():a(d).attr("aria-hidden","false").jqmShow();else{""!==b.gbox&&(a(".jqgrid-overlay:first",b.gbox).show(),a(d).data("gbox",b.gbox));a(d).show().attr("aria-hidden",
245
+ "false");try{a(":input:visible",d)[0].focus()}catch(c){}}},info_dialog:function(d,b,c,g){var e={width:290,height:"auto",dataheight:"auto",drag:!0,resize:!1,left:250,top:170,zIndex:1E3,jqModal:!0,modal:!1,closeOnEscape:!0,align:"center",buttonalign:"center",buttons:[]};a.extend(!0,e,a.jgrid.jqModal||{},{caption:"<b>"+d+"</b>"},g||{});var h=e.jqModal,f=this;a.fn.jqm&&!h&&(h=!1);d="";if(0<e.buttons.length)for(g=0;g<e.buttons.length;g++)void 0===e.buttons[g].id&&(e.buttons[g].id="info_button_"+g),d+=
246
+ "<a id='"+e.buttons[g].id+"' class='fm-button ui-state-default ui-corner-all'>"+e.buttons[g].text+"</a>";g=isNaN(e.dataheight)?e.dataheight:e.dataheight+"px";b="<div id='info_id'>"+("<div id='infocnt' style='margin:0px;padding-bottom:1em;width:100%;overflow:auto;position:relative;height:"+g+";"+("text-align:"+e.align+";")+"'>"+b+"</div>");b+=c?"<div class='ui-widget-content ui-helper-clearfix' style='text-align:"+e.buttonalign+";padding-bottom:0.8em;padding-top:0.5em;background-image: none;border-width: 1px 0 0 0;'><a id='closedialog' class='fm-button ui-state-default ui-corner-all'>"+
247
+ c+"</a>"+d+"</div>":""!==d?"<div class='ui-widget-content ui-helper-clearfix' style='text-align:"+e.buttonalign+";padding-bottom:0.8em;padding-top:0.5em;background-image: none;border-width: 1px 0 0 0;'>"+d+"</div>":"";b+="</div>";try{"false"===a("#info_dialog").attr("aria-hidden")&&a.jgrid.hideModal("#info_dialog",{jqm:h}),a("#info_dialog").remove()}catch(k){}a.jgrid.createModal({themodal:"info_dialog",modalhead:"info_head",modalcontent:"info_content",scrollelm:"infocnt"},b,e,"","",!0);d&&a.each(e.buttons,
248
+ function(b){a("#"+a.jgrid.jqID(this.id),"#info_id").bind("click",function(){e.buttons[b].onClick.call(a("#info_dialog"));return!1})});a("#closedialog","#info_id").click(function(){f.hideModal("#info_dialog",{jqm:h,onClose:a("#info_dialog").data("onClose")||e.onClose,gb:a("#info_dialog").data("gbox")||e.gbox});return!1});a(".fm-button","#info_dialog").hover(function(){a(this).addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover")});a.isFunction(e.beforeOpen)&&e.beforeOpen();a.jgrid.viewModal("#info_dialog",
249
+ {onHide:function(a){a.w.hide().remove();a.o&&a.o.remove()},modal:e.modal,jqm:h});a.isFunction(e.afterOpen)&&e.afterOpen();try{a("#info_dialog").focus()}catch(l){}},bindEv:function(d,b){a.isFunction(b.dataInit)&&b.dataInit.call(this,d,b);b.dataEvents&&a.each(b.dataEvents,function(){void 0!==this.data?a(d).bind(this.type,this.data,this.fn):a(d).bind(this.type,this.fn)})},createEl:function(d,b,c,g,e){function h(b,d,c){var e="dataInit dataEvents dataUrl buildSelect sopt searchhidden defaultValue attr custom_element custom_value".split(" ");
250
+ void 0!==c&&a.isArray(c)&&a.merge(e,c);a.each(d,function(d,c){-1===a.inArray(d,e)&&a(b).attr(d,c)});d.hasOwnProperty("id")||a(b).attr("id",a.jgrid.randId())}var f="",k=this;switch(d){case "textarea":f=document.createElement("textarea");g?b.cols||a(f).css({width:"98%"}):b.cols||(b.cols=20);b.rows||(b.rows=2);if("&nbsp;"===c||"&#160;"===c||1===c.length&&160===c.charCodeAt(0))c="";f.value=c;h(f,b);a(f).attr({role:"textbox",multiline:"true"});break;case "checkbox":f=document.createElement("input");f.type=
251
+ "checkbox";b.value?(d=b.value.split(":"),c===d[0]&&(f.checked=!0,f.defaultChecked=!0),f.value=d[0],a(f).attr("offval",d[1])):(d=(c+"").toLowerCase(),0>d.search(/(false|f|0|no|n|off|undefined)/i)&&""!==d?(f.checked=!0,f.defaultChecked=!0,f.value=c):f.value="on",a(f).attr("offval","off"));h(f,b,["value"]);a(f).attr("role","checkbox");break;case "select":f=document.createElement("select");f.setAttribute("role","select");g=[];!0===b.multiple?(d=!0,f.multiple="multiple",a(f).attr("aria-multiselectable",
252
+ "true")):d=!1;if(void 0!==b.dataUrl){d=b.name?String(b.id).substring(0,String(b.id).length-String(b.name).length-1):String(b.id);var l=b.postData||e.postData;k.p&&k.p.idPrefix&&(d=a.jgrid.stripPref(k.p.idPrefix,d));a.ajax(a.extend({url:a.isFunction(b.dataUrl)?b.dataUrl.call(k,d,c,String(b.name)):b.dataUrl,type:"GET",dataType:"html",data:a.isFunction(l)?l.call(k,d,c,String(b.name)):l,context:{elem:f,options:b,vl:c},success:function(b){var d=[],c=this.elem,e=this.vl,f=a.extend({},this.options),g=!0===
253
+ f.multiple;b=a.isFunction(f.buildSelect)?f.buildSelect.call(k,b):b;"string"===typeof b&&(b=a(a.trim(b)).html());b&&(a(c).append(b),h(c,f,l?["postData"]:void 0),void 0===f.size&&(f.size=g?3:1),g?(d=e.split(","),d=a.map(d,function(b){return a.trim(b)})):d[0]=a.trim(e),setTimeout(function(){a("option",c).each(function(b){0===b&&c.multiple&&(this.selected=!1);a(this).attr("role","option");if(-1<a.inArray(a.trim(a(this).text()),d)||-1<a.inArray(a.trim(a(this).val()),d))this.selected="selected"})},0))}},
254
+ e||{}))}else if(b.value){var m;void 0===b.size&&(b.size=d?3:1);d&&(g=c.split(","),g=a.map(g,function(b){return a.trim(b)}));"function"===typeof b.value&&(b.value=b.value());var n,q,p=void 0===b.separator?":":b.separator;e=void 0===b.delimiter?";":b.delimiter;if("string"===typeof b.value)for(n=b.value.split(e),m=0;m<n.length;m++)q=n[m].split(p),2<q.length&&(q[1]=a.map(q,function(a,b){if(0<b)return a}).join(p)),e=document.createElement("option"),e.setAttribute("role","option"),e.value=q[0],e.innerHTML=
255
+ q[1],f.appendChild(e),d||a.trim(q[0])!==a.trim(c)&&a.trim(q[1])!==a.trim(c)||(e.selected="selected"),d&&(-1<a.inArray(a.trim(q[1]),g)||-1<a.inArray(a.trim(q[0]),g))&&(e.selected="selected");else if("object"===typeof b.value)for(m in p=b.value,p)p.hasOwnProperty(m)&&(e=document.createElement("option"),e.setAttribute("role","option"),e.value=m,e.innerHTML=p[m],f.appendChild(e),d||a.trim(m)!==a.trim(c)&&a.trim(p[m])!==a.trim(c)