version 1.218, 2014/10/06 03:12:33 |
version 1.219, 2015/07/09 12:15:58 |
|
|
* 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 ' '; |
return ' '; |
} |
} |
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; |
} |
} |