plugin:new_page_dialog
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:new_page_dialog [2011-01-23 21:11] – 93.127.113.117 | plugin:new_page_dialog [2023-09-01 16:23] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== new page dialog | + | ====== new page dialog |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : pierre.spring@liip.ch | email : pierre.spring@liip.ch | ||
type : action | type : action | ||
- | lastupdate : 2008-07-11 | + | lastupdate : 2011-04-04 |
compatible : 2008-05-05 | compatible : 2008-05-05 | ||
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
- | tags : button, form, create | + | tags : button, form, create, !obsolete |
- | downloadurl: | + | downloadurl: |
+ | sourcerepo : https:// | ||
+ | bugtracker : https:// | ||
+ | |||
+ | securityissue: | ||
---- | ---- | ||
+ | |||
+ | **:!: Deprecated :!:** - For usage with current versions of DokuWiki, please use the new [[plugin: | ||
===== Installation ===== | ===== Installation ===== | ||
+ | |||
==== Install via SVN ==== | ==== Install via SVN ==== | ||
go into the ''/ | go into the ''/ | ||
Line 23: | Line 30: | ||
</ | </ | ||
- | ==== Download Zip ==== | + | ==== Download Zip/Tar ==== |
- | The zip can be found < | + | |
- | **Alternate Download:** [[http://src.chimeric.de/ | + | |
+ | * **Tar:** https:// | ||
==== Add Button to Template ==== | ==== Add Button to Template ==== | ||
- | Decide where you want to insert the " | + | Decide where you want to insert the " |
<code php> | <code php> | ||
- | if (!plugin_isdisabled(' | + | if (!plugin_isdisabled(' |
$npd-> | $npd-> | ||
} | } | ||
Line 40: | Line 47: | ||
<code html> | <code html> | ||
<div class=" | <div class=" | ||
- | <?php if (!plugin_isdisabled(' | + | <?php if (!plugin_isdisabled(' |
<?php tpl_button(' | <?php tpl_button(' | ||
<?php tpl_button(' | <?php tpl_button(' | ||
Line 54: | Line 61: | ||
===== Changelog ===== | ===== Changelog ===== | ||
+ | |||
* 2008-07-11 **Version 0.4:** | * 2008-07-11 **Version 0.4:** | ||
* fixed compatibility with DokuWiki 2008-05-05 | * fixed compatibility with DokuWiki 2008-05-05 | ||
Line 64: | Line 72: | ||
* 2007-02-17 **Version 0.1: | * 2007-02-17 **Version 0.1: | ||
* initial upload | * initial upload | ||
+ | |||
+ | ===== Demo ===== | ||
+ | |||
+ | A demo of this plugin can be seen at the [[http:// | ||
+ | |||
+ | |||
+ | ===== Screenshots ===== | ||
+ | |||
+ | {{ http:// | ||
+ | |||
+ | {{ http:// | ||
+ | |||
+ | {{ http:// | ||
+ | |||
+ | |||
+ | ===== Localization ===== | ||
+ | |||
+ | Please feel free too add your localizations here, I'll add them into the plugin ASAP. | ||
+ | |||
+ | |||
===== Known Issues ===== | ===== Known Issues ===== | ||
+ | |||
Please report bugs here: | Please report bugs here: | ||
* Since I updated DokuWiki to the latest release 2009-12-25 " | * Since I updated DokuWiki to the latest release 2009-12-25 " | ||
Line 70: | Line 99: | ||
* I've to the same problem in my DokuWiki and was unable to find a solution yet. | * I've to the same problem in my DokuWiki and was unable to find a solution yet. | ||
* me too here | * me too here | ||
+ | * [2012] me too :-( | ||
* It seems this plugin is not compatible with the indexmenu plugin as it attaches events to the standard index menu tree of DokuWiki and not the indexmenu tree. If there could be any chance to disable the indexmenu plugin in the 'new page' window shown by npd then the problem would be solved, using the standard index tree for the 'new page' window and the indexmenu tree for the rest of the wiki. | * It seems this plugin is not compatible with the indexmenu plugin as it attaches events to the standard index menu tree of DokuWiki and not the indexmenu tree. If there could be any chance to disable the indexmenu plugin in the 'new page' window shown by npd then the problem would be solved, using the standard index tree for the 'new page' window and the indexmenu tree for the rest of the wiki. | ||
* The issue happens only when the [[.: | * The issue happens only when the [[.: | ||
Line 152: | Line 182: | ||
</ | </ | ||
- | > I get rid from default button in so manner <code php> | + | > I get rid from default button in so manner. <code php> |
. . . . . . | . . . . . . | ||
<div class=" | <div class=" | ||
Line 159: | Line 189: | ||
if( $INFO[' | if( $INFO[' | ||
- | if (!plugin_isdisabled(' | + | if (!plugin_isdisabled(' |
$npd-> | $npd-> | ||
} | } | ||
Line 166: | Line 196: | ||
</ | </ | ||
| | ||
- | </ | + | </ |
- | + | ||
- | ===== Demo ===== | + | |
- | A demo of this plugin can be seen at the [[http://fckw.demo.liip.ch/ | + | |
- | + | ||
- | ===== screen shots ===== | + | |
- | + | ||
- | {{ http:// | + | |
- | + | ||
- | {{ http:// | + | |
- | + | ||
- | {{ http:// | + | |
- | + | ||
- | + | ||
- | ===== Localization ===== | + | |
- | + | ||
- | For now, localization only exists for English, | + | |
- | + | ||
- | There are two files for localization. | + | |
- | + | ||
- | The '' | + | |
- | <code php> | + | |
- | /** | + | |
- | * English language file for the "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | </ | + | |
- | + | ||
- | The '' | + | |
- | < | + | |
- | Please enter the folder Name.\\ | + | |
- | Note that a folder will **NOT** be created before a page\\ | + | |
- | within the folder is **SAVED**. | + | |
- | </ | + | |
- | + | ||
- | ==== Polish translation ==== | + | |
- | Plik '' | + | |
- | <code php> | + | |
- | /** | + | |
- | * Polish language file for the "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | </ | + | |
- | + | ||
- | Plik '' | + | |
- | < | + | |
- | Podaj nazwę katalogu.\\ | + | |
- | Katalog **NIE** zostanie utworzony dopóki strona\\ | + | |
- | znajdująca się w nim nie zostanie **ZAPISANA**. | + | |
- | </ | + | |
- | ==== German translation ==== | + | |
- | + | ||
- | '' | + | |
- | <code php> | + | |
- | /** | + | |
- | * German language file for the "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | </ | + | |
- | + | ||
- | '' | + | |
- | < | + | |
- | Bitte geben Sie den Ordnernamen ein.\\ | + | |
- | Beachten Sie, dass ein Ordner **NICHT** angelegt wird,\\ | + | |
- | bevor eine Seite in dem Ordner **GESPEICHERT** ist. | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==== Dutch translation ==== | + | |
- | + | ||
- | '' | + | |
- | <code php> | + | |
- | /** | + | |
- | * dutch language file for the "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | </ | + | |
- | + | ||
- | '' | + | |
- | < | + | |
- | Geef de naam van de map.\\ | + | |
- | NB!: Denk eraan dat een map **NIET** aangemaakt wordt voordat de pagina\\ | + | |
- | binnenin die map is **OPGESLAGEN**.\\ | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==== Korean translation ==== | + | |
- | + | ||
- | '' | + | |
- | <code php> | + | |
- | <?php | + | |
- | /** | + | |
- | * Korean language file for the "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | ?> | + | |
- | + | ||
- | </ | + | |
- | + | ||
- | '' | + | |
- | < | + | |
- | 폴더 이름을 입력하십시요.\\ | + | |
- | 참고 - 새 폴더는 폴더 내의 파일이 **저장**될 때까지\\ | + | |
- | 생성되지 **않습니다.** | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==== Norwegian translation ==== | + | |
- | + | ||
- | '' | + | |
- | <code php> | + | |
- | /** | + | |
- | * norsk språkfil for plugin "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | </ | + | |
- | + | ||
- | Fila '' | + | |
- | < | + | |
- | Før inn navnet på mappa.\\ | + | |
- | Merk at mappe **IKKE** opprettes før det\\ | + | |
- | **LAGRES** en side i vedkommende mappe. | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==== Italian translation ==== | + | |
- | + | ||
- | '' | + | |
- | <code php> | + | |
- | /** | + | |
- | * italian language file for the "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | </ | + | |
- | + | ||
- | Fila '' | + | |
- | < | + | |
- | Prego inserire il mome della cartella.\\ | + | |
- | Nota: La cartella viene creata solamente quando contiene\\ | + | |
- | ALMENO UNA pagina. | + | |
- | </ | + | |
- | + | ||
- | ==== Spanish translation ==== | + | |
- | lang.php | + | |
- | <code php> | + | |
- | <?php | + | |
- | /** | + | |
- | * Spanish language file for the "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | + | ||
- | //Setup VIM: ex: et ts=4 enc=utf-8 : | + | |
- | </ | + | |
- | + | ||
- | Archivo dialog_folder_name.txt | + | |
- | < | + | |
- | Por favor, introduzca el nombre de la carpeta.\\ | + | |
- | Atención: **NO** se creará una carpeta hasta que se **GUARDE**\\ | + | |
- | una página dentro de esa carpeta | + | |
- | </ | + | |
- | + | ||
- | ==== Russian translation ==== | + | |
- | lang.php | + | |
- | <code php> | + | |
- | <?php | + | |
- | /** | + | |
- | * Russian language file for the "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | + | ||
- | //Setup VIM: ex: et ts=4 enc=utf-8 : | + | |
- | </ | + | |
- | + | ||
- | dialog_folder_name.txt | + | |
- | < | + | |
- | Введите название пространства имён.\\ | + | |
- | Заметьте, | + | |
- | пока страница внутри него не будет **СОХРАНЕНА**. | + | |
- | </ | + | |
- | ==== Czech translation ==== | + | |
- | lang.php | + | |
- | <code php> | + | |
- | /** | + | |
- | * Česká verze pluginu "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | </ | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | lang.php | + | |
- | <code php> | + | |
- | <?php | + | |
- | /** | + | |
- | * český jazykový soubor pro plugin "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | </ | + | |
- | + | ||
- | dialog_folder_name.txt | + | |
- | < | + | |
- | Prosím zadejte Název složky.\\ | + | |
- | Pamatujte, že složka **NEBUDE** vytvořena, dokud nebude\\ | + | |
- | v ní vytvářená stránka **ULOŽENA**. | + | |
- | </ | + | |
- | + | ||
- | ==== Japanese translation ==== | + | |
- | + | ||
- | '' | + | |
- | <code php> | + | |
- | /** | + | |
- | * Japanese language file for the "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | </ | + | |
- | + | ||
- | '' | + | |
- | < | + | |
- | フォルダ名を入力してください。\\ | + | |
- | \\ | + | |
- | 注意:フォルダーの中のページが保存されるまで、\\ | + | |
- | フォルダーは作成されません。\\ | + | |
- | </ | + | |
- | + | ||
- | ==== Slovenian translation ==== | + | |
- | + | ||
- | '' | + | |
- | <code php> | + | |
- | /** | + | |
- | * Slovenian language file for the "New Page Dialog" | + | |
- | * | + | |
- | * @license | + | |
- | * @author | + | |
- | */ | + | |
- | + | ||
- | + | ||
- | /* buttons */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* dialogs */ | + | |
- | $lang[' | + | |
- | $lang[' | + | |
- | + | ||
- | /* misc */ | + | |
- | $lang[' | + | |
- | </ | + | |
- | + | ||
- | '' | + | |
- | < | + | |
- | Prosim, vnesite ime mape.\\ | + | |
- | Opomba: mapa **NE** bo ustvarjena, dokler ni\\ | + | |
- | stran iz le-te **SHRANJENA**. | + | |
- | </ | + | |
plugin/new_page_dialog.1295813519.txt.gz · Last modified: 2011-01-23 21:11 by 93.127.113.117