| verzia 1.3, 2007/01/26 11:20:13 |
verzia 1.4, 2007/01/26 11:24:26 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/extensions/phpMyEdit-xstandard.class.php,v 1.2 2007-01-26 10:49:53 nepto Exp $ */ |
/* $Platon: phpMyEdit/extensions/phpMyEdit-xstandard.class.php,v 1.3 2007-01-26 11:20:13 nepto Exp $ */ |
| |
|
| require_once dirname(__FILE__).'/../phpMyEdit.class.php'; |
require_once dirname(__FILE__).'/../phpMyEdit.class.php'; |
| |
|
| Riadok 357 function '.$this->js['prefix'].'filter_h |
|
| Riadok 357 function '.$this->js['prefix'].'filter_h |
|
| && isset ($this->fdd[$k]['textarea']['xstandard'])) { |
&& isset ($this->fdd[$k]['textarea']['xstandard'])) { |
| $name = $this->cgi['prefix']['data'].$this->fds[$k]; |
$name = $this->cgi['prefix']['data'].$this->fds[$k]; |
| echo '<input type="hidden" name="',$name,'" id="',$name,'" />',"\n"; |
echo '<input type="hidden" name="',$name,'" id="',$name,'" />',"\n"; |
| echo '<object type="application/x-xstandard" id="',$name,'_xstandard"' |
echo '<object type="application/x-xstandard" id="',$name,'_xstandard"'; |
| .' height="300" width="100%">',"\n"; |
$height = '300'; // default value |
| |
$width = '100%'; // default value |
| |
$params = null; |
| |
if (is_array($this->fdd[$k]['textarea']['xstandard'])) { |
| |
foreach ($this->fdd[$k]['textarea']['xstandard'] as $key => $val) { |
| |
if (! strcasecmp($key, 'height')) { |
| |
$height = $val; |
| |
} else if (! strcasecmp($key, 'width')) { |
| |
$width = $val; |
| |
} else { |
| |
$params .= '<param name="'.$key.'" value="'.$val.'" />'."\n"; |
| |
} |
| |
} |
| |
} |
| |
echo " width=\"$width\" height=\"$height\" />\n$params"; |
| echo '<param name="Value" value="',htmlspecialchars($row["qf$k"]),'" />',"\n"; |
echo '<param name="Value" value="',htmlspecialchars($row["qf$k"]),'" />',"\n"; |
| echo '</object>',"\n"; |
echo '</object>',"\n"; |
| /* </XSTANDARD> */ |
/* </XSTANDARD> */ |