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.125 and 1.126

version 1.125, 2004/03/20 11:47:19 version 1.126, 2004/03/20 21:00:12
Line 19 
Line 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.124 2004/03/08 09:45:34 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.125 2004/03/20 11:47:19 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 1167  function phpMyEdit_filter_handler(theFor
Line 1167  function phpMyEdit_filter_handler(theFor
          */           */
         function urlDisplay($k, $link_val, $disp_val, $css, $key) /* {{{ */          function urlDisplay($k, $link_val, $disp_val, $css, $key) /* {{{ */
         {          {
                   $escape = isset($this->fdd[$k]['escape']) ? $this->fdd[$k]['escape'] : true;
                 $ret  = '';                  $ret  = '';
                 $name = $this->fds[$k];                  $name = $this->fds[$k];
                 $page = $this->page_name;                  $page = $this->page_name;
Line 1214  function phpMyEdit_filter_handler(theFor
Line 1215  function phpMyEdit_filter_handler(theFor
                 if (strlen($urllink) <= 0 || strlen($urldisp) <= 0) {                  if (strlen($urllink) <= 0 || strlen($urldisp) <= 0) {
                         $ret = '&nbsp;';                          $ret = '&nbsp;';
                 } else {                  } else {
                           if ($escape) {
                                   $urldisp = htmlspecialchars($urldisp);
                           }
                         $urllink = htmlspecialchars($urllink);                          $urllink = htmlspecialchars($urllink);
                         $urldisp = htmlspecialchars($urldisp);  
                         $ret = '<a '.$target.'class="'.$css.'" href="'.$urllink.'">'.$urldisp.'</a>';                          $ret = '<a '.$target.'class="'.$css.'" href="'.$urllink.'">'.$urldisp.'</a>';
                 }                  }
                 return $ret;                  return $ret;

Legend:
Removed from v.1.125  
changed lines
  Added in v.1.126

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