Changeset 26430


Ignore:
Timestamp:
Jan 4, 2014, 1:54:29 PM (7 years ago)
Author:
mistic100
Message:

slip help files + add entry in plugins list

Location:
extensions/ExtendedDescription
Files:
118 added
27 deleted
31 edited

Legend:

Unmodified
Added
Removed
  • extensions/ExtendedDescription/include/admin.inc.php

    r26424 r26430  
    11<?php
    22defined('EXTENDED_DESC_PATH') or die('Hacking attempt!');
     3
     4/**
     5 * Main help page on plugins list
     6 */
     7function extdesc_admin_menu($menu)
     8{
     9  $menu[] = array(
     10    'NAME' => 'Extended Description',
     11    'URL' => get_root_url() . 'admin.php?page=plugin-ExtendedDescription',
     12    );
     13  return $menu;
     14}
    315
    416/**
     
    4557  $add = '
    4658{combine_script id=\'core.scripts\' load=\'async\' path=\'themes/default/js/scripts.js\'}
    47 <a href="./admin/popuphelp.php?page=extended_desc" onclick="popuphelp(this.href); return false;" title="'.l10n('ExtendedDesc_help').'" style="vertical-align: middle; border: 0; margin: 0.5em;"><img src="'.$themeconf['admin_icon_dir'].'/help.png" class="button" alt="'.l10n('ExtendedDesc_help').'"></a>';
     59<a href="./admin/popuphelp.php?page=extended_desc" onclick="popuphelp(this.href); return false;" title="'.l10n('Use Extended Description tags...').'" style="vertical-align: middle; border: 0; margin: 0.5em;"><img src="'.$themeconf['admin_icon_dir'].'/help.png" class="button" alt="'.l10n('Use Extended Description tags...').'"></a>';
    4860
    4961  return str_replace($search, $search.$add, $content);
     
    5466 * Display popup content
    5567 */
    56 function  extended_desc_popup($help_content, $get)
     68function extended_desc_popup($help_content, $get)
    5769{
    5870  if ($get == 'extended_desc')
    5971  {
    60     $help_content = load_language('help.html', EXTENDED_DESC_PATH, array('return'=>true));
     72    global $template;
     73
     74    load_language('plugin.lang', EXTENDED_DESC_PATH);
     75
     76    $template->assign(array(
     77      'EXTENDED_DESC_PATH' => EXTENDED_DESC_PATH,
     78      'EXTDESC_HELP' => array(
     79        'lang' =>       load_language('help.lang.html', EXTENDED_DESC_PATH, array('return'=>true)),
     80        'extdesc' =>    load_language('help.extdesc.html', EXTENDED_DESC_PATH, array('return'=>true)),
     81        'cat_photo' =>  load_language('help.cat_photo.html', EXTENDED_DESC_PATH, array('return'=>true)),
     82        'slider' =>     load_language('help.slider.html', EXTENDED_DESC_PATH, array('return'=>true)),
     83        'hide' =>       load_language('help.hide.html', EXTENDED_DESC_PATH, array('return'=>true)),
     84        'redirect' =>   load_language('help.redirect.html', EXTENDED_DESC_PATH, array('return'=>true)),
     85        ),
     86      ));
     87
     88    $template->set_filename('extdesc', realpath(EXTENDED_DESC_PATH . 'template/admin.tpl'));
     89   
     90    $help_content = '<h2>Extended Description</h2>' . $template->parse('extdesc', true);
    6191  }
    6292  return $help_content;
  • extensions/ExtendedDescription/language/ar_SA/plugin.lang.php

    r8694 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'استخدم اضافة الوصف مع الدلائل';
     3$lang['Use Extended Description tags...'] = 'استخدم اضافة الوصف مع الدلائل';
    44$lang['This category is redirected to %s'] = 'هذا التصنيف يحول الى %s';
    55
     6$lang['Multilingual descriptions'] = 'متعدد اللغات في الوصف';
     7$lang['Extended descriptions'] = 'لوصف الموسع';
     8$lang['Insert an album or a photo'] = 'ادخل صورة او تصنيف';
     9
    610?>
  • extensions/ExtendedDescription/language/bg_BG/plugin.lang.php

    r21808 r26430  
    2222// +-----------------------------------------------------------------------+
    2323$lang['This category is redirected to %s'] = 'Този албум препраща към %s';
    24 $lang['ExtendedDesc_help'] = 'Използване Разширени описателни тагове...';
     24$lang['Use Extended Description tags...'] = 'Използване Разширени описателни тагове...';
     25
     26$lang['Multilingual descriptions'] = 'Многоезиково описание';
     27$lang['Extended descriptions'] = 'Разширени описания';
     28$lang['Insert an album or a photo'] = 'Въведете Албум или Снимка';
    2529?>
  • extensions/ExtendedDescription/language/ca_ES/plugin.lang.php

    r14583 r26430  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
    23 $lang['ExtendedDesc_help'] = 'Utilitzar etiquetes ampliant la descripció...';
     23$lang['Use Extended Description tags...'] = 'Utilitzar etiquetes ampliant la descripció...';
    2424$lang['This category is redirected to %s'] = 'Àlbum redirigit a %s';
     25
     26$lang['Multilingual descriptions'] = 'Descripcions multilingües';
     27$lang['Extended descriptions'] = 'Descripcions extenses';
     28$lang['Insert an album or a photo'] = 'Insertar un àlbum o una imatge';
    2529?>
  • extensions/ExtendedDescription/language/cs_CZ/plugin.lang.php

    r17119 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Používat elementy rozšířeného popisu...';
     3$lang['Use Extended Description tags...'] = 'Používat elementy rozšířeného popisu...';
    44$lang['This category is redirected to %s'] = 'Tato kategorie je přesměrována na %s';
    55
     6$lang['Multilingual descriptions'] = 'Vícejazyčné popisy';
     7$lang['Extended descriptions'] = 'Rozšířené popisy';
     8$lang['Insert an album or a photo'] = 'Vložení kategorie nebo fotografie';
     9
    610?>
  • extensions/ExtendedDescription/language/da_DK/plugin.lang.php

    r18010 r26430  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
    23 $lang['ExtendedDesc_help'] = 'Brug tags til udvidet beskrivelse ...';
     23$lang['Use Extended Description tags...'] = 'Brug tags til udvidet beskrivelse ...';
    2424$lang['This category is redirected to %s'] = 'Dette album er omdirigeret til %s';
     25
     26$lang['Multilingual descriptions'] = 'Flersprogede beskrivelser';
     27$lang['Extended descriptions'] = 'Udvidede beskrivelser';
     28$lang['Insert an album or a photo'] = 'Indsæt et album eller et billede';
    2529?>
  • extensions/ExtendedDescription/language/de_DE/plugin.lang.php

    r8649 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Benützen der HTML-Tags Extended Description...';
     3$lang['Use Extended Description tags...'] = 'Benützen der HTML-Tags Extended Description...';
    44$lang['This category is redirected to %s'] = 'Diese Kategorie wird nach %s weitergeleitet';
    55
     6$lang['Multilingual descriptions'] = 'Mehrsprachige Beschreibung';
     7$lang['Extended descriptions'] = 'Ausführlichere Beschreibung';
     8$lang['Insert an album or a photo'] = 'Kategorie oder Foto einfügen';
     9
    610?>
  • extensions/ExtendedDescription/language/el_GR/plugin.lang.php

    r15540 r26430  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
    23 $lang['ExtendedDesc_help'] = 'Χρησιμοποιήστε ετικέτες Εκτεταμένης Περιγραφής ...';
     23$lang['Use Extended Description tags...'] = 'Χρησιμοποιήστε ετικέτες Εκτεταμένης Περιγραφής ...';
    2424$lang['This category is redirected to %s'] = 'Αυτό το λεύκωμα ανακατευθύνεται προς %s';
     25
     26$lang['Multilingual descriptions'] = 'Πολυγλωσσικές Περιγραφές';
     27$lang['Extended descriptions'] = 'Εκτεταμένες Περιγραφές';
     28$lang['Insert an album or a photo'] = 'Εισάγετε ένα λεύκωμα ή μια φωτογραφία';
    2529?>
  • extensions/ExtendedDescription/language/en_UK/plugin.lang.php

    r11384 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Use Extended Description tags...';
     3$lang['Use Extended Description tags...'] = 'Use Extended Description tags...';
    44$lang['This category is redirected to %s'] = 'This album is redirected to %s';
     5$lang['Extended Description have been successfully installed. Now you can use all its features in most text boxes of Piwigo.'] = 'Extended Description have been successfully installed. Now you can use all its features in most text boxes of Piwigo.';
     6
     7$lang['Multilingual descriptions'] = 'Multilingual descriptions';
     8$lang['Extended descriptions'] = 'Extended descriptions';
     9$lang['Insert an album or a photo'] = 'Insert an album or a photo';
     10$lang['Hide elements'] = 'Hide elements';
     11$lang['Redirect elements'] = 'Redirect elements';
    512
    613?>
  • extensions/ExtendedDescription/language/es_ES/plugin.lang.php

    r9307 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Utilizar las balizas de...';
     3$lang['Use Extended Description tags...'] = 'Utilizar las balizas de...';
    44$lang['This category is redirected to %s'] = 'Esta categoría está redirigida a %s';
    55
     6$lang['Multilingual descriptions'] = 'Descripciones multilingües';
     7$lang['Extended descriptions'] = 'Descripciones extensas';
     8$lang['Insert an album or a photo'] = 'Insertar una categoría o una imagen';
     9
    610?>
  • extensions/ExtendedDescription/language/et_EE/plugin.lang.php

    r24338 r26430  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
    23 $lang['ExtendedDesc_help'] = 'Kasuta Laiendatud Kirjeldused tagi..';
     23$lang['Use Extended Description tags...'] = 'Kasuta Laiendatud Kirjeldused tagi..';
    2424$lang['This category is redirected to %s'] = 'See album on ümber suunatud %s';
    2525?>
  • extensions/ExtendedDescription/language/fr_FR/plugin.lang.php

    r11384 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Utiliser les balises d\'Extended Description...';
     3$lang['Use Extended Description tags...'] = 'Utiliser les balises d\'Extended Description...';
    44$lang['This category is redirected to %s'] = 'Cet album est redirigé vers %s';
     5$lang['Extended Description have been successfully installed. Now you can use all its features in most text boxes of Piwigo.'] = 'ExtendedDescription a bien été installé. Vous pouvez dès maintenant utiliser toutes les options dans la plupart des boites de texte de Piwigo.';
     6
     7$lang['Multilingual descriptions'] = 'Descriptions multilingues';
     8$lang['Extended descriptions'] = 'Descriptions étendues';
     9$lang['Insert an album or a photo'] = 'Insérer un album ou une photo';
     10$lang['Hide elements'] = 'Masquer un élément';
     11$lang['Redirect elements'] = 'Rediriger un élément';
    512
    613?>
  • extensions/ExtendedDescription/language/hu_HU/plugin.lang.php

    r11867 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Bővített leírás címkék használatával...';
     3$lang['Use Extended Description tags...'] = 'Bővített leírás címkék használatával...';
    44$lang['This category is redirected to %s'] = 'Ez a kategória átirányítva %s';
    55
     6$lang['Multilingual descriptions'] = 'Használat más nyelveken';
     7$lang['Extended descriptions'] = 'További lehetőségek';
     8$lang['Insert an album or a photo'] = 'Kategória vagy kép beszúrása';
     9
    610?>
  • extensions/ExtendedDescription/language/it_IT/plugin.lang.php

    r13343 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Usare i tag di Extended Description...';
     3$lang['Use Extended Description tags...'] = 'Usare i tag di Extended Description...';
    44$lang['This category is redirected to %s'] = 'Quest\'album è reindirizzato verso %s';
    55
     6$lang['Multilingual descriptions'] = 'Descrizione multilingue';
     7$lang['Extended descriptions'] = 'Descrizione estesa';
     8$lang['Insert an album or a photo'] = 'Inserire un album o una foto';
     9
    610?>
  • extensions/ExtendedDescription/language/lv_LV/plugin.lang.php

    r8342 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Lietot Paplašinātā Apraksta iezīmes...';
     3$lang['Use Extended Description tags...'] = 'Lietot Paplašinātā Apraksta iezīmes...';
    44$lang['This category is redirected to %s'] = 'Šī kategorija ir novirzīta uz %s';
    55
     6$lang['Multilingual descriptions'] = 'Apraksti vairākās valodās';
     7$lang['Extended descriptions'] = 'Paplašinātie apraksti';
     8$lang['Insert an album or a photo'] = 'Ievieto kategoriju vai attēlu';
     9
    610?>
  • extensions/ExtendedDescription/language/nb_NO/plugin.lang.php

    r8876 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Bruk utvidede beskrivelse tagger...';
     3$lang['Use Extended Description tags...'] = 'Bruk utvidede beskrivelse tagger...';
    44$lang['This category is redirected to %s'] = 'Dette albumet er videresendt til %s';
    55
     6$lang['Multilingual descriptions'] = 'Flerspråkelig beskrivelse';
     7$lang['Extended descriptions'] = 'Utvidet beskrivelse';
     8$lang['Insert an album or a photo'] = 'Sett inn et album eller et bilde';
     9
    610?>
  • extensions/ExtendedDescription/language/nl_NL/plugin.lang.php

    r14042 r26430  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
    23 $lang['ExtendedDesc_help'] = 'Gebruik uitgebreide omschrijvings labels..';
     23$lang['Use Extended Description tags...'] = 'Gebruik uitgebreide omschrijvings labels..';
    2424$lang['This category is redirected to %s'] = 'Dit album wordt doorgestuurd naar %s';
     25
     26$lang['Multilingual descriptions'] = 'Multilanguage beschrijvingen';
     27$lang['Extended descriptions'] = 'Uitgebreide omschrijvingen';
     28$lang['Insert an album or a photo'] = 'Invoegen van foto of album';
    2529?>
  • extensions/ExtendedDescription/language/nn_NO/plugin.lang.php

    r21940 r26430  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
    23 $lang['ExtendedDesc_help'] = 'Bruk Extended Description stikkord...';
     23$lang['Use Extended Description tags...'] = 'Bruk Extended Description stikkord...';
    2424$lang['This category is redirected to %s'] = 'Dette albumet er vidaresendt til %s';
     25
     26$lang['Multilingual descriptions'] = 'Fleirspråklege skildringar';
     27$lang['Extended descriptions'] = 'Utvida skildringar';
    2528?>
  • extensions/ExtendedDescription/language/pl_PL/plugin.lang.php

    r11403 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Użyj tagów Rozszerzonych Opisów';
     3$lang['Use Extended Description tags...'] = 'Użyj tagów Rozszerzonych Opisów';
    44$lang['This category is redirected to %s'] = 'Ten album jest przekierowany do %s';
    55
     6$lang['Multilingual descriptions'] = 'Multi-językowe opisy';
     7$lang['Extended descriptions'] = 'Rozszerzony opis';
     8$lang['Insert an album or a photo'] = 'Wstawianie albumu lub zdjęcia';
     9
    610?>
  • extensions/ExtendedDescription/language/pt_BR/plugin.lang.php

    r20363 r26430  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
    23 $lang['ExtendedDesc_help'] = 'Use marcas Descrição Extendida...';
     23$lang['Use Extended Description tags...'] = 'Use marcas Descrição Extendida...';
    2424$lang['This category is redirected to %s'] = 'Este álbum foi redirecionado para %s';
     25
     26$lang['Multilingual descriptions'] = 'Descrições em vários idiomas';
     27$lang['Extended descriptions'] = 'Descrições Extendidas';
     28$lang['Insert an album or a photo'] = 'Insira um álbum ou uma foto';
    2529?>
  • extensions/ExtendedDescription/language/pt_PT/plugin.lang.php

    r14052 r26430  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
    23 $lang['ExtendedDesc_help'] = 'Usar etiquetas de Descrição Extendida...';
     23$lang['Use Extended Description tags...'] = 'Usar etiquetas de Descrição Extendida...';
    2424$lang['This category is redirected to %s'] = 'Este álbum redirecciona para %s';
     25
     26$lang['Multilingual descriptions'] = 'Descrições multi-idioma';
     27$lang['Extended descriptions'] = 'Descrições extensas';
     28$lang['Insert an album or a photo'] = 'Inserir um album ou uma foto';
    2529?>
  • extensions/ExtendedDescription/language/ru_RU/plugin.lang.php

    r14147 r26430  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
    23 $lang['ExtendedDesc_help'] = 'Используйте расширенное описание тегов';
     23$lang['Use Extended Description tags...'] = 'Используйте расширенное описание тегов';
    2424$lang['This category is redirected to %s'] = 'Этот альбом будет перенаправлен на %s';
     25
     26$lang['Multilingual descriptions'] = 'Мультиязычные описания';
     27$lang['Extended descriptions'] = 'Расширенное описание';
     28$lang['Insert an album or a photo'] = 'Вставка альбома либо изображения';
    2529?>
  • extensions/ExtendedDescription/language/sk_SK/plugin.lang.php

    r10560 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Použiť rozšírený popis kľúčových slov...';
     3$lang['Use Extended Description tags...'] = 'Použiť rozšírený popis kľúčových slov...';
    44$lang['This category is redirected to %s'] = 'Táto kategória je presmerovaná na %s';
    55
     6$lang['Multilingual descriptions'] = 'Viacjazyčné popisy';
     7$lang['Extended descriptions'] = 'Rozšírené popisy';
     8$lang['Insert an album or a photo'] = 'Vložiť kategóriu alebo fotografiu';
     9
    610?>
  • extensions/ExtendedDescription/language/sv_SE/plugin.lang.php

    r18771 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Använd Taggar med Utökad Beskrivning...';
     3$lang['Use Extended Description tags...'] = 'Använd Taggar med Utökad Beskrivning...';
    44$lang['This category is redirected to %s'] = 'Albumet är omdirigerat till to %s';
    55
     6$lang['Multilingual descriptions'] = 'Flerspråkiga beskrivningar';
     7$lang['Extended descriptions'] = 'Utökade beskrivningar';
     8$lang['Insert an album or a photo'] = 'Infoga en kategori eller ett foto';
     9
    610?>
  • extensions/ExtendedDescription/language/th_TH/plugin.lang.php

    r18195 r26430  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
    23 $lang['ExtendedDesc_help'] = 'ใช้การอธิบายเพิ่มเติมสำหรับแท็ก';
     23$lang['Use Extended Description tags...'] = 'ใช้การอธิบายเพิ่มเติมสำหรับแท็ก';
    2424$lang['This category is redirected to %s'] = 'อัลบั้มนี้จะถูกนำไปยัง %s';
    2525?>
  • extensions/ExtendedDescription/language/tr_TR/plugin.lang.php

    r12836 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Genişletilmiş Açıklama etiketlerini kullanın...';
     3$lang['Use Extended Description tags...'] = 'Genişletilmiş Açıklama etiketlerini kullanın...';
    44$lang['This category is redirected to %s'] = 'Bu albüm %s\'e yönlendirilir';
    55
     6$lang['Multilingual descriptions'] = 'Çoklu Dil açıklamaları';
     7$lang['Extended descriptions'] = 'Genişletilmiş açıklamalar';
     8$lang['Insert an album or a photo'] = 'Bir albüm veya fotoğraf yerleştirme';
     9
    610?>
  • extensions/ExtendedDescription/language/uk_UA/plugin.lang.php

    r13571 r26430  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
    23 $lang['ExtendedDesc_help'] = 'Використовуйте розширений опис теґів';
     23$lang['Use Extended Description tags...'] = 'Використовуйте розширений опис теґів';
    2424$lang['This category is redirected to %s'] = 'Цей альбом буде перенаправлено в %s';
     25
     26$lang['Multilingual descriptions'] = 'Багатомовні описи';
     27$lang['Extended descriptions'] = 'Розширені описи';
     28$lang['Insert an album or a photo'] = 'Вставте альбом або зображення';
    2529?>
  • extensions/ExtendedDescription/language/vi_VN/plugin.lang.php

    r10658 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = 'Sử dụng Thẻ mô tả mở rộng...';
     3$lang['Use Extended Description tags...'] = 'Sử dụng Thẻ mô tả mở rộng...';
    44$lang['This category is redirected to %s'] = 'Đề mục này được điều hướng đến đề mục %s';
    55
     6$lang['Multilingual descriptions'] = 'Mô tả đa ngôn ngữ';
     7$lang['Extended descriptions'] = '>Mô tả mở rộng';
     8$lang['Insert an album or a photo'] = 'Chèn thêm một đề mục hoặc một tấm ảnh';
     9
    610?>
  • extensions/ExtendedDescription/language/zh_CN/plugin.lang.php

    r8314 r26430  
    11<?php
    22
    3 $lang['ExtendedDesc_help'] = '使用扩展描述标签...';
    4 /*TODO*/$lang['This category is redirected to %s'] = 'This category is redirected to %s';
     3$lang['Use Extended Description tags...'] = '使用扩展描述标签...';
     4
     5$lang['Multilingual descriptions'] = '多语言描述';
     6$lang['Extended descriptions'] = '扩展描述';
     7$lang['Insert an album or a photo'] = '插入一个分类或相片';
    58
    69?>
  • extensions/ExtendedDescription/language/zh_TW/plugin.lang.php

    r22547 r26430  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
    23 $lang['ExtendedDesc_help'] = '使用擴展說明標籤...';
     23$lang['Use Extended Description tags...'] = '使用擴展說明標籤...';
    2424$lang['This category is redirected to %s'] = '此相簿中將被重定向到 %s';
     25
     26$lang['Multilingual descriptions'] = '';
     27$lang['Extended descriptions'] = '';
     28$lang['Insert an album or a photo'] = '';
     29$lang['Hide elements'] = '';
     30$lang['Redirect elements'] = '';
    2531?>
  • extensions/ExtendedDescription/main.inc.php

    r26424 r26430  
    3737  add_event_handler('get_popup_help_content', 'extended_desc_popup', EVENT_HANDLER_PRIORITY_NEUTRAL, 2);
    3838  add_event_handler('loc_begin_admin_page', 'add_ed_help');
     39  add_event_handler('get_admin_plugin_menu_links', 'extdesc_admin_menu');
    3940}
    4041
Note: See TracChangeset for help on using the changeset viewer.