This file contains 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
/** | |
* Live Form Validation for Nette 2.0 | |
* | |
* @author Radek Ježdík, MartyIX, David Grudl | |
*/ | |
var LiveForm = { | |
options: { | |
controlErrorClass: 'form-control-error', // CSS class for an invalid control | |
errorMessageClass: 'form-error-message', // CSS class for an error message |
This file contains 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 NetteExtras\Forms; | |
class ChangeTracker extends \Nette\Forms\HiddenField | |
{ | |
private $session; | |
private $modifiedValues; |
This file contains 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\Templating; | |
use Nette\Forms\Form; | |
use Nette\Utils\Strings as String; | |
use Nette\InvalidStateException; | |
use Nette\Object; | |
use Nette\Latte\DefaultMacros; |
This file contains 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 Kdyby\Control; | |
use Nette; | |
use Nette\String; | |
class LookoutControl extends Nette\Application\Control |
This file contains 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 Kdyby; | |
use Nette; | |
use Nette\Reflection\ClassType; | |
/** |
This file contains 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 Kdyby\Security; | |
use Nette; | |
use Kdyby; | |
/** | |
* Globální zámek pro aplikaci, vyžaduje auth handler, ideálně napojit http_authentication |
This file contains 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 Kdyby\Component; | |
use Nette; | |
use Nette\String; | |
use Nette\Web\Html; | |
use Kdyby; | |
This file contains 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
formátování <fieldset> a <legend> je opravdu vojeb. veškerá řešení, | |
která jsem našel vyžadovala přidat do kódu nějaké pomocné <div>y nebo | |
<span>y. takové řešení mi ale nevyhovuje | |
nakonec jsem dospěl k tomuto. vypadá na pixel stejně ve všech novějších | |
prohlížečích včetně IE7. v IE6 a starších (bez selektorů + a >) nefunguje | |
falešný padding |
This file contains 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 Tools; | |
use Nette\Debug; | |
use Nette\Environment; | |
use Nette\Finder; | |
/** | |
* Shows exceptions thrown in CLI mode in browser. |
OlderNewer