/[health_html]/inc/newsShow.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /inc/newsShow.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by ravilov, Wed Oct 10 12:40:58 2001 UTC revision 1.14 by ravilov, Fri Oct 12 09:22:02 2001 UTC
# Line 91  Line 91 
91                  global $fname, $tpl, $acat, $acat2;                  global $fname, $tpl, $acat, $acat2;
92                  $fname = "show.tpl";                  $fname = "show.tpl";
93                  $tpl->assign("title", MyEscape(convert_html($art["title"])));                  $tpl->assign("title", MyEscape(convert_html($art["title"])));
94                  $tpl->assign("lead", MyEscape(convert_html($art["lead"]), false));                  $tpl->assign("lead", ParseNewline(MyEscape(convert_html($art["lead"]), false), false));
95                  $tpl->assign("titlepic_url", MyEscape(convert_html($art["pic_url"])));                  $tpl->assign("titlepic_url", MyEscape(convert_html($art["pic_url"])));
96                  $tpl->assign("titlepic_alt", MyEscape(convert_html($art["pic_alt"])));                  $tpl->assign("titlepic_alt", MyEscape(convert_html($art["pic_alt"])));
97                  $tpl->assign("titlepic_type", $art["pic_pos"]);                  $tpl->assign("titlepic_type", $art["pic_pos"]);
# Line 106  Line 106 
106                          $art["au_w"], $art["au_h"]));                          $art["au_w"], $art["au_h"]));
107                  for ($i = 0; $i < count($art["text"]); $i++) {                  for ($i = 0; $i < count($art["text"]); $i++) {
108                          $art["text"][$i]["text"] = ParseNewline(convert_html(                          $art["text"][$i]["text"] = ParseNewline(convert_html(
109                                  MyEscape($art["text"][$i]["text"]), false), true);                                  MyEscape($art["text"][$i]["text"], false)), true);
110                          $art["text"][$i]["hl"] = ParseNewline(convert_html(                          $art["text"][$i]["hl"] = ParseNewline(convert_html(
111                                  MyEscape($art["text"][$i]["hl"]), false), true);                                  MyEscape($art["text"][$i]["hl"], false)), true);
112                          $art["text"][$i]["exp"] = ParseNewline(convert_html(                          $art["text"][$i]["exp"] = ParseNewline(convert_html(
113                                  MyEscape($art["text"][$i]["exp"]), false), true);                                  MyEscape($art["text"][$i]["exp"], false)), true);
114                          if ($art["text"][$i]["hl"]) $art["text"][$i]["hl"] = GetHighlight($art["text"][$i]["hl"]);                          if ($art["text"][$i]["hl"]) $art["text"][$i]["hl"] = GetHighlight($art["text"][$i]["hl"]);
115                          if ($art["text"][$i]["level"]) $art["text"][$i]["level2"] = (($art["text"][$i]["level"] - 1) * 15) + 2;                          if ($art["text"][$i]["level"]) $art["text"][$i]["level2"] = (($art["text"][$i]["level"] - 1) * 15) + 2;
116                  }                  }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.26