Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 15. október 2026

Rozdiely pre phpMyEdit/extensions/phpMyEdit-xstandard.class.php medzi verziami 1.2 a 1.3

verzia 1.2, 2007/01/26 10:49:53 verzia 1.3, 2007/01/26 11:20:13
Riadok 17 
Riadok 17 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/extensions/phpMyEdit-xstandard.class.php,v 1.1 2006-12-03 22:48:38 nepto Exp $ */  /* $Platon: phpMyEdit/extensions/phpMyEdit-xstandard.class.php,v 1.2 2007-01-26 10:49:53 nepto Exp $ */
   
 require_once dirname(__FILE__).'/../phpMyEdit.class.php';  require_once dirname(__FILE__).'/../phpMyEdit.class.php';
   
Riadok 267  function '.$this->js['prefix'].'filter_h
Riadok 267  function '.$this->js['prefix'].'filter_h
                                 $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 = null;                                  $height = '300';  // default value
                                 $width  = null;                                  $width  = '100%'; // default value
                                 $params = null;                                  $params = null;
                                 foreach ($this->fdd[$k]['textarea']['xstandard'] as $key => $val) {                                  if (is_array($this->fdd[$k]['textarea']['xstandard'])) {
                                         if (! strcasecmp($key, 'height')) {                                          foreach ($this->fdd[$k]['textarea']['xstandard'] as $key => $val) {
                                                 $height = $val;                                                  if (! strcasecmp($key, 'height')) {
                                         } else if (! strcasecmp($key, 'width')) {                                                          $height = $val;
                                                 $width = $val;                                                  } else if (! strcasecmp($key, 'width')) {
                                         } else {                                                          $width = $val;
                                                 $params .= '<param name="'.$key.'" value="'.$val.'" />'."\n";                                                  } else {
                                                           $params .= '<param name="'.$key.'" value="'.$val.'" />'."\n";
                                                   }
                                         }                                          }
                                 }                                  }
                                 if (strlen($width)  > 0) { echo " width=\"$width\"";   }                                  echo " width=\"$width\" height=\"$height\" />\n$params";
                                 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'])) {

Legend:
Odstranené z verzie1.2  
zmenené riadky
  Pridané vo verzii1.3

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok