mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
#54: Tabellen aus dem Config Edit entfernen
This commit is contained in:
parent
505ef9ec14
commit
25b8e56302
@ -8,35 +8,16 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php foreach ($configs as $config){ ?>
|
||||
<div class="row-fluid">
|
||||
<div class="span11">
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->config;?></th>
|
||||
<th><?php echo $sprache->easy;?></th>
|
||||
<th><?php echo $sprache->full;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($configs as $config){ ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $config['line'];?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if($config['permission']=="easy" or $config['permission']=="both") { ?>
|
||||
<a href="userpanel.php?w=gs&d=cf&id=<?php echo $id;?>&type=easy&config=<?php echo urlencode($config['line']);?>"><span class="btn btn-primary btn-mini"><i class="icon-edit icon-white"></i></span></a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if($config['permission']=="full" or $config['permission']=="both") { ?>
|
||||
<a href="userpanel.php?w=gs&d=cf&id=<?php echo $id;?>&type=full&config=<?php echo urlencode($config['line']);?>"><span class="btn btn-primary btn-mini"><i class="icon-edit icon-white"></i></span></a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="span11 pull-left">
|
||||
<strong><?php echo $config['line'];?></strong> 
|
||||
<?php if($config['permission']=="easy" or $config['permission']=="both") { ?>
|
||||
<a href="userpanel.php?w=gs&d=cf&id=<?php echo $id;?>&type=easy&config=<?php echo urlencode($config['line']);?>"><span class="btn btn-primary btn-mini"><i class="icon-edit icon-white"></i> <?php echo $sprache->easy;?></span></a>
|
||||
<?php } ?>
|
||||
<?php if($config['permission']=="full" or $config['permission']=="both") { ?>
|
||||
<a href="userpanel.php?w=gs&d=cf&id=<?php echo $id;?>&type=full&config=<?php echo urlencode($config['line']);?>"><span class="btn btn-primary btn-mini"><i class="icon-edit icon-white"></i> <?php echo $sprache->full;?></span></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user