Tu môžete vidieť rozdiely medzi vybranou verziou a aktuálnou verziou danej stránky.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:systemomega-setup [2014/10/28 10:16] Roman Sališ [AlignCode] |
wiki:systemomega-setup [2015/04/20 16:18] (aktuálne) Michala Hrnková [Include Plugin] |
||
---|---|---|---|
Riadok 74: | Riadok 74: | ||
The Dokuwiki image can be seen in <imgref ref1>. | The Dokuwiki image can be seen in <imgref ref1>. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Translation Plugin ==== | ||
+ | |||
+ | [[https://www.dokuwiki.org/plugin:translation|Translation Plugin]] od Andreas Gohr | ||
+ | |||
+ | Jazykové mutácie stránok. | ||
---- | ---- | ||
Riadok 83: | Riadok 91: | ||
Funguje automaticky, nič netreba aktivovať. Ak by bolo predsa len vynútiť pôvodné správanie, potom stačí použiť tag ''file''. | Funguje automaticky, nič netreba aktivovať. Ak by bolo predsa len vynútiť pôvodné správanie, potom stačí použiť tag ''file''. | ||
+ | Použitie ''%%<file php>%%'': | ||
+ | <file php> | ||
+ | $result = array(); | ||
+ | |||
+ | |||
+ | if (empty($settings["patientMsId"])) { | ||
+ | return x2_register_result(FALSE, getErrorText("7238.09.2")); | ||
+ | } | ||
+ | </file> | ||
+ | |||
+ | To isté ale ako ''%%<code php>%%'': | ||
+ | <code php> | ||
+ | $result = array(); | ||
+ | |||
+ | |||
+ | if (empty($settings["patientMsId"])) { | ||
+ | return x2_register_result(FALSE, getErrorText("7238.09.2")); | ||
+ | } | ||
+ | </code> | ||
+ | |||
+ | Ďalšie možnosti: | ||
+ | * ''%%<code php>%%'' | ||
+ | * ''%%<code php example.php>%%'' -> bude poskytnutý download ako ''example.php'' | ||
+ | * ''%%<code php example.php space=2>%%'' -> zamení dve medzery za tabulátor, bude poskytnutý download ako ''example.php'' | ||
+ | * ''%%<code php file=example.php&space=2>%%'' -> zamení dve medzery za tabulátor, bude poskytnutý download ako ''example.php'' | ||
---- | ---- | ||
Riadok 104: | Riadok 137: | ||
---- | ---- | ||
+ | |||
+ | ==== Include Plugin ==== | ||
+ | |||
+ | This is a handy plugin with which you can include another wiki page into the current one. Just including certain sections of a page or even whole namespaces is supported, too. | ||
+ | |||
+ | ==== Condition Plugin ==== | ||
+ | |||
+ | The Syntax Plugin allows to parse a content only if a specific condition (or multiple condition) is fulfilled. Some basic tests are provided and users can add new tests just by implementing a file in the template directory. | ||