[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/ctools/includes/ -> wizard.theme.inc (source)

   1  <?php
   2  // $Id: wizard.theme.inc,v 1.2 2009/01/29 22:12:05 merlinofchaos Exp $
   3  
   4  /**
   5   * @file
   6   * Themable for the wizard tool.
   7   */
   8  
   9  function ctools_wizard_theme(&$theme) {
  10    $theme['ctools_wizard_trail'] = array(
  11      'arguments' => array('trail'),
  12      'file' => 'includes/wizard.theme.inc',
  13    );
  14  }
  15  
  16  /**
  17   * Themable display of the 'breadcrumb' trail to show the order of the
  18   * forms.
  19   */
  20  function theme_ctools_wizard_trail($trail) {
  21    if (!empty($trail)) {
  22      return '<div class="wizard-trail">' . implode(' ยป ', $trail) . '</div>';
  23    }
  24  }
  25  


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7