Merge branch 'master' into loops
Conflicts: core/lib/Thelia/Admin/Controller/BaseAdminController.php core/lib/Thelia/Core/Template/Loop/Category.php core/lib/Thelia/Model/Admin.php core/lib/Thelia/Model/Customer.php templates/smarty-sample/index.html
This commit is contained in:
@@ -48,7 +48,7 @@ class BaseAdminController extends ContainerAware
|
||||
*/
|
||||
public function render($templateName, $args = array())
|
||||
{
|
||||
$args = array_merge($args, array('lang' => 'fr')); // FIXME
|
||||
$args = array_merge($args, array('lang' => 'fr'));
|
||||
|
||||
$response = new Response();
|
||||
|
||||
@@ -57,7 +57,7 @@ class BaseAdminController extends ContainerAware
|
||||
|
||||
public function renderRaw($templateName, $args = array())
|
||||
{
|
||||
$args = array_merge($args, array('lang' => 'fr')); // FIXME
|
||||
$args = array_merge($args, array('lang' => 'fr'));
|
||||
|
||||
return $this->getParser()->render($templateName, $args);
|
||||
}
|
||||
@@ -79,17 +79,4 @@ class BaseAdminController extends ContainerAware
|
||||
|
||||
return $parser;
|
||||
}
|
||||
|
||||
public function getFormFactory()
|
||||
{
|
||||
return BaseForm::getFormFactory($this->getRequest(), ConfigQuery::read("form.secret.admin", md5(__DIR__)));
|
||||
}
|
||||
|
||||
public function getFormBuilder()
|
||||
{
|
||||
return $this->getFormFactory()->createBuilder("form");
|
||||
}
|
||||
|
||||
protected function isGranted() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user