summaryrefslogtreecommitdiffstats
path: root/templates/part.folderlist.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-08-11 11:39:03 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-08-11 11:39:03 -0400
commit48513e8e42c72409109f21804964b7c54527f6c0 (patch)
tree3da33a98ff14cc34b9f78b08e824d6200a23b1fa /templates/part.folderlist.php
parentc37d6ea2225e6b7ee93d2a294c33d81681fa843e (diff)
changes namespace to OCA\News
Diffstat (limited to 'templates/part.folderlist.php')
-rw-r--r--templates/part.folderlist.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/part.folderlist.php b/templates/part.folderlist.php
index a5f9626c6..972b60143 100644
--- a/templates/part.folderlist.php
+++ b/templates/part.folderlist.php
@@ -1,9 +1,9 @@
<?php
- function print_folder(OC_News_Folder $folder, $depth){
- echo '<li style="margin-left:' . 10*$depth . 'px;" class="menuItem" onclick="News.DropDownMenu.selectItem(this, ' . $folder->getId() . ')">' . strtoupper($folder->getName()) . '</li>';
+ function print_folder(OCA\News\Folder $folder, $depth){
+ echo '<li style="margin-left:' . 10*$depth . 'px;" class="menuItem" onclick="News.DropDownMenu.selectItem(this, ' . $folder->getId() . ')">' . $folder->getName() . '</li>';
$children = $folder->getChildren();
foreach($children as $child) {
- if ($child instanceOf OC_News_Folder){
+ if ($child instanceOf OCA\News\Folder){
print_folder($child, $depth+1);
}
}