/[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.2 by ravilov, Fri Aug 3 11:21:16 2001 UTC revision 1.3 by ravilov, Tue Aug 7 13:55:51 2001 UTC
# Line 280  sql($sql); Line 280  sql($sql);
280                          for ($i = 0; $i < intval($add_num); $i++)                          for ($i = 0; $i < intval($add_num); $i++)
281                                  array_push($ed_pgfs, array(-1, "", "", -1, "", "", "", "", 0, 0, 0, true));                                  array_push($ed_pgfs, array(-1, "", "", -1, "", "", "", "", 0, 0, 0, true));
282                  }                  }
283                    $ed_empty = ($ed_title || $ed_lead || $ed_titlepic_pos || $ed_more) ? false : true;
284                  $ed_text = array();                  $ed_text = array();
285                  $ed_records = array();                  $ed_records = array();
286                  $ed_warnings = ($ed_warning ? true : false);                  $ed_warnings = ($ed_warning ? true : false);
# Line 358  sql($sql); Line 359  sql($sql);
359                  if ($trigger) array_push($params, "$trigger=1");                  if ($trigger) array_push($params, "$trigger=1");
360                  global $PHP_SELF;                  global $PHP_SELF;
361                  $tp->assign("FORM_ACTION", $PHP_SELF.HTMLSpecialChars("?".implode("&", $params)));                  $tp->assign("FORM_ACTION", $PHP_SELF.HTMLSpecialChars("?".implode("&", $params)));
362                    global $onload;
363                    $onload .= "document.forms[0].elements[0].focus();";
364                  return $tp->fetch("edit.tpl");                  return $tp->fetch("edit.tpl");
365          }          }
366  ?>  ?>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.26