/[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.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 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)));

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

  ViewVC Help
Powered by ViewVC 1.1.26