More CSS fixes
This commit is contained in:
parent
3f1708ea79
commit
88135762e6
11 changed files with 62 additions and 163 deletions
|
@ -95,14 +95,14 @@ class edit_news_panel extends admin_module{
|
|||
$news[]=$row;
|
||||
}
|
||||
$panel->title='Vorhandene Artikel';
|
||||
$panel->content.='<table class="sortable" width="90%" cellspacing="2">
|
||||
$panel->content.='<table class="sortable" style=\"width: 90%; border-spacing: 2px;\">
|
||||
<tr>
|
||||
<th align="center">ID</th>
|
||||
<th align="center">Name</th>
|
||||
<th align="center">Kategorien</th>
|
||||
<th align="center">Aktiv</th>
|
||||
<th align="center">User</th>
|
||||
<th class="nosort sortcol" align="center" width="18%">Aktionen</th>
|
||||
<th style=\"text-align: center;\">ID</th>
|
||||
<th style=\"text-align: center;\">Name</th>
|
||||
<th style=\"text-align: center;\">Kategorien</th>
|
||||
<th style=\"text-align: center;\">Aktiv</th>
|
||||
<th style=\"text-align: center;\">User</th>
|
||||
<th class="nosort sortcol" style=\"text-align: center; width: 18%\">Aktionen</th>
|
||||
</tr>';
|
||||
if(!empty($news)){
|
||||
foreach($news as $u){
|
||||
|
@ -112,17 +112,17 @@ class edit_news_panel extends admin_module{
|
|||
$u['a']='Nein';
|
||||
}
|
||||
$panel->content.='<tr>
|
||||
<td align="center">'.$u['id'].'</td>
|
||||
<td align="center">'.$u['title'].'</td>
|
||||
<td align="center">'.$u['name'].'</td>
|
||||
<td align="center">'.$u['a'].'</td>
|
||||
<td align="center">'.$u['username'].'</td>';
|
||||
$panel->content.='<td align="center"><a onclick="return confirmLink(this, "Willst du wirklich den News '.$u['title'].' löschen? ")" href="'.$config['path'].'/admin/index.php?panel=edit_news&action=delete&id='.$u['id'].'"><img src="'.$config['path'].'/admin/images/icons/delete.png" /></a> <a href="'.$config['path'].'/admin/index.php?panel=edit_news&action=edit&id='.$u['id'].'"><img src="'.$config['path'].'/admin/images/icons/wrench.png" /></a></td>
|
||||
<td style=\"text-align: center;\">'.$u['id'].'</td>
|
||||
<td style=\"text-align: center;\">'.$u['title'].'</td>
|
||||
<td style=\"text-align: center;\">'.$u['name'].'</td>
|
||||
<td style=\"text-align: center;\">'.$u['a'].'</td>
|
||||
<td style=\"text-align: center;\">'.$u['username'].'</td>';
|
||||
$panel->content.='<td style=\"text-align: center;\"><a onclick="return confirmLink(this, "Willst du wirklich den News '.$u['title'].' löschen? ")" href="'.$config['path'].'/admin/index.php?panel=edit_news&action=delete&id='.$u['id'].'"><img src="'.$config['path'].'/admin/images/icons/delete.png" /></a> <a href="'.$config['path'].'/admin/index.php?panel=edit_news&action=edit&id='.$u['id'].'"><img src="'.$config['path'].'/admin/images/icons/wrench.png" /></a></td>
|
||||
</tr>';
|
||||
}
|
||||
}else{
|
||||
$panel->content.='<tr>
|
||||
<td align="center" colspan="7">Keine News vorhanden.</td>
|
||||
<td style=\"text-align: center;\" colspan="7">Keine News vorhanden.</td>
|
||||
</tr>';
|
||||
}
|
||||
$panel->content.='</table><br />';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue