Example #1
0
 /**
  * Tests the endTab method
  *
  * @return  void
  *
  * @since   3.1
  */
 public function testEndTab()
 {
     $this->assertEquals("\n</div>", JHtmlBootstrap::endTabSet());
 }
Example #2
0
	<form action="<?php 
echo JUri::getInstance();
?>
"  method="post" name="adminForm" id="adminForm"
		class="form-validate" enctype="multipart/form-data">

		<?php 
echo JHtmlBootstrap::startTabSet('{{controller.item.name.lower}}EditTab', array('active' => 'tab_basic'));
?>

			<?php 
foreach ($tabs as $tab) {
    echo $this->loadTemplate($tab, array('tab' => $tab));
}
?>

		<?php 
echo JHtmlBootstrap::endTabSet();
?>

		<!-- Hidden Inputs -->
		<div id="hidden-inputs">
			<input type="hidden" name="option" value="{{extension.element.lower}}" />
			<input type="hidden" name="task" value="" />
			<?php 
echo JHtml::_('form.token');
?>
		</div>
	</form>
</div>
Example #3
0
									<span><?php 
            echo $button['text'];
            ?>
</span>
								</div>
							</a>
						</div>
					</div>
				<?php 
        }
        ?>
				<div class="clearfix"></div>
			</div>
			<div class="clr"></div>
			<?php 
        echo $tabs ? JHtmlBootstrap::endTab() : null;
        ?>

		<?php 
    }
    ?>

		<?php 
    echo $tabs ? JHtmlBootstrap::endTabSet() : null;
    ?>

	</div>
<?php 
}
?>
<div class="clearfix clr"></div>