This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Seo router | |
* | |
* @author Jan Marek | |
*/ | |
class SeoRouter extends Nette\Object implements Nette\Application\IRouter | |
{ | |
private $presenter; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{gridito usersGrid} | |
{* top toolbar *} | |
{gridito.toolbar.button addUser text => "Nový uživatel", icon => "plusthick", plink => "add"} | |
{* columns *} | |
{gridito.column username text => "Uživatelské jméno", sortable => true} | |
{gridito.column name text => "Jméno", sortable => true} | |
{gridito.column mail text => "E-mail", sortable => true} | |
{gridito.column allowed text => "Aktivní", sortable => true} | |
{gridito.column created text => "Datum založení", sortable => true, dateTimeFormat => "j.n.Y"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class BaseForm extends Nette\Application\AppForm | |
{ | |
public function addDatePicker($name, $label = NULL, $cols = NULL, $maxLength = NULL) | |
{ | |
return $this[$name] = new Nette\Forms\DatePicker($label, $cols, $maxLength); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Nette Framework | |
* | |
* @copyright Copyright (c) 2004, 2010 David Grudl | |
* @license http://nettephp.com/license Nette license | |
* @link http://nettephp.com | |
* @category Nette | |
* @package Nette\Forms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Nette\Templates; | |
use Nette\Forms\Form; | |
use Nette\String; | |
/** | |
* Form macros | |
* |
NewerOlder