tions[] = mosHTML::makeOption( $file, $file ); } if ( !$node->getAttribute( 'hide_none' ) ) { array_unshift( $options, mosHTML::makeOption( '-1', '- '. 'Do Not Use' .' -' ) ); } if ( !$node->getAttribute( 'hide_default' ) ) { array_unshift( $options, mosHTML::makeOption( '', '- '. 'Use Default' .' -' ) ); } return mosHTML::selectList( $options, ''. $control_name .'['. $name .']', 'class="inputbox"', 'value', 'text', $value, "param$name" ); } /** * @param string The name of the form element * @param string The value of the element * @param object The xml element for the parameter * @param string The control name * @return string The html for the element */ function _form_imagelist( $name, $value, &$node, $control_name ) { $node->setAttribute( 'filter', '\.png$|\.gif$|\.jpg$|\.bmp$|\.ico$' ); return $this->_form_filelist( $name, $value, $node, $control_name ); } /** * @param string The name of the form element * @param string The value of the element * @param object The xml element for the parameter * @param string The control name * @return string The html for the element */ function _form_textarea( $name, $value, &$node, $control_name ) { $rows = $node->getAttribute( 'rows' ); $cols = $node->getAttribute( 'cols' ); // convert
tags so they are not visible when editing $value = str_replace( '
', "\n", $value ); return ''; } /** * @param string The name of the form element * @param string The value of the element * @param object The xml element for the parameter * @param string The control name * @return string The html for the element */ function _form_spacer( $name, $value, &$node, $control_name ) { if ( $value ) { return $value; } else { return '
'; } } /** * special handling for textarea param */ function textareaHandling( &$txt ) { $total = count( $txt ); for( $i=0; $i < $total; $i++ ) { if ( strstr( $txt[$i], "\n" ) ) { $txt[$i] = str_replace( "\n", '
', $txt[$i] ); } } $txt = implode( "\n", $txt ); return $txt; } } /** * @param string * @return string */ function mosParseParams( $txt ) { return mosParameters::parse( $txt ); } class mosEmpty { function def( $key, $value='' ) { return 1; } function get( $key, $default='' ) { return 1; } } ?>
Fatal error: Cannot instantiate non-existent class: mosparameters in /home/chs/portal.cristinacandela.com/home/html/editor/editor.php on line 26