msnf-form-step-info.tpl.php in Multistep Nodeform 7
Displays information about the current form step.
Available variables:
- $step_classes_array Array with classes for info wrapper.
- $step_classes: Classes for info wrapper, separated by space.
- $show_step_title Whether to display the current step title or not.
- $step_description Description of current step.
- $title_element HTML element name of step title.
- $step_position Number of the current step.
- $step_count Number of total available steps.
1 theme call to msnf-form-step-info.tpl.php
- msnf_step_pre_render_default in ./
msnf.module - Implements msnf_step_pre_render_<format-type>. Format type: 'default'.
File
theme/msnf-form-step-info.tpl.phpView source
<?php
/**
* @file msnf-form-step-info.tpl.php
*
* Displays information about the current form step.
*
* Available variables:
* - $step_classes_array
* Array with classes for info wrapper.
* - $step_classes:
* Classes for info wrapper, separated by space.
* - $show_step_title
* Whether to display the current step title or not.
* - $step_description
* Description of current step.
* - $title_element
* HTML element name of step title.
* - $step_position
* Number of the current step.
* - $step_count
* Number of total available steps.
*/
?>
<div class="<?php
print $step_classes;
?>">
<?php
if ($show_step_title) {
?>
<<?php
print $title_element;
?>><?php
print $step_title;
?></<?php
print $title_element;
?>>
<?php
}
?>
<?php
if (drupal_strlen($step_description) > 0) {
?>
<div class="description">
<?php
print $step_description;
?>
</div>
<?php
}
?>
</div>