mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
Merge branch '3.5RC1' of github.com:alchemy-fr/Phraseanet into 3.5RC1
This commit is contained in:
@@ -200,7 +200,7 @@ phrasea::start();
|
|||||||
if (isset($value['available']) && is_array($value['available']))
|
if (isset($value['available']) && is_array($value['available']))
|
||||||
{
|
{
|
||||||
foreach ($value['available'] as $k => $v)
|
foreach ($value['available'] as $k => $v)
|
||||||
$input .= '<input type="checkbox" name="' . $value['name'] . '[]" ' . ($readonly ? 'readonly="readonly"' : '') . ' value="' . $k . '" ' . ( (!is_array($currentValue) || in_array($k, $currentValue)) ? 'checked="checked"' : '' ) . '/><label>'.$v.'</label><br>';
|
$input .= '<input class="checkbox" type="checkbox" name="' . $value['name'] . '[]" ' . ($readonly ? 'readonly="readonly"' : '') . ' value="' . $k . '" ' . ( (!is_array($currentValue) || in_array($k, $currentValue)) ? 'checked="checked"' : '' ) . '/><label>'.$v.'</label><br>';
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user