/[health_html]/inc/newsEdit.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/newsEdit.php

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

revision 1.12 by ravilov, Fri Oct 5 15:10:53 2001 UTC revision 1.14 by ravilov, Fri Oct 12 09:22:02 2001 UTC
# Line 442  sql($sql); Line 442  sql($sql);
442                          if (!$name) $name = $picurl;                          if (!$name) $name = $picurl;
443                          $txt = MyEscape(convert_html($txt), false);                          $txt = MyEscape(convert_html($txt), false);
444                          $txt2 = ParseNewline($txt, true);                          $txt2 = ParseNewline($txt, true);
445                          $txt3 = str_replace("&", "&", $txt);                          $txt3 = str_replace("&", "&", MyEscape(convert_html($txt), true));
446                          $txt3 = str_replace("\"", """, $txt3);                          $txt3 = str_replace("\"", """, $txt3);
447                          $txt3 = str_replace("<", "&lt;", $txt3);                          $txt3 = str_replace("<", "&lt;", $txt3);
448                          $txt3 = str_replace(">", "&gt;", $txt3);                          $txt3 = str_replace(">", "&gt;", $txt3);
449                          $hl = MyEscape(convert_html($hl), false);                          $hl = MyEscape(convert_html($hl), false);
450                          $hl2 = ParseNewline($hl, true);                          $hl2 = ParseNewline($hl, true);
451                          if ($hl2) $hl2 = GetHighlight($hl2);                          if ($hl2) $hl2 = GetHighlight($hl2);
452                          $hl3 = str_replace("&", "&amp;", $hl);                          $hl3 = str_replace("&", "&amp;", MyEscape(convert_html($hl), true));
453                          $hl3 = str_replace("\"", "&quot;", $hl3);                          $hl3 = str_replace("\"", "&quot;", $hl3);
454                          $hl3 = str_replace("<", "&lt;", $hl3);                          $hl3 = str_replace("<", "&lt;", $hl3);
455                          $hl3 = str_replace(">", "&gt;", $hl3);                          $hl3 = str_replace(">", "&gt;", $hl3);
# Line 491  sql($sql); Line 491  sql($sql);
491                  $tp->assign("ed_preview", $ed_preview);                  $tp->assign("ed_preview", $ed_preview);
492                  $tp->assign("ed_trigger", $trigger);                  $tp->assign("ed_trigger", $trigger);
493                  $tp->assign("ed_title", MyEscape(convert_html($ed_title)));                  $tp->assign("ed_title", MyEscape(convert_html($ed_title)));
494                  $tp->assign("ed_lead", MyEscape(convert_html($ed_lead)));                  $tp->assign("ed_lead", MyEscape(convert_html($ed_lead), true));
495                    $tp->assign("ed_lead2", ParseNewline(MyEscape(convert_html($ed_lead), false), false));
496                  $tp->assign("ed_titlepic_pos", $ed_titlepic_pos);                  $tp->assign("ed_titlepic_pos", $ed_titlepic_pos);
497                  $tp->assign("ed_titlepic_url", MyEscape(convert_html($titlepic_url)));                  $tp->assign("ed_titlepic_url", MyEscape(convert_html($titlepic_url)));
498                  $tp->assign("ed_titlepic_url2", MyEscape(convert_html($titlepic_url2)));                  $tp->assign("ed_titlepic_url2", MyEscape(convert_html($titlepic_url2)));
# Line 522  sql($sql); Line 523  sql($sql);
523                  $tp->assign("aupicdir", "$aupicdir/");                  $tp->assign("aupicdir", "$aupicdir/");
524                  $tp->assign("vijest", $isVijest ? true : false);                  $tp->assign("vijest", $isVijest ? true : false);
525                  if ($ed_preview) {                  if ($ed_preview) {
                         include_once("author.php");  
526                          $tp->assign("AUTHOR", GetAuthor(MyEscape(convert_html($author_url)),                          $tp->assign("AUTHOR", GetAuthor(MyEscape(convert_html($author_url)),
527                                  MyEscape(convert_html($ed_author_alt)),                                  MyEscape(convert_html($ed_author_alt)),
528                                  MyEscape(convert_html($ed_author_info)),                                  MyEscape(convert_html($ed_author_info)),

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

  ViewVC Help
Powered by ViewVC 1.1.26