PHP Classes

File: SmallServerAdmin/Controls/Accordion.html.php

Recommend this page to a friend!
  Classes of Aleksey Nemiro  >  PHP Small Server Administrator  >  SmallServerAdmin/Controls/Accordion.html.php  >  Download  
File: SmallServerAdmin/Controls/Accordion.html.php
Role: Auxiliary script
Content type: text/plain
Description: Accordion control
Class: PHP Small Server Administrator
Web panel for small Debian and Ubuntu servers
Author: By
Last change:
Date: 6 years ago
Size: 876 bytes


Class file image Download
<div class="panel-group" id="<?=$this->ID?>" role="tablist" aria-multiselectable="true">
foreach ($this->Items as $item)
<div class="panel panel-default">
    <div class="panel-heading" role="tab" id="<?=sprintf('heading_%s_%s', $this->ID, $item->Key)?>">
      <h4 class="panel-title">
        <a role="button" data-toggle="collapse" data-parent="#<?=$this->ID?>" href="#<?=sprintf('%s_%s', $this->ID, $item->Key)?>" aria-expanded="true" aria-controls="<?=sprintf('%s_%s', $this->ID, $item->Key)?>">
    <div id="<?=sprintf('%s_%s', $this->ID, $item->Key)?>" class="panel-collapse collapse" role="tabpanel" aria-labelledby="<?=sprintf('heading_%s_%s', $this->ID, $item->Key)?>">
      <div class="panel-body">
  <?php } ?>

For more information send a message to info at phpclasses dot org.