From b1a6a5a3991cec5cd08873b01376e45d0b247f18 Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Thu, 14 Nov 2013 09:05:33 -0500
Subject: [PATCH] Cleaning up code to match coding guidelines
---
interface/web/admin/index.php | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/interface/web/admin/index.php b/interface/web/admin/index.php
index 3691df1..7cbfddb 100644
--- a/interface/web/admin/index.php
+++ b/interface/web/admin/index.php
@@ -34,14 +34,14 @@
var $target = '';
function render() {
-
+
global $app;
-
+
$app->uses('tpl');
$app->tpl->newTemplate("form.tpl.htm");
- $app->tpl->setVar('error',$error);
- $app->tpl->setInclude('content_tpl','admin/templates/index.htm');
+ $app->tpl->setVar('error', $error);
+ $app->tpl->setInclude('content_tpl', 'admin/templates/index.htm');
return $app->tpl->grab();
/*
$filename = 'test.txt';
@@ -69,10 +69,11 @@
-
+
return 'dd';
*/
}
+
}
-?>
\ No newline at end of file
+?>
--
Gitblit v1.9.1