This commit is contained in:
Romain Neutron
2013-06-17 15:09:23 +02:00
parent f6d975764e
commit c061191334
5 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ class Configuration extends Command
{
$this->container['phraseanet.configuration']->compileAndWrite();
$output->writeln("Confguration compiled.");
return 0;
}
}

View File

@@ -165,6 +165,7 @@ class TaskManager implements ControllerProviderInterface
/**
* todo : add a message back
*/
return $app->redirectPath('admin_tasks_list');
}
})->bind('admin_tasks_task_delete');

View File

@@ -44,7 +44,6 @@ class PhraseaRegisterForm extends AbstractType
),
));
$builder->add('password', 'repeated', array(
'type' => 'password',
'required' => true,

View File

@@ -86,7 +86,7 @@ class databox_status
$this->status[$bit]["labeloff"] = (string) $sb['labelOff'];
$this->status[$bit]["labelon"] = (string) $sb['labelOn'];
foreach ($app['locales.I18n.available'] as $code => $language){
foreach ($app['locales.I18n.available'] as $code => $language) {
$this->status[$bit]['labels_on'][$code] = null;
$this->status[$bit]['labels_off'][$code] = null;
}
@@ -95,7 +95,7 @@ class databox_status
$this->status[$bit]['labels_'.$label['switch']][(string) $label['code']] = (string) $label;
}
foreach ($app['locales.I18n.available'] as $code => $language){
foreach ($app['locales.I18n.available'] as $code => $language) {
$this->status[$bit]['labels_on_i18n'][$code] = isset($this->status[$bit]['labels_on'][$code]) ? $this->status[$bit]['labels_on'][$code] : $this->status[$bit]["labelon"];
$this->status[$bit]['labels_off_i18n'][$code] = isset($this->status[$bit]['labels_off'][$code]) ? $this->status[$bit]['labels_off'][$code] : $this->status[$bit]["labeloff"];
}

View File

@@ -652,4 +652,4 @@ class record_preview extends record_adapter
return $this->download_popularity;
}
}
}