Fixed up css
This commit is contained in:
parent
2ea54af6f7
commit
1fef0be197
8 changed files with 99 additions and 99 deletions
|
@ -125,31 +125,31 @@ class editcategory_news_panel extends admin_module{
|
|||
$articles[]=$row;
|
||||
}
|
||||
$panel->title="Vorhandene Kategorien";
|
||||
$panel->content.="<table class=\"sortable\" width=\"90%\" cellspacing=\"2\">
|
||||
$panel->content.="<table class=\"sortable\" style=\"width: 90%; border-spacing: 2px;\">
|
||||
<tr>
|
||||
<th style=\"text-align='center';\">ID</th>
|
||||
<th style=\"text-align='center';\">Name</th>
|
||||
<th style=\"text-align='center';\">Bild</th>
|
||||
<th style=\"text-align='center';\">Aktiv</th>
|
||||
<th class=\"nosort sortcol\" style=\"text-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;\">Bild</th>
|
||||
<th style=\"text-align: center;\">Aktiv</th>
|
||||
<th class=\"nosort sortcol\" style=\"text-align: center; width: 18%\">Aktionen</th>
|
||||
</tr>";
|
||||
if(!empty($articles)){
|
||||
foreach($articles as $u){
|
||||
$panel->content.="<tr>
|
||||
<td style=\"text-align='center';\">".$u["id"]."</td>
|
||||
<td style=\"text-align='center';\">".$u["name"]."</td>
|
||||
<td style=\"text-align='center';\">".$u["picture"]."</td>";
|
||||
<td style=\"text-align: center;\">".$u["id"]."</td>
|
||||
<td style=\"text-align: center;\">".$u["name"]."</td>
|
||||
<td style=\"text-align: center;\">".$u["picture"]."</td>";
|
||||
if($u["active"]=="true"){
|
||||
$panel->content.="<td style=\"text-align='center';\">Ja</td>";
|
||||
$panel->content.="<td style=\"text-align: center;\">Ja</td>";
|
||||
}else{
|
||||
$panel->content.="<td style=\"text-align='center';\">Nein</td>";
|
||||
$panel->content.="<td style=\"text-align: center;\">Nein</td>";
|
||||
}
|
||||
$panel->content.="<td style=\"text-align='center';\"><a onclick=\"return confirmLink(this, 'Willst du wirklich die Kategorie ".$u["categoryname"]." löschen? ')\" href=\"".$config["path"]."/admin/index.php?panel=editcategory_news&action=delete&id=".$u["id"]."\"><img src=\"".$config["path"]."/admin/images/icons/delete.png\" /></a> <a href=\"".$config["path"]."/admin/index.php?panel=editcategory_news&action=edit&id=".$u["id"]."\"><img src=\"".$config["path"]."/admin/images/icons/wrench.png\" /></a></td>
|
||||
$panel->content.="<td style=\"text-align: center;\"><a onclick=\"return confirmLink(this, 'Willst du wirklich die Kategorie ".$u["categoryname"]." löschen? ')\" href=\"".$config["path"]."/admin/index.php?panel=editcategory_news&action=delete&id=".$u["id"]."\"><img src=\"".$config["path"]."/admin/images/icons/delete.png\" /></a> <a href=\"".$config["path"]."/admin/index.php?panel=editcategory_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=\"5\">Keine Kategorien vorhanden.</td>
|
||||
<td style=\"text-align: center;\" colspan=\"5\">Keine Kategorien vorhanden.</td>
|
||||
</tr>";
|
||||
}
|
||||
$panel->content.="</table><br />";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue