From 4b3ae60558a5d9d18cdd7be0d844d577785f46fb Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Fri, 8 Jun 2012 11:42:00 -0400 Subject: Working UI for external storage mount configuration --- apps/files_external/personal.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 apps/files_external/personal.php (limited to 'apps/files_external/personal.php') diff --git a/apps/files_external/personal.php b/apps/files_external/personal.php new file mode 100755 index 00000000000..32e08742442 --- /dev/null +++ b/apps/files_external/personal.php @@ -0,0 +1,34 @@ +. +*/ + +OCP\Util::addScript('files_external', 'settings'); +OCP\Util::addStyle('files_external', 'settings'); +$backends = OC_Mount_Config::getBackends(); +// Remove local storage +unset($backends['OC_Filestorage_Local']); +$tmpl = new OCP\Template('files_external', 'settings'); +$tmpl->assign('isAdminPage', false); +$tmpl->assign('mounts', OC_Mount_Config::getPersonalMountPoints()); +$tmpl->assign('backends', $backends); +return $tmpl->fetchPage(); + +?> \ No newline at end of file -- cgit v1.2.3