Loading commerce_extra_panes.module +2 −2 Changes for commerce_extra_panes.module: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -71,7 +71,9 @@ function theme_commerce_extra_panes_settings_list($element) { $extra_panes = commerce_extra_panes_get_panes(); foreach ($extra_panes as $extra_pane) { $entity = entity_load_single($extra_pane->extra_type, $extra_pane->extra_id); $row = array(); $operations = array(); $row[] = array('data' => check_plain($entity->title)); $row[] = array('data' => $extra_pane->extra_type); $status = ($extra_pane->status) ? t('Enabled') : t('Disabled'); Loading @@ -97,10 +99,8 @@ function theme_commerce_extra_panes_settings_list($element) { 'href' => 'admin/commerce/config/checkout/extra/' . $extra_pane->extra_id . '/delete', 'title' => t('delete'), ); $ops = theme('links__ctools_dropbutton', array('links' => $operations, 'attributes' => array('class' => array('links', 'inline')))); $row[] = array('data' => $ops); $variables['rows'][] = $row; } Loading Loading
commerce_extra_panes.module +2 −2 Changes for commerce_extra_panes.module: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -71,7 +71,9 @@ function theme_commerce_extra_panes_settings_list($element) { $extra_panes = commerce_extra_panes_get_panes(); foreach ($extra_panes as $extra_pane) { $entity = entity_load_single($extra_pane->extra_type, $extra_pane->extra_id); $row = array(); $operations = array(); $row[] = array('data' => check_plain($entity->title)); $row[] = array('data' => $extra_pane->extra_type); $status = ($extra_pane->status) ? t('Enabled') : t('Disabled'); Loading @@ -97,10 +99,8 @@ function theme_commerce_extra_panes_settings_list($element) { 'href' => 'admin/commerce/config/checkout/extra/' . $extra_pane->extra_id . '/delete', 'title' => t('delete'), ); $ops = theme('links__ctools_dropbutton', array('links' => $operations, 'attributes' => array('class' => array('links', 'inline')))); $row[] = array('data' => $ops); $variables['rows'][] = $row; } Loading