You are here

function theme_feeds_ui_edit_page in Feeds 7

Same name and namespace in other branches
  1. 8.2 feeds_ui/feeds_ui.admin.inc \theme_feeds_ui_edit_page()
  2. 6 feeds_ui/feeds_ui.admin.inc \theme_feeds_ui_edit_page()
  3. 7.2 feeds_ui/feeds_ui.admin.inc \theme_feeds_ui_edit_page()

Theme feeds_ui_edit_page().

1 theme call to theme_feeds_ui_edit_page()
feeds_ui_edit_page in feeds_ui/feeds_ui.admin.inc
Edit feed configuration.

File

feeds_ui/feeds_ui.admin.inc, line 685
Contains all page callbacks, forms and theming functions for Feeds administrative pages.

Code

function theme_feeds_ui_edit_page($variables) {
  $config_info = $variables['info'];
  $active_container = $variables['active'];
  drupal_add_css(drupal_get_path('module', 'feeds_ui') . '/feeds_ui.css');

  // Outer wrapper.
  $output = '<div class="feeds-settings clear-block">';

  // Build left bar.
  $output .= '<div class="left-bar">';
  foreach ($config_info as $info) {
    $output .= theme('feeds_ui_container', array(
      'container' => $info,
    ));
  }
  $output .= '</div>';

  // Build configuration space.
  $output .= '<div class="configuration">';
  $output .= '<div class="configuration-squeeze">';
  $output .= theme('feeds_ui_container', array(
    'container' => $active_container,
  ));
  $output .= '</div>';
  $output .= '</div>';
  $output .= '</div>';

  // ''<div class="feeds-settings">';
  return $output;
}