File Manager
<?php
$lang['changelog'] = '<ul>
<li>1.1 - February, 2008
<p>Added module_action_link</p>
</li>
<li>1.0 - December, 2007
<p>Initial release</p>
</li>
</ul>';
$lang['friendlyname'] = 'CGSimpleSmarty';
$lang['help'] = '<h3>Co tento modul dělá?</h3>
<p>Tento modul poskytuje několik jednoduchých pomůcek pro práci s šablonovacím systémem Smarty ve Vašich aplikacích nebo při modifikaci chování Vašich stránek.</p>
<h3>Jak tento modul použít:</h3>
<p>Po instalaci tohoto modulu můžete ve Vašich šablonách stránek, blocích obsahu a šablonách modulů začít používat nový Smarty objekt pojmenovaný <i>cgsimple</>. Tento objekt zpřistupňuje mnoho funkcí, které můžete začít používat.</p>
<h4>Dostupné funkce:</h4>
<ul>
<li><strong>module_installed</strong>($modulename,[$assign])
<p>Testuje, zda je daný modul nainstalován.</p>
<p>Arguments:
<ul>
<li>$modulename - Jméno modulu, k němuž se vztahuje kontrola.</li>
<li>[$assign] - (optional) The name of a variable to assign the results to.</li>
</ul>
<br/></p>
<p>Příklad:<br/>
<pre>{if $cgsimple->module_installed('FrontEndUsers')}Found FEU{/if}</pre>
</p>
</li>
<li><strong>module_version</strong>($modulename,[$assign])
<p>Vrátí číslo verze uritého nainstalovaného modulu</p>
<p>Arguments:
<ul>
<li>$modulename - Jméno modulu, jehož číslo verze chcete zjistit.</li>
<li>[$assign] - (optional) The name of a variable to assign the results to.</li>
</ul>
<br/></p>
<p>Příklad:<br/>
<pre>{$cgsimple->module_version('FrontEndUsers','feu_version')}We have Version {$feu_version} of FrontEndUsers</pre>
</p>
</li>
<li><strong>get_parent_alias</strong>([$alias],[$assign])
<p>Vrátí alias stránky bezprostředně rodičovské vůči zadané stránce.</p>
<p>Arguments:
<ul>
<li>[$alias] - (optional) Alias stránky, jejíž rodič bude vypsán. Pokud není uvedena žádná hodnota, bude použita současná stránka.</li>
<li>[$assign] - (optional) The name of a variable to assign the results to.</li>
</ul>
<br/></p>
<p>Příklad:<br/>
<pre>The parent page alias is {$cgsimple->get_parent_alias()}</pre>
</p>
</li>
<li><strong>get_root_alias</strong>([$alias],[$assign])
<p>Vrátí alias kořenu - rodiče zadané stránky, který je nejvýše v hierarchii .</p>
<p>Arguments:
<ul>
<li>[$alias] - (optional) Alias stránky, jejíž kořen bude vypsán. Pokud není hodnota uvedena, bude použita aktuální stránka.</li>
<li>[$assign] - (optional) The name of a variable to assign the results to.</li>
</ul>
<br/></p>
<p>Příklad:<br/>
<pre>The root parent page alias is {$cgsimple->get_root_alias()}</pre>
</p>
</li>
<li><strong>get_page_title</strong>([$alias],[$assign])
<p>Vrátí titulek uvedené stránky.</p>
<p>Arguments:
<ul>
<li>[$alias] - (optional) Alias stránky, jejíž titulek chceme vypsat. Pokud není zadána žádná hodnota, bude použita aktuální stránka.</li>
<li>[$assign] - (optional) The name of a variable to assign the results to.</li>
</ul>
<br/></p>
<p>Příklad:<br/>
<pre>The title of the current page is {$cgsimple->get_page_title()}</pre>
</p>
</li>
<li><strong>get_page_menutext</strong>([$alias],[$assign])
<p>Vrátí text, jímž je určitá stránka popsána v menu.</p>
<p>Arguments:
<ul>
<li>[$alias] - (optional) The page alias to find the title of. If no value is specified, the current page is used.</li>
<li>[$assign] - (optional) The name of a variable to assign the results to.</li>
</ul>
<br/></p>
<p>Example:<br/>
<pre>The menutext of the current page is {$cgsimple->get_page_title()}</pre>
</p>
</li>
<li><strong>has_children</strong>([$alias],[$assign])
<p>Test if the specified page has children.</p>
<p>Arguments:
<ul>
<li>[$alias] - (optional) The page alias to test. If no value is specified, the current page is used.</li>
<li>[$assign] - (optional) The name of a variable to assign the results to.</li>
</ul>
<br/></p>
<p>Example:<br/>
<pre>{$cgsimple->has_children('',$has_children)}{if $has_children}The current page has children{else}The current page has no children{/if}</pre>
</p>
</li>
<li><strong>get_page_content</strong>($alias,[$block],[$assign])
<p>Returns the text of a specific content block of another page.</p>
<p>Arguments:
<ul>
<li>$alias - The page alias to extract content from.</li>
<li>[$block] - (optional) The name of the content block in the specified page. if this variable is not specified, 'content_en' is assumed.</li>
<li>[$assign] - (optional) The name of a variable to assign the results to.</li>
</ul>
<br/></p>
<p>Example:<br/>
<pre>The title of the current page is {$cgsimple->get_page_title()}</pre>
</p>
</li>
</ul>
<h4>Other Smarty functions</h4>
<ul>
<li><strong>{module_action_link}</strong>
<p>A smarty plugin that can create a link to a module action.</p>
<p>Arguments:
<ul>
<li>module - The module to create a link to</li>
<li>action (default) - The action to call within the module</li>
<li>text - The text to put in the link</li>
<li>page - Specify the destination page</li>
<li>urlonly - Instead of generating a link, generate just the url</li>
</ul>
<br/></p>
<p>Any other arguments to the smarty plugin will be added to the URL generated.</p> <p>Example:<br/>
<pre>{module_action_link module='News' action='fesubmit' text='Submit a New News Article'}</pre></p>
</ul>';
$lang['moddescription'] = 'Calguys Simple Smarty Tools';
$lang['postinstall'] = 'Modul "CGSimpleSmarty" je nyní nainstalován';
$lang['postuninstall'] = 'Modul "CGSimpleSmarty" je odinstalován';
$lang['utmz'] = '156861353.1203024614.301.68.utmccn=(referral)|utmcsr=cmsmadesimple.org|utmcct=/|utmcmd=referral';
$lang['utma'] = '156861353.880267837.1180991669.1202648374.1203024614.301';
$lang['utmc'] = '156861353';
?>
File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com