You are here

function theme_rotating_banner_control__buttons in Rotating Banner 7

Same name and namespace in other branches
  1. 7.2 rotating_banner.module \theme_rotating_banner_control__buttons()

File

./rotating_banner.module, line 693

Code

function theme_rotating_banner_control__buttons($variables) {
  $output = '';
  $slides = $variables['slides'];
  $i = 0;
  foreach ($slides as $slide) {
    $buttons[$i] = '<a href="#">Button</a>';
  }
  $list = array(
    'items' => $buttons,
    'title' => '',
    'type' => 'ul',
    'attributes' => array(
      'class' => 'banner-buttons',
    ),
  );
  return theme_item_list($list);
}