From 5be1ebfe1f9d03813b30c3f3239ffb53e1da8e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dahlstr=C3=B8m?= Date: Sun, 28 Nov 2010 17:50:01 +0100 Subject: [PATCH 1/2] Changed broken call to Symfony\Bundle\FrameworkBundle\Console\Application::addCommand() to call Symfony\Bundle\FrameworkBundle\Console\Application::add() instead. --- src/Symfony/Component/HttpKernel/Bundle/Bundle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpKernel/Bundle/Bundle.php b/src/Symfony/Component/HttpKernel/Bundle/Bundle.php index 537364684c65a..2640ef0419ac7 100644 --- a/src/Symfony/Component/HttpKernel/Bundle/Bundle.php +++ b/src/Symfony/Component/HttpKernel/Bundle/Bundle.php @@ -152,7 +152,7 @@ public function registerCommands(Application $application) foreach ($finder as $file) { $r = new \ReflectionClass($prefix.strtr($file->getPath(), array($dir => '', '/' => '\\')).'\\'.basename($file, '.php')); if ($r->isSubclassOf('Symfony\\Component\\Console\\Command\\Command') && !$r->isAbstract()) { - $application->addCommand($r->newInstance()); + $application->add($r->newInstance()); } } } From 53cd6bf02d0ceb9cf559ddcead32404178a570f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dahlstr=C3=B8m?= Date: Sun, 5 Dec 2010 22:36:19 +0100 Subject: [PATCH 2/2] Added renderer for password fields. --- .../Resources/views/Form/password_field.php | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/password_field.php diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/password_field.php b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/password_field.php new file mode 100644 index 0000000000000..b583f6a0574d8 --- /dev/null +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/password_field.php @@ -0,0 +1,8 @@ +isDisabled()): ?>disabled="disabled" + getMaxLength() > 0) $attr['maxlength'] = $field->getMaxLength() ?> + attributes($attr) ?> +/> \ No newline at end of file pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy