mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 13:17:03 +02:00
merging new gui part #1
This commit is contained in:
@ -3,52 +3,49 @@
|
||||
|
||||
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
|
||||
|
||||
<form action="folders.php" method="post" name="extra_folders">
|
||||
<form action="folders.php" method="post" name="extra_folders" class="form-horizontal">
|
||||
|
||||
<div id="search">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="domain"><?php print $text_folder; ?>:</label>
|
||||
<div class="controls">
|
||||
<input type="text" id="name" name="name" value="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="search1">
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1"><?php print $text_folder; ?></div>
|
||||
<div class="cell2"><input type="text" id="name" name="name" value="" /></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1"> </div>
|
||||
<div class="cell2"><input type="submit" class="btn btn-primary" value="<?php print $text_add; ?>" /> <input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<input type="submit" value="<?php print $text_add; ?>" class="btn btn-primary" />
|
||||
<input type="reset" value="<?php print $text_clear; ?>" class="btn" />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
<div id="search">
|
||||
<div id="search">
|
||||
|
||||
<h4><?php print $text_existing_folders; ?></h4>
|
||||
|
||||
<div id="search1">
|
||||
<h4><?php print $text_existing_folders; ?></h4>
|
||||
|
||||
<table id="search1" class="table table-striped table-condensed">
|
||||
<thead>
|
||||
<th><?php print $_['text_folder']; ?> <?php print $_['text_name']; ?></th>
|
||||
<th> </th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($extra_folders as $folder) { ?>
|
||||
<div class="row">
|
||||
<div class="cell1"><?php print $folder['name']; ?></div>
|
||||
<div class="cell2"><a href="/folders.php?id=<?php print $folder['id']; ?>&remove=1"><?php print $text_remove; ?></a></div>
|
||||
</div>
|
||||
<tr>
|
||||
<td><?php print $folder['name']; ?></td>
|
||||
<td><a href="/folders.php?id=<?php print $folder['id']; ?>&remove=1"><?php print $text_remove; ?></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</div>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php } else { ?>
|
||||
<?php print $x; ?>. <a href="index.php?route=common/home"><?php print $text_back; ?></a>
|
||||
<div class="alert alert-info"><?php print $x; ?>.</div>
|
||||
<p><a href="index.php?route=common/home"><i class="icon-circle-arrow-left"></i> <?php print $text_back; ?></a></p>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user