* N2N is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details: http://www.gnu.org/licenses/ * * The following people participated in this project: * * Andreas von Burg.....: Architect, Lead Developer * Bert Hofmänner.......: Idea, Community Leader, Marketing * Thomas Günther.......: Developer, Hangar */ use n2n\core\err\ThrowableModel; use n2n\impl\web\ui\view\html\HtmlView; use n2n\util\uri\Query; $view = HtmlView::view($this); $html = HtmlView::html($this); $request = HtmlView::request($this); $throwableModel = $view->getParam('throwableModel'); $view->assert($throwableModel instanceof ThrowableModel); $html->meta()->setTitle($throwableModel->getTitle()); $throwableInfos = $throwableModel->getThrowableInfos(); $html->meta()->addJs('js/jquery-2.1.4.min.js'); $html->meta()->addJs('js/exceptionhandler.js'); $html->meta()->addJs('js/sh/scripts/shCore.js'); $html->meta()->addJs('js/sh/scripts/shBrushPhp.js'); $html->meta()->addJs('js/sh/scripts/shBrushSql.js'); $html->meta()->addJs('js/sh/scripts/shBrushXml.js'); $html->meta()->addCss('js/sh/styles/shCore.css'); $html->meta()->addCss('js/sh/styles/shThemeDefault.css'); $html->meta()->addCss('css/errorpage-500-development.css'); $html->meta()->addCss('css/font-awesome.css'); $html->meta()->addJsCode('SyntaxHighlighter.all();');