Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for phpMyEdit/phpMyEdit.class.php between version 1.38 and 1.39

version 1.38, 2002/12/14 22:48:05 version 1.39, 2002/12/15 09:16:33
Line 19 
Line 19 
  * http://www.platon.sk/projects/phpMyEdit/   * http://www.platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.37 2002/12/14 04:40:55 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.38 2002/12/14 22:48:05 nepto Exp $ */
   
 /*      phpMyEdit intro {{{ */  /*      phpMyEdit intro {{{ */
 /*  /*
Line 114  if (! function_exists('array_search')) {
Line 114  if (! function_exists('array_search')) {
   
 class phpMyEdit  class phpMyEdit
 {  {
         // Class variables // {{{          // Class variables {{{
         var $hn;        // hostname          var $hn;        // hostname
         var $un;        // user name          var $un;        // user name
         var $pw;        // password          var $pw;        // password
Line 2357  function form_control(theForm)
Line 2357  function form_control(theForm)
                 $res = $this->myquery($query_real, __LINE__);                  $res = $this->myquery($query_real, __LINE__);
                 $this->message = @mysql_affected_rows($this->dbh).' '.$this->labels['record changed'];                  $this->message = @mysql_affected_rows($this->dbh).' '.$this->labels['record changed'];
                 if (! $res) {                  if (! $res) {
                         echo 'haha';  
                         return false;                          return false;
                 }                  }
                 // Notify list                  // Notify list
Line 2489  function form_control(theForm)
Line 2488  function form_control(theForm)
                 $body    .= "phpMyEdit - instant MySQL table editor and code generator\n";                  $body    .= "phpMyEdit - instant MySQL table editor and code generator\n";
                 $body    .= "http://www.platon.sk/projects/phpMyEdit/\n";                  $body    .= "http://www.platon.sk/projects/phpMyEdit/\n";
                 $subject  = @$this->notify['prefix'].$subject.' '.$this->db.'.'.$this->tb;                  $subject  = @$this->notify['prefix'].$subject.' '.$this->db.'.'.$this->tb;
                   $subject  = trim($subject); // just for sure
                 $wrap_w   = intval(@$this->notify['wrap']);                  $wrap_w   = intval(@$this->notify['wrap']);
                 $wrap_w > 0 || $wrap_w = 72;                  $wrap_w > 0 || $wrap_w = 72;
                 $from     = (string) @$this->notify['from'];                  $from     = (string) @$this->notify['from'];
Line 2498  function form_control(theForm)
Line 2498  function form_control(theForm)
                 $emails   = (array) $this->notify[$action] + (array) $this->notify['all'];                  $emails   = (array) $this->notify[$action] + (array) $this->notify['all'];
                 foreach ($emails as $email) {                  foreach ($emails as $email) {
                         if (! empty($email)) {                          if (! empty($email)) {
                                 mail(trim($email), trim($subject), $body, $headers);                                  mail(trim($email), $subject, $body, $headers);
                         }                          }
                 }                  }
                 return true;                  return true;

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top