Ejemplo n.º 1
0
function city_magazine_custom_node_form($form)
{
    // Remove 'Log message' text area
    $form['revision_information']['#access'] = user_access('view revisions');
    return theme_node_form($form);
}
Ejemplo n.º 2
0
function bbcom_theme_node_form($form)
{
    if ($form['#node']->type == LingwoEntry::$settings->content_type) {
        $form['title']['#inline'] = TRUE;
        $form['language']['#inline'] = TRUE;
        $form['pos']['#inline'] = TRUE;
    }
    return theme_node_form($form);
}