From: <on...@us...> - 2002-09-21 07:07:54
|
Update of /cvsroot/xoops/xoops-current/html/class/xoopsform In directory usw-pr-cvs1:/tmp/cvs-serv31872 Modified Files: formdhtmltextarea.php Log Message: no message Index: formdhtmltextarea.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/class/xoopsform/formdhtmltextarea.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** formdhtmltextarea.php 18 Sep 2002 10:44:49 -0000 1.3 --- formdhtmltextarea.php 21 Sep 2002 07:07:51 -0000 1.4 *************** *** 36,40 **** $sizearray = array("xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large"); ! $ret .= "<select id='".$this->getName()."Size' onchange='setVisible(\"hiddenText\");setElementSize(\"hiddenText\",this.options[this.selectedIndex].value);'>\n"; $ret .= "<option value='SIZE'>"._SIZE."</option>\n"; foreach ( $sizearray as $size ) { --- 36,40 ---- $sizearray = array("xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large"); ! $ret .= "<select id='".$this->getName()."Size' onchange='setVisible(\"xoopsHiddenText\");setElementSize(\"xoopsHiddenText\",this.options[this.selectedIndex].value);'>\n"; $ret .= "<option value='SIZE'>"._SIZE."</option>\n"; foreach ( $sizearray as $size ) { *************** *** 43,47 **** $ret .= "</select>\n"; $fontarray = array("Arial", "Courier", "Georgia", "Helvetica", "Impact", "Verdana"); ! $ret .= "<select id='".$this->getName()."Font' onchange='setVisible(\"hiddenText\");setElementFont(\"hiddenText\",this.options[this.selectedIndex].value);'>\n"; $ret .= "<option value='FONT'>"._FONT."</option>\n"; foreach ( $fontarray as $font ) { --- 43,47 ---- $ret .= "</select>\n"; $fontarray = array("Arial", "Courier", "Georgia", "Helvetica", "Impact", "Verdana"); ! $ret .= "<select id='".$this->getName()."Font' onchange='setVisible(\"xoopsHiddenText\");setElementFont(\"xoopsHiddenText\",this.options[this.selectedIndex].value);'>\n"; $ret .= "<option value='FONT'>"._FONT."</option>\n"; foreach ( $fontarray as $font ) { *************** *** 50,54 **** $ret .= "</select>\n"; $colorarray = array("00", "33", "66", "99", "CC", "FF"); ! $ret .= "<select id='".$this->getName()."Color' onchange='setVisible(\"hiddenText\");setElementColor(\"hiddenText\",this.options[this.selectedIndex].value);'>\n"; $ret .= "<option value='COLOR'>"._COLOR."</option>\n"; foreach ( $colorarray as $color1 ) { --- 50,54 ---- $ret .= "</select>\n"; $colorarray = array("00", "33", "66", "99", "CC", "FF"); ! $ret .= "<select id='".$this->getName()."Color' onchange='setVisible(\"xoopsHiddenText\");setElementColor(\"xoopsHiddenText\",this.options[this.selectedIndex].value);'>\n"; $ret .= "<option value='COLOR'>"._COLOR."</option>\n"; foreach ( $colorarray as $color1 ) { *************** *** 59,65 **** } } ! $ret .= "</select><span id='hiddenText'>"._EXAMPLE."</span>\n"; $ret .= "<br />\n"; ! $ret .= "<input type='checkbox' id='".$this->getName()."Bold' onclick='setVisible(\"hiddenText\");makeBold(\"hiddenText\");' /><b>B</b> <input type='checkbox' id='".$this->getName()."Italic' onclick='setVisible(\"hiddenText\");makeItalic(\"hiddenText\");' /><i>I</i> <input type='checkbox' id='".$this->getName()."Underline' onclick='setVisible(\"hiddenText\");makeUnderline(\"hiddenText\");' /><u>U</u> <input type='textbox' id='".$this->getName()."Addtext' size='20' /> <input type='button' onclick='xoopsCodeText(\"".$this->getName()."\")' value='"._ADD."'><br /><br /><textarea id='".$this->getName()."' name='".$this->getName()."' wrap='virtual' cols='".$this->getCols()."' rows='".$this->getRows()."'".$this->getExtra().">".$this->getValue()."</textarea><br />\n"; $ret .= $this->renderSmileys(); return $ret; --- 59,65 ---- } } ! $ret .= "</select><span id='xoopsHiddenText'>"._EXAMPLE."</span>\n"; $ret .= "<br />\n"; ! $ret .= "<input type='checkbox' id='".$this->getName()."Bold' onclick='setVisible(\"xoopsHiddenText\");makeBold(\"xoopsHiddenText\");' /><b>B</b> <input type='checkbox' id='".$this->getName()."Italic' onclick='setVisible(\"xoopsHiddenText\");makeItalic(\"xoopsHiddenText\");' /><i>I</i> <input type='checkbox' id='".$this->getName()."Underline' onclick='setVisible(\"xoopsHiddenText\");makeUnderline(\"xoopsHiddenText\");' /><u>U</u> <input type='textbox' id='".$this->getName()."Addtext' size='20' /> <input type='button' onclick='xoopsCodeText(\"".$this->getName()."\")' value='"._ADD."'><br /><br /><textarea id='".$this->getName()."' name='".$this->getName()."' wrap='virtual' cols='".$this->getCols()."' rows='".$this->getRows()."'".$this->getExtra().">".$this->getValue()."</textarea><br />\n"; $ret .= $this->renderSmileys(); return $ret; |