aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/AdminTools/admin.php23
-rw-r--r--plugins/AdminTools/include/MultiView.class.php310
-rw-r--r--plugins/AdminTools/include/events.inc.php312
-rw-r--r--plugins/AdminTools/include/index.php7
-rw-r--r--plugins/AdminTools/index.php7
-rwxr-xr-xplugins/AdminTools/language/ar_SA/description.txt1
-rw-r--r--plugins/AdminTools/language/ar_SA/index.php7
-rwxr-xr-xplugins/AdminTools/language/ar_SA/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/bg_BG/description.txt1
-rw-r--r--plugins/AdminTools/language/bg_BG/index.php7
-rwxr-xr-xplugins/AdminTools/language/bg_BG/plugin.lang.php40
-rw-r--r--plugins/AdminTools/language/cs_CZ/description.txt1
-rw-r--r--plugins/AdminTools/language/cs_CZ/index.php7
-rw-r--r--plugins/AdminTools/language/cs_CZ/plugin.lang.php16
-rwxr-xr-xplugins/AdminTools/language/da_DK/description.txt1
-rw-r--r--plugins/AdminTools/language/da_DK/index.php7
-rwxr-xr-xplugins/AdminTools/language/da_DK/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/de_DE/description.txt1
-rw-r--r--plugins/AdminTools/language/de_DE/index.php7
-rwxr-xr-xplugins/AdminTools/language/de_DE/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/el_GR/description.txt1
-rw-r--r--plugins/AdminTools/language/el_GR/index.php7
-rwxr-xr-xplugins/AdminTools/language/el_GR/plugin.lang.php40
-rw-r--r--plugins/AdminTools/language/en_UK/description.txt1
-rw-r--r--plugins/AdminTools/language/en_UK/index.php7
-rw-r--r--plugins/AdminTools/language/en_UK/plugin.lang.php21
-rwxr-xr-xplugins/AdminTools/language/eo_EO/description.txt1
-rw-r--r--plugins/AdminTools/language/eo_EO/index.php7
-rwxr-xr-xplugins/AdminTools/language/eo_EO/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/es_ES/description.txt1
-rw-r--r--plugins/AdminTools/language/es_ES/index.php7
-rwxr-xr-xplugins/AdminTools/language/es_ES/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/et_EE/description.txt1
-rw-r--r--plugins/AdminTools/language/et_EE/index.php7
-rwxr-xr-xplugins/AdminTools/language/et_EE/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/fa_IR/description.txt1
-rw-r--r--plugins/AdminTools/language/fa_IR/index.php7
-rwxr-xr-xplugins/AdminTools/language/fa_IR/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/fi_FI/description.txt1
-rw-r--r--plugins/AdminTools/language/fi_FI/index.php7
-rwxr-xr-xplugins/AdminTools/language/fi_FI/plugin.lang.php40
-rw-r--r--plugins/AdminTools/language/fr_CA/description.txt1
-rw-r--r--plugins/AdminTools/language/fr_CA/index.php7
-rw-r--r--plugins/AdminTools/language/fr_CA/plugin.lang.php21
-rw-r--r--plugins/AdminTools/language/fr_FR/description.txt1
-rw-r--r--plugins/AdminTools/language/fr_FR/index.php7
-rw-r--r--plugins/AdminTools/language/fr_FR/plugin.lang.php21
-rwxr-xr-xplugins/AdminTools/language/he_IL/description.txt1
-rw-r--r--plugins/AdminTools/language/he_IL/index.php7
-rwxr-xr-xplugins/AdminTools/language/he_IL/plugin.lang.php39
-rw-r--r--plugins/AdminTools/language/index.php7
-rwxr-xr-xplugins/AdminTools/language/it_IT/description.txt1
-rw-r--r--plugins/AdminTools/language/it_IT/index.php7
-rwxr-xr-xplugins/AdminTools/language/it_IT/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/lt_LT/description.txt1
-rw-r--r--plugins/AdminTools/language/lt_LT/index.php7
-rwxr-xr-xplugins/AdminTools/language/lt_LT/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/lv_LV/description.txt1
-rw-r--r--plugins/AdminTools/language/lv_LV/index.php7
-rwxr-xr-xplugins/AdminTools/language/lv_LV/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/mn_MN/description.txt1
-rw-r--r--plugins/AdminTools/language/mn_MN/index.php7
-rwxr-xr-xplugins/AdminTools/language/mn_MN/plugin.lang.php31
-rwxr-xr-xplugins/AdminTools/language/nb_NO/description.txt1
-rw-r--r--plugins/AdminTools/language/nb_NO/index.php7
-rwxr-xr-xplugins/AdminTools/language/nb_NO/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/nl_NL/description.txt1
-rw-r--r--plugins/AdminTools/language/nl_NL/index.php7
-rwxr-xr-xplugins/AdminTools/language/nl_NL/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/pl_PL/description.txt1
-rw-r--r--plugins/AdminTools/language/pl_PL/index.php7
-rwxr-xr-xplugins/AdminTools/language/pl_PL/plugin.lang.php39
-rwxr-xr-xplugins/AdminTools/language/pt_BR/description.txt1
-rw-r--r--plugins/AdminTools/language/pt_BR/index.php7
-rwxr-xr-xplugins/AdminTools/language/pt_BR/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/pt_PT/description.txt1
-rw-r--r--plugins/AdminTools/language/pt_PT/index.php7
-rwxr-xr-xplugins/AdminTools/language/pt_PT/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/ro_RO/description.txt1
-rw-r--r--plugins/AdminTools/language/ro_RO/index.php7
-rwxr-xr-xplugins/AdminTools/language/ro_RO/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/ru_RU/description.txt1
-rw-r--r--plugins/AdminTools/language/ru_RU/index.php7
-rwxr-xr-xplugins/AdminTools/language/ru_RU/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/sh_RS/description.txt1
-rw-r--r--plugins/AdminTools/language/sh_RS/index.php7
-rwxr-xr-xplugins/AdminTools/language/sh_RS/plugin.lang.php39
-rwxr-xr-xplugins/AdminTools/language/sk_SK/description.txt1
-rw-r--r--plugins/AdminTools/language/sk_SK/index.php7
-rwxr-xr-xplugins/AdminTools/language/sk_SK/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/sl_SI/description.txt1
-rw-r--r--plugins/AdminTools/language/sl_SI/index.php7
-rwxr-xr-xplugins/AdminTools/language/sl_SI/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/sr_RS/description.txt1
-rw-r--r--plugins/AdminTools/language/sr_RS/index.php7
-rwxr-xr-xplugins/AdminTools/language/sr_RS/plugin.lang.php39
-rwxr-xr-xplugins/AdminTools/language/sv_SE/description.txt1
-rw-r--r--plugins/AdminTools/language/sv_SE/index.php7
-rwxr-xr-xplugins/AdminTools/language/sv_SE/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/tr_TR/description.txt1
-rw-r--r--plugins/AdminTools/language/tr_TR/index.php7
-rwxr-xr-xplugins/AdminTools/language/tr_TR/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/uk_UA/description.txt1
-rw-r--r--plugins/AdminTools/language/uk_UA/index.php7
-rwxr-xr-xplugins/AdminTools/language/uk_UA/plugin.lang.php40
-rw-r--r--plugins/AdminTools/language/vi_VN/index.php7
-rwxr-xr-xplugins/AdminTools/language/vi_VN/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/zh_CN/description.txt1
-rw-r--r--plugins/AdminTools/language/zh_CN/index.php7
-rwxr-xr-xplugins/AdminTools/language/zh_CN/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/zh_HK/description.txt1
-rw-r--r--plugins/AdminTools/language/zh_HK/index.php7
-rwxr-xr-xplugins/AdminTools/language/zh_HK/plugin.lang.php40
-rwxr-xr-xplugins/AdminTools/language/zh_TW/description.txt1
-rw-r--r--plugins/AdminTools/language/zh_TW/index.php7
-rwxr-xr-xplugins/AdminTools/language/zh_TW/plugin.lang.php40
-rw-r--r--plugins/AdminTools/main.inc.php61
-rw-r--r--plugins/AdminTools/maintain.class.php31
-rw-r--r--plugins/AdminTools/template/admin.tpl60
-rw-r--r--plugins/AdminTools/template/fontello/LICENSE.txt39
-rw-r--r--plugins/AdminTools/template/fontello/README.txt75
-rw-r--r--plugins/AdminTools/template/fontello/config.json40
-rw-r--r--plugins/AdminTools/template/fontello/css/animation.css85
-rw-r--r--plugins/AdminTools/template/fontello/css/fontello-ato-codes.css6
-rw-r--r--plugins/AdminTools/template/fontello/css/fontello-ato-embedded.css59
-rw-r--r--plugins/AdminTools/template/fontello/css/fontello-ato-ie7-codes.css6
-rw-r--r--plugins/AdminTools/template/fontello/css/fontello-ato-ie7.css17
-rw-r--r--plugins/AdminTools/template/fontello/css/fontello-ato.css57
-rw-r--r--plugins/AdminTools/template/fontello/demo.html275
-rw-r--r--plugins/AdminTools/template/fontello/font/fontello-ato.eotbin0 -> 5248 bytes
-rw-r--r--plugins/AdminTools/template/fontello/font/fontello-ato.svg16
-rw-r--r--plugins/AdminTools/template/fontello/font/fontello-ato.ttfbin0 -> 5064 bytes
-rw-r--r--plugins/AdminTools/template/fontello/font/fontello-ato.woffbin0 -> 3148 bytes
-rw-r--r--plugins/AdminTools/template/index.php7
-rw-r--r--plugins/AdminTools/template/public_controller.js319
-rw-r--r--plugins/AdminTools/template/public_controller.tpl188
-rw-r--r--plugins/AdminTools/template/style.css251
137 files changed, 3939 insertions, 0 deletions
diff --git a/plugins/AdminTools/admin.php b/plugins/AdminTools/admin.php
new file mode 100644
index 000000000..ecd52115d
--- /dev/null
+++ b/plugins/AdminTools/admin.php
@@ -0,0 +1,23 @@
+<?php
+defined('ADMINTOOLS_PATH') or die('Hacking attempt!');
+
+if (isset($_POST['save_config']))
+{
+ $conf['AdminTools'] = array(
+ 'default_open' => isset($_POST['default_open']),
+ 'closed_position' => $_POST['closed_position'],
+ 'public_quick_edit' => isset($_POST['public_quick_edit']),
+ );
+
+ conf_update_param('AdminTools', $conf['AdminTools']);
+ $page['infos'][] = l10n('Information data registered in database');
+}
+
+
+$template->assign(array(
+ 'AdminTools' => $conf['AdminTools'],
+ ));
+
+
+$template->set_filename('admintools_content', realpath(ADMINTOOLS_PATH . 'template/admin.tpl'));
+$template->assign_var_from_handle('ADMIN_CONTENT', 'admintools_content');
diff --git a/plugins/AdminTools/include/MultiView.class.php b/plugins/AdminTools/include/MultiView.class.php
new file mode 100644
index 000000000..21c2560fa
--- /dev/null
+++ b/plugins/AdminTools/include/MultiView.class.php
@@ -0,0 +1,310 @@
+<?php
+defined('ADMINTOOLS_PATH') or die('Hacking attempt!');
+
+/**
+ * Class managing multi views system
+ */
+class MultiView
+{
+ /** @var bool $is_admin */
+ private $is_admin = false;
+
+ /** @var array $data */
+ private $data = array();
+ private $data_url_params = array();
+
+ /** @var array $user */
+ private $user = array();
+
+ /**
+ * Constructor, load $data from session
+ */
+ function __construct()
+ {
+ global $conf;
+
+ $this->data = array_merge(
+ array(
+ 'view_as' => 0,
+ 'theme' => '',
+ 'lang' => '',
+ 'show_queries' => $conf['show_queries'],
+ 'debug_l10n' => $conf['debug_l10n'],
+ 'debug_template' => $conf['debug_template'],
+ 'template_combine_files' => $conf['template_combine_files'],
+ 'no_history' => false,
+ ),
+ pwg_get_session_var('multiview', array())
+ );
+
+ $this->data_url_params = array_keys($this->data);
+ $this->data_url_params = array_map(create_function('$d', 'return "ato_".$d;'), $this->data_url_params);
+ }
+
+ /**
+ * @return bool
+ */
+ public function is_admin()
+ {
+ return $this->is_admin;
+ }
+
+ /**
+ * @return array
+ */
+ public function get_data()
+ {
+ return $this->data;
+ }
+
+ /**
+ * @return array
+ */
+ public function get_user()
+ {
+ return $this->user;
+ }
+
+ /**
+ * Save $data in session
+ */
+ private function save()
+ {
+ pwg_set_session_var('multiview', $this->data);
+ }
+
+ /**
+ * Returns the current url minus MultiView params
+ *
+ * @param bool $with_amp - adds ? or & at the end of the url
+ * @return string
+ */
+ public function get_clean_url($with_amp=false)
+ {
+ if (script_basename() == 'picture')
+ {
+ $url = duplicate_picture_url(array(), $this->data_url_params);
+ }
+ else if (script_basename() == 'index')
+ {
+ $url = duplicate_index_url(array(), $this->data_url_params);
+ }
+ else
+ {
+ $url = get_query_string_diff($this->data_url_params);
+ }
+
+ if ($with_amp)
+ {
+ $url.= strpos($url, '?')!==false ? '&' : '?';
+ }
+
+ return $url;
+ }
+
+ /**
+ * Triggered on "user_init", change current view depending of URL params.
+ */
+ public function user_init()
+ {
+ global $user, $conf;
+
+ $this->is_admin = is_admin();
+
+ $this->user = array(
+ 'id' => $user['id'],
+ 'username' => $user['username'],
+ 'language' => $user['language'],
+ 'theme' => $user['theme'],
+ );
+
+ // inactive on ws.php to allow AJAX admin tasks
+ if ($this->is_admin && script_basename() != 'ws')
+ {
+ if ($this->data['view_as'] == 0)
+ {
+ $this->data['view_as'] = $user['id'];
+ }
+ if (empty($this->data['lang']))
+ {
+ $this->data['lang'] = $user['language'];
+ }
+ if (empty($this->data['theme']))
+ {
+ $this->data['theme'] = $user['theme'];
+ }
+
+ // view_as
+ if (!defined('IN_ADMIN'))
+ {
+ if (isset($_GET['ato_view_as']))
+ {
+ $this->data['view_as'] = (int)$_GET['ato_view_as'];
+ }
+ if ($this->data['view_as'] != $user['id'])
+ {
+ $user = build_user($this->data['view_as'], true);
+ if (isset($_GET['ato_view_as']))
+ {
+ $this->data['theme'] = $user['theme'];
+ $this->data['lang'] = $user['language'];
+ }
+ }
+ }
+
+ // theme
+ if (isset($_GET['ato_theme']))
+ {
+ $this->data['theme'] = $_GET['ato_theme'];
+ }
+ $user['theme'] = $this->data['theme'];
+
+ // lang
+ if (isset($_GET['ato_lang']))
+ {
+ $this->data['lang'] = $_GET['ato_lang'];
+ }
+ $user['language'] = $this->data['lang'];
+
+ // show_queries
+ if (isset($_GET['ato_show_queries']))
+ {
+ $this->data['show_queries'] = (bool)$_GET['ato_show_queries'];
+ }
+ $conf['show_queries'] = $this->data['show_queries'];
+
+ // debug_l10n
+ if (isset($_GET['ato_debug_l10n']))
+ {
+ $this->data['debug_l10n'] = (bool)$_GET['ato_debug_l10n'];
+ }
+ $conf['debug_l10n'] = $this->data['debug_l10n'];
+
+ // debug_template
+ if (isset($_GET['ato_debug_template']))
+ {
+ $this->data['debug_template'] = (bool)$_GET['ato_debug_template'];
+ }
+ $conf['debug_template'] = $this->data['debug_template'];
+
+ // template_combine_files
+ if (isset($_GET['ato_template_combine_files']))
+ {
+ $this->data['template_combine_files'] = (bool)$_GET['ato_template_combine_files'];
+ }
+ $conf['template_combine_files'] = $this->data['template_combine_files'];
+
+ // no_history
+ if (isset($_GET['ato_no_history']))
+ {
+ $this->data['no_history'] = (bool)$_GET['ato_no_history'];
+ }
+ if ($this->data['no_history'])
+ {
+ add_event_handler('pwg_log_allowed', create_function('', 'return false;'));
+ }
+
+ $this->save();
+ }
+ }
+
+ /**
+ * Returns the language of the current user if different from the current language
+ * false otherwise
+ */
+ function get_user_language()
+ {
+ if (isset($this->user['language']) && isset($this->data['lang'])
+ && $this->user['language'] != $this->data['lang']
+ )
+ {
+ return $this->user['language'];
+ }
+ return false;
+ }
+
+ /**
+ * Triggered on "init", in order to clean template files (not initialized on "user_init")
+ */
+ public function init()
+ {
+ if ($this->is_admin)
+ {
+ if (isset($_GET['ato_purge_template']))
+ {
+ global $template;
+ $template->delete_compiled_templates();
+ FileCombiner::clear_combined_files();
+ }
+ }
+ }
+
+ /**
+ * Mark browser session cache for deletion
+ */
+ public static function invalidate_cache()
+ {
+ global $conf;
+ conf_update_param('multiview_invalidate_cache', true, true);
+ }
+
+ /**
+ * Register custom API methods
+ */
+ public static function register_ws($arr)
+ {
+ $service = &$arr[0];
+
+ $service->addMethod(
+ 'multiView.getData',
+ array('MultiView', 'ws_get_data'),
+ array(),
+ 'AdminTools private method.',
+ null,
+ array('admin_only' => true, 'hidden' => true)
+ );
+ }
+
+ /**
+ * API method
+ * Return full list of users, themes and languages
+ */
+ public static function ws_get_data($params)
+ {
+ global $conf;
+
+ // get users
+ $query = '
+SELECT
+ '.$conf['user_fields']['id'].' AS id,
+ '.$conf['user_fields']['username'].' AS username
+FROM '.USERS_TABLE.'
+ ORDER BY CONVERT('.$conf['user_fields']['username'].', CHAR)
+;';
+ $out['users'] = array_from_query($query);
+
+ // get themes
+ include_once(PHPWG_ROOT_PATH.'admin/include/themes.class.php');
+ $themes = new themes();
+ foreach (array_keys($themes->db_themes_by_id) as $theme)
+ {
+ if (!empty($theme))
+ {
+ $out['themes'][] = $theme;
+ }
+ }
+
+ // get languages
+ foreach (get_languages() as $code => $name)
+ {
+ $out['languages'][] = array(
+ 'id' => $code,
+ 'name' => $name,
+ );
+ }
+
+ conf_delete_param('multiview_invalidate_cache');
+
+ return $out;
+ }
+} \ No newline at end of file
diff --git a/plugins/AdminTools/include/events.inc.php b/plugins/AdminTools/include/events.inc.php
new file mode 100644
index 000000000..77c6a8c67
--- /dev/null
+++ b/plugins/AdminTools/include/events.inc.php
@@ -0,0 +1,312 @@
+<?php
+defined('ADMINTOOLS_PATH') or die('Hacking attempt!');
+
+/**
+ * Add main toolbar to current page
+ * @trigger loc_after_page_header
+ */
+function admintools_add_public_controller()
+{
+ global $MultiView, $conf, $template, $page, $user, $picture;
+
+ if (script_basename() == 'picture' and empty($picture['current']))
+ {
+ return;
+ }
+
+ $url_root = get_root_url();
+ $tpl_vars = array();
+
+ if ($MultiView->is_admin())
+ { // full options for admin
+ $tpl_vars['U_SITE_ADMIN'] = $url_root . 'admin.php?page=';
+ $tpl_vars['MULTIVIEW'] = $MultiView->get_data();
+ $tpl_vars['USER'] = $MultiView->get_user();
+ $tpl_vars['CURRENT_USERNAME'] = $user['id']==$conf['guest_id'] ? l10n('guest') : $user['username'];
+ $tpl_vars['DELETE_CACHE'] = isset($conf['multiview_invalidate_cache']);
+
+ if (($admin_lang = $MultiView->get_user_language()) !== false)
+ {
+ include_once(PHPWG_ROOT_PATH . 'include/functions_mail.inc.php');
+ switch_lang_to($admin_lang);
+ }
+ }
+ else if ($conf['AdminTools']['public_quick_edit'] and
+ script_basename() == 'picture' and $picture['current']['added_by'] == $user['id']
+ )
+ { // only "edit" button for photo owner
+ }
+ else
+ {
+ return;
+ }
+
+ $tpl_vars['POSITION'] = $conf['AdminTools']['closed_position'];
+ $tpl_vars['DEFAULT_OPEN'] = $conf['AdminTools']['default_open'];
+ $tpl_vars['U_SELF'] = $MultiView->get_clean_url(true);
+
+ // photo page
+ if (script_basename() == 'picture')
+ {
+ $url_self = duplicate_picture_url();
+ $tpl_vars['IS_PICTURE'] = true;
+
+ // admin can add to caddie and set representattive
+ if ($MultiView->is_admin())
+ {
+ $template->clear_assign(array(
+ 'U_SET_AS_REPRESENTATIVE',
+ 'U_PHOTO_ADMIN',
+ 'U_CADDIE',
+ ));
+
+ $template->set_prefilter('picture', 'admintools_remove_privacy');
+
+ $tpl_vars['U_CADDIE'] = add_url_params(
+ $url_self,
+ array('action'=>'add_to_caddie')
+ );
+
+ $query = '
+SELECT element_id FROM ' . CADDIE_TABLE . '
+ WHERE element_id = ' . $page['image_id'] .'
+;';
+ $tpl_vars['IS_IN_CADDIE'] = pwg_db_num_rows(pwg_query($query)) > 0;
+
+ if (isset($page['category']))
+ {
+ $tpl_vars['CATEGORY_ID'] = $page['category']['id'];
+
+ $tpl_vars['U_SET_REPRESENTATIVE'] = add_url_params(
+ $url_self,
+ array('action'=>'set_as_representative')
+ );
+
+ $tpl_vars['IS_REPRESENTATIVE'] = $page['category']['representative_picture_id'] == $page['image_id'];
+ }
+
+ $tpl_vars['U_ADMIN_EDIT'] = $url_root . 'admin.php?page=photo-' . $page['image_id']
+ .(isset($page['category']) ? '&amp;cat_id=' . $page['category']['id'] : '');
+ }
+
+ $tpl_vars['U_DELETE'] = add_url_params(
+ $url_self, array(
+ 'delete'=>'',
+ 'pwg_token'=>get_pwg_token()
+ )
+ );
+
+ // gets tags (full available list is loaded in ajax)
+ include_once(PHPWG_ROOT_PATH . 'admin/include/functions.php');
+
+ $query = '
+SELECT id, name
+ FROM '.IMAGE_TAG_TABLE.' AS it
+ JOIN '.TAGS_TABLE.' AS t ON t.id = it.tag_id
+ WHERE image_id = '.$page['image_id'].'
+;';
+ $tag_selection = get_taglist($query);
+
+ $tpl_vars['QUICK_EDIT'] = array(
+ 'img' => $picture['current']['derivatives']['square']->get_url(),
+ 'name' => $picture['current']['name'],
+ 'comment' => $picture['current']['comment'],
+ 'author' => $picture['current']['author'],
+ 'level' => $picture['current']['level'],
+ 'date_creation' => substr($picture['current']['date_creation'], 0, 10),
+ 'date_creation_time' => substr($picture['current']['date_creation'], 11, 5),
+ 'tag_selection' => $tag_selection,
+ );
+ }
+ // album page (admin only)
+ else if ($MultiView->is_admin() and @$page['section'] == 'categories' and isset($page['category']))
+ {
+ $url_self = duplicate_index_url();
+
+ $tpl_vars['IS_CATEGORY'] = true;
+ $tpl_vars['CATEGORY_ID'] = $page['category']['id'];
+
+ $template->clear_assign(array(
+ 'U_EDIT',
+ 'U_CADDIE',
+ ));
+
+ $tpl_vars['U_ADMIN_EDIT'] = $url_root . 'admin.php?page=album-' . $page['category']['id'];
+
+ if (!empty($page['items']))
+ {
+ $tpl_vars['U_CADDIE'] = add_url_params(
+ $url_self,
+ array('caddie'=>1)
+ );
+ }
+
+ $tpl_vars['QUICK_EDIT'] = array(
+ 'img' => null,
+ 'name' => $page['category']['name'],
+ 'comment' => $page['category']['comment'],
+ );
+
+ if (!empty($page['category']['representative_picture_id']))
+ {
+ $query = '
+SELECT * FROM '.IMAGES_TABLE.'
+ WHERE id = '. $page['category']['representative_picture_id'] .'
+;';
+ $image_infos = pwg_db_fetch_assoc(pwg_query($query));
+
+ $tpl_vars['QUICK_EDIT']['img'] = DerivativeImage::get_one(IMG_SQUARE, $image_infos)->get_url();
+ }
+ }
+
+
+ $template->assign(array(
+ 'ADMINTOOLS_PATH' => './plugins/' . ADMINTOOLS_ID .'/',
+ 'ato' => $tpl_vars,
+ ));
+
+ $template->set_filename('ato_public_controller', realpath(ADMINTOOLS_PATH . 'template/public_controller.tpl'));
+ $template->parse('ato_public_controller');
+
+ if ($MultiView->is_admin() && @$admin_lang !== false)
+ {
+ switch_lang_back();
+ }
+}
+
+/**
+ * Disable privacy level switchbox
+ */
+function admintools_remove_privacy($content)
+{
+ $search = '{if $display_info.privacy_level and isset($available_permission_levels)}';
+ $replace = '{if false}';
+ return str_replace($search, $replace, $content);
+}
+
+/**
+ * Save picture form
+ * @trigger loc_begin_picture
+ */
+function admintools_save_picture()
+{
+ global $page, $conf, $MultiView, $user, $picture;
+
+ if (!isset($_GET['delete']) and !isset($_POST['action']) and @$_POST['action'] != 'quick_edit')
+ {
+ return;
+ }
+
+ $query = 'SELECT added_by FROM '. IMAGES_TABLE .' WHERE id = '. $page['image_id'] .';';
+ list($added_by) = pwg_db_fetch_row(pwg_query($query));
+
+ if (!$MultiView->is_admin() and $user['id'] != $added_by)
+ {
+ return;
+ }
+
+ if (isset($_GET['delete']) and get_pwg_token()==@$_GET['pwg_token'])
+ {
+ include_once(PHPWG_ROOT_PATH . 'admin/include/functions.php');
+
+ delete_elements(array($page['image_id']), true);
+ invalidate_user_cache();
+
+ if (isset($page['rank_of'][ $page['image_id'] ]))
+ {
+ redirect(
+ duplicate_index_url(
+ array(
+ 'start' =>
+ floor($page['rank_of'][ $page['image_id'] ] / $page['nb_image_page'])
+ * $page['nb_image_page']
+ )
+ )
+ );
+ }
+ else
+ {
+ redirect(make_index_url());
+ }
+ }
+
+ if ($_POST['action'] == 'quick_edit')
+ {
+ include_once(PHPWG_ROOT_PATH . 'admin/include/functions.php');
+
+ $data = array(
+ 'name' => $_POST['name'],
+ 'author' => $_POST['author'],
+ );
+
+ if ($MultiView->is_admin())
+ {
+ $data['level'] = $_POST['level'];
+ }
+
+ if ($conf['allow_html_descriptions'])
+ {
+ $data['comment'] = @$_POST['comment'];
+ }
+ else
+ {
+ $data['comment'] = strip_tags(@$_POST['comment']);
+ }
+
+ if (!empty($_POST['date_creation']) and strtotime($_POST['date_creation']) !== false)
+ {
+ $data['date_creation'] = $_POST['date_creation'] .' '. $_POST['date_creation_time'];
+ }
+
+ single_update(
+ IMAGES_TABLE,
+ $data,
+ array('id' => $page['image_id'])
+ );
+
+ $tag_ids = array();
+ if (!empty($_POST['tags']))
+ {
+ $tag_ids = get_tag_ids($_POST['tags']);
+ }
+ set_tags($tag_ids, $page['image_id']);
+ }
+}
+
+/**
+ * Save category form
+ * @trigger loc_begin_index
+ */
+function admintools_save_category()
+{
+ global $page, $conf, $MultiView;
+
+ if (!$MultiView->is_admin())
+ {
+ return;
+ }
+
+ if (@$_POST['action'] == 'quick_edit')
+ {
+ $data = array(
+ 'name' => $_POST['name'],
+ );
+
+ if ($conf['allow_html_descriptions'])
+ {
+ $data['comment'] = @$_POST['comment'];
+ }
+ else
+ {
+ $data['comment'] = strip_tags(@$_POST['comment']);
+ }
+
+ single_update(
+ CATEGORIES_TABLE,
+ $data,
+ array('id' => $page['category']['id'])
+ );
+
+ redirect(duplicate_index_url());
+ }
+} \ No newline at end of file
diff --git a/plugins/AdminTools/include/index.php b/plugins/AdminTools/include/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/include/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/index.php b/plugins/AdminTools/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/ar_SA/description.txt b/plugins/AdminTools/language/ar_SA/description.txt
new file mode 100755
index 000000000..9d282a941
--- /dev/null
+++ b/plugins/AdminTools/language/ar_SA/description.txt
@@ -0,0 +1 @@
+القيام ببعض المهام الادارية على الصفحات العامة \ No newline at end of file
diff --git a/plugins/AdminTools/language/ar_SA/index.php b/plugins/AdminTools/language/ar_SA/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/ar_SA/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/ar_SA/plugin.lang.php b/plugins/AdminTools/language/ar_SA/plugin.lang.php
new file mode 100755
index 000000000..760b9a5e5
--- /dev/null
+++ b/plugins/AdminTools/language/ar_SA/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Viewing as <b>%s</b>.'] = 'عرض بشكل <b>%s</b>.';
+$lang['View as'] = 'عرض بشكل';
+$lang['Show SQL queries'] = 'إظهار استعلامات SQL';
+$lang['Saved'] = 'حفظ';
+$lang['Save visit in history'] = 'حفظ تاريخ الزيارة';
+$lang['Save'] = 'حفظ';
+$lang['Revert'] = 'الى الخلف';
+$lang['Quick edit'] = 'التحرير السريع';
+$lang['Properties page'] = 'خصائص الصفحة';
+$lang['Debug template'] = 'قالب تصحيح الأخطاء';
+$lang['Combine JS&CSS'] = 'الجمع بين JS و CSS';
+$lang['Debug languages'] = 'تصحيح أخطاء اللغات';
+$lang['Closed icon position'] = 'إغلاق وضع الآيقونه';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'منح حق تحرير الصور لاصحاب الصور حتى المدير العام';
+$lang['Open toolbar by default'] = 'فتح شريط الأدوات بشكل افتراضي';
+$lang['left'] = 'يسار';
+$lang['right'] = 'يمين';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/bg_BG/description.txt b/plugins/AdminTools/language/bg_BG/description.txt
new file mode 100755
index 000000000..1dc889abe
--- /dev/null
+++ b/plugins/AdminTools/language/bg_BG/description.txt
@@ -0,0 +1 @@
+Няколко административни настройки на публичните страници \ No newline at end of file
diff --git a/plugins/AdminTools/language/bg_BG/index.php b/plugins/AdminTools/language/bg_BG/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/bg_BG/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/bg_BG/plugin.lang.php b/plugins/AdminTools/language/bg_BG/plugin.lang.php
new file mode 100755
index 000000000..57ff491ab
--- /dev/null
+++ b/plugins/AdminTools/language/bg_BG/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Show SQL queries'] = 'Покажи SQL заявки';
+$lang['Combine JS&CSS'] = 'Комбиниране JS&CSS';
+$lang['Debug languages'] = 'Език за отстраняване на грешки';
+$lang['Debug template'] = 'Шаблон отстраняване на грешки';
+$lang['Properties page'] = 'Страница с настройки';
+$lang['Quick edit'] = 'Бърза редакция';
+$lang['Revert'] = 'Обратно';
+$lang['Viewing as <b>%s</b>.'] = 'Разглежда като <b>%s</b>.';
+$lang['View as'] = 'Виж като';
+$lang['Save'] = 'Запис';
+$lang['Save visit in history'] = 'Пази история на посещенията';
+$lang['Saved'] = 'Записано';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Дава права за редакция върху снимка на собственика й дори и да не е администратор';
+$lang['Closed icon position'] = 'Затворена позиция на икона';
+$lang['Open toolbar by default'] = 'Отваряне на лента с инструменти по подразбиране';
+$lang['right'] = 'дясно';
+$lang['left'] = 'ляво';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/cs_CZ/description.txt b/plugins/AdminTools/language/cs_CZ/description.txt
new file mode 100644
index 000000000..5a22f4ed3
--- /dev/null
+++ b/plugins/AdminTools/language/cs_CZ/description.txt
@@ -0,0 +1 @@
+Umožní provádět některé administrační úkony i na stránkách fotogalerie \ No newline at end of file
diff --git a/plugins/AdminTools/language/cs_CZ/index.php b/plugins/AdminTools/language/cs_CZ/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/cs_CZ/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/cs_CZ/plugin.lang.php b/plugins/AdminTools/language/cs_CZ/plugin.lang.php
new file mode 100644
index 000000000..625631c9b
--- /dev/null
+++ b/plugins/AdminTools/language/cs_CZ/plugin.lang.php
@@ -0,0 +1,16 @@
+<?php
+
+$lang['Combine JS&CSS'] = 'Kombinace JS&CSS';
+$lang['Debug languages'] = 'Debug překladů';
+$lang['Debug template'] = 'Debug šablony vzhledu';
+$lang['Viewing as <b>%s</b>.'] = 'Zobrazení jako <b>%s</b>.';
+$lang['Properties page'] = 'Stránka vlastností';
+$lang['Quick edit'] = 'Rychlá editace';
+$lang['Revert'] = 'Nazpět';
+$lang['Save'] = 'Uložit';
+$lang['Saved'] = 'Uloženo';
+$lang['Save visit in history'] = 'Ukládat návštevy do historie';
+$lang['Show SQL queries'] = 'Zobrazit SQL queries';
+$lang['View as'] = 'Zobrazit jako';
+
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/da_DK/description.txt b/plugins/AdminTools/language/da_DK/description.txt
new file mode 100755
index 000000000..7fca9ec1c
--- /dev/null
+++ b/plugins/AdminTools/language/da_DK/description.txt
@@ -0,0 +1 @@
+Foretag nogle administrative handlinger fra de offentlige sider.
diff --git a/plugins/AdminTools/language/da_DK/index.php b/plugins/AdminTools/language/da_DK/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/da_DK/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/da_DK/plugin.lang.php b/plugins/AdminTools/language/da_DK/plugin.lang.php
new file mode 100755
index 000000000..445e1a7c9
--- /dev/null
+++ b/plugins/AdminTools/language/da_DK/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Kombiner JS&CSS';
+$lang['Debug languages'] = 'Debug sprog';
+$lang['Debug template'] = 'Debug skabelon';
+$lang['Properties page'] = 'Egenskabsside';
+$lang['Quick edit'] = 'Hurtigredigering';
+$lang['Revert'] = 'Tilbagefør';
+$lang['Save'] = 'Gem';
+$lang['Save visit in history'] = 'Gem besøg i historikken';
+$lang['Show SQL queries'] = 'Vis SQL-forespørgsler';
+$lang['View as'] = 'Vis som';
+$lang['Viewing as <b>%s</b>.'] = 'Viser som <b>%s</b>.';
+$lang['Saved'] = 'Gemt';
+$lang['Closed icon position'] = 'Lukket-ikons placering';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Giv adgang til hurtigredigering for fotoejere, selv hvis de ikke er admin';
+$lang['Open toolbar by default'] = 'Åbn værktøjslinje som standard';
+$lang['left'] = 'venstre';
+$lang['right'] = 'højre';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/de_DE/description.txt b/plugins/AdminTools/language/de_DE/description.txt
new file mode 100755
index 000000000..ae38d8107
--- /dev/null
+++ b/plugins/AdminTools/language/de_DE/description.txt
@@ -0,0 +1 @@
+Ausgewählte Admin-Tätigkeiten mittels Toolbar von allen Seiten aus durchführen \ No newline at end of file
diff --git a/plugins/AdminTools/language/de_DE/index.php b/plugins/AdminTools/language/de_DE/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/de_DE/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/de_DE/plugin.lang.php b/plugins/AdminTools/language/de_DE/plugin.lang.php
new file mode 100755
index 000000000..2dfd8c74f
--- /dev/null
+++ b/plugins/AdminTools/language/de_DE/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'JS&CSS kombinieren';
+$lang['Debug languages'] = 'Sprachen debuggen';
+$lang['Debug template'] = 'Vorlagen debuggen';
+$lang['Properties page'] = 'Eigenschafts-Seite';
+$lang['Quick edit'] = 'Schnell-Änderung';
+$lang['Revert'] = 'Zurücksetzen';
+$lang['Save'] = 'Speichern';
+$lang['Save visit in history'] = 'Zugriff in Historie speichern';
+$lang['Show SQL queries'] = 'SQL-Abfrage anzeigen';
+$lang['View as'] = 'Anzeigen als';
+$lang['Viewing as <b>%s</b>.'] = 'aktueller User: <b>%s</b>';
+$lang['Saved'] = 'gesichert';
+$lang['Closed icon position'] = 'Position des geschlossenen Icons';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Zugriff zum schnellen Editieren für Bildereigentümer erlauben, obwohl sie kein Administrator sind.';
+$lang['Open toolbar by default'] = 'Die Toolbar Per standard öffnen';
+$lang['left'] = 'links';
+$lang['right'] = 'rechts';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/el_GR/description.txt b/plugins/AdminTools/language/el_GR/description.txt
new file mode 100755
index 000000000..a778ffb73
--- /dev/null
+++ b/plugins/AdminTools/language/el_GR/description.txt
@@ -0,0 +1 @@
+Κάνει κάποιες διαχειριστικές εργασίες από δημόσιες σελίδες \ No newline at end of file
diff --git a/plugins/AdminTools/language/el_GR/index.php b/plugins/AdminTools/language/el_GR/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/el_GR/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/el_GR/plugin.lang.php b/plugins/AdminTools/language/el_GR/plugin.lang.php
new file mode 100755
index 000000000..d27f96ba1
--- /dev/null
+++ b/plugins/AdminTools/language/el_GR/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Viewing as <b>%s</b>.'] = 'Προβολή ως <b>%s</b>';
+$lang['View as'] = 'Προβολή ως';
+$lang['Show SQL queries'] = 'Εμφάνιση ερωτημάτων SQL';
+$lang['Save visit in history'] = 'Αποθήκευση επίσκεψης στην ιστορία';
+$lang['Save'] = 'Αποθήκευση';
+$lang['Revert'] = 'Επαναφορά';
+$lang['Quick edit'] = 'Γρήγορη επεξεργασία';
+$lang['Debug languages'] = 'Γλώσσες αποσφάτωσης';
+$lang['Debug template'] = 'Πρότυπο αποσφάτωσης';
+$lang['Properties page'] = 'Ιδιότητες σελίδας';
+$lang['Combine JS&CSS'] = 'Συνδυάστε JS&CSS';
+$lang['Saved'] = 'Αποθηκεύτηκε';
+$lang['right'] = 'δεξιά';
+$lang['left'] = 'αριστερά';
+$lang['Open toolbar by default'] = 'Ανοικτή γραμμή εργαλείων από προεπιλογή';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Δώστε πρόσβαση σε γρήγορη επεξεργασία στους ιδιοκτήτες φωτογραφιών, ακόμη και αν δεν το διαχειριστές ';
+$lang['Closed icon position'] = 'Θέση Κλειστού εικονονίδιου';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/en_UK/description.txt b/plugins/AdminTools/language/en_UK/description.txt
new file mode 100644
index 000000000..92caa90b0
--- /dev/null
+++ b/plugins/AdminTools/language/en_UK/description.txt
@@ -0,0 +1 @@
+Do some admin task from the public pages \ No newline at end of file
diff --git a/plugins/AdminTools/language/en_UK/index.php b/plugins/AdminTools/language/en_UK/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/en_UK/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/en_UK/plugin.lang.php b/plugins/AdminTools/language/en_UK/plugin.lang.php
new file mode 100644
index 000000000..81970dd81
--- /dev/null
+++ b/plugins/AdminTools/language/en_UK/plugin.lang.php
@@ -0,0 +1,21 @@
+<?php
+
+$lang['Combine JS&CSS'] = 'Combine JS&CSS';
+$lang['Debug languages'] = 'Debug languages';
+$lang['Debug template'] = 'Debug template';
+$lang['Viewing as <b>%s</b>.'] = 'Viewing as <b>%s</b>.';
+$lang['Properties page'] = 'Properties page';
+$lang['Quick edit'] = 'Quick edit';
+$lang['Revert'] = 'Revert';
+$lang['Save'] = 'Save';
+$lang['Saved'] = 'Saved';
+$lang['Save visit in history'] = 'Save visit in history';
+$lang['Show SQL queries'] = 'Show SQL queries';
+$lang['View as'] = 'View as';
+$lang['Closed icon position'] = 'Closed icon position';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Give access to quick edit to photo owners even if they are not admin';
+$lang['Open toolbar by default'] = 'Open toolbar by default';
+$lang['left'] = 'left';
+$lang['right'] = 'right';
+
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/eo_EO/description.txt b/plugins/AdminTools/language/eo_EO/description.txt
new file mode 100755
index 000000000..2844006c0
--- /dev/null
+++ b/plugins/AdminTools/language/eo_EO/description.txt
@@ -0,0 +1 @@
+Faras kelkajn administrajn taskojn el la publikaj paĝoj \ No newline at end of file
diff --git a/plugins/AdminTools/language/eo_EO/index.php b/plugins/AdminTools/language/eo_EO/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/eo_EO/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/eo_EO/plugin.lang.php b/plugins/AdminTools/language/eo_EO/plugin.lang.php
new file mode 100755
index 000000000..1604b8140
--- /dev/null
+++ b/plugins/AdminTools/language/eo_EO/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Kunigi JS&CSS';
+$lang['Debug languages'] = 'Sencimigi la lingvojn';
+$lang['Debug template'] = 'Sencimigi la ŝablonon';
+$lang['Properties page'] = 'Paĝaj ecoj';
+$lang['Quick edit'] = 'Rapida redakto';
+$lang['Revert'] = 'Malfari';
+$lang['Save'] = 'Konservi';
+$lang['Save visit in history'] = 'Konservi la viziton al historio';
+$lang['Show SQL queries'] = 'Montri la SQL-aj informpetoj';
+$lang['View as'] = 'Vidi kiel';
+$lang['Viewing as <b>%s</b>.'] = 'Vidita kiel <b>%s</b>';
+$lang['Saved'] = 'Konservita';
+$lang['Closed icon position'] = 'Pozicio de la fermita bildsimbolo';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Permesi al fotoposedantoj atingon al rapida redaktado eĉ se ili ne estas administrantoj';
+$lang['Open toolbar by default'] = 'Malfermi la aprioran ilobreton';
+$lang['left'] = 'maldekstra';
+$lang['right'] = 'dekstra';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/es_ES/description.txt b/plugins/AdminTools/language/es_ES/description.txt
new file mode 100755
index 000000000..c92e5b724
--- /dev/null
+++ b/plugins/AdminTools/language/es_ES/description.txt
@@ -0,0 +1 @@
+Hacer algunas tarea de administración de las páginas públicas \ No newline at end of file
diff --git a/plugins/AdminTools/language/es_ES/index.php b/plugins/AdminTools/language/es_ES/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/es_ES/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/es_ES/plugin.lang.php b/plugins/AdminTools/language/es_ES/plugin.lang.php
new file mode 100755
index 000000000..4974253b5
--- /dev/null
+++ b/plugins/AdminTools/language/es_ES/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Revert'] = 'Volver';
+$lang['Save'] = 'Guardar';
+$lang['Save visit in history'] = 'Guardar el histórico de visita ';
+$lang['Show SQL queries'] = 'Mostrar consultas SQL ';
+$lang['View as'] = 'Ver como';
+$lang['Viewing as <b>%s</b>.'] = 'Visualización como <b>%s</b>.';
+$lang['Quick edit'] = 'Edición rápida';
+$lang['Properties page'] = 'Propriedades de la pagina';
+$lang['Debug template'] = 'Depurar plantilla';
+$lang['Debug languages'] = 'Depurar idiomas';
+$lang['Combine JS&CSS'] = 'Combine JS y CSS';
+$lang['Saved'] = 'Guardado';
+$lang['Closed icon position'] = 'Posición de icono Cerrado';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Dar acceso a la edición rápida a los propietarios de las fotos, incluso si no son admin';
+$lang['Open toolbar by default'] = 'Abrir por defecto la barra de herramientas ';
+$lang['left'] = 'izquierda';
+$lang['right'] = 'derecha';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/et_EE/description.txt b/plugins/AdminTools/language/et_EE/description.txt
new file mode 100755
index 000000000..db3329942
--- /dev/null
+++ b/plugins/AdminTools/language/et_EE/description.txt
@@ -0,0 +1 @@
+Lubab mõningast toimetamist otse üldlehtedelt \ No newline at end of file
diff --git a/plugins/AdminTools/language/et_EE/index.php b/plugins/AdminTools/language/et_EE/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/et_EE/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/et_EE/plugin.lang.php b/plugins/AdminTools/language/et_EE/plugin.lang.php
new file mode 100755
index 000000000..ef83600e1
--- /dev/null
+++ b/plugins/AdminTools/language/et_EE/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['left'] = 'vasak';
+$lang['right'] = 'parem';
+$lang['Viewing as <b>%s</b>.'] = 'Näidetakse kui <b>%s</b>.';
+$lang['View as'] = 'Näita kui';
+$lang['Show SQL queries'] = 'Näita andmebaasi SQL-päringuid';
+$lang['Saved'] = 'Salvestatud';
+$lang['Save visit in history'] = 'Salvesta külastus ajalukku';
+$lang['Save'] = 'Salvesta';
+$lang['Revert'] = 'Taasta';
+$lang['Quick edit'] = 'Kiirtoimeta';
+$lang['Properties page'] = 'Atribuudileht';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Luba fotode kiirtoimetamist nende omanikele, kuigi nad pole haldurid';
+$lang['Open toolbar by default'] = 'Näita tööriistariba vaikimisi';
+$lang['Debug template'] = 'Silumise mall';
+$lang['Debug languages'] = 'Silumise keeled';
+$lang['Combine JS&CSS'] = 'Kasuta nii JavaScripti kui CSS-i';
+$lang['Closed icon position'] = 'Suletud ikooni asukoht';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/fa_IR/description.txt b/plugins/AdminTools/language/fa_IR/description.txt
new file mode 100755
index 000000000..43deda3af
--- /dev/null
+++ b/plugins/AdminTools/language/fa_IR/description.txt
@@ -0,0 +1 @@
+از صفحات عمومي مقداري كار مديريتي انجام دهيد. \ No newline at end of file
diff --git a/plugins/AdminTools/language/fa_IR/index.php b/plugins/AdminTools/language/fa_IR/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/fa_IR/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/fa_IR/plugin.lang.php b/plugins/AdminTools/language/fa_IR/plugin.lang.php
new file mode 100755
index 000000000..b6ffd2dce
--- /dev/null
+++ b/plugins/AdminTools/language/fa_IR/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Closed icon position'] = 'موقعيت آيكون بسته شده';
+$lang['Combine JS&CSS'] = 'تركيب جاوا اسكريپ و قالب';
+$lang['Debug languages'] = 'زبانهاي خطايابي';
+$lang['Debug template'] = 'قالب خطايابي';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'دسترسي صاحب عكس براي ويرايش عكس در حالت غير مديركل';
+$lang['Open toolbar by default'] = 'باز كردن پيش فرض ابزار';
+$lang['Properties page'] = 'صفحه مشخصات';
+$lang['Quick edit'] = 'ويرايش سريع';
+$lang['Revert'] = 'بازگرداندن';
+$lang['Save'] = 'ذخيره';
+$lang['Save visit in history'] = 'ذخيره بازديدها در تاريخچه';
+$lang['Saved'] = 'ذخيره شده';
+$lang['Show SQL queries'] = 'نمايش دستورات جستجوي بانك اطلاعات';
+$lang['View as'] = 'نمايش در حالت';
+$lang['Viewing as <b>%s</b>.'] = 'نمايش در حالت <b>%s</b>.';
+$lang['left'] = 'چپ';
+$lang['right'] = 'راست';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/fi_FI/description.txt b/plugins/AdminTools/language/fi_FI/description.txt
new file mode 100755
index 000000000..a7cc2feec
--- /dev/null
+++ b/plugins/AdminTools/language/fi_FI/description.txt
@@ -0,0 +1 @@
+Suorita osa ylläpitäjän toiminnoista suoraan julkisilta sivuilta \ No newline at end of file
diff --git a/plugins/AdminTools/language/fi_FI/index.php b/plugins/AdminTools/language/fi_FI/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/fi_FI/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/fi_FI/plugin.lang.php b/plugins/AdminTools/language/fi_FI/plugin.lang.php
new file mode 100755
index 000000000..3e743aac2
--- /dev/null
+++ b/plugins/AdminTools/language/fi_FI/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Yhdistä JS&CSS';
+$lang['Debug languages'] = 'Debuggaa kielet';
+$lang['Quick edit'] = 'Pikamuokkaus';
+$lang['Revert'] = 'Palauta';
+$lang['Save'] = 'Tallenna';
+$lang['Show SQL queries'] = 'Näytä SQL-kyselyt';
+$lang['View as'] = 'Katso';
+$lang['Properties page'] = 'Ominaisuussivu';
+$lang['Save visit in history'] = 'Tallenna käynti historiatietoihin';
+$lang['Saved'] = 'Tallennettu';
+$lang['Closed icon position'] = 'Suljettu kuvakkeen sijainti';
+$lang['Viewing as <b>%s</b>.'] = 'Näkyy <b>%s</b>';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Anna oikeus pikamuokkaukseen vaikkei käyttäjä ole ylläpitäjä';
+$lang['Debug template'] = 'Debuggaa malline';
+$lang['Open toolbar by default'] = 'Avaa työkalupalkki oletuksena';
+$lang['left'] = 'vasen';
+$lang['right'] = 'oikea';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/fr_CA/description.txt b/plugins/AdminTools/language/fr_CA/description.txt
new file mode 100644
index 000000000..34aa486e5
--- /dev/null
+++ b/plugins/AdminTools/language/fr_CA/description.txt
@@ -0,0 +1 @@
+Rend possibles certaines tâches d’administration depuis la partie publique \ No newline at end of file
diff --git a/plugins/AdminTools/language/fr_CA/index.php b/plugins/AdminTools/language/fr_CA/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/fr_CA/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/fr_CA/plugin.lang.php b/plugins/AdminTools/language/fr_CA/plugin.lang.php
new file mode 100644
index 000000000..07766a5e8
--- /dev/null
+++ b/plugins/AdminTools/language/fr_CA/plugin.lang.php
@@ -0,0 +1,21 @@
+<?php
+
+$lang['Combine JS&CSS'] = 'Combiner JS&CSS';
+$lang['Debug languages'] = 'Déboguer les langues';
+$lang['Debug template'] = 'Déboguer le patron';
+$lang['Viewing as <b>%s</b>.'] = 'Vue simulée de <b>%s</b>.';
+$lang['Properties page'] = 'Page d\'administration';
+$lang['Quick edit'] = 'Édition rapide';
+$lang['Revert'] = 'Annuler';
+$lang['Save'] = 'Sauvegarder';
+$lang['Saved'] = 'Sauvegardé';
+$lang['Save visit in history'] = 'Sauvegarder la viste dans l\'historique';
+$lang['Show SQL queries'] = 'Afficher les requêtes SQL';
+$lang['View as'] = 'Voir en tant que';
+$lang['Closed icon position'] = 'Position de l\'icône fermée';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Autoriser l\'accès à l\'édition rapide aux propriétaires des photos même s\'ils ne sont pas administrateurs';
+$lang['Open toolbar by default'] = 'Ouvrir la barre par défaut';
+$lang['left'] = 'gauche';
+$lang['right'] = 'droite';
+
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/fr_FR/description.txt b/plugins/AdminTools/language/fr_FR/description.txt
new file mode 100644
index 000000000..34aa486e5
--- /dev/null
+++ b/plugins/AdminTools/language/fr_FR/description.txt
@@ -0,0 +1 @@
+Rend possibles certaines tâches d’administration depuis la partie publique \ No newline at end of file
diff --git a/plugins/AdminTools/language/fr_FR/index.php b/plugins/AdminTools/language/fr_FR/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/fr_FR/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/fr_FR/plugin.lang.php b/plugins/AdminTools/language/fr_FR/plugin.lang.php
new file mode 100644
index 000000000..0244ed5c8
--- /dev/null
+++ b/plugins/AdminTools/language/fr_FR/plugin.lang.php
@@ -0,0 +1,21 @@
+<?php
+
+$lang['Combine JS&CSS'] = 'Combiner JS&CSS';
+$lang['Debug languages'] = 'Debuguer les langues';
+$lang['Debug template'] = 'Debuguer le template';
+$lang['Viewing as <b>%s</b>.'] = 'Vue simulée de <b>%s</b>.';
+$lang['Properties page'] = 'Page d\'administration';
+$lang['Quick edit'] = 'Édition rapide';
+$lang['Revert'] = 'Annuler';
+$lang['Save'] = 'Sauvegarder';
+$lang['Saved'] = 'Sauvegardé';
+$lang['Save visit in history'] = 'Sauvegarder la viste dans l\'historique';
+$lang['Show SQL queries'] = 'Afficher les requêtes SQL';
+$lang['View as'] = 'Voir en tant que';
+$lang['Closed icon position'] = 'Position the l\'icône fermé';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Autoriser l\'accès à l\'édition rapide aux propriétaires des photos même s\'ils ne sont pas admin';
+$lang['Open toolbar by default'] = 'Ouvrir la barre par défaut';
+$lang['left'] = 'gauche';
+$lang['right'] = 'droite';
+
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/he_IL/description.txt b/plugins/AdminTools/language/he_IL/description.txt
new file mode 100755
index 000000000..c4e66f93a
--- /dev/null
+++ b/plugins/AdminTools/language/he_IL/description.txt
@@ -0,0 +1 @@
+ביצוע משימות מנהל מדפים ציבוריים \ No newline at end of file
diff --git a/plugins/AdminTools/language/he_IL/index.php b/plugins/AdminTools/language/he_IL/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/he_IL/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/he_IL/plugin.lang.php b/plugins/AdminTools/language/he_IL/plugin.lang.php
new file mode 100755
index 000000000..70708d9df
--- /dev/null
+++ b/plugins/AdminTools/language/he_IL/plugin.lang.php
@@ -0,0 +1,39 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'תן גישה לעריכה מהירה לבעלי תמונה, גם אם הם לא מנהלים';
+$lang['Viewing as <b>%s</b>.'] = 'צופה כ <b>%s</b>.';
+$lang['Open toolbar by default'] = 'סרגל כלים פתוחים כברירת מחדל';
+$lang['Properties page'] = 'מאפיינים';
+$lang['Combine JS&CSS'] = 'שלב JS&CSS';
+$lang['Debug languages'] = 'מיפוי שגיאות בשפות';
+$lang['Debug template'] = 'מיפוי שגיאות בתבנית';
+$lang['Closed icon position'] = 'סגור מיקום סמל';
+$lang['Quick edit'] = 'עריכה מהירה';
+$lang['Revert'] = 'חזור';
+$lang['Save'] = 'שמור';
+$lang['Save visit in history'] = 'שמור ביקורים בהיסטוריה';
+$lang['Saved'] = 'נשמר';
+$lang['Show SQL queries'] = 'הצג שאילתות SQL';
+$lang['View as'] = 'צפה כ';
+$lang['left'] = 'שמאל';
+$lang['right'] = 'ימין'; \ No newline at end of file
diff --git a/plugins/AdminTools/language/index.php b/plugins/AdminTools/language/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/it_IT/description.txt b/plugins/AdminTools/language/it_IT/description.txt
new file mode 100755
index 000000000..c73826599
--- /dev/null
+++ b/plugins/AdminTools/language/it_IT/description.txt
@@ -0,0 +1 @@
+Fare qualche admin task dalle pagine pubbliche \ No newline at end of file
diff --git a/plugins/AdminTools/language/it_IT/index.php b/plugins/AdminTools/language/it_IT/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/it_IT/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/it_IT/plugin.lang.php b/plugins/AdminTools/language/it_IT/plugin.lang.php
new file mode 100755
index 000000000..80d6b7ea0
--- /dev/null
+++ b/plugins/AdminTools/language/it_IT/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Viewing as <b>%s</b>.'] = 'Visualizza come <b>%s</b>.';
+$lang['View as'] = 'Mostra come';
+$lang['Show SQL queries'] = 'Mostra queries SQL';
+$lang['Save visit in history'] = 'Salvare visita nella storia';
+$lang['Revert'] = 'Ripristina';
+$lang['Properties page'] = 'Proprietà pagina';
+$lang['Quick edit'] = 'Modifica veloce';
+$lang['Debug template'] = 'Debug dei modelli';
+$lang['Debug languages'] = 'Debug delle lingue';
+$lang['Combine JS&CSS'] = 'Combinare JS & CSS';
+$lang['Save'] = 'Salva';
+$lang['Saved'] = 'Salvato';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Dare accesso modifica veloce ai proprietari di foto anche se non sono amministratori';
+$lang['Closed icon position'] = 'Posiziona l\'icona di chiusura';
+$lang['Open toolbar by default'] = 'Apri la barra predefinita';
+$lang['left'] = 'sinistra';
+$lang['right'] = 'destra';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/lt_LT/description.txt b/plugins/AdminTools/language/lt_LT/description.txt
new file mode 100755
index 000000000..d2af0ceb1
--- /dev/null
+++ b/plugins/AdminTools/language/lt_LT/description.txt
@@ -0,0 +1 @@
+Atlikti kai kurias administravimo užduotis iš viešųjų puslapių \ No newline at end of file
diff --git a/plugins/AdminTools/language/lt_LT/index.php b/plugins/AdminTools/language/lt_LT/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/lt_LT/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/lt_LT/plugin.lang.php b/plugins/AdminTools/language/lt_LT/plugin.lang.php
new file mode 100755
index 000000000..8ff49d022
--- /dev/null
+++ b/plugins/AdminTools/language/lt_LT/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Apjungti JS&CSS';
+$lang['Debug languages'] = 'Debuginti kalbas';
+$lang['Debug template'] = 'Debuginti šablonus';
+$lang['Properties page'] = 'Nustatymų puslapis';
+$lang['Quick edit'] = 'Greitas redagavimas';
+$lang['Revert'] = 'Atstatyti';
+$lang['Save'] = 'Išsaugoti';
+$lang['Save visit in history'] = 'Vesti vizitų žurnalą';
+$lang['Show SQL queries'] = 'Rodyty SQL užklausas';
+$lang['View as'] = 'Žiūrėti kaip';
+$lang['Viewing as <b>%s</b>.'] = 'Rodoma kaip <b>%s</b>.';
+$lang['Saved'] = 'Išsaugota';
+$lang['Closed icon position'] = 'Užvertos ikonos pozicija';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Leisti greitą nuotraukos redagavimą jų savininkams, net jeigu jie ne administratoriai';
+$lang['Open toolbar by default'] = 'Atverti įrankių juostą pagal nutylėjimą';
+$lang['left'] = 'kairė';
+$lang['right'] = 'dešinė';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/lv_LV/description.txt b/plugins/AdminTools/language/lv_LV/description.txt
new file mode 100755
index 000000000..4cea33bc9
--- /dev/null
+++ b/plugins/AdminTools/language/lv_LV/description.txt
@@ -0,0 +1 @@
+Veikt kādu administratora uzdevumu no vispārējām lapām. \ No newline at end of file
diff --git a/plugins/AdminTools/language/lv_LV/index.php b/plugins/AdminTools/language/lv_LV/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/lv_LV/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/lv_LV/plugin.lang.php b/plugins/AdminTools/language/lv_LV/plugin.lang.php
new file mode 100755
index 000000000..7e3b7ea02
--- /dev/null
+++ b/plugins/AdminTools/language/lv_LV/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Apvienot JS & CSS';
+$lang['Revert'] = 'Atgriezt';
+$lang['View as'] = 'Apskatīt kā';
+$lang['Viewing as <b>%s</b>.'] = 'Apskatīt kā <b>%s </ b>.';
+$lang['Show SQL queries'] = 'Parādīt SQL vaicājumu';
+$lang['Save visit in history'] = 'Saglabāt apmeklējumu vēsturē';
+$lang['Save'] = 'Saglabāt';
+$lang['Debug languages'] = 'Atkļūdot valodas';
+$lang['Debug template'] = 'Atkļūdošanas veidne';
+$lang['Properties page'] = 'Rekvizītu lapa';
+$lang['Quick edit'] = 'Ātrā rediģēšana';
+$lang['Saved'] = 'Saglabāts';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Ļauj piekļūt foto īpašniekiem ātrai rediģēšanai arī tad, ja tie nav admini';
+$lang['Closed icon position'] = 'Ikonas slēgt pozīcija';
+$lang['Open toolbar by default'] = 'Atvērt rīkjoslu pēc noklusējuma';
+$lang['right'] = 'pa labi';
+$lang['left'] = 'pa kreisi';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/mn_MN/description.txt b/plugins/AdminTools/language/mn_MN/description.txt
new file mode 100755
index 000000000..92caa90b0
--- /dev/null
+++ b/plugins/AdminTools/language/mn_MN/description.txt
@@ -0,0 +1 @@
+Do some admin task from the public pages \ No newline at end of file
diff --git a/plugins/AdminTools/language/mn_MN/index.php b/plugins/AdminTools/language/mn_MN/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/mn_MN/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/mn_MN/plugin.lang.php b/plugins/AdminTools/language/mn_MN/plugin.lang.php
new file mode 100755
index 000000000..ea3e48477
--- /dev/null
+++ b/plugins/AdminTools/language/mn_MN/plugin.lang.php
@@ -0,0 +1,31 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Revert'] = 'Буцаах';
+$lang['Combine JS&CSS'] = 'JS ба CSS-г нэгтгэх';
+$lang['Quick edit'] = 'Засах';
+$lang['View as'] = 'Харах';
+$lang['Save'] = 'Хадгалах';
+$lang['Saved'] = 'Амжилттай хадгаллаа';
+$lang['left'] = 'зүүн';
+$lang['right'] = 'баруун';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/nb_NO/description.txt b/plugins/AdminTools/language/nb_NO/description.txt
new file mode 100755
index 000000000..cd4f3c1db
--- /dev/null
+++ b/plugins/AdminTools/language/nb_NO/description.txt
@@ -0,0 +1 @@
+Gjør noen admin-oppgaver fra offentlige sider
diff --git a/plugins/AdminTools/language/nb_NO/index.php b/plugins/AdminTools/language/nb_NO/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/nb_NO/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/nb_NO/plugin.lang.php b/plugins/AdminTools/language/nb_NO/plugin.lang.php
new file mode 100755
index 000000000..58670fdc7
--- /dev/null
+++ b/plugins/AdminTools/language/nb_NO/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Kombiner JS&CSS';
+$lang['Debug languages'] = 'Feilsøkingspråk';
+$lang['Debug template'] = 'Feilsøking tema';
+$lang['Properties page'] = 'Egenskapersiden';
+$lang['Quick edit'] = 'Rask endring';
+$lang['Revert'] = 'Omgjøre';
+$lang['Save'] = 'Lagre';
+$lang['Save visit in history'] = 'Lagre besøkshistorie';
+$lang['Saved'] = 'Lagret';
+$lang['Show SQL queries'] = 'Vis SQL spørringer';
+$lang['View as'] = 'Se alle';
+$lang['Viewing as <b>%s</b>.'] = 'Se som <b>%s</b>.';
+$lang['Closed icon position'] = 'Låst ikonposisjon';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Gi tilgang til hurtigredigering av bildeeier, selv om de ikke er admin';
+$lang['Open toolbar by default'] = 'Åpne verktøy automatisk';
+$lang['left'] = 'venstre';
+$lang['right'] = 'høyre';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/nl_NL/description.txt b/plugins/AdminTools/language/nl_NL/description.txt
new file mode 100755
index 000000000..8522e1f02
--- /dev/null
+++ b/plugins/AdminTools/language/nl_NL/description.txt
@@ -0,0 +1 @@
+Doe enkele admin-taken vanaf de openbare pagina's \ No newline at end of file
diff --git a/plugins/AdminTools/language/nl_NL/index.php b/plugins/AdminTools/language/nl_NL/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/nl_NL/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/nl_NL/plugin.lang.php b/plugins/AdminTools/language/nl_NL/plugin.lang.php
new file mode 100755
index 000000000..52c746641
--- /dev/null
+++ b/plugins/AdminTools/language/nl_NL/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Debug languages'] = 'Identificeren en verwijderen van (Debug) taalfouten';
+$lang['Debug template'] = 'Identificeren en verwijderen van (Debug) themafouten';
+$lang['Properties page'] = 'Eigenschappen-pagina';
+$lang['Revert'] = 'Terugdraaien';
+$lang['Save'] = 'Bewaren';
+$lang['Save visit in history'] = 'Bewaar bezoek in geschiedenis';
+$lang['Viewing as <b>%s</b>.'] = 'Bekijken als <b>%s</b>.';
+$lang['Show SQL queries'] = 'Toon SQL queries';
+$lang['View as'] = 'Bekijk als';
+$lang['Quick edit'] = 'Snel bewerken';
+$lang['Combine JS&CSS'] = 'Combineer JS&CSS';
+$lang['Saved'] = 'Opgeslagen';
+$lang['Closed icon position'] = 'Positie van pictogram gesloten';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Geef foto-eigenaren toegang tot Snel bewerken, zelfs als ze geen administrator zijn.';
+$lang['Open toolbar by default'] = 'Open standaard de werkbalk';
+$lang['left'] = 'links';
+$lang['right'] = 'rechts';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/pl_PL/description.txt b/plugins/AdminTools/language/pl_PL/description.txt
new file mode 100755
index 000000000..32e0b7b31
--- /dev/null
+++ b/plugins/AdminTools/language/pl_PL/description.txt
@@ -0,0 +1 @@
+Wykonuj niektóre zadania admina wprost z ogólnodostępnych stron \ No newline at end of file
diff --git a/plugins/AdminTools/language/pl_PL/index.php b/plugins/AdminTools/language/pl_PL/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/pl_PL/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/pl_PL/plugin.lang.php b/plugins/AdminTools/language/pl_PL/plugin.lang.php
new file mode 100755
index 000000000..9899d5fa6
--- /dev/null
+++ b/plugins/AdminTools/language/pl_PL/plugin.lang.php
@@ -0,0 +1,39 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Połącz JS&CSS';
+$lang['Debug languages'] = 'Języki debugowania';
+$lang['Debug template'] = 'Wzory debugowania';
+$lang['Properties page'] = 'Ustawienia';
+$lang['Quick edit'] = 'Szybka edycja';
+$lang['Revert'] = 'Odwróć';
+$lang['Save'] = 'Zapisz';
+$lang['Save visit in history'] = 'Zapisz odwiedziny w historii';
+$lang['Saved'] = 'Zapisano';
+$lang['Show SQL queries'] = 'Pokaż zapytania SQL';
+$lang['View as'] = 'Zobacz jako';
+$lang['Viewing as <b>%s</b>.'] = 'Oglądasz jako <b>%s</b>';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Przyznaj dostęp do szybkiej edycji właścicielom zdjęć nawet, gdy nie są administratorami';
+$lang['Open toolbar by default'] = 'Domyślnie otwieraj pasek narzędzi';
+$lang['left'] = 'lewo';
+$lang['right'] = 'prawo';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/pt_BR/description.txt b/plugins/AdminTools/language/pt_BR/description.txt
new file mode 100755
index 000000000..cda8f883f
--- /dev/null
+++ b/plugins/AdminTools/language/pt_BR/description.txt
@@ -0,0 +1 @@
+Faça algumas tarefas de administração a partir das páginas públicas \ No newline at end of file
diff --git a/plugins/AdminTools/language/pt_BR/index.php b/plugins/AdminTools/language/pt_BR/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/pt_BR/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/pt_BR/plugin.lang.php b/plugins/AdminTools/language/pt_BR/plugin.lang.php
new file mode 100755
index 000000000..4f8209503
--- /dev/null
+++ b/plugins/AdminTools/language/pt_BR/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Combinar JS&CSS';
+$lang['Debug languages'] = 'Depurar idiomas';
+$lang['Debug template'] = 'Depurar modelo';
+$lang['Properties page'] = 'Página de propriedades';
+$lang['Quick edit'] = 'Edição rápida';
+$lang['Revert'] = 'Reverter';
+$lang['Save'] = 'Salvar';
+$lang['Save visit in history'] = 'Salvar visita na história';
+$lang['Show SQL queries'] = 'Mostrar consultas SQL';
+$lang['View as'] = 'Visualizar como';
+$lang['Viewing as <b>%s</b>.'] = 'Visulaizar como <b>%s</b>';
+$lang['Saved'] = 'Salvo';
+$lang['Closed icon position'] = 'Posição ícone Fechado';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Dar acesso a edição rápida para proprietários de fotografias, mesmo se eles não forem admin';
+$lang['Open toolbar by default'] = 'Abrir barra de ferramentas por padrão';
+$lang['left'] = 'esquerda';
+$lang['right'] = 'direita';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/pt_PT/description.txt b/plugins/AdminTools/language/pt_PT/description.txt
new file mode 100755
index 000000000..7b5eab56e
--- /dev/null
+++ b/plugins/AdminTools/language/pt_PT/description.txt
@@ -0,0 +1 @@
+Faça alguma tarefa administrativa das páginas públicas \ No newline at end of file
diff --git a/plugins/AdminTools/language/pt_PT/index.php b/plugins/AdminTools/language/pt_PT/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/pt_PT/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/pt_PT/plugin.lang.php b/plugins/AdminTools/language/pt_PT/plugin.lang.php
new file mode 100755
index 000000000..0c4b86e1c
--- /dev/null
+++ b/plugins/AdminTools/language/pt_PT/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Combinar JS e CSS';
+$lang['Debug languages'] = 'Corrigir bugs em idiomas';
+$lang['Debug template'] = 'Corrigir bugs em templates';
+$lang['Properties page'] = 'Página de propriedades';
+$lang['Quick edit'] = 'Editar rápido';
+$lang['Revert'] = 'Reverter';
+$lang['Save'] = 'Salvar';
+$lang['Save visit in history'] = 'Salvar visita no historial';
+$lang['Show SQL queries'] = 'Mostrar consultas SQL';
+$lang['View as'] = 'Ver como';
+$lang['Viewing as <b>%s</b>.'] = 'Vendo como <b>%s</b>.';
+$lang['Saved'] = 'Salvo';
+$lang['Closed icon position'] = 'Posição do icon encerrada';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Permite acesso aos proprietários da foto para edição rápida mesmo não sendo administradores';
+$lang['Open toolbar by default'] = 'Abrir, por defeito, a barra de ferramentas ';
+$lang['left'] = 'Esquerda';
+$lang['right'] = 'Direita';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/ro_RO/description.txt b/plugins/AdminTools/language/ro_RO/description.txt
new file mode 100755
index 000000000..240f7316d
--- /dev/null
+++ b/plugins/AdminTools/language/ro_RO/description.txt
@@ -0,0 +1 @@
+Execută anumite sarcini administrative din paginile publice \ No newline at end of file
diff --git a/plugins/AdminTools/language/ro_RO/index.php b/plugins/AdminTools/language/ro_RO/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/ro_RO/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/ro_RO/plugin.lang.php b/plugins/AdminTools/language/ro_RO/plugin.lang.php
new file mode 100755
index 000000000..c58f64f48
--- /dev/null
+++ b/plugins/AdminTools/language/ro_RO/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Combină JS&CSS';
+$lang['Debug languages'] = 'Depanare limbă';
+$lang['Debug template'] = 'Depanare șablon';
+$lang['Properties page'] = 'Pagină de proprietăți';
+$lang['Quick edit'] = 'Editare rapidă';
+$lang['Revert'] = 'Revenire';
+$lang['Save'] = 'Salvează';
+$lang['Save visit in history'] = 'Salvează vizita în istoric';
+$lang['Saved'] = 'Salvat';
+$lang['Show SQL queries'] = 'Arată interogările SQL';
+$lang['View as'] = 'Vizualizează ca';
+$lang['Viewing as <b>%s</b>.'] = 'Vizualizare ca <b>%s</b>.';
+$lang['Closed icon position'] = 'Pozitia pictogramelor inchisa';
+$lang['right'] = 'Dreapta';
+$lang['left'] = 'Stanga';
+$lang['Open toolbar by default'] = 'Deschide implicit bara de instrumente';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Ofera detinatorilor de fotografii dreptul de a edita, chiar daca nu sunt administratori';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/ru_RU/description.txt b/plugins/AdminTools/language/ru_RU/description.txt
new file mode 100755
index 000000000..ddd15a835
--- /dev/null
+++ b/plugins/AdminTools/language/ru_RU/description.txt
@@ -0,0 +1 @@
+Позволяет выполнять некоторые администраторские функции с публичных страниц \ No newline at end of file
diff --git a/plugins/AdminTools/language/ru_RU/index.php b/plugins/AdminTools/language/ru_RU/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/ru_RU/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/ru_RU/plugin.lang.php b/plugins/AdminTools/language/ru_RU/plugin.lang.php
new file mode 100755
index 000000000..27c6e34f5
--- /dev/null
+++ b/plugins/AdminTools/language/ru_RU/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Объединение JS&CSS';
+$lang['Debug languages'] = 'Отладка языков';
+$lang['Debug template'] = 'Отладка шаблона';
+$lang['Properties page'] = 'Свойства страницы';
+$lang['Quick edit'] = 'Быстрое редактирование';
+$lang['Revert'] = 'Вернуться';
+$lang['Save'] = 'Сохранить';
+$lang['Save visit in history'] = 'Сохранить визит в истории';
+$lang['Show SQL queries'] = 'Показать SQL запросы';
+$lang['View as'] = 'Посмотреть как';
+$lang['Viewing as <b>%s</b>.'] = 'Просмотр как <b>%s</b>.';
+$lang['Saved'] = 'Сохранено';
+$lang['Closed icon position'] = 'Закрытое положение иконки';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Предоставить доступ для быстрого редактирования изображений их владельцам, даже если они не админы';
+$lang['Open toolbar by default'] = 'Открыть панель инструментов по умолчанию';
+$lang['left'] = 'слева';
+$lang['right'] = 'справа';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/sh_RS/description.txt b/plugins/AdminTools/language/sh_RS/description.txt
new file mode 100755
index 000000000..550ccd93d
--- /dev/null
+++ b/plugins/AdminTools/language/sh_RS/description.txt
@@ -0,0 +1 @@
+Omogućuje obavljanje nekih administrativnih zadataka sa javnih stranica. \ No newline at end of file
diff --git a/plugins/AdminTools/language/sh_RS/index.php b/plugins/AdminTools/language/sh_RS/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/sh_RS/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/sh_RS/plugin.lang.php b/plugins/AdminTools/language/sh_RS/plugin.lang.php
new file mode 100755
index 000000000..ce77c8893
--- /dev/null
+++ b/plugins/AdminTools/language/sh_RS/plugin.lang.php
@@ -0,0 +1,39 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Closed icon position'] = 'Pozicija zatvorenih ikona';
+$lang['Open toolbar by default'] = 'Otvorena traka sa alatkama po pravilu';
+$lang['Combine JS&CSS'] = 'Kombinuj JS i CSS';
+$lang['Debug languages'] = 'Pronađi bagove u jeziku';
+$lang['Debug template'] = 'Pronađi bagove u šablonu';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Omogući "Brze izmene" vlasnicima fotografija koji nisu administratori da urede fotografije';
+$lang['Properties page'] = 'Stranica podešavanja';
+$lang['Quick edit'] = 'Brze izmene';
+$lang['Revert'] = 'Vrati';
+$lang['Save'] = 'Sačuvaj';
+$lang['Save visit in history'] = 'Sačuvaj posete u istoriji';
+$lang['Saved'] = 'Sačuvano';
+$lang['Show SQL queries'] = 'Prikaži SQL upite';
+$lang['View as'] = 'Prikaži kao';
+$lang['Viewing as <b>%s</b>.'] = 'Prikazujem kao <b>%s</b>.';
+$lang['left'] = 'levo';
+$lang['right'] = 'desno'; \ No newline at end of file
diff --git a/plugins/AdminTools/language/sk_SK/description.txt b/plugins/AdminTools/language/sk_SK/description.txt
new file mode 100755
index 000000000..d59177d81
--- /dev/null
+++ b/plugins/AdminTools/language/sk_SK/description.txt
@@ -0,0 +1 @@
+Niektoré administrátorské úlohy z verejných stránok \ No newline at end of file
diff --git a/plugins/AdminTools/language/sk_SK/index.php b/plugins/AdminTools/language/sk_SK/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/sk_SK/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/sk_SK/plugin.lang.php b/plugins/AdminTools/language/sk_SK/plugin.lang.php
new file mode 100755
index 000000000..5710e981f
--- /dev/null
+++ b/plugins/AdminTools/language/sk_SK/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Viewing as <b>%s</b>.'] = 'Predviesť ako <b>%s</b>.';
+$lang['View as'] = 'Ukázať ako';
+$lang['Show SQL queries'] = 'Zobraziť SQL otázky';
+$lang['Save visit in history'] = 'Uložiť návštevy v histórii';
+$lang['Save'] = 'Uložiť';
+$lang['Revert'] = 'Späť';
+$lang['Quick edit'] = 'Rýchla editácia';
+$lang['Properties page'] = 'Vlastnosti stránky';
+$lang['Debug template'] = 'Odstrániť chyby šablón';
+$lang['Debug languages'] = 'Odstrániť chyby jazykov';
+$lang['Combine JS&CSS'] = 'Kombinovať JS&CSS';
+$lang['Saved'] = 'Uložené';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Poskytnúť prístup na rýchlu úpravu fotiek majiteľom, ak nie sú adminom';
+$lang['Open toolbar by default'] = 'Otvoriť prednastavený panel nástrojov';
+$lang['Closed icon position'] = 'Uzavrieť umiestnenie ikony';
+$lang['right'] = 'vpravo';
+$lang['left'] = 'vľavo';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/sl_SI/description.txt b/plugins/AdminTools/language/sl_SI/description.txt
new file mode 100755
index 000000000..40be2470b
--- /dev/null
+++ b/plugins/AdminTools/language/sl_SI/description.txt
@@ -0,0 +1 @@
+Administracija javnih strani \ No newline at end of file
diff --git a/plugins/AdminTools/language/sl_SI/index.php b/plugins/AdminTools/language/sl_SI/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/sl_SI/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/sl_SI/plugin.lang.php b/plugins/AdminTools/language/sl_SI/plugin.lang.php
new file mode 100755
index 000000000..7493fa50d
--- /dev/null
+++ b/plugins/AdminTools/language/sl_SI/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Kombiniraj JS&CSS';
+$lang['Open toolbar by default'] = 'Privzeto odpri vrstico z orodji';
+$lang['Revert'] = 'Obratno';
+$lang['Properties page'] = 'Lastnosti strani';
+$lang['Save visit in history'] = 'Shrani ogled zgodovine';
+$lang['Viewing as <b>%s</b>.'] = 'Ogled kot <b>%s</b>.';
+$lang['right'] = 'desno';
+$lang['left'] = 'levo';
+$lang['View as'] = 'Poglej kot';
+$lang['Show SQL queries'] = 'Prikaži SQL poizvedbe';
+$lang['Saved'] = 'Shranjeno';
+$lang['Save'] = 'Shrani';
+$lang['Closed icon position'] = 'Zaprta pozicija ikone';
+$lang['Debug languages'] = 'Razhroščevalni jeziki';
+$lang['Debug template'] = 'Razhroščevalna predloga';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Dovoli dostop do hitrega urejanja fotografij lastnikom tudi če nimajo administratorskih pravic';
+$lang['Quick edit'] = 'Hitro urejanje';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/sr_RS/description.txt b/plugins/AdminTools/language/sr_RS/description.txt
new file mode 100755
index 000000000..45d42b114
--- /dev/null
+++ b/plugins/AdminTools/language/sr_RS/description.txt
@@ -0,0 +1 @@
+Омогућује обављање неких административних задатака са јавних страница. \ No newline at end of file
diff --git a/plugins/AdminTools/language/sr_RS/index.php b/plugins/AdminTools/language/sr_RS/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/sr_RS/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/sr_RS/plugin.lang.php b/plugins/AdminTools/language/sr_RS/plugin.lang.php
new file mode 100755
index 000000000..daea1e9d7
--- /dev/null
+++ b/plugins/AdminTools/language/sr_RS/plugin.lang.php
@@ -0,0 +1,39 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Closed icon position'] = 'Позиција затворених икона';
+$lang['Open toolbar by default'] = 'Отворена трака са алаткама по правилу';
+$lang['Combine JS&CSS'] = 'Комбинуј ЈS и CSS';
+$lang['Debug languages'] = 'Пронађи багове у језику';
+$lang['Debug template'] = 'Пронађи багове у шаблону';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Омогући "Брзе измене" власницима фотографија који нису администратори да уреде фотографије';
+$lang['Properties page'] = 'Страница подешавања';
+$lang['Quick edit'] = 'Брзе измене';
+$lang['Revert'] = 'Врати';
+$lang['Save'] = 'Сачувај';
+$lang['Save visit in history'] = 'Сачувај посете у историји';
+$lang['Saved'] = 'Сачувано';
+$lang['Show SQL queries'] = 'Прикажи SQL упите';
+$lang['View as'] = 'Прикажи као';
+$lang['Viewing as <b>%s</b>.'] = 'Приказујем као <b>%s</b>.';
+$lang['left'] = 'лево';
+$lang['right'] = 'десно'; \ No newline at end of file
diff --git a/plugins/AdminTools/language/sv_SE/description.txt b/plugins/AdminTools/language/sv_SE/description.txt
new file mode 100755
index 000000000..52525bf68
--- /dev/null
+++ b/plugins/AdminTools/language/sv_SE/description.txt
@@ -0,0 +1 @@
+Admin tools ger möjlighet att utföra vissa adminuppgifter från den publika sidan. \ No newline at end of file
diff --git a/plugins/AdminTools/language/sv_SE/index.php b/plugins/AdminTools/language/sv_SE/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/sv_SE/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/sv_SE/plugin.lang.php b/plugins/AdminTools/language/sv_SE/plugin.lang.php
new file mode 100755
index 000000000..15ade3935
--- /dev/null
+++ b/plugins/AdminTools/language/sv_SE/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Ge access för snabbändring till foto ägare även om dom inte är administratörer';
+$lang['Closed icon position'] = 'Stängd ikon position';
+$lang['Combine JS&CSS'] = 'Kombinera JS&CSS';
+$lang['Debug languages'] = 'Felsökningsspråk';
+$lang['Debug template'] = 'Felsökningsmall';
+$lang['Open toolbar by default'] = 'Öppna verktygslisten som standard';
+$lang['Properties page'] = 'Sidan för egenskaper';
+$lang['Quick edit'] = 'Snabbändra';
+$lang['Revert'] = 'Återställ';
+$lang['Save'] = 'Spara';
+$lang['Save visit in history'] = 'Spara besök i historien';
+$lang['Saved'] = 'Sparad';
+$lang['Show SQL queries'] = 'Visa SQL frågor';
+$lang['View as'] = 'Visa som';
+$lang['Viewing as <b>%s</b>.'] = 'Visas som <b>%s</b>.';
+$lang['left'] = 'Vänster';
+$lang['right'] = 'Höger';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/tr_TR/description.txt b/plugins/AdminTools/language/tr_TR/description.txt
new file mode 100755
index 000000000..aa4d3698c
--- /dev/null
+++ b/plugins/AdminTools/language/tr_TR/description.txt
@@ -0,0 +1 @@
+Herkese açık sayfalardan bazı yönetici görevlerini gerçekleştir \ No newline at end of file
diff --git a/plugins/AdminTools/language/tr_TR/index.php b/plugins/AdminTools/language/tr_TR/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/tr_TR/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/tr_TR/plugin.lang.php b/plugins/AdminTools/language/tr_TR/plugin.lang.php
new file mode 100755
index 000000000..8f7230292
--- /dev/null
+++ b/plugins/AdminTools/language/tr_TR/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['View as'] = 'Bu olarak gör:';
+$lang['Viewing as <b>%s</b>.'] = '<b>%s</b> olarak görülüyor.';
+$lang['Revert'] = 'Geri al';
+$lang['Debug template'] = 'Hata ayıklama şablonu';
+$lang['Debug languages'] = 'Hata ayıklama dili';
+$lang['Properties page'] = 'Özellikler sayfası';
+$lang['Combine JS&CSS'] = 'JS&CSS Birleştir';
+$lang['Show SQL queries'] = 'SQL sorgularını göster';
+$lang['Save visit in history'] = 'Ziyareti geçmiş günlüğüne kaydet';
+$lang['Save'] = 'Kaydet';
+$lang['Quick edit'] = 'Hızlı düzenle';
+$lang['Saved'] = 'Kaydedildi';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Yönetici olmasalar dahi fotoğraf sahiplerine hızlı düzenleme izni ver';
+$lang['right'] = 'sağ';
+$lang['left'] = 'sol';
+$lang['Open toolbar by default'] = 'Araç çubuğunu varsayılan olarak aç';
+$lang['Closed icon position'] = 'Seçilen küçük resim yeri';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/uk_UA/description.txt b/plugins/AdminTools/language/uk_UA/description.txt
new file mode 100755
index 000000000..b8f869e93
--- /dev/null
+++ b/plugins/AdminTools/language/uk_UA/description.txt
@@ -0,0 +1 @@
+Зробити деякі завдання адміністратора від загальнодоступних сторінок. \ No newline at end of file
diff --git a/plugins/AdminTools/language/uk_UA/index.php b/plugins/AdminTools/language/uk_UA/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/uk_UA/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/uk_UA/plugin.lang.php b/plugins/AdminTools/language/uk_UA/plugin.lang.php
new file mode 100755
index 000000000..f76f3d3da
--- /dev/null
+++ b/plugins/AdminTools/language/uk_UA/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Об’єднати JS&CSS';
+$lang['Debug languages'] = 'Налагодження мов';
+$lang['Debug template'] = 'Налагодження шаблон';
+$lang['Properties page'] = 'Властивості сторінки';
+$lang['Quick edit'] = 'Швидке редагування';
+$lang['Revert'] = 'Повернутися';
+$lang['Save'] = 'Зберегти';
+$lang['Save visit in history'] = 'Збережіть візит в історії';
+$lang['Saved'] = 'Збережено';
+$lang['Show SQL queries'] = 'Показати SQL запити';
+$lang['View as'] = 'Переглянути, як';
+$lang['Viewing as <b>%s</b>.'] = 'Перегляд у вигляді <b>%s</b>.';
+$lang['Closed icon position'] = 'Закрита позиція значка';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Надати доступ до швидкого редагування фото власникам, навіть якщо вони не адміністратори';
+$lang['Open toolbar by default'] = 'За замовчуванням відкрита панель інструментів ';
+$lang['left'] = 'ліво';
+$lang['right'] = 'право';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/vi_VN/index.php b/plugins/AdminTools/language/vi_VN/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/vi_VN/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/vi_VN/plugin.lang.php b/plugins/AdminTools/language/vi_VN/plugin.lang.php
new file mode 100755
index 000000000..aa769afe8
--- /dev/null
+++ b/plugins/AdminTools/language/vi_VN/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = 'Kết hợp JS&CSS';
+$lang['Debug languages'] = 'Ngôn ngữ gỡ rối';
+$lang['Debug template'] = 'Mẫu gỡ rối';
+$lang['Properties page'] = 'Trang thuộc tính';
+$lang['Quick edit'] = 'Sửa nhanh';
+$lang['Revert'] = 'Quay lại';
+$lang['Save'] = 'Lưu';
+$lang['Save visit in history'] = 'Lưu lượt xem trong lịch sử';
+$lang['Show SQL queries'] = 'Hiển thị các truy vấn SQL';
+$lang['View as'] = 'Xem dưới dạng';
+$lang['Viewing as <b>%s</b>.'] = 'Xem dưới dạng <b>%s</b>.';
+$lang['Saved'] = 'Đã lưu';
+$lang['Closed icon position'] = 'Vị trí biểu tượng đã đóng';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Cho truy xuất để chỉnh sửa nhanh hình ảnh với cả người dùng không phải là quản trị viên';
+$lang['Open toolbar by default'] = 'Mở thanh công cụ một cách mặc định';
+$lang['left'] = 'trái';
+$lang['right'] = 'phải';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/zh_CN/description.txt b/plugins/AdminTools/language/zh_CN/description.txt
new file mode 100755
index 000000000..cea835cde
--- /dev/null
+++ b/plugins/AdminTools/language/zh_CN/description.txt
@@ -0,0 +1 @@
+于前台页面执行一些管理任务。 \ No newline at end of file
diff --git a/plugins/AdminTools/language/zh_CN/index.php b/plugins/AdminTools/language/zh_CN/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/zh_CN/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/zh_CN/plugin.lang.php b/plugins/AdminTools/language/zh_CN/plugin.lang.php
new file mode 100755
index 000000000..37702a175
--- /dev/null
+++ b/plugins/AdminTools/language/zh_CN/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = '合并JS与CSS';
+$lang['Debug languages'] = '调试语言';
+$lang['Debug template'] = '调试模板';
+$lang['Properties page'] = '属性页';
+$lang['Quick edit'] = '快捷编辑';
+$lang['Revert'] = '恢复';
+$lang['Save'] = '保存';
+$lang['Save visit in history'] = '在历史中保存访问';
+$lang['Show SQL queries'] = '显示SQL查询';
+$lang['View as'] = '以…查看:';
+$lang['Viewing as <b>%s</b>.'] = '正以…查看: <b>%s</b>.';
+$lang['Saved'] = '保存';
+$lang['Closed icon position'] = '关闭图标位置';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = '给予图片所有者快速修改权限,即使他们不是管理员';
+$lang['Open toolbar by default'] = '默认打开工具栏';
+$lang['left'] = '左';
+$lang['right'] = '右';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/zh_HK/description.txt b/plugins/AdminTools/language/zh_HK/description.txt
new file mode 100755
index 000000000..095ac352f
--- /dev/null
+++ b/plugins/AdminTools/language/zh_HK/description.txt
@@ -0,0 +1 @@
+在公開頁面做一些管理任務 \ No newline at end of file
diff --git a/plugins/AdminTools/language/zh_HK/index.php b/plugins/AdminTools/language/zh_HK/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/zh_HK/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/zh_HK/plugin.lang.php b/plugins/AdminTools/language/zh_HK/plugin.lang.php
new file mode 100755
index 000000000..8c764cce1
--- /dev/null
+++ b/plugins/AdminTools/language/zh_HK/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Combine JS&CSS'] = '結合JS和CSS';
+$lang['Debug languages'] = '除錯語言';
+$lang['Debug template'] = '除錯模板';
+$lang['Properties page'] = '屬性頁';
+$lang['Quick edit'] = '快速編輯';
+$lang['Revert'] = '還原';
+$lang['Save'] = '儲存';
+$lang['Save visit in history'] = '保存訪問歷史';
+$lang['Show SQL queries'] = '顯示SQL查詢';
+$lang['View as'] = '查看為';
+$lang['Viewing as <b>%s</b>.'] = '查看為<b>%s的</b>。';
+$lang['Saved'] = '已儲存';
+$lang['Closed icon position'] = '關閉圖標位置';
+$lang['Give access to quick edit to photo owners even if they are not admin'] = '給訪客快速編輯為照片擁有人,即使他們不是管理員';
+$lang['Open toolbar by default'] = '默認打開工具欄';
+$lang['left'] = '左';
+$lang['right'] = '右';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/language/zh_TW/description.txt b/plugins/AdminTools/language/zh_TW/description.txt
new file mode 100755
index 000000000..f00b68e96
--- /dev/null
+++ b/plugins/AdminTools/language/zh_TW/description.txt
@@ -0,0 +1 @@
+在公共頁面做一些管理任務 \ No newline at end of file
diff --git a/plugins/AdminTools/language/zh_TW/index.php b/plugins/AdminTools/language/zh_TW/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/language/zh_TW/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/language/zh_TW/plugin.lang.php b/plugins/AdminTools/language/zh_TW/plugin.lang.php
new file mode 100755
index 000000000..e94bcf9c2
--- /dev/null
+++ b/plugins/AdminTools/language/zh_TW/plugin.lang.php
@@ -0,0 +1,40 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+$lang['Give access to quick edit to photo owners even if they are not admin'] = '即使他們不是管理員,給與照片擁有者的快速編輯權限';
+$lang['Closed icon position'] = '圖標位置已關閉';
+$lang['Combine JS&CSS'] = '結合JS和CSS';
+$lang['Debug languages'] = '調試語言';
+$lang['Debug template'] = '調試模板';
+$lang['Open toolbar by default'] = '在默認情況下打開工具欄';
+$lang['Properties page'] = '屬性頁';
+$lang['Quick edit'] = '快速編輯';
+$lang['Revert'] = '還原';
+$lang['Save'] = '儲存';
+$lang['Save visit in history'] = '保存訪問歷史';
+$lang['Saved'] = '已保存';
+$lang['Show SQL queries'] = '顯示SQL查詢';
+$lang['View as'] = '查看';
+$lang['Viewing as <b>%s</b>.'] = '查看為 <b>%s</b>.';
+$lang['left'] = '左';
+$lang['right'] = '右';
+?> \ No newline at end of file
diff --git a/plugins/AdminTools/main.inc.php b/plugins/AdminTools/main.inc.php
new file mode 100644
index 000000000..ac12cd302
--- /dev/null
+++ b/plugins/AdminTools/main.inc.php
@@ -0,0 +1,61 @@
+<?php
+/*
+Plugin Name: Admin Tools
+Version: auto
+Description: Do some admin task from the public pages
+Plugin URI: auto
+Author: Mistic
+Author URI: http://www.strangeplanet.fr
+*/
+
+defined('PHPWG_ROOT_PATH') or die('Hacking attempt!');
+
+define('ADMINTOOLS_ID', basename(dirname(__FILE__)));
+define('ADMINTOOLS_PATH' , PHPWG_PLUGINS_PATH . ADMINTOOLS_ID . '/');
+define('ADMINTOOLS_ADMIN', get_root_url() . 'admin.php?page=plugin-' . ADMINTOOLS_ID);
+
+include_once(ADMINTOOLS_PATH . 'include/events.inc.php');
+include_once(ADMINTOOLS_PATH . 'include/MultiView.class.php');
+
+
+global $MultiView;
+$MultiView = new MultiView();
+
+add_event_handler('init', 'admintools_init');
+
+add_event_handler('user_init', array(&$MultiView, 'user_init'));
+add_event_handler('init', array(&$MultiView, 'init'));
+
+add_event_handler('ws_add_methods', array('MultiView', 'register_ws'));
+add_event_handler('delete_user', array('MultiView', 'invalidate_cache'));
+add_event_handler('register_user', array('MultiView', 'invalidate_cache'));
+
+if (!defined('IN_ADMIN'))
+{
+ add_event_handler('loc_after_page_header', 'admintools_add_public_controller');
+ add_event_handler('loc_begin_picture', 'admintools_save_picture');
+ add_event_handler('loc_begin_index', 'admintools_save_category');
+}
+else
+{
+ add_event_handler('get_admin_plugin_menu_links', 'admintools_admin_link');
+}
+
+
+function admintools_init()
+{
+ global $conf;
+ $conf['AdminTools'] = safe_unserialize($conf['AdminTools']);
+
+ load_language('plugin.lang', ADMINTOOLS_PATH);
+}
+
+function admintools_admin_link($menu)
+{
+ $menu[] = array(
+ 'NAME' => 'Admin Tools',
+ 'URL' => ADMINTOOLS_ADMIN,
+ );
+
+ return $menu;
+}
diff --git a/plugins/AdminTools/maintain.class.php b/plugins/AdminTools/maintain.class.php
new file mode 100644
index 000000000..2e89968fd
--- /dev/null
+++ b/plugins/AdminTools/maintain.class.php
@@ -0,0 +1,31 @@
+<?php
+defined('PHPWG_ROOT_PATH') or die('Hacking attempt!');
+
+class AdminTools_maintain extends PluginMaintain
+{
+ private $default_conf = array(
+ 'default_open' => true,
+ 'closed_position' => 'left',
+ 'public_quick_edit' => true,
+ );
+
+ function install($plugin_version, &$errors=array())
+ {
+ global $conf;
+
+ if (empty($conf['AdminTools']))
+ {
+ conf_update_param('AdminTools', $this->default_conf, true);
+ }
+ }
+
+ function update($old_version, $new_version, &$errors=array())
+ {
+ $this->install($new_version, $errors);
+ }
+
+ function uninstall()
+ {
+ conf_delete_param('AdminTools');
+ }
+}
diff --git a/plugins/AdminTools/template/admin.tpl b/plugins/AdminTools/template/admin.tpl
new file mode 100644
index 000000000..b82b3fd24
--- /dev/null
+++ b/plugins/AdminTools/template/admin.tpl
@@ -0,0 +1,60 @@
+{html_style}
+.graphicalCheckbox {
+ font-size:16px;
+ line-height:16px;
+}
+
+.graphicalCheckbox + input {
+ display:none;
+}
+{/html_style}
+
+{footer_script}
+jQuery('#ato-config input[type=checkbox]').change(function() {
+ jQuery(this).prev().toggleClass('icon-check icon-check-empty');
+});
+jQuery('#ato-config input[type=radio]').change(function() {
+ jQuery('#ato-config input[type=radio][name='+ $(this).attr('name') +']').prev().toggleClass('icon-check icon-check-empty');
+});
+{/footer_script}
+
+<div class="titrePage">
+ <h2>Admin Tools</h2>
+</div>
+
+<form method="post" action="" class="properties" id="ato-config">
+<fieldset>
+ <legend>{'Configuration'|translate}</legend>
+ <ul>
+ <li>
+ <label>
+ <span class="graphicalCheckbox icon-check{if not $AdminTools.default_open}-empty{/if}"></span>
+ <input type="checkbox" name="default_open"{if $AdminTools.default_open} checked="checked"{/if}>
+ <b>{'Open toolbar by default'|translate}</b>
+ </label>
+ </li>
+ <li>
+ <label>
+ <span class="graphicalCheckbox icon-check{if not $AdminTools.public_quick_edit}-empty{/if}"></span>
+ <input type="checkbox" name="public_quick_edit"{if $AdminTools.public_quick_edit} checked="checked"{/if}>
+ <b>{'Give access to quick edit to photo owners even if they are not admin'|translate}</b>
+ </label>
+ </li>
+ <li>
+ <b>{'Closed icon position'|translate} :</b>
+ <label>
+ <span class="graphicalCheckbox icon-check{if $AdminTools.closed_position!='left'}-empty{/if}"></span>
+ <input type="radio" name="closed_position" value="left"{if $AdminTools.closed_position=='left'} checked="checked"{/if}>
+ {'left'|translate}
+ </label>
+ <label>
+ <span class="graphicalCheckbox icon-check{if $AdminTools.closed_position!='right'}-empty{/if}"></span>
+ <input type="radio" name="closed_position" value="right"{if $AdminTools.closed_position=='right'} checked="checked"{/if}>
+ {'right'|translate}
+ </label>
+ </li>
+ </ul>
+</fieldset>
+
+<p class="formButtons"><input type="submit" name="save_config" value="{'Save Settings'|translate}"></p>
+</form> \ No newline at end of file
diff --git a/plugins/AdminTools/template/fontello/LICENSE.txt b/plugins/AdminTools/template/fontello/LICENSE.txt
new file mode 100644
index 000000000..4b7ab412b
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/LICENSE.txt
@@ -0,0 +1,39 @@
+Font license info
+
+
+## Font Awesome
+
+ Copyright (C) 2012 by Dave Gandy
+
+ Author: Dave Gandy
+ License: SIL ()
+ Homepage: http://fortawesome.github.com/Font-Awesome/
+
+
+## Entypo
+
+ Copyright (C) 2012 by Daniel Bruce
+
+ Author: Daniel Bruce
+ License: CC BY-SA (http://creativecommons.org/licenses/by-sa/2.0/)
+ Homepage: http://www.entypo.com
+
+
+## Iconic
+
+ Copyright (C) 2012 by P.J. Onori
+
+ Author: P.J. Onori
+ License: SIL (http://scripts.sil.org/OFL)
+ Homepage: http://somerandomdude.com/work/iconic/
+
+
+## MFG Labs
+
+ Copyright (C) 2012 by Daniel Bruce
+
+ Author: MFG Labs
+ License: SIL (http://scripts.sil.org/OFL)
+ Homepage: http://www.mfglabs.com/
+
+
diff --git a/plugins/AdminTools/template/fontello/README.txt b/plugins/AdminTools/template/fontello/README.txt
new file mode 100644
index 000000000..43e23f283
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/README.txt
@@ -0,0 +1,75 @@
+This webfont is generated by http://fontello.com open source project.
+
+
+================================================================================
+Please, note, that you should obey original font licences, used to make this
+webfont pack. Details available in LICENSE.txt file.
+
+- Usually, it's enough to publish content of LICENSE.txt file somewhere on your
+ site in "About" section.
+
+- If your project is open-source, usually, it will be ok to make LICENSE.txt
+ file publically available in your repository.
+
+- Fonts, used in Fontello, don't require to make clickable links on your site.
+ But any kind of additional authors crediting is welcome.
+================================================================================
+
+
+Comments on archive content
+---------------------------
+
+- /font/* - fonts in different formats
+
+- /css/* - different kinds of css, for all situations. Should be ok with
+ twitter bootstrap. Also, you can skip <i> style and assign icon classes
+ directly to text elements, if you don't mind about IE7.
+
+- demo.html - demo file, to show your webfont content
+
+- LICENSE.txt - license info about source fonts, used to build your one.
+
+- config.json - keeps your settings. You can import it back to fontello anytime,
+ to continue your work
+
+
+Why so many CSS files ?
+-----------------------
+
+Because we like to fit all your needs :)
+
+- basic file, <your_font_name>.css - is usually enougth, in contains @font-face
+ and character codes definition
+
+- *-ie7.css - if you need IE7 support, but still don't wish to put char codes
+ directly into html
+
+- *-codes.css and *-ie7-codes.css - if you like to use your own @font-face
+ rules, but still wish to benefit of css generation. That can be very
+ convenient for automated assets build systems. When you need to update font -
+ no needs to manually edit files, just override old version with archive
+ content. See fontello source codes for example.
+
+- *-embedded.css - basic css file, but with embedded WOFF font, to avoid
+ CORS issues in Firefox and IE9+, when fonts are hosted on the separate domain.
+ We strongly recommend to resolve this issue by `Access-Control-Allow-Origin`
+ server headers. But if you ok with dirty hack - this file is for you. Note,
+ that data url moved to separate @font-face to avoid problems with <IE9, when
+ string is too long.
+
+- animate.css - use it to get ideas about spinner rotation animation.
+
+
+Attention for server setup
+--------------------------
+
+You MUST setup server to reply with proper `mime-types` for font files. In other
+case, some browsers will fail to show fonts.
+
+Usually, `apache` already has necessary settings, but `nginx` and other
+webservers should be tuned. Here is list of mime types for our file extentions:
+
+- `application/vnd.ms-fontobject` - eot
+- `application/x-font-woff` - woff
+- `application/x-font-ttf` - ttf
+- `image/svg+xml` - svg
diff --git a/plugins/AdminTools/template/fontello/config.json b/plugins/AdminTools/template/fontello/config.json
new file mode 100644
index 000000000..5beaa1e68
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/config.json
@@ -0,0 +1,40 @@
+{
+ "name": "fontello-ato",
+ "css_prefix_text": "icon-ato-",
+ "css_use_suffix": false,
+ "hinting": true,
+ "units_per_em": 1000,
+ "ascent": 850,
+ "glyphs": [
+ {
+ "uid": "c08a1cde48d96cba21d8c05fa7d7feb1",
+ "css": "doc-text-inv",
+ "code": 59392,
+ "src": "fontawesome"
+ },
+ {
+ "uid": "3212f42c65d41ed91cb435d0490e29ed",
+ "css": "flash",
+ "code": 59393,
+ "src": "fontawesome"
+ },
+ {
+ "uid": "978aa8facd816df874039e139cb0cdde",
+ "css": "trophy",
+ "code": 59395,
+ "src": "entypo"
+ },
+ {
+ "uid": "11e664deed5b2587456a4f9c01d720b6",
+ "css": "cancel",
+ "code": 59397,
+ "src": "iconic"
+ },
+ {
+ "uid": "ce50292e85eb5d6ee3be61b32bf2bdf3",
+ "css": "ok",
+ "code": 59394,
+ "src": "mfglabs"
+ }
+ ]
+} \ No newline at end of file
diff --git a/plugins/AdminTools/template/fontello/css/animation.css b/plugins/AdminTools/template/fontello/css/animation.css
new file mode 100644
index 000000000..ac5a9562f
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/css/animation.css
@@ -0,0 +1,85 @@
+/*
+ Animation example, for spinners
+*/
+.animate-spin {
+ -moz-animation: spin 2s infinite linear;
+ -o-animation: spin 2s infinite linear;
+ -webkit-animation: spin 2s infinite linear;
+ animation: spin 2s infinite linear;
+ display: inline-block;
+}
+@-moz-keyframes spin {
+ 0% {
+ -moz-transform: rotate(0deg);
+ -o-transform: rotate(0deg);
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+
+ 100% {
+ -moz-transform: rotate(359deg);
+ -o-transform: rotate(359deg);
+ -webkit-transform: rotate(359deg);
+ transform: rotate(359deg);
+ }
+}
+@-webkit-keyframes spin {
+ 0% {
+ -moz-transform: rotate(0deg);
+ -o-transform: rotate(0deg);
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+
+ 100% {
+ -moz-transform: rotate(359deg);
+ -o-transform: rotate(359deg);
+ -webkit-transform: rotate(359deg);
+ transform: rotate(359deg);
+ }
+}
+@-o-keyframes spin {
+ 0% {
+ -moz-transform: rotate(0deg);
+ -o-transform: rotate(0deg);
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+
+ 100% {
+ -moz-transform: rotate(359deg);
+ -o-transform: rotate(359deg);
+ -webkit-transform: rotate(359deg);
+ transform: rotate(359deg);
+ }
+}
+@-ms-keyframes spin {
+ 0% {
+ -moz-transform: rotate(0deg);
+ -o-transform: rotate(0deg);
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+
+ 100% {
+ -moz-transform: rotate(359deg);
+ -o-transform: rotate(359deg);
+ -webkit-transform: rotate(359deg);
+ transform: rotate(359deg);
+ }
+}
+@keyframes spin {
+ 0% {
+ -moz-transform: rotate(0deg);
+ -o-transform: rotate(0deg);
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+
+ 100% {
+ -moz-transform: rotate(359deg);
+ -o-transform: rotate(359deg);
+ -webkit-transform: rotate(359deg);
+ transform: rotate(359deg);
+ }
+}
diff --git a/plugins/AdminTools/template/fontello/css/fontello-ato-codes.css b/plugins/AdminTools/template/fontello/css/fontello-ato-codes.css
new file mode 100644
index 000000000..1260f0d4d
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/css/fontello-ato-codes.css
@@ -0,0 +1,6 @@
+
+.icon-ato-doc-text-inv:before { content: '\e800'; } /* '' */
+.icon-ato-flash:before { content: '\e801'; } /* '' */
+.icon-ato-trophy:before { content: '\e803'; } /* '' */
+.icon-ato-cancel:before { content: '\e805'; } /* '' */
+.icon-ato-ok:before { content: '\e802'; } /* '' */ \ No newline at end of file
diff --git a/plugins/AdminTools/template/fontello/css/fontello-ato-embedded.css b/plugins/AdminTools/template/fontello/css/fontello-ato-embedded.css
new file mode 100644
index 000000000..ca5ee63e6
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/css/fontello-ato-embedded.css
@@ -0,0 +1,59 @@
+@font-face {
+ font-family: 'fontello-ato';
+ src: url('../font/fontello-ato.eot?11995162');
+ src: url('../font/fontello-ato.eot?11995162#iefix') format('embedded-opentype'),
+ url('../font/fontello-ato.svg?11995162#fontello-ato') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+@font-face {
+ font-family: 'fontello-ato';
+ src: url('data:application/octet-stream;base64,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') format('woff'),
+ url('data:application/octet-stream;base64,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') format('truetype');
+}
+/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
+/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
+/*
+@media screen and (-webkit-min-device-pixel-ratio:0) {
+ @font-face {
+ font-family: 'fontello-ato';
+ src: url('../font/fontello-ato.svg?11995162#fontello-ato') format('svg');
+ }
+}
+*/
+
+ [class^="icon-ato-"]:before, [class*=" icon-ato-"]:before {
+ font-family: "fontello-ato";
+ font-style: normal;
+ font-weight: normal;
+ speak: none;
+
+ display: inline-block;
+ text-decoration: inherit;
+ width: 1em;
+ margin-right: .2em;
+ text-align: center;
+ /* opacity: .8; */
+
+ /* For safety - reset parent styles, that can break glyph codes*/
+ font-variant: normal;
+ text-transform: none;
+
+ /* fix buttons height, for twitter bootstrap */
+ line-height: 1em;
+
+ /* Animation center compensation - margins should be symmetric */
+ /* remove if not needed */
+ margin-left: .2em;
+
+ /* you can be more comfortable with increased icons size */
+ /* font-size: 120%; */
+
+ /* Uncomment for 3D effect */
+ /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
+}
+.icon-ato-doc-text-inv:before { content: '\e800'; } /* '' */
+.icon-ato-flash:before { content: '\e801'; } /* '' */
+.icon-ato-trophy:before { content: '\e803'; } /* '' */
+.icon-ato-cancel:before { content: '\e805'; } /* '' */
+.icon-ato-ok:before { content: '\e802'; } /* '' */ \ No newline at end of file
diff --git a/plugins/AdminTools/template/fontello/css/fontello-ato-ie7-codes.css b/plugins/AdminTools/template/fontello/css/fontello-ato-ie7-codes.css
new file mode 100644
index 000000000..56bcbda11
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/css/fontello-ato-ie7-codes.css
@@ -0,0 +1,6 @@
+
+.icon-ato-doc-text-inv { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;'); }
+.icon-ato-flash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;'); }
+.icon-ato-trophy { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe803;&nbsp;'); }
+.icon-ato-cancel { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe805;&nbsp;'); }
+.icon-ato-ok { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe802;&nbsp;'); } \ No newline at end of file
diff --git a/plugins/AdminTools/template/fontello/css/fontello-ato-ie7.css b/plugins/AdminTools/template/fontello/css/fontello-ato-ie7.css
new file mode 100644
index 000000000..b77967ca6
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/css/fontello-ato-ie7.css
@@ -0,0 +1,17 @@
+[class^="icon-ato-"], [class*=" icon-ato-"] {
+ font-family: 'fontello-ato';
+ font-style: normal;
+ font-weight: normal;
+
+ /* fix buttons height */
+ line-height: 1em;
+
+ /* you can be more comfortable with increased icons size */
+ /* font-size: 120%; */
+}
+
+.icon-ato-doc-text-inv { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;'); }
+.icon-ato-flash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;'); }
+.icon-ato-trophy { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe803;&nbsp;'); }
+.icon-ato-cancel { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe805;&nbsp;'); }
+.icon-ato-ok { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe802;&nbsp;'); } \ No newline at end of file
diff --git a/plugins/AdminTools/template/fontello/css/fontello-ato.css b/plugins/AdminTools/template/fontello/css/fontello-ato.css
new file mode 100644
index 000000000..31cb55605
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/css/fontello-ato.css
@@ -0,0 +1,57 @@
+@font-face {
+ font-family: 'fontello-ato';
+ src: url('../font/fontello-ato.eot?10884929');
+ src: url('../font/fontello-ato.eot?10884929#iefix') format('embedded-opentype'),
+ url('../font/fontello-ato.woff?10884929') format('woff'),
+ url('../font/fontello-ato.ttf?10884929') format('truetype'),
+ url('../font/fontello-ato.svg?10884929#fontello-ato') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
+/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
+/*
+@media screen and (-webkit-min-device-pixel-ratio:0) {
+ @font-face {
+ font-family: 'fontello-ato';
+ src: url('../font/fontello-ato.svg?10884929#fontello-ato') format('svg');
+ }
+}
+*/
+
+ [class^="icon-ato-"]:before, [class*=" icon-ato-"]:before {
+ font-family: "fontello-ato";
+ font-style: normal;
+ font-weight: normal;
+ speak: none;
+
+ display: inline-block;
+ text-decoration: inherit;
+ width: 1em;
+ margin-right: .2em;
+ text-align: center;
+ /* opacity: .8; */
+
+ /* For safety - reset parent styles, that can break glyph codes*/
+ font-variant: normal;
+ text-transform: none;
+
+ /* fix buttons height, for twitter bootstrap */
+ line-height: 1em;
+
+ /* Animation center compensation - margins should be symmetric */
+ /* remove if not needed */
+ margin-left: .2em;
+
+ /* you can be more comfortable with increased icons size */
+ /* font-size: 120%; */
+
+ /* Uncomment for 3D effect */
+ /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
+}
+
+.icon-ato-doc-text-inv:before { content: '\e800'; } /* '' */
+.icon-ato-flash:before { content: '\e801'; } /* '' */
+.icon-ato-trophy:before { content: '\e803'; } /* '' */
+.icon-ato-cancel:before { content: '\e805'; } /* '' */
+.icon-ato-ok:before { content: '\e802'; } /* '' */ \ No newline at end of file
diff --git a/plugins/AdminTools/template/fontello/demo.html b/plugins/AdminTools/template/fontello/demo.html
new file mode 100644
index 000000000..73ceeeb67
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/demo.html
@@ -0,0 +1,275 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+ <meta charset="UTF-8"><style type="text/css">/*
+ * Bootstrap v2.2.1
+ *
+ * Copyright 2012 Twitter, Inc
+ * Licensed under the Apache License v2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
+ */
+.clearfix {
+ *zoom: 1;
+}
+.clearfix:before,
+.clearfix:after {
+ display: table;
+ content: "";
+ line-height: 0;
+}
+.clearfix:after {
+ clear: both;
+}
+html {
+ font-size: 100%;
+ -webkit-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
+}
+a:focus {
+ outline: thin dotted #333;
+ outline: 5px auto -webkit-focus-ring-color;
+ outline-offset: -2px;
+}
+a:hover,
+a:active {
+ outline: 0;
+}
+button,
+input,
+select,
+textarea {
+ margin: 0;
+ font-size: 100%;
+ vertical-align: middle;
+}
+button,
+input {
+ *overflow: visible;
+ line-height: normal;
+}
+button::-moz-focus-inner,
+input::-moz-focus-inner {
+ padding: 0;
+ border: 0;
+}
+body {
+ margin: 0;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 14px;
+ line-height: 20px;
+ color: #333;
+ background-color: #fff;
+}
+a {
+ color: #08c;
+ text-decoration: none;
+}
+a:hover {
+ color: #005580;
+ text-decoration: underline;
+}
+.row {
+ margin-left: -20px;
+ *zoom: 1;
+}
+.row:before,
+.row:after {
+ display: table;
+ content: "";
+ line-height: 0;
+}
+.row:after {
+ clear: both;
+}
+[class*="span"] {
+ float: left;
+ min-height: 1px;
+ margin-left: 20px;
+}
+.container,
+.navbar-static-top .container,
+.navbar-fixed-top .container,
+.navbar-fixed-bottom .container {
+ width: 940px;
+}
+.span12 {
+ width: 940px;
+}
+.span11 {
+ width: 860px;
+}
+.span10 {
+ width: 780px;
+}
+.span9 {
+ width: 700px;
+}
+.span8 {
+ width: 620px;
+}
+.span7 {
+ width: 540px;
+}
+.span6 {
+ width: 460px;
+}
+.span5 {
+ width: 380px;
+}
+.span4 {
+ width: 300px;
+}
+.span3 {
+ width: 220px;
+}
+.span2 {
+ width: 140px;
+}
+.span1 {
+ width: 60px;
+}
+[class*="span"].pull-right,
+.row-fluid [class*="span"].pull-right {
+ float: right;
+}
+.container {
+ margin-right: auto;
+ margin-left: auto;
+ *zoom: 1;
+}
+.container:before,
+.container:after {
+ display: table;
+ content: "";
+ line-height: 0;
+}
+.container:after {
+ clear: both;
+}
+p {
+ margin: 0 0 10px;
+}
+.lead {
+ margin-bottom: 20px;
+ font-size: 21px;
+ font-weight: 200;
+ line-height: 30px;
+}
+small {
+ font-size: 85%;
+}
+h1 {
+ margin: 10px 0;
+ font-family: inherit;
+ font-weight: bold;
+ line-height: 20px;
+ color: inherit;
+ text-rendering: optimizelegibility;
+}
+h1 small {
+ font-weight: normal;
+ line-height: 1;
+ color: #999;
+}
+h1 {
+ line-height: 40px;
+}
+h1 {
+ font-size: 38.5px;
+}
+h1 small {
+ font-size: 24.5px;
+}
+body {
+ margin-top: 90px;
+}
+.header {
+ position: fixed;
+ top: 0;
+ left: 50%;
+ margin-left: -480px;
+ background-color: #fff;
+ border-bottom: 1px solid #ddd;
+ padding-top: 10px;
+ z-index: 10;
+}
+.footer {
+ color: #ddd;
+ font-size: 12px;
+ text-align: center;
+ margin-top: 20px;
+}
+.footer a {
+ color: #ccc;
+ text-decoration: underline;
+}
+.the-icons {
+ font-size: 14px;
+ line-height: 24px;
+}
+.switch {
+ position: absolute;
+ right: 0;
+ bottom: 10px;
+ color: #666;
+}
+.switch input {
+ margin-right: 0.3em;
+}
+.codesOn .i-name {
+ display: none;
+}
+.codesOn .i-code {
+ display: inline;
+}
+.i-code {
+ display: none;
+}
+</style>
+ <link rel="stylesheet" href="css/fontello-ato.css">
+ <link rel="stylesheet" href="css/animation.css">
+ <!--[if IE 7]>
+ <link rel="stylesheet" href="css/fontello-ato-ie7.css">
+ <![endif]-->
+ <script>
+ function toggleCodes(on) {
+ var obj = document.getElementById('icons');
+
+ if (on) {
+ obj.className += ' codesOn';
+ } else {
+ obj.className = obj.className.replace(' codesOn', '');
+ }
+ }
+
+ </script>
+ </head>
+ <body>
+ <div class="container header">
+ <h1>
+ fontello-ato
+ <small>font demo</small>
+ </h1>
+ <label class="switch">
+ <input type="checkbox" onclick="toggleCodes(this.checked)">show codes
+ </label>
+ </div>
+ <div id="icons" class="container">
+ <div class="row">
+ <div title="Code: 0xe800" class="the-icons span3"><i class="icon-ato-doc-text-inv"></i> <span class="i-name">icon-ato-doc-text-inv</span><span class="i-code">0xe800</span></div>
+ <div title="Code: 0xe801" class="the-icons span3"><i class="icon-ato-flash"></i> <span class="i-name">icon-ato-flash</span><span class="i-code">0xe801</span></div>
+ <div title="Code: 0xe803" class="the-icons span3"><i class="icon-ato-trophy"></i> <span class="i-name">icon-ato-trophy</span><span class="i-code">0xe803</span></div>
+ <div title="Code: 0xe805" class="the-icons span3"><i class="icon-ato-cancel"></i> <span class="i-name">icon-ato-cancel</span><span class="i-code">0xe805</span></div>
+ </div>
+ <div class="row">
+ <div title="Code: 0xe802" class="the-icons span3"><i class="icon-ato-ok"></i> <span class="i-name">icon-ato-ok</span><span class="i-code">0xe802</span></div>
+ </div>
+ </div>
+ <div class="container footer">Generated by <a href="http://fontello.com">fontello.com</a></div>
+ </body>
+</html> \ No newline at end of file
diff --git a/plugins/AdminTools/template/fontello/font/fontello-ato.eot b/plugins/AdminTools/template/fontello/font/fontello-ato.eot
new file mode 100644
index 000000000..0f80c691b
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/font/fontello-ato.eot
Binary files differ
diff --git a/plugins/AdminTools/template/fontello/font/fontello-ato.svg b/plugins/AdminTools/template/fontello/font/fontello-ato.svg
new file mode 100644
index 000000000..3f7ee4a6e
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/font/fontello-ato.svg
@@ -0,0 +1,16 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg">
+<metadata>Copyright (C) 2013 by original authors @ fontello.com</metadata>
+<defs>
+<font id="fontello-ato" horiz-adv-x="1000" >
+<font-face font-family="fontello-ato" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
+<missing-glyph horiz-adv-x="1000" />
+<glyph glyph-name="doc-text-inv" unicode="&#xe800;" d="m571 82v36q0 8-5 13t-12 5h-393q-8 0-13-5t-5-13v-36q0-8 5-13t13-5h393q7 0 12 5t5 13z m0 143v36q0 8-5 13t-12 5h-393q-8 0-13-5t-5-13v-36q0-8 5-13t13-5h393q7 0 12 5t5 13z m143 196v-446q0-22-15-38t-38-16h-607q-23 0-38 16t-16 38v750q0 22 16 38t38 16h303v-304q0-22 16-38t38-16h303z m-1 72h-284v284q45-8 73-36l174-175q28-27 37-73z" horiz-adv-x="714.3" />
+<glyph glyph-name="flash" unicode="&#xe801;" d="m494 534q10-11 4-24l-302-646q-7-14-23-14q-2 0-8 1q-9 3-14 11t-3 16l110 451l-226-56q-2-1-7-1q-10 0-17 7q-10 8-7 21l112 461q2 8 9 13t15 5h183q11 0 18-7t7-17q0-4-2-10l-96-258l221 54q5 2 7 2q11 0 19-9z" horiz-adv-x="500" />
+<glyph glyph-name="trophy" unicode="&#xe803;" d="m510 134l0-66q70-8 116-32t46-56q0-36-65-63t-157-27q-90 0-156 27t-66 63q0 32 46 56t118 32l0 66q0 50-33 84t-113 88q-56 36-87 61t-75 72t-64 108t-20 137q0 14 11 24t25 10l172 0q48 92 242 92q196 0 244-92l170 0q14 0 25-10t11-24q0-76-20-137t-64-108t-75-72t-87-61q-78-52-111-87t-33-85z m138 252q80 56 126 114t54 148l-126 0q-6-158-54-262z m-198 364q-62 0-108-15t-64-32t-18-29q0-14 18-31t64-32t108-15t108 15t64 32t18 31q0 12-18 29t-64 32t-108 15z m-378-102q8-90 54-148t126-114q-48 104-54 262l-126 0z" horiz-adv-x="900" />
+<glyph glyph-name="cancel" unicode="&#xe805;" d="m799 116l-156-157l-234 235l-235-235l-156 157l234 234l-234 234l156 157l235-235l234 235l156-157l-234-234z" horiz-adv-x="817" />
+<glyph glyph-name="ok" unicode="&#xe802;" d="m0 339q0-35 24-60l246-239q24-25 60-25q36 0 60 25l505 495q25 24 25 59t-25 58q-25 25-60 25t-60-25l-445-435l-185 181q-25 24-60 24t-61-24q-24-24-24-59z" horiz-adv-x="920.4" />
+</font>
+</defs>
+</svg> \ No newline at end of file
diff --git a/plugins/AdminTools/template/fontello/font/fontello-ato.ttf b/plugins/AdminTools/template/fontello/font/fontello-ato.ttf
new file mode 100644
index 000000000..b71374923
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/font/fontello-ato.ttf
Binary files differ
diff --git a/plugins/AdminTools/template/fontello/font/fontello-ato.woff b/plugins/AdminTools/template/fontello/font/fontello-ato.woff
new file mode 100644
index 000000000..1aebe0542
--- /dev/null
+++ b/plugins/AdminTools/template/fontello/font/fontello-ato.woff
Binary files differ
diff --git a/plugins/AdminTools/template/index.php b/plugins/AdminTools/template/index.php
new file mode 100644
index 000000000..ec6605317
--- /dev/null
+++ b/plugins/AdminTools/template/index.php
@@ -0,0 +1,7 @@
+<?php
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/AdminTools/template/public_controller.js b/plugins/AdminTools/template/public_controller.js
new file mode 100644
index 000000000..142cded3b
--- /dev/null
+++ b/plugins/AdminTools/template/public_controller.js
@@ -0,0 +1,319 @@
+var AdminTools = function($) {
+ var __this = this;
+
+ this.urlWS;
+ this.urlSelf;
+ this.multiView;
+
+ var $ato = $('#ato_header'),
+ $ato_closed = $('#ato_header_closed'),
+ ato_height = 28; // normal height, real height conputed on init()
+
+ // move to whole page down or up
+ function moveBody(dir, anim) {
+ var operator = dir=='show' ? '+=' : '-=';
+
+ if (anim) {
+ $('body').animate({'margin-top': operator+ato_height});
+
+ if ($('#the_page, [data-role="page"]').css('position')=='absolute') {
+ $('#the_page, [data-role="page"]').animate({'top': operator+ato_height});
+ }
+ }
+ else {
+ $('body').css({'margin-top': operator+ato_height});
+
+ if ($('#the_page, [data-role="page"]').css('position')=='absolute') {
+ $('#the_page, [data-role="page"]').css({'top': operator+ato_height});
+ }
+ }
+ }
+
+ // fill multiview selects
+ // data came from AJAX request or sessionStorage
+ function populateMultiView() {
+ var $multiview = $ato.find('.multiview');
+
+ if ($multiview.data('init')) return;
+
+ var render = function(data) {
+ var html = '';
+ $.each(data.users, function(i, user) {
+ html+= '<option value="'+ user.id +'">'+ user.username +'</option>';
+ });
+ $multiview.find('select[data-type="view_as"]').html(html)
+ .val(__this.multiView.view_as);
+
+ html = '';
+ $.each(data.themes, function(i, theme) {
+ html+= '<option value="'+ theme +'">'+ theme +'</option>';
+ });
+ $multiview.find('select[data-type="theme"]').html(html)
+ .val(__this.multiView.theme);
+
+ html = '';
+ $.each(data.languages, function(i, language) {
+ html+= '<option value="'+ language.id +'">'+ language.name +'</option>';
+ });
+ $multiview.find('select[data-type="lang"]').html(html)
+ .val(__this.multiView.lang);
+
+ $multiview.data('init', true);
+
+ $multiview.find('.switcher').show();
+ };
+
+ if ('sessionStorage' in window && window.sessionStorage.multiView != undefined) {
+ render(JSON.parse(window.sessionStorage.multiView));
+ }
+ else {
+ $.ajax({
+ method: 'POST',
+ url: __this.urlWS + 'multiView.getData',
+ dataType: 'json',
+ success: function(data) {
+ render(data.result);
+ if ('sessionStorage' in window) {
+ window.sessionStorage.multiView = JSON.stringify(data.result);
+ }
+ },
+ error: function(xhr, text, error) {
+ alert(text + ' ' + error);
+ }
+ });
+ }
+ }
+
+ // delete session cache
+ this.deleteCache = function() {
+ if ('sessionStorage' in window) {
+ window.sessionStorage.removeItem('multiView');
+ }
+ };
+
+ // move close button to smartpocket toolbar
+ this.initMobile = function() {
+ var $headerbar = $('div[data-role="header"] .title');
+ if ($headerbar.length == 1) {
+ $ato_closed.addClass('smartpocket');
+ $ato_closed.find('a').attr({
+ 'data-iconpos':'notext',
+ 'data-role':'button'
+ });
+ $headerbar.prepend($ato_closed);
+ }
+ };
+
+ // attach jquery handlers
+ this.init = function(open) {
+ $('body').prepend($ato); // ensure the bar is at the begining
+
+ $ato.show();
+ ato_height = $ato.height();
+
+ if ('localStorage' in window) {
+ if (window.localStorage.ato_panel_open == null) {
+ window.localStorage.ato_panel_open = open;
+ }
+
+ if (window.localStorage.ato_panel_open == 1) {
+ moveBody('show', false);
+ }
+ else {
+ $ato.hide();
+ $ato_closed.show();
+ }
+ }
+ else {
+ $ato.show();
+ moveBody('show', false);
+ }
+
+ /* <!-- sub menus --> */
+ $ato.find('.parent').on({
+ 'click': function() {
+ if ($(this).hasClass('multiview')) {
+ populateMultiView();
+ }
+ $(this).find('ul').toggle();
+ },
+ 'mouseleave': function(e) {
+ if (e.target.tagName.toLowerCase() != "select") {
+ $(this).find('ul').hide();
+ }
+ }
+ });
+ $ato.find('.parent>a').on('click', function(e) {
+ e.preventDefault();
+ });
+ $ato.find('.parent ul').on('mouseleave', function(e) {
+ if (e.target.tagName.toLowerCase() != "select") {
+ $(this).hide();
+ }
+ });
+
+ /* <!-- select boxes --> */
+ $ato.find('.switcher').on({
+ 'change': function() {
+ window.location.href = __this.urlSelf + 'ato_'+ $(this).data('type') +'='+ $(this).val();
+ },
+ 'click': function(e) {
+ e.stopPropagation();
+ }
+ });
+
+ /* <!-- toggle toolbar --> */
+ $ato.find('.close-panel').on('click', function(e) {
+ $ato.slideUp();
+ $ato_closed.slideDown();
+ moveBody('hide', true);
+
+ if ('localStorage' in window) window.localStorage.ato_panel_open = 0;
+ e.preventDefault();
+ });
+
+ $ato_closed.on('click', function(e) {
+ $ato.slideDown();
+ $ato_closed.slideUp();
+ moveBody('show', true);
+
+ if ('localStorage' in window) window.localStorage.ato_panel_open = 1;
+ e.preventDefault();
+ });
+ };
+
+ // init "set as representative" button
+ this.initRepresentative = function(image_id, category_id) {
+ $ato.find('.set-representative').on('click', function(e) {
+ if (!$(this).parent().hasClass('disabled')) {
+ $(this).parent().addClass('disabled')
+
+ $.ajax({
+ method: 'POST',
+ url: __this.urlWS + 'pwg.categories.setRepresentative',
+ dataType: 'json',
+ data: {
+ image_id: image_id,
+ category_id: category_id
+ },
+ success: function() {
+ $ato.find('.saved').fadeIn(200).delay(1600).fadeOut(200);
+ },
+ error: function(xhr, text, error) {
+ alert(text + ' ' + error);
+ }
+ });
+ }
+
+ e.preventDefault();
+ });
+ };
+
+ // init "add to caddie" button
+ this.initCaddie = function(image_id) {
+ $ato.find('.add-caddie').on('click', function(e) {
+ if (!$(this).parent().hasClass('disabled')) {
+ $(this).parent().addClass('disabled')
+
+ $.ajax({
+ method: 'POST',
+ url: __this.urlWS + 'pwg.caddie.add',
+ dataType: 'json',
+ data: {
+ image_id: image_id
+ },
+ success: function() {
+ $ato.find('.saved').fadeIn(200).delay(1600).fadeOut(200);
+ },
+ error: function(xhr, text, error) {
+ alert(text + ' ' + error);
+ }
+ });
+ }
+
+ e.preventDefault();
+ });
+ };
+
+ // init "quick edit" popup
+ this.initQuickEdit = function(is_picture, tokeninput_lang) {
+ var $ato_edit = $('#ato_quick_edit');
+
+ // try to find background color matching text color
+ // there is a 1s delay to wait for jQuery Mobile initialization
+ setTimeout(function() {
+ var bg_color = 'white';
+ var selectors = ['#the_page #content', '[data-role="page"]', 'body'];
+
+ for (var i=0; i<selectors.length; i++) {
+ var color = $(selectors[i]).css('background-color');
+ if (color && color!='transparent') {
+ bg_color = color;
+ break;
+ }
+ }
+
+ $ato_edit.css('background-color', bg_color);
+ }, 1000);
+
+ $ato_edit.find('.close-edit').on('click', function(e) {
+ $.colorbox.close()
+ e.preventDefault();
+ });
+
+ if (is_picture) {
+ $ato_edit.find('.datepicker').datepicker({
+ dateFormat: 'yy-mm-dd'
+ });
+ }
+
+ $(".edit-quick").colorbox({
+ inline: true,
+ transition: 'none',
+ width: 500,
+ maxWidth: '100%',
+ top: 50,
+ title: $ato_edit.attr('title'),
+
+ onOpen: function() {
+ if (!is_picture) return;
+
+ // fetch tags list on first open
+ if ($(this).data('tags-init')) return;
+
+ $.ajax({
+ method: 'POST',
+ url: __this.urlWS + 'pwg.tags.getList',
+ dataType: 'json',
+ success: function(data) {
+ var tags = [];
+ // convert to custom format
+ for (var i=0, l=data.result.tags.length; i<l; i++) {
+ tags.push({
+ id: '~~'+ data.result.tags[i].id +'~~',
+ name: data.result.tags[i].name
+ });
+ }
+
+ $ato_edit.find('.tags').tokenInput(
+ tags,
+ $.extend({
+ animateDropdown: false,
+ preventDuplicates: true,
+ allowFreeTagging: true
+ }, tokeninput_lang)
+ );
+
+ $.colorbox.resize();
+ $(this).data('tags-init', true);
+ },
+ error: function(xhr, text, error) {
+ alert(text + ' ' + error);
+ }
+ });
+ }
+ });
+ };
+
+ return this;
+}(jQuery); \ No newline at end of file
diff --git a/plugins/AdminTools/template/public_controller.tpl b/plugins/AdminTools/template/public_controller.tpl
new file mode 100644
index 000000000..8fd12dcf0
--- /dev/null
+++ b/plugins/AdminTools/template/public_controller.tpl
@@ -0,0 +1,188 @@
+{strip}
+{combine_css path=$ADMINTOOLS_PATH|cat:'template/style.css'}
+{combine_css path='admin/themes/default/fontello/css/fontello.css'}
+{combine_css path=$ADMINTOOLS_PATH|cat:'template/fontello/css/fontello-ato.css'}
+
+{if isset($ato.QUICK_EDIT)}
+ {*<!-- colorbox -->*}
+ {combine_script id='jquery.colorbox' load='footer' require='jquery' path='themes/default/js/plugins/jquery.colorbox.min.js'}
+ {combine_css id='colorbox' path='themes/default/js/plugins/colorbox/style2/colorbox.css'}
+
+ {if isset($ato.IS_PICTURE)}
+ {*<!-- tokeninput -->*}
+ {combine_script id='jquery.tokeninput' load='footer' require='jquery' path='themes/default/js/plugins/jquery.tokeninput.js'}
+ {combine_css path='themes/default/js/plugins/jquery.tokeninput.css'}
+
+ {*<!-- datepicker -->*}
+ {combine_script id='jquery.ui.datepicker' load='footer' path='themes/default/js/ui/jquery.ui.datepicker.js'}
+
+ {assign var=datepicker_language value='themes/default/js/ui/i18n/jquery.ui.datepicker-'|cat:$lang_info.code|cat:'.js'}
+ {if 'PHPWG_ROOT_PATH'|constant|cat:$datepicker_language|file_exists}
+ {combine_script id='jquery.ui.datepicker-'|cat:$lang_info.code load='footer' path=$datepicker_language}
+ {/if}
+
+ {combine_css path='themes/default/js/ui/theme/jquery.ui.core.css'}
+ {combine_css path='themes/default/js/ui/theme/jquery.ui.theme.css'}
+ {combine_css path='themes/default/js/ui/theme/jquery.ui.datepicker.css'}
+ {/if}
+{/if}
+
+{combine_script id='admintools.controller' load='footer' require='jquery' path=$ADMINTOOLS_PATH|cat:'template/public_controller.js'}
+{/strip}
+
+{footer_script require='admintools.controller'}
+AdminTools.urlWS = '{$ROOT_URL}ws.php?format=json&method=';
+AdminTools.urlSelf = '{$ato.U_SELF}';
+
+{if isset($ato.MULTIVIEW)}
+AdminTools.multiView = {
+ view_as: {$ato.MULTIVIEW.view_as},
+ theme: '{$ato.MULTIVIEW.theme}',
+ lang: '{$ato.MULTIVIEW.lang}'
+};
+{/if}
+
+{if $ato.DELETE_CACHE}
+ AdminTools.deleteCache();
+{/if}
+ AdminTools.init({intval($ato.DEFAULT_OPEN)});
+{if isset($themeconf.mobile) and $themeconf.mobile}
+ AdminTools.initMobile();
+{/if}
+{if isset($ato.U_SET_REPRESENTATIVE)}
+ AdminTools.initRepresentative({$current.id}, {$ato.CATEGORY_ID});
+{/if}
+{if isset($ato.U_CADDIE) and isset($ato.IS_PICTURE)}
+ AdminTools.initCaddie({$current.id});
+{/if}
+{if isset($ato.QUICK_EDIT)}
+ AdminTools.initQuickEdit({intval(isset($ato.IS_PICTURE))}, {
+ hintText: '{'Type in a search term'|translate|escape:javascript}',
+ noResultsText: '{'No results'|translate|escape:javascript}',
+ searchingText: '{'Searching...'|translate|escape:javascript}',
+ newText: ' ({'new'|translate|escape:javascript})'
+ });
+{/if}
+{/footer_script}
+
+<div id="ato_header_closed"{if $ato.POSITION=='right'} class="right"{/if}><a href="#" class="icon-tools"></a></div>
+
+<div id="ato_header">
+ <ul>
+ <li{if $ato.POSITION=='right'} class="right"{/if}><a href="#" class="icon-ato-cancel close-panel"></a></li>
+ {if isset($ato.U_SITE_ADMIN)}
+ <li class="parent"><a href="#" class="icon-menu ato-min-1">{'Administration'|translate}</a>
+ <ul>
+ <li><a class="icon-home" href="{$ato.U_SITE_ADMIN}intro">{'Home'|translate}</a></li>
+ <li><a class="icon-picture" href="{$ato.U_SITE_ADMIN}batch_manager">{'Photos'|translate}</a></li>
+ <li><a class="icon-sitemap" href="{$ato.U_SITE_ADMIN}cat_list">{'Albums'|translate}</a></li>
+ <li><a class="icon-users" href="{$ato.U_SITE_ADMIN}user_list">{'Users'|translate}</a></li>
+ <li><a class="icon-puzzle" href="{$ato.U_SITE_ADMIN}plugins">{'Plugins'|translate}</a></li>
+ <li><a class="icon-wrench" href="{$ato.U_SITE_ADMIN}maintenance">{'Tools'|translate}</a></li>
+ <li><a class="icon-cog" href="{$ato.U_SITE_ADMIN}configuration">{'Configuration'|translate}</a></li>
+ </ul>
+ </li>
+ {/if}
+ {if isset($ato.U_ADMIN_EDIT)}
+ <li class="parent"><a href="#" class="icon-pencil ato-min-2">{'Edit'|translate}</a>
+ <ul>
+ <li><a href="#ato_quick_edit" class="icon-ato-flash edit-quick">{'Quick edit'|translate}</a></li>
+ <li><a class="icon-ato-doc-text-inv" href="{$ato.U_ADMIN_EDIT}">{'Properties page'|translate}</a></li>
+ {if isset($ato.U_DELETE)}
+ <li style="margin-top:1em;"><a class="icon-ato-cancel" href="{$ato.U_DELETE}" onclick="return confirm('{'Are you sure?'|translate|escape:javascript}')">{'delete photo'|translate|ucfirst}</a></li>
+ {/if}
+ </ul>
+ </li>
+ {elseif isset($ato.QUICK_EDIT)}
+ <li><a href="#ato_quick_edit" class="icon-pencil edit-quick ato-min-2">{'Edit'|translate}</a></li>
+ {if isset($ato.U_DELETE)}
+ <li><a class="icon-ato-cancel ato-min-2" href="{$ato.U_DELETE}" onclick="return confirm('{'Are you sure?'|translate|escape:javascript}')">{'delete photo'|translate|ucfirst}</a></li>
+ {/if}
+ {/if}
+ {if isset($ato.U_SET_REPRESENTATIVE)}
+ <li {if $ato.IS_REPRESENTATIVE}class="disabled"{/if}><a class="icon-ato-trophy set-representative ato-min-2" href="{$ato.U_SET_REPRESENTATIVE}">{'representative'|translate|ucfirst}</a></li>
+ {/if}
+ {if isset($ato.U_CADDIE)}
+ <li {if $ato.IS_IN_CADDIE}class="disabled"{/if}><a class="icon-flag add-caddie ato-min-2" href="{$ato.U_CADDIE}">{'Add to caddie'|translate}</a></li>
+ {/if}
+ {if isset($ato.IS_CATEGORY)}
+ <li><a class="icon-plus-circled ato-min-2" href="{$ato.U_SITE_ADMIN}photos_add&amp;album={$ato.CATEGORY_ID}">{'Add Photos'|translate}</a></li>
+ {/if}
+ <li class="saved"><span class="icon-ato-ok ato-min-1">{'Saved'|translate}</span></li>
+
+ {if isset($ato.MULTIVIEW)}
+ <li class="parent right multiview"><a class="icon-cog-alt ato-min-1" href="#">{'Tools'|translate}</a>
+ <ul>
+ <li><label>{'View as'|translate}</label>
+ <select class="switcher" data-type="view_as"></select>
+ </li>
+ <li><label>{'Theme'|translate}</label>
+ <select class="switcher" data-type="theme"></select>
+ </li>
+ <li><label>{'Language'|translate}</label>
+ <select class="switcher" data-type="lang"></select>
+ </li>
+ <li><a class="icon-check{if !$ato.MULTIVIEW.show_queries}-empty{/if}" href="{$ato.U_SELF}ato_show_queries={(int)!$ato.MULTIVIEW.show_queries}">{'Show SQL queries'|translate}</a></li>
+ <li><a class="icon-check{if !$ato.MULTIVIEW.debug_l10n}-empty{/if}" href="{$ato.U_SELF}ato_debug_l10n={(int)!$ato.MULTIVIEW.debug_l10n}">{'Debug languages'|translate}</a></li>
+ <li><a class="icon-check{if !$ato.MULTIVIEW.debug_template}-empty{/if}" href="{$ato.U_SELF}ato_debug_template={(int)!$ato.MULTIVIEW.debug_template}">{'Debug template'|translate}</a></li>
+ <li><a class="icon-check{if !$ato.MULTIVIEW.template_combine_files}-empty{/if}" href="{$ato.U_SELF}ato_template_combine_files={(int)!$ato.MULTIVIEW.template_combine_files}">{'Combine JS&CSS'|translate}</a></li>
+ <li><a class="icon-check{if $ato.MULTIVIEW.no_history}-empty{/if}" href="{$ato.U_SELF}ato_no_history={(int)!$ato.MULTIVIEW.no_history}">{'Save visit in history'|translate}</a></li>
+ <li><a class="icon-ato-null" href="{$ato.U_SELF}ato_purge_template=1">{'Purge compiled templates'|translate}</a></li>
+ </ul>
+ </li>
+ {if $ato.USER.id != $ato.MULTIVIEW.view_as}
+ <li class="right ato-hide-2"><span>
+ {'Viewing as <b>%s</b>.'|translate:$ato.CURRENT_USERNAME}
+ <a href="{$ato.U_SELF}ato_view_as={$ato.USER.id}">{'Revert'|translate}</a>
+ </span></li>
+ {/if}
+ {/if}
+ </ul>
+</div>
+
+{if isset($ato.QUICK_EDIT)}
+<div style="display:none;">
+ <div id="ato_quick_edit" title="{'Quick edit'|translate}">
+ <form method="post" action="{$ato.U_SELF}">
+ <fieldset class="left">
+ {if isset($ato.QUICK_EDIT.img)}<img src="{$ato.QUICK_EDIT.img}" width="100" height="100">{/if}
+ <input type="submit" value="{'Save'|translate}">
+ <a href="#" class="icon-ato-cancel close-edit">{'Cancel'|translate}</a>
+ </fieldset>
+
+ <fieldset class="main">
+ <label for="quick_edit_name">{'Name'|translate}</label>
+ <input type="text" name="name" id="quick_edit_name" value="{$ato.QUICK_EDIT.name|escape:html}">
+
+ {if isset($ato.IS_PICTURE)}
+ <label for="quick_edit_author">{'Author'|translate}</label>
+ <input type="text" name="author" id="quick_edit_author" value="{$ato.QUICK_EDIT.author|escape:html}">
+
+ <label for="quick_edit_date_creation">{'Creation date'|translate}</label>
+ <input type="text" name="date_creation" id="quick_edit_date_creation" class="datepicker" value="{$ato.QUICK_EDIT.date_creation}">
+ <input type="hidden" name="date_creation_time" value="{$ato.QUICK_EDIT.date_creation_time}">
+
+ <label for="quick_edit_tags">{'Tags'|translate}</label>
+ <select name="tags" id="quick_edit_tags" class="tags">
+ {foreach from=$ato.QUICK_EDIT.tag_selection item=tag}
+ <option value="{$tag.id}" class="selected">{$tag.name}</option>
+ {/foreach}
+ </select>
+
+ {if isset($available_permission_levels)}
+ <label for="quick_edit_level">{'Who can see this photo?'|@translate}</label>
+ <select name="level" size="1">
+ {html_options options=$available_permission_levels selected=$ato.QUICK_EDIT.level}
+ </select>
+ {/if}
+ {/if}
+
+ <label for="quick_edit_comment">{'Description'|translate}</label>
+ <textarea name="comment" id="quick_edit_comment">{$ato.QUICK_EDIT.comment}</textarea>
+ </fieldset>
+
+ <input type="hidden" name="action" value="quick_edit">
+ </form>
+ </div>
+</div>
+{/if} \ No newline at end of file
diff --git a/plugins/AdminTools/template/style.css b/plugins/AdminTools/template/style.css
new file mode 100644
index 000000000..9b10158c2
--- /dev/null
+++ b/plugins/AdminTools/template/style.css
@@ -0,0 +1,251 @@
+.icon-ato-null:before { content:' '; }
+
+.token-input-dropdown {
+ z-index:10000 !important;
+}
+
+#ato_header, #ato_header_closed {
+ display:none;
+}
+#ato_header {
+ width:100%;
+}
+#ato_header, #ato_header_closed:not(.smartpocket) {
+ position:fixed;
+ top:0;
+ left:0;
+ background:#464646;
+ background-image:linear-gradient(to bottom, #383838 0%, #464646 20%, #464646 80%, #383838 100%);
+ z-index:1000;
+}
+
+#ato_header>ul {
+ padding:0;
+ margin:0;
+}
+
+#ato_header>ul li {
+ list-style:none;
+ line-height:16px;
+ font-size:13px;
+ white-space:nowrap;
+}
+ #ato_header>ul li>*, #ato_header_closed:not(.smartpocket)>* {
+ display:inline-block;
+ padding:5px 10px;
+ border:none;
+ text-decoration:none;
+ }
+ #ato_header>ul li>*:before {
+ font-size:16px;
+ margin-right:0.5em;
+ }
+
+#ato_header>ul>li {
+ float:left;
+ display:inline-block;
+ position:relative;
+ overflow:visible;
+}
+ #ato_header>ul>li a {
+ color:white;
+ }
+ #ato_header>ul>li.right {
+ float:right;
+ }
+ #ato_header>ul>li {
+ border-left:1px solid #666;
+ }
+ #ato_header>ul>li {
+ border-right:1px solid #222;
+ }
+ #ato_header>ul>li>*, #ato_header_closed:not(.smartpocket)>* {
+ color:#ddd;
+ text-shadow:1px 1px 0px #222;
+ }
+ #ato_header>ul>li.disabled [class*="icon-"] {
+ color:#888;
+ text-shadow:none;
+ }
+ #ato_header>ul>li:not(.disabled):hover, #ato_header_closed:not(.smartpocket):hover {
+ background:#222;
+ background-image:linear-gradient(to bottom, #222, #353535);
+ }
+
+#ato_header>ul ul {
+ display:none;
+ position:absolute;
+ top:27px;
+ left:0;
+ min-width:100%;
+ background:#fefefe;
+ padding:0;
+ margin:0;
+ box-shadow:3px 3px 5px rgba(0,0,0,0.5);
+}
+ #ato_header>ul>li.right ul {
+ left:auto;
+ right:0;
+ }
+ #ato_header>ul ul li {
+ }
+ #ato_header>ul ul li:hover {
+ background:#dedede;
+ }
+ #ato_header>ul ul li>* {
+ color:#444;
+ text-shadow:1px 1px 0px #eee;
+ }
+ #ato_header>ul ul label {
+ font-weight:bold;
+ color:#777;
+ display:inline-block;
+ width:80px;
+ padding:5px;
+ text-align:right;
+ font-size:11px;
+ }
+ #ato_header>ul ul select, #ato_header>ul ul option {
+ font-size:13px;
+ line-height:15px;
+ color:#444;
+ background:#fefefe;
+ border-radius:2px;
+ text-shadow:none;
+ }
+ #ato_header>ul ul select {
+ border:1px solid #777;
+ height:22px;
+ padding:2px 3px;
+ }
+ #ato_header .switcher {
+ display:none;
+ }
+
+#ato_header_closed:not(.smartpocket) {
+ left:10px;
+ font-size:20px;
+ border-radius:0 0 20% 20%;
+ box-shadow:1px 1px 1px rgba(0,0,0,0.5);
+ width:35px;
+ height:35px;
+}
+ #ato_header_closed:not(.smartpocket).right {
+ left:auto;
+ right:10px;
+ }
+ #ato_header_closed:not(.smartpocket)>* {
+ padding:4px;
+ }
+#ato_header_closed.smartpocket {
+ float:left;
+ margin-right:10px;
+}
+ #ato_header_closed.smartpocket .ui-btn-inner {
+ display:none;
+ }
+
+#ato_header>ul .close-panel {
+ padding:6px 1px 4px 5px;
+}
+#ato_header>ul .close-panel:hover {
+ color:#d00;
+}
+#ato_header>ul .saved {
+ display:none;
+ border:none !important;
+ -webkit-animation:blink 0.8s infinite;
+ animation:blink 0.8s infinite;
+}
+ #ato_header>ul .saved>* {
+ color:#5f5;
+ }
+
+#ato_quick_edit {
+ padding:10px;
+}
+ #ato_quick_edit fieldset {
+ margin:0;
+ padding:0;
+ border:none;
+ }
+ #ato_quick_edit fieldset.left {
+ float:left;
+ width:100px;
+ text-align:center;
+ }
+ #ato_quick_edit fieldset.left img {
+ border-radius:2px;
+ border:1px solid #111;
+ }
+ #ato_quick_edit fieldset.main {
+ margin:0 0 0 110px;
+ }
+ #ato_quick_edit label {
+ display:block;
+ font-weight:bold;
+ }
+ #ato_quick_edit input, #ato_quick_edit textarea, #ato_quick_edit select {
+ width:100%;
+ margin:0 0 1em 0;
+ border-radius:2px;
+ padding:2px;
+ -moz-box-sizing:border-box;
+ box-sizing:border-box;
+ }
+ #ato_quick_edit textarea {
+ height:110px;
+ }
+ #ato_quick_edit input[type="submit"] {
+ margin:1.5em 0;
+ cursor:pointer;
+ background:#e60;
+ border:none;
+ color:#fff;
+ }
+ #ato_quick_edit input[type="submit"]:hover {
+ background:#EF962F;
+ }
+ #ato_quick_edit ul.token-input-list {
+ width:100%;
+ margin:0 0 1em 0;
+ }
+
+@-webkit-keyframes blink {
+ 0% { opacity:0; }
+ 50% { opacity:1; }
+ 100% { opacity:0; }
+}
+@keyframes blink {
+ 0% { opacity:0; }
+ 50% { opacity:1; }
+ 100% { opacity:0; }
+}
+
+@media (max-width:900px) {
+ #ato_header .ato-min-1 {
+ font-size:0px;
+ line-height:0px;
+ }
+ #ato_header .ato-min-1:before {
+ margin-right:0;
+ }
+
+ #ato_header .ato-hide-1 {
+ display:none;
+ }
+}
+
+@media (max-width:750px) {
+ #ato_header .ato-min-2 {
+ font-size:0px;
+ line-height:0px;
+ }
+ #ato_header .ato-min-2:before {
+ margin-right:0;
+ }
+
+ #ato_header .ato-hide-2 {
+ display:none;
+ }
+} \ No newline at end of file