ENGLISH:
I've reworked the code again.
He pointed to errors in the error log, because the edit.png
And you no longer have lands on the page, click on the image for editing.
Search
Code function render_news($subject, $news, $info) {
and add below
Code global $locale, $settings, $aidlink;
and Searche
Code echo "<div id='news-".$info['news_id']."' class='news-feed'>\n";
and add below
Code echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'><div class='c-links float-right'>";
if (iADMIN && checkrights("N")) {
echo "<a href='".ADMIN."news.php".$aidlink."&action=edit&news_id=".$info['news_id']."'><img src='".THEME."images/news_edit.png' alt='".$locale['global_076']."' title='".$locale['global_076']."' border='0' /></a>\n"; }
echo "<a href='".BASEDIR."print.php?type=N&item_id=".$info['news_id']."'><img src='".get_image("printer")."' alt='".$locale['global_075']."' style='vertical-align:middle;border:0;' /></a>";
echo "</div><span class='century'>".$subject."</span></td>\n";
echo "</tr>\n</table>\n";
GERMAN:
Ich habe den Code nochmal überarbeitet.
Im Fehlerlog zeigte er fehler an, wegen dem edit.png
Und man landet nicht mehr auf der weisen Seite, bei klick auf das Bearbeiten bild.
Suche
Code function render_news($subject, $news, $info) {
und füge darunter ein
Code global $locale, $settings, $aidlink;
Suche nun
Code echo "<div id='news-".$info['news_id']."' class='news-feed'>\n";
Und füge darunter ein
Code echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'><div class='c-links float-right'>";
if (iADMIN && checkrights("N")) {
echo "<a href='".ADMIN."news.php".$aidlink."&action=edit&news_id=".$info['news_id']."'><img src='".THEME."images/news_edit.png' alt='".$locale['global_076']."' title='".$locale['global_076']."' border='0' /></a>\n"; }
echo "<a href='".BASEDIR."print.php?type=N&item_id=".$info['news_id']."'><img src='".get_image("printer")."' alt='".$locale['global_075']."' style='vertical-align:middle;border:0;' /></a>";
echo "</div><span class='century'>".$subject."</span></td>\n";
echo "</tr>\n</table>\n";
Selfmade is Not Easy
[img]http://erodynamic.de/images/header_new.png[/img] is not a valid Image.
|