Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, March 29, 2024

Diff for phpMyEdit/phpMyEdit.class.php between version 1.218 and 1.219

version 1.218, 2014/10/06 03:12:33 version 1.219, 2015/07/09 12:15:58
Line 19 
Line 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.217 2012-12-12 09:13:59 igor Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.218 2014-10-06 03:12:33 nepto Exp $ */
   
 /*  This is a generic table editing program. The table and fields to be  /*  This is a generic table editing program. The table and fields to be
         edited are defined in the calling program.          edited are defined in the calling program.
Line 1246  function '.$this->js['prefix'].'filter_h
Line 1246  function '.$this->js['prefix'].'filter_h
                         echo '<input class="',$css_class_name,'" type="text"';                          echo '<input class="',$css_class_name,'" type="text"';
                         echo ($this->readonly($k) ? ' disabled' : '');                          echo ($this->readonly($k) ? ' disabled' : '');
                         echo ' name="',$this->cgi['prefix']['data'].$this->fds[$k],'" value="';                          echo ' name="',$this->cgi['prefix']['data'].$this->fds[$k],'" value="';
                         if ($escape) echo htmlspecialchars($row["qf$k"]);                          if ($escape) echo htmlspecialchars($row["qf$k"], ENT_COMPAT | ENT_HTML401, '');
                         else echo $row["qf$k"];                          else echo $row["qf$k"];
                         echo '"',$len_props,' />',"\n";                          echo '"',$len_props,' />',"\n";
                 }                  }
Line 1475  function '.$this->js['prefix'].'filter_h
Line 1475  function '.$this->js['prefix'].'filter_h
                         return '&nbsp;';                          return '&nbsp;';
                 }                  }
                 if ($escape) {                  if ($escape) {
                         $value = htmlspecialchars($value);                          $value = htmlspecialchars($value, ENT_COMPAT | ENT_HTML401, '');
                 }                  }
                 return nl2br($value);                  return nl2br($value);
         } /* }}} */          } /* }}} */
Line 1639  function '.$this->js['prefix'].'filter_h
Line 1639  function '.$this->js['prefix'].'filter_h
                 }                  }
                 $ret .= '>';                  $ret .= '>';
                 if ($escape) {                  if ($escape) {
                         $ret .= htmlspecialchars($value);                          $ret .= htmlspecialchars($value, ENT_COMPAT | ENT_HTML401, '');
                 } else {                  } else {
                         $ret .= $value;                          $ret .= $value;
                 }                  }

Legend:
Removed from v.1.218  
changed lines
  Added in v.1.219

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