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/11/05 10:01] Roman Sališ [Imagereference plugin] |
wiki:systemomega-setup [2015/04/20 16:18] (aktuálne) Michala Hrnková [Include Plugin] |
||
---|---|---|---|
Riadok 91: | 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 112: | 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. | ||