Gallery – Flagallery Photo Portfolio - Version 3.12

Version Description

Download this release

Release Info

Developer pasyuk
Plugin Icon 128x128 Gallery – Flagallery Photo Portfolio
Version 3.12
Comparing to
See all releases

Code changes from version 3.01 to 3.12

Files changed (69) hide show
  1. admin/addgallery.php +1 -1
  2. admin/admin.php +5 -5
  3. admin/ajax.php +3 -2
  4. admin/banner-box.php +35 -23
  5. admin/banner-sort.php +9 -8
  6. admin/banner.functions.php +21 -5
  7. admin/css/flagallery.css +1 -1
  8. admin/flag_install.php +4 -3
  9. admin/flv_preview.php +1 -2
  10. admin/functions.php +22 -19
  11. admin/jgallery.php +4 -4
  12. admin/js/jquery.nivo.slider.pack.js +1 -2
  13. admin/js/nivo-slider.css +1 -1
  14. admin/js/script.js +11 -3
  15. admin/js/themes/dark/styles.css +1 -1
  16. admin/js/themes/light/styles.css +2 -2
  17. admin/manage-banner.php +16 -15
  18. admin/manage-galleries.php +6 -6
  19. admin/manage-images.php +8 -8
  20. admin/manage-playlist.php +18 -17
  21. admin/manage-video.php +18 -17
  22. admin/manage.php +17 -13
  23. admin/media-upload.php +11 -10
  24. admin/music-box.php +32 -21
  25. admin/overview.php +5 -10
  26. admin/playlist-sort.php +9 -8
  27. admin/playlist.functions.php +16 -6
  28. admin/skin_options.php +9 -6
  29. admin/skins.php +14 -8
  30. admin/tinymce/window.php +1 -1
  31. admin/upgrade.php +1 -1
  32. admin/video-box.php +27 -18
  33. admin/video-sort.php +9 -8
  34. admin/video.functions.php +13 -4
  35. changelog.txt +0 -536
  36. facebook.php +10 -8
  37. flag.php +23 -8
  38. full_window_template.php +1 -2
  39. lang/flag-az_AZ.po +6 -6
  40. lang/flag-be_BY.po +5 -5
  41. lang/flag-de_DE.po +3 -3
  42. lang/flag-es_ES.po +5 -5
  43. lang/flag-fr_FR.po +6 -6
  44. lang/flag-hi_IN.mo +0 -0
  45. lang/flag-hi_IN.po +1643 -0
  46. lang/flag-it_IT.po +6 -6
  47. lang/flag-lt_LT.po +6 -6
  48. lang/flag-nl_NL.po +7 -7
  49. lang/flag-pl_PL.po +6 -6
  50. lang/flag-pt_BR.po +6 -6
  51. lang/flag-ro_RO.po +5 -5
  52. lang/flag-ru_RU.po +7 -7
  53. lang/flag-sl_SI.mo +0 -0
  54. lang/flag-sl_SI.po +3081 -0
  55. lang/flag-tr_TR.po +20 -20
  56. lang/flag-ua_UA.po +6 -6
  57. lang/flag-zh_tw.po +6 -6
  58. lang/flag.pot +1600 -748
  59. lib/constructor.php +2 -13
  60. lib/core.php +4 -3
  61. lib/flag-db.php +28 -14
  62. lib/flv.php +1 -2
  63. lib/gallery.php +1 -1
  64. lib/hitcounter.php +1 -1
  65. lib/media-rss.php +1 -1
  66. lib/swfobject.php +97 -13
  67. readme.txt +26 -11
  68. widgets/widgets.php +16 -16
  69. xml/media-rss.php +1 -1
admin/addgallery.php CHANGED
@@ -24,7 +24,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
24
 
25
  if ($_POST['addgallery']){
26
  check_admin_referer('flag_addgallery');
27
- $newgallery = $_POST['galleryname'];
28
  if ( !empty($newgallery) )
29
  flagAdmin::create_gallery($newgallery, $defaultpath);
30
  }
24
 
25
  if ($_POST['addgallery']){
26
  check_admin_referer('flag_addgallery');
27
+ $newgallery = trim($_POST['galleryname']);
28
  if ( !empty($newgallery) )
29
  flagAdmin::create_gallery($newgallery, $defaultpath);
30
  }
admin/admin.php CHANGED
@@ -60,7 +60,7 @@ class flagAdminPanel{
60
  add_submenu_page( 'flag-overview' , __('FlAG Change options', 'flag'), __('Options', 'flag'), 'FlAG Change options', 'flag-options', array (&$this, 'show_menu'));
61
  add_submenu_page( 'flag-overview' , __('FlAG Facebook Integration', 'flag'), __('Facebook', 'flag'), 'FlAG Facebook page', 'flag-facebook', array (&$this, 'show_menu'));
62
  if ( flag_wpmu_site_admin() )
63
- add_submenu_page( 'wpmu-admin.php' , __('GRAND Flash Album Gallery', 'flag'), __('GRAND FlAGallery', 'flag'), 'activate_plugins', 'flag-wpmu', array (&$this, 'show_menu'));
64
 
65
  //register the column fields
66
  $this->register_columns();
@@ -226,17 +226,17 @@ class flagAdminPanel{
226
  }
227
 
228
  if ( !empty($link) ) {
229
- $help = '<h5>' . __('Get help with GRAND FlAGallery', 'flag') . '</h5>';
230
  $help .= '<div class="metabox-prefs">';
231
  $help .= $link;
232
  $help .= "</div>\n";
233
  $help .= '<h5>' . __('More Help & Info', 'flag') . '</h5>';
234
  $help .= '<div class="metabox-prefs">';
235
- $help .= '<a href="http://codeasily.com/wordpress-plugins/flash-album-gallery/grand-flash-album-gallery-wordpress-plugin-video-tutorial" target="_blank">' . __('GRAND FlAGallery Video Tutorial', 'flag') . '</a>';
236
  $help .= ' | <a href="http://codeasily.com/wordpress-plugins/flash-album-gallery/faq" target="_blank">' . __('FAQ', 'flag') . '</a>';
237
- $help .= ' | <a href="http://codeasily.com/wordpress-plugins/flash-album-gallery/flag-review" target="_blank">' . __('GRAND FlAGallery Review', 'flag') . '</a>';
238
  $help .= ' | <a href="http://codeasily.com/wordpress-plugins/flash-album-gallery/languages" target="_blank">' . __('Get your language pack', 'flag') . '</a>';
239
- $help .= ' | <a href="http://photogallerycreator.com/2009/07/skins-for-flash-album-gallery" target="_blank">' . __('Skins for GRAND FlAGallery', 'flag') . '</a>';
240
  $help .= "</div>\n";
241
  }
242
 
60
  add_submenu_page( 'flag-overview' , __('FlAG Change options', 'flag'), __('Options', 'flag'), 'FlAG Change options', 'flag-options', array (&$this, 'show_menu'));
61
  add_submenu_page( 'flag-overview' , __('FlAG Facebook Integration', 'flag'), __('Facebook', 'flag'), 'FlAG Facebook page', 'flag-facebook', array (&$this, 'show_menu'));
62
  if ( flag_wpmu_site_admin() )
63
+ add_submenu_page( 'wpmu-admin.php' , __('GRAND Flash Album Gallery', 'flag'), __('Grand Flagallery', 'flag'), 'activate_plugins', 'flag-wpmu', array (&$this, 'show_menu'));
64
 
65
  //register the column fields
66
  $this->register_columns();
226
  }
227
 
228
  if ( !empty($link) ) {
229
+ $help = '<h5>' . __('Get help with Grand Flagallery', 'flag') . '</h5>';
230
  $help .= '<div class="metabox-prefs">';
231
  $help .= $link;
232
  $help .= "</div>\n";
233
  $help .= '<h5>' . __('More Help & Info', 'flag') . '</h5>';
234
  $help .= '<div class="metabox-prefs">';
235
+ $help .= '<a href="http://codeasily.com/wordpress-plugins/flash-album-gallery/grand-flash-album-gallery-wordpress-plugin-video-tutorial" target="_blank">' . __('Grand Flagallery Video Tutorial', 'flag') . '</a>';
236
  $help .= ' | <a href="http://codeasily.com/wordpress-plugins/flash-album-gallery/faq" target="_blank">' . __('FAQ', 'flag') . '</a>';
237
+ $help .= ' | <a href="http://codeasily.com/wordpress-plugins/flash-album-gallery/flag-review" target="_blank">' . __('Grand Flagallery Review', 'flag') . '</a>';
238
  $help .= ' | <a href="http://codeasily.com/wordpress-plugins/flash-album-gallery/languages" target="_blank">' . __('Get your language pack', 'flag') . '</a>';
239
+ $help .= ' | <a href="http://photogallerycreator.com/2009/07/skins-for-flash-album-gallery" target="_blank">' . __('Skins for Grand Flagallery', 'flag') . '</a>';
240
  $help .= "</div>\n";
241
  }
242
 
admin/ajax.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  add_action('wp_ajax_flag_ajax_operation', 'flag_ajax_operation' );
3
 
4
  function flag_ajax_operation() {
@@ -132,7 +133,7 @@ function flag_save_album() {
132
  $galstring = implode(',', $g);
133
  else
134
  $galstring = '';
135
- $result = $wpdb->query( $wpdb->prepare("UPDATE $wpdb->flagalbum SET name = %s, categories = %s WHERE id = %s", $album_name, $galstring, $album_id) );
136
  }
137
 
138
  if($result) {
@@ -158,7 +159,7 @@ function flag_delete_album() {
158
 
159
  $result = false;
160
  if(isset($_POST['post'])) {
161
- $result = $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->flagalbum WHERE id = %d", $_POST['post']) );
162
  }
163
 
164
  if($result) {
1
  <?php
2
+
3
  add_action('wp_ajax_flag_ajax_operation', 'flag_ajax_operation' );
4
 
5
  function flag_ajax_operation() {
133
  $galstring = implode(',', $g);
134
  else
135
  $galstring = '';
136
+ $result = $wpdb->query( $wpdb->prepare("UPDATE `{$wpdb->flagalbum}` SET `name` = %s, `categories` = %s WHERE `id` = %s", $album_name, $galstring, $album_id) );
137
  }
138
 
139
  if($result) {
159
 
160
  $result = false;
161
  if(isset($_POST['post'])) {
162
+ $result = $wpdb->query( $wpdb->prepare( "DELETE FROM `{$wpdb->flagalbum}` WHERE `id` = %d", $_POST['post']) );
163
  }
164
 
165
  if($result) {
admin/banner-box.php CHANGED
@@ -30,12 +30,14 @@ function flag_banner_controler() {
30
  }
31
  switch($mode) {
32
  case 'sort':
 
33
  include_once (dirname (__FILE__) . '/banner-sort.php');
34
  flag_b_playlist_order();
35
  break;
36
  case 'edit':
37
- $file = urlencode($_GET['playlist']);
38
  if(isset($_POST['updatePlaylist'])) {
 
39
  $title = esc_html($_POST['playlist_title']);
40
  $descr = esc_html($_POST['playlist_descr']);
41
  $data = array();
@@ -48,6 +50,7 @@ function flag_banner_controler() {
48
  flagSave_bPlaylist($title,$descr,$data,$file);
49
  }
50
  if(isset($_POST['updatePlaylistSkin'])) {
 
51
  flagSave_bPlaylistSkin($file);
52
  }
53
  include_once (dirname (__FILE__) . '/manage-banner.php');
@@ -55,10 +58,11 @@ function flag_banner_controler() {
55
  break;
56
  case 'save':
57
  if(isset($_POST['items_array'])) {
 
58
  $title = esc_html($_POST['playlist_title']);
59
  $descr = esc_html($_POST['playlist_descr']);
60
  $data = $_POST['items_array'];
61
- $file = isset($_REQUEST['playlist'])? urlencode($_REQUEST['playlist']) : false;
62
  flagGallery::flagSaveWpMedia();
63
  flagSave_bPlaylist($title,$descr,$data, $file);
64
  }
@@ -71,21 +75,24 @@ function flag_banner_controler() {
71
  }
72
  break;
73
  case 'add':
 
74
  if(isset($_POST['items']) && isset($_GET['playlist'])){
75
  $added = $_POST['items'];
76
  } elseif(isset($_GET['playlist'])) {
77
- $added = $_COOKIE['bannerboxplaylist_'.urlencode($_GET['playlist'])];
78
  } else {
79
  $added = false;
80
  }
81
  flag_banner_wp_media_lib($added);
82
  break;
83
  case 'delete':
84
- flag_b_playlist_delete(urlencode($_GET['playlist']));
 
85
  case 'import':
86
  flag_crunch($crunch_list);
87
  case 'main':
88
  if(isset($_POST['updateMedia'])) {
 
89
  flagGallery::flagSaveWpMedia();
90
  flagGallery::show_message( __('Media updated','flag') );
91
  }
@@ -101,7 +108,8 @@ function flag_crunch($crunch_list) {
101
  return;
102
  }
103
  $crunch_string = implode(',', $crunch_list);
104
- $folder = rtrim($_POST['bannerfolder'], '/');
 
105
  $path = WINABSPATH . $folder.'/';
106
  ?>
107
  <script type="text/javascript">
@@ -176,15 +184,15 @@ if($all_playlists) {
176
  ?>
177
  <tr id="<?php echo $playlist_name; ?>" <?php echo $class; ?> >
178
  <td>
179
- <a href="<?php echo $filepath.'&amp;playlist='.$playlist_name.'&amp;mode=edit'; ?>" class='edit' title="<?php _e('Edit'); ?>" >
180
- <?php echo esc_html(stripslashes($playlist_data['title'])); ?>
181
  </a>
182
  </td>
183
- <td><?php echo esc_html(stripslashes($playlist_data['description'])); echo '&nbsp;('.__("player", "flag").': <strong>'.$playlist_data['skin'].'</strong>)' ?></td>
184
  <td><?php echo count($query_m); ?></td>
185
  <td style="white-space: nowrap;"><input type="text" class="shortcode1" style="width: 200px; font-size: 9px;" readonly="readonly" onfocus="this.select()" value="[grandbanner xml=<?php echo $playlist_name; ?>]" /></td>
186
  <td>
187
- <a href="<?php echo $filepath.'&amp;playlist='.$playlist_name."&amp;mode=delete"; ?>" class="delete" onclick="javascript:check=confirm( '<?php _e("Delete this playlist?",'flag')?>');if(check==false) return false;"><?php _e('Delete','flag'); ?></a>
188
  </td>
189
  </tr>
190
  <?php
@@ -206,17 +214,20 @@ function flag_banner_wp_media_lib($added=false) {
206
  $filepath = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
207
  $exclude = array();
208
  if($added!==false) {
209
- $filepath .= '&playlist='.urlencode($_GET['playlist']).'&mode=save';
 
210
  $flag_options = get_option('flag_options');
211
- $playlistPath = $flag_options['galleryPath'].'playlists/banner/'.urlencode($_GET['playlist']).'.xml';
212
  $playlist = get_b_playlist_data(ABSPATH.$playlistPath);
213
  $exclude = explode(',', $added);
 
214
  } else {
215
- $items_array_default = isset($_COOKIE['bannerboxplaylist_default'])? $_COOKIE['bannerboxplaylist_default'] : '';
216
  $exclude = explode(',', $items_array_default);
 
217
  }
218
  if(isset($_GET['playlist'])){
219
- $playlist_cookie = urlencode($_GET['playlist']);
220
  } else {
221
  $playlist_cookie = 'default';
222
  }
@@ -228,7 +239,7 @@ jQuery(document).ready(function(){
228
  var storedData = getStorage('bannerboxplaylist_');
229
  <?php if(isset($_POST['items'])){
230
  ?>
231
- storedData.set('<?php echo $playlist_cookie; ?>', '<?php echo $_POST['items']; ?>');
232
  <?php } ?>
233
  jQuery('.cb :checkbox').click(function() {
234
  var cur, arr, del;
@@ -308,8 +319,8 @@ function showDialog( windowId, height ) {
308
  </script>
309
  <div class="wrap">
310
  <?php if($added===false) { ?>
311
- <?php if( current_user_can('FlAG Import folder') ) {
312
- $defaultpath = 'wp-content/';
313
  ?>
314
  <link rel="stylesheet" type="text/css" href="<?php echo FLAG_URLPATH; ?>admin/js/jqueryFileTree/jqueryFileTree.css" />
315
  <script type="text/javascript" src="<?php echo FLAG_URLPATH; ?>admin/js/jqueryFileTree/jqueryFileTree.js"></script>
@@ -379,7 +390,8 @@ $page_links = paginate_links( array(
379
  'prev_text' => __('&laquo;'),
380
  'next_text' => __('&raquo;'),
381
  'total' => ceil( $img_total_count / $objects_per_page),
382
- 'current' => intval($_GET['paged'])
 
383
  ));
384
  ?>
385
  <div class="tablenav" style="overflow: hidden; height: auto;">
@@ -394,7 +406,7 @@ $page_links = paginate_links( array(
394
  ); echo $page_links_text; ?></div>
395
  </div>
396
  <form id="bannerlib" class="flagform" method="POST" action="<?php echo $filepath; ?>" accept-charset="utf-8">
397
- <?php wp_nonce_field('flag_bulkbanner'); ?>
398
  <input type="hidden" name="page" value="banner-box" />
399
 
400
  <div class="tablenav">
@@ -414,10 +426,10 @@ $page_links = paginate_links( array(
414
  <?php } else { ?>
415
  <input type="hidden" name="mode" value="save" />
416
  <input style="width: 80%;" type="text" id="items_array" name="items_array" readonly="readonly" value="<?php echo $added; ?>" />
417
- <input type="hidden" name="playlist_title" value="<?php echo esc_html(stripslashes($playlist['title'])); ?>" />
418
- <input type="hidden" name="skinname" value="<?php echo $playlist['skin']; ?>" />
419
- <input type="hidden" name="skinaction" value="<?php echo $playlist['skin']; ?>" />
420
- <textarea style="display: none;" name="playlist_descr" cols="40" rows="1"><?php echo esc_html(stripslashes($playlist['description'])); ?></textarea>
421
  <input name="addToPlaylist" class="button-secondary" type="submit" value="<?php _e('Update Playlist','flag'); ?>" />
422
  <?php } ?>
423
  </div>
@@ -497,7 +509,7 @@ if($bannerlist) {
497
  <!-- #new_playlist -->
498
  <div id="new_playlist" style="display: none;" >
499
  <form id="form_new_playlist" method="POST" action="<?php echo $filepath; ?>" accept-charset="utf-8">
500
- <?php wp_nonce_field('flag_thickbox_form'); ?>
501
  <input type="hidden" id="new_playlist_banid" name="items_array" value="" />
502
  <input type="hidden" id="new_playlist_bulkaction" name="TB_bulkaction" value="" />
503
  <input type="hidden" name="mode" value="save" />
30
  }
31
  switch($mode) {
32
  case 'sort':
33
+ check_admin_referer('flag_sort');
34
  include_once (dirname (__FILE__) . '/banner-sort.php');
35
  flag_b_playlist_order();
36
  break;
37
  case 'edit':
38
+ $file = sanitize_flagname($_GET['playlist']);
39
  if(isset($_POST['updatePlaylist'])) {
40
+ check_admin_referer('flag_update');
41
  $title = esc_html($_POST['playlist_title']);
42
  $descr = esc_html($_POST['playlist_descr']);
43
  $data = array();
50
  flagSave_bPlaylist($title,$descr,$data,$file);
51
  }
52
  if(isset($_POST['updatePlaylistSkin'])) {
53
+ check_admin_referer('flag_update');
54
  flagSave_bPlaylistSkin($file);
55
  }
56
  include_once (dirname (__FILE__) . '/manage-banner.php');
58
  break;
59
  case 'save':
60
  if(isset($_POST['items_array'])) {
61
+ check_admin_referer('flag_update');
62
  $title = esc_html($_POST['playlist_title']);
63
  $descr = esc_html($_POST['playlist_descr']);
64
  $data = $_POST['items_array'];
65
+ $file = isset($_REQUEST['playlist'])? sanitize_flagname($_REQUEST['playlist']) : false;
66
  flagGallery::flagSaveWpMedia();
67
  flagSave_bPlaylist($title,$descr,$data, $file);
68
  }
75
  }
76
  break;
77
  case 'add':
78
+ check_admin_referer('flag_add');
79
  if(isset($_POST['items']) && isset($_GET['playlist'])){
80
  $added = $_POST['items'];
81
  } elseif(isset($_GET['playlist'])) {
82
+ $added = $_COOKIE['bannerboxplaylist_'.sanitize_flagname($_GET['playlist'])];
83
  } else {
84
  $added = false;
85
  }
86
  flag_banner_wp_media_lib($added);
87
  break;
88
  case 'delete':
89
+ check_admin_referer('flag_delete');
90
+ flag_b_playlist_delete(sanitize_flagname($_GET['playlist']));
91
  case 'import':
92
  flag_crunch($crunch_list);
93
  case 'main':
94
  if(isset($_POST['updateMedia'])) {
95
+ check_admin_referer('flag_update');
96
  flagGallery::flagSaveWpMedia();
97
  flagGallery::show_message( __('Media updated','flag') );
98
  }
108
  return;
109
  }
110
  $crunch_string = implode(',', $crunch_list);
111
+ $folder = str_replace(array('../','\'','"','<','>','$','%','='),'', $_POST['bannerfolder']);
112
+ $folder = rtrim($folder, '/');
113
  $path = WINABSPATH . $folder.'/';
114
  ?>
115
  <script type="text/javascript">
184
  ?>
185
  <tr id="<?php echo $playlist_name; ?>" <?php echo $class; ?> >
186
  <td>
187
+ <a href="<?php echo esc_url($filepath.'&playlist='.$playlist_name.'&mode=edit'); ?>" class='edit' title="<?php _e('Edit'); ?>" >
188
+ <?php echo esc_html($playlist_data['title']); ?>
189
  </a>
190
  </td>
191
+ <td><?php echo esc_html($playlist_data['description']); echo '&nbsp;('.__("player", "flag").': <strong>'.esc_html($playlist_data['skin']).'</strong>)' ?></td>
192
  <td><?php echo count($query_m); ?></td>
193
  <td style="white-space: nowrap;"><input type="text" class="shortcode1" style="width: 200px; font-size: 9px;" readonly="readonly" onfocus="this.select()" value="[grandbanner xml=<?php echo $playlist_name; ?>]" /></td>
194
  <td>
195
+ <a href="<?php echo wp_nonce_url($filepath.'&playlist='.$playlist_name."&mode=delete", 'flag_delete'); ?>" class="delete" onclick="javascript:check=confirm( '<?php _e("Delete this playlist?",'flag')?>');if(check==false) return false;"><?php _e('Delete','flag'); ?></a>
196
  </td>
197
  </tr>
198
  <?php
214
  $filepath = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
215
  $exclude = array();
216
  if($added!==false) {
217
+ $added = preg_replace('/[^\d,]+/', '', $added);
218
+ $filepath .= '&playlist='.sanitize_flagname($_GET['playlist']).'&mode=save';
219
  $flag_options = get_option('flag_options');
220
+ $playlistPath = $flag_options['galleryPath'].'playlists/banner/'.sanitize_flagname($_GET['playlist']).'.xml';
221
  $playlist = get_b_playlist_data(ABSPATH.$playlistPath);
222
  $exclude = explode(',', $added);
223
+ $exclude = array_filter($exclude, 'intval');
224
  } else {
225
+ $items_array_default = isset($_COOKIE['bannerboxplaylist_default'])? preg_replace('/[^\d,]+/', '', $_COOKIE['bannerboxplaylist_default']) : '';
226
  $exclude = explode(',', $items_array_default);
227
+ $exclude = array_filter($exclude, 'intval');
228
  }
229
  if(isset($_GET['playlist'])){
230
+ $playlist_cookie = sanitize_flagname($_GET['playlist']);
231
  } else {
232
  $playlist_cookie = 'default';
233
  }
239
  var storedData = getStorage('bannerboxplaylist_');
240
  <?php if(isset($_POST['items'])){
241
  ?>
242
+ storedData.set('<?php echo $playlist_cookie; ?>', '<?php echo preg_replace('/[^\d,]+/', '', $_POST['items']); ?>');
243
  <?php } ?>
244
  jQuery('.cb :checkbox').click(function() {
245
  var cur, arr, del;
319
  </script>
320
  <div class="wrap">
321
  <?php if($added===false) { ?>
322
+ <?php if( current_user_can('FlAG Import folder') ) {
323
+ $defaultpath = basename(WP_CONTENT_DIR).'/';
324
  ?>
325
  <link rel="stylesheet" type="text/css" href="<?php echo FLAG_URLPATH; ?>admin/js/jqueryFileTree/jqueryFileTree.css" />
326
  <script type="text/javascript" src="<?php echo FLAG_URLPATH; ?>admin/js/jqueryFileTree/jqueryFileTree.js"></script>
390
  'prev_text' => __('&laquo;'),
391
  'next_text' => __('&raquo;'),
392
  'total' => ceil( $img_total_count / $objects_per_page),
393
+ 'current' => intval($_GET['paged']),
394
+ 'add_args' => array('_wpnonce' => wp_create_nonce('flag_add'))
395
  ));
396
  ?>
397
  <div class="tablenav" style="overflow: hidden; height: auto;">
406
  ); echo $page_links_text; ?></div>
407
  </div>
408
  <form id="bannerlib" class="flagform" method="POST" action="<?php echo $filepath; ?>" accept-charset="utf-8">
409
+ <?php wp_nonce_field('flag_update'); ?>
410
  <input type="hidden" name="page" value="banner-box" />
411
 
412
  <div class="tablenav">
426
  <?php } else { ?>
427
  <input type="hidden" name="mode" value="save" />
428
  <input style="width: 80%;" type="text" id="items_array" name="items_array" readonly="readonly" value="<?php echo $added; ?>" />
429
+ <input type="hidden" name="playlist_title" value="<?php echo esc_html($playlist['title']); ?>" />
430
+ <input type="hidden" name="skinname" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
431
+ <input type="hidden" name="skinaction" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
432
+ <textarea style="display: none;" name="playlist_descr" cols="40" rows="1"><?php echo esc_html($playlist['description']); ?></textarea>
433
  <input name="addToPlaylist" class="button-secondary" type="submit" value="<?php _e('Update Playlist','flag'); ?>" />
434
  <?php } ?>
435
  </div>
509
  <!-- #new_playlist -->
510
  <div id="new_playlist" style="display: none;" >
511
  <form id="form_new_playlist" method="POST" action="<?php echo $filepath; ?>" accept-charset="utf-8">
512
+ <?php wp_nonce_field('flag_update'); ?>
513
  <input type="hidden" id="new_playlist_banid" name="items_array" value="" />
514
  <input type="hidden" id="new_playlist_bulkaction" name="TB_bulkaction" value="" />
515
  <input type="hidden" name="mode" value="save" />
admin/banner-sort.php CHANGED
@@ -6,7 +6,8 @@ function flag_b_playlist_order($playlist = 'deprecated'){
6
  //this is the url without any presort variable
7
  $base_url = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
8
  $flag_options = get_option('flag_options');
9
- $playlistPath = $flag_options['galleryPath'].'playlists/banner/'.urlencode($_GET['playlist']).'.xml';
 
10
  $playlist = get_b_playlist_data(ABSPATH.$playlistPath);
11
  $items_a = $playlist['items'];
12
  $items = implode(',',$playlist['items']);
@@ -17,18 +18,18 @@ function flag_b_playlist_order($playlist = 'deprecated'){
17
  <h2><?php _e('Sort Gallery', 'flag'); ?></h2>
18
 
19
  <div class="alignright tablenav" style="margin-bottom: -36px;">
20
- <a href="<?php echo esc_url($base_url.'&playlist='.urlencode($_GET['playlist']).'&mode=edit'); ?>" class="button-secondary action"><?php _e('Back to playlist', 'flag'); ?></a>
21
  </div>
22
- <form id="sortPlaylist" method="POST" action="<?php echo esc_url($base_url.'&playlist='.urlencode($_GET['playlist']).'&mode=edit'); ?>" accept-charset="utf-8">
23
  <div class="alignleft tablenav">
24
- <?php wp_nonce_field('flag_updatesortorder'); ?>
25
  <input class="button-primary action" type="submit" name="updatePlaylist" value="<?php _e('Update Sort Order', 'flag'); ?>" />
26
  </div>
27
  <br clear="all" />
28
- <input type="hidden" name="playlist_title" value="<?php echo esc_html(stripslashes($playlist['title'])); ?>" />
29
- <input type="hidden" name="skinname" value="<?php echo $playlist['skin']; ?>" />
30
- <input type="hidden" name="skinaction" value="<?php echo $playlist['skin']; ?>" />
31
- <textarea style="display: none;" name="playlist_descr" cols="40" rows="1"><?php echo esc_html(stripslashes($playlist['description'])); ?></textarea>
32
  <script type="text/javascript">
33
  /*<![CDATA[*/
34
  jQuery(document).ready(function($) {
6
  //this is the url without any presort variable
7
  $base_url = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
8
  $flag_options = get_option('flag_options');
9
+ $filename = sanitize_flagname($_GET['playlist']);
10
+ $playlistPath = $flag_options['galleryPath'].'playlists/banner/'.$filename.'.xml';
11
  $playlist = get_b_playlist_data(ABSPATH.$playlistPath);
12
  $items_a = $playlist['items'];
13
  $items = implode(',',$playlist['items']);
18
  <h2><?php _e('Sort Gallery', 'flag'); ?></h2>
19
 
20
  <div class="alignright tablenav" style="margin-bottom: -36px;">
21
+ <a href="<?php echo esc_url($base_url.'&playlist='.$filename.'&mode=edit'); ?>" class="button-secondary action"><?php _e('Back to playlist', 'flag'); ?></a>
22
  </div>
23
+ <form id="sortPlaylist" method="POST" action="<?php echo esc_url($base_url.'&playlist='.$filename.'&mode=edit'); ?>" accept-charset="utf-8">
24
  <div class="alignleft tablenav">
25
+ <?php wp_nonce_field('flag_update'); ?>
26
  <input class="button-primary action" type="submit" name="updatePlaylist" value="<?php _e('Update Sort Order', 'flag'); ?>" />
27
  </div>
28
  <br clear="all" />
29
+ <input type="hidden" name="playlist_title" value="<?php echo esc_html($playlist['title']); ?>" />
30
+ <input type="hidden" name="skinname" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
31
+ <input type="hidden" name="skinaction" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
32
+ <textarea style="display: none;" name="playlist_descr" cols="40" rows="1"><?php echo esc_html($playlist['description']); ?></textarea>
33
  <script type="text/javascript">
34
  /*<![CDATA[*/
35
  jQuery(document).ready(function($) {
admin/banner.functions.php CHANGED
@@ -68,24 +68,32 @@ function flagSave_bPlaylist($title,$descr,$data,$file='',$skinaction='') {
68
  $title = htmlspecialchars_decode(stripslashes($title), ENT_QUOTES);
69
  $descr = htmlspecialchars_decode(stripslashes($descr), ENT_QUOTES);
70
  if (!$file) {
71
- $file = sanitize_title($title);
72
  }
73
  if(!is_array($data))
74
  $data = explode(',', $data);
75
 
76
  $flag_options = get_option('flag_options');
77
- $skin = isset($_POST['skinname'])? sanitize_key($_POST['skinname']) : 'banner_default';
78
  if(!$skinaction) {
79
  $skinaction = isset($_POST['skinaction'])? sanitize_key($_POST['skinaction']) : 'update';
80
  }
81
  $skinpath = trailingslashit( $flag_options['skinsDirABS'] ).$skin;
82
  $playlistPath = ABSPATH.$flag_options['galleryPath'].'playlists/banner/'.$file.'.xml';
 
83
  if( file_exists($playlistPath) && ($skin == $skinaction) ) {
84
  $settings = file_get_contents($playlistPath);
85
- } else {
86
  $settings = file_get_contents($skinpath . "/settings/settings.xml");
 
 
 
87
  }
88
  $properties = flagGallery::flagGetBetween($settings,'<properties>','</properties>');
 
 
 
 
89
  $w = flagGallery::flagGetBetween($properties,'<width><![CDATA[',']]></width>');
90
  $h = flagGallery::flagGetBetween($properties,'<height><![CDATA[',']]></height>');
91
  $suffix = $w.'x'.$h;
@@ -112,9 +120,16 @@ function flagSave_bPlaylist($title,$descr,$data,$file='',$skinaction='') {
112
  $name = urldecode( basename( str_replace( '%2F', '/', urlencode( $path ) ), ".$ext" ) );
113
  $img_file = "{$dir}/{$name}-{$suffix}.{$ext}";
114
  if(!file_exists($img_file)){
 
 
 
 
 
 
115
  $thumb = image_resize($path,$w,$h,$cut=true,$suffix);
 
116
  if(is_string($thumb)) {
117
- $img = substr($thumb, strpos($thumb, 'wp-content'));
118
  $track = get_bloginfo('wpurl') . '/' . $img;
119
  } else {
120
  $track = $url;
@@ -157,7 +172,7 @@ function flagSave_bPlaylist($title,$descr,$data,$file='',$skinaction='') {
157
  }
158
 
159
  function flagSave_bPlaylistSkin($file) {
160
-
161
  $flag_options = get_option('flag_options');
162
  $playlistPath = ABSPATH.$flag_options['galleryPath'].'playlists/banner/'.$file.'.xml';
163
  // Save options
@@ -169,6 +184,7 @@ function flagSave_bPlaylistSkin($file) {
169
  }
170
 
171
  function flag_b_playlist_delete($playlist) {
 
172
  $flag_options = get_option('flag_options');
173
  $playlistXML = ABSPATH.$flag_options['galleryPath'].'playlists/banner/'.$playlist.'.xml';
174
  if(file_exists($playlistXML)){
68
  $title = htmlspecialchars_decode(stripslashes($title), ENT_QUOTES);
69
  $descr = htmlspecialchars_decode(stripslashes($descr), ENT_QUOTES);
70
  if (!$file) {
71
+ $file = sanitize_flagname($title);
72
  }
73
  if(!is_array($data))
74
  $data = explode(',', $data);
75
 
76
  $flag_options = get_option('flag_options');
77
+ $skin = isset($_POST['skinname'])? sanitize_flagname($_POST['skinname']) : 'banner_default';
78
  if(!$skinaction) {
79
  $skinaction = isset($_POST['skinaction'])? sanitize_key($_POST['skinaction']) : 'update';
80
  }
81
  $skinpath = trailingslashit( $flag_options['skinsDirABS'] ).$skin;
82
  $playlistPath = ABSPATH.$flag_options['galleryPath'].'playlists/banner/'.$file.'.xml';
83
+ $settings = '';
84
  if( file_exists($playlistPath) && ($skin == $skinaction) ) {
85
  $settings = file_get_contents($playlistPath);
86
+ } elseif( file_exists($skinpath . "/settings/settings.xml") ) {
87
  $settings = file_get_contents($skinpath . "/settings/settings.xml");
88
+ } else {
89
+ flagGallery::show_message(__("Can't find skin settings", 'flag'));
90
+ return;
91
  }
92
  $properties = flagGallery::flagGetBetween($settings,'<properties>','</properties>');
93
+ if(empty($properties)) {
94
+ flagGallery::show_message(__("Can't find skin settings", 'flag'));
95
+ return;
96
+ }
97
  $w = flagGallery::flagGetBetween($properties,'<width><![CDATA[',']]></width>');
98
  $h = flagGallery::flagGetBetween($properties,'<height><![CDATA[',']]></height>');
99
  $suffix = $w.'x'.$h;
120
  $name = urldecode( basename( str_replace( '%2F', '/', urlencode( $path ) ), ".$ext" ) );
121
  $img_file = "{$dir}/{$name}-{$suffix}.{$ext}";
122
  if(!file_exists($img_file)){
123
+ if( function_exists('wp_get_image_editor') ) {
124
+ $editor = wp_get_image_editor( $path );
125
+ $editor->resize( $w, $h, $cut=true );
126
+ $dest_file = $editor->generate_filename($suffix);
127
+ $thumb = $editor->save( $dest_file );
128
+ } else {
129
  $thumb = image_resize($path,$w,$h,$cut=true,$suffix);
130
+ }
131
  if(is_string($thumb)) {
132
+ $img = substr($thumb, strpos($thumb, basename(WP_CONTENT_DIR)));
133
  $track = get_bloginfo('wpurl') . '/' . $img;
134
  } else {
135
  $track = $url;
172
  }
173
 
174
  function flagSave_bPlaylistSkin($file) {
175
+ $file = sanitize_flagname($file);
176
  $flag_options = get_option('flag_options');
177
  $playlistPath = ABSPATH.$flag_options['galleryPath'].'playlists/banner/'.$file.'.xml';
178
  // Save options
184
  }
185
 
186
  function flag_b_playlist_delete($playlist) {
187
+ $playlist = sanitize_file_name($playlist);
188
  $flag_options = get_option('flag_options');
189
  $playlistXML = ABSPATH.$flag_options['galleryPath'].'playlists/banner/'.$playlist.'.xml';
190
  if(file_exists($playlistXML)){
admin/css/flagallery.css CHANGED
@@ -5,4 +5,4 @@
5
  .grandmusic, .grandvideo, .grandflv, .grandmp3, .grandbanner { overflow:hidden; position:relative; }
6
  body.FlAG { margin: 0; padding: 0; font-size: 0; line-height: 0; }
7
  body.FlAG .FlAGd * { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; font-size: 0 !important; line-height: 0 !important; height: 0 !important; border-style: none !important; }
8
- body.FlAG .FlAGd img { display: none !important; }
5
  .grandmusic, .grandvideo, .grandflv, .grandmp3, .grandbanner { overflow:hidden; position:relative; }
6
  body.FlAG { margin: 0; padding: 0; font-size: 0; line-height: 0; }
7
  body.FlAG .FlAGd * { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; font-size: 0 !important; line-height: 0 !important; height: 0 !important; border-style: none !important; }
8
+ body.FlAG .FlAGd img { display: none !important; }
admin/flag_install.php CHANGED
@@ -195,7 +195,8 @@ function flag_default_options() {
195
  }
196
 
197
  function flag_list_options() {
198
- $flag_options['galleryPath'] = 'wp-content/flagallery/'; // set default path to the gallery
 
199
  $flag_options['swfUpload'] = true; // activate the batch upload
200
  $flag_options['deleteImg'] = true; // delete Images
201
  $flag_options['deepLinks'] = true;
@@ -220,8 +221,8 @@ function flag_list_options() {
220
  $flag_options['imgQuality'] = 85; // Image Quality
221
 
222
  // Thumbnail Settings
223
- $flag_options['thumbWidth'] = 220; // Thumb Width
224
- $flag_options['thumbHeight'] = 220; // Thumb height
225
  $flag_options['thumbFix'] = true; // Fix the dimension
226
  $flag_options['thumbQuality'] = 100; // Thumb Quality
227
 
195
  }
196
 
197
  function flag_list_options() {
198
+ $wp_content = basename(WP_CONTENT_DIR);
199
+ $flag_options['galleryPath'] = $wp_content.'/flagallery/'; // set default path to the gallery
200
  $flag_options['swfUpload'] = true; // activate the batch upload
201
  $flag_options['deleteImg'] = true; // delete Images
202
  $flag_options['deepLinks'] = true;
221
  $flag_options['imgQuality'] = 85; // Image Quality
222
 
223
  // Thumbnail Settings
224
+ $flag_options['thumbWidth'] = 100; // Thumb Width
225
+ $flag_options['thumbHeight'] = 100; // Thumb height
226
  $flag_options['thumbFix'] = true; // Fix the dimension
227
  $flag_options['thumbQuality'] = 100; // Thumb Quality
228
 
admin/flv_preview.php CHANGED
@@ -1,6 +1,5 @@
1
  <?php
2
- preg_match('|^(.*?/)(wp-content)/|i', str_replace('\\', '/', __FILE__), $_m);
3
- require_once( $_m[1] . 'wp-load.php');
4
  // check for correct capability
5
  if ( !is_user_logged_in() )
6
  die('-1');
1
  <?php
2
+ require_once( dirname(dirname(__FILE__)) . '/flag-config.php');
 
3
  // check for correct capability
4
  if ( !is_user_logged_in() )
5
  die('-1');
admin/functions.php CHANGED
@@ -32,7 +32,7 @@ class flagAdmin{
32
  $gallerytitle = $gallery;
33
  }
34
  //cleanup pathname
35
- $galleryname = sanitize_file_name( $gallerytitle );
36
  $galleryname = apply_filters('flag_gallery_name', $galleryname);
37
  $galleryname = preg_replace('/[^\w\._-]+/', '', $galleryname);
38
  if(!$galleryname) $galleryname = date('y-m-j_h-i-s');
@@ -99,7 +99,7 @@ class flagAdmin{
99
  return false;
100
  }
101
 
102
- $result = $wpdb->get_var("SELECT name FROM $wpdb->flaggallery WHERE name = '$galleryname' ");
103
 
104
  if ($result) {
105
  if ($output) flagGallery::show_error( _n( 'Gallery', 'Galleries', 1, 'flag' ) .' <strong>' . $galleryname . '</strong> '.__('already exists', 'flag'));
@@ -113,7 +113,7 @@ class flagAdmin{
113
 
114
  if ($result) {
115
  $message = __('Gallery \'%1$s\' successfully created.<br/>You can show this gallery with the tag %2$s.<br/>','flag');
116
- $message = sprintf($message, stripcslashes($gallery), '[flagallery gid=' . $gallery_id . ']');
117
  $message .= '<a href="' . admin_url() . 'admin.php?page=flag-manage-gallery&mode=edit&gid=' . $gallery_id . '" >';
118
  $message .= __('Edit gallery','flag');
119
  $message .= '</a>';
@@ -146,18 +146,19 @@ class flagAdmin{
146
  $created_msg = '';
147
 
148
  // remove trailing slash at the end, if somebody use it
 
149
  $galleryfolder = rtrim($galleryfolder, '/');
150
  $gallerypath = WINABSPATH . $galleryfolder;
151
 
152
  if (!is_dir($gallerypath)) {
153
- flagGallery::show_error(__('Directory', 'flag').' <strong>'.$gallerypath.'</strong> '.__('doesn&#96;t exist!', 'flag'));
154
  return ;
155
  }
156
 
157
  // read list of images
158
  $new_imageslist = flagAdmin::scandir($gallerypath);
159
  if (empty($new_imageslist)) {
160
- flagGallery::show_message(__('Directory', 'flag').' <strong>'.$gallerypath.'</strong> '.__('contains no pictures', 'flag'));
161
  return;
162
  }
163
 
@@ -167,13 +168,12 @@ class flagAdmin{
167
 
168
  // take folder name as gallery name
169
  $galleryname = basename($galleryfolder);
170
- $galleryname = apply_filters('flag_gallery_name', $galleryname);
171
-
172
  // check for existing gallery folder
173
- $gallery_id = $wpdb->get_var("SELECT gid FROM $wpdb->flaggallery WHERE path = '$galleryfolder' ");
174
 
175
  if (!$gallery_id) {
176
- $result = $wpdb->query( $wpdb->prepare("INSERT INTO $wpdb->flaggallery (name, path, title, author) VALUES (%s, %s, %s, %s)", $galleryname, $galleryfolder, $galleryname , $user_ID) );
177
  if (!$result) {
178
  flagGallery::show_error(__('Database error. Could not add gallery!','flag'));
179
  return;
@@ -183,7 +183,7 @@ class flagAdmin{
183
  }
184
 
185
  // Look for existing image list
186
- $old_imageslist = $wpdb->get_col("SELECT filename FROM $wpdb->flagpictures WHERE galleryid = '$gallery_id' ");
187
 
188
  // if no images are there, create empty array
189
  if ($old_imageslist == NULL)
@@ -228,10 +228,11 @@ class flagAdmin{
228
 
229
  $created_msg = '';
230
  // remove trailing slash at the end, if somebody use it
 
231
  $folder = rtrim($folder, '/');
232
  $path = WINABSPATH . $folder;
233
  if (!is_dir($path)) {
234
- echo '<p class="message">'.__('Directory', 'flag').' <strong>'.$path.'</strong> '.__('doesn&#96;t exist!', 'flag').'</p>';
235
  return ;
236
  }
237
  // read list of files
@@ -268,10 +269,11 @@ class flagAdmin{
268
 
269
  $created_msg = '';
270
  // remove trailing slash at the end, if somebody use it
 
271
  $folder = rtrim($folder, '/');
272
  $path = WINABSPATH . $folder;
273
  if (!is_dir($path)) {
274
- echo '<p class="message">'.__('Directory', 'flag').' <strong>'.$path.'</strong> '.__('doesn&#96;t exist!', 'flag').'</p>';
275
  return ;
276
  }
277
  // read list of files
@@ -308,10 +310,11 @@ class flagAdmin{
308
 
309
  $created_msg = '';
310
  // remove trailing slash at the end, if somebody use it
 
311
  $folder = rtrim($folder, '/');
312
  $path = WINABSPATH . $folder;
313
  if (!is_dir($path)) {
314
- echo '<p class="message">'.__('Directory', 'flag').' <strong>'.$path.'</strong> '.__('doesn&#96;t exist!', 'flag').'</p>';
315
  return false;
316
  }
317
  // read list of files
@@ -938,7 +941,7 @@ class flagAdmin{
938
  return $filename . __('is no valid image file!','flag');
939
 
940
  // get the path to the gallery
941
- $gallerypath = $wpdb->get_var("SELECT path FROM $wpdb->flaggallery WHERE gid = '$galleryID' ");
942
  if (!$gallerypath){
943
  @unlink($temp_file);
944
  return __('Failure in database, no gallery path set !','flag');
@@ -1291,16 +1294,16 @@ class flagAdmin{
1291
  * @return void
1292
  */
1293
  function set_gallery_preview( $galleryID ) {
1294
-
1295
- global $wpdb;
1296
-
1297
  $gallery = flagdb::find_gallery( $galleryID );
1298
 
1299
  // in the case no preview image is setup, we do this now
1300
  if ($gallery->previewpic == 0) {
1301
- $firstImage = $wpdb->get_var("SELECT pid FROM $wpdb->flagpictures WHERE exclude != 1 AND galleryid = '$galleryID' ORDER by pid DESC limit 0,1");
1302
  if ($firstImage) {
1303
- $wpdb->query("UPDATE $wpdb->flaggallery SET previewpic = '$firstImage' WHERE gid = '$galleryID'");
1304
  wp_cache_delete($galleryID, 'flag_gallery');
1305
  }
1306
  }
32
  $gallerytitle = $gallery;
33
  }
34
  //cleanup pathname
35
+ $galleryname = sanitize_flagname( $gallerytitle );
36
  $galleryname = apply_filters('flag_gallery_name', $galleryname);
37
  $galleryname = preg_replace('/[^\w\._-]+/', '', $galleryname);
38
  if(!$galleryname) $galleryname = date('y-m-j_h-i-s');
99
  return false;
100
  }
101
 
102
+ $result = $wpdb->get_var($wpdb->prepare("SELECT `name` FROM `{$wpdb->flaggallery}` WHERE `name` = '%s' ", $galleryname));
103
 
104
  if ($result) {
105
  if ($output) flagGallery::show_error( _n( 'Gallery', 'Galleries', 1, 'flag' ) .' <strong>' . $galleryname . '</strong> '.__('already exists', 'flag'));
113
 
114
  if ($result) {
115
  $message = __('Gallery \'%1$s\' successfully created.<br/>You can show this gallery with the tag %2$s.<br/>','flag');
116
+ $message = sprintf($message, esc_html(stripcslashes($gallery)), '[flagallery gid=' . $gallery_id . ']');
117
  $message .= '<a href="' . admin_url() . 'admin.php?page=flag-manage-gallery&mode=edit&gid=' . $gallery_id . '" >';
118
  $message .= __('Edit gallery','flag');
119
  $message .= '</a>';
146
  $created_msg = '';
147
 
148
  // remove trailing slash at the end, if somebody use it
149
+ $galleryfolder = str_replace('../','', $galleryfolder );
150
  $galleryfolder = rtrim($galleryfolder, '/');
151
  $gallerypath = WINABSPATH . $galleryfolder;
152
 
153
  if (!is_dir($gallerypath)) {
154
+ flagGallery::show_error(__('Directory', 'flag').' <strong>'.esc_html($gallerypath).'</strong> '.__('doesn&#96;t exist!', 'flag').' '.__('Or imported folder name contains special characters.', 'flag'));
155
  return ;
156
  }
157
 
158
  // read list of images
159
  $new_imageslist = flagAdmin::scandir($gallerypath);
160
  if (empty($new_imageslist)) {
161
+ flagGallery::show_message(__('Directory', 'flag').' <strong>'.esc_html($gallerypath).'</strong> '.__('contains no pictures', 'flag'));
162
  return;
163
  }
164
 
168
 
169
  // take folder name as gallery name
170
  $galleryname = basename($galleryfolder);
171
+
 
172
  // check for existing gallery folder
173
+ $gallery_id = $wpdb->get_var($wpdb->prepare("SELECT gid FROM {$wpdb->flaggallery} WHERE path = '%s' ", $galleryfolder));
174
 
175
  if (!$gallery_id) {
176
+ $result = $wpdb->query( $wpdb->prepare("INSERT INTO {$wpdb->flaggallery} (name, path, title, author) VALUES (%s, %s, %s, %s)", $galleryname, $galleryfolder, $galleryname , $user_ID) );
177
  if (!$result) {
178
  flagGallery::show_error(__('Database error. Could not add gallery!','flag'));
179
  return;
183
  }
184
 
185
  // Look for existing image list
186
+ $old_imageslist = $wpdb->get_col($wpdb->prepare("SELECT filename FROM {$wpdb->flagpictures} WHERE galleryid = %d ", $gallery_id));
187
 
188
  // if no images are there, create empty array
189
  if ($old_imageslist == NULL)
228
 
229
  $created_msg = '';
230
  // remove trailing slash at the end, if somebody use it
231
+ $folder = str_replace(array('../','\'','"','<','>','$','%','='),'', $folder);
232
  $folder = rtrim($folder, '/');
233
  $path = WINABSPATH . $folder;
234
  if (!is_dir($path)) {
235
+ echo '<p class="message">'.__('Directory', 'flag').' <strong>'.$path.'</strong> '.__('doesn&#96;t exist!', 'flag').' '.__('Or imported folder name contains special characters.', 'flag').'</p>';
236
  return ;
237
  }
238
  // read list of files
269
 
270
  $created_msg = '';
271
  // remove trailing slash at the end, if somebody use it
272
+ $folder = str_replace(array('../','\'','"','<','>','$','%','='),'', $folder);
273
  $folder = rtrim($folder, '/');
274
  $path = WINABSPATH . $folder;
275
  if (!is_dir($path)) {
276
+ echo '<p class="message">'.__('Directory', 'flag').' <strong>'.$path.'</strong> '.__('doesn&#96;t exist!', 'flag').' '.__('Or imported folder name contains special characters.', 'flag').'</p>';
277
  return ;
278
  }
279
  // read list of files
310
 
311
  $created_msg = '';
312
  // remove trailing slash at the end, if somebody use it
313
+ $folder = str_replace(array('../','\'','"','<','>','$','%','='),'', $folder);
314
  $folder = rtrim($folder, '/');
315
  $path = WINABSPATH . $folder;
316
  if (!is_dir($path)) {
317
+ echo '<p class="message">'.__('Directory', 'flag').' <strong>'.$path.'</strong> '.__('doesn&#96;t exist!', 'flag').' '.__('Or imported folder name contains special characters.', 'flag').'</p>';
318
  return false;
319
  }
320
  // read list of files
941
  return $filename . __('is no valid image file!','flag');
942
 
943
  // get the path to the gallery
944
+ $gallerypath = $wpdb->get_var($wpdb->prepare("SELECT path FROM {$wpdb->flaggallery} WHERE gid = %d ", $galleryID));
945
  if (!$gallerypath){
946
  @unlink($temp_file);
947
  return __('Failure in database, no gallery path set !','flag');
1294
  * @return void
1295
  */
1296
  function set_gallery_preview( $galleryID ) {
1297
+ global $wpdb;
1298
+
1299
+ $galleryID = intval($galleryID);
1300
  $gallery = flagdb::find_gallery( $galleryID );
1301
 
1302
  // in the case no preview image is setup, we do this now
1303
  if ($gallery->previewpic == 0) {
1304
+ $firstImage = $wpdb->get_var($wpdb->prepare("SELECT `pid` FROM `{$wpdb->flagpictures}` WHERE `exclude` != 1 AND `galleryid` = '%d' ORDER by `pid` DESC limit 0,1", $galleryID));
1305
  if ($firstImage) {
1306
+ $wpdb->query($wpdb->prepare("UPDATE `{$wpdb->flaggallery}` SET `previewpic` = '%s' WHERE `gid` = '%d'", $firstImage, $galleryID));
1307
  wp_cache_delete($galleryID, 'flag_gallery');
1308
  }
1309
  }
admin/jgallery.php CHANGED
@@ -9,7 +9,7 @@ $c = array();
9
  $isCrawler = flagGetUserNow($_SERVER['HTTP_USER_AGENT']); // check if is a crowler
10
  extract($altColors);
11
  $bg = ($wmode == 'window')? '#'.$Background : 'transparent';
12
- $xml['alt'] = '<style type="text/css">';
13
  if(!$isCrawler) {
14
  $xml['alt'] .= '@import url("'.plugins_url('/admin/css/flagallery_nocrawler.css', dirname(__FILE__)).'");';
15
  }
@@ -37,7 +37,7 @@ if($altColors['FullWindow'] && !$isCrawler){
37
  $xml['alt'] .= '</style>';
38
  if(!$isCrawler){
39
  if(!intval($flag_options['jAlterGalScript'])) {
40
- $xml['alt'] .= '<link href="'.plugins_url('/flash-album-gallery/admin/js/jquery.fancybox-1.3.4.css').'" rel="stylesheet" type="text/css" />';
41
  $xml['alt'] .= "<script type='text/javascript' src='".plugins_url('/flash-album-gallery/admin/js/jquery.fancybox-1.3.4.pack.js')."'></script>";
42
  $xml['alt'] .= "<script type='text/javascript'>var ExtendVar='fancybox', hitajax = '".plugins_url('/lib/hitcounter.php', dirname(__FILE__))."';</script>";
43
  } else if(intval($flag_options['jAlterGalScript']) == 1) {
@@ -107,7 +107,7 @@ foreach ( $gID as $galID ) {
107
  $pid = intval($picture['pid']);
108
 
109
  if ($isCrawler){
110
- $xml['alt'] .= '<a style="display:block; overflow: hidden; height: 100px; width: 115px; margin-bottom: 10px; background-color: #eeeeee; background-position: 22px 44px; text-align: left;" class="i'. $j++ .' flag_pic_alt" href="'.$siteurl.'/'.$thegalleries['path'].'/'.$picture['filename'].'" id="flag_pic_'.$pid.'" rel="gid_'.$galID.'_'.$skinID.'"><img style="float:left; margin-right: 10px; width: auto; height: auto; min-height:100px; min-width:115px;" title="'.esc_attr(strip_tags($picture['alttext'])).'" alt="'.esc_attr(strip_tags($picture['alttext'])).'" src="'.$siteurl.'/'.$thegalleries['path'].'/thumbs/thumbs_'.$picture['filename'].'" /><span style="display: block; overflow: hidden; text-decoration: none; color: #000; font-weight: normal;" class="flag_pic_desc" id="flag_desc_'.$pid.'"><strong>'.htmlspecialchars_decode($picture['alttext']).'</strong><br />'.htmlspecialchars_decode($picture['description'],'<b><u><i><span>').'</span></a>';
111
  } else {
112
  if(!$disableViews){
113
  $views = (intval($picture['hitcounter']) < 10000) ? $picture['hitcounter'] : round($picture['hitcounter']/1000, 1).'k';
@@ -116,7 +116,7 @@ foreach ( $gID as $galID ) {
116
  } else {
117
  $views_panel = '';
118
  }
119
- $xml['alt'] .= '<a class="i'. $j++ .' flag_pic_alt" href="'.$siteurl.'/'.$thegalleries['path'].'/'.$picture['filename'].'" id="flag_pic_'.$pid.'" rel="gid_'.$galID.'_'.$skinID.'" title="'.esc_attr(strip_tags($picture['alttext'])).'">[img src='.$siteurl.'/'.$thegalleries['path'].'/thumbs/thumbs_'.$picture['filename'].']'.$views_panel.'<span class="flag_pic_desc" id="flag_desc_'.$pid.'"><strong>'.htmlspecialchars_decode($picture['alttext']).'</strong><br /><span>'.htmlspecialchars_decode($picture['description']).'</span></span></a>';
120
  }
121
  }
122
  $xml['alt'] .= '</div>';
9
  $isCrawler = flagGetUserNow($_SERVER['HTTP_USER_AGENT']); // check if is a crowler
10
  extract($altColors);
11
  $bg = ($wmode == 'window')? '#'.$Background : 'transparent';
12
+ $xml['alt'] = '<style type="text/css" scoped="scoped">';
13
  if(!$isCrawler) {
14
  $xml['alt'] .= '@import url("'.plugins_url('/admin/css/flagallery_nocrawler.css', dirname(__FILE__)).'");';
15
  }
37
  $xml['alt'] .= '</style>';
38
  if(!$isCrawler){
39
  if(!intval($flag_options['jAlterGalScript'])) {
40
+ $xml['alt'] .= '<style type="text/css" scoped="scoped">@import url("'.plugins_url('/flash-album-gallery/admin/js/jquery.fancybox-1.3.4.css').'");</style>';
41
  $xml['alt'] .= "<script type='text/javascript' src='".plugins_url('/flash-album-gallery/admin/js/jquery.fancybox-1.3.4.pack.js')."'></script>";
42
  $xml['alt'] .= "<script type='text/javascript'>var ExtendVar='fancybox', hitajax = '".plugins_url('/lib/hitcounter.php', dirname(__FILE__))."';</script>";
43
  } else if(intval($flag_options['jAlterGalScript']) == 1) {
107
  $pid = intval($picture['pid']);
108
 
109
  if ($isCrawler){
110
+ $xml['alt'] .= '<a style="display:block; overflow: hidden; height: 100px; width: 115px; margin-bottom: 10px; background-color: #eeeeee; background-position: 22px 44px; text-align: left;" class="i'. $j++ .' flag_pic_alt" href="'.$siteurl.'/'.$thegalleries['path'].'/'.$picture['filename'].'" id="flag_pic_'.$pid.'"><img style="float:left; margin-right: 10px; width: auto; height: auto; min-height:100px; min-width:115px;" title="'.esc_attr(strip_tags($picture['alttext'])).'" alt="'.esc_attr(strip_tags($picture['alttext'])).'" src="'.$siteurl.'/'.$thegalleries['path'].'/thumbs/thumbs_'.$picture['filename'].'" /><span style="display: block; overflow: hidden; text-decoration: none; color: #000; font-weight: normal;" class="flag_pic_desc" id="flag_desc_'.$pid.'"><strong>'.htmlspecialchars_decode($picture['alttext']).'</strong><br />'.htmlspecialchars_decode($picture['description']).'</span></a>';
111
  } else {
112
  if(!$disableViews){
113
  $views = (intval($picture['hitcounter']) < 10000) ? $picture['hitcounter'] : round($picture['hitcounter']/1000, 1).'k';
116
  } else {
117
  $views_panel = '';
118
  }
119
+ $xml['alt'] .= '<a class="i'. $j++ .' flag_pic_alt" href="'.$siteurl.'/'.$thegalleries['path'].'/'.$picture['filename'].'" id="flag_pic_'.$pid.'" title="'.esc_attr(strip_tags($picture['alttext'])).'">[img src='.$siteurl.'/'.$thegalleries['path'].'/thumbs/thumbs_'.$picture['filename'].']'.$views_panel.'<span class="flag_pic_desc" id="flag_desc_'.$pid.'"><strong>'.htmlspecialchars_decode($picture['alttext']).'</strong><br /><span>'.htmlspecialchars_decode($picture['description']).'</span></span></a>';
120
  }
121
  }
122
  $xml['alt'] .= '</div>';
admin/js/jquery.nivo.slider.pack.js CHANGED
@@ -6,5 +6,4 @@
6
  * Free to use and abuse under the MIT license.
7
  * http://www.opensource.org/licenses/mit-license.php
8
  */
9
-
10
- (function(a){var b=function(b,c){var d=a.extend({},a.fn.nivoSlider.defaults,c);var e={currentSlide:0,currentImage:"",totalSlides:0,running:false,paused:false,stop:false,controlNavEl:false};var f=a(b);f.data("nivo:vars",e).addClass("nivoSlider");var g=f.children();g.each(function(){var b=a(this);var c="";if(!b.is("img")){if(b.is("a")){b.addClass("nivo-imageLink");c=b}b=b.find("img:first")}var d=d===0?b.attr("width"):b.width(),f=f===0?b.attr("height"):b.height();if(c!==""){c.css("display","none")}b.css("display","none");e.totalSlides++});if(d.randomStart){d.startSlide=Math.floor(Math.random()*e.totalSlides)}if(d.startSlide>0){if(d.startSlide>=e.totalSlides){d.startSlide=e.totalSlides-1}e.currentSlide=d.startSlide}if(a(g[e.currentSlide]).is("img")){e.currentImage=a(g[e.currentSlide])}else{e.currentImage=a(g[e.currentSlide]).find("img:first")}if(a(g[e.currentSlide]).is("a")){a(g[e.currentSlide]).css("display","block")}var h=a('<img class="nivo-main-image" src="#" />');h.attr("src",e.currentImage.attr("src")).show();f.append(h);a(window).resize(function(){f.children("img").width(f.width());h.attr("src",e.currentImage.attr("src"));h.stop().height("auto");a(".nivo-slice").remove();a(".nivo-box").remove()});f.append(a('<div class="nivo-caption"></div>'));var i=function(b){var c=a(".nivo-caption",f);if(e.currentImage.attr("title")!=""&&e.currentImage.attr("title")!=undefined){var d=e.currentImage.attr("title");if(d.substr(0,1)=="#")d=a(d).html();if(c.css("display")=="block"){setTimeout(function(){c.html(d)},b.animSpeed)}else{c.html(d);c.stop().fadeIn(b.animSpeed)}}else{c.stop().fadeOut(b.animSpeed)}};i(d);var j=0;if(!d.manualAdvance&&g.length>1){j=setInterval(function(){o(f,g,d,false)},d.pauseTime)}if(d.directionNav){f.append('<div class="nivo-directionNav"><a class="nivo-prevNav">'+d.prevText+'</a><a class="nivo-nextNav">'+d.nextText+"</a></div>");a("a.nivo-prevNav",f).live("click",function(){if(e.running){return false}clearInterval(j);j="";e.currentSlide-=2;o(f,g,d,"prev")});a("a.nivo-nextNav",f).live("click",function(){if(e.running){return false}clearInterval(j);j="";o(f,g,d,"next")})}if(d.controlNav){e.controlNavEl=a('<div class="nivo-controlNav"></div>');f.after(e.controlNavEl);for(var k=0;k<g.length;k++){if(d.controlNavThumbs){e.controlNavEl.addClass("nivo-thumbs-enabled");var l=g.eq(k);if(!l.is("img")){l=l.find("img:first")}if(l.attr("data-thumb"))e.controlNavEl.append('<a class="nivo-control" rel="'+k+'"><img src="'+l.attr("data-thumb")+'" alt="" /></a>')}else{e.controlNavEl.append('<a class="nivo-control" rel="'+k+'">'+(k+1)+"</a>")}}a("a:eq("+e.currentSlide+")",e.controlNavEl).addClass("active");a("a",e.controlNavEl).bind("click",function(){if(e.running)return false;if(a(this).hasClass("active"))return false;clearInterval(j);j="";h.attr("src",e.currentImage.attr("src"));e.currentSlide=a(this).attr("rel")-1;o(f,g,d,"control")})}if(d.pauseOnHover){f.hover(function(){e.paused=true;clearInterval(j);j=""},function(){e.paused=false;if(j===""&&!d.manualAdvance){j=setInterval(function(){o(f,g,d,false)},d.pauseTime)}})}f.bind("nivo:animFinished",function(){h.attr("src",e.currentImage.attr("src"));e.running=false;a(g).each(function(){if(a(this).is("a")){a(this).css("display","none")}});if(a(g[e.currentSlide]).is("a")){a(g[e.currentSlide]).css("display","block")}if(j===""&&!e.paused&&!d.manualAdvance){j=setInterval(function(){o(f,g,d,false)},d.pauseTime)}d.afterChange.call(this)});var m=function(b,c,d){if(a(d.currentImage).parent().is("a"))a(d.currentImage).parent().css("display","block");a('img[src="'+d.currentImage.attr("src")+'"]',b).not(".nivo-main-image,.nivo-control img").width(b.width()).css("visibility","hidden").show();var e=a('img[src="'+d.currentImage.attr("src")+'"]',b).not(".nivo-main-image,.nivo-control img").parent().is("a")?a('img[src="'+d.currentImage.attr("src")+'"]',b).not(".nivo-main-image,.nivo-control img").parent().height():a('img[src="'+d.currentImage.attr("src")+'"]',b).not(".nivo-main-image,.nivo-control img").height();for(var f=0;f<c.slices;f++){var g=Math.round(b.width()/c.slices);if(f===c.slices-1){b.append(a('<div class="nivo-slice" name="'+f+'"><img src="'+d.currentImage.attr("src")+'" style="position:absolute; width:'+b.width()+"px; height:auto; display:block !important; top:0; left:-"+(g+f*g-g)+'px;" /></div>').css({left:g*f+"px",width:b.width()-g*f+"px",height:e+"px",opacity:"0",overflow:"hidden"}))}else{b.append(a('<div class="nivo-slice" name="'+f+'"><img src="'+d.currentImage.attr("src")+'" style="position:absolute; width:'+b.width()+"px; height:auto; display:block !important; top:0; left:-"+(g+f*g-g)+'px;" /></div>').css({left:g*f+"px",width:g+"px",height:e+"px",opacity:"0",overflow:"hidden"}))}}a(".nivo-slice",b).height(e);h.stop().animate({height:a(d.currentImage).height()},c.animSpeed)};var n=function(b,c,d){if(a(d.currentImage).parent().is("a"))a(d.currentImage).parent().css("display","block");a('img[src="'+d.currentImage.attr("src")+'"]',b).not(".nivo-main-image,.nivo-control img").width(b.width()).css("visibility","hidden").show();var e=Math.round(b.width()/c.boxCols),f=Math.round(a('img[src="'+d.currentImage.attr("src")+'"]',b).not(".nivo-main-image,.nivo-control img").height()/c.boxRows);for(var g=0;g<c.boxRows;g++){for(var i=0;i<c.boxCols;i++){if(i===c.boxCols-1){b.append(a('<div class="nivo-box" name="'+i+'" rel="'+g+'"><img src="'+d.currentImage.attr("src")+'" style="position:absolute; width:'+b.width()+"px; height:auto; display:block; top:-"+f*g+"px; left:-"+e*i+'px;" /></div>').css({opacity:0,left:e*i+"px",top:f*g+"px",width:b.width()-e*i+"px"}));a('.nivo-box[name="'+i+'"]',b).height(a('.nivo-box[name="'+i+'"] img',b).height()+"px")}else{b.append(a('<div class="nivo-box" name="'+i+'" rel="'+g+'"><img src="'+d.currentImage.attr("src")+'" style="position:absolute; width:'+b.width()+"px; height:auto; display:block; top:-"+f*g+"px; left:-"+e*i+'px;" /></div>').css({opacity:0,left:e*i+"px",top:f*g+"px",width:e+"px"}));a('.nivo-box[name="'+i+'"]',b).height(a('.nivo-box[name="'+i+'"] img',b).height()+"px")}}}h.stop().animate({height:a(d.currentImage).height()},c.animSpeed)};var o=function(b,c,d,e){var f=b.data("nivo:vars");if(f&&f.currentSlide===f.totalSlides-1){d.lastSlide.call(this)}if((!f||f.stop)&&!e){return false}d.beforeChange.call(this);if(!e){h.attr("src",f.currentImage.attr("src"))}else{if(e==="prev"){h.attr("src",f.currentImage.attr("src"))}if(e==="next"){h.attr("src",f.currentImage.attr("src"))}}f.currentSlide++;if(f.currentSlide===f.totalSlides){f.currentSlide=0;d.slideshowEnd.call(this)}if(f.currentSlide<0){f.currentSlide=f.totalSlides-1}if(a(c[f.currentSlide]).is("img")){f.currentImage=a(c[f.currentSlide])}else{f.currentImage=a(c[f.currentSlide]).find("img:first")}if(d.controlNav){a("a",f.controlNavEl).removeClass("active");a("a:eq("+f.currentSlide+")",f.controlNavEl).addClass("active")}i(d);a(".nivo-slice",b).remove();a(".nivo-box",b).remove();var g=d.effect,j="";if(d.effect==="random"){j=new Array("sliceDownRight","sliceDownLeft","sliceUpRight","sliceUpLeft","sliceUpDown","sliceUpDownLeft","fold","fade","boxRandom","boxRain","boxRainReverse","boxRainGrow","boxRainGrowReverse");g=j[Math.floor(Math.random()*(j.length+1))];if(g===undefined){g="fade"}}if(d.effect.indexOf(",")!==-1){j=d.effect.split(",");g=j[Math.floor(Math.random()*j.length)];if(g===undefined){g="fade"}}if(f.currentImage.attr("data-transition")){g=f.currentImage.attr("data-transition")}f.running=true;var k=0,l=0,o="",q="",r="",s="";if(g==="sliceDown"||g==="sliceDownRight"||g==="sliceDownLeft"){m(b,d,f);k=0;l=0;o=a(".nivo-slice",b);if(g==="sliceDownLeft"){o=a(".nivo-slice",b)._reverse()}o.each(function(){var c=a(this);c.css({top:"0px"});if(l===d.slices-1){setTimeout(function(){c.animate({opacity:"1.0"},d.animSpeed,"",function(){b.trigger("nivo:animFinished")})},100+k)}else{setTimeout(function(){c.animate({opacity:"1.0"},d.animSpeed)},100+k)}k+=50;l++})}else if(g==="sliceUp"||g==="sliceUpRight"||g==="sliceUpLeft"){m(b,d,f);k=0;l=0;o=a(".nivo-slice",b);if(g==="sliceUpLeft"){o=a(".nivo-slice",b)._reverse()}o.each(function(){var c=a(this);c.css({bottom:"0px"});if(l===d.slices-1){setTimeout(function(){c.animate({opacity:"1.0"},d.animSpeed,"",function(){b.trigger("nivo:animFinished")})},100+k)}else{setTimeout(function(){c.animate({opacity:"1.0"},d.animSpeed)},100+k)}k+=50;l++})}else if(g==="sliceUpDown"||g==="sliceUpDownRight"||g==="sliceUpDownLeft"){m(b,d,f);k=0;l=0;var t=0;o=a(".nivo-slice",b);if(g==="sliceUpDownLeft"){o=a(".nivo-slice",b)._reverse()}o.each(function(){var c=a(this);if(l===0){c.css("top","0px");l++}else{c.css("bottom","0px");l=0}if(t===d.slices-1){setTimeout(function(){c.animate({opacity:"1.0"},d.animSpeed,"",function(){b.trigger("nivo:animFinished")})},100+k)}else{setTimeout(function(){c.animate({opacity:"1.0"},d.animSpeed)},100+k)}k+=50;t++})}else if(g==="fold"){m(b,d,f);k=0;l=0;a(".nivo-slice",b).each(function(){var c=a(this);var e=c.width();c.css({top:"0px",width:"0px"});if(l===d.slices-1){setTimeout(function(){c.animate({width:e,opacity:"1.0"},d.animSpeed,"",function(){b.trigger("nivo:animFinished")})},100+k)}else{setTimeout(function(){c.animate({width:e,opacity:"1.0"},d.animSpeed)},100+k)}k+=50;l++})}else if(g==="fade"){m(b,d,f);q=a(".nivo-slice:first",b);q.css({width:b.width()+"px"});q.animate({opacity:"1.0"},d.animSpeed*2,"",function(){b.trigger("nivo:animFinished")})}else if(g==="slideInRight"){m(b,d,f);q=a(".nivo-slice:first",b);q.css({width:"0px",opacity:"1"});q.animate({width:b.width()+"px"},d.animSpeed*2,"",function(){b.trigger("nivo:animFinished")})}else if(g==="slideInLeft"){m(b,d,f);q=a(".nivo-slice:first",b);q.css({width:"0px",opacity:"1",left:"",right:"0px"});q.animate({width:b.width()+"px"},d.animSpeed*2,"",function(){q.css({left:"0px",right:""});b.trigger("nivo:animFinished")})}else if(g==="boxRandom"){n(b,d,f);r=d.boxCols*d.boxRows;l=0;k=0;s=p(a(".nivo-box",b));s.each(function(){var c=a(this);if(l===r-1){setTimeout(function(){c.animate({opacity:"1"},d.animSpeed,"",function(){b.trigger("nivo:animFinished")})},100+k)}else{setTimeout(function(){c.animate({opacity:"1"},d.animSpeed)},100+k)}k+=20;l++})}else if(g==="boxRain"||g==="boxRainReverse"||g==="boxRainGrow"||g==="boxRainGrowReverse"){n(b,d,f);r=d.boxCols*d.boxRows;l=0;k=0;var u=0;var v=0;var w=[];w[u]=[];s=a(".nivo-box",b);if(g==="boxRainReverse"||g==="boxRainGrowReverse"){s=a(".nivo-box",b)._reverse()}s.each(function(){w[u][v]=a(this);v++;if(v===d.boxCols){u++;v=0;w[u]=[]}});for(var x=0;x<d.boxCols*2;x++){var y=x;for(var z=0;z<d.boxRows;z++){if(y>=0&&y<d.boxCols){(function(c,e,f,h,i){var j=a(w[c][e]);var k=j.width();var l=j.height();if(g==="boxRainGrow"||g==="boxRainGrowReverse"){j.width(0).height(0)}if(h===i-1){setTimeout(function(){j.animate({opacity:"1",width:k,height:l},d.animSpeed/1.3,"",function(){b.trigger("nivo:animFinished")})},100+f)}else{setTimeout(function(){j.animate({opacity:"1",width:k,height:l},d.animSpeed/1.3)},100+f)}})(z,y,k,l,r);l++}y--}k+=100}}};var p=function(a){for(var b,c,d=a.length;d;b=parseInt(Math.random()*d,10),c=a[--d],a[d]=a[b],a[b]=c);return a};var q=function(a){if(this.console&&typeof console.log!=="undefined"){console.log(a)}};this.stop=function(){if(!a(b).data("nivo:vars").stop){a(b).data("nivo:vars").stop=true;q("Stop Slider")}};this.start=function(){if(a(b).data("nivo:vars").stop){a(b).data("nivo:vars").stop=false;q("Start Slider")}};d.afterLoad.call(this);return this};a.fn.nivoSlider=function(c){return this.each(function(d,e){var f=a(this);if(f.data("nivoslider")){return f.data("nivoslider")}var g=new b(this,c);f.data("nivoslider",g)})};a.fn.nivoSlider.defaults={effect:"random",slices:15,boxCols:8,boxRows:4,animSpeed:500,pauseTime:3e3,startSlide:0,directionNav:true,controlNav:true,controlNavThumbs:false,pauseOnHover:true,manualAdvance:false,prevText:"Prev",nextText:"Next",randomStart:false,beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){},lastSlide:function(){},afterLoad:function(){}};a.fn._reverse=[].reverse})(jQuery)
6
  * Free to use and abuse under the MIT license.
7
  * http://www.opensource.org/licenses/mit-license.php
8
  */
9
+ (function(a){var b=function(b,c){var d=a.extend({},a.fn.nivoSlider.defaults,c);var e={currentSlide:0,currentImage:"",totalSlides:0,running:false,paused:false,stop:false,controlNavEl:false};var f=a(b);f.data("nivo:vars",e).addClass("nivoSlider");var g=f.children();g.each(function(){var b=a(this);var c="";if(!b.is("img")){if(b.is("a")){b.addClass("nivo-imageLink");c=b}b=b.find("img:first")}var d=d===0?b.attr("width"):b.width(), f=f===0?b.attr("height"):b.height();if(c!==""){c.css("display","none")}b.css("display","none");e.totalSlides++});if(d.randomStart){d.startSlide=Math.floor(Math.random()*e.totalSlides)}if(d.startSlide>0){if(d.startSlide>=e.totalSlides){d.startSlide=e.totalSlides-1}e.currentSlide=d.startSlide}if(a(g[e.currentSlide]).is("img")){e.currentImage=a(g[e.currentSlide])}else{e.currentImage=a(g[e.currentSlide]).find("img:first")}if(a(g[e.currentSlide]).is("a")){a(g[e.currentSlide]).css("display","block")}var h=a('<img class="nivo-main-image" src="#" />');h.attr("src",e.currentImage.attr("src")).show();f.append(h);a(window).resize(function(){f.children("img").width(f.width());h.attr("src",e.currentImage.attr("src"));h.stop().height("auto");a(".nivo-slice").remove();a(".nivo-box").remove()});f.append(a('<div class="nivo-caption"></div>'));var i=function(b){var c=a(".nivo-caption",f);if(e.currentImage.attr("title")!=""&&e.currentImage.attr("title")!=undefined){var d=e.currentImage.attr("title");if(d.substr(0,1)=="#"){d=a(d).html();}if(c.css("display")=="block"){setTimeout(function(){c.html(d)},b.animSpeed)}else{c.html(d);c.stop().fadeIn(b.animSpeed)}}else{c.stop().fadeOut(b.animSpeed)}};i(d);var j=0;if(!d.manualAdvance&&g.length>1){j=setInterval(function(){o(f,g,d,false)},d.pauseTime)}if(d.directionNav){f.append('<div class="nivo-directionNav"><a class="nivo-prevNav">'+d.prevText+'</a><a class="nivo-nextNav">'+d.nextText+"</a></div>");a("a.nivo-prevNav",f).live("click",function(){if(e.running){return false}clearInterval(j);j="";e.currentSlide-=2;o(f,g,d,"prev")});a("a.nivo-nextNav",f).live("click",function(){if(e.running){return false}clearInterval(j);j="";o(f,g,d,"next")})}if(d.controlNav){e.controlNavEl=a('<div class="nivo-controlNav"></div>');f.after(e.controlNavEl);for(var k=0; k<g.length; k++){if(d.controlNavThumbs){e.controlNavEl.addClass("nivo-thumbs-enabled");var l=g.eq(k);if(!l.is("img")){l=l.find("img:first")}if(l.attr("data-thumb")){e.controlNavEl.append('<a class="nivo-control" rel="'+k+'"><img src="'+l.attr("data-thumb")+'" alt="" /></a>')}}else{e.controlNavEl.append('<a class="nivo-control" rel="'+k+'">'+(k+1)+"</a>")}}a("a:eq("+e.currentSlide+")",e.controlNavEl).addClass("active");a("a",e.controlNavEl).bind("click",function(){if(e.running){return false;}if(a(this).hasClass("active")){return false;}clearInterval(j);j="";h.attr("src",e.currentImage.attr("src"));e.currentSlide=a(this).attr("rel")-1;o(f,g,d,"control")})}if(!d.key){f.after('<div class="grandlovelink"><a href="http://wordpress.org/extend/plugins/flash-album-gallery/">Grand Flagallery</a></div>');}if(d.pauseOnHover){f.hover(function(){e.paused=true;clearInterval(j);j=""},function(){e.paused=false;if(j===""&& !d.manualAdvance){j=setInterval(function(){o(f,g,d,false)},d.pauseTime)}})}f.bind("nivo:animFinished",function(){h.attr("src",e.currentImage.attr("src"));e.running=false;a(g).each(function(){if(a(this).is("a")){a(this).css("display","none")}});if(a(g[e.currentSlide]).is("a")){a(g[e.currentSlide]).css("display","block")}if(j===""&& !e.paused&& !d.manualAdvance){j=setInterval(function(){o(f,g,d,false)},d.pauseTime)}d.afterChange.call(this)});var m=function(b,c,d){if(a(d.currentImage).parent().is("a")){a(d.currentImage).parent().css("display","block");}a('img[src="'+d.currentImage.attr("src")+'"]',b).not(".nivo-main-image,.nivo-control img").width(b.width()).css("visibility","hidden").show();var e=a('img[src="'+d.currentImage.attr("src")+'"]',b).not(".nivo-main-image,.nivo-control img").parent().is("a")?a('img[src="'+d.currentImage.attr("src")+'"]',b).not(".nivo-main-image,.nivo-control img").parent().height():a('img[src="'+d.currentImage.attr("src")+'"]',b).not(".nivo-main-image,.nivo-control img").height();for(var f=0; f<c.slices; f++){var g=Math.round(b.width()/c.slices);if(f===c.slices-1){b.append(a('<div class="nivo-slice" name="'+f+'"><img src="'+d.currentImage.attr("src")+'" style="position:absolute; width:'+b.width()+"px; height:auto; display:block !important; top:0; left:-"+(g+f*g-g)+'px;" /></div>').css({left:g*f+"px",width:b.width()-g*f+"px",height:e+"px",opacity:"0",overflow:"hidden"}))}else{b.append(a('<div class="nivo-slice" name="'+f+'"><img src="'+d.currentImage.attr("src")+'" style="position:absolute; width:'+b.width()+"px; height:auto; display:block !important; top:0; left:-"+(g+f*g-g)+'px;" /></div>').css({left:g*f+"px",width:g+"px",height:e+"px",opacity:"0",overflow:"hidden"}))}}a(".nivo-slice",b).height(e);h.stop().animate({height:a(d.currentImage).height()},c.animSpeed)};var n=function(b,c,d){if(a(d.currentImage).parent().is("a")){a(d.currentImage).parent().css("display","block");}a('img[src="'+d.currentImage.attr("src")+'"]',b).not(".nivo-main-image,.nivo-control img").width(b.width()).css("visibility","hidden").show();var e=Math.round(b.width()/c.boxCols), f=Math.round(a('img[src="'+d.currentImage.attr("src")+'"]',b).not(".nivo-main-image,.nivo-control img").height()/c.boxRows);for(var g=0; g<c.boxRows; g++){for(var i=0; i<c.boxCols; i++){if(i===c.boxCols-1){b.append(a('<div class="nivo-box" name="'+i+'" rel="'+g+'"><img src="'+d.currentImage.attr("src")+'" style="position:absolute; width:'+b.width()+"px; height:auto; display:block; top:-"+f*g+"px; left:-"+e*i+'px;" /></div>').css({opacity:0,left:e*i+"px",top:f*g+"px",width:b.width()-e*i+"px"}));a('.nivo-box[name="'+i+'"]',b).height(a('.nivo-box[name="'+i+'"] img',b).height()+"px")}else{b.append(a('<div class="nivo-box" name="'+i+'" rel="'+g+'"><img src="'+d.currentImage.attr("src")+'" style="position:absolute; width:'+b.width()+"px; height:auto; display:block; top:-"+f*g+"px; left:-"+e*i+'px;" /></div>').css({opacity:0,left:e*i+"px",top:f*g+"px",width:e+"px"}));a('.nivo-box[name="'+i+'"]',b).height(a('.nivo-box[name="'+i+'"] img',b).height()+"px")}}}h.stop().animate({height:a(d.currentImage).height()},c.animSpeed)};var o=function(b,c,d,e){var f=b.data("nivo:vars");if(f&&f.currentSlide===f.totalSlides-1){d.lastSlide.call(this)}if((!f||f.stop)&& !e){return false}d.beforeChange.call(this);if(!e){h.attr("src",f.currentImage.attr("src"))}else{if(e==="prev"){h.attr("src",f.currentImage.attr("src"))}if(e==="next"){h.attr("src",f.currentImage.attr("src"))}}f.currentSlide++;if(f.currentSlide===f.totalSlides){f.currentSlide=0;d.slideshowEnd.call(this)}if(f.currentSlide<0){f.currentSlide=f.totalSlides-1}if(a(c[f.currentSlide]).is("img")){f.currentImage=a(c[f.currentSlide])}else{f.currentImage=a(c[f.currentSlide]).find("img:first")}if(d.controlNav){a("a",f.controlNavEl).removeClass("active");a("a:eq("+f.currentSlide+")",f.controlNavEl).addClass("active")}i(d);a(".nivo-slice",b).remove();a(".nivo-box",b).remove();var g=d.effect, j="";if(d.effect==="random"){j=new Array("sliceDownRight","sliceDownLeft","sliceUpRight","sliceUpLeft","sliceUpDown","sliceUpDownLeft","fold","fade","boxRandom","boxRain","boxRainReverse","boxRainGrow","boxRainGrowReverse");g=j[Math.floor(Math.random()*(j.length+1))];if(g===undefined){g="fade"}}if(d.effect.indexOf(",")!== -1){j=d.effect.split(",");g=j[Math.floor(Math.random()*j.length)];if(g===undefined){g="fade"}}if(f.currentImage.attr("data-transition")){g=f.currentImage.attr("data-transition")}f.running=true;var k=0, l=0, o="", q="", r="", s="";if(g==="sliceDown"||g==="sliceDownRight"||g==="sliceDownLeft"){m(b,d,f);k=0;l=0;o=a(".nivo-slice",b);if(g==="sliceDownLeft"){o=a(".nivo-slice",b)._reverse()}o.each(function(){var c=a(this);c.css({top:"0px"});if(l===d.slices-1){setTimeout(function(){c.animate({opacity:"1.0"},d.animSpeed,"",function(){b.trigger("nivo:animFinished")})},100+k)}else{setTimeout(function(){c.animate({opacity:"1.0"},d.animSpeed)},100+k)}k+=50;l++})}else if(g==="sliceUp"||g==="sliceUpRight"||g==="sliceUpLeft"){m(b,d,f);k=0;l=0;o=a(".nivo-slice",b);if(g==="sliceUpLeft"){o=a(".nivo-slice",b)._reverse()}o.each(function(){var c=a(this);c.css({bottom:"0px"});if(l===d.slices-1){setTimeout(function(){c.animate({opacity:"1.0"},d.animSpeed,"",function(){b.trigger("nivo:animFinished")})},100+k)}else{setTimeout(function(){c.animate({opacity:"1.0"},d.animSpeed)},100+k)}k+=50;l++})}else if(g==="sliceUpDown"||g==="sliceUpDownRight"||g==="sliceUpDownLeft"){m(b,d,f);k=0;l=0;var t=0;o=a(".nivo-slice",b);if(g==="sliceUpDownLeft"){o=a(".nivo-slice",b)._reverse()}o.each(function(){var c=a(this);if(l===0){c.css("top","0px");l++}else{c.css("bottom","0px");l=0}if(t===d.slices-1){setTimeout(function(){c.animate({opacity:"1.0"},d.animSpeed,"",function(){b.trigger("nivo:animFinished")})},100+k)}else{setTimeout(function(){c.animate({opacity:"1.0"},d.animSpeed)},100+k)}k+=50;t++})}else if(g==="fold"){m(b,d,f);k=0;l=0;a(".nivo-slice",b).each(function(){var c=a(this);var e=c.width();c.css({top:"0px",width:"0px"});if(l===d.slices-1){setTimeout(function(){c.animate({width:e,opacity:"1.0"},d.animSpeed,"",function(){b.trigger("nivo:animFinished")})},100+k)}else{setTimeout(function(){c.animate({width:e,opacity:"1.0"},d.animSpeed)},100+k)}k+=50;l++})}else if(g==="fade"){m(b,d,f);q=a(".nivo-slice:first",b);q.css({width:b.width()+"px"});q.animate({opacity:"1.0"},d.animSpeed*2,"",function(){b.trigger("nivo:animFinished")})}else if(g==="slideInRight"){m(b,d,f);q=a(".nivo-slice:first",b);q.css({width:"0px",opacity:"1"});q.animate({width:b.width()+"px"},d.animSpeed*2,"",function(){b.trigger("nivo:animFinished")})}else if(g==="slideInLeft"){m(b,d,f);q=a(".nivo-slice:first",b);q.css({width:"0px",opacity:"1",left:"",right:"0px"});q.animate({width:b.width()+"px"},d.animSpeed*2,"",function(){q.css({left:"0px",right:""});b.trigger("nivo:animFinished")})}else if(g==="boxRandom"){n(b,d,f);r=d.boxCols*d.boxRows;l=0;k=0;s=p(a(".nivo-box",b));s.each(function(){var c=a(this);if(l===r-1){setTimeout(function(){c.animate({opacity:"1"},d.animSpeed,"",function(){b.trigger("nivo:animFinished")})},100+k)}else{setTimeout(function(){c.animate({opacity:"1"},d.animSpeed)},100+k)}k+=20;l++})}else if(g==="boxRain"||g==="boxRainReverse"||g==="boxRainGrow"||g==="boxRainGrowReverse"){n(b,d,f);r=d.boxCols*d.boxRows;l=0;k=0;var u=0;var v=0;var w=[];w[u]=[];s=a(".nivo-box",b);if(g==="boxRainReverse"||g==="boxRainGrowReverse"){s=a(".nivo-box",b)._reverse()}s.each(function(){w[u][v]=a(this);v++;if(v===d.boxCols){u++;v=0;w[u]=[]}});for(var x=0; x<d.boxCols*2; x++){var y=x;for(var z=0; z<d.boxRows; z++){if(y>=0&&y<d.boxCols){(function(c,e,f,h,i){var j=a(w[c][e]);var k=j.width();var l=j.height();if(g==="boxRainGrow"||g==="boxRainGrowReverse"){j.width(0).height(0)}if(h===i-1){setTimeout(function(){j.animate({opacity:"1",width:k,height:l},d.animSpeed/1.3,"",function(){b.trigger("nivo:animFinished")})},100+f)}else{setTimeout(function(){j.animate({opacity:"1",width:k,height:l},d.animSpeed/1.3)},100+f)}})(z,y,k,l,r);l++}y--}k+=100}}};var p=function(a){for(var b, c, d=a.length; d; b=parseInt(Math.random()*d,10), c=a[--d], a[d]=a[b], a[b]=c){;}return a};var q=function(a){if(this.console&&typeof console.log!=="undefined"){console.log(a)}};this.stop=function(){if(!a(b).data("nivo:vars").stop){a(b).data("nivo:vars").stop=true;q("Stop Slider")}};this.start=function(){if(a(b).data("nivo:vars").stop){a(b).data("nivo:vars").stop=false;q("Start Slider")}};d.afterLoad.call(this);return this};a.fn.nivoSlider=function(c){return this.each(function(d,e){var f=a(this);if(f.data("nivoslider")){return f.data("nivoslider")}var g=new b(this,c);f.data("nivoslider",g)})};a.fn.nivoSlider.defaults={effect:"random",slices:15,boxCols:8,boxRows:4,animSpeed:500,pauseTime:3e3,startSlide:0,directionNav:true,controlNav:true,controlNavThumbs:false,pauseOnHover:true,manualAdvance:false,prevText:"Prev",nextText:"Next",key:'',randomStart:false,beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){},lastSlide:function(){},afterLoad:function(){}};a.fn._reverse=[].reverse})(jQuery)
 
admin/js/nivo-slider.css CHANGED
@@ -109,7 +109,7 @@
109
  .nivo-controlNav a.active {
110
  font-weight:bold;
111
  }
112
- .grandlovelink { display: none; float: right; background: #000000; color: #ffffff; font-size: 11px; padding: 1px 5px; border: 1px solid #000000; border-top: none;
113
  border-bottom-left-radius: 4px; border-bottom-right-radius: 4px;
114
  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px;
115
  -webkit-border-bottom-left-radius: 4px; -webkit-border-bottom-right-radius: 4px;
109
  .nivo-controlNav a.active {
110
  font-weight:bold;
111
  }
112
+ .grandlovelink { display: none; position: absolute; left: 0; top: 0; z-index: 1000; background: #000000; color: #ffffff; font-size: 11px; padding: 1px 5px; border: 1px solid #000000; border-top: none;
113
  border-bottom-left-radius: 4px; border-bottom-right-radius: 4px;
114
  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px;
115
  -webkit-border-bottom-left-radius: 4px; -webkit-border-bottom-right-radius: 4px;
admin/js/script.js CHANGED
@@ -1,5 +1,8 @@
1
  var fv = swfobject.getFlashPlayerVersion();
2
- var metaViewport = jQuery('meta[name=viewport]','head').attr('content');
 
 
 
3
 
4
  function FlAGClass(ExtendVar, skin_id, pic_id, slideshow) {
5
  jQuery(document).ready(function() {
@@ -48,7 +51,7 @@ function FlAGClass(ExtendVar, skin_id, pic_id, slideshow) {
48
  jQuery('#fancybox-wrap').off('click', '.grand_controls span');
49
  });
50
  } else {
51
- if(!metaViewport && ExtendVar == 'photoswipe'){
52
  jQuery('head').append('<meta content="width=device-width, initial-scale=1.0;" name="viewport" />');
53
  }
54
  jQuery('.flashalbum').css('height','auto');
@@ -65,6 +68,10 @@ function FlAGClass(ExtendVar, skin_id, pic_id, slideshow) {
65
  jQuery('.flagcatlinks',this).append('<a class="flagcat'+act+'" href="#'+catId+'" title="'+catDescr+'">'+catName+'</a>');
66
  }
67
  jQuery('a#backlink').appendTo('.flagcatlinks',this);
 
 
 
 
68
  });
69
  jQuery('.flag_alternate .flagcat').click(function(){
70
  if(!jQuery(this).hasClass('active')) {
@@ -138,8 +145,9 @@ function alternate_flag_e(t, ExtendVar){
138
  });
139
  // onHide - clean up
140
  instance.addEventHandler(window.Code.PhotoSwipe.EventTypes.onHide, function(e){
141
- if(!metaViewport){
142
  jQuery('meta[name=viewport]').attr('content','width=device-width, initial-scale=1.0, minimum-scale=0.25, maximum-scale=1.6, user-scalable=1');
 
143
  } else {
144
  jQuery('meta[name=viewport]').attr('content',metaViewport);
145
  }
1
  var fv = swfobject.getFlashPlayerVersion();
2
+ var metaViewport;
3
+ jQuery(document).ready(function() {
4
+ metaViewport = jQuery('meta[name=viewport]','head').attr('content');
5
+ });
6
 
7
  function FlAGClass(ExtendVar, skin_id, pic_id, slideshow) {
8
  jQuery(document).ready(function() {
51
  jQuery('#fancybox-wrap').off('click', '.grand_controls span');
52
  });
53
  } else {
54
+ if((('undefined' == metaViewport) || !metaViewport) && ExtendVar == 'photoswipe'){
55
  jQuery('head').append('<meta content="width=device-width, initial-scale=1.0;" name="viewport" />');
56
  }
57
  jQuery('.flashalbum').css('height','auto');
68
  jQuery('.flagcatlinks',this).append('<a class="flagcat'+act+'" href="#'+catId+'" title="'+catDescr+'">'+catName+'</a>');
69
  }
70
  jQuery('a#backlink').appendTo('.flagcatlinks',this);
71
+ jQuery('.flagcategory', this).each(function(){
72
+ var flagcatid = jQuery(this).attr('id');
73
+ jQuery('a.flag_pic_alt', this).attr('rel',flagcatid);
74
+ });
75
  });
76
  jQuery('.flag_alternate .flagcat').click(function(){
77
  if(!jQuery(this).hasClass('active')) {
145
  });
146
  // onHide - clean up
147
  instance.addEventHandler(window.Code.PhotoSwipe.EventTypes.onHide, function(e){
148
+ if(('undefined' == metaViewport) || !metaViewport){
149
  jQuery('meta[name=viewport]').attr('content','width=device-width, initial-scale=1.0, minimum-scale=0.25, maximum-scale=1.6, user-scalable=1');
150
+ jQuery('meta[name=viewport]').remove();
151
  } else {
152
  jQuery('meta[name=viewport]').attr('content',metaViewport);
153
  }
admin/js/themes/dark/styles.css CHANGED
@@ -10,7 +10,7 @@ Supports Thumbs: true
10
 
11
  .theme-dark.slider-wrapper {
12
  background: #222;
13
- padding: 10px;
14
  }
15
  .theme-dark .nivoSlider {
16
  position:relative;
10
 
11
  .theme-dark.slider-wrapper {
12
  background: #222;
13
+ border: 10px solid #222;
14
  }
15
  .theme-dark .nivoSlider {
16
  position:relative;
admin/js/themes/light/styles.css CHANGED
@@ -9,8 +9,8 @@ Supports Thumbs: true
9
  */
10
 
11
  .theme-light.slider-wrapper {
12
- background: #fff;
13
- padding: 10px;
14
  }
15
  .theme-light .nivoSlider {
16
  position:relative;
9
  */
10
 
11
  .theme-light.slider-wrapper {
12
+ background: #fff;
13
+ border: 10px solid #fff;
14
  }
15
  .theme-light .nivoSlider {
16
  position:relative;
admin/manage-banner.php CHANGED
@@ -7,7 +7,7 @@ function flag_b_playlist_edit() {
7
  $filepath = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
8
  $all_playlists = get_b_playlists();
9
  $flag_options = get_option('flag_options');
10
- $playlistPath = $flag_options['galleryPath'].'playlists/banner/'.urlencode($_GET['playlist']).'.xml';
11
  $playlist = get_b_playlist_data(ABSPATH.$playlistPath);
12
  $items_a = $playlist['items'];
13
  $items = implode(',',$playlist['items']);
@@ -16,7 +16,7 @@ function flag_b_playlist_edit() {
16
  //<![CDATA[
17
  function checkAll(form)
18
  {
19
- form.find(':checkbox').each(function(){this.checked = !this.checked});
20
  return false;
21
  }
22
 
@@ -97,7 +97,7 @@ jQuery(document).ready(function(){
97
  </script>
98
 
99
  <div class="wrap">
100
- <h2><?php _e( 'Playlist', 'flag' ); ?>: <?php echo esc_html(stripslashes($playlist['title'])); ?></h2>
101
  <div style="float: right; margin: -20px 3px 0 0;">
102
  <span><a href="<?php echo $filepath; ?>"><?php _e('Back to Banner Box', 'flag'); ?></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
103
  <select name="select_playlist" onchange="window.location.href=this.options[this.selectedIndex].value">
@@ -105,16 +105,16 @@ jQuery(document).ready(function(){
105
  <?php
106
  foreach((array)$all_playlists as $playlist_file => $playlist_data) {
107
  $playlist_name = basename($playlist_file, '.xml');
108
- if ($playlist_name == urlencode($_GET['playlist'])) continue;
109
  ?>
110
- <option value="<?php echo esc_url($filepath."&playlist=".$playlist_name."&mode=edit"); ?>"><?php echo esc_html(stripslashes($playlist_data['title'])); ?></option>
111
  <?php
112
  }
113
  ?>
114
  </select>
115
  </div>
116
- <form id="updatePlaylist" class="flagform" method="POST" action="<?php echo esc_url($filepath."&playlist=".urlencode($_GET['playlist'])."&mode=edit"); ?>" accept-charset="utf-8">
117
- <?php wp_nonce_field('flag_updateplaylist'); ?>
118
  <input type="hidden" name="page" value="manage-playlist" />
119
 
120
  <div id="poststuff" class="metabox-holder">
@@ -125,9 +125,9 @@ jQuery(document).ready(function(){
125
  <table cellspacing="8" cellpadding="0" border="0">
126
  <tr>
127
  <th align="left" valign="middle" scope="row"><?php _e('Shortcode', 'flag'); ?>:</th>
128
- <td align="left" valign="middle"><input type="text" readonly="readonly" size="50" onfocus="this.select()" value="[grandbanner xml=<?php echo urlencode($_GET['playlist']); ?>]" /></td>
129
  <td rowspan="3" align="left" valign="top"><div style="font-size:11px;"><strong style="display: inline-block; width: 100px;"><?php _e("Playlist Skin", 'flag'); ?>:</strong>
130
- <input id="skinaction" type="hidden" name="skinaction" value="<?php echo $playlist['skin']; ?>" />
131
  <select id="skinname" name="skinname" style="width: 200px; height: 24px; font-size: 11px;">
132
  <?php require_once (dirname(__FILE__) . '/get_skin.php');
133
  $all_skins = get_skins($skin_folder='', $type='b');
@@ -140,18 +140,18 @@ jQuery(document).ready(function(){
140
  echo '<option value="banner_default">'.__("No Skins", "flag").'</option>';
141
  }
142
  ?>
143
- </select>&nbsp;&nbsp;<a id="skinOptions" class="thickbox" href="<?php echo FLAG_URLPATH.'admin/skin_options.php?show_options=1&amp;skin='.$playlist["skin"].'&amp;TB_iframe=1&amp;width=600&amp;height=560'; ?>"><?php _e('Change Skin Options', 'flag' ); ?></a>
144
  </div>
145
  <p style="margin:10px 0 0 100px;"><input type="submit" id="updatePlaylistSkin" name="updatePlaylistSkin" class="button-primary action" value="<?php _e('Update skin options for this playlist', 'flag'); ?>" /></p>
146
  </td>
147
  </tr>
148
  <tr>
149
  <th align="left" valign="middle" scope="row"><?php _e('Title', 'flag'); ?>:</th>
150
- <td align="left" valign="middle"><input type="text" size="50" name="playlist_title" value="<?php echo esc_html(stripslashes($playlist['title'])); ?>" /></td>
151
  </tr>
152
  <tr>
153
  <th align="left" valign="top" scope="row"><?php _e('Description', 'flag'); ?>:</th>
154
- <td align="left" valign="top"><textarea name="playlist_descr" cols="60" rows="2" style="width: 95%" ><?php echo esc_html(stripslashes($playlist['description'])); ?></textarea></td>
155
  </tr>
156
  <!--<tr>
157
  <th align="left" valign="top" scope="row"><?php _e('Path', 'flag'); ?>:</th>
@@ -169,8 +169,8 @@ jQuery(document).ready(function(){
169
  <option value="delete_items" ><?php _e("Delete items",'flag')?></option>
170
  </select>
171
  <input class="button-secondary alignleft" style="margin-right:10px;" type="submit" name="updatePlaylist" value="<?php _e("OK",'flag')?>" onclick="if ( !checkSelected() ) return false;" />
172
- <a href="<?php echo esc_url($filepath."&playlist=".urlencode($_GET['playlist'])."&mode=sort"); ?>" class="button-secondary alignleft" style="margin:1px 10px 0 0;"><?php _e("Sort Playlist",'flag')?></a>
173
- <a href="<?php echo esc_url($filepath."&playlist=".urlencode($_GET['playlist'])."&mode=add"); ?>" onClick="jQuery('#form_listitems').submit();return false;" class="button-secondary alignleft" style="margin:1px 10px 0 0;"><?php _e("Add/Remove Items from Playlist",'flag')?></a>
174
  <input type="submit" name="updatePlaylist" class="button-primary action alignright" value="<?php _e("Update Playlist",'flag')?>" />
175
  </div>
176
 
@@ -243,7 +243,8 @@ if ( $counter==0 )
243
  </table>
244
  <p class="submit" style="text-align: right;"><input type="submit" class="button-primary action" name="updatePlaylist" value="<?php _e("Update Playlist",'flag')?>" /></p>
245
  </form>
246
- <form id="form_listitems" name="form_listitems" method="POST" action="<?php echo esc_url($filepath."&playlist=".urlencode($_GET['playlist'])."&mode=add"); ?>">
 
247
  <input type="hidden" name="items" value="<?php echo $items; ?>" />
248
  </form>
249
  <br class="clear"/>
7
  $filepath = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
8
  $all_playlists = get_b_playlists();
9
  $flag_options = get_option('flag_options');
10
+ $playlistPath = $flag_options['galleryPath'].'playlists/banner/'.sanitize_flagname($_GET['playlist']).'.xml';
11
  $playlist = get_b_playlist_data(ABSPATH.$playlistPath);
12
  $items_a = $playlist['items'];
13
  $items = implode(',',$playlist['items']);
16
  //<![CDATA[
17
  function checkAll(form)
18
  {
19
+ jQuery(form).find(':checkbox').each(function(){this.checked = !this.checked});
20
  return false;
21
  }
22
 
97
  </script>
98
 
99
  <div class="wrap">
100
+ <h2><?php _e( 'Playlist', 'flag' ); ?>: <?php echo esc_html($playlist['title']); ?></h2>
101
  <div style="float: right; margin: -20px 3px 0 0;">
102
  <span><a href="<?php echo $filepath; ?>"><?php _e('Back to Banner Box', 'flag'); ?></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
103
  <select name="select_playlist" onchange="window.location.href=this.options[this.selectedIndex].value">
105
  <?php
106
  foreach((array)$all_playlists as $playlist_file => $playlist_data) {
107
  $playlist_name = basename($playlist_file, '.xml');
108
+ if ($playlist_name == sanitize_flagname($_GET['playlist'])) continue;
109
  ?>
110
+ <option value="<?php echo esc_url($filepath."&playlist=".$playlist_name."&mode=edit"); ?>"><?php echo esc_html($playlist_data['title']); ?></option>
111
  <?php
112
  }
113
  ?>
114
  </select>
115
  </div>
116
+ <form id="updatePlaylist" class="flagform" method="POST" action="<?php echo esc_url($filepath."&playlist=".sanitize_flagname($_GET['playlist'])."&mode=edit"); ?>" accept-charset="utf-8">
117
+ <?php wp_nonce_field('flag_update'); ?>
118
  <input type="hidden" name="page" value="manage-playlist" />
119
 
120
  <div id="poststuff" class="metabox-holder">
125
  <table cellspacing="8" cellpadding="0" border="0">
126
  <tr>
127
  <th align="left" valign="middle" scope="row"><?php _e('Shortcode', 'flag'); ?>:</th>
128
+ <td align="left" valign="middle"><input type="text" readonly="readonly" size="50" onfocus="this.select()" value="[grandbanner xml=<?php echo sanitize_flagname($_GET['playlist']); ?>]" /></td>
129
  <td rowspan="3" align="left" valign="top"><div style="font-size:11px;"><strong style="display: inline-block; width: 100px;"><?php _e("Playlist Skin", 'flag'); ?>:</strong>
130
+ <input id="skinaction" type="hidden" name="skinaction" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
131
  <select id="skinname" name="skinname" style="width: 200px; height: 24px; font-size: 11px;">
132
  <?php require_once (dirname(__FILE__) . '/get_skin.php');
133
  $all_skins = get_skins($skin_folder='', $type='b');
140
  echo '<option value="banner_default">'.__("No Skins", "flag").'</option>';
141
  }
142
  ?>
143
+ </select>&nbsp;&nbsp;<a id="skinOptions" class="thickbox" href="<?php echo FLAG_URLPATH.'admin/skin_options.php?show_options=1&amp;skin='.sanitize_flagname($playlist["skin"]).'&amp;TB_iframe=1&amp;width=600&amp;height=560'; ?>"><?php _e('Change Skin Options', 'flag' ); ?></a>
144
  </div>
145
  <p style="margin:10px 0 0 100px;"><input type="submit" id="updatePlaylistSkin" name="updatePlaylistSkin" class="button-primary action" value="<?php _e('Update skin options for this playlist', 'flag'); ?>" /></p>
146
  </td>
147
  </tr>
148
  <tr>
149
  <th align="left" valign="middle" scope="row"><?php _e('Title', 'flag'); ?>:</th>
150
+ <td align="left" valign="middle"><input type="text" size="50" name="playlist_title" value="<?php echo esc_html($playlist['title']); ?>" /></td>
151
  </tr>
152
  <tr>
153
  <th align="left" valign="top" scope="row"><?php _e('Description', 'flag'); ?>:</th>
154
+ <td align="left" valign="top"><textarea name="playlist_descr" cols="60" rows="2" style="width: 95%" ><?php echo esc_html($playlist['description']); ?></textarea></td>
155
  </tr>
156
  <!--<tr>
157
  <th align="left" valign="top" scope="row"><?php _e('Path', 'flag'); ?>:</th>
169
  <option value="delete_items" ><?php _e("Delete items",'flag')?></option>
170
  </select>
171
  <input class="button-secondary alignleft" style="margin-right:10px;" type="submit" name="updatePlaylist" value="<?php _e("OK",'flag')?>" onclick="if ( !checkSelected() ) return false;" />
172
+ <a href="<?php echo wp_nonce_url($filepath."&playlist=".sanitize_flagname($_GET['playlist'])."&mode=sort", 'flag_sort'); ?>" class="button-secondary alignleft" style="margin:1px 10px 0 0;"><?php _e("Sort Playlist",'flag')?></a>
173
+ <a href="#" onClick="jQuery('#form_listitems').submit();return false;" class="button-secondary alignleft" style="margin:1px 10px 0 0;"><?php _e("Add/Remove Items from Playlist",'flag')?></a>
174
  <input type="submit" name="updatePlaylist" class="button-primary action alignright" value="<?php _e("Update Playlist",'flag')?>" />
175
  </div>
176
 
243
  </table>
244
  <p class="submit" style="text-align: right;"><input type="submit" class="button-primary action" name="updatePlaylist" value="<?php _e("Update Playlist",'flag')?>" /></p>
245
  </form>
246
+ <form id="form_listitems" name="form_listitems" method="POST" action="<?php echo esc_url($filepath."&playlist=".sanitize_flagname($_GET['playlist'])."&mode=add"); ?>">
247
+ <?php wp_nonce_field('flag_add'); ?>
248
  <input type="hidden" name="items" value="<?php echo $items; ?>" />
249
  </form>
250
  <br class="clear"/>
admin/manage-galleries.php CHANGED
@@ -163,7 +163,7 @@ if($gallerylist) {
163
  foreach($gallerylist as $gallery) {
164
  $class = ( !isset($class) || $class == 'alt ' ) ? '' : 'alt ';
165
  $gid = $gallery->gid;
166
- $name = (empty($gallery->title) ) ? $gallery->name : stripslashes($gallery->title);
167
  $author_user = get_userdata( (int) $gallery->author );
168
  ?>
169
  <tr id="gallery-<?php echo $gid; ?>" class="<?php echo $class; echo ( $gallery->status ) ? 'flag_draft' : 'flag_public'; ?>" >
@@ -179,11 +179,11 @@ if($gallerylist) {
179
  <?php echo esc_html(flagGallery::i18n($name)); ?>
180
  </a>
181
  <?php } else { ?>
182
- <?php echo esc_html(flagGallery::i18n(stripslashes($gallery->title))); ?>
183
  <?php }
184
  if($gallery->status){ echo ' <b>- '.__('Draft', 'flag').'</b>'; }?>
185
  </td>
186
- <td><?php echo esc_html(flagGallery::i18n(stripslashes($gallery->galdesc))); ?>&nbsp;</td>
187
  <td><?php echo $author_user->display_name; ?></td>
188
  <td><?php echo $gallery->counter; ?></td>
189
  <td>
@@ -270,7 +270,7 @@ if($albumlist) {
270
  foreach($albumlist as $album) {
271
  ?>
272
  <div class="album">
273
- <div class="album_name"><span class="albID"><?php echo $album->id; ?>.</span> <form method="post" id="albName_<?php echo $album->id; ?>" name="albName_<?php echo $album->id; ?>"><input type="text" name="album_name" value="<?php echo $album->name; ?>" /><input type="hidden" name="album_id" value="<?php echo $album->id; ?>" /></form> <span class="album_actions"><span class="alb_msg"></span>&nbsp;&nbsp;&nbsp;<span class="del flag-ajax-post" data-action="flag_delete_album" data-_ajax_nonce="<?php echo $nonce; ?>" data-post="<?php echo $album->id; ?>"><?php _e('Delete', 'flag'); ?></span>&nbsp;<span class="album_save flag-ajax-post button" data-action="flag_save_album" data-_ajax_nonce="<?php echo $nonce; ?>" data-form="albName_<?php echo $album->id; ?>"><strong><?php _e('Save', 'flag'); ?></strong></span></span></div>
274
  <div class="album_categoties">
275
  <?php $galids = explode(',',$album->categories);
276
  if($album->categories) {
@@ -278,7 +278,7 @@ if($albumlist) {
278
  $acat = $flagdb->find_gallery($galid);
279
  ?>
280
 
281
- <div class="acat" id="g_<?php echo $acat->gid; ?>"><?php echo esc_html(stripslashes($acat->title)); ?><span class="drop">x</span></div>
282
  <?php }
283
  } else {
284
  echo '<p style="text-align:center; padding: 7px 0; margin: 0;">'.__('Drag&Drop Categories Here','flag').'</p>';
@@ -297,7 +297,7 @@ if($albumlist) {
297
  if($gallerylist) {
298
  foreach($gallerylist as $gallery) {
299
  $gid = $gallery->gid;
300
- $name = (empty($gallery->title) ) ? $gallery->name : esc_html(stripslashes($gallery->title));
301
  $author_user = get_userdata( (int) $gallery->author );
302
  if (flagAdmin::can_manage_this_gallery($gallery->author)) {
303
  ?>
163
  foreach($gallerylist as $gallery) {
164
  $class = ( !isset($class) || $class == 'alt ' ) ? '' : 'alt ';
165
  $gid = $gallery->gid;
166
+ $name = (empty($gallery->title) ) ? $gallery->name : $gallery->title;
167
  $author_user = get_userdata( (int) $gallery->author );
168
  ?>
169
  <tr id="gallery-<?php echo $gid; ?>" class="<?php echo $class; echo ( $gallery->status ) ? 'flag_draft' : 'flag_public'; ?>" >
179
  <?php echo esc_html(flagGallery::i18n($name)); ?>
180
  </a>
181
  <?php } else { ?>
182
+ <?php echo esc_html(flagGallery::i18n($gallery->title)); ?>
183
  <?php }
184
  if($gallery->status){ echo ' <b>- '.__('Draft', 'flag').'</b>'; }?>
185
  </td>
186
+ <td><?php echo esc_html(flagGallery::i18n($gallery->galdesc)); ?>&nbsp;</td>
187
  <td><?php echo $author_user->display_name; ?></td>
188
  <td><?php echo $gallery->counter; ?></td>
189
  <td>
270
  foreach($albumlist as $album) {
271
  ?>
272
  <div class="album">
273
+ <div class="album_name"><span class="albID"><?php echo $album->id; ?>.</span> <form method="post" id="albName_<?php echo $album->id; ?>" name="albName_<?php echo $album->id; ?>"><input type="text" name="album_name" value="<?php echo esc_html($album->name); ?>" /><input type="hidden" name="album_id" value="<?php echo $album->id; ?>" /></form> <span class="album_actions"><span class="alb_msg"></span>&nbsp;&nbsp;&nbsp;<span class="del flag-ajax-post" data-action="flag_delete_album" data-_ajax_nonce="<?php echo $nonce; ?>" data-post="<?php echo $album->id; ?>"><?php _e('Delete', 'flag'); ?></span>&nbsp;<span class="album_save flag-ajax-post button" data-action="flag_save_album" data-_ajax_nonce="<?php echo $nonce; ?>" data-form="albName_<?php echo $album->id; ?>"><strong><?php _e('Save', 'flag'); ?></strong></span></span></div>
274
  <div class="album_categoties">
275
  <?php $galids = explode(',',$album->categories);
276
  if($album->categories) {
278
  $acat = $flagdb->find_gallery($galid);
279
  ?>
280
 
281
+ <div class="acat" id="g_<?php echo $acat->gid; ?>"><?php echo esc_html($acat->title); ?><span class="drop">x</span></div>
282
  <?php }
283
  } else {
284
  echo '<p style="text-align:center; padding: 7px 0; margin: 0;">'.__('Drag&Drop Categories Here','flag').'</p>';
297
  if($gallerylist) {
298
  foreach($gallerylist as $gallery) {
299
  $gid = $gallery->gid;
300
+ $name = (empty($gallery->title) ) ? $gallery->name : esc_html($gallery->title);
301
  $author_user = get_userdata( (int) $gallery->author );
302
  if (flagAdmin::can_manage_this_gallery($gallery->author)) {
303
  ?>
admin/manage-images.php CHANGED
@@ -202,7 +202,7 @@ jQuery(document).ready( function() {
202
 
203
  <?php else :?>
204
 
205
- <h2><?php echo _n( 'Gallery', 'Galleries', 1, 'flag' ); ?> : <?php echo esc_html(stripslashes($gallery->title)); ?></h2>
206
  <select name="select_gid" style="width:180px; float: right; margin: -20px 3px 0 0;" onchange="window.location.href=this.options[this.selectedIndex].value">
207
  <option selected="selected"><?php _e('Choose another gallery', 'flag'); ?></option>
208
  <?php
@@ -230,11 +230,11 @@ jQuery(document).ready( function() {
230
  <table class="form-table" >
231
  <tr>
232
  <th align="left" scope="row"><?php _e('Title', 'flag'); ?>:</th>
233
- <td align="left"><input type="text" size="50" name="title" value="<?php echo esc_html(stripslashes($gallery->title)); ?>" /></td>
234
  </tr>
235
  <tr>
236
  <th align="left" scope="row"><?php _e('Description', 'flag'); ?>:</th>
237
- <td align="left"><textarea name="gallerydesc" cols="30" rows="3" style="width: 95%" ><?php echo esc_html(stripslashes($gallery->galdesc)); ?></textarea></td>
238
  </tr>
239
  <tr>
240
  <th align="left" scope="row"><?php _e('Path', 'flag'); ?>:</th>
@@ -485,7 +485,7 @@ if ( $counter==0 )
485
 
486
  <!-- #selectgallery -->
487
  <div id="selectgallery" style="display: none;" >
488
- <form id="form-select-gallery" method="POST" accept-charset="utf-8">
489
  <?php wp_nonce_field('flag_thickbox_form'); ?>
490
  <input type="hidden" id="selectgallery_imagelist" name="TB_imagelist" value="" />
491
  <input type="hidden" id="selectgallery_bulkaction" name="TB_bulkaction" value="" />
@@ -499,7 +499,7 @@ if ( $counter==0 )
499
  foreach ($gallerylist as $gallery) {
500
  if ($gallery->gid != $act_gid) {
501
  ?>
502
- <option value="<?php echo $gallery->gid; ?>" ><?php echo $gallery->gid; ?> - <?php echo esc_html(stripslashes($gallery->title)); ?></option>
503
  <?php
504
  }
505
  }
@@ -521,7 +521,7 @@ if ( $counter==0 )
521
 
522
  <!-- #resize_images -->
523
  <div id="resize_images" style="display: none;" >
524
- <form id="form-resize-images" method="POST" accept-charset="utf-8">
525
  <?php wp_nonce_field('flag_thickbox_form'); ?>
526
  <input type="hidden" id="resize_images_imagelist" name="TB_imagelist" value="" />
527
  <input type="hidden" id="resize_images_bulkaction" name="TB_bulkaction" value="" />
@@ -533,7 +533,7 @@ if ( $counter==0 )
533
  </td>
534
  <td>
535
  <input type="text" size="5" name="imgWidth" value="<?php echo $flag->options['imgWidth']; ?>" /> x <input type="text" size="5" name="imgHeight" value="<?php echo $flag->options['imgHeight']; ?>" />
536
- <br /><small><?php _e('Width x height (in pixel). GRAND FlAGallery will keep ratio size','flag'); ?></small>
537
  </td>
538
  </tr>
539
  <tr align="right">
@@ -550,7 +550,7 @@ if ( $counter==0 )
550
 
551
  <!-- #new_thumbnail -->
552
  <div id="new_thumbnail" style="display: none;" >
553
- <form id="form-new-thumbnail" method="POST" accept-charset="utf-8">
554
  <?php wp_nonce_field('flag_thickbox_form'); ?>
555
  <input type="hidden" id="new_thumbnail_imagelist" name="TB_imagelist" value="" />
556
  <input type="hidden" id="new_thumbnail_bulkaction" name="TB_bulkaction" value="" />
202
 
203
  <?php else :?>
204
 
205
+ <h2><?php echo _n( 'Gallery', 'Galleries', 1, 'flag' ); ?> : <?php echo esc_html($gallery->title); ?></h2>
206
  <select name="select_gid" style="width:180px; float: right; margin: -20px 3px 0 0;" onchange="window.location.href=this.options[this.selectedIndex].value">
207
  <option selected="selected"><?php _e('Choose another gallery', 'flag'); ?></option>
208
  <?php
230
  <table class="form-table" >
231
  <tr>
232
  <th align="left" scope="row"><?php _e('Title', 'flag'); ?>:</th>
233
+ <td align="left"><input type="text" size="50" name="title" value="<?php echo esc_html($gallery->title); ?>" /></td>
234
  </tr>
235
  <tr>
236
  <th align="left" scope="row"><?php _e('Description', 'flag'); ?>:</th>
237
+ <td align="left"><textarea name="gallerydesc" cols="30" rows="3" style="width: 95%" ><?php echo esc_html($gallery->galdesc); ?></textarea></td>
238
  </tr>
239
  <tr>
240
  <th align="left" scope="row"><?php _e('Path', 'flag'); ?>:</th>
485
 
486
  <!-- #selectgallery -->
487
  <div id="selectgallery" style="display: none;" >
488
+ <form id="form-select-gallery" method="POST" action="<?php echo admin_url('admin.php?page=flag-manage-gallery&mode=edit&gid='.$act_gid.'&paged=1'); ?>" accept-charset="utf-8">
489
  <?php wp_nonce_field('flag_thickbox_form'); ?>
490
  <input type="hidden" id="selectgallery_imagelist" name="TB_imagelist" value="" />
491
  <input type="hidden" id="selectgallery_bulkaction" name="TB_bulkaction" value="" />
499
  foreach ($gallerylist as $gallery) {
500
  if ($gallery->gid != $act_gid) {
501
  ?>
502
+ <option value="<?php echo $gallery->gid; ?>" ><?php echo $gallery->gid; ?> - <?php echo esc_html($gallery->title); ?></option>
503
  <?php
504
  }
505
  }
521
 
522
  <!-- #resize_images -->
523
  <div id="resize_images" style="display: none;" >
524
+ <form id="form-resize-images" method="POST" action="<?php echo admin_url('admin.php?page=flag-manage-gallery&mode=edit&gid='.$act_gid.'&paged=1'); ?>" accept-charset="utf-8">
525
  <?php wp_nonce_field('flag_thickbox_form'); ?>
526
  <input type="hidden" id="resize_images_imagelist" name="TB_imagelist" value="" />
527
  <input type="hidden" id="resize_images_bulkaction" name="TB_bulkaction" value="" />
533
  </td>
534
  <td>
535
  <input type="text" size="5" name="imgWidth" value="<?php echo $flag->options['imgWidth']; ?>" /> x <input type="text" size="5" name="imgHeight" value="<?php echo $flag->options['imgHeight']; ?>" />
536
+ <br /><small><?php _e('Width x height (in pixel). Grand Flagallery will keep ratio size','flag'); ?></small>
537
  </td>
538
  </tr>
539
  <tr align="right">
550
 
551
  <!-- #new_thumbnail -->
552
  <div id="new_thumbnail" style="display: none;" >
553
+ <form id="form-new-thumbnail" method="POST" action="<?php echo admin_url('admin.php?page=flag-manage-gallery&mode=edit&gid='.$act_gid.'&paged=1'); ?>" accept-charset="utf-8">
554
  <?php wp_nonce_field('flag_thickbox_form'); ?>
555
  <input type="hidden" id="new_thumbnail_imagelist" name="TB_imagelist" value="" />
556
  <input type="hidden" id="new_thumbnail_bulkaction" name="TB_bulkaction" value="" />
admin/manage-playlist.php CHANGED
@@ -7,7 +7,7 @@ function flag_playlist_edit() {
7
  $filepath = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
8
  $all_playlists = get_playlists();
9
  $flag_options = get_option('flag_options');
10
- $playlistPath = $flag_options['galleryPath'].'playlists/'.urlencode($_GET['playlist']).'.xml';
11
  $playlist = get_playlist_data(ABSPATH.$playlistPath);
12
  $items_a = $playlist['items'];
13
  $items = implode(',',$playlist['items']);
@@ -16,7 +16,7 @@ function flag_playlist_edit() {
16
  //<![CDATA[
17
  function checkAll(form)
18
  {
19
- form.find(':checkbox').each(function(){this.checked = !this.checked});
20
  return false;
21
  }
22
 
@@ -98,7 +98,7 @@ jQuery(document).ready(function(){
98
  </script>
99
 
100
  <div class="wrap">
101
- <h2><?php _e( 'Playlist', 'flag' ); ?>: <?php echo esc_html(stripslashes($playlist['title'])); ?></h2>
102
  <div style="float: right; margin: -20px 3px 0 0;">
103
  <span><a href="<?php echo $filepath; ?>"><?php _e('Back to Music Box', 'flag'); ?></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
104
  <select name="select_playlist" onchange="window.location.href=this.options[this.selectedIndex].value">
@@ -106,16 +106,16 @@ jQuery(document).ready(function(){
106
  <?php
107
  foreach((array)$all_playlists as $playlist_file => $playlist_data) {
108
  $playlist_name = basename($playlist_file, '.xml');
109
- if ($playlist_file == urlencode($_GET['playlist'])) continue;
110
  ?>
111
- <option value="<?php echo esc_url($filepath."&playlist=".$playlist_name."&mode=edit"); ?>"><?php echo esc_html(stripslashes($playlist_data['title'])); ?></option>
112
  <?php
113
  }
114
  ?>
115
  </select>
116
  </div>
117
- <form id="updatePlaylist" class="flagform" method="POST" action="<?php echo esc_url($filepath."&playlist=".urlencode($_GET['playlist'])."&mode=edit"); ?>" accept-charset="utf-8">
118
- <?php wp_nonce_field('flag_updateplaylist'); ?>
119
  <input type="hidden" name="page" value="manage-playlist" />
120
 
121
  <div id="poststuff" class="metabox-holder">
@@ -126,9 +126,9 @@ jQuery(document).ready(function(){
126
  <table cellspacing="8" cellpadding="0" border="0">
127
  <tr>
128
  <th align="left" valign="middle" scope="row"><?php _e('Shortcode', 'flag'); ?>:</th>
129
- <td align="left" valign="middle"><input type="text" readonly="readonly" size="50" onfocus="this.select()" value="[grandmusic playlist=<?php echo urlencode($_GET['playlist']); ?>]" /></td>
130
  <td rowspan="3" align="left" valign="top"><div style="font-size:11px;"><strong style="display: inline-block; width: 100px;"><?php _e("Playlist Skin", 'flag'); ?>:</strong>
131
- <input id="skinaction" type="hidden" name="skinaction" value="<?php echo $playlist['skin']; ?>" />
132
  <select id="skinname" name="skinname" style="width: 200px; height: 24px; font-size: 11px;">
133
  <?php require_once (dirname(__FILE__) . '/get_skin.php');
134
  $all_skins = get_skins($skin_folder='', $type='m');
@@ -141,18 +141,18 @@ jQuery(document).ready(function(){
141
  echo '<option value="music_default">'.__("No Skins", "flag").'</option>';
142
  }
143
  ?>
144
- </select>&nbsp;&nbsp;<a id="skinOptions" class="thickbox" href="<?php echo FLAG_URLPATH.'admin/skin_options.php?show_options=1&amp;skin='.$playlist['skin'].'&amp;TB_iframe=1&amp;width=600&amp;height=560'; ?>"><?php _e('Change Skin Options', 'flag' ); ?></a>
145
  </div>
146
  <p style="margin:10px 0 0 100px;"><input type="submit" id="updatePlaylistSkin" name="updatePlaylistSkin" class="button-primary action" value="<?php _e('Update skin options for this playlist', 'flag'); ?>" /></p>
147
  </td>
148
  </tr>
149
  <tr>
150
  <th align="left" valign="middle" scope="row"><?php _e('Title', 'flag'); ?>:</th>
151
- <td align="left" valign="middle"><input type="text" size="50" name="playlist_title" value="<?php echo esc_html(stripslashes($playlist['title'])); ?>" /></td>
152
  </tr>
153
  <tr>
154
  <th align="left" valign="top" scope="row"><?php _e('Description', 'flag'); ?>:</th>
155
- <td align="left" valign="top"><textarea name="playlist_descr" cols="60" rows="2" style="width: 95%" ><?php echo esc_html(stripslashes($playlist['description'])); ?></textarea></td>
156
  </tr>
157
  <!--<tr>
158
  <th align="left" valign="top" scope="row"><?php _e('Path', 'flag'); ?>:</th>
@@ -170,8 +170,8 @@ jQuery(document).ready(function(){
170
  <option value="delete_items" ><?php _e("Delete items",'flag')?></option>
171
  </select>
172
  <input class="button-secondary alignleft" style="margin-right:10px;" type="submit" name="updatePlaylist" value="<?php _e("OK",'flag')?>" onclick="if ( !checkSelected() ) return false;" />
173
- <a href="<?php echo esc_url($filepath."&playlist=".urlencode($_GET['playlist'])."&mode=sort"); ?>" class="button-secondary alignleft" style="margin:1px 10px 0 0;"><?php _e("Sort Playlist",'flag')?></a>
174
- <a href="<?php echo esc_url($filepath."&playlist=".urlencode($_GET['playlist'])."&mode=add"); ?>" onClick="jQuery('#form_listitems').submit();return false;" class="button-secondary alignleft" style="margin:1px 10px 0 0;"><?php _e("Add/Remove Items from Playlist",'flag')?></a>
175
  <input type="submit" name="updatePlaylist" class="button-primary action alignright" value="<?php _e("Update Playlist",'flag')?>" />
176
  </div>
177
 
@@ -198,9 +198,9 @@ jQuery(document).ready(function(){
198
  </tr>
199
  </tfoot>
200
  <tbody>
201
- <?php
 
202
  if(count($items_a)) {
203
- $counter = 0;
204
  $alt = ' class="alternate"';
205
  $flag_options = get_option('flag_options');
206
  $uploads = wp_upload_dir();
@@ -254,7 +254,8 @@ if ( $counter==0 )
254
  </table>
255
  <p class="submit" style="text-align: right;"><input type="submit" class="button-primary action" name="updatePlaylist" value="<?php _e("Update Playlist",'flag')?>" /></p>
256
  </form>
257
- <form id="form_listitems" name="form_listitems" method="POST" action="<?php echo esc_url($filepath."&playlist=".urlencode($_GET['playlist'])."&mode=add"); ?>">
 
258
  <input type="hidden" name="items" value="<?php echo $items; ?>" />
259
  </form>
260
  <br class="clear"/>
7
  $filepath = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
8
  $all_playlists = get_playlists();
9
  $flag_options = get_option('flag_options');
10
+ $playlistPath = $flag_options['galleryPath'].'playlists/'.sanitize_flagname($_GET['playlist']).'.xml';
11
  $playlist = get_playlist_data(ABSPATH.$playlistPath);
12
  $items_a = $playlist['items'];
13
  $items = implode(',',$playlist['items']);
16
  //<![CDATA[
17
  function checkAll(form)
18
  {
19
+ jQuery(form).find(':checkbox').each(function(){this.checked = !this.checked});
20
  return false;
21
  }
22
 
98
  </script>
99
 
100
  <div class="wrap">
101
+ <h2><?php _e( 'Playlist', 'flag' ); ?>: <?php echo esc_html($playlist['title']); ?></h2>
102
  <div style="float: right; margin: -20px 3px 0 0;">
103
  <span><a href="<?php echo $filepath; ?>"><?php _e('Back to Music Box', 'flag'); ?></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
104
  <select name="select_playlist" onchange="window.location.href=this.options[this.selectedIndex].value">
106
  <?php
107
  foreach((array)$all_playlists as $playlist_file => $playlist_data) {
108
  $playlist_name = basename($playlist_file, '.xml');
109
+ if ($playlist_file == sanitize_flagname($_GET['playlist'])) continue;
110
  ?>
111
+ <option value="<?php echo esc_url($filepath."&playlist=".$playlist_name."&mode=edit"); ?>"><?php echo esc_html($playlist_data['title']); ?></option>
112
  <?php
113
  }
114
  ?>
115
  </select>
116
  </div>
117
+ <form id="updatePlaylist" class="flagform" method="POST" action="<?php echo esc_url($filepath."&playlist=".sanitize_flagname($_GET['playlist'])."&mode=edit"); ?>" accept-charset="utf-8">
118
+ <?php wp_nonce_field('flag_update'); ?>
119
  <input type="hidden" name="page" value="manage-playlist" />
120
 
121
  <div id="poststuff" class="metabox-holder">
126
  <table cellspacing="8" cellpadding="0" border="0">
127
  <tr>
128
  <th align="left" valign="middle" scope="row"><?php _e('Shortcode', 'flag'); ?>:</th>
129
+ <td align="left" valign="middle"><input type="text" readonly="readonly" size="50" onfocus="this.select()" value="[grandmusic playlist=<?php echo sanitize_flagname($_GET['playlist']); ?>]" /></td>
130
  <td rowspan="3" align="left" valign="top"><div style="font-size:11px;"><strong style="display: inline-block; width: 100px;"><?php _e("Playlist Skin", 'flag'); ?>:</strong>
131
+ <input id="skinaction" type="hidden" name="skinaction" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
132
  <select id="skinname" name="skinname" style="width: 200px; height: 24px; font-size: 11px;">
133
  <?php require_once (dirname(__FILE__) . '/get_skin.php');
134
  $all_skins = get_skins($skin_folder='', $type='m');
141
  echo '<option value="music_default">'.__("No Skins", "flag").'</option>';
142
  }
143
  ?>
144
+ </select>&nbsp;&nbsp;<a id="skinOptions" class="thickbox" href="<?php echo FLAG_URLPATH.'admin/skin_options.php?show_options=1&amp;skin='.sanitize_flagname($playlist['skin']).'&amp;TB_iframe=1&amp;width=600&amp;height=560'; ?>"><?php _e('Change Skin Options', 'flag' ); ?></a>
145
  </div>
146
  <p style="margin:10px 0 0 100px;"><input type="submit" id="updatePlaylistSkin" name="updatePlaylistSkin" class="button-primary action" value="<?php _e('Update skin options for this playlist', 'flag'); ?>" /></p>
147
  </td>
148
  </tr>
149
  <tr>
150
  <th align="left" valign="middle" scope="row"><?php _e('Title', 'flag'); ?>:</th>
151
+ <td align="left" valign="middle"><input type="text" size="50" name="playlist_title" value="<?php echo esc_html($playlist['title']); ?>" /></td>
152
  </tr>
153
  <tr>
154
  <th align="left" valign="top" scope="row"><?php _e('Description', 'flag'); ?>:</th>
155
+ <td align="left" valign="top"><textarea name="playlist_descr" cols="60" rows="2" style="width: 95%" ><?php echo esc_html($playlist['description']); ?></textarea></td>
156
  </tr>
157
  <!--<tr>
158
  <th align="left" valign="top" scope="row"><?php _e('Path', 'flag'); ?>:</th>
170
  <option value="delete_items" ><?php _e("Delete items",'flag')?></option>
171
  </select>
172
  <input class="button-secondary alignleft" style="margin-right:10px;" type="submit" name="updatePlaylist" value="<?php _e("OK",'flag')?>" onclick="if ( !checkSelected() ) return false;" />
173
+ <a href="<?php echo wp_nonce_url($filepath."&playlist=".sanitize_flagname($_GET['playlist'])."&mode=sort", 'flag_sort'); ?>" class="button-secondary alignleft" style="margin:1px 10px 0 0;"><?php _e("Sort Playlist",'flag')?></a>
174
+ <a href="#" onClick="jQuery('#form_listitems').submit();return false;" class="button-secondary alignleft" style="margin:1px 10px 0 0;"><?php _e("Add/Remove Items from Playlist",'flag')?></a>
175
  <input type="submit" name="updatePlaylist" class="button-primary action alignright" value="<?php _e("Update Playlist",'flag')?>" />
176
  </div>
177
 
198
  </tr>
199
  </tfoot>
200
  <tbody>
201
+ <?php
202
+ $counter = 0;
203
  if(count($items_a)) {
 
204
  $alt = ' class="alternate"';
205
  $flag_options = get_option('flag_options');
206
  $uploads = wp_upload_dir();
254
  </table>
255
  <p class="submit" style="text-align: right;"><input type="submit" class="button-primary action" name="updatePlaylist" value="<?php _e("Update Playlist",'flag')?>" /></p>
256
  </form>
257
+ <form id="form_listitems" name="form_listitems" method="POST" action="<?php echo esc_url($filepath."&playlist=".sanitize_flagname($_GET['playlist'])."&mode=add"); ?>">
258
+ <?php wp_nonce_field('flag_add'); ?>
259
  <input type="hidden" name="items" value="<?php echo $items; ?>" />
260
  </form>
261
  <br class="clear"/>
admin/manage-video.php CHANGED
@@ -7,7 +7,7 @@ function flag_v_playlist_edit() {
7
  $filepath = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
8
  $all_playlists = get_v_playlists();
9
  $flag_options = get_option('flag_options');
10
- $playlistPath = $flag_options['galleryPath'].'playlists/video/'.urlencode($_GET['playlist']).'.xml';
11
  $playlist = get_v_playlist_data(ABSPATH.$playlistPath);
12
  $items_a = $playlist['items'];
13
  $items = implode(',',$playlist['items']);
@@ -16,7 +16,7 @@ function flag_v_playlist_edit() {
16
  //<![CDATA[
17
  function checkAll(form)
18
  {
19
- form.find(':checkbox').each(function(){this.checked = !this.checked});
20
  return false;
21
  }
22
 
@@ -98,7 +98,7 @@ jQuery(document).ready(function(){
98
  </script>
99
 
100
  <div class="wrap">
101
- <h2><?php _e( 'Playlist', 'flag' ); ?>: <?php echo esc_html(stripslashes($playlist['title'])); ?></h2>
102
  <div style="float: right; margin: -20px 3px 0 0;">
103
  <span><a href="<?php echo $filepath; ?>"><?php _e('Back to Video Box', 'flag'); ?></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
104
  <select name="select_playlist" onchange="window.location.href=this.options[this.selectedIndex].value">
@@ -106,16 +106,16 @@ jQuery(document).ready(function(){
106
  <?php
107
  foreach((array)$all_playlists as $playlist_file => $playlist_data) {
108
  $playlist_name = basename($playlist_file, '.xml');
109
- if ($playlist_file == urlencode($_GET['playlist'])) continue;
110
  ?>
111
- <option value="<?php echo esc_url($filepath."&playlist=".$playlist_name."&mode=edit"); ?>"><?php echo esc_html(stripslashes($playlist_data['title'])); ?></option>
112
  <?php
113
  }
114
  ?>
115
  </select>
116
  </div>
117
- <form id="updatePlaylist" class="flagform" method="POST" action="<?php echo esc_url($filepath."&playlist=".urlencode($_GET['playlist'])."&mode=edit"); ?>" accept-charset="utf-8">
118
- <?php wp_nonce_field('flag_updateplaylist'); ?>
119
  <input type="hidden" name="page" value="manage-playlist" />
120
 
121
  <div id="poststuff" class="metabox-holder">
@@ -126,9 +126,9 @@ jQuery(document).ready(function(){
126
  <table cellspacing="8" cellpadding="0" border="0">
127
  <tr>
128
  <th align="left" valign="middle" scope="row"><?php _e('Shortcode', 'flag'); ?>:</th>
129
- <td align="left" valign="middle"><input type="text" readonly="readonly" size="50" onfocus="this.select()" value="[grandvideo playlist=<?php echo urlencode($_GET['playlist']); ?>]" /></td>
130
  <td rowspan="3" align="left" valign="top"><div style="font-size:11px;"><strong style="display: inline-block; width: 100px;"><?php _e("Playlist Skin", 'flag'); ?>:</strong>
131
- <input id="skinaction" type="hidden" name="skinaction" value="<?php echo $playlist['skin']; ?>" />
132
  <select id="skinname" name="skinname" style="width: 200px; height: 24px; font-size: 11px;">
133
  <?php require_once (dirname(__FILE__) . '/get_skin.php');
134
  $all_skins = get_skins($skin_folder='', $type='v');
@@ -141,18 +141,18 @@ jQuery(document).ready(function(){
141
  echo '<option value="video_default">'.__("No Skins", "flag").'</option>';
142
  }
143
  ?>
144
- </select>&nbsp;&nbsp;<a id="skinOptions" class="thickbox" href="<?php echo FLAG_URLPATH.'admin/skin_options.php?show_options=1&amp;skin='.$playlist['skin'].'&amp;TB_iframe=1&amp;width=600&amp;height=560'; ?>"><?php _e('Change Skin Options', 'flag' ); ?></a>
145
  </div>
146
  <p style="margin:10px 0 0 100px;"><input type="submit" id="updatePlaylistSkin" name="updatePlaylistSkin" class="button-primary action" value="<?php _e('Update skin options for this playlist', 'flag'); ?>" /></p>
147
  </td>
148
  </tr>
149
  <tr>
150
  <th align="left" valign="middle" scope="row"><?php _e('Title', 'flag'); ?>:</th>
151
- <td align="left" valign="middle"><input type="text" size="50" name="playlist_title" value="<?php echo esc_html(stripslashes($playlist['title'])); ?>" /></td>
152
  </tr>
153
  <tr>
154
  <th align="left" valign="top" scope="row"><?php _e('Description', 'flag'); ?>:</th>
155
- <td align="left" valign="top"><textarea name="playlist_descr" cols="60" rows="2" style="width: 95%" ><?php echo esc_html(stripslashes($playlist['description'])); ?></textarea></td>
156
  </tr>
157
  <!--<tr>
158
  <th align="left" valign="top" scope="row"><?php _e('Path', 'flag'); ?>:</th>
@@ -170,8 +170,8 @@ jQuery(document).ready(function(){
170
  <option value="delete_items" ><?php _e("Delete items",'flag')?></option>
171
  </select>
172
  <input class="button-secondary alignleft" style="margin-right:10px;" type="submit" name="updatePlaylist" value="<?php _e("OK",'flag')?>" onclick="if ( !checkSelected() ) return false;" />
173
- <a href="<?php echo esc_url($filepath."&playlist=".urlencode($_GET['playlist'])."&mode=sort"); ?>" class="button-secondary alignleft" style="margin:1px 10px 0 0;"><?php _e("Sort Playlist",'flag')?></a>
174
- <a href="<?php echo esc_url($filepath."&playlist=".urlencode($_GET['playlist'])."&mode=add"); ?>" onClick="jQuery('#form_listitems').submit();return false;" class="button-secondary alignleft" style="margin:1px 10px 0 0;"><?php _e("Add/Remove Items from Playlist",'flag')?></a>
175
  <input type="submit" name="updatePlaylist" class="button-primary action alignright" value="<?php _e("Update Playlist",'flag')?>" />
176
  </div>
177
 
@@ -198,9 +198,9 @@ jQuery(document).ready(function(){
198
  </tr>
199
  </tfoot>
200
  <tbody>
201
- <?php
 
202
  if(count($items_a)) {
203
- $counter = 0;
204
  $alt = ' class="alternate"';
205
  $uploads = wp_upload_dir();
206
  foreach($items_a as $item) {
@@ -249,7 +249,8 @@ if ( $counter==0 )
249
  </table>
250
  <p class="submit" style="text-align: right;"><input type="submit" class="button-primary action" name="updatePlaylist" value="<?php _e("Update Playlist",'flag')?>" /></p>
251
  </form>
252
- <form id="form_listitems" name="form_listitems" method="POST" action="<?php echo esc_url($filepath."&playlist=".urlencode($_GET['playlist'])."&mode=add"); ?>">
 
253
  <input type="hidden" name="items" value="<?php echo $items; ?>" />
254
  </form>
255
  <br class="clear"/>
7
  $filepath = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
8
  $all_playlists = get_v_playlists();
9
  $flag_options = get_option('flag_options');
10
+ $playlistPath = $flag_options['galleryPath'].'playlists/video/'.sanitize_flagname($_GET['playlist']).'.xml';
11
  $playlist = get_v_playlist_data(ABSPATH.$playlistPath);
12
  $items_a = $playlist['items'];
13
  $items = implode(',',$playlist['items']);
16
  //<![CDATA[
17
  function checkAll(form)
18
  {
19
+ jQuery(form).find(':checkbox').each(function(){this.checked = !this.checked});
20
  return false;
21
  }
22
 
98
  </script>
99
 
100
  <div class="wrap">
101
+ <h2><?php _e( 'Playlist', 'flag' ); ?>: <?php echo esc_html($playlist['title']); ?></h2>
102
  <div style="float: right; margin: -20px 3px 0 0;">
103
  <span><a href="<?php echo $filepath; ?>"><?php _e('Back to Video Box', 'flag'); ?></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
104
  <select name="select_playlist" onchange="window.location.href=this.options[this.selectedIndex].value">
106
  <?php
107
  foreach((array)$all_playlists as $playlist_file => $playlist_data) {
108
  $playlist_name = basename($playlist_file, '.xml');
109
+ if ($playlist_file == sanitize_flagname($_GET['playlist'])) continue;
110
  ?>
111
+ <option value="<?php echo esc_url($filepath."&playlist=".$playlist_name."&mode=edit"); ?>"><?php echo esc_html($playlist_data['title']); ?></option>
112
  <?php
113
  }
114
  ?>
115
  </select>
116
  </div>
117
+ <form id="updatePlaylist" class="flagform" method="POST" action="<?php echo esc_url($filepath."&playlist=".sanitize_flagname($_GET['playlist'])."&mode=edit"); ?>" accept-charset="utf-8">
118
+ <?php wp_nonce_field('flag_update'); ?>
119
  <input type="hidden" name="page" value="manage-playlist" />
120
 
121
  <div id="poststuff" class="metabox-holder">
126
  <table cellspacing="8" cellpadding="0" border="0">
127
  <tr>
128
  <th align="left" valign="middle" scope="row"><?php _e('Shortcode', 'flag'); ?>:</th>
129
+ <td align="left" valign="middle"><input type="text" readonly="readonly" size="50" onfocus="this.select()" value="[grandvideo playlist=<?php echo sanitize_flagname($_GET['playlist']); ?>]" /></td>
130
  <td rowspan="3" align="left" valign="top"><div style="font-size:11px;"><strong style="display: inline-block; width: 100px;"><?php _e("Playlist Skin", 'flag'); ?>:</strong>
131
+ <input id="skinaction" type="hidden" name="skinaction" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
132
  <select id="skinname" name="skinname" style="width: 200px; height: 24px; font-size: 11px;">
133
  <?php require_once (dirname(__FILE__) . '/get_skin.php');
134
  $all_skins = get_skins($skin_folder='', $type='v');
141
  echo '<option value="video_default">'.__("No Skins", "flag").'</option>';
142
  }
143
  ?>
144
+ </select>&nbsp;&nbsp;<a id="skinOptions" class="thickbox" href="<?php echo FLAG_URLPATH.'admin/skin_options.php?show_options=1&amp;skin='.sanitize_flagname($playlist['skin']).'&amp;TB_iframe=1&amp;width=600&amp;height=560'; ?>"><?php _e('Change Skin Options', 'flag' ); ?></a>
145
  </div>
146
  <p style="margin:10px 0 0 100px;"><input type="submit" id="updatePlaylistSkin" name="updatePlaylistSkin" class="button-primary action" value="<?php _e('Update skin options for this playlist', 'flag'); ?>" /></p>
147
  </td>
148
  </tr>
149
  <tr>
150
  <th align="left" valign="middle" scope="row"><?php _e('Title', 'flag'); ?>:</th>
151
+ <td align="left" valign="middle"><input type="text" size="50" name="playlist_title" value="<?php echo esc_html($playlist['title']); ?>" /></td>
152
  </tr>
153
  <tr>
154
  <th align="left" valign="top" scope="row"><?php _e('Description', 'flag'); ?>:</th>
155
+ <td align="left" valign="top"><textarea name="playlist_descr" cols="60" rows="2" style="width: 95%" ><?php echo esc_html($playlist['description']); ?></textarea></td>
156
  </tr>
157
  <!--<tr>
158
  <th align="left" valign="top" scope="row"><?php _e('Path', 'flag'); ?>:</th>
170
  <option value="delete_items" ><?php _e("Delete items",'flag')?></option>
171
  </select>
172
  <input class="button-secondary alignleft" style="margin-right:10px;" type="submit" name="updatePlaylist" value="<?php _e("OK",'flag')?>" onclick="if ( !checkSelected() ) return false;" />
173
+ <a href="<?php echo wp_nonce_url($filepath."&playlist=".sanitize_flagname($_GET['playlist'])."&mode=sort", 'flag_sort'); ?>" class="button-secondary alignleft" style="margin:1px 10px 0 0;"><?php _e("Sort Playlist",'flag')?></a>
174
+ <a href="#" onClick="jQuery('#form_listitems').submit();return false;" class="button-secondary alignleft" style="margin:1px 10px 0 0;"><?php _e("Add/Remove Items from Playlist",'flag')?></a>
175
  <input type="submit" name="updatePlaylist" class="button-primary action alignright" value="<?php _e("Update Playlist",'flag')?>" />
176
  </div>
177
 
198
  </tr>
199
  </tfoot>
200
  <tbody>
201
+ <?php
202
+ $counter = 0;
203
  if(count($items_a)) {
 
204
  $alt = ' class="alternate"';
205
  $uploads = wp_upload_dir();
206
  foreach($items_a as $item) {
249
  </table>
250
  <p class="submit" style="text-align: right;"><input type="submit" class="button-primary action" name="updatePlaylist" value="<?php _e("Update Playlist",'flag')?>" /></p>
251
  </form>
252
+ <form id="form_listitems" name="form_listitems" method="POST" action="<?php echo esc_url($filepath."&playlist=".sanitize_flagname($_GET['playlist'])."&mode=add"); ?>">
253
+ <?php wp_nonce_field('flag_add'); ?>
254
  <input type="hidden" name="items" value="<?php echo $items; ?>" />
255
  </form>
256
  <br class="clear"/>
admin/manage.php CHANGED
@@ -66,11 +66,11 @@ class flagManageGallery {
66
  check_admin_referer('flag_editgallery');
67
 
68
  // get the path to the gallery
69
- $gallerypath = $wpdb->get_var("SELECT path FROM $wpdb->flaggallery WHERE gid = '$this->gid' ");
70
  if ($gallerypath){
71
 
72
  // delete pictures
73
- $imagelist = $wpdb->get_col("SELECT filename FROM $wpdb->flagpictures WHERE galleryid = '$this->gid' ");
74
  if ($flag->options['deleteImg']) {
75
  if (is_array($imagelist)) {
76
  foreach ($imagelist as $filename) {
@@ -84,17 +84,20 @@ class flagManageGallery {
84
  }
85
  }
86
 
87
- $delete_pic = $wpdb->query("DELETE FROM $wpdb->flagpictures WHERE galleryid = '$this->gid'");
88
- $delete_galllery = $wpdb->query("DELETE FROM $wpdb->flaggallery WHERE gid = '$this->gid'");
89
 
90
  if($delete_galllery) {
91
 
92
  $albums = $wpdb->get_results("SELECT id, categories FROM $wpdb->flagalbum WHERE categories LIKE '%{$this->gid}%' ");
93
  if($albums) {
94
  foreach ($albums as $album) {
95
- $strsearch = array(','.$this->gid, $this->gid.',', strval($this->gid) );
96
- $galstring = str_replace($strsearch,'',$album->categories);
97
- $wpdb->query( "UPDATE $wpdb->flagalbum SET categories = '{$galstring}' WHERE id = $album->id" );
 
 
 
98
  }
99
  }
100
 
@@ -108,7 +111,7 @@ class flagManageGallery {
108
  // Draft gallery
109
  if ($this->mode == 'draft') {
110
  check_admin_referer('flag_editgallery');
111
- if($wpdb->query( "UPDATE $wpdb->flaggallery SET status = 1 WHERE gid = '$this->gid'" ))
112
  flagGallery::show_message( __( 'Gallery', 'flag' ) . ' \''.$this->gid.'\' '.__('now in draft','flag'));
113
  $this->mode = 'main'; // show mainpage
114
  }
@@ -116,7 +119,7 @@ class flagManageGallery {
116
  // Publish gallery
117
  if ($this->mode == 'publish') {
118
  check_admin_referer('flag_editgallery');
119
- if($wpdb->query( "UPDATE $wpdb->flaggallery SET status = 0 WHERE gid = '$this->gid'" ))
120
  flagGallery::show_message( __( 'Gallery', 'flag' ) . ' \''.$this->gid.'\' '.__('now visible','flag'));
121
  $this->mode = 'main'; // show mainpage
122
  }
@@ -147,7 +150,7 @@ class flagManageGallery {
147
  @unlink($image->imagePath);
148
  @unlink($image->thumbPath);
149
  //}
150
- $delete_pic = $wpdb->query("DELETE FROM $wpdb->flagpictures WHERE pid = '$image->pid'");
151
  }
152
  if($delete_pic)
153
  flagGallery::show_message( __('Picture','flag').' \''.$this->pid.'\' '.__('deleted successfully','flag') );
@@ -306,6 +309,7 @@ class flagManageGallery {
306
  check_admin_referer('flag_thickbox_form');
307
 
308
  $pic_ids = explode(',', $_POST['TB_imagelist']);
 
309
  $dest_gid = (int) $_POST['dest_gid'];
310
 
311
  switch ($_POST['TB_bulkaction']) {
@@ -330,11 +334,11 @@ class flagManageGallery {
330
  $gallery_desc = esc_html($_POST['gallerydesc']);
331
  $gallery_preview = (int) $_POST['previewpic'];
332
 
333
- $wpdb->query("UPDATE $wpdb->flaggallery SET title= '$gallery_title', path= '$gallery_path', galdesc = '$gallery_desc', previewpic = '$gallery_preview' WHERE gid = '$this->gid'");
334
 
335
  if (isset ($_POST['author'])) {
336
  $gallery_author = (int) $_POST['author'];
337
- $wpdb->query("UPDATE $wpdb->flaggallery SET author = '$gallery_author' WHERE gid = '$this->gid'");
338
  }
339
 
340
  $this->update_pictures();
@@ -349,7 +353,7 @@ class flagManageGallery {
349
  // Rescan folder
350
  check_admin_referer('flag_updategallery');
351
 
352
- $gallerypath = $wpdb->get_var("SELECT path FROM $wpdb->flaggallery WHERE gid = '$this->gid' ");
353
  flagAdmin::import_gallery($gallerypath);
354
  }
355
  }
66
  check_admin_referer('flag_editgallery');
67
 
68
  // get the path to the gallery
69
+ $gallerypath = $wpdb->get_var("SELECT path FROM $wpdb->flaggallery WHERE gid = '{$this->gid}' ");
70
  if ($gallerypath){
71
 
72
  // delete pictures
73
+ $imagelist = $wpdb->get_col("SELECT filename FROM $wpdb->flagpictures WHERE galleryid = '{$this->gid}' ");
74
  if ($flag->options['deleteImg']) {
75
  if (is_array($imagelist)) {
76
  foreach ($imagelist as $filename) {
84
  }
85
  }
86
 
87
+ $delete_pic = $wpdb->query("DELETE FROM $wpdb->flagpictures WHERE galleryid = '{$this->gid}'");
88
+ $delete_galllery = $wpdb->query("DELETE FROM $wpdb->flaggallery WHERE gid = '{$this->gid}'");
89
 
90
  if($delete_galllery) {
91
 
92
  $albums = $wpdb->get_results("SELECT id, categories FROM $wpdb->flagalbum WHERE categories LIKE '%{$this->gid}%' ");
93
  if($albums) {
94
  foreach ($albums as $album) {
95
+ $cats = explode(',',$album->categories);
96
+ if(($key = array_search($this->gid, $cats)) !== false) {
97
+ unset($cats[$key]);
98
+ }
99
+ $cats = implode(',',$cats);
100
+ $wpdb->query( "UPDATE $wpdb->flagalbum SET categories = '{$cats}' WHERE id = {$album->id}" );
101
  }
102
  }
103
 
111
  // Draft gallery
112
  if ($this->mode == 'draft') {
113
  check_admin_referer('flag_editgallery');
114
+ if($wpdb->query( "UPDATE $wpdb->flaggallery SET status = 1 WHERE gid = '{$this->gid}'" ))
115
  flagGallery::show_message( __( 'Gallery', 'flag' ) . ' \''.$this->gid.'\' '.__('now in draft','flag'));
116
  $this->mode = 'main'; // show mainpage
117
  }
119
  // Publish gallery
120
  if ($this->mode == 'publish') {
121
  check_admin_referer('flag_editgallery');
122
+ if($wpdb->query( "UPDATE $wpdb->flaggallery SET status = 0 WHERE gid = '{$this->gid}'" ))
123
  flagGallery::show_message( __( 'Gallery', 'flag' ) . ' \''.$this->gid.'\' '.__('now visible','flag'));
124
  $this->mode = 'main'; // show mainpage
125
  }
150
  @unlink($image->imagePath);
151
  @unlink($image->thumbPath);
152
  //}
153
+ $delete_pic = $wpdb->query("DELETE FROM $wpdb->flagpictures WHERE pid = '{$image->pid}'");
154
  }
155
  if($delete_pic)
156
  flagGallery::show_message( __('Picture','flag').' \''.$this->pid.'\' '.__('deleted successfully','flag') );
309
  check_admin_referer('flag_thickbox_form');
310
 
311
  $pic_ids = explode(',', $_POST['TB_imagelist']);
312
+ $pic_ids = array_filter($pic_ids, 'intval');
313
  $dest_gid = (int) $_POST['dest_gid'];
314
 
315
  switch ($_POST['TB_bulkaction']) {
334
  $gallery_desc = esc_html($_POST['gallerydesc']);
335
  $gallery_preview = (int) $_POST['previewpic'];
336
 
337
+ $wpdb->query("UPDATE $wpdb->flaggallery SET title= '$gallery_title', path= '$gallery_path', galdesc = '$gallery_desc', previewpic = '$gallery_preview' WHERE gid = '{$this->gid}'");
338
 
339
  if (isset ($_POST['author'])) {
340
  $gallery_author = (int) $_POST['author'];
341
+ $wpdb->query("UPDATE $wpdb->flaggallery SET author = '$gallery_author' WHERE gid = '{$this->gid}'");
342
  }
343
 
344
  $this->update_pictures();
353
  // Rescan folder
354
  check_admin_referer('flag_updategallery');
355
 
356
+ $gallerypath = $wpdb->get_var("SELECT path FROM $wpdb->flaggallery WHERE gid = '{$this->gid}' ");
357
  flagAdmin::import_gallery($gallerypath);
358
  }
359
  }
admin/media-upload.php CHANGED
@@ -39,7 +39,7 @@ function media_upload_flag() {
39
  media_upload_flag_save_image();
40
 
41
  // Return it to TinyMCE
42
- return media_send_to_editor($html);
43
  }
44
 
45
  // Save button
@@ -47,7 +47,7 @@ function media_upload_flag() {
47
  media_upload_flag_save_image();
48
  }
49
 
50
- return wp_iframe( 'media_upload_flag_form', $errors );
51
  }
52
 
53
  add_action('media_upload_flag', 'media_upload_flag');
@@ -60,16 +60,17 @@ function media_upload_flag_save_image() {
60
 
61
  if ( !empty($_POST['image']) ) foreach ( $_POST['image'] as $image_id => $image ) {
62
 
63
- // Function save desription
64
- $alttext = esc_html($image['alttext']);
65
- $description = esc_html($image['description']);
66
-
67
- $wpdb->query("UPDATE $wpdb->flagpictures SET alttext= '$alttext', description = '$description' WHERE pid = '$image_id'");
 
68
 
69
  }
70
  }
71
 
72
- function media_upload_flag_form($errors) {
73
 
74
  global $wpdb, $wp_query, $wp_locale, $type, $tab, $post_mime_types, $flag;
75
 
@@ -83,13 +84,13 @@ function media_upload_flag_form($errors) {
83
  $form_action_url = site_url( "wp-admin/media-upload.php?type={$GLOBALS['type']}&tab=flag&post_id=$post_id", 'admin');
84
 
85
  // Get number of images in gallery
86
- if ($_REQUEST['select_gal']){
87
  $galleryID = (int) $_REQUEST['select_gal'];
88
  $total = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->flagpictures WHERE galleryid = '$galleryID'");
89
  }
90
 
91
  // Build navigation
92
- $_GET['paged'] = intval($_GET['paged']);
93
  if ( $_GET['paged'] < 1 )
94
  $_GET['paged'] = 1;
95
  $start = ( $_GET['paged'] - 1 ) * 10;
39
  media_upload_flag_save_image();
40
 
41
  // Return it to TinyMCE
42
+ media_send_to_editor($html);
43
  }
44
 
45
  // Save button
47
  media_upload_flag_save_image();
48
  }
49
 
50
+ wp_iframe( 'media_upload_flag_form' );
51
  }
52
 
53
  add_action('media_upload_flag', 'media_upload_flag');
60
 
61
  if ( !empty($_POST['image']) ) foreach ( $_POST['image'] as $image_id => $image ) {
62
 
63
+ // Function save desription
64
+ $alttext = esc_html($image['alttext']);
65
+ $description = esc_html($image['description']);
66
+ $image_id = intval($image_id);
67
+
68
+ $wpdb->query($wpdb->prepare("UPDATE $wpdb->flagpictures SET alttext= '%s', description = '%s' WHERE pid = '%d'", $alttext, $description, $image_id));
69
 
70
  }
71
  }
72
 
73
+ function media_upload_flag_form() {
74
 
75
  global $wpdb, $wp_query, $wp_locale, $type, $tab, $post_mime_types, $flag;
76
 
84
  $form_action_url = site_url( "wp-admin/media-upload.php?type={$GLOBALS['type']}&tab=flag&post_id=$post_id", 'admin');
85
 
86
  // Get number of images in gallery
87
+ if (isset($_REQUEST['select_gal']) && $_REQUEST['select_gal']){
88
  $galleryID = (int) $_REQUEST['select_gal'];
89
  $total = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->flagpictures WHERE galleryid = '$galleryID'");
90
  }
91
 
92
  // Build navigation
93
+ $_GET['paged'] = isset($_GET['paged'])? intval($_GET['paged']) : 1;
94
  if ( $_GET['paged'] < 1 )
95
  $_GET['paged'] = 1;
96
  $start = ( $_GET['paged'] - 1 ) * 10;
admin/music-box.php CHANGED
@@ -28,12 +28,14 @@ function flag_music_controler() {
28
  }
29
  switch($mode) {
30
  case 'sort':
 
31
  include_once (dirname (__FILE__) . '/playlist-sort.php');
32
  flag_playlist_order();
33
  break;
34
  case 'edit':
35
- $file = urlencode($_GET['playlist']);
36
  if(isset($_POST['updatePlaylist'])) {
 
37
  $title = esc_html($_POST['playlist_title']);
38
  $descr = esc_html($_POST['playlist_descr']);
39
  $data = array();
@@ -46,6 +48,7 @@ function flag_music_controler() {
46
  flagSavePlaylist($title,$descr,$data,$file);
47
  }
48
  if(isset($_POST['updatePlaylistSkin'])) {
 
49
  flagSavePlaylistSkin($file);
50
  }
51
  include_once (dirname (__FILE__) . '/manage-playlist.php');
@@ -53,10 +56,11 @@ function flag_music_controler() {
53
  break;
54
  case 'save':
55
  if(isset($_POST['items_array'])){
 
56
  $title = esc_html($_POST['playlist_title']);
57
  $descr = esc_html($_POST['playlist_descr']);
58
  $data = $_POST['items_array'];
59
- $file = isset($_REQUEST['playlist'])? urlencode($_REQUEST['playlist']) : false;
60
  flagGallery::flagSaveWpMedia();
61
  flagSavePlaylist($title,$descr,$data, $file);
62
  }
@@ -69,19 +73,22 @@ function flag_music_controler() {
69
  }
70
  break;
71
  case 'add':
 
72
  if(isset($_POST['items']) && isset($_GET['playlist'])){
73
  $added = $_POST['items'];
74
  } elseif(isset($_GET['playlist'])) {
75
- $added = $_COOKIE['musicboxplaylist_'.urlencode($_GET['playlist'])];
76
  } else {
77
  $added = false;
78
  }
79
  flag_music_wp_media_lib($added);
80
  break;
81
  case 'delete':
82
- flag_playlist_delete(urlencode($_GET['playlist']));
 
83
  case 'main':
84
  if(isset($_POST['updateMedia'])) {
 
85
  flagGallery::flagSaveWpMedia();
86
  flagGallery::show_message( __('Media updated','flag') );
87
  }
@@ -128,15 +135,15 @@ if($all_playlists) {
128
  ?>
129
  <tr id="<?php echo $playlist_name; ?>" <?php echo $class; ?> >
130
  <td>
131
- <a href="<?php echo $filepath.'&amp;playlist='.$playlist_name.'&amp;mode=edit'; ?>" class='edit' title="<?php _e('Edit'); ?>" >
132
- <?php echo esc_html(stripslashes($playlist_data['title'])); ?>
133
  </a>
134
  </td>
135
- <td><?php echo esc_html(stripslashes($playlist_data['description'])); echo '&nbsp;('.__("player", "flag").': <strong>'.$playlist_data['skin'].'</strong>)' ?></td>
136
  <td><?php echo count($query_m); ?></td>
137
  <td style="white-space: nowrap;"><input type="text" class="shortcode1" style="width: 200px; font-size: 9px;" readonly="readonly" onfocus="this.select()" value="[grandmusic playlist=<?php echo $playlist_name; ?>]" /></td>
138
  <td>
139
- <a href="<?php echo $filepath.'&amp;playlist='.$playlist_name."&amp;mode=delete"; ?>" class="delete" onclick="javascript:check=confirm( '<?php _e("Delete this playlist?",'flag')?>');if(check==false) return false;"><?php _e('Delete','flag'); ?></a>
140
  </td>
141
  </tr>
142
  <?php
@@ -158,17 +165,20 @@ function flag_music_wp_media_lib($added=false) {
158
  // same as $_SERVER['REQUEST_URI'], but should work under IIS 6.0
159
  $filepath = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
160
  if($added!==false) {
161
- $filepath .= '&playlist='.urlencode($_GET['playlist']).'&mode=save';
 
162
  $flag_options = get_option('flag_options');
163
- $playlistPath = $flag_options['galleryPath'].'playlists/'.urlencode($_GET['playlist']).'.xml';
164
  $playlist = get_playlist_data(ABSPATH.$playlistPath);
165
  $exclude = explode(',', $added);
 
166
  } else {
167
- $items_array_default = isset($_COOKIE['musicboxplaylist_default'])? $_COOKIE['musicboxplaylist_default'] : '';
168
  $exclude = explode(',', $items_array_default);
 
169
  }
170
  if(isset($_GET['playlist'])){
171
- $playlist_cookie = urlencode($_GET['playlist']);
172
  } else {
173
  $playlist_cookie = 'default';
174
  }
@@ -180,7 +190,7 @@ jQuery(document).ready(function(){
180
  var storedData = getStorage('musicboxplaylist_');
181
  <?php if(isset($_POST['items'])){
182
  ?>
183
- storedData.set('<?php echo $playlist_cookie; ?>', '<?php echo $_POST['items']; ?>');
184
  <?php } ?>
185
  jQuery('.cb :checkbox').click(function() {
186
  var cur, arr, del;
@@ -278,7 +288,7 @@ function send_to_editor(html) {
278
  <div class="wrap">
279
  <?php if($added===false) { ?>
280
  <?php if( current_user_can('FlAG Import folder') ) {
281
- $defaultpath = 'wp-content/';
282
  ?>
283
  <link rel="stylesheet" type="text/css" href="<?php echo FLAG_URLPATH; ?>admin/js/jqueryFileTree/jqueryFileTree.css" />
284
  <script type="text/javascript" src="<?php echo FLAG_URLPATH; ?>admin/js/jqueryFileTree/jqueryFileTree.js"></script>
@@ -347,7 +357,8 @@ $page_links = paginate_links( array(
347
  'prev_text' => __('&laquo;'),
348
  'next_text' => __('&raquo;'),
349
  'total' => ceil( $img_total_count / $objects_per_page),
350
- 'current' => $_GET['paged']
 
351
  ));
352
  ?>
353
  <div class="tablenav" style="overflow: hidden; height: auto;">
@@ -362,7 +373,7 @@ $page_links = paginate_links( array(
362
  ); echo $page_links_text; ?></div>
363
  </div>
364
  <form id="musiclib" class="flagform" method="POST" action="<?php echo $filepath; ?>" accept-charset="utf-8">
365
- <?php wp_nonce_field('flag_bulkmusic'); ?>
366
  <input type="hidden" name="page" value="music-box" />
367
 
368
  <div class="tablenav">
@@ -382,10 +393,10 @@ $page_links = paginate_links( array(
382
  <?php } else { ?>
383
  <input type="hidden" name="mode" value="save" />
384
  <input style="width: 80%;" type="text" id="items_array" name="items_array" readonly="readonly" value="<?php echo $added; ?>" />
385
- <input type="hidden" name="playlist_title" value="<?php echo esc_html(stripslashes($playlist['title'])); ?>" />
386
- <input type="hidden" name="skinname" value="<?php echo $playlist['skin']; ?>" />
387
- <input type="hidden" name="skinaction" value="<?php echo $playlist['skin']; ?>" />
388
- <textarea style="display: none;" name="playlist_descr" cols="40" rows="1"><?php echo esc_html(stripslashes($playlist['description'])); ?></textarea>
389
  <input name="addToPlaylist" class="button-secondary" type="submit" value="<?php _e('Update Playlist','flag'); ?>" />
390
  <?php } ?>
391
  </div>
@@ -476,7 +487,7 @@ if($musiclist) {
476
  <!-- #new_playlist -->
477
  <div id="new_playlist" style="display: none;" >
478
  <form id="form_new_playlist" method="POST" action="<?php echo $filepath; ?>" accept-charset="utf-8">
479
- <?php wp_nonce_field('flag_thickbox_form'); ?>
480
  <input type="hidden" id="new_playlist_mp3id" name="items_array" value="" />
481
  <input type="hidden" id="new_playlist_bulkaction" name="TB_bulkaction" value="" />
482
  <input type="hidden" name="mode" value="save" />
28
  }
29
  switch($mode) {
30
  case 'sort':
31
+ check_admin_referer('flag_sort');
32
  include_once (dirname (__FILE__) . '/playlist-sort.php');
33
  flag_playlist_order();
34
  break;
35
  case 'edit':
36
+ $file = sanitize_flagname($_GET['playlist']);
37
  if(isset($_POST['updatePlaylist'])) {
38
+ check_admin_referer('flag_update');
39
  $title = esc_html($_POST['playlist_title']);
40
  $descr = esc_html($_POST['playlist_descr']);
41
  $data = array();
48
  flagSavePlaylist($title,$descr,$data,$file);
49
  }
50
  if(isset($_POST['updatePlaylistSkin'])) {
51
+ check_admin_referer('flag_update');
52
  flagSavePlaylistSkin($file);
53
  }
54
  include_once (dirname (__FILE__) . '/manage-playlist.php');
56
  break;
57
  case 'save':
58
  if(isset($_POST['items_array'])){
59
+ check_admin_referer('flag_update');
60
  $title = esc_html($_POST['playlist_title']);
61
  $descr = esc_html($_POST['playlist_descr']);
62
  $data = $_POST['items_array'];
63
+ $file = isset($_REQUEST['playlist'])? sanitize_flagname($_REQUEST['playlist']) : false;
64
  flagGallery::flagSaveWpMedia();
65
  flagSavePlaylist($title,$descr,$data, $file);
66
  }
73
  }
74
  break;
75
  case 'add':
76
+ check_admin_referer('flag_add');
77
  if(isset($_POST['items']) && isset($_GET['playlist'])){
78
  $added = $_POST['items'];
79
  } elseif(isset($_GET['playlist'])) {
80
+ $added = $_COOKIE['musicboxplaylist_'.sanitize_flagname($_GET['playlist'])];
81
  } else {
82
  $added = false;
83
  }
84
  flag_music_wp_media_lib($added);
85
  break;
86
  case 'delete':
87
+ check_admin_referer('flag_delete');
88
+ flag_playlist_delete(sanitize_flagname($_GET['playlist']));
89
  case 'main':
90
  if(isset($_POST['updateMedia'])) {
91
+ check_admin_referer('flag_update');
92
  flagGallery::flagSaveWpMedia();
93
  flagGallery::show_message( __('Media updated','flag') );
94
  }
135
  ?>
136
  <tr id="<?php echo $playlist_name; ?>" <?php echo $class; ?> >
137
  <td>
138
+ <a href="<?php echo esc_url($filepath.'&playlist='.$playlist_name.'&mode=edit'); ?>" class='edit' title="<?php _e('Edit'); ?>" >
139
+ <?php echo esc_html($playlist_data['title']); ?>
140
  </a>
141
  </td>
142
+ <td><?php echo esc_html($playlist_data['description']); echo '&nbsp;('.__("player", "flag").': <strong>'.esc_html($playlist_data['skin']).'</strong>)' ?></td>
143
  <td><?php echo count($query_m); ?></td>
144
  <td style="white-space: nowrap;"><input type="text" class="shortcode1" style="width: 200px; font-size: 9px;" readonly="readonly" onfocus="this.select()" value="[grandmusic playlist=<?php echo $playlist_name; ?>]" /></td>
145
  <td>
146
+ <a href="<?php echo wp_nonce_url($filepath.'&playlist='.$playlist_name."&mode=delete", 'flag_delete'); ?>" class="delete" onclick="javascript:check=confirm( '<?php _e("Delete this playlist?",'flag')?>');if(check==false) return false;"><?php _e('Delete','flag'); ?></a>
147
  </td>
148
  </tr>
149
  <?php
165
  // same as $_SERVER['REQUEST_URI'], but should work under IIS 6.0
166
  $filepath = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
167
  if($added!==false) {
168
+ $added = preg_replace('/[^\d,]+/', '', $added);
169
+ $filepath .= '&playlist='.sanitize_flagname($_GET['playlist']).'&mode=save';
170
  $flag_options = get_option('flag_options');
171
+ $playlistPath = $flag_options['galleryPath'].'playlists/'.sanitize_flagname($_GET['playlist']).'.xml';
172
  $playlist = get_playlist_data(ABSPATH.$playlistPath);
173
  $exclude = explode(',', $added);
174
+ $exclude = array_filter($exclude, 'intval');
175
  } else {
176
+ $items_array_default = isset($_COOKIE['musicboxplaylist_default'])? preg_replace('/[^\d,]+/', '', $_COOKIE['musicboxplaylist_default']) : '';
177
  $exclude = explode(',', $items_array_default);
178
+ $exclude = array_filter($exclude, 'intval');
179
  }
180
  if(isset($_GET['playlist'])){
181
+ $playlist_cookie = sanitize_flagname($_GET['playlist']);
182
  } else {
183
  $playlist_cookie = 'default';
184
  }
190
  var storedData = getStorage('musicboxplaylist_');
191
  <?php if(isset($_POST['items'])){
192
  ?>
193
+ storedData.set('<?php echo $playlist_cookie; ?>', '<?php echo preg_replace('/[^\d,]+/', '', $_POST['items']); ?>');
194
  <?php } ?>
195
  jQuery('.cb :checkbox').click(function() {
196
  var cur, arr, del;
288
  <div class="wrap">
289
  <?php if($added===false) { ?>
290
  <?php if( current_user_can('FlAG Import folder') ) {
291
+ $defaultpath = basename(WP_CONTENT_DIR).'/';
292
  ?>
293
  <link rel="stylesheet" type="text/css" href="<?php echo FLAG_URLPATH; ?>admin/js/jqueryFileTree/jqueryFileTree.css" />
294
  <script type="text/javascript" src="<?php echo FLAG_URLPATH; ?>admin/js/jqueryFileTree/jqueryFileTree.js"></script>
357
  'prev_text' => __('&laquo;'),
358
  'next_text' => __('&raquo;'),
359
  'total' => ceil( $img_total_count / $objects_per_page),
360
+ 'current' => intval($_GET['paged']),
361
+ 'add_args' => array('_wpnonce' => wp_create_nonce('flag_add'))
362
  ));
363
  ?>
364
  <div class="tablenav" style="overflow: hidden; height: auto;">
373
  ); echo $page_links_text; ?></div>
374
  </div>
375
  <form id="musiclib" class="flagform" method="POST" action="<?php echo $filepath; ?>" accept-charset="utf-8">
376
+ <?php wp_nonce_field('flag_update'); ?>
377
  <input type="hidden" name="page" value="music-box" />
378
 
379
  <div class="tablenav">
393
  <?php } else { ?>
394
  <input type="hidden" name="mode" value="save" />
395
  <input style="width: 80%;" type="text" id="items_array" name="items_array" readonly="readonly" value="<?php echo $added; ?>" />
396
+ <input type="hidden" name="playlist_title" value="<?php echo esc_html($playlist['title']); ?>" />
397
+ <input type="hidden" name="skinname" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
398
+ <input type="hidden" name="skinaction" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
399
+ <textarea style="display: none;" name="playlist_descr" cols="40" rows="1"><?php echo esc_html($playlist['description']); ?></textarea>
400
  <input name="addToPlaylist" class="button-secondary" type="submit" value="<?php _e('Update Playlist','flag'); ?>" />
401
  <?php } ?>
402
  </div>
487
  <!-- #new_playlist -->
488
  <div id="new_playlist" style="display: none;" >
489
  <form id="form_new_playlist" method="POST" action="<?php echo $filepath; ?>" accept-charset="utf-8">
490
+ <?php wp_nonce_field('flag_update'); ?>
491
  <input type="hidden" id="new_playlist_mp3id" name="items_array" value="" />
492
  <input type="hidden" id="new_playlist_bulkaction" name="TB_bulkaction" value="" />
493
  <input type="hidden" name="mode" value="save" />
admin/overview.php CHANGED
@@ -11,7 +11,7 @@ function flag_admin_overview() {
11
  echo get_option('flag_plugin_error');
12
  ?>
13
  <div class="wrap flag-wrap">
14
- <h2><?php _e('GRAND FlAGallery Overview', 'flag'); echo ' v'.FLAGVERSION; ?></h2>
15
  <div id="flag-overview" class="metabox-holder">
16
  <div id="post-body" class="has-sidebar">
17
  <div class="has-sidebar-content">
@@ -127,27 +127,22 @@ function flag_overview_setup(){
127
  <div id="misc-publishing-actions">
128
  <div class="misc-pub-section">
129
  <span id="plugin-home" class="icon">
130
- <strong><a href="http://codeasily.com/wordpress-plugins/flash-album-gallery/flag" style="text-decoration: none;"><?php _e('Plugin Home','flag'); ?></a></strong>
131
  </span>
132
  </div>
133
  <div class="misc-pub-section">
134
  <span id="plugin-comments" class="icon">
135
- <a href="http://codeasily.com/wordpress-plugins/flash-album-gallery/flag#comments" style="text-decoration: none;"><?php _e('Plugin Comments','flag'); ?></a>
136
  </span>
137
  </div>
138
  <div class="misc-pub-section">
139
  <span id="rate-plugin" class="icon">
140
- <a href="http://wordpress.org/extend/plugins/flash-album-gallery" style="text-decoration: none;"><?php _e('Rate Plugin','flag'); ?></a>
141
  </span>
142
  </div>
143
- <!-- <div class="misc-pub-section">
144
- <span id="my-plugins" class="icon">
145
- <a href="http://codeasily.com/category/wordpress-plugins" style="text-decoration: none;"><?php _e('My Plugins','flag'); ?></a>
146
- </span>
147
- </div> -->
148
  <div class="misc-pub-section curtime misc-pub-section-last">
149
  <span id="contact-me" class="icon">
150
- <a href="http://codeasily.com/about" style="text-decoration: none;"><?php _e('Contact Me','flag'); ?></a>
151
  </span>
152
  </div>
153
  </div>
11
  echo get_option('flag_plugin_error');
12
  ?>
13
  <div class="wrap flag-wrap">
14
+ <h2><?php _e('Grand Flagallery Overview', 'flag'); echo ' v'.FLAGVERSION; ?></h2>
15
  <div id="flag-overview" class="metabox-holder">
16
  <div id="post-body" class="has-sidebar">
17
  <div class="has-sidebar-content">
127
  <div id="misc-publishing-actions">
128
  <div class="misc-pub-section">
129
  <span id="plugin-home" class="icon">
130
+ <strong><a href="http://codeasily.com/wordpress-plugins/flag/" style="text-decoration: none;"><?php _e('Plugin Home','flag'); ?></a></strong>
131
  </span>
132
  </div>
133
  <div class="misc-pub-section">
134
  <span id="plugin-comments" class="icon">
135
+ <a href="http://codeasily.com/community/forum/flagallery-wordpress-plugin/" style="text-decoration: none;"><?php _e('Plugin Forum','flag'); ?></a>
136
  </span>
137
  </div>
138
  <div class="misc-pub-section">
139
  <span id="rate-plugin" class="icon">
140
+ <a href="http://wordpress.org/extend/plugins/flash-album-gallery/" style="text-decoration: none;"><?php _e('Rate Plugin','flag'); ?></a>
141
  </span>
142
  </div>
 
 
 
 
 
143
  <div class="misc-pub-section curtime misc-pub-section-last">
144
  <span id="contact-me" class="icon">
145
+ <a href="http://codeasily.com/support/contact/" style="text-decoration: none;"><?php _e('Contact Me','flag'); ?></a>
146
  </span>
147
  </div>
148
  </div>
admin/playlist-sort.php CHANGED
@@ -6,7 +6,8 @@ function flag_playlist_order($playlist = 'deprecated'){
6
  //this is the url without any presort variable
7
  $base_url = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
8
  $flag_options = get_option('flag_options');
9
- $playlistPath = $flag_options['galleryPath'].'playlists/'.urlencode($_GET['playlist']).'.xml';
 
10
  $playlist = get_playlist_data(ABSPATH.$playlistPath);
11
  $items_a = $playlist['items'];
12
  $items = implode(',',$playlist['items']);
@@ -17,18 +18,18 @@ function flag_playlist_order($playlist = 'deprecated'){
17
  <h2><?php _e('Sort Gallery', 'flag'); ?></h2>
18
 
19
  <div class="alignright tablenav" style="margin-bottom: -36px;">
20
- <a href="<?php echo esc_url($base_url."&playlist=".urlencode($_GET['playlist']).'&mode=edit'); ?>" class="button-secondary action"><?php _e('Back to playlist', 'flag'); ?></a>
21
  </div>
22
- <form id="sortPlaylist" method="POST" action="<?php echo esc_url($base_url."&playlist=".urlencode($_GET['playlist']).'&mode=edit'); ?>" accept-charset="utf-8">
23
  <div class="alignleft tablenav">
24
- <?php wp_nonce_field('flag_updatesortorder'); ?>
25
  <input class="button-primary action" type="submit" name="updatePlaylist" value="<?php _e('Update Sort Order', 'flag'); ?>" />
26
  </div>
27
  <br clear="all" />
28
- <input type="hidden" name="playlist_title" value="<?php echo esc_html(stripslashes($playlist['title'])); ?>" />
29
- <input type="hidden" name="skinname" value="<?php echo $playlist['skin']; ?>" />
30
- <input type="hidden" name="skinaction" value="<?php echo $playlist['skin']; ?>" />
31
- <textarea style="display: none;" name="playlist_descr" cols="40" rows="1"><?php echo esc_html(stripslashes($playlist['description'])); ?></textarea>
32
  <script type="text/javascript">
33
  /*<![CDATA[*/
34
  jQuery(document).ready(function($) {
6
  //this is the url without any presort variable
7
  $base_url = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
8
  $flag_options = get_option('flag_options');
9
+ $filename = sanitize_flagname($_GET['playlist']);
10
+ $playlistPath = $flag_options['galleryPath'].'playlists/'.$filename.'.xml';
11
  $playlist = get_playlist_data(ABSPATH.$playlistPath);
12
  $items_a = $playlist['items'];
13
  $items = implode(',',$playlist['items']);
18
  <h2><?php _e('Sort Gallery', 'flag'); ?></h2>
19
 
20
  <div class="alignright tablenav" style="margin-bottom: -36px;">
21
+ <a href="<?php echo esc_url($base_url."&playlist=".$filename.'&mode=edit'); ?>" class="button-secondary action"><?php _e('Back to playlist', 'flag'); ?></a>
22
  </div>
23
+ <form id="sortPlaylist" method="POST" action="<?php echo esc_url($base_url."&playlist=".$filename.'&mode=edit'); ?>" accept-charset="utf-8">
24
  <div class="alignleft tablenav">
25
+ <?php wp_nonce_field('flag_update'); ?>
26
  <input class="button-primary action" type="submit" name="updatePlaylist" value="<?php _e('Update Sort Order', 'flag'); ?>" />
27
  </div>
28
  <br clear="all" />
29
+ <input type="hidden" name="playlist_title" value="<?php echo esc_html($playlist['title']); ?>" />
30
+ <input type="hidden" name="skinname" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
31
+ <input type="hidden" name="skinaction" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
32
+ <textarea style="display: none;" name="playlist_descr" cols="40" rows="1"><?php echo esc_html($playlist['description']); ?></textarea>
33
  <script type="text/javascript">
34
  /*<![CDATA[*/
35
  jQuery(document).ready(function($) {
admin/playlist.functions.php CHANGED
@@ -2,7 +2,7 @@
2
  if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You are not allowed to call this page directly.'); }
3
 
4
  function get_playlist_data( $playlist_file ) {
5
- global $wpdb;
6
  $playlist_content = file_get_contents($playlist_file);
7
 
8
  $playlist_data['title'] = flagGallery::flagGetBetween($playlist_content,'<title><![CDATA[',']]></title>');
@@ -67,24 +67,32 @@ function flagSavePlaylist($title,$descr,$data,$file='',$skinaction='') {
67
  $title = htmlspecialchars_decode(stripslashes($title), ENT_QUOTES);
68
  $descr = htmlspecialchars_decode(stripslashes($descr), ENT_QUOTES);
69
  if (!$file) {
70
- $file = sanitize_title($title);
71
  }
72
  if(!is_array($data))
73
  $data = explode(',', $data);
74
 
75
  $flag_options = get_option('flag_options');
76
- $skin = isset($_POST['skinname'])? $_POST['skinname'] : 'music_default';
77
  if(!$skinaction) {
78
- $skinaction = isset($_POST['skinaction'])? $_POST['skinaction'] : 'update';
79
  }
80
  $skinpath = trailingslashit( $flag_options['skinsDirABS'] ).$skin;
81
  $playlistPath = ABSPATH.$flag_options['galleryPath'].'playlists/'.$file.'.xml';
 
82
  if( file_exists($playlistPath) && ($skin == $skinaction) ) {
83
  $settings = file_get_contents($playlistPath);
84
- } else {
85
  $settings = file_get_contents($skinpath . "/settings/settings.xml");
 
 
 
86
  }
87
  $properties = flagGallery::flagGetBetween($settings,'<properties>','</properties>');
 
 
 
 
88
 
89
  if(count($data)) {
90
  $content = '<gallery>
@@ -127,7 +135,8 @@ function flagSavePlaylist($title,$descr,$data,$file='',$skinaction='') {
127
  }
128
 
129
  function flagSavePlaylistSkin($file) {
130
- global $wpdb;
 
131
  $flag_options = get_option('flag_options');
132
  $playlistPath = ABSPATH.$flag_options['galleryPath'].'playlists/'.$file.'.xml';
133
  // Save options
@@ -139,6 +148,7 @@ function flagSavePlaylistSkin($file) {
139
  }
140
 
141
  function flag_playlist_delete($playlist) {
 
142
  $flag_options = get_option('flag_options');
143
  $playlistXML = ABSPATH.$flag_options['galleryPath'].'playlists/'.$playlist.'.xml';
144
  if(file_exists($playlistXML)){
2
  if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You are not allowed to call this page directly.'); }
3
 
4
  function get_playlist_data( $playlist_file ) {
5
+
6
  $playlist_content = file_get_contents($playlist_file);
7
 
8
  $playlist_data['title'] = flagGallery::flagGetBetween($playlist_content,'<title><![CDATA[',']]></title>');
67
  $title = htmlspecialchars_decode(stripslashes($title), ENT_QUOTES);
68
  $descr = htmlspecialchars_decode(stripslashes($descr), ENT_QUOTES);
69
  if (!$file) {
70
+ $file = sanitize_flagname($title);
71
  }
72
  if(!is_array($data))
73
  $data = explode(',', $data);
74
 
75
  $flag_options = get_option('flag_options');
76
+ $skin = isset($_POST['skinname'])? sanitize_flagname($_POST['skinname']) : 'music_default';
77
  if(!$skinaction) {
78
+ $skinaction = isset($_POST['skinaction'])? sanitize_key($_POST['skinaction']) : 'update';
79
  }
80
  $skinpath = trailingslashit( $flag_options['skinsDirABS'] ).$skin;
81
  $playlistPath = ABSPATH.$flag_options['galleryPath'].'playlists/'.$file.'.xml';
82
+ $settings = '';
83
  if( file_exists($playlistPath) && ($skin == $skinaction) ) {
84
  $settings = file_get_contents($playlistPath);
85
+ } elseif( file_exists($skinpath . "/settings/settings.xml") ) {
86
  $settings = file_get_contents($skinpath . "/settings/settings.xml");
87
+ } else {
88
+ flagGallery::show_message(__("Can't find skin settings", 'flag'));
89
+ return;
90
  }
91
  $properties = flagGallery::flagGetBetween($settings,'<properties>','</properties>');
92
+ if(empty($properties)) {
93
+ flagGallery::show_message(__("Can't find skin settings", 'flag'));
94
+ return;
95
+ }
96
 
97
  if(count($data)) {
98
  $content = '<gallery>
135
  }
136
 
137
  function flagSavePlaylistSkin($file) {
138
+
139
+ $file = sanitize_flagname($file);
140
  $flag_options = get_option('flag_options');
141
  $playlistPath = ABSPATH.$flag_options['galleryPath'].'playlists/'.$file.'.xml';
142
  // Save options
148
  }
149
 
150
  function flag_playlist_delete($playlist) {
151
+ $playlist = sanitize_flagname($playlist);
152
  $flag_options = get_option('flag_options');
153
  $playlistXML = ABSPATH.$flag_options['galleryPath'].'playlists/'.$playlist.'.xml';
154
  if(file_exists($playlistXML)){
admin/skin_options.php CHANGED
@@ -9,17 +9,19 @@ if ( !is_user_logged_in() )
9
  if ( !current_user_can('FlAG Change skin') )
10
  die('-1');
11
 
12
- $flag_options = get_option('flag_options');
13
- $act_skin = isset($_GET['skin'])? urlencode($_GET['skin']) : $flag_options['flashSkin'];
14
- $settings = $flag_options['skinsDirABS'].$act_skin.'/settings';
15
- $settingsXML = $settings.'/settings.xml';
16
-
17
  $flashPost = file_get_contents("php://input");
18
  // parse properties_skin
19
  $arr = array();
20
  parse_str($flashPost, $arr);
 
 
 
 
 
 
 
21
  if(isset($arr['skin_name']))
22
- $settingsXML = str_replace("\\","/", dirname(dirname(dirname(__FILE__))).'/flagallery-skins/'.$arr['skin_name'].'/settings/settings.xml');
23
  if(isset($arr['properties_skin']) && !empty($arr['properties_skin'])) {
24
  $fp = fopen($settingsXML, "r");
25
  if(!$fp) {
@@ -48,6 +50,7 @@ if(isset($_GET['show_options'])) {
48
  function flag_skin_options() {
49
  $flag_options = get_option('flag_options');
50
  $act_skin = isset($_GET['skin'])? urlencode($_GET['skin']) : $flag_options['flashSkin'];
 
51
  $settings = $flag_options['skinsDirURL'].$act_skin.'/settings';
52
  $settingsXML = $flag_options['skinsDirABS'].$act_skin.'/settings/settings.xml';
53
  $fp = fopen($settingsXML, "r");
9
  if ( !current_user_can('FlAG Change skin') )
10
  die('-1');
11
 
 
 
 
 
 
12
  $flashPost = file_get_contents("php://input");
13
  // parse properties_skin
14
  $arr = array();
15
  parse_str($flashPost, $arr);
16
+
17
+ $flag_options = get_option('flag_options');
18
+ $act_skin = isset($_GET['skin'])? $_GET['skin'] : $flag_options['flashSkin'];
19
+ $act_skin = sanitize_flagname($act_skin);
20
+ $settings = $flag_options['skinsDirABS'].$act_skin.'/settings';
21
+ $settingsXML = $settings.'/settings.xml';
22
+
23
  if(isset($arr['skin_name']))
24
+ $settingsXML = str_replace("\\","/", dirname(dirname(dirname(__FILE__))).'/flagallery-skins/'.sanitize_flagname($arr['skin_name']).'/settings/settings.xml');
25
  if(isset($arr['properties_skin']) && !empty($arr['properties_skin'])) {
26
  $fp = fopen($settingsXML, "r");
27
  if(!$fp) {
50
  function flag_skin_options() {
51
  $flag_options = get_option('flag_options');
52
  $act_skin = isset($_GET['skin'])? urlencode($_GET['skin']) : $flag_options['flashSkin'];
53
+ $act_skin = sanitize_flagname($act_skin);
54
  $settings = $flag_options['skinsDirURL'].$act_skin.'/settings';
55
  $settingsXML = $flag_options['skinsDirABS'].$act_skin.'/settings/settings.xml';
56
  $fp = fopen($settingsXML, "r");
admin/skins.php CHANGED
@@ -17,10 +17,12 @@ $flag_options = get_option('flag_options');
17
  require_once (dirname (__FILE__) . '/get_skin.php');
18
 
19
  if( isset($_POST['installskin']) ) {
 
20
  require_once (dirname (__FILE__) . '/skin_install.php');
21
  }
22
  if( isset($_POST['skinzipurl']) ) {
23
- $url = $_POST['skinzipurl'];
 
24
  $skins_dir = $flag_options['skinsDirABS'];
25
  $mzip = download_url($url);
26
  if(is_wp_error($mzip)){
@@ -206,7 +208,8 @@ if ( isset($_POST['updateoption']) ) {
206
 
207
 
208
  if ( isset($_GET['delete']) ) {
209
- $delskin = urlencode($_GET['delete']);
 
210
  if ( current_user_can('FlAG Delete skins') && false === strpos($delskin, '..') ) {
211
  if ( $flag_options['flashSkin'] != $delskin ) {
212
  $skins_dir = trailingslashit( $flag_options['skinsDirABS'] );
@@ -226,12 +229,13 @@ if ( isset($_GET['delete']) ) {
226
  flagGallery::show_message( __('You need activate another skin before delete it','flag') );
227
  }
228
  } else {
229
- wp_die(__('You do not have sufficient permissions to delete skins of GRAND FlAGallery.'));
230
  }
231
  }
232
 
233
  if( isset($_GET['skin']) ) {
234
- $set_skin = urlencode($_GET['skin']);
 
235
  if($flag_options['flashSkin'] != $set_skin) {
236
  $aValid = array('-', '_');
237
  if(!ctype_alnum(str_replace($aValid, '', $set_skin))){
@@ -247,7 +251,7 @@ if( isset($_GET['skin']) ) {
247
  flagGallery::show_message( __('Skin','flag').' \''.$set_skin.'\' '.__('activated successfully. Optionally it can be overwritten with shortcode parameter.','flag') );
248
  }
249
  }
250
- $type = isset($_GET['type'])? urlencode($_GET['type']) : '';
251
  switch($type){
252
  case '':
253
  $stype = 'gallery';
@@ -276,6 +280,7 @@ switch($type){
276
  }
277
 
278
  if( isset($_GET['skins_refresh']) ) {
 
279
  // upgrade plugin
280
  require_once(FLAG_ABSPATH . 'admin/tuning.php');
281
  $ok = flag_tune();
@@ -337,7 +342,7 @@ if( isset($_GET['skins_refresh']) ) {
337
 
338
  <div class="wrap" style="min-width: 878px;">
339
  <h2><?php _e('Skins', 'flag'); ?>:</h2>
340
- <!--<p style="float: right;"><a class="button" href="<?php echo admin_url('admin.php?page=flag-skins&amp;skins_refresh=1'); ?>"><?php _e('Refresh / Update Skins', 'flag'); ?></a></p>-->
341
  <p><a class="button<?php if(!$type) echo '-primary'; ?>" href="<?php echo admin_url('admin.php?page=flag-skins'); ?>"><span style="font-size: 14px;"><?php _e('Photo skins', 'flag'); ?></span></a>&nbsp;&nbsp;&nbsp;
342
  <a class="button<?php if($type == 'm') echo '-primary'; ?>" href="<?php echo admin_url('admin.php?page=flag-skins&amp;type=m'); ?>"><span style="font-size: 14px;"><?php _e('Music skins', 'flag'); ?></span></a>&nbsp;&nbsp;&nbsp;
343
  <a class="button<?php if($type == 'v') echo '-primary'; ?>" href="<?php echo admin_url('admin.php?page=flag-skins&amp;type=v'); ?>"><span style="font-size: 14px;"><?php _e('Video skins', 'flag'); ?></span></a>&nbsp;&nbsp;&nbsp;
@@ -436,7 +441,7 @@ $total_all_skins = count($all_skins);
436
  if(isset($_GET['type']) && !empty($_GET['type'])) {
437
  } else {
438
  if ( dirname($skin_file) != $flag_options['flashSkin'] ) { ?>
439
- <strong><a href="<?php echo admin_url('admin.php?page=flag-skins&skin='.dirname($skin_file)); ?>" title="<?php _e( 'Activate this skin', 'flag' ); ?>"><?php _e('Activate', 'flag' ); ?></a></strong>
440
  <?php } else { ?>
441
  <strong><?php _e('Activated by default', 'flag' ); ?></strong>
442
  <?php
@@ -458,7 +463,7 @@ $total_all_skins = count($all_skins);
458
  <?php }
459
  if ( current_user_can('FlAG Delete skins') ) {
460
  if ( dirname($skin_file) != $flag_options['flashSkin'] ) { ?>
461
- <br /><br /><a class="delete" onclick="javascript:return flag_delskin('<?php echo $skin_data['Name']; ?>');" href="<?php echo admin_url('admin.php?page=flag-skins&delete='.dirname($skin_file)); ?>" title="<?php _e( 'Delete this skin', 'flag' ); ?>"><?php _e('Delete', 'flag' ); ?></a>
462
  <?php }
463
  } ?>
464
  </td>
@@ -487,6 +492,7 @@ $total_all_skins = count($all_skins);
487
  <div class="content">
488
  <div class="links" style="text-align: center;">
489
  <form action="<?php echo admin_url('admin.php?page=flag-skins').'&amp;type='.$type; ?>" method="post">
 
490
  <input type="hidden" name="skinzipurl" value="<?php echo $skin['download']; ?>" />
491
  <p><a class="install button-primary" onclick="jQuery(this).closest('form').submit(); return false" href="<?php echo $skin['download']; ?>"><?php _e('Install', 'gmLang') ?></a>
492
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="button" href="<?php echo $skin['demo']; ?>" target="_blank"><?php _e('Preview', 'gmLang') ?></a></p>
17
  require_once (dirname (__FILE__) . '/get_skin.php');
18
 
19
  if( isset($_POST['installskin']) ) {
20
+ check_admin_referer('skin-upload');
21
  require_once (dirname (__FILE__) . '/skin_install.php');
22
  }
23
  if( isset($_POST['skinzipurl']) ) {
24
+ check_admin_referer('skin_install');
25
+ $url = 'http://photogallerycreator.com/depository/'.sanitize_flagname(basename($_POST['skinzipurl']));
26
  $skins_dir = $flag_options['skinsDirABS'];
27
  $mzip = download_url($url);
28
  if(is_wp_error($mzip)){
208
 
209
 
210
  if ( isset($_GET['delete']) ) {
211
+ check_admin_referer('delete_skin');
212
+ $delskin = sanitize_flagname($_GET['delete']);
213
  if ( current_user_can('FlAG Delete skins') && false === strpos($delskin, '..') ) {
214
  if ( $flag_options['flashSkin'] != $delskin ) {
215
  $skins_dir = trailingslashit( $flag_options['skinsDirABS'] );
229
  flagGallery::show_message( __('You need activate another skin before delete it','flag') );
230
  }
231
  } else {
232
+ wp_die(__('You do not have sufficient permissions to delete skins of Grand Flagallery.'));
233
  }
234
  }
235
 
236
  if( isset($_GET['skin']) ) {
237
+ check_admin_referer('set_default_skin');
238
+ $set_skin = sanitize_flagname($_GET['skin']);
239
  if($flag_options['flashSkin'] != $set_skin) {
240
  $aValid = array('-', '_');
241
  if(!ctype_alnum(str_replace($aValid, '', $set_skin))){
251
  flagGallery::show_message( __('Skin','flag').' \''.$set_skin.'\' '.__('activated successfully. Optionally it can be overwritten with shortcode parameter.','flag') );
252
  }
253
  }
254
+ $type = isset($_GET['type'])? sanitize_key($_GET['type']) : '';
255
  switch($type){
256
  case '':
257
  $stype = 'gallery';
280
  }
281
 
282
  if( isset($_GET['skins_refresh']) ) {
283
+ check_admin_referer('skins_refresh');
284
  // upgrade plugin
285
  require_once(FLAG_ABSPATH . 'admin/tuning.php');
286
  $ok = flag_tune();
342
 
343
  <div class="wrap" style="min-width: 878px;">
344
  <h2><?php _e('Skins', 'flag'); ?>:</h2>
345
+ <p style="float: right; display:none;"><a class="button" href="<?php echo wp_nonce_url('admin.php?page=flag-skins&amp;skins_refresh=1', 'skins_refresh'); ?>"><?php _e('Refresh / Update Skins', 'flag'); ?></a></p>
346
  <p><a class="button<?php if(!$type) echo '-primary'; ?>" href="<?php echo admin_url('admin.php?page=flag-skins'); ?>"><span style="font-size: 14px;"><?php _e('Photo skins', 'flag'); ?></span></a>&nbsp;&nbsp;&nbsp;
347
  <a class="button<?php if($type == 'm') echo '-primary'; ?>" href="<?php echo admin_url('admin.php?page=flag-skins&amp;type=m'); ?>"><span style="font-size: 14px;"><?php _e('Music skins', 'flag'); ?></span></a>&nbsp;&nbsp;&nbsp;
348
  <a class="button<?php if($type == 'v') echo '-primary'; ?>" href="<?php echo admin_url('admin.php?page=flag-skins&amp;type=v'); ?>"><span style="font-size: 14px;"><?php _e('Video skins', 'flag'); ?></span></a>&nbsp;&nbsp;&nbsp;
441
  if(isset($_GET['type']) && !empty($_GET['type'])) {
442
  } else {
443
  if ( dirname($skin_file) != $flag_options['flashSkin'] ) { ?>
444
+ <strong><a href="<?php echo wp_nonce_url('admin.php?page=flag-skins&skin='.dirname($skin_file), 'set_default_skin'); ?>" title="<?php _e( 'Activate this skin', 'flag' ); ?>"><?php _e('Activate', 'flag' ); ?></a></strong>
445
  <?php } else { ?>
446
  <strong><?php _e('Activated by default', 'flag' ); ?></strong>
447
  <?php
463
  <?php }
464
  if ( current_user_can('FlAG Delete skins') ) {
465
  if ( dirname($skin_file) != $flag_options['flashSkin'] ) { ?>
466
+ <br /><br /><a class="delete" onclick="javascript:return flag_delskin('<?php echo $skin_data['Name']; ?>');" href="<?php echo wp_nonce_url('admin.php?page=flag-skins&delete='.dirname($skin_file), 'delete_skin'); ?>" title="<?php _e( 'Delete this skin', 'flag' ); ?>"><?php _e('Delete', 'flag' ); ?></a>
467
  <?php }
468
  } ?>
469
  </td>
492
  <div class="content">
493
  <div class="links" style="text-align: center;">
494
  <form action="<?php echo admin_url('admin.php?page=flag-skins').'&amp;type='.$type; ?>" method="post">
495
+ <?php wp_nonce_field('skin_install'); ?>
496
  <input type="hidden" name="skinzipurl" value="<?php echo $skin['download']; ?>" />
497
  <p><a class="install button-primary" onclick="jQuery(this).closest('form').submit(); return false" href="<?php echo $skin['download']; ?>"><?php _e('Install', 'gmLang') ?></a>
498
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="button" href="<?php echo $skin['demo']; ?>" target="_blank"><?php _e('Preview', 'gmLang') ?></a></p>
admin/tinymce/window.php CHANGED
@@ -102,7 +102,7 @@ if($_REQUEST['riched'] == "false") {
102
  if(is_array($albumlist)) {
103
  foreach($albumlist as $album) {
104
  $name = $album->name;
105
- echo '<option value="' . $album->id . '" >' . $name . '</option>' . "\n";
106
  }
107
  }
108
  ?>
102
  if(is_array($albumlist)) {
103
  foreach($albumlist as $album) {
104
  $name = $album->name;
105
+ echo '<option value="' . $album->id . '" >' . esc_html($name) . '</option>' . "\n";
106
  }
107
  }
108
  ?>
admin/upgrade.php CHANGED
@@ -127,7 +127,7 @@ function flag_import_date_time() {
127
  $picture = new flagImage($image);
128
  $meta = new flagMeta($picture->imagePath, true);
129
  $date = $meta->get_date_time();
130
- $wpdb->query("UPDATE $wpdb->flagpictures SET imagedate = '$date' WHERE pid = '$picture->pid'");
131
  }
132
  }
133
  }
127
  $picture = new flagImage($image);
128
  $meta = new flagMeta($picture->imagePath, true);
129
  $date = $meta->get_date_time();
130
+ $wpdb->query($wpdb->prepare("UPDATE $wpdb->flagpictures SET imagedate = '%s' WHERE pid = '%d'", $date, $picture->pid));
131
  }
132
  }
133
  }
admin/video-box.php CHANGED
@@ -28,12 +28,14 @@ function flag_video_controler() {
28
  }
29
  switch($mode) {
30
  case 'sort':
 
31
  include_once (dirname (__FILE__) . '/video-sort.php');
32
  flag_v_playlist_order();
33
  break;
34
  case 'edit':
35
- $file = urlencode($_GET['playlist']);
36
  if(isset($_POST['updatePlaylist'])) {
 
37
  $title = esc_html($_POST['playlist_title']);
38
  $descr = esc_html($_POST['playlist_descr']);
39
  $data = array();
@@ -46,6 +48,7 @@ function flag_video_controler() {
46
  flagSave_vPlaylist($title,$descr,$data,$file);
47
  }
48
  if(isset($_POST['updatePlaylistSkin'])) {
 
49
  flagSave_vPlaylistSkin($file);
50
  }
51
  include_once (dirname (__FILE__) . '/manage-video.php');
@@ -53,10 +56,11 @@ function flag_video_controler() {
53
  break;
54
  case 'save':
55
  if(isset($_POST['items_array'])){
 
56
  $title = esc_html($_POST['playlist_title']);
57
  $descr = esc_html($_POST['playlist_descr']);
58
  $data = $_POST['items_array'];
59
- $file = isset($_REQUEST['playlist'])? urlencode($_REQUEST['playlist']) : false;
60
  flagGallery::flagSaveWpMedia();
61
  flagSave_vPlaylist($title,$descr,$data, $file);
62
  }
@@ -68,14 +72,17 @@ function flag_video_controler() {
68
  flag_video_wp_media_lib();
69
  }
70
  break;
71
- case 'add':
 
72
  $added = $_POST['items'];
73
  flag_video_wp_media_lib($added);
74
  break;
75
  case 'delete':
76
- flag_v_playlist_delete(urlencode($_GET['playlist']));
 
77
  case 'main':
78
  if(isset($_POST['updateMedia'])) {
 
79
  flagGallery::flagSaveWpMedia();
80
  flagGallery::show_message( __('Media updated','flag') );
81
  }
@@ -122,15 +129,15 @@ if($all_playlists) {
122
  ?>
123
  <tr id="<?php echo $playlist_name; ?>" <?php echo $class; ?> >
124
  <td>
125
- <a href="<?php echo $filepath.'&amp;playlist='.$playlist_name.'&amp;mode=edit'; ?>" class='edit' title="<?php _e('Edit'); ?>" >
126
- <?php echo esc_html(stripslashes($playlist_data['title'])); ?>
127
  </a>
128
  </td>
129
- <td><?php echo esc_html(stripslashes($playlist_data['description'])); echo '&nbsp;('.__("player", "flag").': <strong>'.$playlist_data['skin'].'</strong>)' ?></td>
130
  <td><?php echo count($query_m); ?></td>
131
  <td style="white-space: nowrap;"><input type="text" class="shortcode1" style="width: 200px; font-size: 9px;" readonly="readonly" onfocus="this.select()" value="[grandvideo playlist=<?php echo $playlist_name; ?>]" /></td>
132
  <td>
133
- <a href="<?php echo $filepath.'&amp;playlist='.$playlist_name."&amp;mode=delete"; ?>" class="delete" onclick="javascript:check=confirm( '<?php _e("Delete this playlist?",'flag')?>');if(check==false) return false;"><?php _e('Delete','flag'); ?></a>
134
  </td>
135
  </tr>
136
  <?php
@@ -151,11 +158,13 @@ function flag_video_wp_media_lib($added=false) {
151
  // same as $_SERVER['REQUEST_URI'], but should work under IIS 6.0
152
  $filepath = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
153
  if($added!==false) {
154
- $filepath .= '&playlist='.urlencode($_GET['playlist']).'&mode=save';
 
155
  $flag_options = get_option('flag_options');
156
- $playlistPath = $flag_options['galleryPath'].'playlists/video/'.urlencode($_GET['playlist']).'.xml';
157
  $playlist = get_v_playlist_data(ABSPATH.$playlistPath);
158
  $exclude = explode(',', $added);
 
159
  }
160
  $filepath = esc_url($filepath);
161
  ?>
@@ -232,7 +241,7 @@ function send_to_editor(html) {
232
  <div class="wrap">
233
  <?php if($added===false) { ?>
234
  <?php if( current_user_can('FlAG Import folder') ) {
235
- $defaultpath = 'wp-content/';
236
  ?>
237
  <link rel="stylesheet" type="text/css" href="<?php echo FLAG_URLPATH; ?>admin/js/jqueryFileTree/jqueryFileTree.css" />
238
  <script type="text/javascript" src="<?php echo FLAG_URLPATH; ?>admin/js/jqueryFileTree/jqueryFileTree.js"></script>
@@ -277,7 +286,7 @@ function send_to_editor(html) {
277
 
278
  <h2><?php _e('WordPress Video Library', 'flag'); ?></h2>
279
  <form id="videolib" class="flagform" method="POST" action="<?php echo $filepath; ?>" accept-charset="utf-8">
280
- <?php wp_nonce_field('flag_bulkvideo'); ?>
281
  <input type="hidden" name="page" value="video-box" />
282
 
283
  <div class="tablenav">
@@ -297,11 +306,11 @@ function send_to_editor(html) {
297
  <?php } else { ?>
298
  <input type="hidden" name="mode" value="save" />
299
  <input style="width: 80%;" type="text" id="items_array" name="items_array" value="<?php echo $added; ?>" />
300
- <input type="hidden" name="playlist_title" value="<?php echo esc_html(stripslashes($playlist['title'])); ?>" />
301
- <input type="hidden" name="skinname" value="<?php echo $playlist['skin']; ?>" />
302
- <input type="hidden" name="skinaction" value="<?php echo $playlist['skin']; ?>" />
303
- <textarea style="display: none;" name="playlist_descr" cols="40" rows="1"><?php echo esc_html(stripslashes($playlist['description'])); ?></textarea>
304
- <input name="addToPlaylist" class="button-secondary" type="submit" value="<?php _e('Update Playlist','flag'); ?>" onclick="if ( !checkSelected() ) return false;" />
305
  <?php } ?>
306
  </div>
307
 
@@ -400,7 +409,7 @@ if($videolist) {
400
  <!-- #new_playlist -->
401
  <div id="new_playlist" style="display: none;" >
402
  <form id="form_new_playlist" method="POST" action="<?php echo $filepath; ?>" accept-charset="utf-8">
403
- <?php wp_nonce_field('flag_thickbox_form'); ?>
404
  <input type="hidden" id="new_playlist_flvid" name="items_array" value="" />
405
  <input type="hidden" id="new_playlist_bulkaction" name="TB_bulkaction" value="" />
406
  <input type="hidden" name="mode" value="save" />
28
  }
29
  switch($mode) {
30
  case 'sort':
31
+ check_admin_referer('flag_sort');
32
  include_once (dirname (__FILE__) . '/video-sort.php');
33
  flag_v_playlist_order();
34
  break;
35
  case 'edit':
36
+ $file = sanitize_flagname($_GET['playlist']);
37
  if(isset($_POST['updatePlaylist'])) {
38
+ check_admin_referer('flag_update');
39
  $title = esc_html($_POST['playlist_title']);
40
  $descr = esc_html($_POST['playlist_descr']);
41
  $data = array();
48
  flagSave_vPlaylist($title,$descr,$data,$file);
49
  }
50
  if(isset($_POST['updatePlaylistSkin'])) {
51
+ check_admin_referer('flag_update');
52
  flagSave_vPlaylistSkin($file);
53
  }
54
  include_once (dirname (__FILE__) . '/manage-video.php');
56
  break;
57
  case 'save':
58
  if(isset($_POST['items_array'])){
59
+ check_admin_referer('flag_update');
60
  $title = esc_html($_POST['playlist_title']);
61
  $descr = esc_html($_POST['playlist_descr']);
62
  $data = $_POST['items_array'];
63
+ $file = isset($_REQUEST['playlist'])? sanitize_flagname($_REQUEST['playlist']) : false;
64
  flagGallery::flagSaveWpMedia();
65
  flagSave_vPlaylist($title,$descr,$data, $file);
66
  }
72
  flag_video_wp_media_lib();
73
  }
74
  break;
75
+ case 'add':
76
+ check_admin_referer('flag_add');
77
  $added = $_POST['items'];
78
  flag_video_wp_media_lib($added);
79
  break;
80
  case 'delete':
81
+ check_admin_referer('flag_delete');
82
+ flag_v_playlist_delete(sanitize_flagname($_GET['playlist']));
83
  case 'main':
84
  if(isset($_POST['updateMedia'])) {
85
+ check_admin_referer('flag_update');
86
  flagGallery::flagSaveWpMedia();
87
  flagGallery::show_message( __('Media updated','flag') );
88
  }
129
  ?>
130
  <tr id="<?php echo $playlist_name; ?>" <?php echo $class; ?> >
131
  <td>
132
+ <a href="<?php echo esc_url($filepath.'&playlist='.$playlist_name.'&mode=edit'); ?>" class='edit' title="<?php _e('Edit'); ?>" >
133
+ <?php echo esc_html($playlist_data['title']); ?>
134
  </a>
135
  </td>
136
+ <td><?php echo esc_html($playlist_data['description']); echo '&nbsp;('.__("player", "flag").': <strong>'.esc_html($playlist_data['skin']).'</strong>)' ?></td>
137
  <td><?php echo count($query_m); ?></td>
138
  <td style="white-space: nowrap;"><input type="text" class="shortcode1" style="width: 200px; font-size: 9px;" readonly="readonly" onfocus="this.select()" value="[grandvideo playlist=<?php echo $playlist_name; ?>]" /></td>
139
  <td>
140
+ <a href="<?php echo wp_nonce_url($filepath.'&playlist='.$playlist_name."&mode=delete", 'flag_delete'); ?>" class="delete" onclick="javascript:check=confirm( '<?php _e("Delete this playlist?",'flag')?>');if(check==false) return false;"><?php _e('Delete','flag'); ?></a>
141
  </td>
142
  </tr>
143
  <?php
158
  // same as $_SERVER['REQUEST_URI'], but should work under IIS 6.0
159
  $filepath = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
160
  if($added!==false) {
161
+ $added = preg_replace('/[^\d,]+/', '', $added);
162
+ $filepath .= '&playlist='.sanitize_flagname($_GET['playlist']).'&mode=save';
163
  $flag_options = get_option('flag_options');
164
+ $playlistPath = $flag_options['galleryPath'].'playlists/video/'.sanitize_flagname($_GET['playlist']).'.xml';
165
  $playlist = get_v_playlist_data(ABSPATH.$playlistPath);
166
  $exclude = explode(',', $added);
167
+ $exclude = array_filter($exclude, 'intval');
168
  }
169
  $filepath = esc_url($filepath);
170
  ?>
241
  <div class="wrap">
242
  <?php if($added===false) { ?>
243
  <?php if( current_user_can('FlAG Import folder') ) {
244
+ $defaultpath = basename(WP_CONTENT_DIR).'/';
245
  ?>
246
  <link rel="stylesheet" type="text/css" href="<?php echo FLAG_URLPATH; ?>admin/js/jqueryFileTree/jqueryFileTree.css" />
247
  <script type="text/javascript" src="<?php echo FLAG_URLPATH; ?>admin/js/jqueryFileTree/jqueryFileTree.js"></script>
286
 
287
  <h2><?php _e('WordPress Video Library', 'flag'); ?></h2>
288
  <form id="videolib" class="flagform" method="POST" action="<?php echo $filepath; ?>" accept-charset="utf-8">
289
+ <?php wp_nonce_field('flag_update'); ?>
290
  <input type="hidden" name="page" value="video-box" />
291
 
292
  <div class="tablenav">
306
  <?php } else { ?>
307
  <input type="hidden" name="mode" value="save" />
308
  <input style="width: 80%;" type="text" id="items_array" name="items_array" value="<?php echo $added; ?>" />
309
+ <input type="hidden" name="playlist_title" value="<?php echo esc_html($playlist['title']); ?>" />
310
+ <input type="hidden" name="skinname" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
311
+ <input type="hidden" name="skinaction" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
312
+ <textarea style="display: none;" name="playlist_descr" cols="40" rows="1"><?php echo esc_html($playlist['description']); ?></textarea>
313
+ <input name="addToPlaylist" class="button-secondary" type="submit" value="<?php _e('Update Playlist','flag'); ?>" />
314
  <?php } ?>
315
  </div>
316
 
409
  <!-- #new_playlist -->
410
  <div id="new_playlist" style="display: none;" >
411
  <form id="form_new_playlist" method="POST" action="<?php echo $filepath; ?>" accept-charset="utf-8">
412
+ <?php wp_nonce_field('flag_update'); ?>
413
  <input type="hidden" id="new_playlist_flvid" name="items_array" value="" />
414
  <input type="hidden" id="new_playlist_bulkaction" name="TB_bulkaction" value="" />
415
  <input type="hidden" name="mode" value="save" />
admin/video-sort.php CHANGED
@@ -11,7 +11,8 @@ function flag_v_playlist_order($playlist = 'deprecated'){
11
  //this is the url without any presort variable
12
  $base_url = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
13
  $flag_options = get_option('flag_options');
14
- $playlistPath = $flag_options['galleryPath'].'playlists/video/'.urlencode($_GET['playlist']).'.xml';
 
15
  $playlist = get_v_playlist_data(ABSPATH.$playlistPath);
16
  $items_a = $playlist['items'];
17
  $items = implode(',',$playlist['items']);
@@ -22,18 +23,18 @@ function flag_v_playlist_order($playlist = 'deprecated'){
22
  <h2><?php _e('Sort Gallery', 'flag'); ?></h2>
23
 
24
  <div class="alignright tablenav" style="margin-bottom: -36px;">
25
- <a href="<?php echo esc_url($base_url."&playlist=".urlencode($_GET['playlist']).'&mode=edit'); ?>" class="button-secondary action"><?php _e('Back to playlist', 'flag'); ?></a>
26
  </div>
27
- <form id="sortPlaylist" method="POST" action="<?php echo esc_url($base_url."&playlist=".urlencode($_GET['playlist']).'&mode=edit'); ?>" accept-charset="utf-8">
28
  <div class="alignleft tablenav">
29
- <?php wp_nonce_field('flag_updatesortorder'); ?>
30
  <input class="button-primary action" type="submit" name="updatePlaylist" value="<?php _e('Update Sort Order', 'flag'); ?>" />
31
  </div>
32
  <br clear="all" />
33
- <input type="hidden" name="playlist_title" value="<?php echo esc_html(stripslashes($playlist['title'])); ?>" />
34
- <input type="hidden" name="skinname" value="<?php echo $playlist['skin']; ?>" />
35
- <input type="hidden" name="skinaction" value="<?php echo $playlist['skin']; ?>" />
36
- <textarea style="display: none;" name="playlist_descr" cols="40" rows="1"><?php echo esc_html(stripslashes($playlist['description'])); ?></textarea>
37
  <script type="text/javascript">
38
  /*<![CDATA[*/
39
  jQuery(document).ready(function($) {
11
  //this is the url without any presort variable
12
  $base_url = admin_url() . 'admin.php?page=' . urlencode($_GET['page']);
13
  $flag_options = get_option('flag_options');
14
+ $filename = sanitize_flagname($_GET['playlist']);
15
+ $playlistPath = $flag_options['galleryPath'].'playlists/video/'.$filename.'.xml';
16
  $playlist = get_v_playlist_data(ABSPATH.$playlistPath);
17
  $items_a = $playlist['items'];
18
  $items = implode(',',$playlist['items']);
23
  <h2><?php _e('Sort Gallery', 'flag'); ?></h2>
24
 
25
  <div class="alignright tablenav" style="margin-bottom: -36px;">
26
+ <a href="<?php echo esc_url($base_url."&playlist=".$filename.'&mode=edit'); ?>" class="button-secondary action"><?php _e('Back to playlist', 'flag'); ?></a>
27
  </div>
28
+ <form id="sortPlaylist" method="POST" action="<?php echo esc_url($base_url."&playlist=".$filename.'&mode=edit'); ?>" accept-charset="utf-8">
29
  <div class="alignleft tablenav">
30
+ <?php wp_nonce_field('flag_update'); ?>
31
  <input class="button-primary action" type="submit" name="updatePlaylist" value="<?php _e('Update Sort Order', 'flag'); ?>" />
32
  </div>
33
  <br clear="all" />
34
+ <input type="hidden" name="playlist_title" value="<?php echo esc_html($playlist['title']); ?>" />
35
+ <input type="hidden" name="skinname" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
36
+ <input type="hidden" name="skinaction" value="<?php echo sanitize_flagname($playlist['skin']); ?>" />
37
+ <textarea style="display: none;" name="playlist_descr" cols="40" rows="1"><?php echo esc_html($playlist['description']); ?></textarea>
38
  <script type="text/javascript">
39
  /*<![CDATA[*/
40
  jQuery(document).ready(function($) {
admin/video.functions.php CHANGED
@@ -67,24 +67,32 @@ function flagSave_vPlaylist($title,$descr,$data,$file='',$skinaction='') {
67
  $title = htmlspecialchars_decode(stripslashes($title), ENT_QUOTES);
68
  $descr = htmlspecialchars_decode(stripslashes($descr), ENT_QUOTES);
69
  if (!$file) {
70
- $file = sanitize_title($title);
71
  }
72
 
73
  if(!is_array($data))
74
  $data = explode(',', $data);
75
 
76
  $flag_options = get_option('flag_options');
77
- $skin = isset($_POST['skinname'])? sanitize_key($_POST['skinname']) : 'video_default';
78
  if(empty($skinaction))
79
  $skinaction = isset($_POST['skinaction'])? sanitize_key($_POST['skinaction']) : 'update';
80
  $skinpath = trailingslashit( $flag_options['skinsDirABS'] ).$skin;
81
  $playlistPath = ABSPATH.$flag_options['galleryPath'].'playlists/video/'.$file.'.xml';
 
82
  if( file_exists($playlistPath) && ($skin == $skinaction) ) {
83
  $settings = file_get_contents($playlistPath);
84
- } else {
85
  $settings = file_get_contents($skinpath . "/settings/settings.xml");
 
 
 
86
  }
87
  $properties = flagGallery::flagGetBetween($settings,'<properties>','</properties>');
 
 
 
 
88
 
89
  if(count($data)) {
90
  $content = '<gallery>
@@ -127,7 +135,7 @@ function flagSave_vPlaylist($title,$descr,$data,$file='',$skinaction='') {
127
  }
128
 
129
  function flagSave_vPlaylistSkin($file) {
130
- global $wpdb;
131
  $flag_options = get_option('flag_options');
132
  $playlistPath = ABSPATH.$flag_options['galleryPath'].'playlists/video/'.$file.'.xml';
133
  // Save options
@@ -139,6 +147,7 @@ function flagSave_vPlaylistSkin($file) {
139
  }
140
 
141
  function flag_v_playlist_delete($playlist) {
 
142
  $flag_options = get_option('flag_options');
143
  $playlistXML = ABSPATH.$flag_options['galleryPath'].'playlists/video/'.$playlist.'.xml';
144
  if(file_exists($playlistXML)){
67
  $title = htmlspecialchars_decode(stripslashes($title), ENT_QUOTES);
68
  $descr = htmlspecialchars_decode(stripslashes($descr), ENT_QUOTES);
69
  if (!$file) {
70
+ $file = sanitize_flagname($title);
71
  }
72
 
73
  if(!is_array($data))
74
  $data = explode(',', $data);
75
 
76
  $flag_options = get_option('flag_options');
77
+ $skin = isset($_POST['skinname'])? sanitize_flagname($_POST['skinname']) : 'video_default';
78
  if(empty($skinaction))
79
  $skinaction = isset($_POST['skinaction'])? sanitize_key($_POST['skinaction']) : 'update';
80
  $skinpath = trailingslashit( $flag_options['skinsDirABS'] ).$skin;
81
  $playlistPath = ABSPATH.$flag_options['galleryPath'].'playlists/video/'.$file.'.xml';
82
+ $settings = '';
83
  if( file_exists($playlistPath) && ($skin == $skinaction) ) {
84
  $settings = file_get_contents($playlistPath);
85
+ } elseif( file_exists($skinpath . "/settings/settings.xml") ) {
86
  $settings = file_get_contents($skinpath . "/settings/settings.xml");
87
+ } else {
88
+ flagGallery::show_message(__("Can't find skin settings", 'flag'));
89
+ return;
90
  }
91
  $properties = flagGallery::flagGetBetween($settings,'<properties>','</properties>');
92
+ if(empty($properties)) {
93
+ flagGallery::show_message(__("Can't find skin settings", 'flag'));
94
+ return;
95
+ }
96
 
97
  if(count($data)) {
98
  $content = '<gallery>
135
  }
136
 
137
  function flagSave_vPlaylistSkin($file) {
138
+ $file = sanitize_flagname($file);
139
  $flag_options = get_option('flag_options');
140
  $playlistPath = ABSPATH.$flag_options['galleryPath'].'playlists/video/'.$file.'.xml';
141
  // Save options
147
  }
148
 
149
  function flag_v_playlist_delete($playlist) {
150
+ $playlist = sanitize_flagname($playlist);
151
  $flag_options = get_option('flag_options');
152
  $playlistXML = ABSPATH.$flag_options['galleryPath'].'playlists/video/'.$playlist.'.xml';
153
  if(file_exists($playlistXML)){
changelog.txt DELETED
@@ -1,536 +0,0 @@
1
- GRAND FlAGallery
2
- by CodEasily.com
3
-
4
- = v3.01 - 09.07.2013 =
5
- * New: iOS application 'MyPGC' for Flagallery plugin now available on the App Store for everyone
6
-
7
- = v3.00 - 03.07.2013 =
8
- * Fix: Free skins settings reset to default after plugin update
9
- * Fix: XSS bugs reported by Ken S for the White Fir Design Bug Bounty
10
- * Fix: small bugfixes
11
- * New: iOS application 'MyPGC' for Flagallery plugin now available on the App Store
12
-
13
- = v2.78 - 26.06.2013 =
14
- * Fix: bundled free skins not copied to flagallery-skins directory
15
-
16
- = v2.77 - 25.06.2013 =
17
- * Fix: vulnerability with albums
18
- * Fix: PHP Notices
19
- * Fix: Compatibility with some modern themes
20
- * Update: New version of swfupload
21
- * Update: Compatibility with Wordpress SEO plugin
22
- * Update: Update code for default skins
23
-
24
- = v2.76 - 13.06.2013 =
25
- * Fixed: Size for thumbs on Manage Images page
26
- * Fixed: Create New Thumbnails not working properly with fix dimensions
27
- * Fixed: First activation of plugin do not move free skins to 'flagallery-skins' folder
28
- * Fixed: GRAND Page do not remembers playlist option
29
-
30
- = v2.75 - 10.06.2013 =
31
- * Added: Link feald for image (optional for skin)
32
- * Added: Draft for galleries
33
- * Fixed: PHP and CSS improvements
34
-
35
- = v2.72 - 20.05.2013 =
36
- * Added: pagination on Music Box page
37
- * Fixed: small fixes for Banner Box page
38
-
39
- = v2.71 - 07.05.2013 =
40
- * Added: pagination on Banner Box page
41
- * Fixed: reports sometimes a error "Fatal error: Only variables can be passed by reference"
42
- * Fixed: compatibility with SEO plugin
43
- * Changed: Options page
44
- * Fixed: Vulnerability on Search images.
45
-
46
- = v2.70 - 11.04.2013 =
47
- * Fixed: Compatibility with some modern themes
48
- * Added: Music for gallery skins
49
-
50
- = v2.56 - 25.03.2013 =
51
- * Fixed: SQL injection vulnerability
52
- * Fixed: Video Box admin shows parse error
53
- * Fixed: Restrict access to menu "GRAND Pages"
54
- * Added: Informative descriptions on skins and options pages
55
- * Updated: Minima skin now have option to hide views/likes counter
56
-
57
- = v2.55 - 19.03.2013 =
58
- * Fixed: Alternative gallery on mobile browsers not shows big image on tap
59
- * Fixed: Alternative gallery brokes if file name have spaces.
60
- * Added: Option to hide views/likes counter on alternative gallery
61
- * Fixed: Back button for GRAND Pages
62
- * Fixed: Playlists not worked if galleries path different from default
63
-
64
- = v2.54 - 05.03.2013 =
65
- * Fixed: Error opening pages "call this page directly" message
66
- * Changed: Decreased flash version detection (for Mac OS users)
67
-
68
- = v2.53 - 27.02.2013 =
69
- * Fixed: Multiple Vulnerabilities
70
-
71
- = v2.52 - 23.02.2013 =
72
- * Fixed: Install skins on some servers failed
73
-
74
- = v2.51 - 19.02.2013 =
75
- * Fixed: 'Import folder' for Banner Box
76
- * Fixed: Video preview in admin area
77
- * Fixed: https support for CSS and JS includes
78
- * Fixed: Error 'URL file-access is disabled in the server configuration.'
79
- * Updated: bundled skins
80
- * Added: License for Banners and Video Blog
81
-
82
- = v2.50 - 05.02.2013 =
83
- * Added: New Default 'Minima' skin - better, faster, nicer.
84
- * Added: Image views and likes now visible in alternative gallery
85
-
86
- = v2.18 - 23.01.2013 =
87
- * Fixed: Minor fix for skin settings. Skin settings not saved on some servers.
88
-
89
- = v2.17 - 08.01.2013 =
90
- * Added: Sort images option: Randomly
91
- * Changed: Alternative gallery thumbs for not square images
92
- * Fixed: Skin name was wrong when click delete skin
93
- * Fixed: Small fixes
94
-
95
- = v2.16 - 17.12.2012 =
96
- * Added: Hooks for manage images/galleries
97
-
98
- = v2.15 - 04.12.2012 =
99
- * Optimized: Code optimized
100
- * Added: Hook for bulk actions dropdown
101
- * Added: Hook after thumbnail/image created
102
- * Fixed: Small PHP and JS fixes
103
-
104
- = v2.14 - 20.11.2012 =
105
- * Fixed: swfobject path was wrong on some servers
106
-
107
- = v2.12 - 12.11.2012 =
108
- * Fixed: XSS vulnerability in swfupload
109
-
110
- = v2.11 - 03.11.2012 =
111
- * Updated: New system of checking license key
112
- * Changed: Skins update box.
113
-
114
- = v2.10 - 29.10.2012 =
115
- * Fixed: Vulnerability in shortcode function, album saving, saving skin options, facebook.php file
116
- * Fixed: Delete image will delete it from FTP
117
-
118
- = v2.00 - 22.10.2012 =
119
- * Updated: Faster loading content of gallery (update skins to new versions)
120
- * New: Easily update demo skins to full version with license key. All your settings will be in save.
121
- * Added: Remote control key for mobile application (application coming soon)
122
-
123
- = v1.90 - 15.10.2012 =
124
- * Fixed: FancyBox alternative gallery
125
- * Fixed: Scroll for alternative gallery
126
- * Changed: Alternative gallery categories bar styling
127
- * Updated: Banner Rotator Default is now responsive and have 4 themes.
128
-
129
- = v1.85 - 12.10.2012 =
130
- * Changed: new way to add preview images for video and music
131
-
132
- = v1.84 - 26.09.2012 =
133
- * Fixed: edit thumbnail not worked on some servers (Major Fix)
134
- * Fixed: gallery deep linkining
135
-
136
- = v1.83 - 12.09.2012 =
137
- * Updated: PhotoSwipe library and make it default alternative gallery
138
- * Updated: Now FlAGallery widget in mobile browser opens galleries on new page, but not in popup
139
- * Added: Backround image for GRAND Pages
140
- * Fixed: cPanel for skins options (Major FIX)
141
-
142
- = v1.82 - 20.08.2012 =
143
- * Fixed: Compatibility with other plugins that use old swfobject
144
-
145
- = v1.81 - 10.08.2012 =
146
- * Fixed: Compatibility with some other flash embed plugins
147
-
148
- = v1.80 - 25.07.2012 =
149
- * Changed: New simple way to install skins
150
-
151
- = v1.79 - 11.07.2012 =
152
- * Added: Password protection for GRAND Pages
153
- * Added: align=left|center|right parameter for shortcode
154
- * Fixed: alternate gallery for https sites
155
-
156
- = v1.78 - 25.06.2012 =
157
- * Fixed: admin CSS for Overview page
158
-
159
- = v1.77 - 16.05.2012 =
160
- * Fixed: Fancybox javascript not worked when switched between gallery category
161
- * Fixed: PhotoSwipe javascript not worked when switched between gallery category
162
- * Updated: Added hitcounter to PhotoSwipe
163
-
164
- = v1.76 - 13.05.2012 =
165
- * Fixed: Fancybox javascript not worked in v1.75
166
- * Updated: Fancybox javascript for Slider skin
167
-
168
- = v1.75 - 10.05.2012 =
169
- * Fixed: Saving Video skin settings for playlist
170
- * Fixed: jQuery conflict for some new themes
171
-
172
- = v1.74 - 25.04.2012 =
173
- * Fixed: skins delete function
174
-
175
- = v1.73 - 18.04.2012 =
176
- * Fixed: xss vulnerability (skins.php)
177
-
178
- = v1.72 - 10.04.2012 =
179
- * Added: Sort by Image views option
180
- * Added: Sort by Image likes option
181
-
182
- = v1.71 - 27.03.2012 =
183
- * Updated: Default Skin (added view counter)
184
- * Added: widget for GRAND Pages
185
- * Fixed: JS for alternate gallery
186
-
187
- = v1.70 - 20.03.2012 =
188
- * New: PhotoBlog Skin
189
- * Added: Image Views, Likes and Rating for each images (available only in PhotoBlog skin)
190
- * Fixed: CSS and JS small bugs
191
-
192
- = v1.67 - 29.02.2012 =
193
- * Added: Romanian language
194
-
195
- = v1.66 - 23.02.2012 =
196
- * Changed: FancyBox script for alternate gallery is now enabled by default.
197
- * Changed: Instructions for Facebook gallery page creation.
198
- * Fixed: small bugfixes.
199
-
200
- = v1.65 - 15.02.2012 =
201
- * Added: Now you can select FancyBox or PhotoSwipe script for alternate gallery. Added option to Options page. (Default is PhotoSwipe)
202
- * Optimized: Optimized Photoswipe script for themes without mobile version.
203
- * Fixed: FlAGallery media button above Post / Page editor.
204
-
205
- = v1.64 - 07.02.2012 =
206
- * Changed: Alternate Gallery changed fancybox script to PhotoSwipe. Full touchscreen support: iPhone, iPad, Android, Blackberry 6 and Desktop all supported.
207
-
208
- = v1.63 - 24.01.2012 =
209
- * Fixed: FlAGallery button on HTML Editor panel
210
- * Added: FlAGallery Media button to Post and Page
211
- * Changes: Minor changes
212
-
213
- = v1.62 - 13.01.2012 =
214
- * Fixed: script.js file error
215
-
216
- = v1.61 - 12.01.2012 =
217
- * Fixed: Import video from folder
218
- * Fixed: Import mp3 from folder
219
- * Fixed: Fancybox script for Slider skin (now it works in Safari browser)
220
-
221
- = v1.60 - 10.01.2012 =
222
- * Added: Default skin without any branding
223
- * Added: Licenses to each skin folder
224
-
225
- = v1.59 - 21.12.2011 =
226
- * Updated: thumbnail generator script
227
- * Updated: flagshow.php file
228
-
229
- = v1.58 - 15.12.2011 =
230
- * Bugfix: Compatibility with theme's custom post templates
231
- * Bugfix: xss vulnerability (flagshow.php)
232
- * Updated: Compatibility with Wordpress 3.3
233
- * Fixed: Support any language for Add Gallery field
234
-
235
- = v1.57 - 01.12.2011 =
236
- * Bugfix: Error when update from very old version
237
- * Bugfix: xss vulnerability
238
- * Updated: 3D FlatWall, 3D Cube and Afflux skins compatibility with GRAND Pages
239
-
240
- = v1.56 - 23.11.2011 =
241
- * Added: Icon for GRAND Pages
242
- * Added: FlAGallery Music Widget
243
- * Added: New Music Player Skin
244
- * Fixed: Bugfix in Baner Box import function
245
- * Fixed: Music Box didn't update skin settings
246
-
247
- = v1.55 - 09.11.2011 =
248
- * Fixed: GRAND Pages permalinks
249
- * Added: Option to disable deep linking in the flash (not all skins support this feature)
250
- * Fixed: Alternative gallery
251
- * Fixed: CSS for FancyBox
252
- * Added: Alternative for Music Player Default
253
-
254
- = v1.54 - 09.11.2011 =
255
- * Added: GRAND Pages - Full Window Gallery Template
256
- * Updated: Script for Slider skin (multiple Sliders on one page)
257
-
258
- = v1.53 - 02.11.2011 =
259
- * Updated : Feedburner RSS now display bold title near image (not only description)
260
- * Added : Support for very old skins
261
-
262
- = v1.52 - 01.11.2011 =
263
- * Updated : Singleton (mini) mp3 player
264
- * Added : Autoplay for singleton (mini) mp3 player
265
- * Bugfix : Android browser support
266
-
267
- = v1.51 - 04.10.2011 =
268
- * Major Fix : Updated cPanel for skins
269
- * Added : RSS for FeedBurner
270
- * Updated : SEO optimization for serch engines
271
- * Updated : Optimization for RSS Readers (added photo description)
272
- * Updated : Scripts for feature SlideShow Skin
273
-
274
- = v1.50 - 20.09.2011 =
275
- * Fixed : Widget for Banner Rotator (refresh skins)
276
- * Removed : Unnecessary links on Banner Rotator
277
-
278
- = v1.49 - 06.09.2011 =
279
- * Added : Widget for Video Playlists
280
- * Fixed : Minor Bugs
281
-
282
- = v1.48 - 30.08.2011 =
283
- * Fixed : iPhone/iPad alternative for music and video default players
284
-
285
- = v1.47 - 29.08.2011 =
286
- * Added : Support mp3 for iPhone/iPad
287
- * Added : Alternative for video and music for non-flash browsers
288
- * Added : Widget Option for fancybox size
289
- * Fixed : music and video default players
290
-
291
- = v1.45 - 23.08.2011 =
292
- * Added : Widget for Album Gallery
293
- * Added : Lithuanian language
294
- * Fixed : Minor bugs
295
-
296
- = v1.44 - 18.08.2011 =
297
- * Fixed : Widget for Banner Rotator
298
-
299
- = v1.43 - 17.08.2011 =
300
- * Added : Widget for Banner Rotator
301
- * Fixed : Change playlist options
302
- * Fixed : PHP4 Compatibility
303
-
304
- = v1.42 - 08.08.2011 =
305
- * Major Bugfix
306
- * Fixed : Banner Rotator (update skins, please)
307
-
308
- = v1.41 - 25.07.2011 =
309
- * Fixed : Bug fix for WP v3.0.*
310
- * Fixed : Shortcode generator in Visual Editor mode
311
- * Fixed : Banner Rotator skin for WP v3.0
312
- * Added : Ukrainian translation
313
-
314
- = v1.40 - 18.07.2011 =
315
- * Added : Video playlist creation
316
- * Added : Video blog skin
317
- * Added : Banner box page
318
- * Added : Banner Rotator skin
319
- * Added : Facebook link generator for Video and Banner
320
- * Added : Album creation
321
- * Added : Option to disable jQuery alternative gallery for iPad/iPhone
322
- * Updated : swf files for skin options, mp3 mini.swf, video_mini.swf
323
-
324
- = v1.33 - 13.07.2011 =
325
- * Major Update
326
- * Fixed : Bug with music and video sorting in playlists
327
-
328
- = v1.32 - 12.07.2011 =
329
- * Fixed : Bug with Shortcode insertion via TinyMCE button
330
- * Updated : video player (new version)
331
- * Updated : Wordpress v.3.2 compatibility
332
-
333
- = v1.31 - 04.07.2011 =
334
- * Added : Creating Multicategorized albums
335
- * Added : Options for Single MP3 Player
336
- * Fixed : Skins settings changing
337
- * Fixed : Bug with Database capitalized prefix
338
-
339
- = v1.23 - 20.06.2011 =
340
- * Added : Video Box page (list of video from WP Media Library)
341
- * Added : FLV Video Player and shortcode for it
342
- * Added : Import mp3 files from server folder to WP Media Library
343
- * Added : Import flv files from server folder to WP Media Library
344
-
345
- = v1.22 - 11.06.2011 =
346
- * Fixed : Facebook template (you should copy facebook.php in the root directory again if you did it before)
347
- * Fixed : php4 compatibility
348
- * Added : Autoplay option to Music player (you should update skins)
349
- * Fixed : alternate gallery show only if no flash
350
-
351
- = v1.21 - 07.06.2011 =
352
- * Fixed : javascript for Alternative gallery
353
- * Fixed : php4 unexpected T_STATIC error
354
-
355
- = v1.20 - 06.06.2011 =
356
- * Updated : Music skin (added autoplay option)
357
- * Added : Alternate jQuery gallery for iPad, iPhone
358
- * Added : Options for alternate gallery
359
- * Added : additional javascript for flash
360
- * Changed : swfObject output for all galleries
361
- * Updated : cPanel.swf for skin optoins
362
-
363
- = v1.13 - 26.05.2011 =
364
- * Fixed : Refresh Skin button make aktive skin broken (reinstall broken skin please)
365
-
366
- = v1.12 - 24.05.2011 =
367
- * Added : Roles for Music and Facebook pages
368
- * Updated : Midnight Skin v3.0
369
- * Fixed : Facebook generator javascript on Mac browsers
370
-
371
- = v1.11 - 23.05.2011 =
372
- * Added : Music gallery 'Music Box'
373
- * Added : Flash Gallery for Facebook page
374
- * Fixed : small fixes
375
-
376
- = v0.61 - 22.05.2011 =
377
- * Added : Azerbaijani translation
378
-
379
- = v0.60 - 11.04.2011 =
380
- * Fixed : Security fix in two files
381
-
382
- = v0.59 - 23.03.2011 =
383
- * Fixed : Fix for default skins - don't load empty galleries
384
- * Fixed : Fix for edit big thumbs
385
- * Notice : New skin released today
386
-
387
- = v0.58pl1 - 19.02.2011 =
388
- * Changed : Fix for compatibility with new skin
389
- * Notice : new skin released today
390
-
391
- = v0.58 - 17.02.2011 =
392
- * Changed : core files for skins swfobject
393
- * Notice : all feature skins require plugin v0.58 or higher
394
-
395
- = v0.57 - 16.02.2011 =
396
- * Added : js for feature skin
397
- * Fixed : small fixes
398
-
399
- = v0.56 - 16.02.2011 =
400
- * Fixed : transparent and bg color for skins
401
- * Added : functionality for feature skin
402
-
403
- = v0.55 - 18.01.2011 =
404
- * Removed : disablescroll.js - very buggy
405
-
406
- = v0.54 - 18.01.2011 =
407
- * Added : javascript - flash scroll without html scroll
408
- * Added : Dutch language
409
-
410
- = v0.52 - 5.10.2010 =
411
- * Added : Polish language
412
-
413
- = v0.50 - 19.07.2010 =
414
- * Fixed : Metadata to description wrong tag
415
-
416
- = v0.49 - 28.06.2010 =
417
- * Added : Bulk action: copy image metadata to image description
418
- * Added : Russian translation
419
- * Bug fixes and CSS fixes
420
-
421
- = v0.46 - 03.05.2010 =
422
-
423
- * Added : Belorussian language
424
-
425
- = v0.45 - 22.04.2010 =
426
-
427
- * Added : WordPress MU support
428
- * Small bug fixes
429
-
430
- = v0.44 - 12.04.2010 =
431
-
432
- * Added : Turkish language
433
- * Small bug fixes
434
-
435
- = v0.43 - 28.03.2010 =
436
-
437
- * Added : More informative error messages on plugin upgrade
438
- * Bugfix : Conflicted with NGG JWPlayer
439
- * Bugfix : Help screen replaced on all admin pages
440
- * Bugfix : Wrong pager calculate
441
- * Changed : swfobject js for compability with older version of js library
442
-
443
- = v0.42 - 25.03.2010 =
444
-
445
- * Changed : Replaced all php short_open_tag from '<?=...?>' to '<?php echo ...; ?>'
446
-
447
- = v0.41 - 25.03.2010 =
448
-
449
- * Bugfix : Skin options didn't save colors
450
-
451
- = v0.40 - 24.03.2010 =
452
-
453
- * Change : DataBase structure
454
- * Change : Skin options now on skins page
455
- * Change : Skins now in separate folder outside of plugin folder
456
- * Added : Each skin has own color settings saved in file
457
- * Added : Hide image for unregistered users option
458
- * Added : SWFaddress for deeplinking in flash
459
- * Added : Meta data for Images
460
- * Added : Action popup for Resize image... and Create new thumbnails
461
- * Added : New Action - Import Meta data
462
- * Added : Actions on Manage Galleries page
463
- * Added : Search Images on Manage Galleries page
464
-
465
- = v0.39pl3 - 12.02.2010 =
466
-
467
- * Bugfix : Image uploader fix (Error 'no valid image')
468
- * Added : German translation
469
-
470
- = v0.39pl2 - 04.02.2010 =
471
-
472
- * Bugfix : TinyMCE button insert wrong shortcode
473
- * Bugfix : Color tab and color settings not showing
474
-
475
- = v0.39pl1 - 31.01.2010 =
476
-
477
- * Added : Portuguese translation
478
- * Added : Traditional Chinese translation
479
-
480
- = v0.39 - 25.12.2009 =
481
-
482
- * Added : Spanish translation
483
- * Bugfix : bugfixes for WP2.9
484
-
485
- = v0.38 - 08.12.2009 =
486
-
487
- * Added : Shortcode parameters (orderby=gid | title | random, order=DESC | ASC, exclude, skin)
488
- * Added : Popup tabs for additional shortcode parameters
489
- * Added : Ability to add more flash albums in post/posts with different skins
490
- * Added : Ability set default skin colors or leave your own
491
- * Bugfix : small fixes
492
-
493
- = v0.37 - 13.11.2009 =
494
-
495
- * Added : French translation
496
- * Bugfix : Fix for Skin page (blank page)
497
-
498
- = v0.36 - 5.11.2009 =
499
-
500
- * Added : Italian translation
501
- * Update : Little fixes of text
502
-
503
- = v0.35 - 22.10.2009 =
504
-
505
- * Added : Confirmation popup for delete skin option
506
- * Bugfix: Fix for included skins with WP 2.7.1 and PHP 4
507
- * Update : Update for Wordpress v.2.8.5
508
-
509
- = v0.34 - 19.10.2009 =
510
-
511
- * Added : Delete skin option
512
- * Added : Capability for 'delete skin'
513
- * Bugfix : Fix for flag.ajax.js (conflict with wp-security-scan plugin)
514
-
515
- = v0.33 - 5.10.2009 =
516
-
517
- * Bugfix : Fix for skins upload
518
- * Bugfix : Fix editor buttons in IE
519
-
520
- = v0.32 - 30.09.2009 =
521
-
522
- * Added : Skin "PhotoGallery PRO 1.0 DEMO"
523
- * Bugfix : Fix for image date & time
524
- * Bugfix : Fixed html special chars in description of image
525
- * Changed : Database structure
526
-
527
- = v0.29 - 17.08.2009 =
528
-
529
- * NEW : Import images from folder
530
- * Added : Button "FlAGallery" on HTML Editor panel, even if Visual Editor is disabled
531
- * Added : International Skin to display any language in the flash
532
- * Added : Loader for News Box on Overview page
533
- * Added : To display all galleries in the album, added parameter value "all", e.g.: gid=all
534
- * Changed : Shortcode 'album' replaced with 'flagallery', becouse of conflict with NextGEN Gallery
535
- * Bugfix : Fix for Upload Images button on Overview page
536
- * Bugfix : Fixed conflict with NextGEN Gallery (creating thumbnails cause error)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
facebook.php CHANGED
@@ -1,6 +1,8 @@
1
- <?php
2
- preg_match('|^(.*?/)(wp-content)/|i', str_replace('\\', '/', __FILE__), $_m);
3
- require_once( $_m[1] . 'wp-load.php');
 
 
4
  ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
  <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
6
  <head profile="http://gmpg.org/xfn/11">
@@ -21,8 +23,8 @@ if(isset($_GET['l'])) {
21
  if(isset($_GET['i'])) {
22
  $skin = '';
23
  if(isset($_GET['f']) && false === strpos($_GET['f'], '..') ){
24
- $skinpath = trailingslashit( $flag_options['skinsDirABS'] ).$_GET['f'];
25
- $skin = esc_js($_GET['f']);
26
  }
27
  $h = isset($_GET['h'])? intval($_GET['h']) : (int) $flag_options['flashHeight'];
28
 
@@ -60,7 +62,7 @@ if(isset($_GET['i'])) {
60
 
61
  <?php
62
  if(isset($_GET['m'])) {
63
- $file = sanitize_title($_GET['m']);
64
  $playlistpath = $flag_options['galleryPath'].'playlists/'.$file.'.xml';
65
  if(file_exists($playlistpath))
66
  echo flagShowMPlayer($file, $width='', $height='', $wmode='opaque');
@@ -72,7 +74,7 @@ if(isset($_GET['m'])) {
72
  if(isset($_GET['v'])) {
73
  $height = isset($_GET['h'])? intval($_GET['h']) : '';
74
  $width = isset($_GET['w'])? '100%' : '';
75
- $file = sanitize_title($_GET['v']);
76
  $playlistpath = $flag_options['galleryPath'].'playlists/video/'.$file.'.xml';
77
  if(file_exists($playlistpath))
78
  echo flagShowVPlayer($file, $width, $height, $wmode='opaque');
@@ -90,7 +92,7 @@ if(isset($_GET['mv'])) {
90
  ?>
91
  <?php
92
  if(isset($_GET['b'])) {
93
- $file = sanitize_title($_GET['b']);
94
  $playlistpath = $flag_options['galleryPath'].'playlists/banner/'.$file.'.xml';
95
  if(file_exists($playlistpath))
96
  echo flagShowBanner($file, $width='', $height='', $wmode='opaque');
1
+ <?php if(file_exists(dirname(__FILE__) . '/flag-config.php')){
2
+ require_once( dirname(__FILE__) . '/flag-config.php');
3
+ } else if(file_exists(dirname(__FILE__) . '/wp-load.php')){
4
+ require_once( dirname(__FILE__) . '/wp-load.php');
5
+ }
6
  ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7
  <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
8
  <head profile="http://gmpg.org/xfn/11">
23
  if(isset($_GET['i'])) {
24
  $skin = '';
25
  if(isset($_GET['f']) && false === strpos($_GET['f'], '..') ){
26
+ $skin = sanitize_flagname($_GET['f']);
27
+ $skinpath = trailingslashit( $flag_options['skinsDirABS'] ).$skin;
28
  }
29
  $h = isset($_GET['h'])? intval($_GET['h']) : (int) $flag_options['flashHeight'];
30
 
62
 
63
  <?php
64
  if(isset($_GET['m'])) {
65
+ $file = sanitize_flagname($_GET['m']);
66
  $playlistpath = $flag_options['galleryPath'].'playlists/'.$file.'.xml';
67
  if(file_exists($playlistpath))
68
  echo flagShowMPlayer($file, $width='', $height='', $wmode='opaque');
74
  if(isset($_GET['v'])) {
75
  $height = isset($_GET['h'])? intval($_GET['h']) : '';
76
  $width = isset($_GET['w'])? '100%' : '';
77
+ $file = sanitize_flagname($_GET['v']);
78
  $playlistpath = $flag_options['galleryPath'].'playlists/video/'.$file.'.xml';
79
  if(file_exists($playlistpath))
80
  echo flagShowVPlayer($file, $width, $height, $wmode='opaque');
92
  ?>
93
  <?php
94
  if(isset($_GET['b'])) {
95
+ $file = sanitize_flagname($_GET['b']);
96
  $playlistpath = $flag_options['galleryPath'].'playlists/banner/'.$file.'.xml';
97
  if(file_exists($playlistpath))
98
  echo flagShowBanner($file, $width='', $height='', $wmode='opaque');
flag.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  Plugin Name: GRAND Flash Album Gallery
4
  Plugin URI: http://codeasily.com/wordpress-plugins/flash-album-gallery/flag/
5
- Description: The GRAND FlAGallery plugin - provides a comprehensive interface for managing photos and images through a set of admin pages, and it displays photos in a way that makes your web site look very professional.
6
- Version: 3.01
7
  Author: Rattus
8
  Author URI: http://codeasily.com/
9
 
@@ -23,7 +23,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
23
  if (!class_exists('flagLoad')) {
24
  class flagLoad {
25
 
26
- var $version = '3.01';
27
  var $dbversion = '2.75';
28
  var $minium_WP = '3.0';
29
  var $minium_WPMU = '3.0';
@@ -104,7 +104,7 @@ class flagLoad {
104
  add_action('wp_print_scripts', array(&$this, 'load_scripts') );
105
 
106
  // Add a version number to the header
107
- add_action('wp_head', create_function('', 'echo "\n<meta name=\'GRAND FlAGallery\' content=\'' . $this->version . '\' />\n";') );
108
 
109
  }
110
  }
@@ -124,7 +124,7 @@ class flagLoad {
124
  include_once ( dirname (__FILE__) . '/admin/functions.php' );
125
  include_once ( dirname (__FILE__) . '/admin/upgrade.php' );
126
  flag_upgrade();
127
- add_action( 'admin_notices', create_function('', 'echo \'<div id="message" class="updated"><p>\' . __(\'GRAND FlAGallery database upgraded\', "flag" ) . \'</p></div>\';') );
128
  }
129
  }
130
 
@@ -368,7 +368,7 @@ class flagLoad {
368
  );
369
  $args = array(
370
  'labels' => $labels,
371
- 'description' => __('This is the page template for displaing GRAND FlAGallery galleries in full width and height of browser window.', 'flag'),
372
  'public' => true,
373
  'publicly_queryable' => true,
374
  'show_ui' => true,
@@ -471,8 +471,8 @@ class flagLoad {
471
  if(current_user_can('FlAG Use TinyMCE')){
472
  $flag_upload_iframe_src = FLAG_URLPATH."admin/tinymce/window.php?media_button=true&riched=false";
473
  $flag_iframe_src = apply_filters('flag_iframe_src', "$flag_upload_iframe_src&amp;tab=flagallery");
474
- $title = __('Add GRAND FlAGallery');
475
- $button = '<a href="'.$flag_upload_iframe_src.'&amp;TB_iframe=1&amp;width=360&amp;height=210" class="thickbox" id="add_flagallery" title="'.$title.'"><span style="margin:0 5px;">FlAGallery</span></a>';
476
  } else {
477
  $button = '';
478
  }
@@ -494,4 +494,19 @@ if(!function_exists('sort_query_by_post_in')){
494
  return $sortby;
495
  }
496
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
497
  ?>
2
  /*
3
  Plugin Name: GRAND Flash Album Gallery
4
  Plugin URI: http://codeasily.com/wordpress-plugins/flash-album-gallery/flag/
5
+ Description: The Grand Flagallery plugin - provides a comprehensive interface for managing photos and images through a set of admin pages, and it displays photos in a way that makes your web site look very professional.
6
+ Version: 3.12
7
  Author: Rattus
8
  Author URI: http://codeasily.com/
9
 
23
  if (!class_exists('flagLoad')) {
24
  class flagLoad {
25
 
26
+ var $version = '3.12';
27
  var $dbversion = '2.75';
28
  var $minium_WP = '3.0';
29
  var $minium_WPMU = '3.0';
104
  add_action('wp_print_scripts', array(&$this, 'load_scripts') );
105
 
106
  // Add a version number to the header
107
+ add_action('wp_head', create_function('', 'echo "\n<!-- <meta name=\'Grand Flagallery\' content=\'' . $this->version . '\' /> -->\n";') );
108
 
109
  }
110
  }
124
  include_once ( dirname (__FILE__) . '/admin/functions.php' );
125
  include_once ( dirname (__FILE__) . '/admin/upgrade.php' );
126
  flag_upgrade();
127
+ add_action( 'admin_notices', create_function('', 'echo \'<div id="message" class="updated"><p>\' . __(\'Grand Flagallery database upgraded\', "flag" ) . \'</p></div>\';') );
128
  }
129
  }
130
 
368
  );
369
  $args = array(
370
  'labels' => $labels,
371
+ 'description' => __('This is the page template for displaing Grand Flagallery galleries in full width and height of browser window.', 'flag'),
372
  'public' => true,
373
  'publicly_queryable' => true,
374
  'show_ui' => true,
471
  if(current_user_can('FlAG Use TinyMCE')){
472
  $flag_upload_iframe_src = FLAG_URLPATH."admin/tinymce/window.php?media_button=true&riched=false";
473
  $flag_iframe_src = apply_filters('flag_iframe_src', "$flag_upload_iframe_src&amp;tab=flagallery");
474
+ $title = __('Add Grand Flagallery');
475
+ $button = '<a href="'.$flag_upload_iframe_src.'&amp;TB_iframe=1&amp;width=360&amp;height=210" class="thickbox button" id="add_flagallery" title="'.$title.'"><span style="margin:0 5px;">FlAGallery</span></a>';
476
  } else {
477
  $button = '';
478
  }
494
  return $sortby;
495
  }
496
  }
497
+ if(!function_exists('sanitize_flagname')){
498
+ function sanitize_flagname( $filename ) {
499
+
500
+ $filename = wp_strip_all_tags( $filename );
501
+ $filename = remove_accents( $filename );
502
+ // Kill octets
503
+ $filename = preg_replace( '|%([a-fA-F0-9][a-fA-F0-9])|', '', $filename );
504
+ $filename = preg_replace( '/&.+?;/', '', $filename ); // Kill entities
505
+ $filename = preg_replace( '|[^a-zA-Z0-9 _.\-]|i', '', $filename );
506
+ $filename = preg_replace('/[\s-]+/', '-', $filename);
507
+ $filename = trim($filename, '.-_ ');
508
+
509
+ return $filename;
510
+ }
511
+ }
512
  ?>
full_window_template.php CHANGED
@@ -1,6 +1,5 @@
1
  <?php
2
- preg_match('|^(.*?/)(wp-content)/|i', str_replace('\\', '/', __FILE__), $_m);
3
- require_once( $_m[1] . 'wp-load.php');
4
  global $post;
5
  $flag_custom = get_post_custom($post->ID);
6
  $scode = $flag_custom["mb_scode"][0];
1
  <?php
2
+ require_once( dirname(__FILE__) . '/flag-config.php');
 
3
  global $post;
4
  $flag_custom = get_post_custom($post->ID);
5
  $scode = $flag_custom["mb_scode"][0];
lang/flag-az_AZ.po CHANGED
@@ -1366,8 +1366,8 @@ msgid "You need activate another skin before delete it"
1366
  msgstr "Bu skini silmakdən qabaq Siz digər skini yaratmalısınız"
1367
 
1368
  #: admin/skins.php:234
1369
- msgid "You do not have sufficient permissions to delete skins of GRAND FlAGallery."
1370
- msgstr " GRAND FlAGallery skinin silmakdan ötəri Sizin lazımi qədər səlahiyyətiniz yoxdur. "
1371
 
1372
  #: admin/skins.php:281
1373
  msgid "activated successfully"
@@ -1453,16 +1453,16 @@ msgstr "Tarix və vaxt haqqında məlumatı import etmək"
1453
 
1454
  #: admin/upgrade.php:130
1455
  #: admin/upgrade.php:149
1456
- msgid "Upgrade GRAND FlAGallery"
1457
- msgstr "GRAND FlAGallery Yeniləşdirilməsi"
1458
 
1459
  #: admin/upgrade.php:131
1460
  msgid "The script detect that you upgrade from a older version."
1461
  msgstr "Skript təyin etdiki köhnə versiyadan yeniləşdirilib."
1462
 
1463
  #: admin/upgrade.php:132
1464
- msgid "Your database tables for GRAND FlAGallery is out-of-date, and must be upgraded before you can continue."
1465
- msgstr "Sizin GRAND FlAGallery üçün məlumat bazası köhnəlib və davam etməkdan qabaq yeniləşdirilməlidir."
1466
 
1467
  #: admin/upgrade.php:133
1468
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
1366
  msgstr "Bu skini silmakdən qabaq Siz digər skini yaratmalısınız"
1367
 
1368
  #: admin/skins.php:234
1369
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1370
+ msgstr " Grand Flagallery skinin silmakdan ötəri Sizin lazımi qədər səlahiyyətiniz yoxdur. "
1371
 
1372
  #: admin/skins.php:281
1373
  msgid "activated successfully"
1453
 
1454
  #: admin/upgrade.php:130
1455
  #: admin/upgrade.php:149
1456
+ msgid "Upgrade Grand Flagallery"
1457
+ msgstr "Grand Flagallery Yeniləşdirilməsi"
1458
 
1459
  #: admin/upgrade.php:131
1460
  msgid "The script detect that you upgrade from a older version."
1461
  msgstr "Skript təyin etdiki köhnə versiyadan yeniləşdirilib."
1462
 
1463
  #: admin/upgrade.php:132
1464
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1465
+ msgstr "Sizin Grand Flagallery üçün məlumat bazası köhnəlib və davam etməkdan qabaq yeniləşdirilməlidir."
1466
 
1467
  #: admin/upgrade.php:133
1468
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
lang/flag-be_BY.po CHANGED
@@ -1363,7 +1363,7 @@ msgid "You need activate another skin before delete it"
1363
  msgstr "вам трэба актывізаваць іншы скін, перш чым выдаліць гэты"
1364
 
1365
  #: admin/skins.php:234
1366
- msgid "You do not have sufficient permissions to delete skins of GRAND FlAGallery."
1367
  msgstr "У вас няма дастатковых паўнамоцтваў для выдалення скіна GRAND FlAгалереии."
1368
 
1369
  #: admin/skins.php:281
@@ -1450,16 +1450,16 @@ msgstr "імпарт інфармацыі пра дату і чакай"
1450
 
1451
  #: admin/upgrade.php:130
1452
  #: admin/upgrade.php:149
1453
- msgid "Upgrade GRAND FlAGallery"
1454
- msgstr "Upgrade GRAND FlAGallery"
1455
 
1456
  #: admin/upgrade.php:131
1457
  msgid "The script detect that you upgrade from a older version."
1458
  msgstr "Сцэнар выявіў, што б абнавіліся са старой версіі"
1459
 
1460
  #: admin/upgrade.php:132
1461
- msgid "Your database tables for GRAND FlAGallery is out-of-date, and must be upgraded before you can continue."
1462
- msgstr "Ваша база дадзеных для GRAND FlAGallery састарэла і павінна быць абноўлена, перад тым як вы зможаце працягнуць."
1463
 
1464
  #: admin/upgrade.php:133
1465
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
1363
  msgstr "вам трэба актывізаваць іншы скін, перш чым выдаліць гэты"
1364
 
1365
  #: admin/skins.php:234
1366
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1367
  msgstr "У вас няма дастатковых паўнамоцтваў для выдалення скіна GRAND FlAгалереии."
1368
 
1369
  #: admin/skins.php:281
1450
 
1451
  #: admin/upgrade.php:130
1452
  #: admin/upgrade.php:149
1453
+ msgid "Upgrade Grand Flagallery"
1454
+ msgstr "Upgrade Grand Flagallery"
1455
 
1456
  #: admin/upgrade.php:131
1457
  msgid "The script detect that you upgrade from a older version."
1458
  msgstr "Сцэнар выявіў, што б абнавіліся са старой версіі"
1459
 
1460
  #: admin/upgrade.php:132
1461
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1462
+ msgstr "Ваша база дадзеных для Grand Flagallery састарэла і павінна быць абноўлена, перад тым як вы зможаце працягнуць."
1463
 
1464
  #: admin/upgrade.php:133
1465
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
lang/flag-de_DE.po CHANGED
@@ -1361,7 +1361,7 @@ msgid "You need activate another skin before delete it"
1361
  msgstr "Davor müssen Sie eine neue Ansicht aktivieren um den Löschvorgang durchzuführen"
1362
 
1363
  #: admin/skins.php:234
1364
- msgid "You do not have sufficient permissions to delete skins of GRAND FlAGallery."
1365
  msgstr "Sie haben keine ausreichenden Rechte um Ansichten zu löschen."
1366
 
1367
  #: admin/skins.php:281
@@ -1448,7 +1448,7 @@ msgstr "Datum und Zeit importieren"
1448
 
1449
  #: admin/upgrade.php:130
1450
  #: admin/upgrade.php:149
1451
- msgid "Upgrade GRAND FlAGallery"
1452
  msgstr "GRAND FLAGalerie aktualisieren"
1453
 
1454
  #: admin/upgrade.php:131
@@ -1456,7 +1456,7 @@ msgid "The script detect that you upgrade from a older version."
1456
  msgstr "Das Programm hat erkannt, das Sie von einer älteren Version aktualisieren wollen."
1457
 
1458
  #: admin/upgrade.php:132
1459
- msgid "Your database tables for GRAND FlAGallery is out-of-date, and must be upgraded before you can continue."
1460
  msgstr "Die Datenbanktabellen Ihrer Galerie sind nicht mehr aktuell und müssen verbessert werden bevor Sie fortfahren."
1461
 
1462
  #: admin/upgrade.php:133
1361
  msgstr "Davor müssen Sie eine neue Ansicht aktivieren um den Löschvorgang durchzuführen"
1362
 
1363
  #: admin/skins.php:234
1364
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1365
  msgstr "Sie haben keine ausreichenden Rechte um Ansichten zu löschen."
1366
 
1367
  #: admin/skins.php:281
1448
 
1449
  #: admin/upgrade.php:130
1450
  #: admin/upgrade.php:149
1451
+ msgid "Upgrade Grand Flagallery"
1452
  msgstr "GRAND FLAGalerie aktualisieren"
1453
 
1454
  #: admin/upgrade.php:131
1456
  msgstr "Das Programm hat erkannt, das Sie von einer älteren Version aktualisieren wollen."
1457
 
1458
  #: admin/upgrade.php:132
1459
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1460
  msgstr "Die Datenbanktabellen Ihrer Galerie sind nicht mehr aktuell und müssen verbessert werden bevor Sie fortfahren."
1461
 
1462
  #: admin/upgrade.php:133
lang/flag-es_ES.po CHANGED
@@ -1366,7 +1366,7 @@ msgid "You need activate another skin before delete it"
1366
  msgstr "Necesitas activar otra piel antes de eliminarlo"
1367
 
1368
  #: admin/skins.php:234
1369
- msgid "You do not have sufficient permissions to delete skins of GRAND FlAGallery."
1370
  msgstr "Usted no tiene permisos suficientes para eliminar las pieles de FIAG"
1371
 
1372
  #: admin/skins.php:281
@@ -1453,16 +1453,16 @@ msgstr "Importar informacion de fecha y hora"
1453
 
1454
  #: admin/upgrade.php:130
1455
  #: admin/upgrade.php:149
1456
- msgid "Upgrade GRAND FlAGallery"
1457
- msgstr "Actualizar GRAND FlAGallery"
1458
 
1459
  #: admin/upgrade.php:131
1460
  msgid "The script detect that you upgrade from a older version."
1461
  msgstr "El script detectará que se actualiza desde una versión anterior."
1462
 
1463
  #: admin/upgrade.php:132
1464
- msgid "Your database tables for GRAND FlAGallery is out-of-date, and must be upgraded before you can continue."
1465
- msgstr "Las tablas de base de datos para GRAND FlAGallery está fuera de fecha, y debe actualizarse antes de continuar."
1466
 
1467
  #: admin/upgrade.php:133
1468
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
1366
  msgstr "Necesitas activar otra piel antes de eliminarlo"
1367
 
1368
  #: admin/skins.php:234
1369
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1370
  msgstr "Usted no tiene permisos suficientes para eliminar las pieles de FIAG"
1371
 
1372
  #: admin/skins.php:281
1453
 
1454
  #: admin/upgrade.php:130
1455
  #: admin/upgrade.php:149
1456
+ msgid "Upgrade Grand Flagallery"
1457
+ msgstr "Actualizar Grand Flagallery"
1458
 
1459
  #: admin/upgrade.php:131
1460
  msgid "The script detect that you upgrade from a older version."
1461
  msgstr "El script detectará que se actualiza desde una versión anterior."
1462
 
1463
  #: admin/upgrade.php:132
1464
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1465
+ msgstr "Las tablas de base de datos para Grand Flagallery está fuera de fecha, y debe actualizarse antes de continuar."
1466
 
1467
  #: admin/upgrade.php:133
1468
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
lang/flag-fr_FR.po CHANGED
@@ -1365,8 +1365,8 @@ msgid "You need activate another skin before delete it"
1365
  msgstr "Vous devez activer une autre interface avant de la supprimer"
1366
 
1367
  #: admin/skins.php:234
1368
- msgid "You do not have sufficient permissions to delete skins of GRAND FlAGallery."
1369
- msgstr "Vous n'avez pas les autorisations suffisantes pour supprimer des interfaces de GRAND FlAGallery."
1370
 
1371
  #: admin/skins.php:281
1372
  msgid "activated successfully"
@@ -1452,16 +1452,16 @@ msgstr "Importation des informations de dates et heures"
1452
 
1453
  #: admin/upgrade.php:130
1454
  #: admin/upgrade.php:149
1455
- msgid "Upgrade GRAND FlAGallery"
1456
- msgstr "Mettre à jour GRAND FlAGallery"
1457
 
1458
  #: admin/upgrade.php:131
1459
  msgid "The script detect that you upgrade from a older version."
1460
  msgstr "Le script détecte que vous mettez à jour à partir d'une ancienne version."
1461
 
1462
  #: admin/upgrade.php:132
1463
- msgid "Your database tables for GRAND FlAGallery is out-of-date, and must be upgraded before you can continue."
1464
- msgstr "Les tables de votre base de données pour GRAND FlAGallery sont obsolètes et doivent être mises à jour avant de continuer."
1465
 
1466
  #: admin/upgrade.php:133
1467
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
1365
  msgstr "Vous devez activer une autre interface avant de la supprimer"
1366
 
1367
  #: admin/skins.php:234
1368
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1369
+ msgstr "Vous n'avez pas les autorisations suffisantes pour supprimer des interfaces de Grand Flagallery."
1370
 
1371
  #: admin/skins.php:281
1372
  msgid "activated successfully"
1452
 
1453
  #: admin/upgrade.php:130
1454
  #: admin/upgrade.php:149
1455
+ msgid "Upgrade Grand Flagallery"
1456
+ msgstr "Mettre à jour Grand Flagallery"
1457
 
1458
  #: admin/upgrade.php:131
1459
  msgid "The script detect that you upgrade from a older version."
1460
  msgstr "Le script détecte que vous mettez à jour à partir d'une ancienne version."
1461
 
1462
  #: admin/upgrade.php:132
1463
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1464
+ msgstr "Les tables de votre base de données pour Grand Flagallery sont obsolètes et doivent être mises à jour avant de continuer."
1465
 
1466
  #: admin/upgrade.php:133
1467
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
lang/flag-hi_IN.mo ADDED
Binary file
lang/flag-hi_IN.po ADDED
@@ -0,0 +1,1643 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Flash Album Gallery\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/flash-album-gallery\n"
5
+ "POT-Creation-Date: 2009-10-28 10:59+0000\n"
6
+ "PO-Revision-Date: 2012-05-22 18:39+0530\n"
7
+ "Last-Translator: Ashish Jha <ashish@outshinesolutions.com>\n"
8
+ "Language-Team: Team Outshine <ash.pr@outshinesolutions.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n>1\n"
13
+ "X-Poedit-Language: Hindi\n"
14
+ "X-Poedit-Country: INDIA\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+
17
+ #: admin/addgallery.php:37
18
+ #: admin/addmoreimages.php:36
19
+ msgid "Upload failed!"
20
+ msgstr "अपलोड असफल हुआ!"
21
+
22
+ #: admin/addgallery.php:49
23
+ #: admin/addmoreimages.php:41
24
+ #: admin/functions.php:453
25
+ #: admin/functions.php:543
26
+ msgid "No gallery selected !"
27
+ msgstr "गैलरी चयनित नहीं!"
28
+
29
+ #: admin/addgallery.php:117
30
+ #: admin/addmoreimages.php:88
31
+ msgid "Image Files"
32
+ msgstr "छवि फ़ाइलें"
33
+
34
+ #: admin/addgallery.php:136
35
+ #: admin/addgallery.php:166
36
+ #: admin/addmoreimages.php:107
37
+ #: admin/addmoreimages.php:136
38
+ msgid "remove"
39
+ msgstr "हटाना"
40
+
41
+ #: admin/addgallery.php:137
42
+ #: admin/addmoreimages.php:108
43
+ msgid "Browse..."
44
+ msgstr "ब्राउज़ करें ..."
45
+
46
+ #: admin/addgallery.php:138
47
+ #: admin/addgallery.php:203
48
+ #: admin/addgallery.php:251
49
+ #: admin/addmoreimages.php:109
50
+ #: admin/addmoreimages.php:168
51
+ msgid "Upload images"
52
+ msgstr "छवियाँ अपलोड"
53
+
54
+ #: admin/addgallery.php:177
55
+ msgid "Add new gallery"
56
+ msgstr "नई गैलरी जोड़ें"
57
+
58
+ #: admin/addgallery.php:178
59
+ msgid "Upload Images"
60
+ msgstr "छवियाँ अपलोड करें"
61
+
62
+ #: admin/addgallery.php:179
63
+ #: admin/addgallery.php:258
64
+ msgid "Import image folder"
65
+ msgstr "छवि फ़ोल्डर आयात करें"
66
+
67
+ #: admin/addgallery.php:184
68
+ msgid "Create a new gallery"
69
+ msgstr "एक नई गैलरी बनाएँ"
70
+
71
+ #: admin/addgallery.php:189
72
+ msgid "New Gallery"
73
+ msgstr "नई गैलरी"
74
+
75
+ #: admin/addgallery.php:193
76
+ msgid "Create a new , empty gallery below the folder"
77
+ msgstr "फ़ोल्डर के नीचे एक नई, खाली गैलरी बनाएँ"
78
+
79
+ #: admin/addgallery.php:194
80
+ msgid "Allowed characters for file and folder names are"
81
+ msgstr "फ़ाइल और फ़ोल्डर नाम के लिए वर्णों की अनुमति है"
82
+
83
+ #: admin/addgallery.php:195
84
+ msgid "Add gallery"
85
+ msgstr "गैलरी में जोड़ें"
86
+
87
+ #: admin/addgallery.php:227
88
+ #: admin/addmoreimages.php:156
89
+ msgid "Upload image(s):"
90
+ msgstr "छवि अपलोड करें"
91
+
92
+ #: admin/addgallery.php:231
93
+ msgid "in to"
94
+ msgstr "के लिए में"
95
+
96
+ #: admin/addgallery.php:232
97
+ msgid "Choose gallery"
98
+ msgstr "गैलरी चुनें"
99
+
100
+ #: admin/addgallery.php:246
101
+ #: admin/addmoreimages.php:164
102
+ msgid "The batch upload requires Adobe Flash 10, disable it if you have problems"
103
+ msgstr "बैच अपलोड करने के लिए एडोब फ्लैश 10 की आवश्यकता है, इसे निष्क्रिय करने के लिए यदि आप को समस्या है"
104
+
105
+ #: admin/addgallery.php:246
106
+ #: admin/addmoreimages.php:164
107
+ msgid "Disable flash upload"
108
+ msgstr "फ़्लैश अपलोड निष्क्रिय करें"
109
+
110
+ #: admin/addgallery.php:248
111
+ #: admin/addmoreimages.php:166
112
+ msgid "Upload multiple files at once by ctrl/shift-selecting in dialog"
113
+ msgstr "कई सारी फाइलें / ctrl संवाद में बदलाव का चयन करके एक बार अपलोड करें"
114
+
115
+ #: admin/addgallery.php:248
116
+ #: admin/addmoreimages.php:166
117
+ msgid "Enable flash based upload"
118
+ msgstr "सक्रिय करें फ़्लैश अपलोड आधारित है"
119
+
120
+ #: admin/addgallery.php:263
121
+ msgid "Import from Server path:"
122
+ msgstr "सर्वर पथ से आयात करें:"
123
+
124
+ #: admin/addgallery.php:264
125
+ msgid "Toggle DIR Browser"
126
+ msgstr "टॉगल DIR ब्राउज़र"
127
+
128
+ #: admin/addgallery.php:267
129
+ msgid " Please note : For safe-mode = ON you need to add the subfolder thumbs manually"
130
+ msgstr "कृपया ध्यान दें: =सुरक्षित मोड के लिए आपको सबफ़ोल्डर के मैन्युअल अंगूठे को जोड़ने की जरूरत है"
131
+
132
+ #: admin/addgallery.php:270
133
+ msgid "Import folder"
134
+ msgstr "आयात फ़ोल्डर"
135
+
136
+ #: admin/addmoreimages.php:145
137
+ #, php-format
138
+ msgid "Upload More Images in \"%s\""
139
+ msgstr "और अधिक छवियाँ अपलोड करें \"%s\""
140
+
141
+ #: admin/addmoreimages.php:150
142
+ msgid "Add images to gallery"
143
+ msgstr "गैलरी के लिए छवियाँ जोड़ें"
144
+
145
+ #: admin/addmoreimages.php:158
146
+ #: admin/manage-sort.php:61
147
+ msgid "Back to gallery"
148
+ msgstr "गैलरी पर लौटें"
149
+
150
+ #: admin/admin.php:23
151
+ #: admin/admin.php:24
152
+ msgid "Flash Album Gallery overview"
153
+ msgstr "फ्लैश एल्बम गैलरी अवलोकन"
154
+
155
+ #: admin/admin.php:23
156
+ msgid "FlAGallery"
157
+ msgstr "FlAGallery"
158
+
159
+ #: admin/admin.php:24
160
+ msgid "Overview"
161
+ msgstr "अवलोकन"
162
+
163
+ #: admin/admin.php:25
164
+ msgid "FlAG Manage gallery"
165
+ msgstr "फ्लैग गैलरी प्रबंधित करें"
166
+
167
+ #: admin/admin.php:25
168
+ msgid "Manage Galleries"
169
+ msgstr "गैलरी प्रबंधित करें"
170
+
171
+ #: admin/admin.php:26
172
+ msgid "FlAG Manage skins"
173
+ msgstr "खाल प्रबंधित झंडा"
174
+
175
+ #: admin/admin.php:26
176
+ #: admin/skins.php:312
177
+ msgid "Skins"
178
+ msgstr "खाल"
179
+
180
+ #: admin/admin.php:27
181
+ msgid "FlAG Change options"
182
+ msgstr "फ्लैग परिवर्तित करें विकल्प"
183
+
184
+ #: admin/admin.php:27
185
+ msgid "Options"
186
+ msgstr "विकल्प"
187
+
188
+ #: admin/admin.php:77
189
+ msgid "You do not have the correct permission"
190
+ msgstr "आपको सही अनुमति नहीं है"
191
+
192
+ #: admin/admin.php:78
193
+ msgid "Unexpected Error"
194
+ msgstr "अप्रत्याशित त्रुटि"
195
+
196
+ #: admin/admin.php:79
197
+ msgid "A failure occurred"
198
+ msgstr "एक विफलता हुई"
199
+
200
+ #: admin/flag_install.php:24
201
+ msgid "Sorry, Flash Album Gallery works only with a role called administrator"
202
+ msgstr "माफ करना, फ्लैश एल्बम गैलरी एक व्यवस्थापक बुलाया भूमिका के साथ ही काम करता है"
203
+
204
+ #: admin/flag_install.php:121
205
+ msgid "Flash Album Gallery : Tables could not created, please check your database settings"
206
+ msgstr "फ्लैश एल्बम गैलरी: टेबल्स नहीं बनाया जा सकता है, अपने डेटाबेस सेटिंग्स की जाँच करें"
207
+
208
+ #: admin/functions.php:29
209
+ msgid "No valid gallery name!"
210
+ msgstr "मान्य गैलरी नाम नहीं है !"
211
+
212
+ #: admin/functions.php:36
213
+ #: admin/functions.php:45
214
+ #: admin/functions.php:59
215
+ #: admin/functions.php:127
216
+ #: admin/functions.php:134
217
+ msgid "Directory"
218
+ msgstr "डायरेक्टरी"
219
+
220
+ #: admin/functions.php:36
221
+ msgid "didn't exist. Please create first the main gallery folder "
222
+ msgstr "मौजूद नहीं था. पहले मुख्य गैलरी फ़ोल्डर बनाएँ"
223
+
224
+ #: admin/functions.php:37
225
+ #: admin/functions.php:46
226
+ msgid "Check this link, if you didn't know how to set the permission :"
227
+ msgstr "इस लिंक की जाँच करें, अगर आपको नहीं पता था कि कैसे स्थापित करने के लिए अनुमति:"
228
+
229
+ #: admin/functions.php:45
230
+ #: admin/functions.php:59
231
+ msgid "is not writeable !"
232
+ msgstr "लेखनीय नहीं है!"
233
+
234
+ #: admin/functions.php:54
235
+ #: admin/functions.php:64
236
+ #: lib/core.php:99
237
+ msgid "Unable to create directory "
238
+ msgstr "निर्देशिका बनाने में असमर्थ"
239
+
240
+ #: admin/functions.php:68
241
+ msgid "The server setting Safe-Mode is on !"
242
+ msgstr "सुरक्षित मोड स्थापित सर्वर पर है!"
243
+
244
+ #: admin/functions.php:69
245
+ msgid "If you have problems, please create directory"
246
+ msgstr "यदि आप समस्या है, कृपया निर्देशिका बनाये "
247
+
248
+ #: admin/functions.php:70
249
+ msgid "and the thumbnails directory"
250
+ msgstr "और थंबनेल निर्देशिका"
251
+
252
+ #: admin/functions.php:70
253
+ msgid "with permission 777 manually !"
254
+ msgstr "अनुमति मैन्युअल रूप से 777 के साथ!"
255
+
256
+ #: admin/functions.php:88
257
+ #: admin/functions.php:155
258
+ #: admin/manage-images.php:139
259
+ #: admin/manage.php:89
260
+ #: admin/overview.php:220
261
+ msgid "Gallery"
262
+ msgstr "गैलरी"
263
+
264
+ #: admin/functions.php:88
265
+ msgid "already exists"
266
+ msgstr "पहले से मौजूद है"
267
+
268
+ #: admin/functions.php:93
269
+ #, php-format
270
+ msgid "Gallery '%1$s' successfully created.<br/>You can show this gallery with the tag %2$s.<br/>"
271
+ msgstr "गैलरी '%1$s' को सफलतापूर्वक बनाया गया. करें <br/> आपको इस गैलरी दिखाने के टैग के साथ %2$s कर सकते हैं. करें <br/>"
272
+
273
+ #: admin/functions.php:96
274
+ msgid "Edit gallery"
275
+ msgstr "संपादन गैलरी"
276
+
277
+ #: admin/functions.php:127
278
+ msgid "doesn&#96;t exist!"
279
+ msgstr "मौजूद नहीं है!"
280
+
281
+ #: admin/functions.php:134
282
+ msgid "contains no pictures"
283
+ msgstr "कोई चित्र शामिल हैं"
284
+
285
+ #: admin/functions.php:152
286
+ msgid "Database error. Could not add gallery!"
287
+ msgstr "डेटाबेस त्रुटि. गैलरी को जोड़ नहीं सकता है!"
288
+
289
+ #: admin/functions.php:155
290
+ msgid "successfully created!"
291
+ msgstr "सफलतापूर्वक बनाया!"
292
+
293
+ #: admin/functions.php:184
294
+ #: admin/functions.php:525
295
+ #: admin/manage-images.php:212
296
+ #: admin/manage.php:137
297
+ msgid "Create new thumbnails"
298
+ msgstr "नई थंबनेल बनाएँ"
299
+
300
+ #: admin/functions.php:187
301
+ msgid " picture(s) successfully added"
302
+ msgstr "तस्वीर (ओं) को सफलतापूर्वक जोड़ा गया"
303
+
304
+ #: admin/functions.php:226
305
+ #: admin/functions.php:305
306
+ msgid "Object didn't contain correct data"
307
+ msgstr "वस्तु सही डेटा शामिल नहीं करता है"
308
+
309
+ #: admin/functions.php:231
310
+ msgid " is not writeable "
311
+ msgstr "लेखनीय नहीं है"
312
+
313
+ #: admin/functions.php:312
314
+ msgid " is not writeable"
315
+ msgstr "लेखनीय नहीं है"
316
+
317
+ #: admin/functions.php:461
318
+ #: admin/functions.php:566
319
+ msgid "Failure in database, no gallery path set !"
320
+ msgstr "डेटाबेस में विफलता, नहीं गैलरी पथ सेट!"
321
+
322
+ #: admin/functions.php:482
323
+ #: admin/functions.php:560
324
+ msgid "is no valid image file!"
325
+ msgstr "कोई नहीं मान्य छवि फ़ाइल है!"
326
+
327
+ #: admin/functions.php:496
328
+ #: admin/functions.php:666
329
+ #: admin/functions.php:734
330
+ #, php-format
331
+ msgid "Unable to write to directory %s. Is this directory writable by the server?"
332
+ msgstr "निर्देशिका%s को लिखने में असमर्थ. इस निर्देशिका सर्वर के द्वारा लिखने योग्य है?"
333
+
334
+ #: admin/functions.php:503
335
+ #: admin/functions.php:583
336
+ msgid "Error, the file could not moved to : "
337
+ msgstr "त्रुटि, फ़ाइल को नहीं ले जाया जा सकता है:"
338
+
339
+ #: admin/functions.php:508
340
+ #: admin/functions.php:587
341
+ msgid "Error, the file permissions could not set"
342
+ msgstr "त्रुटि, फ़ाइल को नहीं ले जाया जा सकता है:"
343
+
344
+ #: admin/functions.php:529
345
+ msgid " Image(s) successfully added"
346
+ msgstr "छवि (ओं) को सफलतापूर्वक जोड़ा गया"
347
+
348
+ #: admin/functions.php:548
349
+ msgid "Invalid upload. Error Code : "
350
+ msgstr "अमान्य अपलोड. त्रुटि कोड:"
351
+
352
+ #: admin/functions.php:613
353
+ #, php-format
354
+ msgid "SAFE MODE Restriction in effect! You need to create the folder <strong>%s</strong> manually"
355
+ msgstr "सुरक्षित मोड प्रभाव में प्रतिबंध! आपको फ़ोल्डर मैन्युअल बनाने की जरूरत है:<strong>%s</strong"
356
+
357
+ #: admin/functions.php:614
358
+ #, php-format
359
+ msgid "When safe_mode is on, PHP checks to see if the owner (%s) of the current script matches the owner (%s) of the file to be operated on by a file function or its directory"
360
+ msgstr "जब safe_mode पर है, PHP यदि वर्तमान स्क्रिप्ट के मालिक (%s) फ़ाइल के मालिक (%s) से मेल खाता है पर एक फ़ाइल समारोह या अपनी निर्देशिका के द्वारा संचालित किया जा देखने के लिए जाँच करता है"
361
+
362
+ #: admin/functions.php:660
363
+ #: admin/functions.php:728
364
+ msgid "The destination gallery does not exist"
365
+ msgstr "मंजिल गैलरी मौजूद नहीं है"
366
+
367
+ #: admin/functions.php:691
368
+ #, php-format
369
+ msgid "Failed to move image %1$s to %2$s"
370
+ msgstr "छवि को स्थानांतरित करने में विफल %1$s to %2$s"
371
+
372
+ #: admin/functions.php:709
373
+ #, php-format
374
+ msgid "Moved %1$s picture(s) to gallery : %2$s ."
375
+ msgstr "गैलरी तस्वीर (ओं): %1$s : %2$s ."
376
+
377
+ #: admin/functions.php:758
378
+ #, php-format
379
+ msgid "Failed to copy image %1$s to %2$s"
380
+ msgstr "छवि की प्रतिलिपि बनाने में विफल %1$s zu %2$s"
381
+
382
+ #: admin/functions.php:770
383
+ #, php-format
384
+ msgid "Failed to copy database row for picture %s"
385
+ msgstr "तस्वीर के लिए डेटाबेस पंक्ति की प्रतिलिपि बनाने में विफल %s"
386
+
387
+ #: admin/functions.php:775
388
+ #, php-format
389
+ msgid "Image %1$s (%2$s) copied as image %3$s (%4$s) &raquo; The file already existed in the destination gallery."
390
+ msgstr "छवि %1$s (%2$s) छवि के रूप में नकल %3$s (%4$s) &raquo; फ़ाइल गंतव्य गैलरी में पहले से ही अस्तित्व"
391
+
392
+ #: admin/functions.php:778
393
+ #, php-format
394
+ msgid "Image %1$s (%2$s) copied as image %3$s (%4$s)"
395
+ msgstr "छवि%1$s (%2$s)छवि के रूप में नकल %3$s (%4$s)"
396
+
397
+ #: admin/functions.php:787
398
+ #, php-format
399
+ msgid "Copied %1$s picture(s) to gallery: %2$s ."
400
+ msgstr "%1$s चित्र गैलरी की नकल की है: %2$s ."
401
+
402
+ #: admin/manage-galleries.php:19
403
+ #: admin/manage-images.php:39
404
+ msgid "&laquo;"
405
+ msgstr "&laquo;"
406
+
407
+ #: admin/manage-galleries.php:20
408
+ #: admin/manage-images.php:40
409
+ msgid "&raquo;"
410
+ msgstr "&raquo;"
411
+
412
+ #: admin/manage-galleries.php:27
413
+ msgid "Gallery Overview"
414
+ msgstr "गैलरी अवलोकन"
415
+
416
+ #: admin/manage-galleries.php:30
417
+ #: admin/manage-images.php:202
418
+ #, php-format
419
+ msgid "Displaying %s&#8211;%s of %s"
420
+ msgstr "प्रदर्शित %s&#8211;%s of %s"
421
+
422
+ #: admin/manage-galleries.php:42
423
+ #: admin/manage-images.php:234
424
+ #: admin/manage-images.php:243
425
+ #: admin/manage-sort.php:98
426
+ #: admin/manage-sort.php:107
427
+ msgid "ID"
428
+ msgstr "आईडी"
429
+
430
+ #: admin/manage-galleries.php:43
431
+ #: admin/manage-images.php:165
432
+ #: lib/meta.php:338
433
+ msgid "Title"
434
+ msgstr "शीर्षक"
435
+
436
+ #: admin/manage-galleries.php:44
437
+ #: admin/manage-images.php:169
438
+ #: admin/media-upload.php:185
439
+ #: admin/skins.php:324
440
+ #: admin/skins.php:332
441
+ msgid "Description"
442
+ msgstr "विवरण"
443
+
444
+ #: admin/manage-galleries.php:45
445
+ #: admin/manage-images.php:177
446
+ #: lib/meta.php:339
447
+ msgid "Author"
448
+ msgstr "लेखक"
449
+
450
+ #: admin/manage-galleries.php:46
451
+ msgid "Quantity"
452
+ msgstr "मात्रा"
453
+
454
+ #: admin/manage-galleries.php:47
455
+ #: admin/skins.php:23
456
+ #: admin/skins.php:325
457
+ #: admin/skins.php:333
458
+ msgid "Action"
459
+ msgstr "कार्रवाई"
460
+
461
+ #: admin/manage-galleries.php:67
462
+ msgid "Edit"
463
+ msgstr "संपादित करें"
464
+
465
+ #: admin/manage-galleries.php:76
466
+ msgid "Delete this gallery ?"
467
+ msgstr "इस गैलरी को हटाएँ?"
468
+
469
+ #: admin/manage-galleries.php:76
470
+ #: admin/manage-images.php:293
471
+ #: admin/skins.php:383
472
+ msgid "Delete"
473
+ msgstr "हटाना"
474
+
475
+ #: admin/manage-galleries.php:83
476
+ #: admin/manage-images.php:313
477
+ #: admin/manage-sort.php:139
478
+ msgid "No entries found"
479
+ msgstr "कोई प्रविष्टियां नहीं पाया गया"
480
+
481
+ #: admin/manage-images.php:16
482
+ msgid "Gallery not found."
483
+ msgstr "गैलरी नहीं मिला."
484
+
485
+ #: admin/manage-images.php:22
486
+ msgid "Sorry, you have no access here"
487
+ msgstr "क्षमा करें, आप यहाँ पहुँच नहीं है"
488
+
489
+ #: admin/manage-images.php:107
490
+ msgid "No images selected"
491
+ msgstr "चयनित छवियों नहीं है "
492
+
493
+ #: admin/manage-images.php:121
494
+ #, php-format
495
+ msgid ""
496
+ "You are about to start the bulk edit for %s images \n"
497
+ " \n"
498
+ " 'Cancel' to stop, 'OK' to proceed."
499
+ msgstr ""
500
+ "आपको थोक संपादित करने के लिए %s छवियों के शुरू करने के बारे में हैं \n"
501
+ " \n"
502
+ "'रद्द करें' बंद करो, 'ठीक' आगे बढ़ने के लिए."
503
+
504
+ #: admin/manage-images.php:141
505
+ msgid "Choose another gallery"
506
+ msgstr "एक और गैलरी चुनें"
507
+
508
+ #: admin/manage-images.php:161
509
+ msgid "Gallery settings"
510
+ msgstr "गैलरी सेटिंग्स"
511
+
512
+ #: admin/manage-images.php:173
513
+ msgid "Path"
514
+ msgstr "पथ"
515
+
516
+ #: admin/manage-images.php:191
517
+ msgid "Scan Folder for new images"
518
+ msgstr "नए चित्रों के लिए फ़ोल्डर स्कैन"
519
+
520
+ #: admin/manage-images.php:192
521
+ #: admin/manage-images.php:225
522
+ #: admin/manage-images.php:319
523
+ #: admin/settings.php:100
524
+ #: admin/settings.php:133
525
+ #: admin/settings.php:157
526
+ #: admin/settings.php:187
527
+ #: admin/settings.php:313
528
+ msgid "Save Changes"
529
+ msgstr "परिवर्तन सहेजें"
530
+
531
+ #: admin/manage-images.php:211
532
+ msgid "No action"
533
+ msgstr "कोई कार्रवाई नहीं"
534
+
535
+ #: admin/manage-images.php:213
536
+ #: admin/manage.php:141
537
+ msgid "Resize images"
538
+ msgstr "छवियों का आकार"
539
+
540
+ #: admin/manage-images.php:214
541
+ msgid "Delete images"
542
+ msgstr "छवियाँ हटाएँ"
543
+
544
+ #: admin/manage-images.php:215
545
+ msgid "Import metadata"
546
+ msgstr "आयात मेटाडेटा"
547
+
548
+ #: admin/manage-images.php:216
549
+ msgid "Copy to..."
550
+ msgstr "कॉपी ..."
551
+
552
+ #: admin/manage-images.php:217
553
+ msgid "Move to..."
554
+ msgstr "यहां ले जाएं ..."
555
+
556
+ #: admin/manage-images.php:219
557
+ #: admin/manage-images.php:349
558
+ msgid "OK"
559
+ msgstr "ठीक है"
560
+
561
+ #: admin/manage-images.php:221
562
+ msgid "Sort gallery"
563
+ msgstr "क्रमबद्ध गैलरी"
564
+
565
+ #: admin/manage-images.php:223
566
+ msgid "Add Images"
567
+ msgstr "छवियाँ जोड़ें"
568
+
569
+ #: admin/manage-images.php:235
570
+ #: admin/manage-images.php:244
571
+ #: admin/media-upload.php:206
572
+ msgid "Thumbnail"
573
+ msgstr "थंबनेल"
574
+
575
+ #: admin/manage-images.php:236
576
+ #: admin/manage-images.php:245
577
+ msgid "Filename / Date"
578
+ msgstr "फ़ाइलनाम /तिथि "
579
+
580
+ #: admin/manage-images.php:237
581
+ #: admin/manage-images.php:246
582
+ msgid "Alt & Title Text / Description"
583
+ msgstr "ऑल्ट और शीर्षक पाठ / विवरण "
584
+
585
+ #: admin/manage-images.php:286
586
+ msgid "Size: "
587
+ msgstr "आकार:"
588
+
589
+ #: admin/manage-images.php:291
590
+ #, php-format
591
+ msgid "View \"%s\""
592
+ msgstr "देखना \"%s\""
593
+
594
+ #: admin/manage-images.php:291
595
+ msgid "View"
596
+ msgstr "देखना"
597
+
598
+ #: admin/manage-images.php:292
599
+ msgid "Customize thumbnail"
600
+ msgstr "थंबनेल अनुकूलित"
601
+
602
+ #: admin/manage-images.php:292
603
+ msgid "Edit thumb"
604
+ msgstr "अंगूठे संपादित करें"
605
+
606
+ #: admin/manage-images.php:293
607
+ #: admin/skins.php:383
608
+ #, php-format
609
+ msgid "Delete \"%s\""
610
+ msgstr "हटाना \"%s\""
611
+
612
+ #: admin/manage-images.php:333
613
+ msgid "Select the destination gallery:"
614
+ msgstr "चुनें मंजिल गैलरी:"
615
+
616
+ #: admin/manage-images.php:351
617
+ msgid "Cancel"
618
+ msgstr "रद्द करना"
619
+
620
+ #: admin/manage-sort.php:31
621
+ msgid "Sort order changed"
622
+ msgstr "सॉर्ट क्रम परिवर्तित"
623
+
624
+ #: admin/manage-sort.php:54
625
+ msgid "Sort Gallery"
626
+ msgstr "क्रमबद्ध गैलरी"
627
+
628
+ #: admin/manage-sort.php:58
629
+ #: admin/manage-sort.php:145
630
+ msgid "Update Sort Order"
631
+ msgstr "अपडेट सॉर्ट क्रम"
632
+
633
+ #: admin/manage-sort.php:99
634
+ #: admin/manage-sort.php:108
635
+ msgid "Thumb"
636
+ msgstr "अंगूठा"
637
+
638
+ #: admin/manage-sort.php:100
639
+ #: admin/manage-sort.php:109
640
+ msgid "Filename"
641
+ msgstr "फ़ाइलनाम"
642
+
643
+ #: admin/manage-sort.php:101
644
+ #: admin/manage-sort.php:110
645
+ msgid "Date"
646
+ msgstr "तारीख"
647
+
648
+ #: admin/manage-sort.php:102
649
+ #: admin/manage-sort.php:111
650
+ msgid "Alt &amp; Title Text"
651
+ msgstr "Alt और शीर्षक पाठ"
652
+
653
+ #: admin/manage.php:42
654
+ #: admin/manage_thumbnail.php:17
655
+ #: admin/manage_thumbnail.php:20
656
+ msgid "Cheatin&#8217; uh?"
657
+ msgstr "Cheatin&#8217; uh?"
658
+
659
+ #: admin/manage.php:89
660
+ #: admin/manage.php:111
661
+ #: admin/skins.php:226
662
+ msgid "deleted successfully"
663
+ msgstr "सफलतापूर्वक नष्ट कर दिया"
664
+
665
+ #: admin/manage.php:111
666
+ msgid "Picture"
667
+ msgstr "चित्र"
668
+
669
+ #: admin/manage.php:158
670
+ msgid "Pictures deleted successfully "
671
+ msgstr "सफलतापूर्वक नष्ट कर दिया चित्र"
672
+
673
+ #: admin/manage.php:164
674
+ msgid "Import metadata finished"
675
+ msgstr "आयात मेटाडाटा समाप्त"
676
+
677
+ #: admin/manage.php:172
678
+ msgid "Operation successful. Please clear your browser cache."
679
+ msgstr "सफल ऑपरेशन. कृपया स्पष्ट आपके ब्राउज़र cache.Import मेटाडाटा समाप्त"
680
+
681
+ #: admin/manage.php:216
682
+ msgid "Update successful"
683
+ msgstr "सफल अपडेट"
684
+
685
+ #: admin/manage_thumbnail.php:114
686
+ msgid "Select with the mouse the area for the new thumbnail."
687
+ msgstr "माउस के साथ नई झलक के लिए क्षेत्र का चयन करें."
688
+
689
+ #: admin/manage_thumbnail.php:128
690
+ msgid "Thumbnail updated"
691
+ msgstr "थंबनेल अपडेट"
692
+
693
+ #: admin/manage_thumbnail.php:133
694
+ msgid "Error updating thumbnail."
695
+ msgstr "अद्यतन त्रुटि थंबनेल."
696
+
697
+ #: admin/manage_thumbnail.php:150
698
+ msgid "Select the area for the thumbnail from the picture on the left."
699
+ msgstr "क्षेत्र के लिए बाईं तरफ के चित्र से थंबनेल का चयन करें."
700
+
701
+ #: admin/manage_thumbnail.php:165
702
+ msgid "Update"
703
+ msgstr "अपडेट"
704
+
705
+ #: admin/media-upload.php:9
706
+ msgid "FlAG Gallery"
707
+ msgstr "फ्लैग गैलरी"
708
+
709
+ #: admin/media-upload.php:126
710
+ msgid "No gallery"
711
+ msgstr " गैलरी नहीं है"
712
+
713
+ #: admin/media-upload.php:138
714
+ msgid "Select &#187;"
715
+ msgstr "चयन&#187;"
716
+
717
+ #: admin/media-upload.php:169
718
+ msgid "Show"
719
+ msgstr "दिखाना"
720
+
721
+ #: admin/media-upload.php:170
722
+ msgid "Hide"
723
+ msgstr "छिपाना"
724
+
725
+ #: admin/media-upload.php:175
726
+ msgid "Image ID:"
727
+ msgstr "छवि आईडी:"
728
+
729
+ #: admin/media-upload.php:181
730
+ msgid "Alt/Title text"
731
+ msgstr "ऑल्ट / शीर्षक पाठ"
732
+
733
+ #: admin/media-upload.php:189
734
+ msgid "Alignment"
735
+ msgstr "संरेखण"
736
+
737
+ #: admin/media-upload.php:192
738
+ msgid "None"
739
+ msgstr "कोई नहीं"
740
+
741
+ #: admin/media-upload.php:194
742
+ msgid "Left"
743
+ msgstr "बाएं"
744
+
745
+ #: admin/media-upload.php:196
746
+ msgid "Center"
747
+ msgstr "केंद्र"
748
+
749
+ #: admin/media-upload.php:198
750
+ msgid "Right"
751
+ msgstr "सही"
752
+
753
+ #: admin/media-upload.php:202
754
+ msgid "Size"
755
+ msgstr "आकार"
756
+
757
+ #: admin/media-upload.php:208
758
+ msgid "Full size"
759
+ msgstr "पूर्ण आकार"
760
+
761
+ #: admin/media-upload.php:216
762
+ msgid "Insert into Post"
763
+ msgstr "पोस्ट में सम्मिलित करें"
764
+
765
+ #: admin/media-upload.php:226
766
+ msgid "Save all changes"
767
+ msgstr "परिवर्तन सहेजें"
768
+
769
+ #: admin/overview.php:13
770
+ msgid "FlAG Gallery Overview"
771
+ msgstr "फ्लैग गैलरी अवलोकन"
772
+
773
+ #: admin/overview.php:106
774
+ msgid "Reset all settings to default parameter"
775
+ msgstr "डिफ़ॉल्ट पैरामीटर के लिए सभी सेटिंग्स रीसेट करें"
776
+
777
+ #: admin/overview.php:117
778
+ msgid "Uninstall sucessful ! Now delete the plugin and enjoy your life ! Good luck !"
779
+ msgstr "सफल स्थापना रद्द करें! अब प्लगइन हटा सकते हैं और अपने जीवन का आनंद! सौभाग्य!"
780
+
781
+ #: admin/overview.php:125
782
+ msgid "Plugin Home"
783
+ msgstr "प्लगइन होम"
784
+
785
+ #: admin/overview.php:130
786
+ msgid "Plugin Comments"
787
+ msgstr "प्लगइन टिप्पणियाँ"
788
+
789
+ #: admin/overview.php:135
790
+ msgid "Rate Plugin"
791
+ msgstr "मूल्यांकन प्लगइन"
792
+
793
+ #: admin/overview.php:140
794
+ msgid "My Plugins"
795
+ msgstr "मेरे प्लगइन्स"
796
+
797
+ #: admin/overview.php:145
798
+ msgid "Contact Me"
799
+ msgstr "संपर्क Me"
800
+
801
+ #: admin/overview.php:155
802
+ msgid "Reset settings"
803
+ msgstr "सेटिंग्स रीसेट"
804
+
805
+ #: admin/overview.php:155
806
+ msgid ""
807
+ "Reset all options to default settings ?\\n"
808
+ "\\n"
809
+ "Choose [Cancel] to Stop, [OK] to proceed.\\n"
810
+ msgstr ""
811
+ "डिफ़ॉल्ट सेटिंग्स करने के लिए सभी विकल्पों को रीसेट?\\n"
812
+ "\\n"
813
+ "चुनें [रद्द करें] बंद करो, [ठीक] आगे बढ़ने के लिए..\\n"
814
+
815
+ #: admin/overview.php:158
816
+ msgid "Uninstall plugin"
817
+ msgstr "प्लगइन स्थापना रद्द करें"
818
+
819
+ #: admin/overview.php:158
820
+ msgid ""
821
+ "You are about to Uninstall this plugin from WordPress.\\n"
822
+ "This action is not reversible.\\n"
823
+ "\\n"
824
+ "Choose [Cancel] to Stop, [OK] to Uninstall.\\n"
825
+ msgstr ""
826
+ "आप के लिए WordPress से इस प्लगइन की स्थापना रद्द करें के बारे में हैं..\\n"
827
+ "यह कार्रवाई पलटवाँ नहीं है.\\n"
828
+ "\\n"
829
+ "चुनें [रद्द करें] बंद करो, [ठीक] स्थापना रद्द करें.\\n"
830
+
831
+ #: admin/overview.php:184
832
+ msgid "What's new at PhotoGalleryCreator.com"
833
+ msgstr "क्या PhotoGalleryCreator.com में नया क्या है"
834
+
835
+ #: admin/overview.php:208
836
+ msgid "At a Glance"
837
+ msgstr "एक नजर में"
838
+
839
+ #: admin/overview.php:214
840
+ msgid "Image"
841
+ msgstr "छवि"
842
+
843
+ #: admin/overview.php:229
844
+ msgid "Upload pictures"
845
+ msgstr "तस्वीरें अपलोड"
846
+
847
+ #: admin/overview.php:230
848
+ msgid "Here you can control your images and galleries."
849
+ msgstr "यहाँ आप अपने चित्रों और दीर्घाओं को नियंत्रित कर सकते हैं."
850
+
851
+ #: admin/overview.php:232
852
+ msgid "Gallery Administrator"
853
+ msgstr "गैलरी प्रशासक"
854
+
855
+ #: admin/overview.php:232
856
+ msgid "Gallery Editor"
857
+ msgstr "गैलरी संपादक"
858
+
859
+ #: admin/overview.php:233
860
+ #, php-format
861
+ msgid "You currently have %s rights."
862
+ msgstr "आप के वर्तमान में%s अधिकार है."
863
+
864
+ #: admin/overview.php:239
865
+ msgid "Setup Box"
866
+ msgstr "सेटअप बॉक्स"
867
+
868
+ #: admin/overview.php:240
869
+ msgid "News Box"
870
+ msgstr "समाचार बॉक्स"
871
+
872
+ #: admin/overview.php:241
873
+ msgid "Welcome to FlAG Gallery !"
874
+ msgstr "फ्लैग गैलरी में आपका स्वागत है!"
875
+
876
+ #: admin/overview.php:242
877
+ msgid "Server Settings"
878
+ msgstr "सर्वर सेटिंग्स"
879
+
880
+ #: admin/overview.php:243
881
+ msgid "Graphic Library"
882
+ msgstr "ग्राफिक लाइब्रेरी"
883
+
884
+ #: admin/overview.php:259
885
+ msgid "No GD support"
886
+ msgstr "जी.डी. समर्थननहीं है"
887
+
888
+ #: admin/overview.php:266
889
+ #: admin/overview.php:295
890
+ #: admin/overview.php:297
891
+ #: admin/overview.php:299
892
+ msgid "Yes"
893
+ msgstr "हां"
894
+
895
+ #: admin/overview.php:268
896
+ #: admin/overview.php:295
897
+ #: admin/overview.php:297
898
+ #: admin/overview.php:299
899
+ msgid "No"
900
+ msgstr "नहीं है"
901
+
902
+ #: admin/overview.php:279
903
+ msgid "Not set"
904
+ msgstr "सेट नहीं है"
905
+
906
+ #: admin/overview.php:281
907
+ #: admin/overview.php:283
908
+ msgid "On"
909
+ msgstr "पर"
910
+
911
+ #: admin/overview.php:281
912
+ #: admin/overview.php:283
913
+ msgid "Off"
914
+ msgstr "बंद"
915
+
916
+ #: admin/overview.php:285
917
+ #: admin/overview.php:287
918
+ #: admin/overview.php:289
919
+ #: admin/overview.php:291
920
+ #: admin/overview.php:293
921
+ msgid "N/A"
922
+ msgstr "N/A"
923
+
924
+ #: admin/overview.php:293
925
+ msgid " MByte"
926
+ msgstr " MByte"
927
+
928
+ #: admin/overview.php:302
929
+ msgid "Operating System"
930
+ msgstr "ऑपरेटिंग सिस्टम"
931
+
932
+ #: admin/overview.php:303
933
+ msgid "Server"
934
+ msgstr "सर्वर"
935
+
936
+ #: admin/overview.php:304
937
+ msgid "Memory usage"
938
+ msgstr "स्मृति के उपयोग"
939
+
940
+ #: admin/overview.php:305
941
+ msgid "MYSQL Version"
942
+ msgstr "MYSQL संस्करण"
943
+
944
+ #: admin/overview.php:306
945
+ msgid "SQL Mode"
946
+ msgstr "एसक्यूएल मोड"
947
+
948
+ #: admin/overview.php:307
949
+ msgid "PHP Version"
950
+ msgstr "PHP संस्करण"
951
+
952
+ #: admin/overview.php:308
953
+ msgid "PHP Safe Mode"
954
+ msgstr "PHP सुरक्षित मोड"
955
+
956
+ #: admin/overview.php:309
957
+ msgid "PHP Allow URL fopen"
958
+ msgstr "PHP यूआरएल fopen की अनुमति दें"
959
+
960
+ #: admin/overview.php:310
961
+ msgid "PHP Memory Limit"
962
+ msgstr "PHP मेमोरी सीमा"
963
+
964
+ #: admin/overview.php:311
965
+ msgid "PHP Max Upload Size"
966
+ msgstr "PHP अधिकतम अपलोड आकार"
967
+
968
+ #: admin/overview.php:312
969
+ msgid "PHP Max Post Size"
970
+ msgstr "PHP अधिकतम पोस्ट का आकार"
971
+
972
+ #: admin/overview.php:313
973
+ msgid "PHP Max Script Execute Time"
974
+ msgstr "PHP अधिकतम स्क्रिप्ट निष्पादित समय"
975
+
976
+ #: admin/overview.php:314
977
+ msgid "PHP Exif support"
978
+ msgstr "PHP के Exif समर्थन"
979
+
980
+ #: admin/overview.php:315
981
+ msgid "PHP IPTC support"
982
+ msgstr "PHP आईपीटीसी समर्थन"
983
+
984
+ #: admin/overview.php:316
985
+ msgid "PHP XML support"
986
+ msgstr "PHP XML समर्थन"
987
+
988
+ #: admin/settings.php:32
989
+ msgid "Update Successfully"
990
+ msgstr "सफलतापूर्वक अपडेट"
991
+
992
+ #: admin/settings.php:50
993
+ msgid "Updated capabilities"
994
+ msgstr "क्षमता अपडेट"
995
+
996
+ #: admin/settings.php:61
997
+ #: admin/settings.php:74
998
+ msgid "General Options"
999
+ msgstr "सामान्य विकल्प"
1000
+
1001
+ #: admin/settings.php:62
1002
+ msgid "Thumbnails"
1003
+ msgstr "थंबनेल"
1004
+
1005
+ #: admin/settings.php:63
1006
+ msgid "Images"
1007
+ msgstr "छवियाँ"
1008
+
1009
+ #: admin/settings.php:64
1010
+ #: admin/settings.php:164
1011
+ msgid "Sorting"
1012
+ msgstr "छँटाई"
1013
+
1014
+ #: admin/settings.php:66
1015
+ #: admin/settings.php:223
1016
+ msgid "Colors"
1017
+ msgstr "रंग"
1018
+
1019
+ #: admin/settings.php:68
1020
+ msgid "Roles"
1021
+ msgstr "भूमिकाएँ"
1022
+
1023
+ #: admin/settings.php:80
1024
+ msgid "Gallery path"
1025
+ msgstr "गैलरी पथ"
1026
+
1027
+ #: admin/settings.php:82
1028
+ msgid "This is the default path for all galleries"
1029
+ msgstr "इस सभी दीर्घाओं लिए डिफ़ॉल्ट पथ है"
1030
+
1031
+ #: admin/settings.php:85
1032
+ msgid "Default flash size (W x H)"
1033
+ msgstr "डिफ़ॉल्ट फ़्लैश आकार (डब्ल्यू X एच)"
1034
+
1035
+ #: admin/settings.php:90
1036
+ msgid "Delete image files"
1037
+ msgstr "छवि फ़ाइलों को हटाएँ"
1038
+
1039
+ #: admin/settings.php:92
1040
+ msgid "Delete files, when removing a gallery in the database"
1041
+ msgstr "फ़ाइलें हटाएँ, जब डेटाबेस में एक गैलरी हटाने"
1042
+
1043
+ #: admin/settings.php:95
1044
+ msgid "Activate Media RSS feed"
1045
+ msgstr "Activate Media RSS feed"
1046
+
1047
+ #: admin/settings.php:97
1048
+ msgid "A RSS feed will be added to you blog header."
1049
+ msgstr "एक आरएसएस फ़ीड करने के लिए आप शीर्ष लेख ब्लॉग जोड़ दिया जाएगा."
1050
+
1051
+ #: admin/settings.php:107
1052
+ msgid "Thumbnail settings"
1053
+ msgstr "थंबनेल सेटिंग्स"
1054
+
1055
+ #: admin/settings.php:111
1056
+ msgid "Please note : If you change the settings, you need to recreate the thumbnails under -> Manage Gallery ."
1057
+ msgstr "कृपया ध्यान दें: यदि आप सेटिंग्स बदलते हैं, आप के तहत थंबनेल विश्राम की जरूरत -> गैलरी प्रबंधित."
1058
+
1059
+ #: admin/settings.php:114
1060
+ msgid "Width x Height (in pixel)"
1061
+ msgstr "चौड़ाई x ऊँचाई (पिक्सेल में)"
1062
+
1063
+ #: admin/settings.php:116
1064
+ msgid "These values are maximum values "
1065
+ msgstr "ये मान अधिकतम मान रहे हैं"
1066
+
1067
+ #: admin/settings.php:119
1068
+ msgid "Set fix dimension"
1069
+ msgstr "तय आयाम सेट"
1070
+
1071
+ #: admin/settings.php:121
1072
+ msgid "Ignore the aspect ratio, no portrait thumbnails"
1073
+ msgstr "पहलू अनुपात, कोई चित्र थंबनेल पर ध्यान न दें"
1074
+
1075
+ #: admin/settings.php:124
1076
+ msgid "Crop square thumbnail from image"
1077
+ msgstr "फसल वर्ग थंबनेल छवि"
1078
+
1079
+ #: admin/settings.php:126
1080
+ msgid "Create square thumbnails, use only the width setting :"
1081
+ msgstr "वर्ग थंबनेल बनाएँ, केवल चौड़ाई सेटिंग का उपयोग करें:"
1082
+
1083
+ #: admin/settings.php:129
1084
+ msgid "Thumbnail quality"
1085
+ msgstr "थंबनेल गुणवत्ता"
1086
+
1087
+ #: admin/settings.php:140
1088
+ msgid "Image settings"
1089
+ msgstr "छवि सेटिंग्स"
1090
+
1091
+ #: admin/settings.php:146
1092
+ msgid "Resize Images"
1093
+ msgstr "छवियों का आकार"
1094
+
1095
+ #: admin/settings.php:149
1096
+ msgid "Width x Height (in pixel). Flash Album Gallery will keep ratio size"
1097
+ msgstr "चौड़ाई x ऊँचाई (पिक्सेल में). फ्लैश एल्बम गैलरी अनुपात आकार रखेंगे"
1098
+
1099
+ #: admin/settings.php:152
1100
+ msgid "Image quality"
1101
+ msgstr "Image quality"
1102
+
1103
+ #: admin/settings.php:168
1104
+ msgid "Sort options"
1105
+ msgstr "सॉर्ट विकल्प"
1106
+
1107
+ #: admin/settings.php:171
1108
+ msgid "Sort thumbnails"
1109
+ msgstr "क्रमबद्ध थंबनेल"
1110
+
1111
+ #: admin/settings.php:173
1112
+ msgid "Custom order"
1113
+ msgstr "कस्टम आदेश"
1114
+
1115
+ #: admin/settings.php:174
1116
+ msgid "Image ID"
1117
+ msgstr "छवि आईडी"
1118
+
1119
+ #: admin/settings.php:175
1120
+ msgid "File name"
1121
+ msgstr "फ़ाइल नाम"
1122
+
1123
+ #: admin/settings.php:176
1124
+ msgid "Alt / Title text"
1125
+ msgstr "ऑल्ट / शीर्षक पाठ"
1126
+
1127
+ #: admin/settings.php:177
1128
+ msgid "Date / Time"
1129
+ msgstr "दिनांक / समय"
1130
+
1131
+ #: admin/settings.php:181
1132
+ msgid "Sort direction"
1133
+ msgstr "अनुक्रम दिशा"
1134
+
1135
+ #: admin/settings.php:182
1136
+ msgid "Ascending"
1137
+ msgstr "आरोही"
1138
+
1139
+ #: admin/settings.php:183
1140
+ msgid "Descending"
1141
+ msgstr "अवरोही"
1142
+
1143
+ #: admin/settings.php:227
1144
+ msgid "Background Color"
1145
+ msgstr "पृष्ठभूमि का रंग"
1146
+
1147
+ #: admin/settings.php:233
1148
+ msgid "Buttons Background Color"
1149
+ msgstr "बटन पृष्ठभूमि रंग"
1150
+
1151
+ #: admin/settings.php:239
1152
+ msgid "Buttons Text Color"
1153
+ msgstr "बटन पाठ रंग"
1154
+
1155
+ #: admin/settings.php:250
1156
+ msgid "Category Buttons Color"
1157
+ msgstr "श्रेणी बटन रंग"
1158
+
1159
+ #: admin/settings.php:261
1160
+ msgid "Category Buttons Text Color"
1161
+ msgstr "श्रेणी बटन पाठ का रंग"
1162
+
1163
+ #: admin/settings.php:272
1164
+ msgid "Thumbs Rollover Color"
1165
+ msgstr "अच्छा रोल ओवर का रंग"
1166
+
1167
+ #: admin/settings.php:283
1168
+ msgid "Main Title"
1169
+ msgstr "मुख्य शीर्षक"
1170
+
1171
+ #: admin/settings.php:289
1172
+ msgid "Category Title"
1173
+ msgstr "शीर्षक"
1174
+
1175
+ #: admin/settings.php:295
1176
+ msgid "Item Background"
1177
+ msgstr "आइटम पृष्ठभूमि"
1178
+
1179
+ #: admin/settings.php:301
1180
+ msgid "Item Title"
1181
+ msgstr "लेख का शीर्षक"
1182
+
1183
+ #: admin/settings.php:307
1184
+ msgid "Item Description"
1185
+ msgstr "आइटम विवरण"
1186
+
1187
+ #: admin/settings.php:322
1188
+ msgid "Roles / capabilities"
1189
+ msgstr "भूमिकाएँ / क्षमताओं "
1190
+
1191
+ #: admin/settings.php:323
1192
+ msgid "Select the lowest role which should be able to access the follow capabilities. Flash Album Gallery supports the standard roles from WordPress."
1193
+ msgstr "सबसे कम भूमिका जो पालन क्षमताओं का उपयोग करने में सक्षम होना चाहिए. फ्लैश एल्बम गैलरी WordPress से मानक भूमिका का समर्थन करता है."
1194
+
1195
+ #: admin/settings.php:326
1196
+ msgid "Main Flash Album Gallery overview"
1197
+ msgstr "मुख्य फ़्लैश एल्बम गैलरी सिंहावलोकन"
1198
+
1199
+ #: admin/settings.php:330
1200
+ msgid "Use TinyMCE Button / Upload tab"
1201
+ msgstr "TinyMCE बटन का प्रयोग करें / अपलोड टैब"
1202
+
1203
+ #: admin/settings.php:334
1204
+ msgid "Add gallery / Upload images"
1205
+ msgstr "गैलरी जोड़ें / अपलोड"
1206
+
1207
+ #: admin/settings.php:338
1208
+ msgid "Manage gallery"
1209
+ msgstr "गैलरी प्रबंधित करें"
1210
+
1211
+ #: admin/settings.php:342
1212
+ msgid "Manage others gallery"
1213
+ msgstr "अन्य लोगों गैलरी प्रबंधित करें"
1214
+
1215
+ #: admin/settings.php:346
1216
+ msgid "Change skin"
1217
+ msgstr "त्वचा बदलें"
1218
+
1219
+ #: admin/settings.php:350
1220
+ msgid "Add skins"
1221
+ msgstr "खाल में जोड़ें"
1222
+
1223
+ #: admin/settings.php:354
1224
+ msgid "Delete skins"
1225
+ msgstr "खाल हटाएँ"
1226
+
1227
+ #: admin/settings.php:358
1228
+ msgid "Change options"
1229
+ msgstr "विकल्प बदलें"
1230
+
1231
+ #: admin/settings.php:362
1232
+ msgid "Update capabilities"
1233
+ msgstr "क्षमता अपडेट"
1234
+
1235
+ #: admin/skins.php:20
1236
+ #: admin/skins.php:28
1237
+ msgid "Add new skin"
1238
+ msgstr "नई त्वचा जोड़ें"
1239
+
1240
+ #: admin/skins.php:21
1241
+ msgid "Want more skins?"
1242
+ msgstr "अधिक खाल चाहते हैं?"
1243
+
1244
+ #: admin/skins.php:29
1245
+ msgid "Install a skin in .zip format"
1246
+ msgstr ". ज़िप प्रारूप में एक त्वचा स्थापित"
1247
+
1248
+ #: admin/skins.php:30
1249
+ msgid "If you have a skin in a .zip format, You may install it by uploading it here."
1250
+ msgstr "यदि आप एक ज़िप. प्रारूप में एक त्वचा है, तो आप इसे यहाँ अपलोड करके स्थापित कर सकते हैं."
1251
+
1252
+ #: admin/skins.php:34
1253
+ msgid "Install Now"
1254
+ msgstr "अभी संस्थापित"
1255
+
1256
+ #: admin/skins.php:39
1257
+ msgid "More skins"
1258
+ msgstr "अधिक खाल"
1259
+
1260
+ #: admin/skins.php:40
1261
+ msgid "If you want more skins, You may get it at."
1262
+ msgstr "यदि आप अधिक खाल चाहते हैं, तो आप इसे पर मिल सकता है."
1263
+
1264
+ #: admin/skins.php:47
1265
+ msgid "Install info"
1266
+ msgstr "स्थापित जानकारी"
1267
+
1268
+ #: admin/skins.php:58
1269
+ #: admin/skins.php:88
1270
+ msgid "No skin Specified"
1271
+ msgstr "विनिर्दिष्ट त्वचा नहीं"
1272
+
1273
+ #: admin/skins.php:61
1274
+ #, php-format
1275
+ msgid "Installing Skin from file: %s"
1276
+ msgstr "फ़ाइल से त्वचा का अधिष्ठापनi: %s"
1277
+
1278
+ #: admin/skins.php:70
1279
+ #, php-format
1280
+ msgid "The uploaded file could not be moved to %s."
1281
+ msgstr "अपलोड की गई फाईल%s को स्थानांतरित नहीं किया जा सकता है."
1282
+
1283
+ #: admin/skins.php:117
1284
+ msgid "Installation Failed"
1285
+ msgstr "स्थापना में विफल"
1286
+
1287
+ #: admin/skins.php:119
1288
+ msgid "The skin installed successfully."
1289
+ msgstr "त्वचा सफलतापूर्वक स्थापित है"
1290
+
1291
+ #: admin/skins.php:122
1292
+ #: admin/skins.php:369
1293
+ msgid "Activate this skin"
1294
+ msgstr "यह त्वचा को सक्रिय करें"
1295
+
1296
+ #: admin/skins.php:122
1297
+ msgid "Activate Skin"
1298
+ msgstr "त्वचा सक्रिय"
1299
+
1300
+ #: admin/skins.php:123
1301
+ msgid "Goto skin overview"
1302
+ msgstr "Goto त्वचा अवलोकन"
1303
+
1304
+ #: admin/skins.php:123
1305
+ msgid "Skin overview"
1306
+ msgstr "त्वचा अवलोकन"
1307
+
1308
+ #: admin/skins.php:126
1309
+ msgid "Actions:"
1310
+ msgstr "क्रिया:"
1311
+
1312
+ #: admin/skins.php:145
1313
+ msgid "Could not access filesystem."
1314
+ msgstr "फाइलसिस्टम का उपयोग नहीं किया जा सका."
1315
+
1316
+ #: admin/skins.php:148
1317
+ msgid "Filesystem error"
1318
+ msgstr "फाइलसिस्टम त्रुटि"
1319
+
1320
+ #: admin/skins.php:154
1321
+ msgid "Unable to locate FlAGallery Skin directory."
1322
+ msgstr "FlAGallery त्वचा निर्देशिका का पता लगाने में असमर्थ है."
1323
+
1324
+ #: admin/skins.php:159
1325
+ msgid "Unable to locate WordPress Content directory (wp-content)."
1326
+ msgstr "WordPress सामग्री निर्देशिका (wp-सामग्री) का पता लगाने में असमर्थ है."
1327
+
1328
+ #: admin/skins.php:165
1329
+ msgid "Install package not available."
1330
+ msgstr "उपलब्ध पैकेज नहीं स्थापित करें."
1331
+
1332
+ #: admin/skins.php:173
1333
+ msgid "Unpacking the skin package"
1334
+ msgstr "त्वचा पैकेज unpacking"
1335
+
1336
+ #: admin/skins.php:190
1337
+ msgid "Folder already exists."
1338
+ msgstr "फोल्डर पहले से मौजूद है."
1339
+
1340
+ #: admin/skins.php:193
1341
+ msgid "Installing the skin"
1342
+ msgstr "त्वचा का अधिष्ठापन"
1343
+
1344
+ #: admin/skins.php:226
1345
+ #: admin/skins.php:281
1346
+ #: admin/skins.php:323
1347
+ #: admin/skins.php:331
1348
+ msgid "Skin"
1349
+ msgstr "त्वचा"
1350
+
1351
+ #: admin/skins.php:228
1352
+ msgid "Can't find skin directory "
1353
+ msgstr "त्वचा निर्देशिका में नहीं मिल सकता है"
1354
+
1355
+ #: admin/skins.php:228
1356
+ msgid ". Try delete it manualy via ftp"
1357
+ msgstr "इसे हटा manualy कोशिश करो FTP के माध्यम से"
1358
+
1359
+ #: admin/skins.php:231
1360
+ msgid "You need activate another skin before delete it"
1361
+ msgstr "आप के एक और त्वचा को सक्रिय करने की जरूरत है इससे पहले कि इसे हटा दें"
1362
+
1363
+ #: admin/skins.php:234
1364
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1365
+ msgstr "कहां पर्याप्त ग्रैंड FlAGallery की खाल को हटाने की अनुमति नहीं है."
1366
+
1367
+ #: admin/skins.php:281
1368
+ msgid "activated successfully"
1369
+ msgstr "सफलतापूर्वक सक्रिय"
1370
+
1371
+ #: admin/skins.php:342
1372
+ msgid "No skins to show"
1373
+ msgstr "दिखाने के लिए नहीं है "
1374
+
1375
+ #: admin/skins.php:355
1376
+ #, php-format
1377
+ msgid "Version %s"
1378
+ msgstr "संस्करण %s"
1379
+
1380
+ #: admin/skins.php:359
1381
+ msgid "Visit author homepage"
1382
+ msgstr "लेखक मुखपृष्ठ पर जाएँ"
1383
+
1384
+ #: admin/skins.php:360
1385
+ #, php-format
1386
+ msgid "By %s"
1387
+ msgstr "द्वारा %s"
1388
+
1389
+ #: admin/skins.php:363
1390
+ msgid "Visit skin site"
1391
+ msgstr "त्वचा साइट पर जाएँ"
1392
+
1393
+ #: admin/skins.php:369
1394
+ msgid "Activate"
1395
+ msgstr "सक्रिय"
1396
+
1397
+ #: admin/skins.php:371
1398
+ msgid "Activated"
1399
+ msgstr "सक्रिय"
1400
+
1401
+ #: admin/skins.php:383
1402
+ msgid "Delete this skin"
1403
+ msgstr "यह त्वचा को हटाएँ"
1404
+
1405
+ #: admin/tinymce/tinymce.php:114
1406
+ #: admin/tinymce/window.php:16
1407
+ #: admin/tinymce/window.php:26
1408
+ msgid "Insert Flash Album with one or more galleries"
1409
+ msgstr "एक या एक से अधिक दीर्घाओं के साथ फ्लैश एल्बम सम्मिलित करें"
1410
+
1411
+ #: admin/tinymce/window.php:8
1412
+ msgid "You are not allowed to be here"
1413
+ msgstr "आपको यहाँ की अनुमति नहीं है"
1414
+
1415
+ #: admin/tinymce/window.php:42
1416
+ msgid "Album Name"
1417
+ msgstr "एल्बम नाम"
1418
+
1419
+ #: admin/tinymce/window.php:46
1420
+ msgid "Select galleries"
1421
+ msgstr "दीर्घाओं का चयन करें"
1422
+
1423
+ #: admin/tinymce/window.php:46
1424
+ msgid "(album categories)"
1425
+ msgstr "(एल्बम श्रेणियां)"
1426
+
1427
+ #: admin/tinymce/window.php:74
1428
+ msgid "custom size"
1429
+ msgstr "कस्टम आकार"
1430
+
1431
+ #: admin/tinymce/window.php:85
1432
+ #: admin/tinymce/window.php:128
1433
+ msgid "Insert"
1434
+ msgstr "सम्मिलित करें"
1435
+
1436
+ #: admin/upgrade.php:20
1437
+ msgid "Upgrade database structure..."
1438
+ msgstr "डेटाबेस संरचना के उन्नयन"
1439
+
1440
+ #: admin/upgrade.php:49
1441
+ #: admin/upgrade.php:59
1442
+ msgid "finished"
1443
+ msgstr "समाप्त"
1444
+
1445
+ #: admin/upgrade.php:57
1446
+ msgid "Import date and time information..."
1447
+ msgstr "दिनांक और समय की जानकारी आयात करें ..."
1448
+
1449
+ #: admin/upgrade.php:130
1450
+ #: admin/upgrade.php:149
1451
+ msgid "Upgrade Grand Flagallery"
1452
+ msgstr "ग्रैंड FlAGallery अपग्रेड"
1453
+
1454
+ #: admin/upgrade.php:131
1455
+ msgid "The script detect that you upgrade from a older version."
1456
+ msgstr "स्क्रिप्ट का पता लगाने कि आप एक पुराने संस्करण से उन्नयन."
1457
+
1458
+ #: admin/upgrade.php:132
1459
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1460
+ msgstr "ग्रैंड FlAGallery के लिए डेटाबेस तालिकाओं की तारीख है, और इससे पहले कि आप जारी रख सकते हैं उन्नत किया जाना चाहिए"
1461
+
1462
+ #: admin/upgrade.php:133
1463
+ msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
1464
+ msgstr "अगर तुम ढाल करने के लिए बाद में चाहते हैं, कृपया पहले अपने डेटाबेस और छवियों की एक पूर्ण बैकअप है."
1465
+
1466
+ #: admin/upgrade.php:134
1467
+ msgid "The upgrade process may take a while, so please be patient."
1468
+ msgstr "उन्नयन प्रक्रिया कुछ समय ले सकता है, इसलिये कृपया धैर्य रखें."
1469
+
1470
+ #: admin/upgrade.php:135
1471
+ msgid "Start upgrade now"
1472
+ msgstr "अभी नवीनीकरण प्रारंभ"
1473
+
1474
+ #: admin/upgrade.php:151
1475
+ msgid "Upgrade sucessful"
1476
+ msgstr "sucessful अपग्रेड"
1477
+
1478
+ #: admin/upgrade.php:152
1479
+ msgid "Continue"
1480
+ msgstr "जारी रखें"
1481
+
1482
+ #: lib/core.php:199
1483
+ #, php-format
1484
+ msgid "Note : Based on your server memory limit you should not upload larger images then <strong>%d x %d</strong> pixel"
1485
+ msgstr "नोट: आपके सर्वर स्मृति की सीमा के आधार पर आप बड़े चित्र तो नहीं अपलोड करना चाहिए <strong>%d x %d</strong> पिक्सेल"
1486
+
1487
+ #: lib/meta.php:73
1488
+ msgid " mm"
1489
+ msgstr "मिमी"
1490
+
1491
+ #: lib/meta.php:79
1492
+ msgid " sec"
1493
+ msgstr "सेकंड"
1494
+
1495
+ #: lib/meta.php:329
1496
+ msgid "Aperture"
1497
+ msgstr "छेद"
1498
+
1499
+ #: lib/meta.php:330
1500
+ #: lib/meta.php:355
1501
+ msgid "Credit"
1502
+ msgstr "श्रेय"
1503
+
1504
+ #: lib/meta.php:331
1505
+ msgid "Camera"
1506
+ msgstr "कैमरा"
1507
+
1508
+ #: lib/meta.php:332
1509
+ msgid "Caption"
1510
+ msgstr "शीर्षक"
1511
+
1512
+ #: lib/meta.php:333
1513
+ msgid "Date/Time"
1514
+ msgstr "दिनांक / समय"
1515
+
1516
+ #: lib/meta.php:334
1517
+ msgid "Copyright"
1518
+ msgstr "कॉपीराइट"
1519
+
1520
+ #: lib/meta.php:335
1521
+ msgid "Focal length"
1522
+ msgstr "फोकल लम्बाई"
1523
+
1524
+ #: lib/meta.php:336
1525
+ msgid "ISO"
1526
+ msgstr "ISO"
1527
+
1528
+ #: lib/meta.php:337
1529
+ msgid "Shutter speed"
1530
+ msgstr "शटर गति"
1531
+
1532
+ #: lib/meta.php:340
1533
+ msgid "Tags"
1534
+ msgstr "टैग"
1535
+
1536
+ #: lib/meta.php:341
1537
+ msgid "Subject"
1538
+ msgstr "विषय"
1539
+
1540
+ #: lib/meta.php:342
1541
+ msgid "Make"
1542
+ msgstr "बनाना"
1543
+
1544
+ #: lib/meta.php:343
1545
+ msgid "Edit Status"
1546
+ msgstr "स्थिति संपादित करें"
1547
+
1548
+ #: lib/meta.php:344
1549
+ msgid "Category"
1550
+ msgstr "श्रेणी"
1551
+
1552
+ #: lib/meta.php:345
1553
+ msgid "Keywords"
1554
+ msgstr "कीवर्ड"
1555
+
1556
+ #: lib/meta.php:346
1557
+ msgid "Date Created"
1558
+ msgstr "तिथि बनाया"
1559
+
1560
+ #: lib/meta.php:347
1561
+ msgid "Time Created"
1562
+ msgstr "समय बनाया गया"
1563
+
1564
+ #: lib/meta.php:348
1565
+ msgid "Author Position"
1566
+ msgstr "लेखक स्थिति"
1567
+
1568
+ #: lib/meta.php:349
1569
+ msgid "City"
1570
+ msgstr "शहर"
1571
+
1572
+ #: lib/meta.php:350
1573
+ msgid "Location"
1574
+ msgstr "स्थान"
1575
+
1576
+ #: lib/meta.php:351
1577
+ msgid "Province/State"
1578
+ msgstr "प्रदेश / राज्य"
1579
+
1580
+ #: lib/meta.php:352
1581
+ msgid "Country code"
1582
+ msgstr "कंट्री कोड"
1583
+
1584
+ #: lib/meta.php:353
1585
+ msgid "Country"
1586
+ msgstr "देश"
1587
+
1588
+ #: lib/meta.php:354
1589
+ msgid "Headline"
1590
+ msgstr "शीर्षक"
1591
+
1592
+ #: lib/meta.php:356
1593
+ msgid "Source"
1594
+ msgstr "स्रोत"
1595
+
1596
+ #: lib/meta.php:357
1597
+ msgid "Copyright Notice"
1598
+ msgstr "कॉपीराइट सूचना"
1599
+
1600
+ #: lib/meta.php:358
1601
+ msgid "Contact"
1602
+ msgstr "संपर्क"
1603
+
1604
+ #: lib/meta.php:359
1605
+ msgid "Last modified"
1606
+ msgstr "अंतिम बार संशोधित"
1607
+
1608
+ #: lib/meta.php:360
1609
+ msgid "Program tool"
1610
+ msgstr "कार्यक्रम उपकरण"
1611
+
1612
+ #: lib/meta.php:361
1613
+ msgid "Format"
1614
+ msgstr "प्रारूप"
1615
+
1616
+ #: lib/shortcodes.php:71
1617
+ #: lib/shortcodes.php:86
1618
+ msgid "[Gallery not found]"
1619
+ msgstr "[ गैलरी नहीं मिला]"
1620
+
1621
+ #: lib/shortcodes.php:80
1622
+ #, php-format
1623
+ msgid "[Gallery %s not found]"
1624
+ msgstr "[ गैलरी नहीं मिला] %s "
1625
+
1626
+ #: lib/swfobject.php:145
1627
+ msgid "The <a href=\"http://www.macromedia.com/go/getflashplayer\">Flash Player</a> and a browser with Javascript support are needed.."
1628
+ msgstr "The <a href=\"http://www.macromedia.com/go/getflashplayer\">Flash Player</a> और जावास्क्रिप्ट समर्थन के साथ एक ब्राउज़र की जरूरत है .."
1629
+
1630
+ #: xml/media-rss.php:39
1631
+ msgid "No galleries have been yet created."
1632
+ msgstr "अभी तक नहीं दीर्घाओं बनाया गया है."
1633
+
1634
+ #: xml/media-rss.php:58
1635
+ #, php-format
1636
+ msgid "The gallery ID=%s does not exist."
1637
+ msgstr "गैलरी आईडी =%s मौजूद नहीं है."
1638
+
1639
+ #: xml/media-rss.php:85
1640
+ #, php-format
1641
+ msgid "Invalid MediaRSS command (%s)."
1642
+ msgstr "अवैध MediaRSS आदेश (%s)."
1643
+
lang/flag-it_IT.po CHANGED
@@ -1366,8 +1366,8 @@ msgid "You need activate another skin before delete it"
1366
  msgstr "Devi attivare un'altra skin prima di eliminare questa."
1367
 
1368
  #: admin/skins.php:234
1369
- msgid "You do not have sufficient permissions to delete skins of GRAND FlAGallery."
1370
- msgstr "Non hai i permessi sufficienti per eliminare le skin di GRAND FlAGallery."
1371
 
1372
  #: admin/skins.php:281
1373
  msgid "activated successfully"
@@ -1453,16 +1453,16 @@ msgstr "Importa le informazioni di data e ora..."
1453
 
1454
  #: admin/upgrade.php:130
1455
  #: admin/upgrade.php:149
1456
- msgid "Upgrade GRAND FlAGallery"
1457
- msgstr "Aggiorna GRAND FlAGAllery"
1458
 
1459
  #: admin/upgrade.php:131
1460
  msgid "The script detect that you upgrade from a older version."
1461
  msgstr "Lo script rilega che stai aggiornando da una versione precedente."
1462
 
1463
  #: admin/upgrade.php:132
1464
- msgid "Your database tables for GRAND FlAGallery is out-of-date, and must be upgraded before you can continue."
1465
- msgstr "Le tabelle del tuo database per GRAND FlAGallery sono obsolete, devi effetuare un aggiornamento prima di continuare."
1466
 
1467
  #: admin/upgrade.php:133
1468
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
1366
  msgstr "Devi attivare un'altra skin prima di eliminare questa."
1367
 
1368
  #: admin/skins.php:234
1369
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1370
+ msgstr "Non hai i permessi sufficienti per eliminare le skin di Grand Flagallery."
1371
 
1372
  #: admin/skins.php:281
1373
  msgid "activated successfully"
1453
 
1454
  #: admin/upgrade.php:130
1455
  #: admin/upgrade.php:149
1456
+ msgid "Upgrade Grand Flagallery"
1457
+ msgstr "Aggiorna Grand Flagallery"
1458
 
1459
  #: admin/upgrade.php:131
1460
  msgid "The script detect that you upgrade from a older version."
1461
  msgstr "Lo script rilega che stai aggiornando da una versione precedente."
1462
 
1463
  #: admin/upgrade.php:132
1464
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1465
+ msgstr "Le tabelle del tuo database per Grand Flagallery sono obsolete, devi effetuare un aggiornamento prima di continuare."
1466
 
1467
  #: admin/upgrade.php:133
1468
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
lang/flag-lt_LT.po CHANGED
@@ -1366,8 +1366,8 @@ msgid "You need activate another skin before delete it"
1366
  msgstr "Jūs turite aktyvuoti naują skiną prieš ištrinant šį"
1367
 
1368
  #: admin/skins.php:234
1369
- msgid "You do not have sufficient permissions to delete skins of GRAND FlAGallery."
1370
- msgstr "Jūs neturite atitinkamų teisių pašalinti skinus iš GRAND FlAGallery."
1371
 
1372
  #: admin/skins.php:281
1373
  msgid "activated successfully"
@@ -1453,16 +1453,16 @@ msgstr "Datos ir laiko informacijos importas..."
1453
 
1454
  #: admin/upgrade.php:130
1455
  #: admin/upgrade.php:149
1456
- msgid "Upgrade GRAND FlAGallery"
1457
- msgstr "Atnaujinti GRAND FlAGallery"
1458
 
1459
  #: admin/upgrade.php:131
1460
  msgid "The script detect that you upgrade from a older version."
1461
  msgstr "Skriptas aptiko, kad jūs atsinaujinote iš senos versijos."
1462
 
1463
  #: admin/upgrade.php:132
1464
- msgid "Your database tables for GRAND FlAGallery is out-of-date, and must be upgraded before you can continue."
1465
- msgstr "Jūsų GRAND FlAGallery duomenų bazės lentelės paseno ir turi būti atnaujintos prieš tęsiant."
1466
 
1467
  #: admin/upgrade.php:133
1468
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
1366
  msgstr "Jūs turite aktyvuoti naują skiną prieš ištrinant šį"
1367
 
1368
  #: admin/skins.php:234
1369
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1370
+ msgstr "Jūs neturite atitinkamų teisių pašalinti skinus iš Grand Flagallery."
1371
 
1372
  #: admin/skins.php:281
1373
  msgid "activated successfully"
1453
 
1454
  #: admin/upgrade.php:130
1455
  #: admin/upgrade.php:149
1456
+ msgid "Upgrade Grand Flagallery"
1457
+ msgstr "Atnaujinti Grand Flagallery"
1458
 
1459
  #: admin/upgrade.php:131
1460
  msgid "The script detect that you upgrade from a older version."
1461
  msgstr "Skriptas aptiko, kad jūs atsinaujinote iš senos versijos."
1462
 
1463
  #: admin/upgrade.php:132
1464
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1465
+ msgstr "Jūsų Grand Flagallery duomenų bazės lentelės paseno ir turi būti atnaujintos prieš tęsiant."
1466
 
1467
  #: admin/upgrade.php:133
1468
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
lang/flag-nl_NL.po CHANGED
@@ -871,7 +871,7 @@ msgstr "Nieuws"
871
 
872
  #: admin/overview.php:241
873
  msgid "Welcome to FlAGallery !"
874
- msgstr "Welkom bij de GRAND FlAGallery!"
875
 
876
  #: admin/overview.php:242
877
  msgid "Server Settings"
@@ -1361,8 +1361,8 @@ msgid "You need activate another skin before delete it"
1361
  msgstr "U dient een andere skin te activeren alvorens te verwijderen"
1362
 
1363
  #: admin/skins.php:234
1364
- msgid "You do not have sufficient permissions to delete skins of GRAND FlAGallery."
1365
- msgstr "U hebt onvoldoende rechten om skins van GRAND FLAGallery te verwijderen."
1366
 
1367
  #: admin/skins.php:281
1368
  msgid "activated successfully"
@@ -1448,16 +1448,16 @@ msgstr "Datum en tijd importeren"
1448
 
1449
  #: admin/upgrade.php:130
1450
  #: admin/upgrade.php:149
1451
- msgid "Upgrade GRAND FlAGallery"
1452
- msgstr "GRAND FLAGallery upgraden"
1453
 
1454
  #: admin/upgrade.php:131
1455
  msgid "The script detect that you upgrade from a older version."
1456
  msgstr "Het script ziet dat u een upgrade doet vanuit een oudere versie"
1457
 
1458
  #: admin/upgrade.php:132
1459
- msgid "Your database tables for GRAND FlAGallery is out-of-date, and must be upgraded before you can continue."
1460
- msgstr "Uw database tabellen voor GRAND FLAGallery zijn gedateerd en moeten geupgrade worden voordat u verder kunt."
1461
 
1462
  #: admin/upgrade.php:133
1463
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
871
 
872
  #: admin/overview.php:241
873
  msgid "Welcome to FlAGallery !"
874
+ msgstr "Welkom bij de Grand Flagallery!"
875
 
876
  #: admin/overview.php:242
877
  msgid "Server Settings"
1361
  msgstr "U dient een andere skin te activeren alvorens te verwijderen"
1362
 
1363
  #: admin/skins.php:234
1364
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1365
+ msgstr "U hebt onvoldoende rechten om skins van Grand Flagallery te verwijderen."
1366
 
1367
  #: admin/skins.php:281
1368
  msgid "activated successfully"
1448
 
1449
  #: admin/upgrade.php:130
1450
  #: admin/upgrade.php:149
1451
+ msgid "Upgrade Grand Flagallery"
1452
+ msgstr "Grand Flagallery upgraden"
1453
 
1454
  #: admin/upgrade.php:131
1455
  msgid "The script detect that you upgrade from a older version."
1456
  msgstr "Het script ziet dat u een upgrade doet vanuit een oudere versie"
1457
 
1458
  #: admin/upgrade.php:132
1459
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1460
+ msgstr "Uw database tabellen voor Grand Flagallery zijn gedateerd en moeten geupgrade worden voordat u verder kunt."
1461
 
1462
  #: admin/upgrade.php:133
1463
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
lang/flag-pl_PL.po CHANGED
@@ -1365,8 +1365,8 @@ msgid "You need activate another skin before delete it"
1365
  msgstr "Musisz uaktywnić inną skórkę przed usunięciem"
1366
 
1367
  #: admin/skins.php:234
1368
- msgid "You do not have sufficient permissions to delete skins of GRAND FlAGallery."
1369
- msgstr "Nie masz wystarczających uprawnień, aby usunąć skórki GRAND FlAGallery."
1370
 
1371
  #: admin/skins.php:281
1372
  msgid "activated successfully"
@@ -1452,16 +1452,16 @@ msgstr "Import daty i godziny ..."
1452
 
1453
  #: admin/upgrade.php:130
1454
  #: admin/upgrade.php:149
1455
- msgid "Upgrade GRAND FlAGallery"
1456
- msgstr "Aktualizacja GRAND FlAGallery"
1457
 
1458
  #: admin/upgrade.php:131
1459
  msgid "The script detect that you upgrade from a older version."
1460
  msgstr "Skrypt wykrywa, że jest uaktualnienie."
1461
 
1462
  #: admin/upgrade.php:132
1463
- msgid "Your database tables for GRAND FlAGallery is out-of-date, and must be upgraded before you can continue."
1464
- msgstr "Tabele bazy danych GRAND FlAGallery jest nieaktualna i musi zostać zaktualizowana, zanim będzie można kontynuować."
1465
 
1466
  #: admin/upgrade.php:133
1467
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
1365
  msgstr "Musisz uaktywnić inną skórkę przed usunięciem"
1366
 
1367
  #: admin/skins.php:234
1368
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1369
+ msgstr "Nie masz wystarczających uprawnień, aby usunąć skórki Grand Flagallery."
1370
 
1371
  #: admin/skins.php:281
1372
  msgid "activated successfully"
1452
 
1453
  #: admin/upgrade.php:130
1454
  #: admin/upgrade.php:149
1455
+ msgid "Upgrade Grand Flagallery"
1456
+ msgstr "Aktualizacja Grand Flagallery"
1457
 
1458
  #: admin/upgrade.php:131
1459
  msgid "The script detect that you upgrade from a older version."
1460
  msgstr "Skrypt wykrywa, że jest uaktualnienie."
1461
 
1462
  #: admin/upgrade.php:132
1463
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1464
+ msgstr "Tabele bazy danych Grand Flagallery jest nieaktualna i musi zostać zaktualizowana, zanim będzie można kontynuować."
1465
 
1466
  #: admin/upgrade.php:133
1467
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
lang/flag-pt_BR.po CHANGED
@@ -1365,8 +1365,8 @@ msgid "You need activate another skin before delete it"
1365
  msgstr "você precisa ativar outro tema antes de apagar este"
1366
 
1367
  #: admin/skins.php:234
1368
- msgid "You do not have sufficient permissions to delete skins of GRAND FlAGallery."
1369
- msgstr "Você não tem permissão sufuciente para deletar o tema de GRAND FlAGallery."
1370
 
1371
  #: admin/skins.php:281
1372
  msgid "activated successfully"
@@ -1452,16 +1452,16 @@ msgstr "Importa informação de data e hora"
1452
 
1453
  #: admin/upgrade.php:130
1454
  #: admin/upgrade.php:149
1455
- msgid "Upgrade GRAND FlAGallery"
1456
- msgstr "Atualize GRAND FlAGallery"
1457
 
1458
  #: admin/upgrade.php:131
1459
  msgid "The script detect that you upgrade from a older version."
1460
  msgstr "O script detecta se você atualizar de uma versão mais antiga."
1461
 
1462
  #: admin/upgrade.php:132
1463
- msgid "Your database tables for GRAND FlAGallery is out-of-date, and must be upgraded before you can continue."
1464
- msgstr "As tabelas de banco de dados do GRAND FlAGallery está desatualizada, e devem ser atualizadas antes de continuar."
1465
 
1466
  #: admin/upgrade.php:133
1467
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
1365
  msgstr "você precisa ativar outro tema antes de apagar este"
1366
 
1367
  #: admin/skins.php:234
1368
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1369
+ msgstr "Você não tem permissão sufuciente para deletar o tema de Grand Flagallery."
1370
 
1371
  #: admin/skins.php:281
1372
  msgid "activated successfully"
1452
 
1453
  #: admin/upgrade.php:130
1454
  #: admin/upgrade.php:149
1455
+ msgid "Upgrade Grand Flagallery"
1456
+ msgstr "Atualize Grand Flagallery"
1457
 
1458
  #: admin/upgrade.php:131
1459
  msgid "The script detect that you upgrade from a older version."
1460
  msgstr "O script detecta se você atualizar de uma versão mais antiga."
1461
 
1462
  #: admin/upgrade.php:132
1463
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1464
+ msgstr "As tabelas de banco de dados do Grand Flagallery está desatualizada, e devem ser atualizadas antes de continuar."
1465
 
1466
  #: admin/upgrade.php:133
1467
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
lang/flag-ro_RO.po CHANGED
@@ -1366,7 +1366,7 @@ msgid "You need activate another skin before delete it"
1366
  msgstr "Ai nevoie de un alt activaţi pielea înainte de a şterge"
1367
 
1368
  #: admin/skins.php:234
1369
- msgid "You do not have sufficient permissions to delete skins of GRAND FlAGallery."
1370
  msgstr "Nu aveţi permisiuni suficiente pentru a şterge pielea de FlAGallery GRAND."
1371
 
1372
  #: admin/skins.php:281
@@ -1453,16 +1453,16 @@ msgstr "Importul data şi informaţii în timp ..."
1453
 
1454
  #: admin/upgrade.php:130
1455
  #: admin/upgrade.php:149
1456
- msgid "Upgrade GRAND FlAGallery"
1457
- msgstr "Actualizează GRAND FlAGallery"
1458
 
1459
  #: admin/upgrade.php:131
1460
  msgid "The script detect that you upgrade from a older version."
1461
  msgstr "Script-ul detectează că faceţi upgrade de la o versiune mai veche."
1462
 
1463
  #: admin/upgrade.php:132
1464
- msgid "Your database tables for GRAND FlAGallery is out-of-date, and must be upgraded before you can continue."
1465
- msgstr "Tabele de baze de date pentru Grand FlAGallery este în afara-din-data, si trebuie actualizat înainte de a putea continua."
1466
 
1467
  #: admin/upgrade.php:133
1468
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
1366
  msgstr "Ai nevoie de un alt activaţi pielea înainte de a şterge"
1367
 
1368
  #: admin/skins.php:234
1369
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1370
  msgstr "Nu aveţi permisiuni suficiente pentru a şterge pielea de FlAGallery GRAND."
1371
 
1372
  #: admin/skins.php:281
1453
 
1454
  #: admin/upgrade.php:130
1455
  #: admin/upgrade.php:149
1456
+ msgid "Upgrade Grand Flagallery"
1457
+ msgstr "Actualizează Grand Flagallery"
1458
 
1459
  #: admin/upgrade.php:131
1460
  msgid "The script detect that you upgrade from a older version."
1461
  msgstr "Script-ul detectează că faceţi upgrade de la o versiune mai veche."
1462
 
1463
  #: admin/upgrade.php:132
1464
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1465
+ msgstr "Tabele de baze de date pentru Grand Flagallery este în afara-din-data, si trebuie actualizat înainte de a putea continua."
1466
 
1467
  #: admin/upgrade.php:133
1468
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
lang/flag-ru_RU.po CHANGED
@@ -876,7 +876,7 @@ msgstr "Новые Box"
876
 
877
  #: admin/overview.php:241
878
  msgid "Welcome to FlAGallery !"
879
- msgstr "Добро пожаловать в GRAND FlAGallery !"
880
 
881
  #: admin/overview.php:242
882
  msgid "Server Settings"
@@ -1366,8 +1366,8 @@ msgid "You need activate another skin before delete it"
1366
  msgstr "Вы должны активировать другой скин прежде чем удалить этот"
1367
 
1368
  #: admin/skins.php:234
1369
- msgid "You do not have sufficient permissions to delete skins of GRAND FlAGallery."
1370
- msgstr "У вас нет достаточных полномочий для удаления скинов GRAND FlAGallery."
1371
 
1372
  #: admin/skins.php:281
1373
  msgid "activated successfully"
@@ -1453,16 +1453,16 @@ msgstr "Импорт информации о дате и времени"
1453
 
1454
  #: admin/upgrade.php:130
1455
  #: admin/upgrade.php:149
1456
- msgid "Upgrade GRAND FlAGallery"
1457
- msgstr "Обновление GRAND FlAGallery"
1458
 
1459
  #: admin/upgrade.php:131
1460
  msgid "The script detect that you upgrade from a older version."
1461
  msgstr "Скрипт определил что вы обновились со старой версии."
1462
 
1463
  #: admin/upgrade.php:132
1464
- msgid "Your database tables for GRAND FlAGallery is out-of-date, and must be upgraded before you can continue."
1465
- msgstr "Ваша база данных для GRAND FlAGallery устарела и должна быть обновлена прежде, чем вы сможете продолжить."
1466
 
1467
  #: admin/upgrade.php:133
1468
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
876
 
877
  #: admin/overview.php:241
878
  msgid "Welcome to FlAGallery !"
879
+ msgstr "Добро пожаловать в Grand Flagallery !"
880
 
881
  #: admin/overview.php:242
882
  msgid "Server Settings"
1366
  msgstr "Вы должны активировать другой скин прежде чем удалить этот"
1367
 
1368
  #: admin/skins.php:234
1369
+ msgid "You do not have sufficient permissions to delete skins of Grand Flagallery."
1370
+ msgstr "У вас нет достаточных полномочий для удаления скинов Grand Flagallery."
1371
 
1372
  #: admin/skins.php:281
1373
  msgid "activated successfully"
1453
 
1454
  #: admin/upgrade.php:130
1455
  #: admin/upgrade.php:149
1456
+ msgid "Upgrade Grand Flagallery"
1457
+ msgstr "Обновление Grand Flagallery"
1458
 
1459
  #: admin/upgrade.php:131
1460
  msgid "The script detect that you upgrade from a older version."
1461
  msgstr "Скрипт определил что вы обновились со старой версии."
1462
 
1463
  #: admin/upgrade.php:132
1464
+ msgid "Your database tables for Grand Flagallery is out-of-date, and must be upgraded before you can continue."
1465
+ msgstr "Ваша база данных для Grand Flagallery устарела и должна быть обновлена прежде, чем вы сможете продолжить."
1466
 
1467
  #: admin/upgrade.php:133
1468
  msgid "If you would like to downgrade later, please make first a complete backup of your database and the images."
lang/flag-sl_SI.mo ADDED
Binary file
lang/flag-sl_SI.po ADDED
@@ -0,0 +1,3081 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of the WordPress plugin by .
2
+ # Copyright (C) 2010
3
+ # This file is distributed under the same license as the package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: GrandFla gallery Sl\n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/flash-album-gallery\n"
10
+ "POT-Creation-Date: 2013-07-10 10:46:14+00:00\n"
11
+ "PO-Revision-Date: 2013-07-10 22:15+0100\n"
12
+ "Last-Translator: Bekim Lutolli <Bekim.Lutolli@gmail.com>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+ "Language: Slovenščina\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "X-Generator: Poedit 1.5.7\n"
19
+ "X-Poedit-SourceCharset: UTF-8\n"
20
+ "X-Poedit-KeywordsList: nplurals=2; plural=(n != 1)\n"
21
+ "Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
22
+ "%100==4 ? 3 : 0);\n"
23
+
24
+ #: admin/addgallery.php:37
25
+ msgid "Upload failed!"
26
+ msgstr "Nalaganje ni uspelo!"
27
+
28
+ #: admin/addgallery.php:49 admin/functions.php:819
29
+ msgid "No gallery selected !"
30
+ msgstr "Nobena galerija ni izbrana!"
31
+
32
+ #: admin/addgallery.php:118
33
+ msgid "Image Files"
34
+ msgstr "Slikovne datoteke"
35
+
36
+ #: admin/addgallery.php:139 admin/addgallery.php:169
37
+ msgid "remove"
38
+ msgstr "odstrani"
39
+
40
+ #: admin/addgallery.php:140 admin/addgallery.php:281 admin/banner-box.php:342
41
+ #: admin/music-box.php:311 admin/video-box.php:265
42
+ msgid "Browse..."
43
+ msgstr "Brskaj"
44
+
45
+ #: admin/addgallery.php:141 admin/addgallery.php:211 admin/addgallery.php:267
46
+ msgid "Upload images"
47
+ msgstr "Naloži datoteke"
48
+
49
+ #: admin/addgallery.php:180
50
+ msgid "Add new gallery"
51
+ msgstr "Dodaj novo galerijo"
52
+
53
+ #: admin/addgallery.php:181
54
+ msgid "Upload Images"
55
+ msgstr "Naloži slike"
56
+
57
+ #: admin/addgallery.php:183 admin/addgallery.php:275
58
+ msgid "Import image folder"
59
+ msgstr "Uvozi mapo s slikami"
60
+
61
+ #: admin/addgallery.php:189
62
+ msgid "Create a new gallery"
63
+ msgstr "Ustvari novo galerijo"
64
+
65
+ #: admin/addgallery.php:194
66
+ msgid "New Gallery"
67
+ msgstr "Nova galerija"
68
+
69
+ #: admin/addgallery.php:199
70
+ msgid "Create a new , empty gallery below the folder"
71
+ msgstr "ustvari novo, prazno galerijo pod mapo"
72
+
73
+ #: admin/addgallery.php:201
74
+ msgid "Allowed characters for file and folder names are"
75
+ msgstr "Dovoljen iznaki za datoteke in mape so"
76
+
77
+ #: admin/addgallery.php:203
78
+ msgid "Add gallery"
79
+ msgstr "Dodaj galerijo"
80
+
81
+ #: admin/addgallery.php:238
82
+ msgid "Upload image(s):"
83
+ msgstr "Naloži slike:"
84
+
85
+ #: admin/addgallery.php:242
86
+ msgid "in to"
87
+ msgstr "v"
88
+
89
+ #: admin/addgallery.php:244
90
+ msgid "Choose gallery"
91
+ msgstr "Izberi galerijo"
92
+
93
+ #: admin/addgallery.php:262
94
+ msgid ""
95
+ "The batch upload requires Adobe Flash 10, disable it if you have problems"
96
+ msgstr ""
97
+ "Serijsko nalaganje potrebuje adobe flash 10, onemogočite ga če imate težave"
98
+
99
+ #: admin/addgallery.php:262
100
+ msgid "Disable flash upload"
101
+ msgstr "Onemogočite flash nalaganje"
102
+
103
+ #: admin/addgallery.php:264
104
+ msgid "Upload multiple files at once by ctrl/shift-selecting in dialog"
105
+ msgstr "Naložite več datotek na enkrat z uporabo ctrl/shift v dialogu"
106
+
107
+ #: admin/addgallery.php:264
108
+ msgid "Enable flash based upload"
109
+ msgstr "Omogoči nalaganje z adobe flashom"
110
+
111
+ #: admin/addgallery.php:280 admin/banner-box.php:341 admin/music-box.php:310
112
+ #: admin/video-box.php:264
113
+ msgid "Import from Server path:"
114
+ msgstr "Uvozi iz strežnika"
115
+
116
+ #: admin/addgallery.php:284
117
+ msgid ""
118
+ " Please note : For safe-mode = ON you need to add the subfolder thumbs "
119
+ "manually"
120
+ msgstr ""
121
+ "Prosim upoštevajte: V varnem načinu = vključeno morate dodati podmapo thumbs "
122
+ "ročno"
123
+
124
+ #: admin/addgallery.php:287 admin/banner-box.php:349 admin/music-box.php:318
125
+ #: admin/video-box.php:272
126
+ msgid "Import folder"
127
+ msgstr "Uvozi mapo"
128
+
129
+ #: admin/admin.php:53 admin/admin.php:54
130
+ msgid "GRAND Flash Album Gallery overview"
131
+ msgstr "GRAND Flash Album Gallery pregled"
132
+
133
+ #: admin/admin.php:53 admin/media-upload.php:8
134
+ msgid "FlAGallery"
135
+ msgstr "Flagalerija"
136
+
137
+ #: admin/admin.php:54
138
+ msgid "Overview"
139
+ msgstr "Pregled"
140
+
141
+ #: admin/admin.php:55
142
+ msgid "FlAG Manage gallery"
143
+ msgstr "FlAG uredi galerijo"
144
+
145
+ #: admin/admin.php:55
146
+ msgid "Manage Galleries"
147
+ msgstr "Uredi galerije"
148
+
149
+ #: admin/admin.php:56
150
+ msgid "FlAG Music Box"
151
+ msgstr "FLAG glasbena skrinja"
152
+
153
+ #: admin/admin.php:56
154
+ msgid "Music Box"
155
+ msgstr "Glasbena skrinja"
156
+
157
+ #: admin/admin.php:57
158
+ msgid "FlAG Video Box"
159
+ msgstr "FlAG video skrinja"
160
+
161
+ #: admin/admin.php:57
162
+ msgid "Video Box"
163
+ msgstr "Video skrinja"
164
+
165
+ #: admin/admin.php:58
166
+ msgid "FlAG Banner Box"
167
+ msgstr "FlAG skrinja oglasnih pasic"
168
+
169
+ #: admin/admin.php:58
170
+ msgid "Banner Box"
171
+ msgstr "Skrinja oglasnih pasic"
172
+
173
+ #: admin/admin.php:59
174
+ msgid "FlAG Manage skins"
175
+ msgstr "FLAG Upravljaj s preoblekami"
176
+
177
+ #: admin/admin.php:59 admin/skins.php:339
178
+ msgid "Skins"
179
+ msgstr "Preobleke"
180
+
181
+ #: admin/admin.php:60
182
+ msgid "FlAG Change options"
183
+ msgstr "FlAG Spremeni nastavitve"
184
+
185
+ #: admin/admin.php:60 admin/skins.php:457
186
+ msgid "Options"
187
+ msgstr "Nastavitve"
188
+
189
+ #: admin/admin.php:61
190
+ msgid "FlAG Facebook Integration"
191
+ msgstr "FlAG Facebook integracija"
192
+
193
+ #: admin/admin.php:61
194
+ msgid "Facebook"
195
+ msgstr "Facebook"
196
+
197
+ #: admin/admin.php:63
198
+ msgid "GRAND Flash Album Gallery"
199
+ msgstr "GRAND Flash Album Galerija"
200
+
201
+ #: admin/admin.php:63
202
+ msgid "Grand Flagallery"
203
+ msgstr "GRAND FlAGalerija"
204
+
205
+ #: admin/admin.php:133
206
+ msgid "You do not have the correct permission"
207
+ msgstr "Nimate pravega dovoljenja"
208
+
209
+ #: admin/admin.php:134
210
+ msgid "Unexpected Error"
211
+ msgstr "Nepričakovana napaka"
212
+
213
+ #: admin/admin.php:135
214
+ msgid "A failure occurred"
215
+ msgstr "Ni uspelo"
216
+
217
+ #: admin/admin.php:215 admin/admin.php:249 admin/functions.php:105
218
+ #: admin/functions.php:181 admin/manage-images.php:205 admin/manage.php:101
219
+ #: admin/manage.php:112 admin/manage.php:120 admin/overview.php:197
220
+ msgid "Gallery"
221
+ msgid_plural "Galleries"
222
+ msgstr[0] ""
223
+ msgstr[1] "Galerija"
224
+ msgstr[2] "Galeriji"
225
+ msgstr[3] "Galerije"
226
+
227
+ #: admin/admin.php:229
228
+ msgid "Get help with Grand Flagallery"
229
+ msgstr "Prodobite pomoč pri GRAND FLAGaleriji"
230
+
231
+ #: admin/admin.php:233
232
+ msgid "More Help & Info"
233
+ msgstr "Več pomoč&info"
234
+
235
+ #: admin/admin.php:235
236
+ msgid "Grand Flagallery Video Tutorial"
237
+ msgstr "GRAND FlAGlerija video vodič"
238
+
239
+ #: admin/admin.php:236
240
+ msgid "FAQ"
241
+ msgstr "Navodila"
242
+
243
+ #: admin/admin.php:237
244
+ msgid "Grand Flagallery Review"
245
+ msgstr "GRAND FlAGalerija pregled"
246
+
247
+ #: admin/admin.php:238
248
+ msgid "Get your language pack"
249
+ msgstr "Pridobite vaš jezikovni paket"
250
+
251
+ #: admin/admin.php:239
252
+ msgid "Skins for Grand Flagallery"
253
+ msgstr "Preobleke za GRAND FlAGalerijo"
254
+
255
+ #: admin/ajax.php:139 admin/ajax.php:165 admin/facebook-tool.php:13
256
+ msgid "Success"
257
+ msgstr "Uspeh"
258
+
259
+ #: admin/ajax.php:190 admin/functions.php:250 admin/functions.php:290
260
+ msgid "<em>%s</em> was <strong>not</strong> imported due to an error: %s"
261
+ msgstr "<em>%s</em> ni <strong>bil</strong> uvožen zaradi napake: %s"
262
+
263
+ #: admin/ajax.php:192 admin/functions.php:253 admin/functions.php:293
264
+ msgid "<em>%s</em> has been added to Media library"
265
+ msgstr "<em>%s</em> je dodano v Medijsko knjižnico"
266
+
267
+ #: admin/banner-box.php:90 admin/music-box.php:86 admin/video-box.php:80
268
+ msgid "Media updated"
269
+ msgstr "Medij posodobljen"
270
+
271
+ #: admin/banner-box.php:133
272
+ msgid "Import folder is complete. The page reloads after 5 seconds."
273
+ msgstr "Uvoz mape je končan. Stran se ponovno naloži po 5 sekundah"
274
+
275
+ #: admin/banner-box.php:134
276
+ msgid "Import folder complete. Refresh page."
277
+ msgstr "Uvoz mape dokončan. Osvežite stran."
278
+
279
+ #: admin/banner-box.php:155 admin/music-box.php:107 admin/video-box.php:101
280
+ msgid "Created playlists"
281
+ msgstr "Ustvarjen seznam predvajanja"
282
+
283
+ #: admin/banner-box.php:159 admin/banner-sort.php:68 admin/banner-sort.php:76
284
+ #: admin/manage-banner.php:149 admin/manage-galleries.php:153
285
+ #: admin/manage-images.php:232 admin/manage-playlist.php:150
286
+ #: admin/manage-video.php:150 admin/music-box.php:111
287
+ #: admin/playlist-sort.php:68 admin/playlist-sort.php:76
288
+ #: admin/video-box.php:105 admin/video-sort.php:73 admin/video-sort.php:81
289
+ #: lib/meta.php:398
290
+ msgid "Title"
291
+ msgstr "Naslov"
292
+
293
+ #: admin/banner-box.php:160 admin/banner-box.php:433 admin/banner-box.php:442
294
+ #: admin/manage-banner.php:153 admin/manage-banner.php:185
295
+ #: admin/manage-banner.php:194 admin/manage-galleries.php:154
296
+ #: admin/manage-images.php:236 admin/manage-images.php:601
297
+ #: admin/manage-playlist.php:154 admin/manage-playlist.php:187
298
+ #: admin/manage-playlist.php:197 admin/manage-video.php:154
299
+ #: admin/manage-video.php:187 admin/manage-video.php:197
300
+ #: admin/media-upload.php:184 admin/music-box.php:112 admin/music-box.php:402
301
+ #: admin/music-box.php:412 admin/skins.php:385 admin/skins.php:393
302
+ #: admin/video-box.php:106 admin/video-box.php:317 admin/video-box.php:327
303
+ msgid "Description"
304
+ msgstr "Opis"
305
+
306
+ #: admin/banner-box.php:161 admin/manage-galleries.php:156
307
+ #: admin/music-box.php:113 admin/video-box.php:107
308
+ msgid "Quantity"
309
+ msgstr "Količina"
310
+
311
+ #: admin/banner-box.php:162 admin/manage-banner.php:127
312
+ #: admin/manage-playlist.php:128 admin/manage-video.php:128
313
+ #: admin/music-box.php:114 admin/video-box.php:108
314
+ msgid "Shortcode"
315
+ msgstr "Kratka koda (Shortcode)"
316
+
317
+ #: admin/banner-box.php:163 admin/manage-galleries.php:157
318
+ #: admin/music-box.php:115 admin/skins.php:386 admin/skins.php:394
319
+ #: admin/video-box.php:109
320
+ msgid "Action"
321
+ msgstr "Ukrepanje"
322
+
323
+ #: admin/banner-box.php:179 admin/manage-galleries.php:178
324
+ #: admin/music-box.php:131 admin/video-box.php:125
325
+ msgid "Edit"
326
+ msgstr "Uredi"
327
+
328
+ #: admin/banner-box.php:183 admin/music-box.php:135 admin/video-box.php:129
329
+ msgid "player"
330
+ msgstr "predvajalnik"
331
+
332
+ #: admin/banner-box.php:187 admin/music-box.php:139 admin/video-box.php:133
333
+ msgid "Delete this playlist?"
334
+ msgstr "Izbriši seznam predvajanja"
335
+
336
+ #: admin/banner-box.php:187 admin/manage-galleries.php:191
337
+ #: admin/manage-galleries.php:273 admin/manage-images.php:401
338
+ #: admin/music-box.php:139 admin/skins.php:461 admin/skins.php:471
339
+ #: admin/video-box.php:133
340
+ msgid "Delete"
341
+ msgstr "izbriši"
342
+
343
+ #: admin/banner-box.php:193 admin/music-box.php:145 admin/video-box.php:139
344
+ msgid "No playlists found"
345
+ msgstr "Ni najdenega seznama predvajanja"
346
+
347
+ #: admin/banner-box.php:290 admin/manage-banner.php:42
348
+ #: admin/manage-playlist.php:42 admin/manage-video.php:42
349
+ #: admin/music-box.php:248 admin/video-box.php:205
350
+ msgid "No items selected"
351
+ msgstr "Ni izbranih predmetov"
352
+
353
+ #: admin/banner-box.php:336
354
+ msgid "Import banners from folder"
355
+ msgstr "Uvozi oglasne pasice iz mape"
356
+
357
+ #: admin/banner-box.php:345 admin/music-box.php:314 admin/video-box.php:268
358
+ msgid "delete files after import in WordPress Media Library"
359
+ msgstr "izbriši datoteke po nalaganju v Wordpress medijsko knjižnico"
360
+
361
+ #: admin/banner-box.php:355
362
+ msgid "WordPress Image Library"
363
+ msgstr "Wordpress knjižnica slik"
364
+
365
+ #: admin/banner-box.php:379 admin/manage-galleries.php:22
366
+ #: admin/manage-images.php:55 admin/music-box.php:347
367
+ msgid "&laquo;"
368
+ msgstr "&laquo;"
369
+
370
+ #: admin/banner-box.php:380 admin/manage-galleries.php:23
371
+ #: admin/manage-images.php:56 admin/music-box.php:348
372
+ msgid "&raquo;"
373
+ msgstr "&raquo;"
374
+
375
+ #: admin/banner-box.php:387 admin/music-box.php:355
376
+ msgid "Selected Media"
377
+ msgstr "Izbrani mediji"
378
+
379
+ #: admin/banner-box.php:387 admin/music-box.php:355
380
+ msgid "Clear Selected"
381
+ msgstr "Počisti izbrano"
382
+
383
+ #: admin/banner-box.php:389 admin/manage-galleries.php:136
384
+ #: admin/manage-images.php:271 admin/music-box.php:357
385
+ msgid "Displaying %s&#8211;%s of %s"
386
+ msgstr "Prikaz %s&#8211;%s od %s"
387
+
388
+ #: admin/banner-box.php:404 admin/music-box.php:372 admin/video-box.php:287
389
+ msgid "Update Media"
390
+ msgstr "Posodobi medije"
391
+
392
+ #: admin/banner-box.php:407 admin/manage-banner.php:168
393
+ #: admin/manage-galleries.php:124 admin/manage-images.php:280
394
+ #: admin/manage-playlist.php:169 admin/manage-video.php:169
395
+ #: admin/music-box.php:375 admin/video-box.php:290
396
+ msgid "No action"
397
+ msgstr "brez ukrepanja"
398
+
399
+ #: admin/banner-box.php:408 admin/music-box.php:376 admin/video-box.php:291
400
+ msgid "Create new playlist"
401
+ msgstr "Ustvari nov seznam predvajanja"
402
+
403
+ #: admin/banner-box.php:410 admin/manage-galleries.php:131
404
+ #: admin/music-box.php:378 admin/video-box.php:293
405
+ msgid "Apply"
406
+ msgstr "Potrdi"
407
+
408
+ #: admin/banner-box.php:412
409
+ msgid "Upload Banner(s)"
410
+ msgstr "Naloži oglasno pasico"
411
+
412
+ #: admin/banner-box.php:421 admin/manage-banner.php:174
413
+ #: admin/manage-banner.php:244 admin/manage-playlist.php:175
414
+ #: admin/manage-playlist.php:255 admin/manage-video.php:175
415
+ #: admin/manage-video.php:250 admin/music-box.php:389 admin/video-box.php:304
416
+ msgid "Update Playlist"
417
+ msgstr "posodobi seznam predvajanja"
418
+
419
+ #: admin/banner-box.php:429 admin/banner-box.php:438
420
+ #: admin/manage-banner.php:181 admin/manage-banner.php:190
421
+ #: admin/manage-playlist.php:182 admin/manage-playlist.php:192
422
+ #: admin/manage-video.php:182 admin/manage-video.php:192
423
+ #: admin/music-box.php:397 admin/music-box.php:407 admin/video-box.php:312
424
+ #: admin/video-box.php:322
425
+ msgid "Check"
426
+ msgstr "Preveri"
427
+
428
+ #: admin/banner-box.php:430 admin/banner-box.php:439 admin/banner-sort.php:65
429
+ #: admin/banner-sort.php:73 admin/manage-banner.php:182
430
+ #: admin/manage-banner.php:191 admin/manage-galleries.php:152
431
+ #: admin/manage-images.php:596 admin/manage-playlist.php:183
432
+ #: admin/manage-playlist.php:193 admin/manage-sort.php:99
433
+ #: admin/manage-sort.php:108 admin/manage-video.php:183
434
+ #: admin/manage-video.php:193 admin/music-box.php:398 admin/music-box.php:408
435
+ #: admin/playlist-sort.php:65 admin/playlist-sort.php:73
436
+ #: admin/video-box.php:313 admin/video-box.php:323 admin/video-sort.php:70
437
+ #: admin/video-sort.php:78
438
+ msgid "ID"
439
+ msgstr "ID"
440
+
441
+ #: admin/banner-box.php:431 admin/banner-box.php:440
442
+ #: admin/manage-banner.php:183 admin/manage-banner.php:192
443
+ #: admin/manage-images.php:597 admin/manage-playlist.php:185
444
+ #: admin/manage-playlist.php:195 admin/manage-video.php:185
445
+ #: admin/manage-video.php:195 admin/media-upload.php:205
446
+ #: admin/music-box.php:400 admin/music-box.php:410 admin/video-box.php:315
447
+ #: admin/video-box.php:325
448
+ msgid "Thumbnail"
449
+ msgstr "PThumbnail"
450
+
451
+ #: admin/banner-box.php:432 admin/banner-box.php:441
452
+ msgid "Filename / Title / Link"
453
+ msgstr "Ime datoteke / Naslov / Povezava"
454
+
455
+ #: admin/banner-box.php:459 admin/music-box.php:429 admin/video-box.php:351
456
+ msgid "Already Added"
457
+ msgstr "Že dodano"
458
+
459
+ #: admin/banner-box.php:480 admin/manage-banner.php:226
460
+ msgid "URL"
461
+ msgstr "URL"
462
+
463
+ #: admin/banner-box.php:489
464
+ msgid "No images in WordPress Media Library."
465
+ msgstr "Ni slik v Wordpress medijski knjižnici"
466
+
467
+ #: admin/banner-box.php:507 admin/music-box.php:486 admin/video-box.php:410
468
+ msgid "Playlist Title"
469
+ msgstr "Naslov seznama predvajanja"
470
+
471
+ #: admin/banner-box.php:509 admin/facebook-tool.php:180 admin/meta_box.php:126
472
+ #: admin/music-box.php:488 admin/tinymce/window.php:118
473
+ #: admin/video-box.php:412
474
+ msgid "Choose skin"
475
+ msgstr "Izberi preobleko"
476
+
477
+ #: admin/banner-box.php:518 admin/manage-banner.php:140
478
+ #: admin/manage-playlist.php:141 admin/manage-video.php:141
479
+ #: admin/music-box.php:497 admin/video-box.php:421
480
+ msgid "No Skins"
481
+ msgstr "Ni preobleke"
482
+
483
+ #: admin/banner-box.php:526 admin/music-box.php:505 admin/video-box.php:429
484
+ msgid "Playlist Description"
485
+ msgstr "Opis seznama predvajanja"
486
+
487
+ #: admin/banner-box.php:531 admin/manage-galleries.php:335
488
+ #: admin/manage-galleries.php:365 admin/manage-images.php:514
489
+ #: admin/manage-images.php:543 admin/manage-images.php:573
490
+ #: admin/music-box.php:510 admin/video-box.php:434
491
+ msgid "Cancel"
492
+ msgstr "Prekliči"
493
+
494
+ #: admin/banner-box.php:533 admin/manage-banner.php:171
495
+ #: admin/manage-galleries.php:333 admin/manage-galleries.php:363
496
+ #: admin/manage-images.php:290 admin/manage-images.php:512
497
+ #: admin/manage-images.php:541 admin/manage-images.php:571
498
+ #: admin/manage-playlist.php:172 admin/manage-video.php:172
499
+ #: admin/music-box.php:512 admin/video-box.php:436
500
+ msgid "OK"
501
+ msgstr "vredu"
502
+
503
+ #: admin/banner-sort.php:17 admin/manage-sort.php:53
504
+ #: admin/playlist-sort.php:17 admin/video-sort.php:22
505
+ msgid "Sort Gallery"
506
+ msgstr "Razvrsti galerijo"
507
+
508
+ #: admin/banner-sort.php:20 admin/playlist-sort.php:20 admin/video-sort.php:25
509
+ msgid "Back to playlist"
510
+ msgstr "Nazaj na seznam predvajanja"
511
+
512
+ #: admin/banner-sort.php:25 admin/banner-sort.php:108 admin/manage-sort.php:63
513
+ #: admin/manage-sort.php:146 admin/playlist-sort.php:25
514
+ #: admin/playlist-sort.php:106 admin/video-sort.php:30
515
+ #: admin/video-sort.php:113
516
+ msgid "Update Sort Order"
517
+ msgstr "posodobi vrstni red"
518
+
519
+ #: admin/banner-sort.php:66 admin/banner-sort.php:74 admin/manage-sort.php:100
520
+ #: admin/manage-sort.php:109
521
+ msgid "Thumb"
522
+ msgstr "Thumb"
523
+
524
+ #: admin/banner-sort.php:67 admin/banner-sort.php:75
525
+ #: admin/manage-images.php:598 admin/manage-sort.php:101
526
+ #: admin/manage-sort.php:110 admin/playlist-sort.php:67
527
+ #: admin/playlist-sort.php:75 admin/video-sort.php:72 admin/video-sort.php:80
528
+ msgid "Filename"
529
+ msgstr "Ime datoteke"
530
+
531
+ #: admin/banner-sort.php:103 admin/manage-banner.php:238
532
+ #: admin/manage-galleries.php:203 admin/manage-images.php:475
533
+ #: admin/manage-playlist.php:249 admin/manage-sort.php:140
534
+ #: admin/manage-video.php:244 admin/playlist-sort.php:101
535
+ #: admin/video-sort.php:108
536
+ msgid "No entries found"
537
+ msgstr "Ni bilo najdenih vnosov"
538
+
539
+ #: admin/banner.functions.php:151 admin/playlist.functions.php:121
540
+ #: admin/video.functions.php:121
541
+ msgid "Playlist Saved Successfully"
542
+ msgstr "Seznam predvajanja uspešno shranjen"
543
+
544
+ #: admin/banner.functions.php:154 admin/playlist.functions.php:124
545
+ #: admin/video.functions.php:124
546
+ msgid "Create directory please:"
547
+ msgstr "Prosimo ustvari direktorij"
548
+
549
+ #: admin/banner.functions.php:176 admin/playlist.functions.php:146
550
+ #: admin/video.functions.php:146
551
+ msgid "deleted"
552
+ msgstr "izbrisano"
553
+
554
+ #: admin/db_skin_color_scheme.php:51
555
+ msgid "Color Settings"
556
+ msgstr "Nastavitve barve"
557
+
558
+ #: admin/db_skin_color_scheme.php:54
559
+ msgid "Background Color"
560
+ msgstr "Barva ozadja"
561
+
562
+ #: admin/db_skin_color_scheme.php:58
563
+ msgid "Buttons Background Color"
564
+ msgstr "Barva ozadja gumbov"
565
+
566
+ #: admin/db_skin_color_scheme.php:62
567
+ msgid "Buttons Text Color"
568
+ msgstr "Barva pisave gumbov"
569
+
570
+ #: admin/db_skin_color_scheme.php:71 admin/settings.php:262
571
+ msgid "Category Buttons Color"
572
+ msgstr "Barva gumbov kategorije"
573
+
574
+ #: admin/db_skin_color_scheme.php:80
575
+ msgid "Category Buttons Text Color"
576
+ msgstr "Gumbi kategorije barva pisave"
577
+
578
+ #: admin/db_skin_color_scheme.php:89
579
+ msgid "Thumbs Rollover Color"
580
+ msgstr "Barva predoglednih sličic- rollover"
581
+
582
+ #: admin/db_skin_color_scheme.php:98
583
+ msgid "Main Title"
584
+ msgstr "Glavni naslov"
585
+
586
+ #: admin/db_skin_color_scheme.php:102
587
+ msgid "Category Title"
588
+ msgstr "Naslov kategorije"
589
+
590
+ #: admin/db_skin_color_scheme.php:106
591
+ msgid "Item Background"
592
+ msgstr "Ozadje elementa"
593
+
594
+ #: admin/db_skin_color_scheme.php:110
595
+ msgid "Item Title"
596
+ msgstr "Ime elementa"
597
+
598
+ #: admin/db_skin_color_scheme.php:114
599
+ msgid "Item Description"
600
+ msgstr "Opis elementa"
601
+
602
+ #: admin/db_skin_color_scheme.php:120 admin/manage-images.php:260
603
+ #: admin/manage-images.php:298 admin/manage-images.php:481
604
+ #: admin/settings.php:287 admin/settings.php:370 admin/settings.php:401
605
+ msgid "Save Changes"
606
+ msgstr "Shrani spremembe"
607
+
608
+ #: admin/facebook-tool.php:15
609
+ msgid "Failure"
610
+ msgstr "Neuspelo"
611
+
612
+ #: admin/facebook-tool.php:144
613
+ msgid "Facebook Integration"
614
+ msgstr "Facebook integracija"
615
+
616
+ #: admin/facebook-tool.php:155
617
+ msgid "Copy facebook.php file to root directory"
618
+ msgstr "Kopiraj facebook.php v root direktorij"
619
+
620
+ #: admin/facebook-tool.php:158
621
+ msgid "Photo Gallery Facebook Page Generator"
622
+ msgstr "Foto galerija Facebook generator strani"
623
+
624
+ #: admin/facebook-tool.php:161 admin/meta_box.php:107
625
+ #: admin/tinymce/window.php:76
626
+ msgid "Select galleries"
627
+ msgstr "Izberi galerije"
628
+
629
+ #: admin/facebook-tool.php:161 admin/meta_box.php:107
630
+ #: admin/tinymce/window.php:76
631
+ msgid "(album categories)"
632
+ msgstr "(kategorije albuma)"
633
+
634
+ #: admin/facebook-tool.php:163 admin/meta_box.php:109
635
+ #: admin/tinymce/window.php:78
636
+ msgid "all galleries"
637
+ msgstr "vse galerije"
638
+
639
+ #: admin/facebook-tool.php:176 admin/meta_box.php:122
640
+ msgid "Galleries order"
641
+ msgstr "Vrstni red galerij"
642
+
643
+ #: admin/facebook-tool.php:182 admin/meta_box.php:128
644
+ msgid "skin active by default"
645
+ msgstr "Privzeto aktivirana preobleka"
646
+
647
+ #: admin/facebook-tool.php:191 admin/tinymce/window.php:129
648
+ msgid "Skin size"
649
+ msgstr "Velikost preobleke"
650
+
651
+ #: admin/facebook-tool.php:191 admin/tinymce/window.php:129
652
+ msgid "blank for default"
653
+ msgstr "prazno za privzeto"
654
+
655
+ #: admin/facebook-tool.php:192 admin/tinymce/window.php:130
656
+ msgid "width"
657
+ msgstr "širina"
658
+
659
+ #: admin/facebook-tool.php:192 admin/tinymce/window.php:130
660
+ msgid "height"
661
+ msgstr "višina"
662
+
663
+ #: admin/facebook-tool.php:195
664
+ msgid "Post ID"
665
+ msgstr "Post ID"
666
+
667
+ #: admin/facebook-tool.php:195
668
+ msgid "optional"
669
+ msgstr "neobvezno"
670
+
671
+ #: admin/facebook-tool.php:199 admin/facebook-tool.php:221
672
+ #: admin/facebook-tool.php:243 admin/facebook-tool.php:265
673
+ msgid "Facebook Page Url"
674
+ msgstr "Facebook Url strani"
675
+
676
+ #: admin/facebook-tool.php:204
677
+ msgid "mp3 Gallery Facebook Page Generator"
678
+ msgstr "MP3 galerija Facebook generator strani"
679
+
680
+ #: admin/facebook-tool.php:207 admin/facebook-tool.php:209
681
+ #: admin/facebook-tool.php:229 admin/facebook-tool.php:231
682
+ #: widgets/widgets.php:499
683
+ msgid "Choose playlist"
684
+ msgstr "Izberi seznam predvajanja"
685
+
686
+ #: admin/facebook-tool.php:226
687
+ msgid "Video Blog Gallery Facebook Page Generator"
688
+ msgstr "Video blog galerija Facebook generator strani"
689
+
690
+ #: admin/facebook-tool.php:248
691
+ msgid "Banner Box Facebook Page Generator"
692
+ msgstr "Skrinja oglasne pasice Facebook generator strani"
693
+
694
+ #: admin/facebook-tool.php:251
695
+ msgid "Choose xml"
696
+ msgstr "Izberi xml"
697
+
698
+ #: admin/facebook-tool.php:253
699
+ msgid "Choose XML"
700
+ msgstr "Izberi XML"
701
+
702
+ #: admin/flag_install.php:124
703
+ msgid ""
704
+ "Flash Album Gallery : Tables could not created, please check your database "
705
+ "settings"
706
+ msgstr ""
707
+ "Flash Album Gallery : Tabele niso bile ustvarjene, prosim preverite "
708
+ "nastavitve vaše podatkovne baze"
709
+
710
+ #: admin/flag_install.php:149
711
+ msgid "Sorry, Flash Album Gallery works only with a role called administrator"
712
+ msgstr "Oprostite, flash album galerija deluje samo z vlogo administratorja"
713
+
714
+ #: admin/functions.php:46
715
+ msgid "No valid gallery name!"
716
+ msgstr "Neveljavno ime galerije"
717
+
718
+ #: admin/functions.php:53 admin/functions.php:62 admin/functions.php:76
719
+ #: admin/functions.php:153 admin/functions.php:160 admin/functions.php:234
720
+ #: admin/functions.php:241 admin/functions.php:274 admin/functions.php:281
721
+ #: admin/functions.php:314 admin/functions.php:320
722
+ msgid "Directory"
723
+ msgstr "Imenik"
724
+
725
+ #: admin/functions.php:53
726
+ msgid "didn't exist. Please create first the main gallery folder "
727
+ msgstr "ni obstajal. Prvo ustvarite glavno mapo galerije"
728
+
729
+ #: admin/functions.php:54 admin/functions.php:63
730
+ msgid "Check this link, if you didn't know how to set the permission :"
731
+ msgstr "Preverite to povezavo, če ne znate spremeniti dovoljenja"
732
+
733
+ #: admin/functions.php:62 admin/functions.php:76
734
+ msgid "is not writeable !"
735
+ msgstr "ni zapisljivo"
736
+
737
+ #: admin/functions.php:71 admin/functions.php:81 lib/core.php:100
738
+ msgid "Unable to create directory "
739
+ msgstr "ne morem ustvariti direktorija"
740
+
741
+ #: admin/functions.php:85
742
+ msgid "The server setting Safe-Mode is on !"
743
+ msgstr "Strežnik v varnem načinu!"
744
+
745
+ #: admin/functions.php:86
746
+ msgid "If you have problems, please create directory"
747
+ msgstr "Če imate težave prosim ustvarite direktorij"
748
+
749
+ #: admin/functions.php:87
750
+ msgid "and the thumbnails directory"
751
+ msgstr "in direktorij predoglednih sličic"
752
+
753
+ #: admin/functions.php:87
754
+ msgid "with permission 777 manually !"
755
+ msgstr "z ročnim vnosom 777 dovoljenja"
756
+
757
+ #: admin/functions.php:105
758
+ msgid "already exists"
759
+ msgstr "že obstaja"
760
+
761
+ #: admin/functions.php:115
762
+ msgid ""
763
+ "Gallery '%1$s' successfully created.<br/>You can show this gallery with the "
764
+ "tag %2$s.<br/>"
765
+ msgstr ""
766
+ "Galerija '%1$s' je bila uspešno ustvarjena.//n Galerijo lahko pokažete s "
767
+ "tagom %2$s.//n"
768
+
769
+ #: admin/functions.php:118
770
+ msgid "Edit gallery"
771
+ msgstr "Uredi galerijo"
772
+
773
+ #: admin/functions.php:153 admin/functions.php:234 admin/functions.php:274
774
+ #: admin/functions.php:314
775
+ msgid "doesn&#96;t exist!"
776
+ msgstr "ne obstaja"
777
+
778
+ #: admin/functions.php:160
779
+ msgid "contains no pictures"
780
+ msgstr "ne vsebuje slik"
781
+
782
+ #: admin/functions.php:178
783
+ msgid "Database error. Could not add gallery!"
784
+ msgstr "Napaka podatkovne baze. galerije ni bilo možno dodati"
785
+
786
+ #: admin/functions.php:181
787
+ msgid "successfully created!"
788
+ msgstr "uspešno ustvarjena"
789
+
790
+ #: admin/functions.php:210 admin/functions.php:894
791
+ #: admin/manage-galleries.php:125 admin/manage-images.php:281
792
+ #: admin/manage.php:232 admin/manage.php:301
793
+ msgid "Create new thumbnails"
794
+ msgstr "Ustvari nove thumbnaile"
795
+
796
+ #: admin/functions.php:213
797
+ msgid " picture(s) successfully added"
798
+ msgstr "slika uspešno dodana"
799
+
800
+ #: admin/functions.php:241
801
+ msgid "does not contain flv files"
802
+ msgstr "Ne vsebuje flv datotek"
803
+
804
+ #: admin/functions.php:256 admin/functions.php:296
805
+ msgid " file(s) successfully added"
806
+ msgstr "slik(a)e uspešno dodana(e)"
807
+
808
+ #: admin/functions.php:281
809
+ msgid "does not contain mp3 files"
810
+ msgstr "Ne vsebuje mp3 datotek"
811
+
812
+ #: admin/functions.php:320
813
+ msgid "does not contain image files"
814
+ msgstr "Ne vsebuje slikovnih datotek"
815
+
816
+ #: admin/functions.php:323
817
+ msgid "image(s) in the folder"
818
+ msgstr "Slik(a)e v mapi"
819
+
820
+ #: admin/functions.php:323
821
+ msgid "Crunching..."
822
+ msgstr "Škrtanje..."
823
+
824
+ #: admin/functions.php:348
825
+ msgid "File type does not meet security guidelines. Try another."
826
+ msgstr "Tip datoteke ne ustreza varnostnim napotkom. poskusi drugega."
827
+
828
+ #: admin/functions.php:379
829
+ msgid "The selected file could not be copied to %s."
830
+ msgstr "Izbrane, datoteke ni bilo mogoče kopirati v %s."
831
+
832
+ #: admin/functions.php:478 admin/functions.php:552
833
+ msgid "Object didn't contain correct data"
834
+ msgstr "Predmet ni vseboval pravilnih podatkov"
835
+
836
+ #: admin/functions.php:483
837
+ msgid " is not writeable "
838
+ msgstr "ni zapisljivo"
839
+
840
+ #: admin/functions.php:562
841
+ msgid " is not writeable"
842
+ msgstr "ni zapisljiv"
843
+
844
+ #: admin/functions.php:657 admin/functions.php:710
845
+ msgid "(Error : Couldn't not update data base)"
846
+ msgstr "(Napaka: ni bilo mogoče posodobiti podatkovne baze)"
847
+
848
+ #: admin/functions.php:664
849
+ msgid "(Error : Couldn't not update meta data)"
850
+ msgstr "(Napaka: ni bilo mogoče posodobiti meta posatkov)"
851
+
852
+ #: admin/functions.php:666 admin/functions.php:713
853
+ msgid "(Error : Couldn't not find image)"
854
+ msgstr "(Napaka: ni bilo mogoče najti slike)"
855
+
856
+ #: admin/functions.php:827 admin/functions.php:944
857
+ msgid "Failure in database, no gallery path set !"
858
+ msgstr "Napaka v podatkovni bazi, pot do galerije ni nastavljena!"
859
+
860
+ #: admin/functions.php:851 admin/functions.php:938
861
+ msgid "is no valid image file!"
862
+ msgstr "ni veljavna slikovna datoteka!"
863
+
864
+ #: admin/functions.php:865 admin/functions.php:1105 admin/functions.php:1178
865
+ msgid ""
866
+ "Unable to write to directory %s. Is this directory writable by the server?"
867
+ msgstr ""
868
+ "Ni bilo mogoče zapisati v direktorij %s. Ali je direktorij zapisljiv iz "
869
+ "strani strežnika?"
870
+
871
+ #: admin/functions.php:872 admin/functions.php:961
872
+ msgid "Error, the file could not moved to : "
873
+ msgstr "Napaka, datoteke ni bilo mogoče prestaviti v :"
874
+
875
+ #: admin/functions.php:877 admin/functions.php:965
876
+ msgid "Error, the file permissions could not set"
877
+ msgstr "Napaka, dovoljenja datoteke ni bilo mogoče nastaviti"
878
+
879
+ #: admin/functions.php:898
880
+ msgid " Image(s) successfully added"
881
+ msgstr "Slike (a)uspešno dodane(a)"
882
+
883
+ #: admin/functions.php:918
884
+ msgid "No gallery selected!"
885
+ msgstr "Ni izbrane galerije!"
886
+
887
+ #: admin/functions.php:980
888
+ msgid "The uploaded file exceeds the upload_max_filesize directive in php.ini"
889
+ msgstr "Naložena datoteka presega MAX_FILE_SIZE v php.ini"
890
+
891
+ #: admin/functions.php:982
892
+ msgid ""
893
+ "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in "
894
+ "the HTML form"
895
+ msgstr "Naložena datoteka presega MAX_FILE_SIZE , ki je določena v HTMLformi"
896
+
897
+ #: admin/functions.php:984
898
+ msgid "The uploaded file was only partially uploaded"
899
+ msgstr "Naložena datoteka je bila le delno naložena"
900
+
901
+ #: admin/functions.php:986
902
+ msgid "No file was uploaded"
903
+ msgstr "Ni bilo naložene datoteke"
904
+
905
+ #: admin/functions.php:988
906
+ msgid "Missing a temporary folder"
907
+ msgstr "Manjka začasna mapa"
908
+
909
+ #: admin/functions.php:990
910
+ msgid "Failed to write file to disk"
911
+ msgstr "Ni bilo mogoče zapisati datoteke na disk"
912
+
913
+ #: admin/functions.php:992
914
+ msgid "File upload stopped by extension"
915
+ msgstr "Nalaganje datoteke ustavljeno iz strani razširitve"
916
+
917
+ #: admin/functions.php:994
918
+ msgid "Unknown upload error"
919
+ msgstr "Neznana napaka nalaganja"
920
+
921
+ #: admin/functions.php:1008
922
+ msgid ""
923
+ "Sorry, you have used your space allocation. Please delete some files to "
924
+ "upload more files."
925
+ msgstr ""
926
+ "Oprostite, galerija je prepolna. Prosim izbrišite nekaj datotek, če želite "
927
+ "naložiti več datotek"
928
+
929
+ #: admin/functions.php:1048
930
+ msgid ""
931
+ "SAFE MODE Restriction in effect! You need to create the folder <strong>%s</"
932
+ "strong> manually"
933
+ msgstr ""
934
+ "Omejitev varnega načina v efektu! ustvariti morate mapo <strong>%s</strong> "
935
+ "ročno"
936
+
937
+ #: admin/functions.php:1049
938
+ msgid ""
939
+ "When safe_mode is on, PHP checks to see if the owner (%s) of the current "
940
+ "script matches the owner (%s) of the file to be operated on by a file "
941
+ "function or its directory"
942
+ msgstr ""
943
+ "Ko je safe_mode aktiven, PHP preveri če se lastnik (%s) trenutne skripte "
944
+ "ujema z lastnikom (%s) datoteke s katero bo upravljano naprej z datotečno "
945
+ "funkcijo ali njenim direktorijem"
946
+
947
+ #: admin/functions.php:1099 admin/functions.php:1172
948
+ msgid "The destination gallery does not exist"
949
+ msgstr "Ciljna galerija ne obstaja"
950
+
951
+ #: admin/functions.php:1130
952
+ msgid "Failed to move image %1$s to %2$s"
953
+ msgstr "Neuspeli prenos slike %1$s v %2$s"
954
+
955
+ #: admin/functions.php:1148
956
+ msgid "Moved %1$s picture(s) to gallery : %2$s ."
957
+ msgstr "Prestavljen(a)e slik(a)e v galerijo: %2$s ."
958
+
959
+ #: admin/functions.php:1205
960
+ msgid "Failed to copy image %1$s to %2$s"
961
+ msgstr "Neuspelo kopiranje slike %1$s v %2$s"
962
+
963
+ #: admin/functions.php:1217
964
+ msgid "Failed to copy database row for picture %s"
965
+ msgstr "Neuspelo kopiranje podatkovne vrstice za sliko %s"
966
+
967
+ #: admin/functions.php:1222
968
+ msgid ""
969
+ "Image %1$s (%2$s) copied as image %3$s (%4$s) &raquo; The file already "
970
+ "existed in the destination gallery."
971
+ msgstr ""
972
+ "Slika %1$s (%2$s) kopirana kot slika %3$s (%4$s) &raquo; Datoteka je že "
973
+ "obstajala v ciljni galeriji."
974
+
975
+ #: admin/functions.php:1225
976
+ msgid "Image %1$s (%2$s) copied as image %3$s (%4$s)"
977
+ msgstr "Slika %1$s (%2$s) kopirana kot slika %3$s (%4$s)"
978
+
979
+ #: admin/functions.php:1234
980
+ msgid "Copied %1$s picture(s) to gallery: %2$s ."
981
+ msgstr "Kopirana %1$s slika(e) v galerijo: %2$s ."
982
+
983
+ #: admin/grab_meta.php:13 admin/showmeta.php:28
984
+ msgid "Meta Data"
985
+ msgstr "Meta podatki"
986
+
987
+ #: admin/grab_meta.php:20 admin/showmeta.php:48
988
+ msgid "No meta data saved"
989
+ msgstr "Ni shranjenih meta podatkov"
990
+
991
+ #: admin/grab_meta.php:23 admin/showmeta.php:54
992
+ msgid "EXIF Data"
993
+ msgstr "EXIF podatki"
994
+
995
+ #: admin/grab_meta.php:29 admin/showmeta.php:80
996
+ msgid "IPTC Data"
997
+ msgstr "IPTC podatki"
998
+
999
+ #: admin/grab_meta.php:35 admin/showmeta.php:104
1000
+ msgid "XMP Data"
1001
+ msgstr "XMP podatki"
1002
+
1003
+ #: admin/manage-banner.php:50 admin/manage-playlist.php:50
1004
+ #: admin/manage-video.php:50
1005
+ msgid ""
1006
+ "You are about to delete %s item(s) \n"
1007
+ " \n"
1008
+ " 'Cancel' to stop, 'OK' to proceed."
1009
+ msgstr ""
1010
+ "Izbrisali boste %s predmet(e) \\n\\n'Prekliči' za preklic, 'Vredu' za "
1011
+ "nadaljevanje."
1012
+
1013
+ #: admin/manage-banner.php:54 admin/manage-playlist.php:54
1014
+ #: admin/manage-video.php:54
1015
+ msgid ""
1016
+ "You are about to start the bulk edit for %s item(s) \n"
1017
+ " \n"
1018
+ " 'Cancel' to stop, 'OK' to proceed."
1019
+ msgstr ""
1020
+ "Ste pred začetkom skupinskega urejanja %s predmeta(ov)) \n"
1021
+ " \n"
1022
+ " 'Prekliči' za ustavitev, 'Vredu' za nadaljevanje"
1023
+
1024
+ #: admin/manage-banner.php:100 admin/manage-playlist.php:101
1025
+ #: admin/manage-video.php:101
1026
+ msgid "Playlist"
1027
+ msgstr "Seznam predvajanja"
1028
+
1029
+ #: admin/manage-banner.php:102
1030
+ msgid "Back to Banner Box"
1031
+ msgstr "Nazaj v skrinjo oglasne pasice"
1032
+
1033
+ #: admin/manage-banner.php:104 admin/manage-playlist.php:105
1034
+ #: admin/manage-video.php:105
1035
+ msgid "Choose another playlist"
1036
+ msgstr "Izberite drugo predvajalno listo"
1037
+
1038
+ #: admin/manage-banner.php:123 admin/manage-playlist.php:124
1039
+ #: admin/manage-video.php:124
1040
+ msgid "Playlist settings"
1041
+ msgstr "Nastavitve predvajalne liste"
1042
+
1043
+ #: admin/manage-banner.php:129 admin/manage-playlist.php:130
1044
+ #: admin/manage-video.php:130
1045
+ msgid "Playlist Skin"
1046
+ msgstr "Preobleka seznama predvajanja"
1047
+
1048
+ #: admin/manage-banner.php:143 admin/manage-playlist.php:144
1049
+ #: admin/manage-video.php:144
1050
+ msgid "Change Skin Options"
1051
+ msgstr "Spremeni nastavitve preoblek"
1052
+
1053
+ #: admin/manage-banner.php:145 admin/manage-playlist.php:146
1054
+ #: admin/manage-video.php:146
1055
+ msgid "Update skin options for this playlist"
1056
+ msgstr "Posodobi nastavitve za ta seznam predvajanja"
1057
+
1058
+ #: admin/manage-banner.php:157 admin/manage-images.php:240
1059
+ #: admin/manage-playlist.php:158 admin/manage-video.php:158
1060
+ msgid "Path"
1061
+ msgstr "Pot"
1062
+
1063
+ #: admin/manage-banner.php:169 admin/manage-playlist.php:170
1064
+ #: admin/manage-video.php:170
1065
+ msgid "Delete items"
1066
+ msgstr "Izbriši predmete"
1067
+
1068
+ #: admin/manage-banner.php:172 admin/manage-playlist.php:173
1069
+ #: admin/manage-video.php:173
1070
+ msgid "Sort Playlist"
1071
+ msgstr "Sortiraj seznam predvajanja"
1072
+
1073
+ #: admin/manage-banner.php:173 admin/manage-playlist.php:174
1074
+ #: admin/manage-video.php:174
1075
+ msgid "Add/Remove Items from Playlist"
1076
+ msgstr "Dodaj/Odstrani predmete iz seznama predvajanja"
1077
+
1078
+ #: admin/manage-banner.php:184 admin/manage-banner.php:193
1079
+ #: admin/manage-playlist.php:186 admin/manage-playlist.php:196
1080
+ #: admin/manage-video.php:186 admin/manage-video.php:196
1081
+ #: admin/music-box.php:401 admin/music-box.php:411 admin/video-box.php:316
1082
+ #: admin/video-box.php:326
1083
+ msgid "Filename / Title"
1084
+ msgstr "Ime datoteke/ Naslov"
1085
+
1086
+ #: admin/manage-galleries.php:64 admin/manage-images.php:150
1087
+ msgid "No images selected"
1088
+ msgstr "Ni izbranih slik"
1089
+
1090
+ #: admin/manage-galleries.php:81
1091
+ msgid ""
1092
+ "You are about to start the bulk edit for %s galleries \n"
1093
+ " \n"
1094
+ " 'Cancel' to stop, 'OK' to proceed."
1095
+ msgstr ""
1096
+ "Ste pred začetkom skupinskega urejanja %s galerij\n"
1097
+ " \n"
1098
+ " 'Prekliči' za ustavitev, 'Vredu' za nadaljevanje"
1099
+
1100
+ #: admin/manage-galleries.php:106
1101
+ msgid "Gallery Overview"
1102
+ msgstr "Pregled galerije"
1103
+
1104
+ #: admin/manage-galleries.php:109 admin/manage-galleries.php:112
1105
+ #: admin/manage-images.php:190 admin/manage-images.php:193
1106
+ msgid "Search Images"
1107
+ msgstr "Išči slike"
1108
+
1109
+ #: admin/manage-galleries.php:126 admin/manage-images.php:282
1110
+ #: admin/manage.php:216 admin/manage.php:287
1111
+ msgid "Resize images"
1112
+ msgstr "Spremeni velikost slike"
1113
+
1114
+ #: admin/manage-galleries.php:127 admin/manage-images.php:284
1115
+ #: admin/manage.php:194 admin/manage.php:268
1116
+ msgid "Import metadata"
1117
+ msgstr "Uvozi meta podatke"
1118
+
1119
+ #: admin/manage-galleries.php:128 admin/manage-images.php:285
1120
+ msgid "Metadata to description"
1121
+ msgstr "meta podatki v opis"
1122
+
1123
+ #: admin/manage-galleries.php:155 admin/manage-images.php:244 lib/meta.php:399
1124
+ msgid "Author"
1125
+ msgstr "Autor"
1126
+
1127
+ #: admin/manage-galleries.php:184 admin/manage-galleries.php:195
1128
+ msgid "Draft"
1129
+ msgstr "Osnutek"
1130
+
1131
+ #: admin/manage-galleries.php:191
1132
+ msgid "Delete this gallery ?"
1133
+ msgstr "Izbriši galerijo"
1134
+
1135
+ #: admin/manage-galleries.php:193
1136
+ msgid "Publish this gallery?"
1137
+ msgstr "Objavi to galerijo"
1138
+
1139
+ #: admin/manage-galleries.php:193
1140
+ msgid "Publish"
1141
+ msgstr "Objavi"
1142
+
1143
+ #: admin/manage-galleries.php:195
1144
+ msgid "Make this gallery draft?"
1145
+ msgstr "Naredi osnutek te galerije"
1146
+
1147
+ #: admin/manage-galleries.php:260 admin/tinymce/window.php:50
1148
+ #: admin/tinymce/window.php:59
1149
+ msgid "Albums"
1150
+ msgstr "Albumi"
1151
+
1152
+ #: admin/manage-galleries.php:262
1153
+ msgid "Create New Album"
1154
+ msgstr "Ustvari nov album"
1155
+
1156
+ #: admin/manage-galleries.php:263
1157
+ msgid "Categories"
1158
+ msgstr "Kategorije"
1159
+
1160
+ #: admin/manage-galleries.php:273 admin/skins.php:333
1161
+ msgid "Save"
1162
+ msgstr "Shrani"
1163
+
1164
+ #: admin/manage-galleries.php:284
1165
+ msgid "Drag&Drop Categories Here"
1166
+ msgstr "Povleci&Spusti kategorije tukaj"
1167
+
1168
+ #: admin/manage-galleries.php:291
1169
+ msgid "No Albums"
1170
+ msgstr "Ni albumov"
1171
+
1172
+ #: admin/manage-galleries.php:324 admin/manage-images.php:532
1173
+ msgid "Resize Images to"
1174
+ msgstr "Spremeni velikost slik na"
1175
+
1176
+ #: admin/manage-galleries.php:328
1177
+ msgid "Width x height (in pixel). FlAGallery will keep ratio size"
1178
+ msgstr "širino x višino v (px). FLAGalerija bo obdaržala razmerje slike"
1179
+
1180
+ #: admin/manage-galleries.php:352 admin/manage-images.php:560
1181
+ msgid "Width x height (in pixel)"
1182
+ msgstr "širina x višina v (px)"
1183
+
1184
+ #: admin/manage-galleries.php:354 admin/manage-images.php:562
1185
+ msgid "These values are maximum values "
1186
+ msgstr "Te vrednosti so maksimalne vrednosti"
1187
+
1188
+ #: admin/manage-galleries.php:357 admin/manage-images.php:565
1189
+ msgid "Set fix dimension"
1190
+ msgstr "Nastavi fiksne mere"
1191
+
1192
+ #: admin/manage-galleries.php:359 admin/manage-images.php:567
1193
+ msgid "Ignore the aspect ratio, no portrait thumbnails"
1194
+ msgstr "Ignoriraj razmerje slike, ni portretnih predoglednih sličic"
1195
+
1196
+ #: admin/manage-images.php:31
1197
+ msgid "Gallery not found."
1198
+ msgstr "Galerija ni najdena"
1199
+
1200
+ #: admin/manage-images.php:37
1201
+ msgid "Sorry, you have no access here"
1202
+ msgstr "Oprostite, nimate dostopa tukaj"
1203
+
1204
+ #: admin/manage-images.php:172
1205
+ msgid ""
1206
+ "You are about to start the bulk edit for %s images \n"
1207
+ " \n"
1208
+ " 'Cancel' to stop, 'OK' to proceed."
1209
+ msgstr ""
1210
+ "Ste pred začetkom skupinskega urejanja %s slik \n"
1211
+ " \n"
1212
+ " 'Prekliči' za ustavitev, 'Vredu' za nadaljevanje"
1213
+
1214
+ #: admin/manage-images.php:187
1215
+ msgid "Search results for &#8220;%s&#8221;"
1216
+ msgstr "Iskalni rezultati za &#8220;%s&#8221;"
1217
+
1218
+ #: admin/manage-images.php:207
1219
+ msgid "Choose another gallery"
1220
+ msgstr "Izberite drugo galerijo"
1221
+
1222
+ #: admin/manage-images.php:228
1223
+ msgid "Gallery settings"
1224
+ msgstr "Nastavitve galerije"
1225
+
1226
+ #: admin/manage-images.php:259
1227
+ msgid "Scan Folder for new images"
1228
+ msgstr "Skeniraj mapo za druge slike"
1229
+
1230
+ #: admin/manage-images.php:283
1231
+ msgid "Delete images"
1232
+ msgstr "Izbriši slike"
1233
+
1234
+ #: admin/manage-images.php:286
1235
+ msgid "Copy to..."
1236
+ msgstr "Kopiraj v "
1237
+
1238
+ #: admin/manage-images.php:287
1239
+ msgid "Move to..."
1240
+ msgstr "Premakni v "
1241
+
1242
+ #: admin/manage-images.php:293
1243
+ msgid "Sort gallery"
1244
+ msgstr "Sortiraj galerijo"
1245
+
1246
+ #: admin/manage-images.php:296
1247
+ msgid "Add Images"
1248
+ msgstr "Dodaj slike"
1249
+
1250
+ #: admin/manage-images.php:389 admin/manage-images.php:393
1251
+ msgid "Size: "
1252
+ msgstr "Velikost:"
1253
+
1254
+ #: admin/manage-images.php:389 admin/manage-images.php:393
1255
+ msgid "pixel"
1256
+ msgstr "piksel"
1257
+
1258
+ #: admin/manage-images.php:398
1259
+ msgid "View \"%s\""
1260
+ msgstr "Poglej \"%s\""
1261
+
1262
+ #: admin/manage-images.php:398
1263
+ msgid "View"
1264
+ msgstr "Pogled"
1265
+
1266
+ #: admin/manage-images.php:399
1267
+ msgid "Show Meta data"
1268
+ msgstr "pokaži meta podatke"
1269
+
1270
+ #: admin/manage-images.php:399
1271
+ msgid "Meta"
1272
+ msgstr "Meta"
1273
+
1274
+ #: admin/manage-images.php:400
1275
+ msgid "Customize thumbnail"
1276
+ msgstr "Spremeni thumbnail"
1277
+
1278
+ #: admin/manage-images.php:400
1279
+ msgid "Edit thumb"
1280
+ msgstr "Uredi thumb"
1281
+
1282
+ #: admin/manage-images.php:401
1283
+ msgid "Delete \"%s\""
1284
+ msgstr "Izbriši \"%s\""
1285
+
1286
+ #: admin/manage-images.php:496
1287
+ msgid "Select the destination gallery:"
1288
+ msgstr "Izberi ciljno galerijo"
1289
+
1290
+ #: admin/manage-images.php:536
1291
+ msgid "Width x height (in pixel). Grand Flagallery will keep ratio size"
1292
+ msgstr ""
1293
+ "Širina x višina (v pikslih). GRAND FLAGalerija bo obdržala razmerje velikosti"
1294
+
1295
+ #: admin/manage-images.php:599
1296
+ msgid "Views / Likes"
1297
+ msgstr "Ogledi / Všečki"
1298
+
1299
+ #: admin/manage-images.php:600
1300
+ msgid "Rating"
1301
+ msgstr "Ocena"
1302
+
1303
+ #: admin/manage-images.php:601 admin/manage-sort.php:103
1304
+ #: admin/manage-sort.php:112
1305
+ msgid "Alt &amp; Title Text"
1306
+ msgstr "Alt &amp; naslov "
1307
+
1308
+ #: admin/manage-images.php:602
1309
+ msgid "Only for logged in users"
1310
+ msgstr "Samo za prijavljene uporabnike"
1311
+
1312
+ #: admin/manage-playlist.php:103
1313
+ msgid "Back to Music Box"
1314
+ msgstr "Nazaj v skrinjo glasbe"
1315
+
1316
+ #: admin/manage-playlist.php:184 admin/manage-playlist.php:194
1317
+ #: admin/manage-video.php:184 admin/manage-video.php:194
1318
+ #: admin/media-upload.php:201 admin/music-box.php:399 admin/music-box.php:409
1319
+ #: admin/video-box.php:314 admin/video-box.php:324
1320
+ msgid "Size"
1321
+ msgstr "Velikost"
1322
+
1323
+ #: admin/manage-playlist.php:233 admin/manage-video.php:232
1324
+ #: admin/music-box.php:454 admin/video-box.php:380
1325
+ msgid "Thumb URL:"
1326
+ msgstr "URL predogledne sličice"
1327
+
1328
+ #: admin/manage-playlist.php:233 admin/manage-video.php:232
1329
+ #: admin/music-box.php:454 admin/video-box.php:380
1330
+ msgid "Add an Image"
1331
+ msgstr "Dodaj sliko"
1332
+
1333
+ #: admin/manage-playlist.php:233 admin/manage-video.php:232
1334
+ #: admin/music-box.php:454 admin/video-box.php:380
1335
+ msgid "assist"
1336
+ msgstr "asistiraj"
1337
+
1338
+ #: admin/manage-sort.php:31
1339
+ msgid "Sort order changed"
1340
+ msgstr "vrstni red se je spremenil"
1341
+
1342
+ #: admin/manage-sort.php:57
1343
+ msgid "Back to gallery"
1344
+ msgstr "Nazaj v galerijo"
1345
+
1346
+ #: admin/manage-sort.php:102 admin/manage-sort.php:111
1347
+ msgid "Date"
1348
+ msgstr "Datum"
1349
+
1350
+ #: admin/manage-video.php:103
1351
+ msgid "Back to Video Box"
1352
+ msgstr "Nazaj v skrinjo videa"
1353
+
1354
+ #: admin/manage.php:101 admin/manage.php:153 admin/skins.php:217
1355
+ msgid "deleted successfully"
1356
+ msgstr "Uspešno izbrisano"
1357
+
1358
+ #: admin/manage.php:112
1359
+ msgid "now in draft"
1360
+ msgstr "zdaj v osnutku"
1361
+
1362
+ #: admin/manage.php:120
1363
+ msgid "now visible"
1364
+ msgstr "zdaj vidno"
1365
+
1366
+ #: admin/manage.php:134
1367
+ msgid "Album"
1368
+ msgstr "Album"
1369
+
1370
+ #: admin/manage.php:134
1371
+ msgid "successfully created"
1372
+ msgstr "uspešno ustvarjeno"
1373
+
1374
+ #: admin/manage.php:153
1375
+ msgid "Picture"
1376
+ msgstr "Slika"
1377
+
1378
+ #: admin/manage.php:162
1379
+ msgid "Operation successful. Please clear your browser cache."
1380
+ msgstr "Operacija uspešna, prosim izpraznite predpomnilnik brskalnika"
1381
+
1382
+ #: admin/manage.php:199 admin/manage.php:271
1383
+ msgid "Copy metadata to image Description"
1384
+ msgstr "Kopiraj meta podatke v opis slike"
1385
+
1386
+ #: admin/manage.php:264
1387
+ msgid "Pictures deleted successfully "
1388
+ msgstr "Slike uspešno izbrisane"
1389
+
1390
+ #: admin/manage.php:345
1391
+ msgid "Update successful"
1392
+ msgstr "Posodobitev uspešna"
1393
+
1394
+ #: admin/manage_thumbnail.php:17 admin/manage_thumbnail.php:20
1395
+ #: admin/showmeta.php:10 admin/showmeta.php:13
1396
+ msgid "Cheatin&#8217; uh?"
1397
+ msgstr "Varaš&#8217; uh?"
1398
+
1399
+ #: admin/manage_thumbnail.php:107
1400
+ msgid "Select with the mouse the area for the new thumbnail."
1401
+ msgstr "Z miško izberite področje novih thumbnailov"
1402
+
1403
+ #: admin/manage_thumbnail.php:121
1404
+ msgid "Thumbnail updated"
1405
+ msgstr "Thumbnail posodobljen"
1406
+
1407
+ #: admin/manage_thumbnail.php:126
1408
+ msgid "Error updating thumbnail."
1409
+ msgstr "napaka med posodabljanjem thumbnailov+"
1410
+
1411
+ #: admin/manage_thumbnail.php:143
1412
+ msgid "Select the area for the thumbnail from the picture on the left."
1413
+ msgstr "Izberite mesto thumbnaila na sliki levo."
1414
+
1415
+ #: admin/manage_thumbnail.php:158 admin/wpmu.php:61
1416
+ msgid "Update"
1417
+ msgstr "Posodobi"
1418
+
1419
+ #: admin/media-upload.php:125
1420
+ msgid "No gallery"
1421
+ msgstr "Ni galerije"
1422
+
1423
+ #: admin/media-upload.php:137
1424
+ msgid "Select &#187;"
1425
+ msgstr "Označi &#187;"
1426
+
1427
+ #: admin/media-upload.php:168
1428
+ msgid "Show"
1429
+ msgstr "Pokaži"
1430
+
1431
+ #: admin/media-upload.php:169
1432
+ msgid "Hide"
1433
+ msgstr "Skrij"
1434
+
1435
+ #: admin/media-upload.php:174
1436
+ msgid "Image ID:"
1437
+ msgstr "ID: slike"
1438
+
1439
+ #: admin/media-upload.php:180
1440
+ msgid "Alt/Title text"
1441
+ msgstr "Alt/ naslovni text"
1442
+
1443
+ #: admin/media-upload.php:188
1444
+ msgid "Alignment"
1445
+ msgstr "Poravnava"
1446
+
1447
+ #: admin/media-upload.php:191
1448
+ msgid "None"
1449
+ msgstr "Nobena"
1450
+
1451
+ #: admin/media-upload.php:193
1452
+ msgid "Left"
1453
+ msgstr "Leva"
1454
+
1455
+ #: admin/media-upload.php:195
1456
+ msgid "Center"
1457
+ msgstr "Sredinska"
1458
+
1459
+ #: admin/media-upload.php:197
1460
+ msgid "Right"
1461
+ msgstr "Desna"
1462
+
1463
+ #: admin/media-upload.php:207
1464
+ msgid "Full size"
1465
+ msgstr "Polna velikost"
1466
+
1467
+ #: admin/media-upload.php:215
1468
+ msgid "Insert into Post"
1469
+ msgstr "Vstavi v prispevek"
1470
+
1471
+ #: admin/media-upload.php:225
1472
+ msgid "Save all changes"
1473
+ msgstr "Shrani vse spremembe"
1474
+
1475
+ #: admin/meta_box.php:139
1476
+ msgid "Back Button Text"
1477
+ msgstr "Gumb nazaj (text)"
1478
+
1479
+ #: admin/meta_box.php:141
1480
+ msgid "Leave empty to hide Back button"
1481
+ msgstr "Pusti prazno, če želiš skriti NAZAJ gumb"
1482
+
1483
+ #: admin/meta_box.php:144
1484
+ msgid "Back Button Link"
1485
+ msgstr "Nazaj gumb povezava"
1486
+
1487
+ #: admin/meta_box.php:146
1488
+ msgid "Leave empty to use referer link"
1489
+ msgstr "Pusti prazno, če želiš uporabiti referer povezavo"
1490
+
1491
+ #: admin/meta_box.php:149 admin/tinymce/window.php:53
1492
+ #: admin/tinymce/window.php:62 widgets/widgets.php:595
1493
+ msgid "Music"
1494
+ msgstr "Glasba"
1495
+
1496
+ #: admin/meta_box.php:151 admin/tinymce/window.php:176
1497
+ msgid "choose playlist"
1498
+ msgstr "Izberi seznam predvajanja"
1499
+
1500
+ #: admin/meta_box.php:161
1501
+ msgid "(optional) Read Skin specification for supporting this function."
1502
+ msgstr "(poljubno) Preberi specifikacije preobleke za podporo te funkcije"
1503
+
1504
+ #: admin/meta_box.php:164
1505
+ msgid "Background Image Link"
1506
+ msgstr "Povezava ozadja slike"
1507
+
1508
+ #: admin/meta_box.php:166
1509
+ msgid "(optional) Be sure you set Wmode to 'transparent' in skin's options"
1510
+ msgstr ""
1511
+ "(poljubno) Prepričajte se, da nastavite Wmode na 'transparent' v nastavitvah "
1512
+ "preobleke"
1513
+
1514
+ #: admin/meta_box.php:169
1515
+ msgid "Background Position"
1516
+ msgstr "postavitev ozadja"
1517
+
1518
+ #: admin/meta_box.php:183
1519
+ msgid "Background Repeat"
1520
+ msgstr "Ozadje ponavljanje"
1521
+
1522
+ #: admin/music-box.php:305
1523
+ msgid "Import mp3 from folder"
1524
+ msgstr "Uvozi mp3 iz mape"
1525
+
1526
+ #: admin/music-box.php:324
1527
+ msgid "WordPress Music Library"
1528
+ msgstr "Wordpress knjižnica glasbe"
1529
+
1530
+ #: admin/music-box.php:380
1531
+ msgid "Upload Music"
1532
+ msgstr "Naloži glasbo"
1533
+
1534
+ #: admin/music-box.php:468
1535
+ msgid "No music in WordPress Media Library."
1536
+ msgstr "Ni glasbe v Wordpress medijski knjižnici."
1537
+
1538
+ #: admin/overview.php:14
1539
+ msgid "Grand Flagallery Overview"
1540
+ msgstr "GRAND FlAGalerija pregled"
1541
+
1542
+ #: admin/overview.php:111
1543
+ msgid "Reset all settings to default parameter"
1544
+ msgstr "Ponastavi vse na privzete nastavitve"
1545
+
1546
+ #: admin/overview.php:122
1547
+ msgid ""
1548
+ "Uninstall sucessful ! Now delete the plugin and enjoy your life ! Good luck !"
1549
+ msgstr ""
1550
+ "Uspešno izbrisano! Sedaj izbrišite vtičnik in uživajte življenje! Srečno!"
1551
+
1552
+ #: admin/overview.php:130
1553
+ msgid "Plugin Home"
1554
+ msgstr "Vtičnik domov"
1555
+
1556
+ #: admin/overview.php:135
1557
+ msgid "Plugin Comments"
1558
+ msgstr "Komentarji vtičnika"
1559
+
1560
+ #: admin/overview.php:140
1561
+ msgid "Rate Plugin"
1562
+ msgstr "Oceni vtičnik"
1563
+
1564
+ #: admin/overview.php:145
1565
+ msgid "My Plugins"
1566
+ msgstr "Moji vtičniki"
1567
+
1568
+ #: admin/overview.php:150
1569
+ msgid "Contact Me"
1570
+ msgstr "Kontaktirajte me"
1571
+
1572
+ #: admin/overview.php:161
1573
+ msgid "Reset settings"
1574
+ msgstr "Ponastavi nastavitve"
1575
+
1576
+ #: admin/overview.php:161
1577
+ msgid ""
1578
+ "Reset all options to default settings ?\\n\\nChoose [Cancel] to Stop, [OK] "
1579
+ "to proceed.\\n"
1580
+ msgstr ""
1581
+ "Ponastavi vse nastavitve na privzete?\\n\\nIzberi [prekliči] za preklic, "
1582
+ "[vredu] za nadaljevanje.\\n"
1583
+
1584
+ #: admin/overview.php:164
1585
+ msgid "Uninstall plugin"
1586
+ msgstr "Izbriši vtičnik"
1587
+
1588
+ #: admin/overview.php:164
1589
+ msgid ""
1590
+ "You are about to Uninstall this plugin from WordPress.\\nThis action is not "
1591
+ "reversible.\\n\\nChoose [Cancel] to Stop, [OK] to Uninstall.\\n"
1592
+ msgstr ""
1593
+ "ste tik pred izbrisom vtičnika iz Wordpressa.\\nTega ukrepa se ne da "
1594
+ "povrniti.\\n\\nIzberite [prekliči] za preklic, [vredu] za izbris.\\n"
1595
+
1596
+ #: admin/overview.php:186
1597
+ msgid "At a Glance"
1598
+ msgstr "V vpogled"
1599
+
1600
+ #: admin/overview.php:191
1601
+ msgid "Image"
1602
+ msgid_plural "Images"
1603
+ msgstr[0] ""
1604
+ msgstr[1] "Slika "
1605
+ msgstr[2] "Sliki "
1606
+ msgstr[3] "Slike "
1607
+
1608
+ #: admin/overview.php:206
1609
+ msgid "Upload pictures"
1610
+ msgstr "Naloži slike"
1611
+
1612
+ #: admin/overview.php:207
1613
+ msgid "Here you can control your images and galleries."
1614
+ msgstr "Tukaj lahko kontrolirate slike in galerije"
1615
+
1616
+ #: admin/overview.php:209
1617
+ msgid "Gallery Administrator"
1618
+ msgstr "Administrator galerije"
1619
+
1620
+ #: admin/overview.php:209
1621
+ msgid "Gallery Editor"
1622
+ msgstr "Urednik galerije"
1623
+
1624
+ #: admin/overview.php:210
1625
+ msgid "You currently have %s rights."
1626
+ msgstr "Trenutno imate %s pravic."
1627
+
1628
+ #: admin/overview.php:216
1629
+ msgid "Welcome to FlAGallery !"
1630
+ msgstr "Dobrodošli v FLAGalerija"
1631
+
1632
+ #: admin/overview.php:217
1633
+ msgid "Server Settings"
1634
+ msgstr "Nastavitve strežnika"
1635
+
1636
+ #: admin/overview.php:218
1637
+ msgid "Graphic Library"
1638
+ msgstr "Grafična knjižnica"
1639
+
1640
+ #: admin/overview.php:219
1641
+ msgid "Setup Box"
1642
+ msgstr "Nastavitve"
1643
+
1644
+ #: admin/overview.php:239
1645
+ msgid "No GD support"
1646
+ msgstr "Ni GD podpore"
1647
+
1648
+ #: admin/overview.php:251 admin/overview.php:295 admin/overview.php:298
1649
+ #: admin/overview.php:301
1650
+ msgid "Yes"
1651
+ msgstr "Da"
1652
+
1653
+ #: admin/overview.php:253 admin/overview.php:296 admin/overview.php:299
1654
+ #: admin/overview.php:302
1655
+ msgid "No"
1656
+ msgstr "Ne"
1657
+
1658
+ #: admin/overview.php:269
1659
+ msgid "Not set"
1660
+ msgstr "Ni nastavljeno"
1661
+
1662
+ #: admin/overview.php:271 admin/overview.php:274
1663
+ msgid "On"
1664
+ msgstr "Vključeno"
1665
+
1666
+ #: admin/overview.php:272 admin/overview.php:275
1667
+ msgid "Off"
1668
+ msgstr "Ugasnjeno"
1669
+
1670
+ #: admin/overview.php:278 admin/overview.php:281 admin/overview.php:284
1671
+ #: admin/overview.php:287 admin/overview.php:290 admin/overview.php:293
1672
+ msgid "N/A"
1673
+ msgstr "N/A"
1674
+
1675
+ #: admin/overview.php:292
1676
+ msgid " MByte"
1677
+ msgstr " MByte"
1678
+
1679
+ #: admin/overview.php:304
1680
+ msgid "Operating System"
1681
+ msgstr "Operacijski sistem"
1682
+
1683
+ #: admin/overview.php:305
1684
+ msgid "Server"
1685
+ msgstr "Strežnik"
1686
+
1687
+ #: admin/overview.php:306
1688
+ msgid "Memory usage"
1689
+ msgstr "Uporaba pomnilnika"
1690
+
1691
+ #: admin/overview.php:307
1692
+ msgid "MYSQL Version"
1693
+ msgstr "MYSQL Verzija"
1694
+
1695
+ #: admin/overview.php:308
1696
+ msgid "SQL Mode"
1697
+ msgstr "SQL Način"
1698
+
1699
+ #: admin/overview.php:309
1700
+ msgid "PHP Version"
1701
+ msgstr "PHP Verzija"
1702
+
1703
+ #: admin/overview.php:310
1704
+ msgid "PHP Safe Mode"
1705
+ msgstr "PHP Varni način"
1706
+
1707
+ #: admin/overview.php:311
1708
+ msgid "PHP Allow URL fopen"
1709
+ msgstr "PHP Allow URL fopen"
1710
+
1711
+ #: admin/overview.php:312
1712
+ msgid "PHP Memory Limit"
1713
+ msgstr "PHP Limit pomnilnika"
1714
+
1715
+ #: admin/overview.php:313
1716
+ msgid "PHP Max Upload Size"
1717
+ msgstr "PHP Max velikost nalaganja"
1718
+
1719
+ #: admin/overview.php:314
1720
+ msgid "PHP Max Post Size"
1721
+ msgstr "PHP Max velikost objave"
1722
+
1723
+ #: admin/overview.php:315
1724
+ msgid "PHP Output Buffer Size"
1725
+ msgstr "PHP velikost zunanjega predpomnilnika"
1726
+
1727
+ #: admin/overview.php:316
1728
+ msgid "PHP Max Script Execute Time"
1729
+ msgstr "PHP Max čas izvajanja skripte"
1730
+
1731
+ #: admin/overview.php:317
1732
+ msgid "PHP Exif support"
1733
+ msgstr "PHP Exif podpora"
1734
+
1735
+ #: admin/overview.php:318
1736
+ msgid "PHP IPTC support"
1737
+ msgstr "PHP IPTC podpora"
1738
+
1739
+ #: admin/overview.php:319
1740
+ msgid "PHP XML support"
1741
+ msgstr "PHP XML podpora"
1742
+
1743
+ #: admin/overview.php:377
1744
+ msgid "Storage Space"
1745
+ msgstr "Shranjevalni prostor"
1746
+
1747
+ #: admin/overview.php:380
1748
+ msgid "Upload Space Used:"
1749
+ msgstr "Uporabljen prostor nalaganja"
1750
+
1751
+ #: admin/overview.php:386
1752
+ msgid "Upload Space Remaining:"
1753
+ msgstr "Preostali prostor nalaganja"
1754
+
1755
+ #: admin/playlist-sort.php:66 admin/playlist-sort.php:74
1756
+ #: admin/video-sort.php:71 admin/video-sort.php:79
1757
+ msgid "Play"
1758
+ msgstr "Predvajaj"
1759
+
1760
+ #: admin/settings.php:33 admin/skins.php:152 admin/skins.php:204
1761
+ msgid "Update Successfully"
1762
+ msgstr "Posodobitev uspešna"
1763
+
1764
+ #: admin/settings.php:47 admin/settings.php:89 admin/skins.php:183
1765
+ #: admin/skins.php:374
1766
+ msgid "cURL library is not installed on your server."
1767
+ msgstr "cURL knjižnica ni nameščena na vašem strežniku."
1768
+
1769
+ #: admin/settings.php:77
1770
+ msgid "Error: All fields required."
1771
+ msgstr "Napaka: Vsa polja so nujna"
1772
+
1773
+ #: admin/settings.php:122
1774
+ msgid "Updated capabilities"
1775
+ msgstr "Posodobljene zmožnosti"
1776
+
1777
+ #: admin/settings.php:134
1778
+ msgid "Gallery Options"
1779
+ msgstr "Nastavitve galerije"
1780
+
1781
+ #: admin/settings.php:136 admin/settings.php:296
1782
+ msgid "License Key & Remote Control"
1783
+ msgstr "Licenčni ključ & Oddaljeni nadzor"
1784
+
1785
+ #: admin/settings.php:138
1786
+ msgid "FLV Single Player Options"
1787
+ msgstr "FLV Posamezne nastavitve predvajalnika"
1788
+
1789
+ #: admin/settings.php:139
1790
+ msgid "MP3 Single Player Options"
1791
+ msgstr "MP3 Posamezne nastavitve predvajalnika"
1792
+
1793
+ #: admin/settings.php:141
1794
+ msgid "Roles"
1795
+ msgstr "Vloge"
1796
+
1797
+ #: admin/settings.php:164
1798
+ msgid "Image Gallery Options"
1799
+ msgstr "Nastavitve slik v galeriji"
1800
+
1801
+ #: admin/settings.php:165
1802
+ msgid "General Options"
1803
+ msgstr "Generalne nastavitve"
1804
+
1805
+ #: admin/settings.php:168 admin/wpmu.php:44
1806
+ msgid "Gallery path"
1807
+ msgstr "Pot galerije"
1808
+
1809
+ #: admin/settings.php:170
1810
+ msgid "This is the default path for all galleries"
1811
+ msgstr "To je privzeta pot za vse galerije"
1812
+
1813
+ #: admin/settings.php:173
1814
+ msgid "Default flash size (W x H)"
1815
+ msgstr "Privzeta velikost flasha (W x H)"
1816
+
1817
+ #: admin/settings.php:178
1818
+ msgid "Delete image files"
1819
+ msgstr "Izbriši slikovne datoteke"
1820
+
1821
+ #: admin/settings.php:180
1822
+ msgid "Delete files, when removing a gallery in the database"
1823
+ msgstr "Izbriši datoteke, med brisanjem galerije iz podatkovne baze"
1824
+
1825
+ #: admin/settings.php:183
1826
+ msgid "Activate Deep Linking (optional)"
1827
+ msgstr "Aktivirajte globoko povezovanje (poljubno)"
1828
+
1829
+ #: admin/settings.php:183
1830
+ msgid "Not all skins support this feature."
1831
+ msgstr "Vse preobleke ne podpirajo te funkcije"
1832
+
1833
+ #: admin/settings.php:185
1834
+ msgid "Deep links for images in flash."
1835
+ msgstr "Globoke povezave za slike v flashu"
1836
+
1837
+ #: admin/settings.php:188
1838
+ msgid "Activate Media RSS feed"
1839
+ msgstr "Aktiviraj Media RSS feed"
1840
+
1841
+ #: admin/settings.php:190
1842
+ msgid "A RSS feed will be added to you blog header."
1843
+ msgstr "Rss feed bo dodan v glavo bloga"
1844
+
1845
+ #: admin/settings.php:194
1846
+ msgid "Image settings"
1847
+ msgstr "Nastavitve slik"
1848
+
1849
+ #: admin/settings.php:197
1850
+ msgid "Resize Images"
1851
+ msgstr "Spremeni velikost slike"
1852
+
1853
+ #: admin/settings.php:199
1854
+ msgid "Width x Height (in pixel). Flash Album Gallery will keep ratio size"
1855
+ msgstr ""
1856
+ "Širina x višina (v pikslih). Flash Album Gallery bo obdržal razmerje "
1857
+ "velikosti"
1858
+
1859
+ #: admin/settings.php:202
1860
+ msgid "Image quality"
1861
+ msgstr "Kvaliteta slike"
1862
+
1863
+ #: admin/settings.php:207
1864
+ msgid "Sort options"
1865
+ msgstr "Nastavitve razvrščanja"
1866
+
1867
+ #: admin/settings.php:210
1868
+ msgid "Sort thumbnails"
1869
+ msgstr "razvrsti thumbnaile"
1870
+
1871
+ #: admin/settings.php:212
1872
+ msgid "Custom order"
1873
+ msgstr "Naročilo po meri"
1874
+
1875
+ #: admin/settings.php:213
1876
+ msgid "Image ID"
1877
+ msgstr "ID Slike"
1878
+
1879
+ #: admin/settings.php:214
1880
+ msgid "File name"
1881
+ msgstr "Ime datoteke"
1882
+
1883
+ #: admin/settings.php:215
1884
+ msgid "Alt / Title text"
1885
+ msgstr "Alt/ naslov teksta"
1886
+
1887
+ #: admin/settings.php:216
1888
+ msgid "Date / Time"
1889
+ msgstr "Datum/čas"
1890
+
1891
+ #: admin/settings.php:217
1892
+ msgid "Image views"
1893
+ msgstr "Ogledi slik"
1894
+
1895
+ #: admin/settings.php:218
1896
+ msgid "Image likes"
1897
+ msgstr "Všečki slik"
1898
+
1899
+ #: admin/settings.php:219 admin/tinymce/window.php:153
1900
+ msgid "Randomly"
1901
+ msgstr "Naključju"
1902
+
1903
+ #: admin/settings.php:223
1904
+ msgid "Sort direction"
1905
+ msgstr "Razvrsti po"
1906
+
1907
+ #: admin/settings.php:224
1908
+ msgid "Ascending"
1909
+ msgstr "Naraščajače"
1910
+
1911
+ #: admin/settings.php:225
1912
+ msgid "Descending"
1913
+ msgstr "Padajoče"
1914
+
1915
+ #: admin/settings.php:230
1916
+ msgid "Alternative Gallery Options"
1917
+ msgstr "Alternativne nastavitve galerije"
1918
+
1919
+ #: admin/settings.php:230
1920
+ msgid ""
1921
+ "(Note: this is not flash skin option. Options below only for alternative "
1922
+ "gallery in mobile browsers)"
1923
+ msgstr ""
1924
+ "(Sporočilo: to ni nastavitev za flash preobleke. Nastavitve spodaj so samo "
1925
+ "za alternativne galerije mobilnih brskalnikov)"
1926
+
1927
+ #: admin/settings.php:233
1928
+ msgid "Show jQuery gallery for browsers without flashplayer"
1929
+ msgstr "Prikaži jQuery galerije za brskalnike brez flash predvajalnika"
1930
+
1931
+ #: admin/settings.php:237
1932
+ msgid "jQuery gallery script"
1933
+ msgstr "Skripta jQuery galerije"
1934
+
1935
+ #: admin/settings.php:245
1936
+ msgid "Disable image views/likes counter on thumbnails"
1937
+ msgstr "Izključi oglede slik/števec všečkov na predoglednih skičicah"
1938
+
1939
+ #: admin/settings.php:249
1940
+ msgid "Top Bar BG"
1941
+ msgstr "Top Bar (Ozadje)"
1942
+
1943
+ #: admin/settings.php:253
1944
+ msgid "Category Buttons BG"
1945
+ msgstr "Barva gumbov kategorije (ozadje)"
1946
+
1947
+ #: admin/settings.php:271
1948
+ msgid "Thumbnail BG"
1949
+ msgstr "Predogledna sličica ozadje"
1950
+
1951
+ #: admin/settings.php:275
1952
+ msgid "Thumbnail MouseOver BG"
1953
+ msgstr "Predogledna sličica MouseOver ozadje"
1954
+
1955
+ #: admin/settings.php:279
1956
+ msgid "Fancybox Title"
1957
+ msgstr "Fancybox naslov"
1958
+
1959
+ #: admin/settings.php:279 admin/settings.php:283
1960
+ msgid "Only if FancyBox script is selected"
1961
+ msgstr "Samo, če je FAncyBox skripta izbrana"
1962
+
1963
+ #: admin/settings.php:283
1964
+ msgid "Fancybox Description Text"
1965
+ msgstr "Fancybox opisni tekst"
1966
+
1967
+ #: admin/settings.php:300
1968
+ msgid "License Key"
1969
+ msgstr "Licenčni ključ"
1970
+
1971
+ #: admin/settings.php:304
1972
+ msgid ""
1973
+ "If you want to upload photos to FlAGallery right from your iPhone <a href="
1974
+ "\"https://itunes.apple.com/us/app/mypgc/id663405181?ls=1&mt=8\">download "
1975
+ "application</a> and enter access key below. You can enter your own access "
1976
+ "key. You can change these at any point in time and this will force all users "
1977
+ "to have to log in again in application."
1978
+ msgstr ""
1979
+ "Če želite nalagati fotografije v FLAgalerijo direktno iz vašega iphona <a "
1980
+ "href=\"https://itunes.apple.com/us/app/mypgc/id663405181?"
1981
+ "ls=1&mt=8\">prenesite aplikacijo</a> in vnesite vaš dostopni ključ, katerega "
1982
+ "lahko kadarkoli spremenite, tako se bodo drugi uporabniki primorani ponovno "
1983
+ "vpisati v aplikacijo."
1984
+
1985
+ #: admin/settings.php:307
1986
+ msgid "Remote App Access Key"
1987
+ msgstr "Dostopni kluč za oddaljen dostop"
1988
+
1989
+ #: admin/settings.php:309
1990
+ msgid "Leave blank to disable access from application"
1991
+ msgstr "Pustite prazno, če želite onemogočiti dostop iz aplikacije"
1992
+
1993
+ #: admin/settings.php:313
1994
+ msgid "Update Settings for Remote Access"
1995
+ msgstr "Posodobite nastavitve za oddaljen dostop"
1996
+
1997
+ #: admin/settings.php:318
1998
+ msgid ""
1999
+ "Register with form below or <a href=\"http://mypgc.co/membership/\" target="
2000
+ "\"_blank\">purchase license key</a>"
2001
+ msgstr ""
2002
+ "Registrirajte se z uporabo obrazca spodaj ali <a href=\"http://mypgc.co/"
2003
+ "membership/\" target=\"_blank\">purchase license key</a>"
2004
+
2005
+ #: admin/settings.php:323
2006
+ msgid "First Name"
2007
+ msgstr "Ime"
2008
+
2009
+ #: admin/settings.php:324
2010
+ msgid "Last Name"
2011
+ msgstr "Priimek"
2012
+
2013
+ #: admin/settings.php:327
2014
+ msgid "Email"
2015
+ msgstr "E-naslov"
2016
+
2017
+ #: admin/settings.php:328
2018
+ msgid "Register"
2019
+ msgstr "Registracija"
2020
+
2021
+ #: admin/settings.php:341
2022
+ msgid "Flash Video Player Colors"
2023
+ msgstr "Barve flash video predvajalnika"
2024
+
2025
+ #: admin/settings.php:344
2026
+ msgid "Video BG"
2027
+ msgstr "Video ozadje"
2028
+
2029
+ #: admin/settings.php:348 admin/settings.php:385
2030
+ msgid "Color 1"
2031
+ msgstr "Barva 1"
2032
+
2033
+ #: admin/settings.php:352 admin/settings.php:389
2034
+ msgid "Color 2"
2035
+ msgstr "Barva 2"
2036
+
2037
+ #: admin/settings.php:357 admin/settings.php:394
2038
+ msgid "Autoplay"
2039
+ msgstr "Samodejno predvajanje"
2040
+
2041
+ #: admin/settings.php:359 admin/settings.php:396
2042
+ msgid "True"
2043
+ msgstr "Prav"
2044
+
2045
+ #: admin/settings.php:360 admin/settings.php:397
2046
+ msgid "False"
2047
+ msgstr "Narobe"
2048
+
2049
+ #: admin/settings.php:364
2050
+ msgid "Default Size"
2051
+ msgstr "Privzeta velikost"
2052
+
2053
+ #: admin/settings.php:378
2054
+ msgid "MP3 Player Colors"
2055
+ msgstr "Barve MP3 predvajalnika"
2056
+
2057
+ #: admin/settings.php:381
2058
+ msgid "Player BG"
2059
+ msgstr "Ozadje predvajalnika"
2060
+
2061
+ #: admin/settings.php:409
2062
+ msgid "Roles / capabilities"
2063
+ msgstr "Vloge / zmožnosti"
2064
+
2065
+ #: admin/settings.php:410
2066
+ msgid ""
2067
+ "Select the lowest role which should be able to access the follow "
2068
+ "capabilities. Flash Album Gallery supports the standard roles from WordPress."
2069
+ msgstr ""
2070
+ "Izberi najnižjo vlogo, katera bo lahko dostopala do sledečih možnosti. Flash "
2071
+ "Gallery podpira standardne vloge Wordpressa"
2072
+
2073
+ #: admin/settings.php:413
2074
+ msgid "Main Flash Album Gallery overview"
2075
+ msgstr "Glavni Flash Gallery Album pregled"
2076
+
2077
+ #: admin/settings.php:417
2078
+ msgid "View TinyMCE Button / GRAND Pages"
2079
+ msgstr "Uporabi TinyMCE Gumb / GRAND strani"
2080
+
2081
+ #: admin/settings.php:421
2082
+ msgid "Add gallery / Upload images"
2083
+ msgstr "Dodaj galerijo / Naloži slike"
2084
+
2085
+ #: admin/settings.php:425
2086
+ msgid "Import images folder"
2087
+ msgstr "Uvozi mapo s slikami"
2088
+
2089
+ #: admin/settings.php:429
2090
+ msgid "Manage gallery"
2091
+ msgstr "Uredi galerijo"
2092
+
2093
+ #: admin/settings.php:433
2094
+ msgid "Manage others galleries and Albums"
2095
+ msgstr "Uredi druge galerije in albume"
2096
+
2097
+ #: admin/settings.php:437
2098
+ msgid "Manage music"
2099
+ msgstr "Uredi glasbo"
2100
+
2101
+ #: admin/settings.php:441
2102
+ msgid "Manage video"
2103
+ msgstr "Uredi video"
2104
+
2105
+ #: admin/settings.php:445
2106
+ msgid "Manage banners"
2107
+ msgstr "Uredi oglasne pasice"
2108
+
2109
+ #: admin/settings.php:449
2110
+ msgid "Change skin"
2111
+ msgstr "Zamenjaj preobleko"
2112
+
2113
+ #: admin/settings.php:453
2114
+ msgid "Add skins"
2115
+ msgstr "Dodaj preobleko"
2116
+
2117
+ #: admin/settings.php:457
2118
+ msgid "Delete skins"
2119
+ msgstr "Izbriši preobleko"
2120
+
2121
+ #: admin/settings.php:461
2122
+ msgid "Change options"
2123
+ msgstr "Spremeni možnosti"
2124
+
2125
+ #: admin/settings.php:465
2126
+ msgid "Facebook page"
2127
+ msgstr "Facebook stran"
2128
+
2129
+ #: admin/settings.php:469
2130
+ msgid "Update capabilities"
2131
+ msgstr "posodobi možnosti"
2132
+
2133
+ #: admin/showmeta.php:33 admin/showmeta.php:59 admin/showmeta.php:84
2134
+ #: admin/showmeta.php:108
2135
+ msgid "Tag"
2136
+ msgstr "Tag"
2137
+
2138
+ #: admin/showmeta.php:34 admin/showmeta.php:60 admin/showmeta.php:85
2139
+ #: admin/showmeta.php:109
2140
+ msgid "Value"
2141
+ msgstr "Vrednost"
2142
+
2143
+ #: admin/showmeta.php:73
2144
+ msgid "No exif data"
2145
+ msgstr "Ni EXIF podatkov"
2146
+
2147
+ #: admin/skin_install.php:10 admin/skins.php:84
2148
+ msgid "No skin Specified"
2149
+ msgstr "Ni določene preobleke"
2150
+
2151
+ #: admin/skin_install.php:39
2152
+ msgid "Installation Failed"
2153
+ msgstr "Instalacija spodletela"
2154
+
2155
+ #: admin/skin_install.php:42 admin/skins.php:65
2156
+ msgid "The skin installed successfully."
2157
+ msgstr "Preobleka uspešno nameščena"
2158
+
2159
+ #: admin/skin_install.php:45 admin/skins.php:439
2160
+ msgid "Activate this skin"
2161
+ msgstr "Aktiviraj to preobleko"
2162
+
2163
+ #: admin/skin_install.php:45
2164
+ msgid "Activate Skin"
2165
+ msgstr "Aktiviraj peobleko"
2166
+
2167
+ #: admin/skin_install.php:46
2168
+ msgid "Goto skin overview"
2169
+ msgstr "Pojdi na pregled preoblek"
2170
+
2171
+ #: admin/skin_install.php:46
2172
+ msgid "Skin overview"
2173
+ msgstr "pregled preoblek"
2174
+
2175
+ #: admin/skin_install.php:70
2176
+ msgid "Could not access filesystem."
2177
+ msgstr "ni bil mogoč dostop do datotečnega sistema"
2178
+
2179
+ #: admin/skin_install.php:73
2180
+ msgid "Filesystem error"
2181
+ msgstr "Napaka datotečnega sistema"
2182
+
2183
+ #: admin/skin_install.php:79
2184
+ msgid "Unable to locate FlAGallery Skin directory."
2185
+ msgstr "Ni bilo mogoče locirati FLAGallery mape za preobleke"
2186
+
2187
+ #: admin/skin_install.php:84
2188
+ msgid "Unable to locate WordPress Content directory (wp-content)."
2189
+ msgstr "Ni bilo mogoče locirati Wordpress vsebinskega direktorija (wp-content)"
2190
+
2191
+ #: admin/skin_install.php:90
2192
+ msgid "Install package not available."
2193
+ msgstr "Instalacijski paket ni na voljo"
2194
+
2195
+ #: admin/skin_install.php:98
2196
+ msgid "Unpacking the skin package"
2197
+ msgstr "Razširjanje preoblečnega paketa"
2198
+
2199
+ #: admin/skin_install.php:115
2200
+ msgid "Folder already exists."
2201
+ msgstr "Mapa že obstaja."
2202
+
2203
+ #: admin/skin_install.php:118
2204
+ msgid "Installing the skin"
2205
+ msgstr "Instaliranje preobleke"
2206
+
2207
+ #: admin/skins.php:72
2208
+ msgid "Install info"
2209
+ msgstr "Info instalacije"
2210
+
2211
+ #: admin/skins.php:87
2212
+ msgid "Installing Skin from file: %s"
2213
+ msgstr "Nameščanje preobleke iz datoteke: %s"
2214
+
2215
+ #: admin/skins.php:96
2216
+ msgid "The uploaded file could not be moved to %s."
2217
+ msgstr "Naložene datoteke ni bilo možno prestaviti v %s."
2218
+
2219
+ #: admin/skins.php:161
2220
+ msgid "License Key Updated"
2221
+ msgstr "Licenčni ključ posodobljen"
2222
+
2223
+ #: admin/skins.php:176
2224
+ msgid "Your license key was deactivated"
2225
+ msgstr "Vaš licenčni ključ je deaktiviran"
2226
+
2227
+ #: admin/skins.php:180
2228
+ msgid "Bad Licence Key"
2229
+ msgstr "Neveljaven licenčni ključ"
2230
+
2231
+ #: admin/skins.php:217 admin/skins.php:247 admin/skins.php:384
2232
+ #: admin/skins.php:392 admin/tinymce/window.php:52 admin/tinymce/window.php:61
2233
+ msgid "Skin"
2234
+ msgstr "Preobleka"
2235
+
2236
+ #: admin/skins.php:219 admin/skins.php:223
2237
+ msgid "Can't find skin directory "
2238
+ msgstr "Ne najdem mape za preobleke"
2239
+
2240
+ #: admin/skins.php:219 admin/skins.php:223
2241
+ msgid ". Try delete it manualy via ftp"
2242
+ msgstr ". Poskusite ga izbristai ročno preko ftp"
2243
+
2244
+ #: admin/skins.php:226
2245
+ msgid "You need activate another skin before delete it"
2246
+ msgstr "Aktivirati morate drugo preobleko preden to izbrišete"
2247
+
2248
+ #: admin/skins.php:229
2249
+ msgid ""
2250
+ "You do not have sufficient permissions to delete skins of Grand Flagallery."
2251
+ msgstr "Nimate dovolj dovoljenj za izbris preobleke Grand Flagallery."
2252
+
2253
+ #: admin/skins.php:247
2254
+ msgid ""
2255
+ "activated successfully. Optionally it can be overwritten with shortcode "
2256
+ "parameter."
2257
+ msgstr ""
2258
+ "uspešno aktivirano. Poljubno je lahko prepisano s kratkimi kodami (shortcode)"
2259
+
2260
+ #: admin/skins.php:254 admin/skins.php:274
2261
+ msgid "New Photo Skins"
2262
+ msgstr "Nove foto preobleke"
2263
+
2264
+ #: admin/skins.php:258
2265
+ msgid "New Music Skins"
2266
+ msgstr "Nove glasbene preobleke"
2267
+
2268
+ #: admin/skins.php:262
2269
+ msgid "New Video Skins"
2270
+ msgstr "Nove video preobleke"
2271
+
2272
+ #: admin/skins.php:266
2273
+ msgid "New Banner Skins"
2274
+ msgstr "Nove preobleke oglasnih pasic"
2275
+
2276
+ #: admin/skins.php:270
2277
+ msgid "New Widget Skins"
2278
+ msgstr "Nove preobleke Gradnikov"
2279
+
2280
+ #: admin/skins.php:283
2281
+ msgid "Skins refreshed successfully"
2282
+ msgstr "Preobleke uspešno osvežene"
2283
+
2284
+ #: admin/skins.php:289 admin/skins.php:296
2285
+ msgid "Add new skin"
2286
+ msgstr "Dodajte novo preobleko"
2287
+
2288
+ #: admin/skins.php:291 admin/skins.php:311
2289
+ msgid "Active Skin Options"
2290
+ msgstr "Aktivne nastavitve preoblek"
2291
+
2292
+ #: admin/skins.php:297
2293
+ msgid "Install a skin in .zip format"
2294
+ msgstr "Namesti preobleko v .zip formatu"
2295
+
2296
+ #: admin/skins.php:298
2297
+ msgid ""
2298
+ "If you have a skin in a .zip format, You may install it by uploading it here."
2299
+ msgstr "Če imate preobleko v .zip formatu, jo lahko naložite tukaj."
2300
+
2301
+ #: admin/skins.php:302
2302
+ msgid "Install Now"
2303
+ msgstr "Namestite zdaj"
2304
+
2305
+ #: admin/skins.php:328
2306
+ msgid "Skin License Key"
2307
+ msgstr "Licenčni ključ preobleke"
2308
+
2309
+ #: admin/skins.php:329
2310
+ msgid "If you have license key then paste it here."
2311
+ msgstr "Če imate licenčni kluč ga vnesite tukaj."
2312
+
2313
+ #: admin/skins.php:340
2314
+ msgid "Refresh / Update Skins"
2315
+ msgstr "Osveži / Posodobi preobleke"
2316
+
2317
+ #: admin/skins.php:341
2318
+ msgid "Photo skins"
2319
+ msgstr "Foto preobleke"
2320
+
2321
+ #: admin/skins.php:342
2322
+ msgid "Music skins"
2323
+ msgstr "Glasbene preobleke"
2324
+
2325
+ #: admin/skins.php:343
2326
+ msgid "Video skins"
2327
+ msgstr "Video preobleke"
2328
+
2329
+ #: admin/skins.php:344
2330
+ msgid "Banner skins"
2331
+ msgstr "preobleke oglasnih pasic"
2332
+
2333
+ #: admin/skins.php:345
2334
+ msgid "Widget skins"
2335
+ msgstr "preobleke gradnikov"
2336
+
2337
+ #: admin/skins.php:374
2338
+ msgid "Download skins from http://photogallerycreator.com"
2339
+ msgstr "Prenesi probleke iz http://photogallerycreator.com"
2340
+
2341
+ #: admin/skins.php:403
2342
+ msgid "No skins to show"
2343
+ msgstr "Ni preoblek za prikaz"
2344
+
2345
+ #: admin/skins.php:422
2346
+ msgid "Version %s"
2347
+ msgstr "Verzija %s"
2348
+
2349
+ #: admin/skins.php:426
2350
+ msgid "Visit author homepage"
2351
+ msgstr "Obiščite stran avtorja"
2352
+
2353
+ #: admin/skins.php:427
2354
+ msgid "By %s"
2355
+ msgstr "Ob %s"
2356
+
2357
+ #: admin/skins.php:430
2358
+ msgid "Visit skin site"
2359
+ msgstr "Obiščite stran s preoblekami"
2360
+
2361
+ #: admin/skins.php:439
2362
+ msgid "Activate"
2363
+ msgstr "Aktiviraj"
2364
+
2365
+ #: admin/skins.php:441
2366
+ msgid "Activated by default"
2367
+ msgstr "Aktivirano (privzeto)"
2368
+
2369
+ #: admin/skins.php:461
2370
+ msgid "Delete this skin"
2371
+ msgstr "Izbriši to preobleko"
2372
+
2373
+ #: admin/skins.php:491
2374
+ msgid "Install"
2375
+ msgstr "Namestite"
2376
+
2377
+ #: admin/skins.php:492
2378
+ msgid "Preview"
2379
+ msgstr "Predogled"
2380
+
2381
+ #: admin/skins.php:500
2382
+ msgid "All available %s skins are already installed..."
2383
+ msgstr "Vse razpoložljive %s preobleke so že nameščene..."
2384
+
2385
+ #: admin/tinymce/tinymce.php:115 admin/tinymce/window.php:21
2386
+ #: admin/tinymce/window.php:32
2387
+ msgid "Insert Flash Album with one or more galleries"
2388
+ msgstr "Vstavi Flash Album z eno ali več galerijami"
2389
+
2390
+ #: admin/tinymce/window.php:10
2391
+ msgid "You are not allowed to be here"
2392
+ msgstr "Ni vam dovoljeno biti tukaj"
2393
+
2394
+ #: admin/tinymce/window.php:49 admin/tinymce/window.php:58
2395
+ msgid "Galleries"
2396
+ msgstr "Galerije"
2397
+
2398
+ #: admin/tinymce/window.php:51 admin/tinymce/window.php:60
2399
+ msgid "Sort"
2400
+ msgstr "Razvrsti"
2401
+
2402
+ #: admin/tinymce/window.php:72
2403
+ msgid "Album Name"
2404
+ msgstr "Ime Albuma"
2405
+
2406
+ #: admin/tinymce/window.php:97
2407
+ msgid "Select album"
2408
+ msgstr "Označi album"
2409
+
2410
+ #: admin/tinymce/window.php:99
2411
+ msgid "choose album"
2412
+ msgstr "Izberi album"
2413
+
2414
+ #: admin/tinymce/window.php:120
2415
+ msgid "choose custom skin"
2416
+ msgstr "izberi preobleko po meri"
2417
+
2418
+ #: admin/tinymce/window.php:133
2419
+ msgid "Skin align"
2420
+ msgstr "poravnava preobleke"
2421
+
2422
+ #: admin/tinymce/window.php:135
2423
+ msgid "default"
2424
+ msgstr "privzeto"
2425
+
2426
+ #: admin/tinymce/window.php:136
2427
+ msgid "align left"
2428
+ msgstr "poravnava levo"
2429
+
2430
+ #: admin/tinymce/window.php:137
2431
+ msgid "align center"
2432
+ msgstr "poravnava sredina"
2433
+
2434
+ #: admin/tinymce/window.php:138
2435
+ msgid "align right"
2436
+ msgstr "poravnava desno"
2437
+
2438
+ #: admin/tinymce/window.php:148
2439
+ msgid "Order galleries by"
2440
+ msgstr "Razvrsti galerije po"
2441
+
2442
+ #: admin/tinymce/window.php:150
2443
+ msgid "Gallery IDs (default)"
2444
+ msgstr "ID-ju galerije"
2445
+
2446
+ #: admin/tinymce/window.php:151
2447
+ msgid "Gallery Title"
2448
+ msgstr "Naslovu galerije"
2449
+
2450
+ #: admin/tinymce/window.php:152
2451
+ msgid "User Defined"
2452
+ msgstr "Po uporabniku"
2453
+
2454
+ #: admin/tinymce/window.php:157
2455
+ msgid "Order"
2456
+ msgstr "razvrsti"
2457
+
2458
+ #: admin/tinymce/window.php:159
2459
+ msgid "DESC (default)"
2460
+ msgstr "DESC (privzeto)"
2461
+
2462
+ #: admin/tinymce/window.php:160
2463
+ msgid "ASC"
2464
+ msgstr "ASC"
2465
+
2466
+ #: admin/tinymce/window.php:164
2467
+ msgid "Exclude Gallery"
2468
+ msgstr "Izključi galerijo"
2469
+
2470
+ #: admin/tinymce/window.php:174
2471
+ msgid "Choose playlist for background music"
2472
+ msgstr "Izberite seznam predvajanja za glasbo v ozadju"
2473
+
2474
+ #: admin/tinymce/window.php:185
2475
+ msgid "Read Skin specification for supporting this function."
2476
+ msgstr "Preberite specifikacije preobleke za podporo te funkcije"
2477
+
2478
+ #: admin/tinymce/window.php:194
2479
+ msgid "Insert"
2480
+ msgstr "vstavi"
2481
+
2482
+ #: admin/tuning.php:20 admin/tuning.php:24
2483
+ msgid "Directory <strong>\""
2484
+ msgstr "Direktorij <strong>\""
2485
+
2486
+ #: admin/tuning.php:20
2487
+ msgid ""
2488
+ "\"</strong> doesn't exist. Please create first the <strong>\"flagallery-skins"
2489
+ "\"</strong> folder!"
2490
+ msgstr ""
2491
+ "\"</strong> ne obstaja. Najprej ustvarite<strong>\"flagallery-skins\"</"
2492
+ "strong> mapo!"
2493
+
2494
+ #: admin/tuning.php:24
2495
+ msgid "\"</strong> is not writeable!"
2496
+ msgstr "\"</strong> ni zapisljiva!"
2497
+
2498
+ #: admin/tuning.php:39
2499
+ msgid "Failed to move files from %1$s to %2$s"
2500
+ msgstr "Neuspelo prenašanje datotek iz %1$s v %2$s"
2501
+
2502
+ #: admin/upgrade.php:52
2503
+ msgid "Import date and time information..."
2504
+ msgstr "uvozi informacijo o datumu in času"
2505
+
2506
+ #: admin/upgrade.php:54 admin/upgrade.php:72 admin/upgrade.php:84
2507
+ #: admin/upgrade.php:93
2508
+ msgid "finished"
2509
+ msgstr "končano"
2510
+
2511
+ #: admin/upgrade.php:58 admin/upgrade.php:75 admin/upgrade.php:87
2512
+ msgid "Adding new options to database..."
2513
+ msgstr "Dodajam nove možnosti v podatkovno bazo..."
2514
+
2515
+ #: admin/video-box.php:259
2516
+ msgid "Import video from folder"
2517
+ msgstr "Uvozi video iz mape"
2518
+
2519
+ #: admin/video-box.php:278
2520
+ msgid "WordPress Video Library"
2521
+ msgstr "WordPress video knjižnica"
2522
+
2523
+ #: admin/video-box.php:295
2524
+ msgid "Upload Video"
2525
+ msgstr "Naloži video"
2526
+
2527
+ #: admin/video-box.php:371
2528
+ msgid "Can't read file size. Perhaps file is broken."
2529
+ msgstr "Ne morem prebrati velikosti datoteke, mogoče je okvarjena."
2530
+
2531
+ #: admin/video-box.php:392
2532
+ msgid "No video in WordPress Media Library."
2533
+ msgstr "Ni video datoteke v Wordpress medijski knjižnici"
2534
+
2535
+ #: admin/wpmu.php:29
2536
+ msgid "Update successfully"
2537
+ msgstr "Posodobitev uspešna"
2538
+
2539
+ #: admin/wpmu.php:38
2540
+ msgid "General WordPress MU Settings"
2541
+ msgstr "Generalne MU nastavitve"
2542
+
2543
+ #: admin/wpmu.php:46
2544
+ msgid ""
2545
+ "This is the default path for all blogs. With the placeholder %BLOG_ID% you "
2546
+ "can organize the folder structure better. The path must end with a /."
2547
+ msgstr ""
2548
+ "To je privzeta pot za vse bloge. Z uporabo %BLOG_ID% lahko bolje "
2549
+ "organizirate strukturo map. pot se mora končati z a /."
2550
+
2551
+ #: admin/wpmu.php:49
2552
+ msgid "Enable upload quota check"
2553
+ msgstr "Omogočite preverjanje kvote nalaganja"
2554
+
2555
+ #: admin/wpmu.php:51
2556
+ msgid "Should work if the gallery is bellow the blog.dir"
2557
+ msgstr "Moralo bi delovati, če je galerija pod blog.dir"
2558
+
2559
+ #: admin/wpmu.php:55
2560
+ msgid "Enable roles/capabilities"
2561
+ msgstr "Omogočite vloge/zmožnosti"
2562
+
2563
+ #: admin/wpmu.php:57
2564
+ msgid "Allow users to change the roles for other blog authors."
2565
+ msgstr "Omogočite uporabnikom spreminjati vloge za druge blog avtorje."
2566
+
2567
+ #: facebook.php:68 facebook.php:80 facebook.php:98
2568
+ msgid "Can't find playlist"
2569
+ msgstr "Ne najdem seznama predvajanja"
2570
+
2571
+ #: flag.php:155
2572
+ msgid ""
2573
+ "Sorry, GRAND Flash Album Gallery works only with a Memory Limit of 16 MB "
2574
+ "higher"
2575
+ msgstr ""
2576
+ "oprostite GRAND Flash Album deluje le z limitom pomnilnika 16MB in višje"
2577
+
2578
+ #: flag.php:354
2579
+ msgctxt "post type general name"
2580
+ msgid "GRAND Galleries"
2581
+ msgstr "GRAND galerije"
2582
+
2583
+ #: flag.php:355
2584
+ msgid "FlAGallery Page"
2585
+ msgstr "FlAGallery stran"
2586
+
2587
+ #: flag.php:356 flag.php:357
2588
+ msgid "Add New Gallery Page"
2589
+ msgstr "Dodaj novo stran galerije"
2590
+
2591
+ #: flag.php:358
2592
+ msgid "Edit Gallery Page"
2593
+ msgstr "Uredi stran galerije"
2594
+
2595
+ #: flag.php:359
2596
+ msgid "New Gallery Page"
2597
+ msgstr "Nova stran galerije"
2598
+
2599
+ #: flag.php:360
2600
+ msgid "All GRAND Galleries"
2601
+ msgstr "vse GRAND galerije"
2602
+
2603
+ #: flag.php:361
2604
+ msgid "View Gallery Page"
2605
+ msgstr "Poglej stran galerije"
2606
+
2607
+ #: flag.php:362
2608
+ msgid "Search GRAND Galleries"
2609
+ msgstr "Išči GRAND galerije"
2610
+
2611
+ #: flag.php:363
2612
+ msgid "No GRAND Galleries found"
2613
+ msgstr "Ni najdenih GRAND galerij"
2614
+
2615
+ #: flag.php:364
2616
+ msgid "No GRAND Galleries found in Trash"
2617
+ msgstr "V smeteh ni bilo najti GRAND galerij"
2618
+
2619
+ #: flag.php:371
2620
+ msgid ""
2621
+ "This is the page template for displaing Grand Flagallery galleries in full "
2622
+ "width and height of browser window."
2623
+ msgstr ""
2624
+ "To je predloga strani za prikaz GRAND FLAGalerije v polni širini in višini "
2625
+ "okna brskalnika"
2626
+
2627
+ #: flag.php:390
2628
+ msgid "Photo Gallery Page Generator"
2629
+ msgstr "Photo gallery generator strani"
2630
+
2631
+ #: flag.php:474
2632
+ msgid "Add Grand Flagallery"
2633
+ msgstr "Dodaj GRAND FlAGalerijo"
2634
+
2635
+ #: lib/class.swfobject.php:59
2636
+ msgid ""
2637
+ "The <a href=\"http://www.macromedia.com/go/getflashplayer\">Flash Player</a> "
2638
+ "and a browser with Javascript support are needed."
2639
+ msgstr ""
2640
+ "<a href=\"http://www.macromedia.com/go/getflashplayer\">Flash Player</a> in "
2641
+ "brskalnik s podporo javascripta je potreben."
2642
+
2643
+ #: lib/core.php:200
2644
+ msgid ""
2645
+ "Note : Based on your server memory limit you should not upload larger images "
2646
+ "then <strong>%d x %d</strong> pixel"
2647
+ msgstr ""
2648
+ "Sporočilo : Based on your server memory limit you should not upload larger "
2649
+ "images then <strong>%d x %d</strong> pixel"
2650
+
2651
+ #: lib/core.php:280
2652
+ msgid "Can't create/open file '"
2653
+ msgstr "Ni možno narediti/ odpreti datoteke"
2654
+
2655
+ #: lib/core.php:286
2656
+ msgid "Can't write data to file '"
2657
+ msgstr "Ni možno zapisati podatkov v datoteko"
2658
+
2659
+ #: lib/meta.php:116
2660
+ msgid " mm"
2661
+ msgstr "mm"
2662
+
2663
+ #: lib/meta.php:122
2664
+ msgid " sec"
2665
+ msgstr "sek"
2666
+
2667
+ #: lib/meta.php:126
2668
+ msgid "Fired"
2669
+ msgstr "Odpuščen"
2670
+
2671
+ #: lib/meta.php:126
2672
+ msgid "Not fired"
2673
+ msgstr "Ni odpuščen"
2674
+
2675
+ #: lib/meta.php:389
2676
+ msgid "Aperture"
2677
+ msgstr "Zaslonka"
2678
+
2679
+ #: lib/meta.php:390
2680
+ msgid "Credit"
2681
+ msgstr "Zasluge"
2682
+
2683
+ #: lib/meta.php:391
2684
+ msgid "Camera"
2685
+ msgstr "kamera"
2686
+
2687
+ #: lib/meta.php:392
2688
+ msgid "Caption"
2689
+ msgstr "Napis"
2690
+
2691
+ #: lib/meta.php:393
2692
+ msgid "Date/Time"
2693
+ msgstr "Datum/čas"
2694
+
2695
+ #: lib/meta.php:394
2696
+ msgid "Copyright"
2697
+ msgstr "Copyright"
2698
+
2699
+ #: lib/meta.php:395
2700
+ msgid "Focal length"
2701
+ msgstr "Focal length"
2702
+
2703
+ #: lib/meta.php:396
2704
+ msgid "ISO"
2705
+ msgstr "iso"
2706
+
2707
+ #: lib/meta.php:397
2708
+ msgid "Shutter speed"
2709
+ msgstr "Shutter speed"
2710
+
2711
+ #: lib/meta.php:400
2712
+ msgid "Tags"
2713
+ msgstr "Tagi"
2714
+
2715
+ #: lib/meta.php:401
2716
+ msgid "Subject"
2717