| verzia 1.1, 2006/12/03 22:48:38 |
verzia 1.2, 2007/01/26 10:49:53 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: $ */ |
/* $Platon: phpMyEdit/extensions/phpMyEdit-xstandard.class.php,v 1.1 2006-12-03 22:48:38 nepto Exp $ */ |
| |
|
| require_once dirname(__FILE__).'/../phpMyEdit.class.php'; |
require_once dirname(__FILE__).'/../phpMyEdit.class.php'; |
| |
|
| Riadok 266 function '.$this->js['prefix'].'filter_h |
|
| Riadok 266 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 = null; |
| echo '<param name="Value" value="" />',"\n"; |
$width = null; |
| |
$params = null; |
| |
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"; |
| |
} |
| |
} |
| |
if (strlen($width) > 0) { echo " width=\"$width\""; } |
| |
if (strlen($height) > 0) { echo " height=\"$height\""; } |
| |
echo ' />',"\n$params"; |
| echo '</object>',"\n"; |
echo '</object>',"\n"; |
| /* </XSTANDARD> */ |
/* </XSTANDARD> */ |
| } elseif (isset ($this->fdd[$k]['textarea'])) { |
} elseif (isset ($this->fdd[$k]['textarea'])) { |