diff --git a/librerias/notas/script.js b/librerias/notas/script.js index 331bb17..bb82f80 100755 --- a/librerias/notas/script.js +++ b/librerias/notas/script.js @@ -60,4 +60,4 @@ xajax_notes('','mover',datos,''); xajax_ultimos_registros(document.getElementById('ultimo_id').value,formulario[0]); } }); -} \ No newline at end of file +} diff --git a/librerias/notas/styles.css b/librerias/notas/styles.css index 7458139..1e978dc 100755 --- a/librerias/notas/styles.css +++ b/librerias/notas/styles.css @@ -26,6 +26,19 @@ border: solid 1px ; border-color: #cccccc; padding: 1px; } + +.notes input, textarea { + font : 40px "handwriting", sans-serif; + + border : none; + padding : 10px; + margin : 0; + width : 100%; + min-height : 350px; + + background: none; +} + .note{ min-height:150px; padding:5px; diff --git a/milfs/funciones/funciones.php b/milfs/funciones/funciones.php index b0d81fe..7435138 100644 --- a/milfs/funciones/funciones.php +++ b/milfs/funciones/funciones.php @@ -499,15 +499,12 @@ $xajax->registerFunction("notas_estadisticas"); function formulario_mini($datos,$id,$opciones,$tipo){ $respuesta = new xajaxResponse('utf-8'); - $publico = remplacetas('form_id','id',"$id",'modificable',"") ; - $equipo = remplacetas('form_datos','control',$opciones,'equipo',"") ; if($publico[0] =="0" AND $_SESSION['id'] =="") { $resultado = "
","|~|",$sXml); - - $this->aObjArray = explode("|~|",$sXml); - - $this->iPos = 0; - $aArray = $this->_parseObjXml($rootTag); - - return $aArray; - } - - // _parseObjXml() is a recursive function that generates an array from the - // contents of $this->aObjArray. Returns an array. - // used internally - function _parseObjXml($rootTag) - { - $aArray = array(); - - if ($rootTag == "xjxobj") - { - while(!stristr($this->aObjArray[$this->iPos],"|~|",$sXml); - $sXml = str_replace("","|~|
") || stristr($this->aObjArray[$this->iPos],"")) - { - $this->iPos++; - continue; - } - $sQuery .= $this->aObjArray[$this->iPos]; - $this->iPos++; - } - - parse_str($sQuery, $aArray); - // If magic quotes is on, then we need to strip the slashes from the - // array values because of the parse_str pass which adds slashes - if (get_magic_quotes_gpc() == 1) { - $newArray = array(); - foreach ($aArray as $sKey => $sValue) { - if (is_string($sValue)) - $newArray[$sKey] = stripslashes($sValue); - else - $newArray[$sKey] = $sValue; - } - $aArray = $newArray; - } - } - - return $aArray; - } - -}// end class xajax - -// xajaxErrorHandler() is registered with PHP's set_error_handler() function if -// the xajax error handling system is turned on -// used by the xajax class -function xajaxErrorHandler($errno, $errstr, $errfile, $errline) -{ - $errorReporting = error_reporting(); - if ($errorReporting == 0) return; - - if ($errno == E_NOTICE) { - $errTypeStr = "NOTICE"; - } - else if ($errno == E_WARNING) { - $errTypeStr = "WARNING"; - } - else if ($errno == E_USER_NOTICE) { - $errTypeStr = "USER NOTICE"; - } - else if ($errno == E_USER_WARNING) { - $errTypeStr = "USER WARNING"; - } - else if ($errno == E_USER_ERROR) { - $errTypeStr = "USER FATAL ERROR"; - } - else if ($errno == E_STRICT) { - return; - } - else { - $errTypeStr = "UNKNOWN: $errno"; - } - $GLOBALS['xajaxErrorHandlerText'] .= "\n----\n[$errTypeStr] $errstr\nerror in line $errline of file $errfile"; -} - -?> \ No newline at end of file