Nástroje používateľa

Nástoje správy stránok


wiki:systemomega-setup

Rozdiely

Tu môžete vidieť rozdiely medzi vybranou verziou a aktuálnou verziou danej stránky.

Odkaz na tento prehľad zmien

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:systemomega-setup [2014/10/27 18:03]
Roman Sališ [Pluginy]
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 80: 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 103: 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. ​
  
wiki/systemomega-setup.1414429409.txt.gz · Posledná úprava: 2014/10/27 18:03 od Roman Sališ