[puntoengine] r73 committed - [No log message]

1 view
Skip to first unread message

punto...@googlecode.com

unread,
Jun 22, 2011, 3:56:18 AM6/22/11
to punto...@googlegroups.com
Revision: 73
Author: jba...@gmail.com
Date: Wed Jun 22 00:55:12 2011
Log: [No log message]
http://code.google.com/p/puntoengine/source/detail?r=73

Added:
/trunk/puntoengine/core/resources
/trunk/puntoengine/core/resources/css
/trunk/puntoengine/core/resources/css/exception.css
Modified:
/trunk/puntoengine/core/http/HttpServlet.php

=======================================
--- /dev/null
+++ /trunk/puntoengine/core/resources/css/exception.css Wed Jun 22 00:55:12
2011
@@ -0,0 +1,12 @@
+@CHARSET "UTF-8";
+body {
+ font-family: sans-serif; font-size: 14px;
+}
+
+.title {
+ background: #006699; color: #ffffff;
+}
+
+hr {
+ border: solid 1px #000000;
+}
=======================================
--- /trunk/puntoengine/core/http/HttpServlet.php Tue Jun 21 00:20:40 2011
+++ /trunk/puntoengine/core/http/HttpServlet.php Wed Jun 22 00:55:12 2011
@@ -300,10 +300,6 @@
*/
public function processException(CoreException $exception) {

PluginManager::instance()->executeHook(HookTypes::CALL_PROCESS_EXCEPTION,
array('exception' => $exception));
-
- $css = 'body {font-family: sans-serif; font-size: 14px;}';
- $css .= '.title {background: #006699; color: #ffffff;}'."\n";
- $css .= 'hr {border: solid 1px #000000;}'."\n";

$exceptionType = 'Exception';

@@ -363,8 +359,7 @@
$html .= '<head profile="http://gmpg.org/xfn/11">'."\n";
$html .= '<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />'."\n";
$html .= '<title>Core exception</title>'."\n";
- $html .= '<style type="text/css">'."\n";
- $html .= $css."\n";
+ $html .= '<link
href="'.Kernel::getVirtualPath().'core/resources/css/exception.css"
class="theme" rel="stylesheet" media="all" />'."\n";
$html .= '</style>'."\n";
$html .= '</head>'."\n";
$html .= '<body>'."\n";

Reply all
Reply to author
Forward
0 new messages