From 59478e06c25303a790a0840ab2ac30662c4ef781 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Tue, 5 Aug 2014 16:46:22 +0200 Subject: c'est la merde.. --- plugins/help/config.inc.php.dist | 34 +------------ plugins/help/content/about.html | 27 ++++++++++ plugins/help/content/license.html | 2 +- plugins/help/help.php | 69 +++++--------------------- plugins/help/localization/ar.inc | 18 +++++++ plugins/help/localization/ast.inc | 21 ++++++++ plugins/help/localization/be_BE.inc | 21 ++++++++ plugins/help/localization/bg_BG.inc | 21 ++++++++ plugins/help/localization/bn_BD.inc | 18 +++++++ plugins/help/localization/el_GR.inc | 21 ++++++++ plugins/help/localization/en_US.inc | 4 +- plugins/help/localization/es_AR.inc | 21 ++++++++ plugins/help/localization/eu_ES.inc | 21 ++++++++ plugins/help/localization/fa_AF.inc | 21 ++++++++ plugins/help/localization/gl_ES.inc | 2 +- plugins/help/localization/hi_IN.inc | 18 +++++++ plugins/help/localization/ia.inc | 18 +++++++ plugins/help/localization/lb_LU.inc | 3 -- plugins/help/localization/lv_LV.inc | 21 ++++++++ plugins/help/localization/ml_IN.inc | 18 +++++++ plugins/help/localization/mn_MN.inc | 18 +++++++ plugins/help/localization/ms_MY.inc | 18 +++++++ plugins/help/localization/my_MM.inc | 18 +++++++ plugins/help/localization/nl_BE.inc | 18 +++++++ plugins/help/localization/nqo.inc | 18 +++++++ plugins/help/localization/om.inc | 18 +++++++ plugins/help/localization/ro_RO.inc | 21 ++++++++ plugins/help/localization/te_IN.inc | 18 +++++++ plugins/help/localization/th_TH.inc | 18 +++++++ plugins/help/localization/ti.inc | 21 ++++++++ plugins/help/localization/tzm.inc | 18 +++++++ plugins/help/localization/uk_UA.inc | 21 ++++++++ plugins/help/localization/ur_PK.inc | 18 +++++++ plugins/help/package.xml | 9 ++-- plugins/help/skins/classic/help.css | 16 +----- plugins/help/skins/classic/templates/help.html | 17 +++---- plugins/help/skins/larry/help.css | 1 + plugins/help/skins/larry/templates/help.html | 8 +-- 38 files changed, 563 insertions(+), 130 deletions(-) create mode 100644 plugins/help/content/about.html create mode 100644 plugins/help/localization/ar.inc create mode 100644 plugins/help/localization/ast.inc create mode 100644 plugins/help/localization/be_BE.inc create mode 100644 plugins/help/localization/bg_BG.inc create mode 100644 plugins/help/localization/bn_BD.inc create mode 100644 plugins/help/localization/el_GR.inc create mode 100644 plugins/help/localization/es_AR.inc create mode 100644 plugins/help/localization/eu_ES.inc create mode 100644 plugins/help/localization/fa_AF.inc create mode 100644 plugins/help/localization/hi_IN.inc create mode 100644 plugins/help/localization/ia.inc create mode 100644 plugins/help/localization/lv_LV.inc create mode 100644 plugins/help/localization/ml_IN.inc create mode 100644 plugins/help/localization/mn_MN.inc create mode 100644 plugins/help/localization/ms_MY.inc create mode 100644 plugins/help/localization/my_MM.inc create mode 100644 plugins/help/localization/nl_BE.inc create mode 100644 plugins/help/localization/nqo.inc create mode 100644 plugins/help/localization/om.inc create mode 100644 plugins/help/localization/ro_RO.inc create mode 100644 plugins/help/localization/te_IN.inc create mode 100644 plugins/help/localization/th_TH.inc create mode 100644 plugins/help/localization/ti.inc create mode 100644 plugins/help/localization/tzm.inc create mode 100644 plugins/help/localization/uk_UA.inc create mode 100644 plugins/help/localization/ur_PK.inc (limited to 'plugins/help') diff --git a/plugins/help/config.inc.php.dist b/plugins/help/config.inc.php.dist index 7cc8d5f00..d440dbbcc 100644 --- a/plugins/help/config.inc.php.dist +++ b/plugins/help/config.inc.php.dist @@ -1,35 +1,5 @@ /' or only '' strings as keys -// The values will be appended to the 'help_source' URL -$config['help_index_map'] = array( - 'login' => 'login.html', - 'mail' => 'mail/index.html', - 'mail/compose' => 'mail/compose.html', - 'addressbook' => 'addressbook/index.html', - 'settings' => 'settings/index.html', - 'settings/preferences' => 'settings/preferences.html', - 'settings/folders' => 'settings/folders.html', - 'settings/identities' => 'settings/identities.html', -); - -// Map to translate Roundcube language codes into help document languages -// The '*' entry will be used as default -$config['help_language_map'] = array('*' => 'en_US'); - -// Enter an absolute URL to a page displaying information about this webmail -// Alternatively, create a HTML file under /content/about.html -$config['help_about_url'] = null; - -// Enter an absolute URL to a page displaying information about this webmail -// Alternatively, put your license text to /content/license.html -$config['help_license_url'] = null; - -// Determine whether to open the help in a new window -$config['help_open_extwin'] = false; - +// $rcmail_config['help_source'] = 'http://trac.roundcube.net/wiki'; +$rcmail_config['help_source'] = ''; diff --git a/plugins/help/content/about.html b/plugins/help/content/about.html new file mode 100644 index 000000000..6e9632bec --- /dev/null +++ b/plugins/help/content/about.html @@ -0,0 +1,27 @@ +
+

