Smart system is a free infusion for content management system PHP-Fusion which allows you to install themes, infusions, panels directly on your own site.
Version 3.0 for PHP-Fusion All, 16 September 2012
View Thread
 Print Thread
Theme Deeplasm
Synced
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
Download source  Code
function render_news($subject, $news, $info) {




and add below
Download source  Code
global $locale, $settings, $aidlink;




and Searche
Download source  Code
echo "<div id='news-".$info['news_id']."' class='news-feed'>\n";




and add below
Download source  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&amp;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
Download source  Code
function render_news($subject, $news, $info) {




und füge darunter ein
Download source  Code
global $locale, $settings, $aidlink;





Suche nun
Download source  Code
echo "<div id='news-".$info['news_id']."' class='news-feed'>\n";




Und füge darunter ein
Download source  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&amp;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 Smile
[img]http://erodynamic.de/images/header_new.png[/img] is not a valid Image.
 
walibola
great for solution Wink
try to see agen bola to agen sbobet or agen ibcbet and find me at poker online
 
masamuneseo
Thanks for share, great solution
 
Jump to Forum:
EnglishRussianGermanSwedishDanishFrenchItalianPolishSpanish
Partners from around the world

RusFusion

PHP-Fusion

PHP-Fusion U.S.A

PHP-Fusion Sverige