changed en_ettente behaviour
This commit is contained in:
@@ -13,21 +13,27 @@ $vars['theme_hook_suggestions'][] = 'field__' . $ft . '__' . $vm;
|
||||
$vars['theme_hook_suggestions'][] = 'field__' . $fn . '__' . $vm;
|
||||
$vars['theme_hook_suggestions'][] = 'field__' . $fn . '__' . $vm;
|
||||
$vars['theme_hook_suggestions'][] = 'field__' . $b . '__' . $fn . '__' . $vm;
|
||||
$vars['theme_hook_suggestions'][] = 'field__' . $b . '__' . $fn;
|
||||
|
||||
|
||||
if($fn == 'body' && $vm == 'accueil' && $b == 'thematique'){
|
||||
|
||||
if($fn == 'body' && $b == 'thematique'){
|
||||
|
||||
$vars['items'][0] = array(
|
||||
'summary' =>array(
|
||||
"#type"=>"markup",
|
||||
"#markup"=>$element['#items'][0]['safe_summary'],
|
||||
"#prefix"=>"<div class='summary'>",
|
||||
"#suffix"=>"</div>",
|
||||
),
|
||||
'value' =>array(
|
||||
)
|
||||
);
|
||||
if($vm == 'accueil' ){
|
||||
$vars['items'][0]['value'] = array(
|
||||
"#type"=>"markup",
|
||||
"#markup"=>$element['#items'][0]['safe_value'],
|
||||
"#prefix"=>"<div class='value'>",
|
||||
"#suffix"=>"</div>",
|
||||
)
|
||||
);
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user