updates
This commit is contained in:
parent
497050178f
commit
2ea54af6f7
2 changed files with 223 additions and 399 deletions
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php global $session;
|
||||
/**
|
||||
* Project: BeCast WebEngine - simple site engine
|
||||
* File: /modules/news/editcategory.apnl.php
|
||||
|
@ -127,24 +127,24 @@ class editcategory_news_panel extends admin_module{
|
|||
$panel->title="Vorhandene Kategorien";
|
||||
$panel->content.="<table class=\"sortable\" width=\"90%\" cellspacing=\"2\">
|
||||
<tr>
|
||||
<th align=\"center\">ID</th>
|
||||
<th align=\"center\">Name</th>
|
||||
<th align=\"center\">Bild</th>
|
||||
<th align=\"center\">Aktiv</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';\">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 align=\"center\">".$u["id"]."</td>
|
||||
<td align=\"center\">".$u["name"]."</td>
|
||||
<td 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 align=\"center\">Ja</td>";
|
||||
$panel->content.="<td style=\"text-align='center';\">Ja</td>";
|
||||
}else{
|
||||
$panel->content.="<td align=\"center\">Nein</td>";
|
||||
$panel->content.="<td style=\"text-align='center';\">Nein</td>";
|
||||
}
|
||||
$panel->content.="<td 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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue