Issue #1539636 by StevenPatz | NROTC_Webmaster: Make seven theme pass Coder Review.
parent
14b3d70650
commit
eeddd82301
|
@ -40,8 +40,7 @@ function seven_preprocess_page(&$variables) {
|
||||||
* Overrides theme_menu_local_tasks().
|
* Overrides theme_menu_local_tasks().
|
||||||
*
|
*
|
||||||
* Returns HTML for primary and secondary local tasks.
|
* Returns HTML for primary and secondary local tasks.
|
||||||
*
|
*/
|
||||||
**/
|
|
||||||
function seven_menu_local_tasks(&$variables) {
|
function seven_menu_local_tasks(&$variables) {
|
||||||
$output = '';
|
$output = '';
|
||||||
|
|
||||||
|
@ -80,8 +79,7 @@ function seven_menu_local_tasks(&$variables) {
|
||||||
* Overrides theme_menu_local_task().
|
* Overrides theme_menu_local_task().
|
||||||
*
|
*
|
||||||
* Returns HTML for a local task.
|
* Returns HTML for a local task.
|
||||||
*
|
*/
|
||||||
**/
|
|
||||||
function seven_menu_local_task($variables) {
|
function seven_menu_local_task($variables) {
|
||||||
$link = $variables['element']['#link'];
|
$link = $variables['element']['#link'];
|
||||||
$link += array(
|
$link += array(
|
||||||
|
@ -326,7 +324,7 @@ function seven_form_node_form_alter(&$form, &$form_state) {
|
||||||
);
|
);
|
||||||
|
|
||||||
$form['advanced']['#type'] = 'container';
|
$form['advanced']['#type'] = 'container';
|
||||||
$form['meta'] = array (
|
$form['meta'] = array(
|
||||||
'#attributes' => array('class' => array('entity-meta-header')),
|
'#attributes' => array('class' => array('entity-meta-header')),
|
||||||
'#type' => 'container',
|
'#type' => 'container',
|
||||||
'#group' => 'advanced',
|
'#group' => 'advanced',
|
||||||
|
|
Loading…
Reference in New Issue