mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Fix CS
This commit is contained in:
@@ -27,7 +27,7 @@ class Configuration extends Command
|
|||||||
{
|
{
|
||||||
$this->container['phraseanet.configuration']->compileAndWrite();
|
$this->container['phraseanet.configuration']->compileAndWrite();
|
||||||
$output->writeln("Confguration compiled.");
|
$output->writeln("Confguration compiled.");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -165,6 +165,7 @@ class TaskManager implements ControllerProviderInterface
|
|||||||
/**
|
/**
|
||||||
* todo : add a message back
|
* todo : add a message back
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return $app->redirectPath('admin_tasks_list');
|
return $app->redirectPath('admin_tasks_list');
|
||||||
}
|
}
|
||||||
})->bind('admin_tasks_task_delete');
|
})->bind('admin_tasks_task_delete');
|
||||||
|
@@ -44,7 +44,6 @@ class PhraseaRegisterForm extends AbstractType
|
|||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
||||||
$builder->add('password', 'repeated', array(
|
$builder->add('password', 'repeated', array(
|
||||||
'type' => 'password',
|
'type' => 'password',
|
||||||
'required' => true,
|
'required' => true,
|
||||||
|
@@ -86,7 +86,7 @@ class databox_status
|
|||||||
$this->status[$bit]["labeloff"] = (string) $sb['labelOff'];
|
$this->status[$bit]["labeloff"] = (string) $sb['labelOff'];
|
||||||
$this->status[$bit]["labelon"] = (string) $sb['labelOn'];
|
$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_on'][$code] = null;
|
||||||
$this->status[$bit]['labels_off'][$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;
|
$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_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"];
|
$this->status[$bit]['labels_off_i18n'][$code] = isset($this->status[$bit]['labels_off'][$code]) ? $this->status[$bit]['labels_off'][$code] : $this->status[$bit]["labeloff"];
|
||||||
}
|
}
|
||||||
|
@@ -652,4 +652,4 @@ class record_preview extends record_adapter
|
|||||||
|
|
||||||
return $this->download_popularity;
|
return $this->download_popularity;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user