X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/7e98723437f43e3f57736eb50ad0b8d2eb6bd549..29c3aacc96b54b91f072e7413ec04f5d2c766a9d:/lib/MECON/HTML/Error.php diff --git a/lib/MECON/HTML/Error.php b/lib/MECON/HTML/Error.php index 489d88a..7833944 100644 --- a/lib/MECON/HTML/Error.php +++ b/lib/MECON/HTML/Error.php @@ -1,24 +1,28 @@ - -// +----------------------------------------------------------------------+ -// -// $Id$ -// + +------------------------------------------------------------------------------- +$Id$ +-----------------------------------------------------------------------------*/ // +X2C Class 163 :MECON_HTML_Error /** @@ -48,6 +52,7 @@ class MECON_HTML_Error { */ function MECON_HTML_Error($msg = '') // ~X2C { + // TODO - hacer que se le pueda pasar un PEAR_Error y que le saque el mensaje solita. $this->msg = $msg; } // -X2C @@ -62,7 +67,7 @@ class MECON_HTML_Error { function toHtml() // ~X2C { // FIXME - usar un estilo con class. - return '
' . $this->msg . '
'; + return '
' . $this->msg . '
'; } // -X2C