Пример #1
0
echo $this->dataoverview->generate_table_static($this->size_name, $this->size_columns, $this->size_items, $this->size_api_delete_function);
?>
          </div>
        </div>
      </div>

      <div class="submenu">
        <ul class="sidenav nav" id="accordeon">
          <li class="panel guidechapter">
            <a data-toggle="collapse" data-parent="#accordeon"  data-target="#pagelist"><i class="fa fa-wrench fa-fw fa-lg"></i> <b>Tools</b></a>
            <ul class="sidenav nav collapse in" id="pagelist">
              <?php 
foreach ($this->directories as $d) {
    ?>
                <li><a href="backend/page/<?php 
    echo $d;
    ?>
"><?php 
    echo text_neat_ucwords($d);
    ?>
</a></li>
              <?php 
}
?>
            </ul>
          </li>
        </ul>
      </div>
  </div>
</div>
Пример #2
0
    ?>
      <div class="tab-pane" id="task-type-<?php 
    echo $tt->ttid;
    ?>
">
        <h2>Task inputs</h2>
        <form method="post" action="">
          <input type="hidden" name="ttid" value="<?php 
    echo $tt->ttid;
    ?>
" />
          <?php 
    foreach ($tt->in as $io) {
        $id = 'input_' . $tt->ttid . '-' . $io->name;
        $template_search = json_decode($io->template_search);
        $name = text_neat_ucwords($io->name);
        $default = '';
        $placeholder = '';
        if ($template_search) {
            if (property_exists($template_search, 'name')) {
                $name = $template_search->name;
            }
            if (property_exists($template_search, 'default')) {
                $default = $template_search->default;
            }
            if (property_exists($template_search, 'placeholder')) {
                $placeholder = $template_search->placeholder;
            }
        }
        ?>
		      <div class="form-group" id="<?php