Merge branch '3.5RC1' of github.com:alchemy-fr/Phraseanet into 3.5RC1

This commit is contained in:
Nicolas Le Goff
2011-12-07 18:53:16 +01:00

View File

@@ -200,7 +200,7 @@ phrasea::start();
if (isset($value['available']) && is_array($value['available']))
{
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