summaryrefslogtreecommitdiffstats
path: root/lib/template.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-03-18 14:12:06 +0100
committerRobin Appelman <icewind1991@gmail.com>2011-03-18 14:15:38 +0100
commit0f494970d1b299171ff36ef395adb444bf775355 (patch)
treec4890ab803b8160da214038998407eeecd157260 /lib/template.php
parent1df039716391d0708168ee6fd0c2c2ad4bac8059 (diff)
downloadnextcloud-server-0f494970d1b299171ff36ef395adb444bf775355.tar.gz
nextcloud-server-0f494970d1b299171ff36ef395adb444bf775355.zip
Fix a couple of minor coding errors
Diffstat (limited to 'lib/template.php')
-rw-r--r--lib/template.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/template.php b/lib/template.php
index 6184e4f59a2..12a32c1f052 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -99,8 +99,8 @@ class OC_TEMPLATE{
$template = "$SERVERROOT/$app/templates/";
}
- // Templates have the ending .tmpl
- $template .= "$name.html";
+ // Templates have the ending .php
+ $template .= "$name.php";
// Set the private data
$this->renderas = $renderas;
@@ -206,7 +206,7 @@ class OC_TEMPLATE{
// Add navigation entry and personal menu
$page->assign( "navigation", OC_APP::getNavigation());
- $page->assign( "personalmenu", OC_UTIL::getPersonalMenu());
+ $page->assign( "personalmenu", OC_APP::getPersonalMenu());
// Add css files and js files
$page->assign( "content", $data );