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/27 17:59] Roman Sališ [Page Title Plugin] |
wiki:systemomega-setup [2015/04/20 16:18] (aktuálne) Michala Hrnková [Include Plugin] |
||
---|---|---|---|
Riadok 6: | Riadok 6: | ||
- | Pluginy, ktoré sú nainštalované mimo základnej distribúcie: | + | Pluginy, ktoré sú nainštalované mimo základnej distribúcie aj s poznámkami: |
Riadok 64: | Riadok 64: | ||
Pridávanie nadpisov obrázkov a tabuliek a možnosť robiť referencie na ne. | Pridávanie nadpisov obrázkov a tabuliek a možnosť robiť referencie na ne. | ||
+ | \\ Urobili sme podporu pre slovenskú verziu v súbore ''lib/plugins/imagereference/lang/sk/lang.php'' | ||
+ | |||
<code> | <code> | ||
- | <imgcaption labeltext|John Doe>{{:wiki:dokuwiki-128.png}}</imgcaption> | + | <imgcaption ref1|John Doe>{{:wiki:dokuwiki-128.png}}</imgcaption> |
- | The Dokuwiki image can be seen in <imgref labeltext>. | + | The Dokuwiki image can be seen in <imgref ref1>. |
</code> | </code> | ||
+ | <imgcaption ref1|John Doe>{{:wiki:dokuwiki-128.png}}</imgcaption> | ||
+ | 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 76: | Riadok 88: | ||
AlignCode Plugin od Roman Sališ | AlignCode Plugin od Roman Sališ | ||
- | Pri formátovaní tag-u ''code'' zarovná text vľavo a zobrazí kód bez zbytočných tabulátorov. Funguje automaticky, nič netreba aktivovať. Ak by bolo predsa len vynútiť pôvodné správanie, potom stačí použiť tag ''file''. | + | Pri formátovaní tag-u ''code'' zarovná text vľavo a zobrazí kód bez zbytočných tabulátorov alebo medzier. |
+ | 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 99: | 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. | ||