Copyright © 2005-2012, The Roundcube Dev Team

+ +

+This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License (with exceptions +for skins & plugins) as published by the Free Software Foundation, +either version 3 of the License, or (at your option) any later version. +

+

+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, see www.gnu.org/licenses. +

+ +

+For more details about licensing and the expections for skins and plugins +see roundcube.net/license. +

+ +


Website: roundcube.net

+
diff --git a/plugins/help/content/license.html b/plugins/help/content/license.html index 9034d46f8..371dbffe1 100644 --- a/plugins/help/content/license.html +++ b/plugins/help/content/license.html @@ -655,7 +655,7 @@ the “copyright” line and a pointer to where the full notice is found 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, see <http://www.gnu.org/licenses/>. + along with this program. If not, see <http://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

diff --git a/plugins/help/help.php b/plugins/help/help.php index 37fd908a3..4b11dceb3 100644 --- a/plugins/help/help.php +++ b/plugins/help/help.php @@ -1,10 +1,9 @@ * @license GNU GPLv3+ * * Configuration (see config.inc.php.dist) @@ -22,7 +21,8 @@ class help extends rcube_plugin function init() { - $this->load_config(); + $rcmail = rcmail::get_instance(); + $this->add_texts('localization/', false); // register task @@ -33,8 +33,6 @@ class help extends rcube_plugin $this->register_action('about', array($this, 'action')); $this->register_action('license', array($this, 'action')); - $rcmail = rcmail::get_instance(); - // add taskbar button $this->add_button(array( 'command' => 'help', @@ -44,9 +42,6 @@ class help extends rcube_plugin 'label' => 'help.help', ), 'taskbar'); - $this->include_script('help.js'); - $rcmail->output->set_env('help_open_extwin', $rcmail->config->get('help_open_extwin', false), true); - // add style for taskbar button (must be here) and Help UI $skin_path = $this->local_skin_path(); if (is_file($this->home . "/$skin_path/help.css")) { @@ -58,10 +53,11 @@ class help extends rcube_plugin { $rcmail = rcmail::get_instance(); + $this->load_config(); + // register UI objects $rcmail->output->add_handlers(array( 'helpcontent' => array($this, 'content'), - 'tablink' => array($this, 'tablink'), )); if ($rcmail->action == 'about') @@ -74,52 +70,20 @@ class help extends rcube_plugin $rcmail->output->send('help.help'); } - function tablink($attrib) - { - $rcmail = rcmail::get_instance(); - $attrib['name'] = 'helplink' . $attrib['action']; - $attrib['href'] = $rcmail->url(array('_action' => $attrib['action'], '_extwin' => !empty($_REQUEST['_extwin']) ? 1 : null)); - return $rcmail->output->button($attrib); - } - function content($attrib) { $rcmail = rcmail::get_instance(); - switch ($rcmail->action) { - case 'about': - if (is_readable($this->home . '/content/about.html')) { - return @file_get_contents($this->home . '/content/about.html'); - } - $default = $rcmail->url(array('_task' => 'settings', '_action' => 'about', '_framed' => 1)); - $src = $rcmail->config->get('help_about_url', $default); - break; - - case 'license': - if (is_readable($this->home . '/content/license.html')) { - return @file_get_contents($this->home . '/content/license.html'); - } - $src = $rcmail->config->get('help_license_url', 'http://www.gnu.org/licenses/gpl-3.0-standalone.html'); - break; - - default: - $src = $rcmail->config->get('help_source'); - - // resolve task/action for depp linking - $index_map = $rcmail->config->get('help_index_map', array()); - $rel = $_REQUEST['_rel']; - list($task,$action) = explode('/', $rel); - if ($add = $index_map[$rel]) - $src .= $add; - else if ($add = $index_map[$task]) - $src .= $add; - break; + if ($rcmail->action == 'about') { + return @file_get_contents($this->home.'/content/about.html'); + } + else if ($rcmail->action == 'license') { + return @file_get_contents($this->home.'/content/license.html'); } // default content: iframe - if (!empty($src)) { - $attrib['src'] = $this->resolve_language($src); - } + if ($src = $rcmail->config->get('help_source')) + $attrib['src'] = $src; if (empty($attrib['id'])) $attrib['id'] = 'rcmailhelpcontent'; @@ -129,13 +93,4 @@ class help extends rcube_plugin return $rcmail->output->frame($attrib); } - - private function resolve_language($path) - { - // resolve language placeholder - $rcmail = rcmail::get_instance(); - $langmap = $rcmail->config->get('help_language_map', array('*' => 'en_US')); - $lang = !empty($langmap[$_SESSION['language']]) ? $langmap[$_SESSION['language']] : $langmap['*']; - return str_replace('%l', $lang, $path); - } } diff --git a/plugins/help/localization/ar.inc b/plugins/help/localization/ar.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/ar.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/ast.inc b/plugins/help/localization/ast.inc new file mode 100644 index 000000000..7e5e2874a --- /dev/null +++ b/plugins/help/localization/ast.inc @@ -0,0 +1,21 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +$labels['help'] = 'Ayuda'; +$labels['about'] = 'Tocante a'; +$labels['license'] = 'Llicencia'; +?> diff --git a/plugins/help/localization/be_BE.inc b/plugins/help/localization/be_BE.inc new file mode 100644 index 000000000..3bbb1db32 --- /dev/null +++ b/plugins/help/localization/be_BE.inc @@ -0,0 +1,21 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +$labels['help'] = 'Дапамога'; +$labels['about'] = 'Апісанне'; +$labels['license'] = 'Ліцэнзія'; +?> diff --git a/plugins/help/localization/bg_BG.inc b/plugins/help/localization/bg_BG.inc new file mode 100644 index 000000000..05a0aafab --- /dev/null +++ b/plugins/help/localization/bg_BG.inc @@ -0,0 +1,21 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +$labels['help'] = 'Помощ'; +$labels['about'] = 'Относно'; +$labels['license'] = 'Лиценз'; +?> diff --git a/plugins/help/localization/bn_BD.inc b/plugins/help/localization/bn_BD.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/bn_BD.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/el_GR.inc b/plugins/help/localization/el_GR.inc new file mode 100644 index 000000000..74be22bf1 --- /dev/null +++ b/plugins/help/localization/el_GR.inc @@ -0,0 +1,21 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +$labels['help'] = 'Βοηθεια'; +$labels['about'] = 'Σχετικά'; +$labels['license'] = 'Άδεια χρήσης'; +?> diff --git a/plugins/help/localization/en_US.inc b/plugins/help/localization/en_US.inc index b81f02fb9..cf6c0aaaf 100644 --- a/plugins/help/localization/en_US.inc +++ b/plugins/help/localization/en_US.inc @@ -2,10 +2,10 @@ /* +-----------------------------------------------------------------------+ - | plugins/help/localization/.inc | + | plugins/help/localization/.inc | | | | Localization file of the Roundcube Webmail Help plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | + | Copyright (C) 2012, The Roundcube Dev Team | | | | Licensed under the GNU General Public License version 3 or | | any later version with exceptions for skins & plugins. | diff --git a/plugins/help/localization/es_AR.inc b/plugins/help/localization/es_AR.inc new file mode 100644 index 000000000..5425367f4 --- /dev/null +++ b/plugins/help/localization/es_AR.inc @@ -0,0 +1,21 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +$labels['help'] = 'Ayuda'; +$labels['about'] = 'Acerca de'; +$labels['license'] = 'Licencia'; +?> diff --git a/plugins/help/localization/eu_ES.inc b/plugins/help/localization/eu_ES.inc new file mode 100644 index 000000000..d6547c7da --- /dev/null +++ b/plugins/help/localization/eu_ES.inc @@ -0,0 +1,21 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +$labels['help'] = 'Laguntza'; +$labels['about'] = 'Honi buruz'; +$labels['license'] = 'Lizentzia'; +?> diff --git a/plugins/help/localization/fa_AF.inc b/plugins/help/localization/fa_AF.inc new file mode 100644 index 000000000..e9fac20c1 --- /dev/null +++ b/plugins/help/localization/fa_AF.inc @@ -0,0 +1,21 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +$labels['help'] = 'راهنما'; +$labels['about'] = 'درباره نرم افزار'; +$labels['license'] = 'حق نشر'; +?> diff --git a/plugins/help/localization/gl_ES.inc b/plugins/help/localization/gl_ES.inc index e3e9e36ca..432623751 100644 --- a/plugins/help/localization/gl_ES.inc +++ b/plugins/help/localization/gl_ES.inc @@ -19,6 +19,6 @@ $labels = array(); $labels['help'] = 'Axuda'; $labels['about'] = 'Acerca de'; -$labels['license'] = 'Licenza'; +$labels['license'] = 'Licencia'; ?> diff --git a/plugins/help/localization/hi_IN.inc b/plugins/help/localization/hi_IN.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/hi_IN.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/ia.inc b/plugins/help/localization/ia.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/ia.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/lb_LU.inc b/plugins/help/localization/lb_LU.inc index 0a7ec6eef..63d6aebdc 100644 --- a/plugins/help/localization/lb_LU.inc +++ b/plugins/help/localization/lb_LU.inc @@ -15,10 +15,7 @@ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ */ - -$labels = array(); $labels['help'] = 'Hëllef'; $labels['about'] = 'Iwwert'; $labels['license'] = 'Lizenz'; - ?> diff --git a/plugins/help/localization/lv_LV.inc b/plugins/help/localization/lv_LV.inc new file mode 100644 index 000000000..c3b15f0bc --- /dev/null +++ b/plugins/help/localization/lv_LV.inc @@ -0,0 +1,21 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +$labels['help'] = 'Palīdzība'; +$labels['about'] = 'Par'; +$labels['license'] = 'Licence'; +?> diff --git a/plugins/help/localization/ml_IN.inc b/plugins/help/localization/ml_IN.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/ml_IN.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/mn_MN.inc b/plugins/help/localization/mn_MN.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/mn_MN.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/ms_MY.inc b/plugins/help/localization/ms_MY.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/ms_MY.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/my_MM.inc b/plugins/help/localization/my_MM.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/my_MM.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/nl_BE.inc b/plugins/help/localization/nl_BE.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/nl_BE.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/nqo.inc b/plugins/help/localization/nqo.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/nqo.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/om.inc b/plugins/help/localization/om.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/om.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/ro_RO.inc b/plugins/help/localization/ro_RO.inc new file mode 100644 index 000000000..1706d0cea --- /dev/null +++ b/plugins/help/localization/ro_RO.inc @@ -0,0 +1,21 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +$labels['help'] = 'Ajutor'; +$labels['about'] = 'Despre'; +$labels['license'] = 'Licența'; +?> diff --git a/plugins/help/localization/te_IN.inc b/plugins/help/localization/te_IN.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/te_IN.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/th_TH.inc b/plugins/help/localization/th_TH.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/th_TH.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/ti.inc b/plugins/help/localization/ti.inc new file mode 100644 index 000000000..5eccd5075 --- /dev/null +++ b/plugins/help/localization/ti.inc @@ -0,0 +1,21 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +$labels['help'] = 'መምሃሪ'; +$labels['about'] = 'ብዛዕባ'; +$labels['license'] = 'ፍቓድ'; +?> diff --git a/plugins/help/localization/tzm.inc b/plugins/help/localization/tzm.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/tzm.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/localization/uk_UA.inc b/plugins/help/localization/uk_UA.inc new file mode 100644 index 000000000..8d2f76c3c --- /dev/null +++ b/plugins/help/localization/uk_UA.inc @@ -0,0 +1,21 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +$labels['help'] = 'Допомога'; +$labels['about'] = 'Про програму'; +$labels['license'] = 'Ліцензія'; +?> diff --git a/plugins/help/localization/ur_PK.inc b/plugins/help/localization/ur_PK.inc new file mode 100644 index 000000000..46160477e --- /dev/null +++ b/plugins/help/localization/ur_PK.inc @@ -0,0 +1,18 @@ +.inc | + | | + | Localization file of the Roundcube Webmail Help plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-help/ +*/ +?> diff --git a/plugins/help/package.xml b/plugins/help/package.xml index d39143ba1..889efd17d 100644 --- a/plugins/help/package.xml +++ b/plugins/help/package.xml @@ -5,7 +5,7 @@ http://pear.php.net/dtd/package-2.0.xsd"> help pear.roundcube.net - Online Help for Roundcube + Help for Roundcube Plugin adds a new item (Help) in taskbar. Aleksander Machniak @@ -13,10 +13,10 @@ alec@alec.pl yes - 2013-07-03 + 2012-11-11 - 1.4 - 1.4 + 1.3 + 1.2 stable @@ -31,6 +31,7 @@ + diff --git a/plugins/help/skins/classic/help.css b/plugins/help/skins/classic/help.css index c45b8f0b0..8f67f111e 100644 --- a/plugins/help/skins/classic/help.css +++ b/plugins/help/skins/classic/help.css @@ -5,23 +5,9 @@ background-image: url('help.gif'); } -.extwin #tabsbar -{ - top: 21px; - left: 20px; - right: 100px; - border-bottom: 0; -} - -.closelink { - position: absolute; - top: 20px; - right: 20px; -} - .help-box { - overflow: auto; + overflow: auto; background-color: #F2F2F2; } diff --git a/plugins/help/skins/classic/templates/help.html b/plugins/help/skins/classic/templates/help.html index 3d5b22869..2e430ecf3 100644 --- a/plugins/help/skins/classic/templates/help.html +++ b/plugins/help/skins/classic/templates/help.html @@ -7,28 +7,23 @@ - - - - - + -
- - - + + +
diff --git a/plugins/help/skins/larry/help.css b/plugins/help/skins/larry/help.css index d9af6e15e..c2e369af6 100644 --- a/plugins/help/skins/larry/help.css +++ b/plugins/help/skins/larry/help.css @@ -39,6 +39,7 @@ background: url(help.png) center -130px no-repeat; } +.iframebox.help_about, .iframebox.help_license { overflow: auto; } diff --git a/plugins/help/skins/larry/templates/help.html b/plugins/help/skins/larry/templates/help.html index bfd3f1141..39caaa62f 100644 --- a/plugins/help/skins/larry/templates/help.html +++ b/plugins/help/skins/larry/templates/help.html @@ -4,16 +4,16 @@ <roundcube:object name="pagetitle" /> - +
- - - + + +
-- cgit v1.2.3