From c4362ba7b4bd55eba3ca2eee9a8236343e8dbc21 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 11 Feb 2016 09:49:47 +0000 Subject: [PATCH] Mobile theme W.I.P.: -Implement filemanager edit setting dialog and view mode --- filemanager/inc/class.filemanager_ui.inc.php | 3 +- filemanager/templates/mobile/file.xet | 253 +++++++++++++++++++ filemanager/templates/pixelegg/app.css | 17 +- filemanager/templates/pixelegg/app.less | 2 + 4 files changed, 269 insertions(+), 6 deletions(-) create mode 100644 filemanager/templates/mobile/file.xet diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index 8fc43b1dd7..766651f401 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -142,7 +142,8 @@ class filemanager_ui 'caption' => lang('Edit settings'), 'group' => $group, 'allowOnMultiple' => false, - 'onExecute' => 'javaScript:app.filemanager.editprefs', + 'onExecute' => html::$ua_mobile?'javaScript:app.filemanager.viewEntry':'javaScript:app.filemanager.editprefs', + 'mobileViewTemplate' => 'file.xet' ), 'mkdir' => array( 'caption' => lang('Create directory'), diff --git a/filemanager/templates/mobile/file.xet b/filemanager/templates/mobile/file.xet new file mode 100644 index 0000000000..53f4eae235 --- /dev/null +++ b/filemanager/templates/mobile/file.xet @@ -0,0 +1,253 @@ + + + + + + + + + +