Merge in from pre_0.1 branch
git-svn-id: file:///svn-source/pmgr/trunk/site@847 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -32,8 +32,8 @@ foreach ($fields AS $field => $config) {
|
||||
$include_after = true;
|
||||
}
|
||||
|
||||
|
||||
$column_class = array();
|
||||
if (empty($column_class))
|
||||
$column_class = array();
|
||||
if ($include_before)
|
||||
$column_class[] = 'before';
|
||||
$column_class[] = 'field';
|
||||
@@ -79,7 +79,13 @@ foreach ($fields AS $field => $config) {
|
||||
$cells[] = null;
|
||||
}
|
||||
|
||||
$name = $config['name'];
|
||||
if (empty($config['opts']['label']))
|
||||
$name = $form->label($field, $config['name'],
|
||||
empty($config['label_attributes'])
|
||||
? null : $config['label_attributes']);
|
||||
else
|
||||
$name = $config['name'];
|
||||
|
||||
if (isset($config['with_name_before']))
|
||||
$name = $config['with_name_before'] . $name;
|
||||
elseif (isset($with_name_before))
|
||||
|
||||
Reference in New Issue
Block a user