Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Del print istrinimo

Parašė Pongis· 2008 Rugp. 14 20:08:31
#5

jeigu includes/theme_functions_include.php , tai:
function newsopts($info,$sep,$class="") {
   global $locale; $res = "";
   $link_class = $class ? " class='$class' " : "";
   if (!isset($_GET['readmore']) && $info['news_ext'] == "y") $res = "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$locale['042']."</a> ".$sep." ";
   if ($info['news_allow_comments']) $res .= "<a href='news.php?readmore=".$info['news_id']."'".$link_class.">".$info['news_comments'].$locale['043']."</a> ".$sep." ";
   if ($info['news_ext'] == "y" || $info['news_allow_comments']) $res .= $info['news_reads'].$locale['044']."\n";
   $res .= $sep." <a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";
   return $res;
}




o jei theme.php , tai:
function render_news($subject, $news, $info) { paieškok čia ;D }