From 0bb5f7722728635724bdf6b7480128a081aef09c Mon Sep 17 00:00:00 2001 From: Patt92 Date: Wed, 17 Feb 2016 14:50:59 +0100 Subject: [PATCH] Removed removed for release management --- Old Releases/Owncloud 6/files_w2g/admin.php | 9 - .../Owncloud 6/files_w2g/ajax/getcolor.php | 9 - .../Owncloud 6/files_w2g/ajax/l10n.php | 3 - .../Owncloud 6/files_w2g/ajax/update.php | 31 - .../files_w2g/ajax/workin2gether.php | 135 --- .../Owncloud 6/files_w2g/appinfo/app.php | 24 - .../Owncloud 6/files_w2g/appinfo/info.xml | 13 - .../Owncloud 6/files_w2g/css/styles.css | 25 - .../Owncloud 6/files_w2g/img/pattern.png | Bin 1196 -> 0 bytes Old Releases/Owncloud 6/files_w2g/img/w2g.svg | 6 - .../Owncloud 6/files_w2g/img/whoshare.png | Bin 589 -> 0 bytes Old Releases/Owncloud 6/files_w2g/js/admin.js | 25 - .../Owncloud 6/files_w2g/js/arrow.gif | Bin 66 -> 0 bytes .../Owncloud 6/files_w2g/js/cross.gif | Bin 83 -> 0 bytes Old Releases/Owncloud 6/files_w2g/js/hs.png | Bin 2684 -> 0 bytes Old Releases/Owncloud 6/files_w2g/js/hv.png | Bin 2865 -> 0 bytes .../Owncloud 6/files_w2g/js/jscolor.js | 997 ------------------ .../Owncloud 6/files_w2g/js/workin2gether.js | 138 --- Old Releases/Owncloud 6/files_w2g/l10n/de.php | 14 - .../Owncloud 6/files_w2g/l10n/de_DE.php | 14 - .../Owncloud 6/files_w2g/l10n/en@pirate.php | 8 - .../Owncloud 6/files_w2g/l10n/en_GB.php | 8 - .../Owncloud 6/files_w2g/templates/admin.php | 44 - Old Releases/Owncloud 7/files_w2g/admin.php | 8 - .../Owncloud 7/files_w2g/ajax/admin_db.php | 18 - .../Owncloud 7/files_w2g/ajax/getcolor.php | 8 - .../Owncloud 7/files_w2g/ajax/update.php | 31 - .../files_w2g/ajax/workin2gether.php | 88 -- .../Owncloud 7/files_w2g/appinfo/app.php | 27 - .../Owncloud 7/files_w2g/appinfo/info.xml | 14 - .../Owncloud 7/files_w2g/css/styles.css | 17 - .../Owncloud 7/files_w2g/img/pattern.png | Bin 1196 -> 0 bytes Old Releases/Owncloud 7/files_w2g/img/w2g.svg | 6 - Old Releases/Owncloud 7/files_w2g/js/admin.js | 52 - .../Owncloud 7/files_w2g/js/arrow.gif | Bin 66 -> 0 bytes .../Owncloud 7/files_w2g/js/cross.gif | Bin 83 -> 0 bytes Old Releases/Owncloud 7/files_w2g/js/hs.png | Bin 2684 -> 0 bytes Old Releases/Owncloud 7/files_w2g/js/hv.png | Bin 2865 -> 0 bytes .../Owncloud 7/files_w2g/js/jscolor.js | 997 ------------------ .../Owncloud 7/files_w2g/js/workin2gether.js | 133 --- Old Releases/Owncloud 7/files_w2g/l10n/de.php | 18 - .../Owncloud 7/files_w2g/l10n/de_DE.php | 18 - .../Owncloud 7/files_w2g/l10n/en@pirate.php | 8 - .../Owncloud 7/files_w2g/l10n/en_GB.php | 8 - Old Releases/Owncloud 7/files_w2g/l10n/fr.php | 18 - .../Owncloud 7/files_w2g/l10n/fr_FR.php | 18 - Old Releases/Owncloud 7/files_w2g/l10n/ja.php | 18 - .../Owncloud 7/files_w2g/l10n/ja_JP.php | 18 - .../Owncloud 7/files_w2g/templates/admin.php | 62 -- Old Releases/Owncloud 8.1/admin.php | 9 - Old Releases/Owncloud 8.1/ajax/admin_db.php | 18 - Old Releases/Owncloud 8.1/ajax/getcolor.php | 8 - Old Releases/Owncloud 8.1/ajax/update.php | 32 - .../Owncloud 8.1/ajax/workin2gether.php | 150 --- Old Releases/Owncloud 8.1/appinfo/app.php | 41 - Old Releases/Owncloud 8.1/appinfo/info.xml | 18 - Old Releases/Owncloud 8.1/appinfo/routes.php | 19 - Old Releases/Owncloud 8.1/appinfo/version | 1 - Old Releases/Owncloud 8.1/css/styles.css | 24 - Old Releases/Owncloud 8.1/img/app.svg | 4 - Old Releases/Owncloud 8.1/img/lock.png | Bin 307 -> 0 bytes Old Releases/Owncloud 8.1/js/admin.js | 79 -- Old Releases/Owncloud 8.1/js/arrow.gif | Bin 66 -> 0 bytes Old Releases/Owncloud 8.1/js/cross.gif | Bin 83 -> 0 bytes Old Releases/Owncloud 8.1/js/hs.png | Bin 2684 -> 0 bytes Old Releases/Owncloud 8.1/js/hv.png | Bin 2865 -> 0 bytes Old Releases/Owncloud 8.1/js/jscolor.js | 997 ------------------ Old Releases/Owncloud 8.1/js/workin2gether.js | 143 --- Old Releases/Owncloud 8.1/l10n/de.js | 32 - Old Releases/Owncloud 8.1/l10n/de.json | 30 - Old Releases/Owncloud 8.1/l10n/de.php | 30 - Old Releases/Owncloud 8.1/l10n/de_DE.js | 32 - Old Releases/Owncloud 8.1/l10n/de_DE.json | 30 - Old Releases/Owncloud 8.1/l10n/de_DE.php | 30 - Old Releases/Owncloud 8.1/l10n/en@pirate.js | 10 - Old Releases/Owncloud 8.1/l10n/en@pirate.json | 8 - Old Releases/Owncloud 8.1/l10n/en@pirate.php | 8 - Old Releases/Owncloud 8.1/l10n/en_GB.js | 10 - Old Releases/Owncloud 8.1/l10n/en_GB.json | 8 - Old Releases/Owncloud 8.1/l10n/en_GB.php | 8 - Old Releases/Owncloud 8.1/l10n/fr.js | 28 - Old Releases/Owncloud 8.1/l10n/fr.json | 25 - Old Releases/Owncloud 8.1/l10n/fr.php | 18 - Old Releases/Owncloud 8.1/l10n/fr_FR.js | 20 - Old Releases/Owncloud 8.1/l10n/fr_FR.json | 18 - Old Releases/Owncloud 8.1/l10n/fr_FR.php | 18 - Old Releases/Owncloud 8.1/l10n/ja.js | 20 - Old Releases/Owncloud 8.1/l10n/ja.json | 18 - Old Releases/Owncloud 8.1/l10n/ja.php | 18 - Old Releases/Owncloud 8.1/l10n/ja_JP.js | 20 - Old Releases/Owncloud 8.1/l10n/ja_JP.json | 18 - Old Releases/Owncloud 8.1/l10n/ja_JP.php | 18 - Old Releases/Owncloud 8.1/templates/admin.php | 98 -- .../Owncloud 8.2.2/files_w2g/admin.php | 9 - .../files_w2g/ajax/admin_db.php | 21 - .../files_w2g/ajax/getcolor.php | 11 - .../Owncloud 8.2.2/files_w2g/ajax/update.php | 35 - .../files_w2g/ajax/workin2gether.php | 151 --- .../Owncloud 8.2.2/files_w2g/appinfo/app.php | 41 - .../Owncloud 8.2.2/files_w2g/appinfo/info.xml | 21 - .../files_w2g/appinfo/routes.php | 19 - .../Owncloud 8.2.2/files_w2g/appinfo/version | 1 - .../Owncloud 8.2.2/files_w2g/css/styles.css | 24 - .../Owncloud 8.2.2/files_w2g/img/app.svg | 4 - .../Owncloud 8.2.2/files_w2g/img/lock.png | Bin 307 -> 0 bytes .../Owncloud 8.2.2/files_w2g/js/admin.js | 79 -- .../Owncloud 8.2.2/files_w2g/js/arrow.gif | Bin 66 -> 0 bytes .../Owncloud 8.2.2/files_w2g/js/cross.gif | Bin 83 -> 0 bytes .../Owncloud 8.2.2/files_w2g/js/hs.png | Bin 2684 -> 0 bytes .../Owncloud 8.2.2/files_w2g/js/hv.png | Bin 2865 -> 0 bytes .../Owncloud 8.2.2/files_w2g/js/jscolor.js | 997 ------------------ .../files_w2g/js/workin2gether.js | 134 --- .../Owncloud 8.2.2/files_w2g/l10n/de.js | 32 - .../Owncloud 8.2.2/files_w2g/l10n/de.json | 30 - .../Owncloud 8.2.2/files_w2g/l10n/de.php | 30 - .../Owncloud 8.2.2/files_w2g/l10n/de_DE.js | 32 - .../Owncloud 8.2.2/files_w2g/l10n/de_DE.json | 30 - .../Owncloud 8.2.2/files_w2g/l10n/de_DE.php | 30 - .../files_w2g/l10n/en@pirate.js | 10 - .../files_w2g/l10n/en@pirate.json | 8 - .../files_w2g/l10n/en@pirate.php | 8 - .../Owncloud 8.2.2/files_w2g/l10n/en_GB.js | 10 - .../Owncloud 8.2.2/files_w2g/l10n/en_GB.json | 8 - .../Owncloud 8.2.2/files_w2g/l10n/en_GB.php | 8 - .../Owncloud 8.2.2/files_w2g/l10n/fr.js | 28 - .../Owncloud 8.2.2/files_w2g/l10n/fr.json | 25 - .../Owncloud 8.2.2/files_w2g/l10n/fr.php | 18 - .../Owncloud 8.2.2/files_w2g/l10n/fr_FR.js | 20 - .../Owncloud 8.2.2/files_w2g/l10n/fr_FR.json | 18 - .../Owncloud 8.2.2/files_w2g/l10n/fr_FR.php | 18 - .../Owncloud 8.2.2/files_w2g/l10n/ja.js | 20 - .../Owncloud 8.2.2/files_w2g/l10n/ja.json | 18 - .../Owncloud 8.2.2/files_w2g/l10n/ja.php | 18 - .../Owncloud 8.2.2/files_w2g/l10n/ja_JP.js | 20 - .../Owncloud 8.2.2/files_w2g/l10n/ja_JP.json | 18 - .../Owncloud 8.2.2/files_w2g/l10n/ja_JP.php | 18 - .../files_w2g/templates/admin.php | 98 -- .../files_w2g 0.8.2/files_w2g/admin.php | 9 - .../files_w2g/ajax/admin_db.php | 18 - .../files_w2g/ajax/getcolor.php | 8 - .../files_w2g 0.8.2/files_w2g/ajax/update.php | 36 - .../files_w2g/ajax/workin2gether.php | 106 -- .../files_w2g 0.8.2/files_w2g/appinfo/app.php | 31 - .../files_w2g/appinfo/info.xml | 18 - .../files_w2g/appinfo/routes.php | 19 - .../files_w2g 0.8.2/files_w2g/appinfo/version | 1 - .../files_w2g 0.8.2/files_w2g/css/styles.css | 24 - .../files_w2g 0.8.2/files_w2g/img/app.svg | 4 - .../files_w2g 0.8.2/files_w2g/img/lock.png | Bin 307 -> 0 bytes .../files_w2g 0.8.2/files_w2g/js/admin.js | 63 -- .../files_w2g 0.8.2/files_w2g/js/arrow.gif | Bin 66 -> 0 bytes .../files_w2g 0.8.2/files_w2g/js/cross.gif | Bin 83 -> 0 bytes .../files_w2g 0.8.2/files_w2g/js/hs.png | Bin 2684 -> 0 bytes .../files_w2g 0.8.2/files_w2g/js/hv.png | Bin 2865 -> 0 bytes .../files_w2g 0.8.2/files_w2g/js/jscolor.js | 997 ------------------ .../files_w2g/js/workin2gether.js | 141 --- .../files_w2g 0.8.2/files_w2g/l10n/de.js | 27 - .../files_w2g 0.8.2/files_w2g/l10n/de.json | 25 - .../files_w2g 0.8.2/files_w2g/l10n/de.php | 25 - .../files_w2g 0.8.2/files_w2g/l10n/de_DE.js | 27 - .../files_w2g 0.8.2/files_w2g/l10n/de_DE.json | 25 - .../files_w2g 0.8.2/files_w2g/l10n/de_DE.php | 25 - .../files_w2g/l10n/en@pirate.js | 10 - .../files_w2g/l10n/en@pirate.json | 8 - .../files_w2g/l10n/en@pirate.php | 8 - .../files_w2g 0.8.2/files_w2g/l10n/en_GB.js | 10 - .../files_w2g 0.8.2/files_w2g/l10n/en_GB.json | 8 - .../files_w2g 0.8.2/files_w2g/l10n/en_GB.php | 8 - .../files_w2g 0.8.2/files_w2g/l10n/fr.js | 28 - .../files_w2g 0.8.2/files_w2g/l10n/fr.json | 25 - .../files_w2g 0.8.2/files_w2g/l10n/fr.php | 18 - .../files_w2g 0.8.2/files_w2g/l10n/fr_FR.js | 20 - .../files_w2g 0.8.2/files_w2g/l10n/fr_FR.json | 18 - .../files_w2g 0.8.2/files_w2g/l10n/fr_FR.php | 18 - .../files_w2g 0.8.2/files_w2g/l10n/ja.js | 20 - .../files_w2g 0.8.2/files_w2g/l10n/ja.json | 18 - .../files_w2g 0.8.2/files_w2g/l10n/ja.php | 18 - .../files_w2g 0.8.2/files_w2g/l10n/ja_JP.js | 20 - .../files_w2g 0.8.2/files_w2g/l10n/ja_JP.json | 18 - .../files_w2g 0.8.2/files_w2g/l10n/ja_JP.php | 18 - .../files_w2g/templates/admin.php | 91 -- 181 files changed, 9335 deletions(-) delete mode 100644 Old Releases/Owncloud 6/files_w2g/admin.php delete mode 100644 Old Releases/Owncloud 6/files_w2g/ajax/getcolor.php delete mode 100644 Old Releases/Owncloud 6/files_w2g/ajax/l10n.php delete mode 100644 Old Releases/Owncloud 6/files_w2g/ajax/update.php delete mode 100644 Old Releases/Owncloud 6/files_w2g/ajax/workin2gether.php delete mode 100644 Old Releases/Owncloud 6/files_w2g/appinfo/app.php delete mode 100644 Old Releases/Owncloud 6/files_w2g/appinfo/info.xml delete mode 100644 Old Releases/Owncloud 6/files_w2g/css/styles.css delete mode 100644 Old Releases/Owncloud 6/files_w2g/img/pattern.png delete mode 100644 Old Releases/Owncloud 6/files_w2g/img/w2g.svg delete mode 100644 Old Releases/Owncloud 6/files_w2g/img/whoshare.png delete mode 100644 Old Releases/Owncloud 6/files_w2g/js/admin.js delete mode 100644 Old Releases/Owncloud 6/files_w2g/js/arrow.gif delete mode 100644 Old Releases/Owncloud 6/files_w2g/js/cross.gif delete mode 100644 Old Releases/Owncloud 6/files_w2g/js/hs.png delete mode 100644 Old Releases/Owncloud 6/files_w2g/js/hv.png delete mode 100644 Old Releases/Owncloud 6/files_w2g/js/jscolor.js delete mode 100644 Old Releases/Owncloud 6/files_w2g/js/workin2gether.js delete mode 100644 Old Releases/Owncloud 6/files_w2g/l10n/de.php delete mode 100644 Old Releases/Owncloud 6/files_w2g/l10n/de_DE.php delete mode 100644 Old Releases/Owncloud 6/files_w2g/l10n/en@pirate.php delete mode 100644 Old Releases/Owncloud 6/files_w2g/l10n/en_GB.php delete mode 100644 Old Releases/Owncloud 6/files_w2g/templates/admin.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/admin.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/ajax/admin_db.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/ajax/getcolor.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/ajax/update.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/ajax/workin2gether.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/appinfo/app.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/appinfo/info.xml delete mode 100644 Old Releases/Owncloud 7/files_w2g/css/styles.css delete mode 100644 Old Releases/Owncloud 7/files_w2g/img/pattern.png delete mode 100644 Old Releases/Owncloud 7/files_w2g/img/w2g.svg delete mode 100644 Old Releases/Owncloud 7/files_w2g/js/admin.js delete mode 100644 Old Releases/Owncloud 7/files_w2g/js/arrow.gif delete mode 100644 Old Releases/Owncloud 7/files_w2g/js/cross.gif delete mode 100644 Old Releases/Owncloud 7/files_w2g/js/hs.png delete mode 100644 Old Releases/Owncloud 7/files_w2g/js/hv.png delete mode 100644 Old Releases/Owncloud 7/files_w2g/js/jscolor.js delete mode 100644 Old Releases/Owncloud 7/files_w2g/js/workin2gether.js delete mode 100644 Old Releases/Owncloud 7/files_w2g/l10n/de.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/l10n/de_DE.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/l10n/en@pirate.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/l10n/en_GB.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/l10n/fr.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/l10n/fr_FR.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/l10n/ja.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/l10n/ja_JP.php delete mode 100644 Old Releases/Owncloud 7/files_w2g/templates/admin.php delete mode 100644 Old Releases/Owncloud 8.1/admin.php delete mode 100644 Old Releases/Owncloud 8.1/ajax/admin_db.php delete mode 100644 Old Releases/Owncloud 8.1/ajax/getcolor.php delete mode 100644 Old Releases/Owncloud 8.1/ajax/update.php delete mode 100644 Old Releases/Owncloud 8.1/ajax/workin2gether.php delete mode 100644 Old Releases/Owncloud 8.1/appinfo/app.php delete mode 100644 Old Releases/Owncloud 8.1/appinfo/info.xml delete mode 100644 Old Releases/Owncloud 8.1/appinfo/routes.php delete mode 100644 Old Releases/Owncloud 8.1/appinfo/version delete mode 100644 Old Releases/Owncloud 8.1/css/styles.css delete mode 100644 Old Releases/Owncloud 8.1/img/app.svg delete mode 100644 Old Releases/Owncloud 8.1/img/lock.png delete mode 100644 Old Releases/Owncloud 8.1/js/admin.js delete mode 100644 Old Releases/Owncloud 8.1/js/arrow.gif delete mode 100644 Old Releases/Owncloud 8.1/js/cross.gif delete mode 100644 Old Releases/Owncloud 8.1/js/hs.png delete mode 100644 Old Releases/Owncloud 8.1/js/hv.png delete mode 100644 Old Releases/Owncloud 8.1/js/jscolor.js delete mode 100644 Old Releases/Owncloud 8.1/js/workin2gether.js delete mode 100644 Old Releases/Owncloud 8.1/l10n/de.js delete mode 100644 Old Releases/Owncloud 8.1/l10n/de.json delete mode 100644 Old Releases/Owncloud 8.1/l10n/de.php delete mode 100644 Old Releases/Owncloud 8.1/l10n/de_DE.js delete mode 100644 Old Releases/Owncloud 8.1/l10n/de_DE.json delete mode 100644 Old Releases/Owncloud 8.1/l10n/de_DE.php delete mode 100644 Old Releases/Owncloud 8.1/l10n/en@pirate.js delete mode 100644 Old Releases/Owncloud 8.1/l10n/en@pirate.json delete mode 100644 Old Releases/Owncloud 8.1/l10n/en@pirate.php delete mode 100644 Old Releases/Owncloud 8.1/l10n/en_GB.js delete mode 100644 Old Releases/Owncloud 8.1/l10n/en_GB.json delete mode 100644 Old Releases/Owncloud 8.1/l10n/en_GB.php delete mode 100644 Old Releases/Owncloud 8.1/l10n/fr.js delete mode 100644 Old Releases/Owncloud 8.1/l10n/fr.json delete mode 100644 Old Releases/Owncloud 8.1/l10n/fr.php delete mode 100644 Old Releases/Owncloud 8.1/l10n/fr_FR.js delete mode 100644 Old Releases/Owncloud 8.1/l10n/fr_FR.json delete mode 100644 Old Releases/Owncloud 8.1/l10n/fr_FR.php delete mode 100644 Old Releases/Owncloud 8.1/l10n/ja.js delete mode 100644 Old Releases/Owncloud 8.1/l10n/ja.json delete mode 100644 Old Releases/Owncloud 8.1/l10n/ja.php delete mode 100644 Old Releases/Owncloud 8.1/l10n/ja_JP.js delete mode 100644 Old Releases/Owncloud 8.1/l10n/ja_JP.json delete mode 100644 Old Releases/Owncloud 8.1/l10n/ja_JP.php delete mode 100644 Old Releases/Owncloud 8.1/templates/admin.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/admin.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/ajax/admin_db.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/ajax/getcolor.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/ajax/update.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/ajax/workin2gether.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/appinfo/app.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/appinfo/info.xml delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/appinfo/routes.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/appinfo/version delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/css/styles.css delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/img/app.svg delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/img/lock.png delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/js/admin.js delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/js/arrow.gif delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/js/cross.gif delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/js/hs.png delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/js/hv.png delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/js/jscolor.js delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/js/workin2gether.js delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/de.js delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/de.json delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/de.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/de_DE.js delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/de_DE.json delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/de_DE.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/en@pirate.js delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/en@pirate.json delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/en@pirate.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/en_GB.js delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/en_GB.json delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/en_GB.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr.js delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr.json delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr_FR.js delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr_FR.json delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr_FR.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja.js delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja.json delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja_JP.js delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja_JP.json delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja_JP.php delete mode 100644 Old Releases/Owncloud 8.2.2/files_w2g/templates/admin.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/admin.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/admin_db.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/getcolor.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/update.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/workin2gether.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/app.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/info.xml delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/routes.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/version delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/css/styles.css delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/img/app.svg delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/img/lock.png delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/admin.js delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/arrow.gif delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/cross.gif delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/hs.png delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/hv.png delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/jscolor.js delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/workin2gether.js delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de.js delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de.json delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de_DE.js delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de_DE.json delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de_DE.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en@pirate.js delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en@pirate.json delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en@pirate.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en_GB.js delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en_GB.json delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en_GB.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr.js delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr.json delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr_FR.js delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr_FR.json delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr_FR.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja.js delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja.json delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja_JP.js delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja_JP.json delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja_JP.php delete mode 100644 Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/templates/admin.php diff --git a/Old Releases/Owncloud 6/files_w2g/admin.php b/Old Releases/Owncloud 6/files_w2g/admin.php deleted file mode 100644 index 088f885..0000000 --- a/Old Releases/Owncloud 6/files_w2g/admin.php +++ /dev/null @@ -1,9 +0,0 @@ -fetchPage(); - diff --git a/Old Releases/Owncloud 6/files_w2g/ajax/getcolor.php b/Old Releases/Owncloud 6/files_w2g/ajax/getcolor.php deleted file mode 100644 index f83520b..0000000 --- a/Old Releases/Owncloud 6/files_w2g/ajax/getcolor.php +++ /dev/null @@ -1,9 +0,0 @@ -execute(array($_POST['type']))->fetchAll(); -if(count($result)>=1){ - echo $result[0]['configvalue']; -} -else - echo ""; \ No newline at end of file diff --git a/Old Releases/Owncloud 6/files_w2g/ajax/l10n.php b/Old Releases/Owncloud 6/files_w2g/ajax/l10n.php deleted file mode 100644 index 2914d14..0000000 --- a/Old Releases/Owncloud 6/files_w2g/ajax/l10n.php +++ /dev/null @@ -1,3 +0,0 @@ -t($_POST['rawtext'])!="") echo $l->t($_POST['rawtext']); else echo $_POST['rawtext']; \ No newline at end of file diff --git a/Old Releases/Owncloud 6/files_w2g/ajax/update.php b/Old Releases/Owncloud 6/files_w2g/ajax/update.php deleted file mode 100644 index c5ad05b..0000000 --- a/Old Releases/Owncloud 6/files_w2g/ajax/update.php +++ /dev/null @@ -1,31 +0,0 @@ -execute(array($mode))->fetchAll(); - -if(count($result)<1)//Color already set? -{ - $query = \OCP\DB::prepare("INSERT INTO *PREFIX*appconfig(appid,configkey,configvalue) value('files_w2g',?,?)"); - $result = $query->execute(array($mode,$color)); - echo $l->t("Color has been set!"); -} -else -{ - $query = \OCP\DB::prepare("UPDATE *PREFIX*appconfig set configvalue=? WHERE appid='files_w2g' and configkey=?"); - $result = $query->execute(array($color,$mode)); - echo $l->t("Updated successfully!"); - - -} \ No newline at end of file diff --git a/Old Releases/Owncloud 6/files_w2g/ajax/workin2gether.php b/Old Releases/Owncloud 6/files_w2g/ajax/workin2gether.php deleted file mode 100644 index a4f2a84..0000000 --- a/Old Releases/Owncloud 6/files_w2g/ajax/workin2gether.php +++ /dev/null @@ -1,135 +0,0 @@ - for -supporting me the whole development progress. -*/ - -//Init translations -$l = \OCP\Util::getL10N('files_w2g'); - -//Requirements check -OCP\JSON::checkLoggedIn(); -OCP\JSON::checkAppEnabled('files_w2g'); - - -//Default path for lock files - -$root = \OC::$SERVERROOT;//$_SERVER['DOCUMENT_ROOT']; - -$apath = $root.OCP\Util::linkTo('files_w2g', 'lock')."/"; - -if(!@file_exists($root.OCP\Util::linkTo('files_w2g')."/lock")) - @mkdir($root.OCP\Util::linkTo('files_w2g')."/lock", 0777, true); - -$storage = preg_replace('{/$}', '', \OC_Config::getValue('datadirectory',\OC::$SERVERROOT . '/data'))."/"; - - -//Vars -$path = stripslashes($_POST['path']) ; -@$safe = @$_POST['safe']; -$ppath = lockname($path); - - -if(cleanPath($path)=="/Shared"){ echo "Forbidden"; return 1; } //Doesn't make sense to lock it cause you can't share it - -if(substr(cleanPath($path),0,7)=="/Shared") -{ - // /Shared/... - $relpath = explode('/',substr(cleanPath($path),7,strlen($path)-7)); - $relative_path = '/'.$relpath[count($relpath)-1]; - - $backcount = 0; - $dbg = $relpath[count($relpath)-1-0]; - do - { - $query = OCP\DB::prepare("SELECT X.parent, X.id, X.uid_owner, Y.path FROM *PREFIX*share X INNER JOIN *PREFIX*filecache Y ON X.file_source = Y.fileid where X.share_with = ? and X.file_target = ? LIMIT 1"); - $result = $query->execute(array(OCP\USER::getUser(),'/'.$relpath[count($relpath)-1-$backcount]))->fetchAll(); - $backcount+=1; - }while(count($result)<1 && $backcount0) $backcount-=1; - - - - - $user = $result[0]['uid_owner']; - $postpath = $result[0]['path']; - //get the original share user name - - $old = ""; $new = "-"; - while ($new!="") - { - $old = $new; - $query = OCP\DB::prepare("SELECT parent, uid_owner, id FROM *PREFIX*share where id = ? LIMIT 1"); - $result = $query->execute(array($result[0]['parent']))->fetchAll(); - $new = @$result[0]['uid_owner']; - } - if($old!="-") $user = $old; - - - $realpath = $storage.$user.'$'.$postpath; - - for($i=$backcount;$i>0;$i-=1) - { - $realpath .= '/'.$relpath[count($relpath)-$i]; - } - - - -} -else $realpath = $storage.OCP\USER::getUser()."/files".cleanPath($path); - -//lockfile name -$lock = $apath.lockname($realpath); - -if (file_exists($lock)) -{ - if(@$safe=="false") - { - @unlink($lock); - echo $l->t("File not locked"); - } - else echo $l->t("Status: locked"); -} -else -{ - @date_default_timezone_set('Europe/Berlin'); - - if(@$safe=="false") - { - $h = fopen($lock, "w"); - fwrite($h,OCP\User::getUser()." ".date(DATE_RFC822)); - fclose($h); - echo $l->t("File is locked"); - } - else echo $l->t("Status: not locked"); -} - - - -function lockname($path) -{ - //Replace all '/' with $ for a filename for the lock file - $ppath = str_replace("/","$",cleanPath($path))."$"; - - $ppath = str_replace("Shared","",$ppath); - $ppath = str_replace(":","#",$ppath); - - //Remove double dollar char when exist - if ($ppath[0] == "$" and $ppath[1] == "$") $ppath = substr($ppath,1); - - return preg_replace('/\\\/','$',$ppath); - -} - -function cleanPath($path) { - - $path = rtrim($path, "/"); - $path = urldecode($path); - return preg_replace('{(/)\1+}', "/", $path); -} diff --git a/Old Releases/Owncloud 6/files_w2g/appinfo/app.php b/Old Releases/Owncloud 6/files_w2g/appinfo/app.php deleted file mode 100644 index 292fd3a..0000000 --- a/Old Releases/Owncloud 6/files_w2g/appinfo/app.php +++ /dev/null @@ -1,24 +0,0 @@ - - - files_w2g - Workin2gether - Pseudo multiaccess-management feature for Owncloud. You can lock files and disable the fileactions, leaving only the fileaction of unlocking a file. - For example, you are trying to edit a calculation table. You can download the file, lock it and start editing the file on your computer. Every person, you have shared the file with, - will see that this file is currently locked, so others will leave the file alone. - This feature is webinterface only. - AGPL - Patrick Hoffmann - 0.6b - 6.00 - diff --git a/Old Releases/Owncloud 6/files_w2g/css/styles.css b/Old Releases/Owncloud 6/files_w2g/css/styles.css deleted file mode 100644 index c7bf96f..0000000 --- a/Old Releases/Owncloud 6/files_w2g/css/styles.css +++ /dev/null @@ -1,25 +0,0 @@ -#workin2gether p { - float: left; - padding-top: 0.8em; - padding-left: 1.2em; -} - -#workin2gether img { - float: left; - width: 48px; - height: 48px; - background: transparent url('apps/files_w2g/img/pattern.png'); - border: 1px solid #D8D8D8; - padding: 5px; -} -a.action.locked{ -display:none !important; -} - -a.name.statelock a.action{ -color:#eee; -opacity:1 !important; -} -a.name.statelock a.action:hover, a.name.statelock span.extension{ -color:#fff; -} diff --git a/Old Releases/Owncloud 6/files_w2g/img/pattern.png b/Old Releases/Owncloud 6/files_w2g/img/pattern.png deleted file mode 100644 index 465261a36bacc822ffe1b7fee4efb0d90bb8b25c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1196 zcmV;d1XKHoP)&o=A7g|Fx7>O>9^<{O>>`h&(jjs`=khZ|ZidM7 zwJo$n8}>KDIvh|7ag#u6&P{d3$mtLm!8wdrwv`=t=^>3~zult?4}S|Sv0)zL zCf0;CVsb)xIf};+gIBl}ABIM7R+L5(w~)arHq`)na_$IWiq7O(hXXF_w)h#%;szAW z$?#FIVa^l&(JzNv%8K2H5i&$83&g<=n~1J%^dblRsXT;*4(_nCJuzUh>#{AJtSVn$ zU#KF~8PT%^@snL*E-7;KwbdvM0zbg#r)zy}V$F>ZdRf{a`nFlw|TNHMCx#il*N@_G7P5s`%Vq1XVQX93@ z!hPI8Kq7~Zj$ck%EW0Y|>Oiu*yL*pA4LUqz;Ab?Q#hAk_SluYG$vW5*M5m>V2Q$#g z6g3H{PJ7LFVzfNbIz!_Rd3D`z=I!Fq0@7Vlx-fK0>>6bv5Rt)aK5Hz<_C2FcIC>cG zfxq+0R%BnWLptS!-dnzC>fTTC2w=w3PMB0{ev&(4OU zafE)Tj|TSB#=-vmP_wpWjW0u_5Y1r^raku{CD70h8ULolG4cfxB5u&h7XSYGaX!NU zKL_Tx;WvhM8@7)SfJeXeElL^wH%K|KO(a_A|o> z8atc)KJv=l;jr7bF=Hfgtmsd9vc~2H6sTkBK@fqYjUdlo0R{jvRT-4R2zv(r0000< KMNUMnLSTXu;43u% diff --git a/Old Releases/Owncloud 6/files_w2g/img/w2g.svg b/Old Releases/Owncloud 6/files_w2g/img/w2g.svg deleted file mode 100644 index d677970..0000000 --- a/Old Releases/Owncloud 6/files_w2g/img/w2g.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/Old Releases/Owncloud 6/files_w2g/img/whoshare.png b/Old Releases/Owncloud 6/files_w2g/img/whoshare.png deleted file mode 100644 index 8204028f70e6fbc1e21d3b5bf593eac2b6b0839d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 589 zcmV-T0n{> zc?BUWp=;^dg}c%R@B#V&Ls#m~g&RjES?I!XAubfeUB;4-q-}EDOoz-gLJs_J&*eWK z=WveXx-Ra9ZQDnTu~Q+$Qvi@8>3y1}?_AeS?s}DjY5+uZN<=SewHg6H5CnrLiWq>i zQh;{5?NqB(W1nl9W`tq*tTe!~tY(tj?$$KTMv+%8`fRmYzAVeg%QQ{DG+;CuePWCu zuihX#5w1AV;skE7=~dK zMdzIJ*URPd50G0U5k0po>sV0~R@ADl>s;4$o+Qah5Cjr{m$v|&PUle^$A!iD&@@eL zHk%Lk`3)e;GE-3s@9H2VNvafWx*KB z05HZ_Mns`u7=OFn?$60&@^Lnsz4d+n63A^~JRU0mIsoniFaW660)XUNR{(wi`0aUK b3IP8A>+X{L{{%`)00000NkvXXu0mjfxDo?5 diff --git a/Old Releases/Owncloud 6/files_w2g/js/admin.js b/Old Releases/Owncloud 6/files_w2g/js/admin.js deleted file mode 100644 index 1a91066..0000000 --- a/Old Releases/Owncloud 6/files_w2g/js/admin.js +++ /dev/null @@ -1,25 +0,0 @@ -$(document).ready(function(){ - - $('#submitColor').click(function(){ - $.ajax({ - url: OC.filePath('files_w2g','ajax','update.php'), - type: "post", - data: { color: $('#multicolor').val()}, - async: false, - success: function(data){text = data;}, - }); - alert(text); - }); - - $('#submitfontcolor').click(function(){ - $.ajax({ - url: OC.filePath('files_w2g','ajax','update.php'), - type: "post", - data: { fontcolor: $('#multifontcolor').val()}, - async: false, - success: function(data){text = data;}, - }); - alert(text); - }); - -}); \ No newline at end of file diff --git a/Old Releases/Owncloud 6/files_w2g/js/arrow.gif b/Old Releases/Owncloud 6/files_w2g/js/arrow.gif deleted file mode 100644 index 246478a864f812d93d4cd0e0d0ad1c8e2d09c825..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 66 zcmZ?wbhEHbWM|-JSjfZx1poj4Utv=LM2bII7`Ygj7<53QAbAERVV@R>f}L*~a`L;Z PKCZl?^}@uHk--`OML81Y diff --git a/Old Releases/Owncloud 6/files_w2g/js/cross.gif b/Old Releases/Owncloud 6/files_w2g/js/cross.gif deleted file mode 100644 index 0ee9c7ac517bee40b78aea03afa809631f0b69fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmZ?wbhEHb3k<8jPQJQ=fuv5eVo^ZVob{r>y?yxzz6n|{I3RuQNUl#q~6w6{Y!i_W*AbzM$M zv?qg)_ee+pt?W@2m!pR{B_p?CM-{APX1sq0k!v%Dx?=2xC6f&jlZz_Dn#dT_Y>InI z6zGP*0qIZBM5F|EZW=wONLxZCI;oxx8efxF<=55NtkzwRuA@S|$OSZUS~0 zbSDgzxPwEAll?BgdT}XWOAZOcMD`pUO+CGfB}rVxe|WEK0gw_Tz-cDmNG4L+O1BG& zsF@TK6o0+-x8xsR`X2n=3~i7e()sQ8nbs7jD=(px9H|qDd%c<@)UuI(EKt5ngFHjS zh|qTPjol+wD*VrOrP2AHgU&lZ7-h-S-Ry`OC^$7+KSF!aG?mu&pn3IaR(#Gf!EQP! zqeS?o6nx*@RWD5RUuQ+fDEvFrgK2PwV_AaZi_nFD)fY6UXpc#9)D{%+=WH ztBRU(0-f)NSeD3_)#+p<)n=t7Y1EDi=wXXR?Z#vSuGOPoT|XQYUp$jeW`dW9Q1kjz#P#FKJ!aH3zn{59p6;=yx%D9tmqxQwiPk>^XJ#hnQPa&UStGb;zpzVAA13RQ2C{(WQtPtlHN+xES>Qyk?T{p)3L zKdG1CZ}noWtWb#qCxunq6cmKZkSp8AJFQzC5VAmliNf$>rVM$2Q1P|$>9btrJLz|{ zSEp42us*S@mNJKs{J(s20WSGheRHFfo!iS!%VR(!BLtg%5&G73YBwnQiPTC@yb!(mV=4^=hMGc{L0KQ&GaYT41_sNl0+=?tU1#T8=w<5Hp>qu7gwyz zwLL3bXQ5-%%-%`x@Pre{8xpv$>VeI=t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ntBY@u7k%!+X7o>B<{Wf^*@YzUESz$bKtAufemd7|St0063A+%|% YzFqsNg>|5V=vOIWZ|#VBZRvIQe;Bk#LI3~& diff --git a/Old Releases/Owncloud 6/files_w2g/js/hv.png b/Old Releases/Owncloud 6/files_w2g/js/hv.png deleted file mode 100644 index 1c5e01f8bcecc4cf835e8eeeaa43ef2c06789022..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2865 zcmX9=3pmqV7@teXHB3Y-6(VIKN(`gs(lEJ2EJSn5Crm8<3KhyeDHUOICnT3LV_lSr zSZ;GyqBJp=+1PCR_SJKqbI$X;=RD_m-{1TDz3)kPaYD#Qs!D=DAQ^i*TUWu}ESNzO z!h$tb?&uc~NOHs8*4pjL*kZxr-PxxyX>x_gxykAYer+%xw7GJL6<~$lv;J_uukT@e zT+7b}$(pn*(JJ8$DZ#LZ01jlU-F%s?>x-3}&1jWkz{Hc;TVcidNj^67rKf!1D*@3) ztLL+`4RJ%9hMug+6V6!!-IHycuV!0OlQmpmv2CKSg0YG1{n}Dwm~{0fWmk@tnE%bH zGDMD}$zh}Xd*A5Jr>Ab?KaI7@rj$4go;`Iq6;(c5H(>=6GfP&HNa3NNYQLnDvJ2ne z$YJeDOOojN`RsDxcPJ(@V2^adMpBgs?_RszQhhwQTbkTUT9<$&gblmnY#tn#SD%?s z6!FjP;K)%vq`iXljQbV;EA`q3gN>D#kt_%-rrtu}_V)B!9x+O;F>_Uw;U$2LUW(r( zZ^t$jiL0NIPPJC#r9ftBYTo7JNd@BVMwfPoS>#W-s{js57)P8TQqF2LKJSC~q zN`(OhzStrI{*42`M}?+OHN|N(nHmc2&ss7X>pqp|EuFchzf#w`Q<>0h788{$3pLsi z{A+Y8H$ZvOeD+cX_=w?G*WmD7#5x;KQ;esP!0)6)^5AH8-y+H+(ltKN1HTE6jI?K z(Oj2zOym!q0yMO-dc+a4KFGVLQdOCayj7RKSbo5}XS%`Er&=Enk8l=Lt4N_|ws%>z zDTw$}Y`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PIO)*efxInfOwf5~K+Ou1gVxLJ znHJS9zagvG#*KbWDL=8YuMi#xgFQZk9Mq{0A}gF)8u?-xvaEZdtqyUFRTrLq*p?!~??u&DrIz2ow@FRy0XX+-+%7G>uU0&kTN1W1G| zr>H6)4|9Ji%2`d{EBb%`9?5PNx968;9+OmY4|DC?&+M;;jN=L6in4xY&Q$twq0QFAeZuQ15|q?2tO{QUL* E0LKozl>h($ diff --git a/Old Releases/Owncloud 6/files_w2g/js/jscolor.js b/Old Releases/Owncloud 6/files_w2g/js/jscolor.js deleted file mode 100644 index 6bb0c1f..0000000 --- a/Old Releases/Owncloud 6/files_w2g/js/jscolor.js +++ /dev/null @@ -1,997 +0,0 @@ -/** - * jscolor, JavaScript Color Picker - * - * @version 1.4.2 - * @license GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html - * @author Jan Odvarko, http://odvarko.cz - * @created 2008-06-15 - * @updated 2013-11-25 - * @link http://jscolor.com - */ - - -var jscolor = { - - - dir : '', // location of jscolor directory (leave empty to autodetect) - bindClass : 'color', // class name - binding : true, // automatic binding via - preloading : true, // use image preloading? - - - install : function() { - jscolor.addEvent(window, 'load', jscolor.init); - }, - - - init : function() { - if(jscolor.binding) { - jscolor.bind(); - } - if(jscolor.preloading) { - jscolor.preload(); - } - }, - - - getDir : function() { - if(!jscolor.dir) { - var detected = jscolor.detectDir(); - jscolor.dir = detected!==false ? detected : 'jscolor/'; - } - return jscolor.dir; - }, - - - detectDir : function() { - var base = location.href; - - var e = document.getElementsByTagName('base'); - for(var i=0; i vs[a] ? - (-vp[a]+tp[a]+ts[a]/2 > vs[a]/2 && tp[a]+ts[a]-ps[a] >= 0 ? tp[a]+ts[a]-ps[a] : tp[a]) : - tp[a], - -vp[b]+tp[b]+ts[b]+ps[b]-l+l*c > vs[b] ? - (-vp[b]+tp[b]+ts[b]/2 > vs[b]/2 && tp[b]+ts[b]-l-l*c >= 0 ? tp[b]+ts[b]-l-l*c : tp[b]+ts[b]-l+l*c) : - (tp[b]+ts[b]-l+l*c >= 0 ? tp[b]+ts[b]-l+l*c : tp[b]+ts[b]-l-l*c) - ]; - } - drawPicker(pp[a], pp[b]); - } - }; - - - this.importColor = function() { - if(!valueElement) { - this.exportColor(); - } else { - if(!this.adjust) { - if(!this.fromString(valueElement.value, leaveValue)) { - styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage; - styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor; - styleElement.style.color = styleElement.jscStyle.color; - this.exportColor(leaveValue | leaveStyle); - } - } else if(!this.required && /^\s*$/.test(valueElement.value)) { - valueElement.value = ''; - styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage; - styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor; - styleElement.style.color = styleElement.jscStyle.color; - this.exportColor(leaveValue | leaveStyle); - - } else if(this.fromString(valueElement.value)) { - // OK - } else { - this.exportColor(); - } - } - }; - - - this.exportColor = function(flags) { - if(!(flags & leaveValue) && valueElement) { - var value = this.toString(); - if(this.caps) { value = value.toUpperCase(); } - if(this.hash) { value = '#'+value; } - valueElement.value = value; - } - if(!(flags & leaveStyle) && styleElement) { - styleElement.style.backgroundImage = "none"; - styleElement.style.backgroundColor = - '#'+this.toString(); - styleElement.style.color = - 0.213 * this.rgb[0] + - 0.715 * this.rgb[1] + - 0.072 * this.rgb[2] - < 0.5 ? '#FFF' : '#000'; - } - if(!(flags & leavePad) && isPickerOwner()) { - redrawPad(); - } - if(!(flags & leaveSld) && isPickerOwner()) { - redrawSld(); - } - }; - - - this.fromHSV = function(h, s, v, flags) { // null = don't change - if(h !== null) { h = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, h)); } - if(s !== null) { s = Math.max(0.0, this.minS, Math.min(1.0, this.maxS, s)); } - if(v !== null) { v = Math.max(0.0, this.minV, Math.min(1.0, this.maxV, v)); } - - this.rgb = HSV_RGB( - h===null ? this.hsv[0] : (this.hsv[0]=h), - s===null ? this.hsv[1] : (this.hsv[1]=s), - v===null ? this.hsv[2] : (this.hsv[2]=v) - ); - - this.exportColor(flags); - }; - - - this.fromRGB = function(r, g, b, flags) { // null = don't change - if(r !== null) { r = Math.max(0.0, Math.min(1.0, r)); } - if(g !== null) { g = Math.max(0.0, Math.min(1.0, g)); } - if(b !== null) { b = Math.max(0.0, Math.min(1.0, b)); } - - var hsv = RGB_HSV( - r===null ? this.rgb[0] : r, - g===null ? this.rgb[1] : g, - b===null ? this.rgb[2] : b - ); - if(hsv[0] !== null) { - this.hsv[0] = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, hsv[0])); - } - if(hsv[2] !== 0) { - this.hsv[1] = hsv[1]===null ? null : Math.max(0.0, this.minS, Math.min(1.0, this.maxS, hsv[1])); - } - this.hsv[2] = hsv[2]===null ? null : Math.max(0.0, this.minV, Math.min(1.0, this.maxV, hsv[2])); - - // update RGB according to final HSV, as some values might be trimmed - var rgb = HSV_RGB(this.hsv[0], this.hsv[1], this.hsv[2]); - this.rgb[0] = rgb[0]; - this.rgb[1] = rgb[1]; - this.rgb[2] = rgb[2]; - - this.exportColor(flags); - }; - - - this.fromString = function(hex, flags) { - var m = hex.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i); - if(!m) { - return false; - } else { - if(m[1].length === 6) { // 6-char notation - this.fromRGB( - parseInt(m[1].substr(0,2),16) / 255, - parseInt(m[1].substr(2,2),16) / 255, - parseInt(m[1].substr(4,2),16) / 255, - flags - ); - } else { // 3-char notation - this.fromRGB( - parseInt(m[1].charAt(0)+m[1].charAt(0),16) / 255, - parseInt(m[1].charAt(1)+m[1].charAt(1),16) / 255, - parseInt(m[1].charAt(2)+m[1].charAt(2),16) / 255, - flags - ); - } - return true; - } - }; - - - this.toString = function() { - return ( - (0x100 | Math.round(255*this.rgb[0])).toString(16).substr(1) + - (0x100 | Math.round(255*this.rgb[1])).toString(16).substr(1) + - (0x100 | Math.round(255*this.rgb[2])).toString(16).substr(1) - ); - }; - - - function RGB_HSV(r, g, b) { - var n = Math.min(Math.min(r,g),b); - var v = Math.max(Math.max(r,g),b); - var m = v - n; - if(m === 0) { return [ null, 0, v ]; } - var h = r===n ? 3+(b-g)/m : (g===n ? 5+(r-b)/m : 1+(g-r)/m); - return [ h===6?0:h, m/v, v ]; - } - - - function HSV_RGB(h, s, v) { - if(h === null) { return [ v, v, v ]; } - var i = Math.floor(h); - var f = i%2 ? h-i : 1-(h-i); - var m = v * (1 - s); - var n = v * (1 - s*f); - switch(i) { - case 6: - case 0: return [v,n,m]; - case 1: return [n,v,m]; - case 2: return [m,v,n]; - case 3: return [m,n,v]; - case 4: return [n,m,v]; - case 5: return [v,m,n]; - } - } - - - function removePicker() { - delete jscolor.picker.owner; - document.getElementsByTagName('body')[0].removeChild(jscolor.picker.boxB); - } - - - function drawPicker(x, y) { - if(!jscolor.picker) { - jscolor.picker = { - box : document.createElement('div'), - boxB : document.createElement('div'), - pad : document.createElement('div'), - padB : document.createElement('div'), - padM : document.createElement('div'), - sld : document.createElement('div'), - sldB : document.createElement('div'), - sldM : document.createElement('div'), - btn : document.createElement('div'), - btnS : document.createElement('span'), - btnT : document.createTextNode(THIS.pickerCloseText) - }; - for(var i=0,segSize=4; i0) { - - - FileActions.register('file',text,OC.PERMISSION_READ,function(){return OC.imagePath('files_w2g','w2g.svg')},function(filename){ - getState(filename,"false"); - }); - - FileActions.register('dir',text,OC.PERMISSION_READ,function(){return OC.imagePath('files_w2g','w2g.svg')},function(filename){ - getState(filename,"false"); - }); - - $('#fileList').on('fileActionsReady',function(filename){ - $('#fileList tr td.filename a.name span.nametext').each(function() { - var $tr = $(this); - getState($tr.html(),"true"); - }); - }); - } - - - $.ajax({ - url: OC.filePath('files_w2g','ajax','getcolor.php'), - type: "post", - data: { type: 'color'}, - async: false, - success: function(data){if(data!=""){color = data;}}, - }); - - $.ajax({ - url: OC.filePath('files_w2g','ajax','getcolor.php'), - type: "post", - data: { type: 'fontcolor'}, - async: false, - success: function(data){if(data!=""){fontcolor = data;}}, - }); - - var cssrules = $("").appendTo("head"); - cssrules.append(".statelock{ background-color:#"+color+";color:#"+fontcolor+" !important;}.statelock span.modified{color:#"+fontcolor+" !important;}"); - -}); - -function disable_control(filename) -{ - - $('#fileList tr').each(function() { - - var $tr = $(this); - - var $_tr = $tr.html().replace(/^\s+|\s+$/g, '').replace('','').replace('',''); - - if($_tr.indexOf(lockedtext)!=-1||$_tr.indexOf(lockstate)!=-1) - { - if($_tr.indexOf(filename)!=-1) - $tr.find('a.action[data-action!='+text+']').addClass('locked'); - $tr.find('a.name').addClass('statelock'); - $tr.find('td.filesize').addClass('statelock'); - $tr.find('td.date').addClass('statelock'); - - } - }); -} - -function enable_control(filename) -{ - $('#fileList tr').each(function() { - - var $tr = $(this); - - var $_tr = $tr.html().replace(/^\s+|\s+$/g, '').replace('','').replace('',''); - - if($_tr.indexOf(lockedtext)==-1 && $_tr.indexOf(lockstate)==-1) - { - if($_tr.indexOf(filename)!=-1) - $tr.find('a.action[data-action!='+text+']').removeClass('locked'); - $tr.find('a.name').removeClass('statelock'); - $tr.find('td.filesize').removeClass('statelock'); - $tr.find('td.date').removeClass('statelock'); - } - }); -} - -function translate(text) -{ - $.ajax({ - url: OC.filePath('files_w2g','ajax','l10n.php'), - type: "post", - data: { rawtext: text}, - async: false, - success: function(data){text = data;}, - }); - return text; -} - -function getState(filename,_safe) -{ - filename = filename.replace(/^\s+|\s+$/g, '').replace('','').replace('',''); - - oc_dir = $('#dir').val(); - filename = filename.replace(/ /g, "%20"); - oc_path = oc_dir +'/'+filename; - - - $.ajax({ - url: OC.filePath('files_w2g','ajax','workin2gether.php'), - type: "post", - data: { path: oc_path, safe: _safe}, - success: function(data){postmode(filename,data)}, - }); - -} - -function postmode(filename,data) -{ - filename = filename.replace(/%20/g,' '); - - var html = ' '+data; - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.name').find('span.fileactions').find("a.action").filterAttr('data-action',text).html(html); - - if(data==lockedtext||data==lockstate) - disable_control(filename); - else - enable_control(filename); - -} - diff --git a/Old Releases/Owncloud 6/files_w2g/l10n/de.php b/Old Releases/Owncloud 6/files_w2g/l10n/de.php deleted file mode 100644 index f0727e6..0000000 --- a/Old Releases/Owncloud 6/files_w2g/l10n/de.php +++ /dev/null @@ -1,14 +0,0 @@ - "Datei nicht gesperrt", -"File is locked" => "Datei ist gesperrt", -"Status: locked" => "Status: gesperrt", -"Status: not locked" => "Status: nicht gesperrt", -"filelock" => "Dateisperre", -"Multi file access" => "Mehrfachzugriff", -"configuration" => "konfigurieren", -"You can choose the backcolor for locked files in the file list" => "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"You can set an additional font color" => "Schriftfarbe bei gesperrten Dateien", -"Save background color" => "Hintergrundfarbe speichern", -"Save font color" => "Schriftfarbe speichern", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 6/files_w2g/l10n/de_DE.php b/Old Releases/Owncloud 6/files_w2g/l10n/de_DE.php deleted file mode 100644 index f0727e6..0000000 --- a/Old Releases/Owncloud 6/files_w2g/l10n/de_DE.php +++ /dev/null @@ -1,14 +0,0 @@ - "Datei nicht gesperrt", -"File is locked" => "Datei ist gesperrt", -"Status: locked" => "Status: gesperrt", -"Status: not locked" => "Status: nicht gesperrt", -"filelock" => "Dateisperre", -"Multi file access" => "Mehrfachzugriff", -"configuration" => "konfigurieren", -"You can choose the backcolor for locked files in the file list" => "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"You can set an additional font color" => "Schriftfarbe bei gesperrten Dateien", -"Save background color" => "Hintergrundfarbe speichern", -"Save font color" => "Schriftfarbe speichern", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 6/files_w2g/l10n/en@pirate.php b/Old Releases/Owncloud 6/files_w2g/l10n/en@pirate.php deleted file mode 100644 index 7b6d0af..0000000 --- a/Old Releases/Owncloud 6/files_w2g/l10n/en@pirate.php +++ /dev/null @@ -1,8 +0,0 @@ - "File not locked", -"File is locked" => "File is locked", -"Status: locked" => "Status: locked", -"Status: not locked" => "Status: not locked", -"filelock" => "filelock" -); diff --git a/Old Releases/Owncloud 6/files_w2g/l10n/en_GB.php b/Old Releases/Owncloud 6/files_w2g/l10n/en_GB.php deleted file mode 100644 index 7b6d0af..0000000 --- a/Old Releases/Owncloud 6/files_w2g/l10n/en_GB.php +++ /dev/null @@ -1,8 +0,0 @@ - "File not locked", -"File is locked" => "File is locked", -"Status: locked" => "Status: locked", -"Status: not locked" => "Status: not locked", -"filelock" => "filelock" -); diff --git a/Old Releases/Owncloud 6/files_w2g/templates/admin.php b/Old Releases/Owncloud 6/files_w2g/templates/admin.php deleted file mode 100644 index 70a461c..0000000 --- a/Old Releases/Owncloud 6/files_w2g/templates/admin.php +++ /dev/null @@ -1,44 +0,0 @@ -execute()->fetchAll(); -if(count($result)>=1) - $value = $result[0]['configvalue']; - -//fontcolor -$query = \OCP\DB::prepare("SELECT * FROM *PREFIX*appconfig where configkey='fontcolor' and appid='files_w2g' LIMIT 1"); -$result = $query->execute()->fetchAll(); -if(count($result)>=1) - $font_value = $result[0]['configvalue']; - -//---------------------------------------------------------------------------------------------------------------------------- - -\OCP\Util::addscript(app::name, 'admin'); -\OCP\Util::addscript(app::name, 'jscolor'); -?> - -
-

t('Multi file access').' '.$l->t('configuration')) ?>

- - t("You can choose the backcolor for locked files in the file list")); - - echo ' -

- #

-  

- '.$l->t("You can set an additional font color").'
- #

-  

- '; - ?> -
\ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/admin.php b/Old Releases/Owncloud 7/files_w2g/admin.php deleted file mode 100644 index 1eefc32..0000000 --- a/Old Releases/Owncloud 7/files_w2g/admin.php +++ /dev/null @@ -1,8 +0,0 @@ -fetchPage(); - diff --git a/Old Releases/Owncloud 7/files_w2g/ajax/admin_db.php b/Old Releases/Owncloud 7/files_w2g/ajax/admin_db.php deleted file mode 100644 index fdd3aa5..0000000 --- a/Old Releases/Owncloud 7/files_w2g/ajax/admin_db.php +++ /dev/null @@ -1,18 +0,0 @@ -execute(); - echo "clear"; - break; - - case 'clearthis': - \OCP\DB::prepare("DELETE FROM *PREFIX*".app::table." WHERE name=?")->execute(array($_POST['lock'])); - echo "clear"; - break; -} - -?> \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/ajax/getcolor.php b/Old Releases/Owncloud 7/files_w2g/ajax/getcolor.php deleted file mode 100644 index 632c96e..0000000 --- a/Old Releases/Owncloud 7/files_w2g/ajax/getcolor.php +++ /dev/null @@ -1,8 +0,0 @@ -execute(array($_POST['type']))->fetchAll(); - -if(count($result)>=1) echo $result[0]['configvalue']; - -else echo ""; \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/ajax/update.php b/Old Releases/Owncloud 7/files_w2g/ajax/update.php deleted file mode 100644 index c5ad05b..0000000 --- a/Old Releases/Owncloud 7/files_w2g/ajax/update.php +++ /dev/null @@ -1,31 +0,0 @@ -execute(array($mode))->fetchAll(); - -if(count($result)<1)//Color already set? -{ - $query = \OCP\DB::prepare("INSERT INTO *PREFIX*appconfig(appid,configkey,configvalue) value('files_w2g',?,?)"); - $result = $query->execute(array($mode,$color)); - echo $l->t("Color has been set!"); -} -else -{ - $query = \OCP\DB::prepare("UPDATE *PREFIX*appconfig set configvalue=? WHERE appid='files_w2g' and configkey=?"); - $result = $query->execute(array($color,$mode)); - echo $l->t("Updated successfully!"); - - -} \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/ajax/workin2gether.php b/Old Releases/Owncloud 7/files_w2g/ajax/workin2gether.php deleted file mode 100644 index c3b827f..0000000 --- a/Old Releases/Owncloud 7/files_w2g/ajax/workin2gether.php +++ /dev/null @@ -1,88 +0,0 @@ - for -supporting me the whole development progress. -*/ -namespace OCA\files_w2g; - -//Init translations -$l = \OCP\Util::getL10N('files_w2g'); - -//Requirements check -\OCP\JSON::checkLoggedIn(); -\OCP\JSON::checkAppEnabled('files_w2g'); - -//Init Database table -$exist = \OCP\DB::prepare("SHOW TABLES LIKE '*PREFIX*".app::table."'")->execute()->fetchAll(); - - -if($exist==null) -{ - @$query = \OCP\DB::prepare("CREATE table *PREFIX*".app::table."(name varchar(255) PRIMARY KEY,created TIMESTAMP DEFAULT CURRENT_TIMESTAMP,locked_by varchar(255)) ".app::charset); - @$query->execute()->fetchAll(); -} -//<-End Init Database table - -//Vars -$path = stripslashes($_POST['path']) ; -@$safe = @$_POST['safe']; -@$owner = @$_POST['owner']; -@$id = @$_POST['id']; -$ppath = lockname($path); - -//Resolve the shared file -if(@$owner!="") -{ - $query = \OCP\DB::prepare("SELECT X.path, Y.id FROM *PREFIX*filecache X INNER JOIN *PREFIX*storages Y ON X.storage = Y.numeric_id where X.fileid = ".$id." LIMIT 1"); - $result = $query->execute()->fetchAll(); // ? with execute parameters weren't working, so I used it in prepare - - $original_path = $result[0]['path']; - $storage_id = str_replace("home::","",$result[0]['id']).'/'; - - $lockpath = $storage_id.$original_path; -} -else $lockpath = \OCP\USER::getUser()."/files".cleanPath($path); - -//Lock DB entry -$lockfile = lockname($lockpath); -$db_lock_state = \OCP\DB::prepare("SELECT * FROM *PREFIX*".app::table." WHERE name = ?")->execute(array($lockfile))->fetchAll(); - -if ($db_lock_state!=null) -{ - if(@$safe=="false") - { - \OCP\DB::prepare("DELETE FROM *PREFIX*".app::table." WHERE name=?")->execute(array($lockfile)); - echo $l->t("File not locked"); - } - else echo $l->t("Status: locked")." ".$l->t("by")." ".$db_lock_state[0]['locked_by']; -} -else -{ - if(@$safe=="false") - { - \OCP\DB::prepare("INSERT INTO *PREFIX*".app::table."(name,locked_by) VALUES(?,?)")->execute(array($lockfile,\OCP\User::getUser())); - echo $l->t("File is locked")." ".$l->t("by")." ".\OCP\User::getUser(); - } - else echo $l->t("Status: not locked"); -} - -function lockname($path) -{ - //Replace all '/' with $ for a filename for the lock file - $ppath = str_replace("/","$",cleanPath($path))."$"; - $ppath = str_replace(":","#",$ppath); - - //Remove double dollar char when exist - if ($ppath[0] == "$" and $ppath[1] == "$") $ppath = substr($ppath,1); - - return preg_replace('/\\\/','$',$ppath); -} - -function cleanPath($path) -{ - return preg_replace('{(/)\1+}', "/", urldecode(rtrim($path, "/"))); -} \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/appinfo/app.php b/Old Releases/Owncloud 7/files_w2g/appinfo/app.php deleted file mode 100644 index 4b001da..0000000 --- a/Old Releases/Owncloud 7/files_w2g/appinfo/app.php +++ /dev/null @@ -1,27 +0,0 @@ - - - files_w2g - Workin2gether - - Pseudo multiaccess-management feature for Owncloud. - You can lock files and disable the fileactions, leaving only the fileaction of unlocking a file. - Please leave your feedback and rate this app, if you like it! - - AGPL - Patrick Hoffmann - 0.7.2.1b - 6.00 - diff --git a/Old Releases/Owncloud 7/files_w2g/css/styles.css b/Old Releases/Owncloud 7/files_w2g/css/styles.css deleted file mode 100644 index b354deb..0000000 --- a/Old Releases/Owncloud 7/files_w2g/css/styles.css +++ /dev/null @@ -1,17 +0,0 @@ - -a.action.locked{ display:none !important; } - -a.action-getstate_file.locked, a.action-getstate_dir.locked{ display:inline !important; } - -a.statelock a.action[data-action!=getstate_dir&&data-action!=getstate_file]{ -pointer-events:none; -} -td.statelock:focus{pointer-events:none;} - -a.action-getstate_file, a.action-getstate_dir{ cursor:pointer !important;} - -a.name.statelock a.action{ color:#eee; opacity:1 !important; } - -a.name.statelock a.action:hover, a.name.statelock span.extension{ color:#fff; } - -.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled{ opacity:1.0;} \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/img/pattern.png b/Old Releases/Owncloud 7/files_w2g/img/pattern.png deleted file mode 100644 index 465261a36bacc822ffe1b7fee4efb0d90bb8b25c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1196 zcmV;d1XKHoP)&o=A7g|Fx7>O>9^<{O>>`h&(jjs`=khZ|ZidM7 zwJo$n8}>KDIvh|7ag#u6&P{d3$mtLm!8wdrwv`=t=^>3~zult?4}S|Sv0)zL zCf0;CVsb)xIf};+gIBl}ABIM7R+L5(w~)arHq`)na_$IWiq7O(hXXF_w)h#%;szAW z$?#FIVa^l&(JzNv%8K2H5i&$83&g<=n~1J%^dblRsXT;*4(_nCJuzUh>#{AJtSVn$ zU#KF~8PT%^@snL*E-7;KwbdvM0zbg#r)zy}V$F>ZdRf{a`nFlw|TNHMCx#il*N@_G7P5s`%Vq1XVQX93@ z!hPI8Kq7~Zj$ck%EW0Y|>Oiu*yL*pA4LUqz;Ab?Q#hAk_SluYG$vW5*M5m>V2Q$#g z6g3H{PJ7LFVzfNbIz!_Rd3D`z=I!Fq0@7Vlx-fK0>>6bv5Rt)aK5Hz<_C2FcIC>cG zfxq+0R%BnWLptS!-dnzC>fTTC2w=w3PMB0{ev&(4OU zafE)Tj|TSB#=-vmP_wpWjW0u_5Y1r^raku{CD70h8ULolG4cfxB5u&h7XSYGaX!NU zKL_Tx;WvhM8@7)SfJeXeElL^wH%K|KO(a_A|o> z8atc)KJv=l;jr7bF=Hfgtmsd9vc~2H6sTkBK@fqYjUdlo0R{jvRT-4R2zv(r0000< KMNUMnLSTXu;43u% diff --git a/Old Releases/Owncloud 7/files_w2g/img/w2g.svg b/Old Releases/Owncloud 7/files_w2g/img/w2g.svg deleted file mode 100644 index d677970..0000000 --- a/Old Releases/Owncloud 7/files_w2g/img/w2g.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/Old Releases/Owncloud 7/files_w2g/js/admin.js b/Old Releases/Owncloud 7/files_w2g/js/admin.js deleted file mode 100644 index f03bd46..0000000 --- a/Old Releases/Owncloud 7/files_w2g/js/admin.js +++ /dev/null @@ -1,52 +0,0 @@ -$(document).ready(function(){ - - $('#submitColor').click(function(){ - $.ajax({ - url: OC.filePath('files_w2g','ajax','update.php'), - type: "post", - data: { color: $('#multicolor').val()}, - async: false, - success: function(data){text = data;}, - }); - alert(text); - }); - - $('#submitfontcolor').click(function(){ - $.ajax({ - url: OC.filePath('files_w2g','ajax','update.php'), - type: "post", - data: { fontcolor: $('#multifontcolor').val()}, - async: false, - success: function(data){text = data;}, - }); - alert(text); - }); - - $('#clearall').click(function(){ - $.ajax({ - url: OC.filePath('files_w2g','ajax','admin_db.php'), - type: "post", - data: { action: 'clearall'}, - async: false, - success: function(data){ - if(data=="clear") $('#lockfield').html(t("files_w2g","There are no locked files at the moment"));}, - }); - }); - - $('#clearthis').click(function(){ - $.ajax({ - url: OC.filePath('files_w2g','ajax','admin_db.php'), - type: "post", - data: { action: 'clearthis',lock: $('#select_lock option:selected').val()}, - async: false, - success: function(data){ - if(data=="clear") $('#select_lock option:selected').remove(); - - if($.trim($('#select_lock').html())=="") - $('#lockfield').html(t("files_w2g","There are no locked files at the moment")); - - }, - }); - }); - -}); \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/js/arrow.gif b/Old Releases/Owncloud 7/files_w2g/js/arrow.gif deleted file mode 100644 index 246478a864f812d93d4cd0e0d0ad1c8e2d09c825..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 66 zcmZ?wbhEHbWM|-JSjfZx1poj4Utv=LM2bII7`Ygj7<53QAbAERVV@R>f}L*~a`L;Z PKCZl?^}@uHk--`OML81Y diff --git a/Old Releases/Owncloud 7/files_w2g/js/cross.gif b/Old Releases/Owncloud 7/files_w2g/js/cross.gif deleted file mode 100644 index 0ee9c7ac517bee40b78aea03afa809631f0b69fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmZ?wbhEHb3k<8jPQJQ=fuv5eVo^ZVob{r>y?yxzz6n|{I3RuQNUl#q~6w6{Y!i_W*AbzM$M zv?qg)_ee+pt?W@2m!pR{B_p?CM-{APX1sq0k!v%Dx?=2xC6f&jlZz_Dn#dT_Y>InI z6zGP*0qIZBM5F|EZW=wONLxZCI;oxx8efxF<=55NtkzwRuA@S|$OSZUS~0 zbSDgzxPwEAll?BgdT}XWOAZOcMD`pUO+CGfB}rVxe|WEK0gw_Tz-cDmNG4L+O1B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W4d~?c5Fm1;n8+WV9n3A zREIvTfx}B&q+1AP^S|orTG__8w)t@5vGN(1#THk!CKLHp`#)!zH7z`x^Y2abdkC%N zVpo9#I|*N>2gAEStK;2nH>2-d8UgV}Ce62}O-VSnpIx1GP7~)f>xpwmI^Gq>t9ccs zdo47kYWW=g+WUVuK=)o4jL>*SZet8NcRq)42(#4#7K&?jfMC8bH5#uho9aCC9Sc8| z&eN*3Xr9L%twp11piU_UMd7cxt!d0dy(tNJ+3&*_^j;1X9gV|DYj@pg2={0^wT+T5 z?Xw4UzW(|>jIRGsKJaB+PUaLZQP!rJ26J1VGh%$e>x-WKf|{S*YSJH@EETJjsGMoT zZ6{6eiS3#V@YL5Z@Hgy9@bEpRGI;>Z_}tQa8IhV#m14ak_?Dm8Rb(N8c>8!Bbg8nV z@Fnflx2C1NJLL_>Z|O7~CV@n+T&C@vpgqh~t(`X)qaj=ypFdgdNZsNlmAwU7;S#iO z`J>RxSlI>*l1c;-I(BztG~ID9hmZHLX}mTDprkNW`2*nM`NCrG^K)aoYd*>U5=8}T zz<8Trh(5#1==-ntBY@u7k%!+X7o>B<{Wf^*@YzUESz$bKtAufemd7|St0063A+%|% YzFqsNg>|5V=vOIWZ|#VBZRvIQe;Bk#LI3~& diff --git a/Old Releases/Owncloud 7/files_w2g/js/hv.png b/Old Releases/Owncloud 7/files_w2g/js/hv.png deleted file mode 100644 index 1c5e01f8bcecc4cf835e8eeeaa43ef2c06789022..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2865 zcmX9=3pmqV7@teXHB3Y-6(VIKN(`gs(lEJ2EJSn5Crm8<3KhyeDHUOICnT3LV_lSr zSZ;GyqBJp=+1PCR_SJKqbI$X;=RD_m-{1TDz3)kPaYD#Qs!D=DAQ^i*TUWu}ESNzO z!h$tb?&uc~NOHs8*4pjL*kZxr-PxxyX>x_gxykAYer+%xw7GJL6<~$lv;J_uukT@e zT+7b}$(pn*(JJ8$DZ#LZ01jlU-F%s?>x-3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+}{?yp8BIm>I-u0&;G(EAzl`dWB zRwuQl%yBKwtv`^NR}gNuzg>8Y(x1DoZboBm7h9&Lhd6FL<64*y8ZDcoR+2S>La>P{ zdT}{ovrGh|#CyWM!R~Nh2aG>ZjO+}-icsKGb<8`S26!F3nT0k<6$)RZuei(y1^m-V z`FzfUFvRX2AB~LzUAD`t4sh4+X?+2kj20+cq*#lahA)7AosJ-k#=;GD*U}97uFLKj zo^@6(zQe&aeK^$2IN*IzWO-uxdlY3#5IvJ?Va5_yC8^$xf6c)Wz8!vpPzq^I#s8-J zYyM?GrR0`h}1un-M;JJa=H9Ncb^MF#<$~pqrt4epF8nadCmVNKJuIWM9YdYW&cwO1A~wUN zrd-jpV#03i+W0W%1&nO}Uy!h7u>^0`~OuH_{)(AjBe;hsQ!*)mO_DzpGRC zyox}(f&d2Gpi6^iw#eB7bVT;3FFa@cC>tM0 zh`Tj?={tK()4_woqpfX-$RrW>1rj>)NVFkyuySiiw7RSW_`4Px7jCb2c4SAc`*^t$*(d zB&ak&1Rbch68*E0=N1vmji9yfXFnH>R$*ue>|7dPIO)*efxInfOwf5~K+Ou1gVxLJ znHJS9zagvG#*KbWDL=8YuMi#xgFQZk9Mq{0A}gF)8u?-xvaEZdtqyUFRTrLq*p?!~??u&DrIz2ow@FRy0XX+-+%7G>uU0&kTN1W1G| zr>H6)4|9Ji%2`d{EBb%`9?5PNx968;9+OmY4|DC?&+M;;jN=L6in4xY&Q$twq0QFAeZuQ15|q?2tO{QUL* E0LKozl>h($ diff --git a/Old Releases/Owncloud 7/files_w2g/js/jscolor.js b/Old Releases/Owncloud 7/files_w2g/js/jscolor.js deleted file mode 100644 index 6bb0c1f..0000000 --- a/Old Releases/Owncloud 7/files_w2g/js/jscolor.js +++ /dev/null @@ -1,997 +0,0 @@ -/** - * jscolor, JavaScript Color Picker - * - * @version 1.4.2 - * @license GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html - * @author Jan Odvarko, http://odvarko.cz - * @created 2008-06-15 - * @updated 2013-11-25 - * @link http://jscolor.com - */ - - -var jscolor = { - - - dir : '', // location of jscolor directory (leave empty to autodetect) - bindClass : 'color', // class name - binding : true, // automatic binding via - preloading : true, // use image preloading? - - - install : function() { - jscolor.addEvent(window, 'load', jscolor.init); - }, - - - init : function() { - if(jscolor.binding) { - jscolor.bind(); - } - if(jscolor.preloading) { - jscolor.preload(); - } - }, - - - getDir : function() { - if(!jscolor.dir) { - var detected = jscolor.detectDir(); - jscolor.dir = detected!==false ? detected : 'jscolor/'; - } - return jscolor.dir; - }, - - - detectDir : function() { - var base = location.href; - - var e = document.getElementsByTagName('base'); - for(var i=0; i vs[a] ? - (-vp[a]+tp[a]+ts[a]/2 > vs[a]/2 && tp[a]+ts[a]-ps[a] >= 0 ? tp[a]+ts[a]-ps[a] : tp[a]) : - tp[a], - -vp[b]+tp[b]+ts[b]+ps[b]-l+l*c > vs[b] ? - (-vp[b]+tp[b]+ts[b]/2 > vs[b]/2 && tp[b]+ts[b]-l-l*c >= 0 ? tp[b]+ts[b]-l-l*c : tp[b]+ts[b]-l+l*c) : - (tp[b]+ts[b]-l+l*c >= 0 ? tp[b]+ts[b]-l+l*c : tp[b]+ts[b]-l-l*c) - ]; - } - drawPicker(pp[a], pp[b]); - } - }; - - - this.importColor = function() { - if(!valueElement) { - this.exportColor(); - } else { - if(!this.adjust) { - if(!this.fromString(valueElement.value, leaveValue)) { - styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage; - styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor; - styleElement.style.color = styleElement.jscStyle.color; - this.exportColor(leaveValue | leaveStyle); - } - } else if(!this.required && /^\s*$/.test(valueElement.value)) { - valueElement.value = ''; - styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage; - styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor; - styleElement.style.color = styleElement.jscStyle.color; - this.exportColor(leaveValue | leaveStyle); - - } else if(this.fromString(valueElement.value)) { - // OK - } else { - this.exportColor(); - } - } - }; - - - this.exportColor = function(flags) { - if(!(flags & leaveValue) && valueElement) { - var value = this.toString(); - if(this.caps) { value = value.toUpperCase(); } - if(this.hash) { value = '#'+value; } - valueElement.value = value; - } - if(!(flags & leaveStyle) && styleElement) { - styleElement.style.backgroundImage = "none"; - styleElement.style.backgroundColor = - '#'+this.toString(); - styleElement.style.color = - 0.213 * this.rgb[0] + - 0.715 * this.rgb[1] + - 0.072 * this.rgb[2] - < 0.5 ? '#FFF' : '#000'; - } - if(!(flags & leavePad) && isPickerOwner()) { - redrawPad(); - } - if(!(flags & leaveSld) && isPickerOwner()) { - redrawSld(); - } - }; - - - this.fromHSV = function(h, s, v, flags) { // null = don't change - if(h !== null) { h = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, h)); } - if(s !== null) { s = Math.max(0.0, this.minS, Math.min(1.0, this.maxS, s)); } - if(v !== null) { v = Math.max(0.0, this.minV, Math.min(1.0, this.maxV, v)); } - - this.rgb = HSV_RGB( - h===null ? this.hsv[0] : (this.hsv[0]=h), - s===null ? this.hsv[1] : (this.hsv[1]=s), - v===null ? this.hsv[2] : (this.hsv[2]=v) - ); - - this.exportColor(flags); - }; - - - this.fromRGB = function(r, g, b, flags) { // null = don't change - if(r !== null) { r = Math.max(0.0, Math.min(1.0, r)); } - if(g !== null) { g = Math.max(0.0, Math.min(1.0, g)); } - if(b !== null) { b = Math.max(0.0, Math.min(1.0, b)); } - - var hsv = RGB_HSV( - r===null ? this.rgb[0] : r, - g===null ? this.rgb[1] : g, - b===null ? this.rgb[2] : b - ); - if(hsv[0] !== null) { - this.hsv[0] = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, hsv[0])); - } - if(hsv[2] !== 0) { - this.hsv[1] = hsv[1]===null ? null : Math.max(0.0, this.minS, Math.min(1.0, this.maxS, hsv[1])); - } - this.hsv[2] = hsv[2]===null ? null : Math.max(0.0, this.minV, Math.min(1.0, this.maxV, hsv[2])); - - // update RGB according to final HSV, as some values might be trimmed - var rgb = HSV_RGB(this.hsv[0], this.hsv[1], this.hsv[2]); - this.rgb[0] = rgb[0]; - this.rgb[1] = rgb[1]; - this.rgb[2] = rgb[2]; - - this.exportColor(flags); - }; - - - this.fromString = function(hex, flags) { - var m = hex.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i); - if(!m) { - return false; - } else { - if(m[1].length === 6) { // 6-char notation - this.fromRGB( - parseInt(m[1].substr(0,2),16) / 255, - parseInt(m[1].substr(2,2),16) / 255, - parseInt(m[1].substr(4,2),16) / 255, - flags - ); - } else { // 3-char notation - this.fromRGB( - parseInt(m[1].charAt(0)+m[1].charAt(0),16) / 255, - parseInt(m[1].charAt(1)+m[1].charAt(1),16) / 255, - parseInt(m[1].charAt(2)+m[1].charAt(2),16) / 255, - flags - ); - } - return true; - } - }; - - - this.toString = function() { - return ( - (0x100 | Math.round(255*this.rgb[0])).toString(16).substr(1) + - (0x100 | Math.round(255*this.rgb[1])).toString(16).substr(1) + - (0x100 | Math.round(255*this.rgb[2])).toString(16).substr(1) - ); - }; - - - function RGB_HSV(r, g, b) { - var n = Math.min(Math.min(r,g),b); - var v = Math.max(Math.max(r,g),b); - var m = v - n; - if(m === 0) { return [ null, 0, v ]; } - var h = r===n ? 3+(b-g)/m : (g===n ? 5+(r-b)/m : 1+(g-r)/m); - return [ h===6?0:h, m/v, v ]; - } - - - function HSV_RGB(h, s, v) { - if(h === null) { return [ v, v, v ]; } - var i = Math.floor(h); - var f = i%2 ? h-i : 1-(h-i); - var m = v * (1 - s); - var n = v * (1 - s*f); - switch(i) { - case 6: - case 0: return [v,n,m]; - case 1: return [n,v,m]; - case 2: return [m,v,n]; - case 3: return [m,n,v]; - case 4: return [n,m,v]; - case 5: return [v,m,n]; - } - } - - - function removePicker() { - delete jscolor.picker.owner; - document.getElementsByTagName('body')[0].removeChild(jscolor.picker.boxB); - } - - - function drawPicker(x, y) { - if(!jscolor.picker) { - jscolor.picker = { - box : document.createElement('div'), - boxB : document.createElement('div'), - pad : document.createElement('div'), - padB : document.createElement('div'), - padM : document.createElement('div'), - sld : document.createElement('div'), - sldB : document.createElement('div'), - sldM : document.createElement('div'), - btn : document.createElement('div'), - btnS : document.createElement('span'), - btnT : document.createTextNode(THIS.pickerCloseText) - }; - for(var i=0,segSize=4; i0) { - - //Initiate the FileAction for file - OCA.Files.fileActions.register( - 'file', - 'getstate_file', - OC.PERMISSION_UPDATE, - function(){ return OC.imagePath('files_w2g','w2g.svg') }, - function(filename,context) { getState(context.$file.attr('data-id'),filename,context.$file.attr('data-share-owner'),"false") }, t('files_w2g',text) - ); - - //Initiate the FileAction for dir - OCA.Files.fileActions.register( - 'dir', - 'getstate_dir', - OC.PERMISSION_UPDATE, - function(){ return OC.imagePath('files_w2g','w2g.svg') }, - function(filename,context) { getState(context.$file.attr('data-id'),filename,context.$file.attr('data-share-owner'),"false") }, t('files_w2g',text) - ); - - //Walk through all files in the active Filelist - $('#content').delegate('#fileList', 'fileActionsReady',function(ev){ - - var $fileList = ev.fileList.$fileList; - - $fileList.find('tr').each(function(){ - $filename = $(this).attr('data-file'); - $owner = $(this).attr('data-share-owner'); - $id = $(this).attr('data-id'); - getState($id,$filename,$owner,"true"); - }); - }); - } - - //Get the Background-color from the database - $.ajax({ - url: OC.filePath('files_w2g','ajax','getcolor.php'), - type: "post", - data: { type: 'color'}, - async: false, - success: function(data){if(data!=""){color = data;}}, - }); - - //Get the Fontcolor from the database - $.ajax({ - url: OC.filePath('files_w2g','ajax','getcolor.php'), - type: "post", - data: { type: 'fontcolor'}, - async: false, - success: function(data){if(data!=""){fontcolor = data;}}, - }); - - //Add dynamic CSS code - var cssrules = $("").appendTo("head"); - cssrules.append(".statelock{ background-color:#"+color+";color:#"+fontcolor+" !important;}"+ - ".statelock span.modified{color:#"+fontcolor+" !important;}"+ - "a.action-getstate_file.locked,a.action-getstate_dir.locked{color:#"+fontcolor+" !important;}"+ - "a.action-getstate_file.locked:hover,a.action-getstate_dir.locked:hover{color:#fff !important;}"); -}); - -//Switch the Lockstate -function toggle_control(filename) -{ - //Walk through the Filelists - $('#fileList tr').each(function() { - - var $tr = $(this); - var $_tr = $tr.html().replace(/^\s+|\s+$/g, '').replace('','').replace('',''); - - if($_tr.indexOf(filename)!=-1) - { - if($_tr.indexOf(lockedtext)==-1 && $_tr.indexOf(lockstate)==-1) - { //unlock - $tr.find('a.action[data-action!='+text+']').removeClass('locked'); - $tr.find('a.name').removeClass('statelock'); - $tr.find('td.filesize').removeClass('statelock'); - $tr.find('td.date').removeClass('statelock'); - $tr.find('td').removeClass('statelock'); - $tr.find('td').draggable('enable'); - } - else if($_tr.indexOf(lockedtext)!=-1||$_tr.indexOf(lockstate)!=-1) - { //lock - $tr.find('a.action[data-action!='+text+']').addClass('locked'); - $tr.find('a.name').addClass('statelock'); - $tr.find('td.filesize').addClass('statelock'); - $tr.find('td.date').addClass('statelock'); - $tr.find('td').addClass('statelock'); - $tr.find('td').draggable('disable'); - } - } - }); -} - -//Get the current state -function getState( _id, _filename, _owner, _safe) -{ - oc_dir = $('#dir').val(); - _filename = _filename.replace(/ /g, "%20"); - oc_path = oc_dir +'/'+_filename; - - $.ajax({ - url: OC.filePath('files_w2g','ajax','workin2gether.php'), - type: "post", - data: { path: oc_path, safe: _safe, owner: _owner, id: _id}, - success: function(data){postmode(_filename,data)}, - }); -} - -//Push the status -function postmode(filename,data) -{ - filename = filename.replace(/%20/g,' '); - - var html = ' '+''+data+''; - - //Push the status text to the file - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.name').find('span.fileactions').find("a.action").filterAttr('data-action','getstate_file').html(html); - - //Push the status text to the dir - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.name').find('span.fileactions').find("a.action").filterAttr('data-action','getstate_dir').html(html); - - toggle_control(filename); -} \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/l10n/de.php b/Old Releases/Owncloud 7/files_w2g/l10n/de.php deleted file mode 100644 index bee1491..0000000 --- a/Old Releases/Owncloud 7/files_w2g/l10n/de.php +++ /dev/null @@ -1,18 +0,0 @@ - "Datei nicht gesperrt", -"File is locked" => "Datei ist gesperrt", -"Status: locked" => "Status: gesperrt", -"Status: not locked" => "Status: nicht gesperrt", -"filelock" => "Dateisperre", -"Manage multiaccess" => "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." => "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" => "Hintergrundfarbe", -"Font color" => "Vordergrundfarbe", -"Save" => "Speichern", -"There are no locked files at the moment" => "Aktuell sind keine Dateien gesperrt", -"Locked files" => "Gesperrte Dateien", -"Unlock this file" => "Diese Datei entsperren", -"Unlock all files" => "Alle Dateien entsperren", -"by" => "von", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/l10n/de_DE.php b/Old Releases/Owncloud 7/files_w2g/l10n/de_DE.php deleted file mode 100644 index bee1491..0000000 --- a/Old Releases/Owncloud 7/files_w2g/l10n/de_DE.php +++ /dev/null @@ -1,18 +0,0 @@ - "Datei nicht gesperrt", -"File is locked" => "Datei ist gesperrt", -"Status: locked" => "Status: gesperrt", -"Status: not locked" => "Status: nicht gesperrt", -"filelock" => "Dateisperre", -"Manage multiaccess" => "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." => "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" => "Hintergrundfarbe", -"Font color" => "Vordergrundfarbe", -"Save" => "Speichern", -"There are no locked files at the moment" => "Aktuell sind keine Dateien gesperrt", -"Locked files" => "Gesperrte Dateien", -"Unlock this file" => "Diese Datei entsperren", -"Unlock all files" => "Alle Dateien entsperren", -"by" => "von", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/l10n/en@pirate.php b/Old Releases/Owncloud 7/files_w2g/l10n/en@pirate.php deleted file mode 100644 index 7b6d0af..0000000 --- a/Old Releases/Owncloud 7/files_w2g/l10n/en@pirate.php +++ /dev/null @@ -1,8 +0,0 @@ - "File not locked", -"File is locked" => "File is locked", -"Status: locked" => "Status: locked", -"Status: not locked" => "Status: not locked", -"filelock" => "filelock" -); diff --git a/Old Releases/Owncloud 7/files_w2g/l10n/en_GB.php b/Old Releases/Owncloud 7/files_w2g/l10n/en_GB.php deleted file mode 100644 index 7b6d0af..0000000 --- a/Old Releases/Owncloud 7/files_w2g/l10n/en_GB.php +++ /dev/null @@ -1,8 +0,0 @@ - "File not locked", -"File is locked" => "File is locked", -"Status: locked" => "Status: locked", -"Status: not locked" => "Status: not locked", -"filelock" => "filelock" -); diff --git a/Old Releases/Owncloud 7/files_w2g/l10n/fr.php b/Old Releases/Owncloud 7/files_w2g/l10n/fr.php deleted file mode 100644 index 4076382..0000000 --- a/Old Releases/Owncloud 7/files_w2g/l10n/fr.php +++ /dev/null @@ -1,18 +0,0 @@ - "Fichier non verrouillé ", -"File is locked" => " Fichier verrouillé ", -"Status: locked" => " Statut: verrouillé ", -"Status: not locked" => " Statut: non verrouillé ", -"filelock" => "fichier vérouillé", -"Manage multiaccess" => " Configuration des accès multiples", -"Here you can set the colors for the locked files." => " Vous pouvez définir les couleurs pour les fichiers verrouillés.", -"Background color" => " Couleur de fond ", -"Font color" => " Couleur de police ", -"Save" => "Sauvegarder", -"There are no locked files at the moment" => " Il n'y a pas de fichiers verrouillés actuellement", -"Locked files" => " Fichiers verrouillés", -"Unlock this file" => " Déverrouiller ce fichier ", -"Unlock all files" => " Déverrouiller tous les fichiers", -"by" => "par", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/l10n/fr_FR.php b/Old Releases/Owncloud 7/files_w2g/l10n/fr_FR.php deleted file mode 100644 index 4076382..0000000 --- a/Old Releases/Owncloud 7/files_w2g/l10n/fr_FR.php +++ /dev/null @@ -1,18 +0,0 @@ - "Fichier non verrouillé ", -"File is locked" => " Fichier verrouillé ", -"Status: locked" => " Statut: verrouillé ", -"Status: not locked" => " Statut: non verrouillé ", -"filelock" => "fichier vérouillé", -"Manage multiaccess" => " Configuration des accès multiples", -"Here you can set the colors for the locked files." => " Vous pouvez définir les couleurs pour les fichiers verrouillés.", -"Background color" => " Couleur de fond ", -"Font color" => " Couleur de police ", -"Save" => "Sauvegarder", -"There are no locked files at the moment" => " Il n'y a pas de fichiers verrouillés actuellement", -"Locked files" => " Fichiers verrouillés", -"Unlock this file" => " Déverrouiller ce fichier ", -"Unlock all files" => " Déverrouiller tous les fichiers", -"by" => "par", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/l10n/ja.php b/Old Releases/Owncloud 7/files_w2g/l10n/ja.php deleted file mode 100644 index c3aee44..0000000 --- a/Old Releases/Owncloud 7/files_w2g/l10n/ja.php +++ /dev/null @@ -1,18 +0,0 @@ - "ファイルロック無し", -"File is locked" => "ファイルロック中", -"Status: locked" => "状態: ロック中", -"Status: not locked" => "状態: ロック無し", -"filelock" => "ファイルロック", -"Manage multiaccess" => "同時アクセス管理", -"Here you can set the colors for the locked files." => "ロックされたファイルのデフォルトの背景色を設定できます。", -"Background color" => "背景色", -"Font color" => "フォント色", -"Save" => "保存", -"There are no locked files at the moment" => "現在ロックされているファイルはありません", -"Locked files" => "このファイルをロック解除", -"Unlock this file" => "ロック中のファイル", -"Unlock all files" => "全てのファイルをロック解除", -"by" => "による", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/l10n/ja_JP.php b/Old Releases/Owncloud 7/files_w2g/l10n/ja_JP.php deleted file mode 100644 index c3aee44..0000000 --- a/Old Releases/Owncloud 7/files_w2g/l10n/ja_JP.php +++ /dev/null @@ -1,18 +0,0 @@ - "ファイルロック無し", -"File is locked" => "ファイルロック中", -"Status: locked" => "状態: ロック中", -"Status: not locked" => "状態: ロック無し", -"filelock" => "ファイルロック", -"Manage multiaccess" => "同時アクセス管理", -"Here you can set the colors for the locked files." => "ロックされたファイルのデフォルトの背景色を設定できます。", -"Background color" => "背景色", -"Font color" => "フォント色", -"Save" => "保存", -"There are no locked files at the moment" => "現在ロックされているファイルはありません", -"Locked files" => "このファイルをロック解除", -"Unlock this file" => "ロック中のファイル", -"Unlock all files" => "全てのファイルをロック解除", -"by" => "による", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 7/files_w2g/templates/admin.php b/Old Releases/Owncloud 7/files_w2g/templates/admin.php deleted file mode 100644 index 1d1df22..0000000 --- a/Old Releases/Owncloud 7/files_w2g/templates/admin.php +++ /dev/null @@ -1,62 +0,0 @@ -execute()->fetchAll(); -if(count($result)>=1) - $value = $result[0]['configvalue']; - -//fontcolor -$query = \OCP\DB::prepare("SELECT * FROM *PREFIX*appconfig where configkey='fontcolor' and appid='files_w2g' LIMIT 1"); -$result = $query->execute()->fetchAll(); -if(count($result)>=1) - $font_value = $result[0]['configvalue']; - -//Locked files -$exist = \OCP\DB::prepare("SHOW TABLES LIKE '*PREFIX*".app::table."'")->execute()->fetchAll(); -if($exist!=null) - $result = \OCP\DB::prepare("SELECT * FROM *PREFIX*".app::table)->execute()->fetchAll(); -//---------------------------------------------------------------------------------------------------------------------------- - -\OCP\Util::addscript(app::name, 'admin'); -\OCP\Util::addscript(app::name, 'jscolor'); -?> -
-
-

t('Manage multiaccess')) ?>

- - t("Here you can set the colors for the locked files.")); - - echo ' -

- '.$l->t("Background color").':
- # -  

- - '.$l->t("Font color").':
- # -  

- '; - - if(count($result)>0) - { - echo '
'.$l->t("Locked files").':
-
-
- '; - } - else - echo $l->t("There are no locked files at the moment"); - ?> -
\ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/admin.php b/Old Releases/Owncloud 8.1/admin.php deleted file mode 100644 index 088f885..0000000 --- a/Old Releases/Owncloud 8.1/admin.php +++ /dev/null @@ -1,9 +0,0 @@ -fetchPage(); - diff --git a/Old Releases/Owncloud 8.1/ajax/admin_db.php b/Old Releases/Owncloud 8.1/ajax/admin_db.php deleted file mode 100644 index 6e7511b..0000000 --- a/Old Releases/Owncloud 8.1/ajax/admin_db.php +++ /dev/null @@ -1,18 +0,0 @@ -execute(); - echo "clear"; - break; - - case 'clearthis': - \OCP\DB::prepare("DELETE FROM *PREFIX*".app::table." WHERE name=?")->execute(array($_POST['lock'])); - echo "clear"; - break; -} - -?> diff --git a/Old Releases/Owncloud 8.1/ajax/getcolor.php b/Old Releases/Owncloud 8.1/ajax/getcolor.php deleted file mode 100644 index 632c96e..0000000 --- a/Old Releases/Owncloud 8.1/ajax/getcolor.php +++ /dev/null @@ -1,8 +0,0 @@ -execute(array($_POST['type']))->fetchAll(); - -if(count($result)>=1) echo $result[0]['configvalue']; - -else echo ""; \ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/ajax/update.php b/Old Releases/Owncloud 8.1/ajax/update.php deleted file mode 100644 index acd7866..0000000 --- a/Old Releases/Owncloud 8.1/ajax/update.php +++ /dev/null @@ -1,32 +0,0 @@ -execute(array($mode))->fetchAll(); - -if(count($result)<1)//Value already set? -{ - $query = \OCP\DB::prepare("INSERT INTO *PREFIX*appconfig(appid,configkey,configvalue) value('files_w2g',?,?)"); - $result = $query->execute(array($mode,$value)); - echo $l->t($mode)." ".$l->t("has been set!"); -} -else -{ - $query = \OCP\DB::prepare("UPDATE *PREFIX*appconfig set configvalue=? WHERE appid='files_w2g' and configkey=?"); - $result = $query->execute(array($value,$mode)); - echo $l->t("Updated successfully!"); - - -} diff --git a/Old Releases/Owncloud 8.1/ajax/workin2gether.php b/Old Releases/Owncloud 8.1/ajax/workin2gether.php deleted file mode 100644 index 2e4d21f..0000000 --- a/Old Releases/Owncloud 8.1/ajax/workin2gether.php +++ /dev/null @@ -1,150 +0,0 @@ -execute(array($id))->fetchAll(); - - $original_path = $result[0]['path']; - $storage_id = str_replace("home::", "", $result[0]['id']) . '/'; - - $lockpath = $storage_id.$original_path; -} -else $lockpath = \OCP\USER::getUser()."/files".cleanPath($path); - -//Lock DB entry -$lockfile = lockname($lockpath); -$db_lock_state = \OCP\DB::prepare("SELECT * FROM *PREFIX*" . app::table . " WHERE name = ?")->execute(array($lockfile))->fetchAll(); - -//If lock exist, unlock it, but check the safemode -if ($db_lock_state!=null) { - if($safe=="false") { - $lockedby_name = $db_lock_state[0]['locked_by']; - ShowUserName($lockedby_name); - - if( extended_precheck( $extended, $lockedby_name ) != 0 ){ - echo $l->t("No permission"); - return; - } - - \OCP\DB::prepare("DELETE FROM *PREFIX*" . app::table . " WHERE name=?")->execute(array($lockfile)); - echo $l->t("File not locked"); - } - else{ - $lockedby_name = $db_lock_state[0]['locked_by']; - ShowDisplayName($lockedby_name); - echo $l->t("Status: locked")." ".$l->t("by")." ".$lockedby_name; - } -} -//If not locked, lock it, but check the safemode -else { - if($safe=="false") { - $lockedby_name = \OCP\User::getUser(); - if($naming=="rule_displayname") { - $lockedby_name = \OCP\User::getDisplayName(); - $lockedby_name .= "|".\OCP\User::getUser(); - } - - \OCP\DB::prepare("INSERT INTO *PREFIX*".app::table."(name,locked_by) VALUES(?,?)")->execute(array($lockfile,$lockedby_name)); - - //For Compatibiliy reasons, support old Lockedby type <0.8 - - ShowDisplayName($lockedby_name); //Korrektur bei DisplayName - echo $l->t("File is locked")." ".$l->t("by")." ".$lockedby_name; - } - else echo $l->t("Status: not locked"); -} - -//Functions - -function lockname($path){ - //Replace all '/' with $ for a filename for the lock file - $ppath = str_replace("/","$",cleanPath($path))."$"; - $ppath = str_replace(":","#",$ppath); - - //Remove double dollar char when exist - if ($ppath[0] == "$" and $ppath[1] == "$") $ppath = substr($ppath,1); - - return preg_replace('/\\\/','$',$ppath); -} - -function cleanPath($path){ - return preg_replace('{(/)\1+}', "/", urldecode(rtrim($path, "/"))); -} - -function db_fetcher( &$configkey, $configtype ){ - $type = \OCP\DB::prepare("SELECT * FROM *PREFIX*appconfig where configkey=? and appid='files_w2g' LIMIT 1")->execute(array($configtype))->fetchAll(); - - if (count($type) >= 1) - $configkey = $type[0]['configvalue']; -} - -function extended_precheck( $extended, $owner ){ - //Return 0 = allowed | Return 1 = Forbidden - if ( $extended == "0" ) - return 0; - elseif ( $extended == "1" ) - { - if( $owner == \OCP\User::getUser() ) - return 0; - } - - return 1; -} - -function ShowDisplayName(&$lockedby_name){ - if(strstr($lockedby_name,"|")){ - $temp_ln = explode("|",$lockedby_name); - $lockedby_name = $temp_ln[0]; - } -} - -function ShowUserName(&$lockedby_name){ - if(strstr($lockedby_name,"|")){ - $temp_ln = explode("|",$lockedby_name); - $lockedby_name = $temp_ln[1]; - } -} - diff --git a/Old Releases/Owncloud 8.1/appinfo/app.php b/Old Releases/Owncloud 8.1/appinfo/app.php deleted file mode 100644 index 53b53d6..0000000 --- a/Old Releases/Owncloud 8.1/appinfo/app.php +++ /dev/null @@ -1,41 +0,0 @@ -execute()->fetchAll(); - - if($db_exist==null){ - @$db_exist = \OCP\DB::prepare("CREATE table *PREFIX*" . app::table . "(name varchar(255) PRIMARY KEY,created TIMESTAMP DEFAULT CURRENT_TIMESTAMP,locked_by varchar(255)) " . app::charset); - @$db_exist->execute(); - } - - app::launch(); -} diff --git a/Old Releases/Owncloud 8.1/appinfo/info.xml b/Old Releases/Owncloud 8.1/appinfo/info.xml deleted file mode 100644 index 09412cb..0000000 --- a/Old Releases/Owncloud 8.1/appinfo/info.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - files_w2g - Workin2gether - - Pseudo multiaccess-management feature for Owncloud. - You can lock files and disable the fileactions, leaving only the fileaction of unlocking a file. - Please leave your feedback and rate this app, if you like it! - - - AGPL - Patrick Hoffmann - 6.00 - - - - 164016 - diff --git a/Old Releases/Owncloud 8.1/appinfo/routes.php b/Old Releases/Owncloud 8.1/appinfo/routes.php deleted file mode 100644 index 9512e8f..0000000 --- a/Old Releases/Owncloud 8.1/appinfo/routes.php +++ /dev/null @@ -1,19 +0,0 @@ -create('files_w2g_ajax_getcolor', 'ajax/getcolor.php') - ->actionInclude('files_w2g/ajax/getcolor.php'); - -$this->create('files_w2g_ajax_core', 'ajax/workin2gether.php') - ->actionInclude('files_w2g/ajax/workin2gether.php'); - -$this->create('files_w2g_ajax_update', 'ajax/update.php') - ->actionInclude('files_w2g/ajax/update.php'); - -$this->create('files_w2g_ajax_admin_db', 'ajax/admin_db.php') - ->actionInclude('files_w2g/ajax/admin_db.php'); - -$this->create('files_w2g_admin', 'admin.php') - ->actionInclude('files_w2g/admin.php'); diff --git a/Old Releases/Owncloud 8.1/appinfo/version b/Old Releases/Owncloud 8.1/appinfo/version deleted file mode 100644 index 639e31c..0000000 --- a/Old Releases/Owncloud 8.1/appinfo/version +++ /dev/null @@ -1 +0,0 @@ -0.8.1.0 diff --git a/Old Releases/Owncloud 8.1/css/styles.css b/Old Releases/Owncloud 8.1/css/styles.css deleted file mode 100644 index af0a9fe..0000000 --- a/Old Releases/Owncloud 8.1/css/styles.css +++ /dev/null @@ -1,24 +0,0 @@ - -a.action.locked{ display:none !important; } - -a.action-getstate_file.locked, a.action-getstate_dir.locked{ display:inline !important; } - -a.statelock a.action[data-action!=getstate_dir&&data-action!=getstate_file]{ -pointer-events:none; -} -a.namelock -{ -line-height: 50px; -padding: 0; -} -a.namelock .nametext{position:absolute !important;left:105px !important;} - -td.statelock:focus{pointer-events:none;} - -a.action-getstate_file, a.action-getstate_dir{ cursor:pointer !important;} - -a.name.statelock a.action{ color:#eee; opacity:1 !important; } - -a.name.statelock a.action:hover, a.name.statelock span.extension{ color:#fff; } - -.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled{ opacity:1.0;} \ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/img/app.svg b/Old Releases/Owncloud 8.1/img/app.svg deleted file mode 100644 index 6cafe17..0000000 --- a/Old Releases/Owncloud 8.1/img/app.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/Old Releases/Owncloud 8.1/img/lock.png b/Old Releases/Owncloud 8.1/img/lock.png deleted file mode 100644 index 9b8c2ec5bc7bbf2031a8678af52ed802e6a6f9cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 307 zcmeAS@N?(olHy`uVBq!ia0vp^f*{Pn3?z9rZ$AN~N&|dCT!A#5!Tf}L*~a`L;Z PKCZl?^}@uHk--`OML81Y diff --git a/Old Releases/Owncloud 8.1/js/cross.gif b/Old Releases/Owncloud 8.1/js/cross.gif deleted file mode 100644 index 0ee9c7ac517bee40b78aea03afa809631f0b69fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmZ?wbhEHb3k<8jPQJQ=fuv5eVo^ZVob{r>y?yxzz6n|{I3RuQNUl#q~6w6{Y!i_W*AbzM$M zv?qg)_ee+pt?W@2m!pR{B_p?CM-{APX1sq0k!v%Dx?=2xC6f&jlZz_Dn#dT_Y>InI z6zGP*0qIZBM5F|EZW=wONLxZCI;oxx8efxF<=55NtkzwRuA@S|$OSZUS~0 zbSDgzxPwEAll?BgdT}XWOAZOcMD`pUO+CGfB}rVxe|WEK0gw_Tz-cDmNG4L+O1BG& zsF@TK6o0+-x8xsR`X2n=3~i7e()sQ8nbs7jD=(px9H|qDd%c<@)UuI(EKt5ngFHjS zh|qTPjol+wD*VrOrP2AHgU&lZ7-h-S-Ry`OC^$7+KSF!aG?mu&pn3IaR(#Gf!EQP! zqeS?o6nx*@RWD5RUuQ+fDEvFrgK2PwV_AaZi_nFD)fY6UXpc#9)D{%+=WH ztBRU(0-f)NSeD3_)#+p<)n=t7Y1EDi=wXXR?Z#vSuGOPoT|XQYUp$jeW`dW9Q1kjz#P#FKJ!aH3zn{59p6;=yx%D9tmqxQwiPk>^XJ#hnQPa&UStGb;zpzVAA13RQ2C{(WQtPtlHN+xES>Qyk?T{p)3L zKdG1CZ}noWtWb#qCxunq6cmKZkSp8AJFQzC5VAmliNf$>rVM$2Q1P|$>9btrJLz|{ zSEp42us*S@mNJKs{J(s20WSGheRHFfo!iS!%VR(!BLtg%5&G73YBwnQiPTC@yb!(mV=4^=hMGc{L0KQ&GaYT41_sNl0+=?tU1#T8=w<5Hp>qu7gwyz zwLL3bXQ5-%%-%`x@Pre{8xpv$>VeI=t#(~rx$b&PV(x))i0v`~VbW)#SQBCXq2{3C z4AjaS!bRt4Q?8=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qsNg>|5V=vOIWZ|#VBZRvIQe;Bk#LI3~& diff --git a/Old Releases/Owncloud 8.1/js/hv.png b/Old Releases/Owncloud 8.1/js/hv.png deleted file mode 100644 index 1c5e01f8bcecc4cf835e8eeeaa43ef2c06789022..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2865 zcmX9=3pmqV7@teXHB3Y-6(VIKN(`gs(lEJ2EJSn5Crm8<3KhyeDHUOICnT3LV_lSr zSZ;GyqBJp=+1PCR_SJKqbI$X;=RD_m-{1TDz3)kPaYD#Qs!D=DAQ^i*TUWu}ESNzO z!h$tb?&uc~NOHs8*4pjL*kZxr-PxxyX>x_gxykAYer+%xw7GJL6<~$lv;J_uukT@e zT+7b}$(pn*(JJ8$DZ#LZ01jlU-F%s?>x-3}&1jWkz{Hc;TVcidNj^67rKf!1D*@3) ztLL+`4RJ%9hMug+6V6!!-IHycuV!0OlQmpmv2CKSg0YG1{n}Dwm~{0fWmk@tnE%bH zGDMD}$zh}Xd*A5Jr>Ab?KaI7@rj$4go;`Iq6;(c5H(>=6GfP&HNa3NNYQLnDvJ2ne z$YJeDOOojN`RsDxcPJ(@V2^adMpBgs?_RszQhhwQTbkTUT9<$&gblmnY#tn#SD%?s z6!FjP;K)%vq`iXljQbV;EA`q3gN>D#kt_%-rrtu}_V)B!9x+O;F>_Uw;U$2LUW(r( zZ^t$jiL0NIPPJC#r9ftBYTo7JNd@BVMwfPoS>#W-s{js57)P8TQqF2LKJSC~q zN`(OhzStrI{*42`M}?+OHN|N(nHmc2&ss7X>pqp|EuFchzf#w`Q<>0h788{$3pLsi z{A+Y8H$ZvOeD+cX_=w?G*WmD7#5x;KQ;esP!0)6)^5AH8-y+H+(ltKN1HTE6jI?K z(Oj2zOym!q0yMO-dc+a4KFGVLQdOCayj7RKSbo5}XS%`Er&=Enk8l=Lt4N_|ws%>z zDTw$}Y`Nm#m5bv zhmbvJfbg?pPsmqI$V;VUb6K4%(8Blyamyoc^3Mt~#nxOV2-1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mq{0A}gF)8u?-xvaEZdtqyUFRTrLq*p?!~??u&DrIz2ow@FRy0XX+-+%7G>uU0&kTN1W1G| zr>H6)4|9Ji%2`d{EBb%`9?5PNx968;9+OmY4|DC?&+M;;jN=L6in4xY&Q$twq0QFAeZuQ15|q?2tO{QUL* E0LKozl>h($ diff --git a/Old Releases/Owncloud 8.1/js/jscolor.js b/Old Releases/Owncloud 8.1/js/jscolor.js deleted file mode 100644 index 6bb0c1f..0000000 --- a/Old Releases/Owncloud 8.1/js/jscolor.js +++ /dev/null @@ -1,997 +0,0 @@ -/** - * jscolor, JavaScript Color Picker - * - * @version 1.4.2 - * @license GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html - * @author Jan Odvarko, http://odvarko.cz - * @created 2008-06-15 - * @updated 2013-11-25 - * @link http://jscolor.com - */ - - -var jscolor = { - - - dir : '', // location of jscolor directory (leave empty to autodetect) - bindClass : 'color', // class name - binding : true, // automatic binding via - preloading : true, // use image preloading? - - - install : function() { - jscolor.addEvent(window, 'load', jscolor.init); - }, - - - init : function() { - if(jscolor.binding) { - jscolor.bind(); - } - if(jscolor.preloading) { - jscolor.preload(); - } - }, - - - getDir : function() { - if(!jscolor.dir) { - var detected = jscolor.detectDir(); - jscolor.dir = detected!==false ? detected : 'jscolor/'; - } - return jscolor.dir; - }, - - - detectDir : function() { - var base = location.href; - - var e = document.getElementsByTagName('base'); - for(var i=0; i vs[a] ? - (-vp[a]+tp[a]+ts[a]/2 > vs[a]/2 && tp[a]+ts[a]-ps[a] >= 0 ? tp[a]+ts[a]-ps[a] : tp[a]) : - tp[a], - -vp[b]+tp[b]+ts[b]+ps[b]-l+l*c > vs[b] ? - (-vp[b]+tp[b]+ts[b]/2 > vs[b]/2 && tp[b]+ts[b]-l-l*c >= 0 ? tp[b]+ts[b]-l-l*c : tp[b]+ts[b]-l+l*c) : - (tp[b]+ts[b]-l+l*c >= 0 ? tp[b]+ts[b]-l+l*c : tp[b]+ts[b]-l-l*c) - ]; - } - drawPicker(pp[a], pp[b]); - } - }; - - - this.importColor = function() { - if(!valueElement) { - this.exportColor(); - } else { - if(!this.adjust) { - if(!this.fromString(valueElement.value, leaveValue)) { - styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage; - styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor; - styleElement.style.color = styleElement.jscStyle.color; - this.exportColor(leaveValue | leaveStyle); - } - } else if(!this.required && /^\s*$/.test(valueElement.value)) { - valueElement.value = ''; - styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage; - styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor; - styleElement.style.color = styleElement.jscStyle.color; - this.exportColor(leaveValue | leaveStyle); - - } else if(this.fromString(valueElement.value)) { - // OK - } else { - this.exportColor(); - } - } - }; - - - this.exportColor = function(flags) { - if(!(flags & leaveValue) && valueElement) { - var value = this.toString(); - if(this.caps) { value = value.toUpperCase(); } - if(this.hash) { value = '#'+value; } - valueElement.value = value; - } - if(!(flags & leaveStyle) && styleElement) { - styleElement.style.backgroundImage = "none"; - styleElement.style.backgroundColor = - '#'+this.toString(); - styleElement.style.color = - 0.213 * this.rgb[0] + - 0.715 * this.rgb[1] + - 0.072 * this.rgb[2] - < 0.5 ? '#FFF' : '#000'; - } - if(!(flags & leavePad) && isPickerOwner()) { - redrawPad(); - } - if(!(flags & leaveSld) && isPickerOwner()) { - redrawSld(); - } - }; - - - this.fromHSV = function(h, s, v, flags) { // null = don't change - if(h !== null) { h = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, h)); } - if(s !== null) { s = Math.max(0.0, this.minS, Math.min(1.0, this.maxS, s)); } - if(v !== null) { v = Math.max(0.0, this.minV, Math.min(1.0, this.maxV, v)); } - - this.rgb = HSV_RGB( - h===null ? this.hsv[0] : (this.hsv[0]=h), - s===null ? this.hsv[1] : (this.hsv[1]=s), - v===null ? this.hsv[2] : (this.hsv[2]=v) - ); - - this.exportColor(flags); - }; - - - this.fromRGB = function(r, g, b, flags) { // null = don't change - if(r !== null) { r = Math.max(0.0, Math.min(1.0, r)); } - if(g !== null) { g = Math.max(0.0, Math.min(1.0, g)); } - if(b !== null) { b = Math.max(0.0, Math.min(1.0, b)); } - - var hsv = RGB_HSV( - r===null ? this.rgb[0] : r, - g===null ? this.rgb[1] : g, - b===null ? this.rgb[2] : b - ); - if(hsv[0] !== null) { - this.hsv[0] = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, hsv[0])); - } - if(hsv[2] !== 0) { - this.hsv[1] = hsv[1]===null ? null : Math.max(0.0, this.minS, Math.min(1.0, this.maxS, hsv[1])); - } - this.hsv[2] = hsv[2]===null ? null : Math.max(0.0, this.minV, Math.min(1.0, this.maxV, hsv[2])); - - // update RGB according to final HSV, as some values might be trimmed - var rgb = HSV_RGB(this.hsv[0], this.hsv[1], this.hsv[2]); - this.rgb[0] = rgb[0]; - this.rgb[1] = rgb[1]; - this.rgb[2] = rgb[2]; - - this.exportColor(flags); - }; - - - this.fromString = function(hex, flags) { - var m = hex.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i); - if(!m) { - return false; - } else { - if(m[1].length === 6) { // 6-char notation - this.fromRGB( - parseInt(m[1].substr(0,2),16) / 255, - parseInt(m[1].substr(2,2),16) / 255, - parseInt(m[1].substr(4,2),16) / 255, - flags - ); - } else { // 3-char notation - this.fromRGB( - parseInt(m[1].charAt(0)+m[1].charAt(0),16) / 255, - parseInt(m[1].charAt(1)+m[1].charAt(1),16) / 255, - parseInt(m[1].charAt(2)+m[1].charAt(2),16) / 255, - flags - ); - } - return true; - } - }; - - - this.toString = function() { - return ( - (0x100 | Math.round(255*this.rgb[0])).toString(16).substr(1) + - (0x100 | Math.round(255*this.rgb[1])).toString(16).substr(1) + - (0x100 | Math.round(255*this.rgb[2])).toString(16).substr(1) - ); - }; - - - function RGB_HSV(r, g, b) { - var n = Math.min(Math.min(r,g),b); - var v = Math.max(Math.max(r,g),b); - var m = v - n; - if(m === 0) { return [ null, 0, v ]; } - var h = r===n ? 3+(b-g)/m : (g===n ? 5+(r-b)/m : 1+(g-r)/m); - return [ h===6?0:h, m/v, v ]; - } - - - function HSV_RGB(h, s, v) { - if(h === null) { return [ v, v, v ]; } - var i = Math.floor(h); - var f = i%2 ? h-i : 1-(h-i); - var m = v * (1 - s); - var n = v * (1 - s*f); - switch(i) { - case 6: - case 0: return [v,n,m]; - case 1: return [n,v,m]; - case 2: return [m,v,n]; - case 3: return [m,n,v]; - case 4: return [n,m,v]; - case 5: return [v,m,n]; - } - } - - - function removePicker() { - delete jscolor.picker.owner; - document.getElementsByTagName('body')[0].removeChild(jscolor.picker.boxB); - } - - - function drawPicker(x, y) { - if(!jscolor.picker) { - jscolor.picker = { - box : document.createElement('div'), - boxB : document.createElement('div'), - pad : document.createElement('div'), - padB : document.createElement('div'), - padM : document.createElement('div'), - sld : document.createElement('div'), - sldB : document.createElement('div'), - sldM : document.createElement('div'), - btn : document.createElement('div'), - btnS : document.createElement('span'), - btnT : document.createTextNode(THIS.pickerCloseText) - }; - for(var i=0,segSize=4; i0) { - - //Initiate the FileAction for file - OCA.Files.fileActions.register( - 'file', - 'getstate_file', - OC.PERMISSION_UPDATE, - function(){ return OC.imagePath('files_w2g','lock.png') }, - function(filename,context) { getState(context.$file.attr('data-id'),filename,context.$file.attr('data-share-owner'),"false") }, t('files_w2g',text) - ); - - //Initiate the FileAction for dir - OCA.Files.fileActions.register( - 'dir', - 'getstate_dir', - OC.PERMISSION_UPDATE, - function(){ return OC.imagePath('files_w2g','lock.png') }, - function(filename,context) { getState(context.$file.attr('data-id'),filename,context.$file.attr('data-share-owner'),"false") }, t('files_w2g',text) - ); - - //Walk through all files in the active Filelist - $('#content').delegate('#fileList', 'fileActionsReady',function(ev){ - - var $fileList = ev.fileList.$fileList; - - $fileList.find('tr').each(function(){ - $filename = $(this).attr('data-file'); - $owner = $(this).attr('data-share-owner'); - $id = $(this).attr('data-id'); - getState($id,$filename,$owner,"true"); - }); - }); - } - - //Get the Background-color from the database - $.ajax({ - url: OC.filePath('files_w2g','ajax','getcolor.php'), - type: "post", - data: { type: 'color'}, - async: false, - success: function(data){if(data!=""){color = data;}}, - }); - - //Get the Fontcolor from the database - $.ajax({ - url: OC.filePath('files_w2g','ajax','getcolor.php'), - type: "post", - data: { type: 'fontcolor'}, - async: false, - success: function(data){if(data!=""){fontcolor = data;}}, - }); - - //Add dynamic CSS code - var cssrules = $("").appendTo("head"); - cssrules.append(".statelock{ background-color:#"+color+";color:#"+fontcolor+" !important;}"+ - ".statelock span.modified{color:#"+fontcolor+" !important;}"+ - "a.action-getstate_file.locked,a.action-getstate_dir.locked{color:#"+fontcolor+" !important;}"+ - "a.action-getstate_file.locked:hover,a.action-getstate_dir.locked:hover{color:#fff !important;}"+ - "a.namelock,a.namelock span.extension {color:#"+fontcolor+";}"); -}); - -//Switch the Lockstate -function toggle_control(filename) -{ - //Walk through the Filelists - $('#fileList tr').each(function() { - var $tr = $(this); - var $_tr = $tr.html().replace(/^\s+|\s+$/g, '').replace('','').split('').join(''); - - if($_tr.indexOf(filename)!=-1) - { - if($_tr.indexOf(lockedtext)==-1 && $_tr.indexOf(lockstate)==-1) - { //unlock - $tr.find('a.action[data-action!='+text+']').removeClass('locked'); - $tr.find('a.namelock').addClass('name').removeClass('namelock'); - $tr.find('td.filesize').removeClass('statelock'); - $tr.find('td.date').removeClass('statelock'); - $tr.find('td').removeClass('statelock'); - $tr.find('a.statelock').addClass('name'); - } - else if($_tr.indexOf(lockedtext)!=-1||$_tr.indexOf(lockstate)!=-1) - { //lock - $tr.find('a.action[data-action!='+text+'][data-action!=favorite]').addClass('locked'); - //$tr.find('a.action').not("[data-action=='+text+']").addClass('locked'); - - $tr.find('a.name').addClass('namelock').removeClass('name'); - $tr.find('td.filesize').addClass('statelock'); - $tr.find('td.date').addClass('statelock'); - $tr.find('td').addClass('statelock'); - } - } - }); -} - -//Get the current state -function getState( _id, _filename, _owner, _safe) -{ - oc_dir = $('#dir').val(); - _filename = _filename.replace(/ /g, "%20"); - oc_path = oc_dir +'/'+_filename; - - $.ajax({ - url: OC.filePath('files_w2g','ajax','workin2gether.php'), - type: "post", - data: { path: oc_path, safe: _safe, owner: _owner, id: _id}, - success: function(data){postmode(_filename,data)}, - }); - -} - -//Push the status -function postmode(filename,data) -{ - filename = filename.replace(/%20/g,' '); - - var html = ' '+''+data+''; - - //Push the status text to the file - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.name').find('span.fileactions').find("a.action").filterAttr('data-action','getstate_file').html(html); - - //Push the status text to the dir - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.name').find('span.fileactions').find("a.action").filterAttr('data-action','getstate_dir').html(html); - - //Push the status text to the locked file - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.namelock').find('span.fileactions').find("a.action").filterAttr('data-action','getstate_file').html(html); - - //Push the status text to the locked dir - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.namelock').find('span.fileactions').find("a.action").filterAttr('data-action','getstate_dir').html(html); - - if(data!=t('files_w2g','No permission')) - toggle_control(filename); -} diff --git a/Old Releases/Owncloud 8.1/l10n/de.js b/Old Releases/Owncloud 8.1/l10n/de.js deleted file mode 100644 index cfe2dd7..0000000 --- a/Old Releases/Owncloud 8.1/l10n/de.js +++ /dev/null @@ -1,32 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "Datei nicht gesperrt", - "File is locked" : "Datei ist gesperrt", - "Status: locked" : "Status: gesperrt", - "Status: not locked" : "Status: nicht gesperrt", - "filelock" : "Dateisperre", - "Manage multiaccess" : "Mehrfachzugriff konfigurieren", - "Here you can set the colors for the locked files." : "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", - "Background color" : "Hintergrundfarbe", - "Font color" : "Vordergrundfarbe", - "Save" : "Speichern", - "There are no locked files at the moment" : "Aktuell sind keine Dateien gesperrt", - "Locked files" : "Gesperrte Dateien", - "Unlock this file" : "Diese Datei entsperren", - "Unlock all files" : "Alle Dateien entsperren", - "by" : "von", - "'Locked by' suffix" : "'Gesperrt von'-Suffix", - "username" : "Benutzername", - "Shows the real username i.e. admin, or LDAP UUID" : "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", - "display name" : "Anzeigename", - "Shows the full displayed name, i.e. John Doe" : "Zeigt den Anzeigename an, z.B. Max Mustermann", - "Suffix change has been saved" : "Der Suffix wurde aktualisiert", - "Old file locks won't be affected by this" : "Bereits vorhandene Dateisperren sind davon nicht betroffen", - "Permission management" : "Berechtigungsverwaltung", - "Use the extended permission feature for managing locks" : "Erweiterte Berechtigungsfunktion verwenden", - "This feature allows unlocking only by the owner of the lock" : "Mit dieser Funktion können gesperrte Dateien nur von den Besitzern der Sperre entfernt werden", - "The upcoming release will add group based permissions" : "Das nächste Update beinhaltet gruppenbasierte Berechtigungen", - "No permission" : "Keine Berechtigung" -}, -"nplurals=2; plural=(n != 1);"); diff --git a/Old Releases/Owncloud 8.1/l10n/de.json b/Old Releases/Owncloud 8.1/l10n/de.json deleted file mode 100644 index 7fc6991..0000000 --- a/Old Releases/Owncloud 8.1/l10n/de.json +++ /dev/null @@ -1,30 +0,0 @@ -{ "translations": { -"File not locked" : "Datei nicht gesperrt", -"File is locked" : "Datei ist gesperrt", -"Status: locked" : "Status: gesperrt", -"Status: not locked" : "Status: nicht gesperrt", -"filelock" : "Dateisperre", -"Manage multiaccess" : "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." : "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" : "Hintergrundfarbe", -"Font color" : "Vordergrundfarbe", -"Save" : "Speichern", -"There are no locked files at the moment" : "Aktuell sind keine Dateien gesperrt", -"Locked files" : "Gesperrte Dateien", -"Unlock this file" : "Diese Datei entsperren", -"Unlock all files" : "Alle Dateien entsperren", -"by" : "von", -"'Locked by' suffix" : "'Gesperrt von'-Suffix", -"username" : "Benutzername", -"Shows the real username i.e. admin, or LDAP UUID" : "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", -"display name" : "Anzeigename", -"Shows the full displayed name, i.e. John Doe" : "Zeigt den Anzeigename an, z.B. Max Mustermann", -"Suffix change has been saved" : "Der Suffix wurde aktualisiert", -"Old file locks won't be affected by this" : "Bereits vorhandene Dateisperren sind davon nicht betroffen", -"Permission management" : "Berechtigungsverwaltung", -"Use the extended permission feature for managing locks" : "Erweiterte Berechtigungsfunktion verwenden", -"This feature allows unlocking only by the owner of the lock" : "Mit dieser Funktion können gesperrte Dateien nur von den Besitzern der Sperre entfernt werden", -"The upcoming release will add group based permissions" : "Das nächste Update beinhaltet gruppenbasierte Berechtigungen", -"No permission" : "Keine Berechtigung" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.1/l10n/de.php b/Old Releases/Owncloud 8.1/l10n/de.php deleted file mode 100644 index ade3b44..0000000 --- a/Old Releases/Owncloud 8.1/l10n/de.php +++ /dev/null @@ -1,30 +0,0 @@ - "Datei nicht gesperrt", -"File is locked" => "Datei ist gesperrt", -"Status: locked" => "Status: gesperrt", -"Status: not locked" => "Status: nicht gesperrt", -"filelock" => "Dateisperre", -"Manage multiaccess" => "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." => "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" => "Hintergrundfarbe", -"Font color" => "Vordergrundfarbe", -"Save" => "Speichern", -"There are no locked files at the moment" => "Aktuell sind keine Dateien gesperrt", -"Locked files" => "Gesperrte Dateien", -"Unlock this file" => "Diese Datei entsperren", -"Unlock all files" => "Alle Dateien entsperren", -"by" => "von", -"'Locked by' suffix" => "'Gesperrt von'-Suffix", -"username" => "Benutzername", -"Shows the real username i.e. admin, or LDAP UUID" => "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", -"display name" => "Anzeigename", -"Shows the full displayed name, i.e. John Doe" => "Zeigt den Anzeigename an, z.B. Max Mustermann", -"Suffix change has been saved" => "Der Suffix wurde aktualisiert", -"Old file locks won't be affected by this" => "Bereits vorhandene Dateisperren sind davon nicht betroffen", -"Permission management" => "Berechtigungsverwaltung", -"Use the extended permission feature for managing locks" => "Erweiterte Berechtigungsfunktion verwenden", -"This feature allows unlocking only by the owner of the lock" => "Mit dieser Funktion können gesperrte Dateien nur von den Besitzern der Sperre entfernt werden", -"The upcoming release will add group based permissions" => "Das nächste Update beinhaltet gruppenbasierte Berechtigungen", -"No permission" => "Keine Berechtigung" -); diff --git a/Old Releases/Owncloud 8.1/l10n/de_DE.js b/Old Releases/Owncloud 8.1/l10n/de_DE.js deleted file mode 100644 index cfe2dd7..0000000 --- a/Old Releases/Owncloud 8.1/l10n/de_DE.js +++ /dev/null @@ -1,32 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "Datei nicht gesperrt", - "File is locked" : "Datei ist gesperrt", - "Status: locked" : "Status: gesperrt", - "Status: not locked" : "Status: nicht gesperrt", - "filelock" : "Dateisperre", - "Manage multiaccess" : "Mehrfachzugriff konfigurieren", - "Here you can set the colors for the locked files." : "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", - "Background color" : "Hintergrundfarbe", - "Font color" : "Vordergrundfarbe", - "Save" : "Speichern", - "There are no locked files at the moment" : "Aktuell sind keine Dateien gesperrt", - "Locked files" : "Gesperrte Dateien", - "Unlock this file" : "Diese Datei entsperren", - "Unlock all files" : "Alle Dateien entsperren", - "by" : "von", - "'Locked by' suffix" : "'Gesperrt von'-Suffix", - "username" : "Benutzername", - "Shows the real username i.e. admin, or LDAP UUID" : "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", - "display name" : "Anzeigename", - "Shows the full displayed name, i.e. John Doe" : "Zeigt den Anzeigename an, z.B. Max Mustermann", - "Suffix change has been saved" : "Der Suffix wurde aktualisiert", - "Old file locks won't be affected by this" : "Bereits vorhandene Dateisperren sind davon nicht betroffen", - "Permission management" : "Berechtigungsverwaltung", - "Use the extended permission feature for managing locks" : "Erweiterte Berechtigungsfunktion verwenden", - "This feature allows unlocking only by the owner of the lock" : "Mit dieser Funktion können gesperrte Dateien nur von den Besitzern der Sperre entfernt werden", - "The upcoming release will add group based permissions" : "Das nächste Update beinhaltet gruppenbasierte Berechtigungen", - "No permission" : "Keine Berechtigung" -}, -"nplurals=2; plural=(n != 1);"); diff --git a/Old Releases/Owncloud 8.1/l10n/de_DE.json b/Old Releases/Owncloud 8.1/l10n/de_DE.json deleted file mode 100644 index 7fc6991..0000000 --- a/Old Releases/Owncloud 8.1/l10n/de_DE.json +++ /dev/null @@ -1,30 +0,0 @@ -{ "translations": { -"File not locked" : "Datei nicht gesperrt", -"File is locked" : "Datei ist gesperrt", -"Status: locked" : "Status: gesperrt", -"Status: not locked" : "Status: nicht gesperrt", -"filelock" : "Dateisperre", -"Manage multiaccess" : "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." : "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" : "Hintergrundfarbe", -"Font color" : "Vordergrundfarbe", -"Save" : "Speichern", -"There are no locked files at the moment" : "Aktuell sind keine Dateien gesperrt", -"Locked files" : "Gesperrte Dateien", -"Unlock this file" : "Diese Datei entsperren", -"Unlock all files" : "Alle Dateien entsperren", -"by" : "von", -"'Locked by' suffix" : "'Gesperrt von'-Suffix", -"username" : "Benutzername", -"Shows the real username i.e. admin, or LDAP UUID" : "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", -"display name" : "Anzeigename", -"Shows the full displayed name, i.e. John Doe" : "Zeigt den Anzeigename an, z.B. Max Mustermann", -"Suffix change has been saved" : "Der Suffix wurde aktualisiert", -"Old file locks won't be affected by this" : "Bereits vorhandene Dateisperren sind davon nicht betroffen", -"Permission management" : "Berechtigungsverwaltung", -"Use the extended permission feature for managing locks" : "Erweiterte Berechtigungsfunktion verwenden", -"This feature allows unlocking only by the owner of the lock" : "Mit dieser Funktion können gesperrte Dateien nur von den Besitzern der Sperre entfernt werden", -"The upcoming release will add group based permissions" : "Das nächste Update beinhaltet gruppenbasierte Berechtigungen", -"No permission" : "Keine Berechtigung" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.1/l10n/de_DE.php b/Old Releases/Owncloud 8.1/l10n/de_DE.php deleted file mode 100644 index ade3b44..0000000 --- a/Old Releases/Owncloud 8.1/l10n/de_DE.php +++ /dev/null @@ -1,30 +0,0 @@ - "Datei nicht gesperrt", -"File is locked" => "Datei ist gesperrt", -"Status: locked" => "Status: gesperrt", -"Status: not locked" => "Status: nicht gesperrt", -"filelock" => "Dateisperre", -"Manage multiaccess" => "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." => "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" => "Hintergrundfarbe", -"Font color" => "Vordergrundfarbe", -"Save" => "Speichern", -"There are no locked files at the moment" => "Aktuell sind keine Dateien gesperrt", -"Locked files" => "Gesperrte Dateien", -"Unlock this file" => "Diese Datei entsperren", -"Unlock all files" => "Alle Dateien entsperren", -"by" => "von", -"'Locked by' suffix" => "'Gesperrt von'-Suffix", -"username" => "Benutzername", -"Shows the real username i.e. admin, or LDAP UUID" => "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", -"display name" => "Anzeigename", -"Shows the full displayed name, i.e. John Doe" => "Zeigt den Anzeigename an, z.B. Max Mustermann", -"Suffix change has been saved" => "Der Suffix wurde aktualisiert", -"Old file locks won't be affected by this" => "Bereits vorhandene Dateisperren sind davon nicht betroffen", -"Permission management" => "Berechtigungsverwaltung", -"Use the extended permission feature for managing locks" => "Erweiterte Berechtigungsfunktion verwenden", -"This feature allows unlocking only by the owner of the lock" => "Mit dieser Funktion können gesperrte Dateien nur von den Besitzern der Sperre entfernt werden", -"The upcoming release will add group based permissions" => "Das nächste Update beinhaltet gruppenbasierte Berechtigungen", -"No permission" => "Keine Berechtigung" -); diff --git a/Old Releases/Owncloud 8.1/l10n/en@pirate.js b/Old Releases/Owncloud 8.1/l10n/en@pirate.js deleted file mode 100644 index 1c3255b..0000000 --- a/Old Releases/Owncloud 8.1/l10n/en@pirate.js +++ /dev/null @@ -1,10 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "File not locked", - "File is locked" : "File is locked", - "Status: locked" : "Status: locked", - "Status: not locked" : "Status: not locked", - "filelock" : "filelock" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/l10n/en@pirate.json b/Old Releases/Owncloud 8.1/l10n/en@pirate.json deleted file mode 100644 index c2e23cf..0000000 --- a/Old Releases/Owncloud 8.1/l10n/en@pirate.json +++ /dev/null @@ -1,8 +0,0 @@ -{ "translations": { - "File not locked" : "File not locked", - "File is locked" : "File is locked", - "Status: locked" : "Status: locked", - "Status: not locked" : "Status: not locked", - "filelock" : "filelock" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.1/l10n/en@pirate.php b/Old Releases/Owncloud 8.1/l10n/en@pirate.php deleted file mode 100644 index 7b6d0af..0000000 --- a/Old Releases/Owncloud 8.1/l10n/en@pirate.php +++ /dev/null @@ -1,8 +0,0 @@ - "File not locked", -"File is locked" => "File is locked", -"Status: locked" => "Status: locked", -"Status: not locked" => "Status: not locked", -"filelock" => "filelock" -); diff --git a/Old Releases/Owncloud 8.1/l10n/en_GB.js b/Old Releases/Owncloud 8.1/l10n/en_GB.js deleted file mode 100644 index 1c3255b..0000000 --- a/Old Releases/Owncloud 8.1/l10n/en_GB.js +++ /dev/null @@ -1,10 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "File not locked", - "File is locked" : "File is locked", - "Status: locked" : "Status: locked", - "Status: not locked" : "Status: not locked", - "filelock" : "filelock" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/l10n/en_GB.json b/Old Releases/Owncloud 8.1/l10n/en_GB.json deleted file mode 100644 index c2e23cf..0000000 --- a/Old Releases/Owncloud 8.1/l10n/en_GB.json +++ /dev/null @@ -1,8 +0,0 @@ -{ "translations": { - "File not locked" : "File not locked", - "File is locked" : "File is locked", - "Status: locked" : "Status: locked", - "Status: not locked" : "Status: not locked", - "filelock" : "filelock" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.1/l10n/en_GB.php b/Old Releases/Owncloud 8.1/l10n/en_GB.php deleted file mode 100644 index 7b6d0af..0000000 --- a/Old Releases/Owncloud 8.1/l10n/en_GB.php +++ /dev/null @@ -1,8 +0,0 @@ - "File not locked", -"File is locked" => "File is locked", -"Status: locked" => "Status: locked", -"Status: not locked" => "Status: not locked", -"filelock" => "filelock" -); diff --git a/Old Releases/Owncloud 8.1/l10n/fr.js b/Old Releases/Owncloud 8.1/l10n/fr.js deleted file mode 100644 index 3a94645..0000000 --- a/Old Releases/Owncloud 8.1/l10n/fr.js +++ /dev/null @@ -1,28 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "Fichier non verrouillé ", - "File is locked" : " Fichier verrouillé ", - "Status: locked" : " Statut: verrouillé ", - "Status: not locked" : " Statut: non verrouillé ", - "filelock" : "fichier vérouillé", - "Manage multiaccess" : " Configuration des accès multiples", - "Here you can set the colors for the locked files." : " Vous pouvez définir les couleurs pour les fichiers verrouillés.", - "Background color" : " Couleur de fond ", - "Font color" : " Couleur de police ", - "Save" : "Sauvegarder", - "There are no locked files at the moment" : " Il n'y a pas de fichiers verrouillés actuellement", - "Locked files" : " Fichiers verrouillés", - "Unlock this file" : " Déverrouiller ce fichier ", - "Unlock all files" : " Déverrouiller tous les fichiers", - "by" : "par", - "'Locked by' suffix" : "'verrouillé par'-suffixe", - "username" : "nom d'utilisateur", - "Shows the real username i.e. admin, or LDAP UUID" : "Affiche le vrai nom d'utilisateur, par exemple admin ou un UUID", - "display name" : "nom d'affichage", - "Shows the full displayed name, i.e. John Doe" : "Affiche le nom d'affichage, par exemple Jean Dupont", - "Suffix change has been saved" : "le changement de suffixe a été enregistré", - "Old file locks won't be affected by this" : "les anciens fichiers ne seront pas affectés par cette" - -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/l10n/fr.json b/Old Releases/Owncloud 8.1/l10n/fr.json deleted file mode 100644 index 0822878..0000000 --- a/Old Releases/Owncloud 8.1/l10n/fr.json +++ /dev/null @@ -1,25 +0,0 @@ -{ "translations": { - "File not locked" : "Fichier non verrouillé ", - "File is locked" : " Fichier verrouillé ", - "Status: locked" : " Statut: verrouillé ", - "Status: not locked" : " Statut: non verrouillé ", - "filelock" : "fichier vérouillé", - "Manage multiaccess" : " Configuration des accès multiples", - "Here you can set the colors for the locked files." : " Vous pouvez définir les couleurs pour les fichiers verrouillés.", - "Background color" : " Couleur de fond ", - "Font color" : " Couleur de police ", - "Save" : "Sauvegarder", - "There are no locked files at the moment" : " Il n'y a pas de fichiers verrouillés actuellement", - "Locked files" : " Fichiers verrouillés", - "Unlock this file" : " Déverrouiller ce fichier ", - "Unlock all files" : " Déverrouiller tous les fichiers", - "by" : "par", - "'Locked by' suffix" : "'verrouillé par'-suffixe", - "username" : "nom d'utilisateur", - "Shows the real username i.e. admin, or LDAP UUID" : "Affiche le vrai nom d'utilisateur, par exemple admin ou un UUID", - "display name" : "nom d'affichage", - "Shows the full displayed name, i.e. John Doe" : "Affiche le nom d'affichage, par exemple Jean Dupont", - "Suffix change has been saved" : "le changement de suffixe a été enregistré", - "Old file locks won't be affected by this" : "les anciens fichiers ne seront pas affectés par cette" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.1/l10n/fr.php b/Old Releases/Owncloud 8.1/l10n/fr.php deleted file mode 100644 index 4076382..0000000 --- a/Old Releases/Owncloud 8.1/l10n/fr.php +++ /dev/null @@ -1,18 +0,0 @@ - "Fichier non verrouillé ", -"File is locked" => " Fichier verrouillé ", -"Status: locked" => " Statut: verrouillé ", -"Status: not locked" => " Statut: non verrouillé ", -"filelock" => "fichier vérouillé", -"Manage multiaccess" => " Configuration des accès multiples", -"Here you can set the colors for the locked files." => " Vous pouvez définir les couleurs pour les fichiers verrouillés.", -"Background color" => " Couleur de fond ", -"Font color" => " Couleur de police ", -"Save" => "Sauvegarder", -"There are no locked files at the moment" => " Il n'y a pas de fichiers verrouillés actuellement", -"Locked files" => " Fichiers verrouillés", -"Unlock this file" => " Déverrouiller ce fichier ", -"Unlock all files" => " Déverrouiller tous les fichiers", -"by" => "par", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/l10n/fr_FR.js b/Old Releases/Owncloud 8.1/l10n/fr_FR.js deleted file mode 100644 index 52118de..0000000 --- a/Old Releases/Owncloud 8.1/l10n/fr_FR.js +++ /dev/null @@ -1,20 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "Fichier non verrouillé ", - "File is locked" : " Fichier verrouillé ", - "Status: locked" : " Statut: verrouillé ", - "Status: not locked" : " Statut: non verrouillé ", - "filelock" : "fichier vérouillé", - "Manage multiaccess" : " Configuration des accès multiples", - "Here you can set the colors for the locked files." : " Vous pouvez définir les couleurs pour les fichiers verrouillés.", - "Background color" : " Couleur de fond ", - "Font color" : " Couleur de police ", - "Save" : "Sauvegarder", - "There are no locked files at the moment" : " Il n'y a pas de fichiers verrouillés actuellement", - "Locked files" : " Fichiers verrouillés", - "Unlock this file" : " Déverrouiller ce fichier ", - "Unlock all files" : " Déverrouiller tous les fichiers", - "by" : "par" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/l10n/fr_FR.json b/Old Releases/Owncloud 8.1/l10n/fr_FR.json deleted file mode 100644 index 5a7b206..0000000 --- a/Old Releases/Owncloud 8.1/l10n/fr_FR.json +++ /dev/null @@ -1,18 +0,0 @@ -{ "translations": { - "File not locked" : "Fichier non verrouillé ", - "File is locked" : " Fichier verrouillé ", - "Status: locked" : " Statut: verrouillé ", - "Status: not locked" : " Statut: non verrouillé ", - "filelock" : "fichier vérouillé", - "Manage multiaccess" : " Configuration des accès multiples", - "Here you can set the colors for the locked files." : " Vous pouvez définir les couleurs pour les fichiers verrouillés.", - "Background color" : " Couleur de fond ", - "Font color" : " Couleur de police ", - "Save" : "Sauvegarder", - "There are no locked files at the moment" : " Il n'y a pas de fichiers verrouillés actuellement", - "Locked files" : " Fichiers verrouillés", - "Unlock this file" : " Déverrouiller ce fichier ", - "Unlock all files" : " Déverrouiller tous les fichiers", - "by" : "par" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.1/l10n/fr_FR.php b/Old Releases/Owncloud 8.1/l10n/fr_FR.php deleted file mode 100644 index 4076382..0000000 --- a/Old Releases/Owncloud 8.1/l10n/fr_FR.php +++ /dev/null @@ -1,18 +0,0 @@ - "Fichier non verrouillé ", -"File is locked" => " Fichier verrouillé ", -"Status: locked" => " Statut: verrouillé ", -"Status: not locked" => " Statut: non verrouillé ", -"filelock" => "fichier vérouillé", -"Manage multiaccess" => " Configuration des accès multiples", -"Here you can set the colors for the locked files." => " Vous pouvez définir les couleurs pour les fichiers verrouillés.", -"Background color" => " Couleur de fond ", -"Font color" => " Couleur de police ", -"Save" => "Sauvegarder", -"There are no locked files at the moment" => " Il n'y a pas de fichiers verrouillés actuellement", -"Locked files" => " Fichiers verrouillés", -"Unlock this file" => " Déverrouiller ce fichier ", -"Unlock all files" => " Déverrouiller tous les fichiers", -"by" => "par", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/l10n/ja.js b/Old Releases/Owncloud 8.1/l10n/ja.js deleted file mode 100644 index cc99396..0000000 --- a/Old Releases/Owncloud 8.1/l10n/ja.js +++ /dev/null @@ -1,20 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "ファイルロック無し", - "File is locked" : "ファイルロック中", - "Status: locked" : "状態: ロック中", - "Status: not locked" : "状態: ロック無し", - "filelock" : "ファイルロック", - "Manage multiaccess" : "同時アクセス管理", - "Here you can set the colors for the locked files." : "ロックされたファイルのデフォルトの背景色を設定できます。", - "Background color" : "背景色", - "Font color" : "フォント色", - "Save" : "保存", - "There are no locked files at the moment" : "現在ロックされているファイルはありません", - "Locked files" : "このファイルをロック解除", - "Unlock this file" : "ロック中のファイル", - "Unlock all files" : "全てのファイルをロック解除", - "by" : "による" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/l10n/ja.json b/Old Releases/Owncloud 8.1/l10n/ja.json deleted file mode 100644 index a0fb34e..0000000 --- a/Old Releases/Owncloud 8.1/l10n/ja.json +++ /dev/null @@ -1,18 +0,0 @@ -{ "translations": { - "File not locked" : "ファイルロック無し", - "File is locked" : "ファイルロック中", - "Status: locked" : "状態: ロック中", - "Status: not locked" : "状態: ロック無し", - "filelock" : "ファイルロック", - "Manage multiaccess" : "同時アクセス管理", - "Here you can set the colors for the locked files." : "ロックされたファイルのデフォルトの背景色を設定できます。", - "Background color" : "背景色", - "Font color" : "フォント色", - "Save" : "保存", - "There are no locked files at the moment" : "現在ロックされているファイルはありません", - "Locked files" : "このファイルをロック解除", - "Unlock this file" : "ロック中のファイル", - "Unlock all files" : "全てのファイルをロック解除", - "by" : "による" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.1/l10n/ja.php b/Old Releases/Owncloud 8.1/l10n/ja.php deleted file mode 100644 index c3aee44..0000000 --- a/Old Releases/Owncloud 8.1/l10n/ja.php +++ /dev/null @@ -1,18 +0,0 @@ - "ファイルロック無し", -"File is locked" => "ファイルロック中", -"Status: locked" => "状態: ロック中", -"Status: not locked" => "状態: ロック無し", -"filelock" => "ファイルロック", -"Manage multiaccess" => "同時アクセス管理", -"Here you can set the colors for the locked files." => "ロックされたファイルのデフォルトの背景色を設定できます。", -"Background color" => "背景色", -"Font color" => "フォント色", -"Save" => "保存", -"There are no locked files at the moment" => "現在ロックされているファイルはありません", -"Locked files" => "このファイルをロック解除", -"Unlock this file" => "ロック中のファイル", -"Unlock all files" => "全てのファイルをロック解除", -"by" => "による", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/l10n/ja_JP.js b/Old Releases/Owncloud 8.1/l10n/ja_JP.js deleted file mode 100644 index cc99396..0000000 --- a/Old Releases/Owncloud 8.1/l10n/ja_JP.js +++ /dev/null @@ -1,20 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "ファイルロック無し", - "File is locked" : "ファイルロック中", - "Status: locked" : "状態: ロック中", - "Status: not locked" : "状態: ロック無し", - "filelock" : "ファイルロック", - "Manage multiaccess" : "同時アクセス管理", - "Here you can set the colors for the locked files." : "ロックされたファイルのデフォルトの背景色を設定できます。", - "Background color" : "背景色", - "Font color" : "フォント色", - "Save" : "保存", - "There are no locked files at the moment" : "現在ロックされているファイルはありません", - "Locked files" : "このファイルをロック解除", - "Unlock this file" : "ロック中のファイル", - "Unlock all files" : "全てのファイルをロック解除", - "by" : "による" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/l10n/ja_JP.json b/Old Releases/Owncloud 8.1/l10n/ja_JP.json deleted file mode 100644 index a0fb34e..0000000 --- a/Old Releases/Owncloud 8.1/l10n/ja_JP.json +++ /dev/null @@ -1,18 +0,0 @@ -{ "translations": { - "File not locked" : "ファイルロック無し", - "File is locked" : "ファイルロック中", - "Status: locked" : "状態: ロック中", - "Status: not locked" : "状態: ロック無し", - "filelock" : "ファイルロック", - "Manage multiaccess" : "同時アクセス管理", - "Here you can set the colors for the locked files." : "ロックされたファイルのデフォルトの背景色を設定できます。", - "Background color" : "背景色", - "Font color" : "フォント色", - "Save" : "保存", - "There are no locked files at the moment" : "現在ロックされているファイルはありません", - "Locked files" : "このファイルをロック解除", - "Unlock this file" : "ロック中のファイル", - "Unlock all files" : "全てのファイルをロック解除", - "by" : "による" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.1/l10n/ja_JP.php b/Old Releases/Owncloud 8.1/l10n/ja_JP.php deleted file mode 100644 index c3aee44..0000000 --- a/Old Releases/Owncloud 8.1/l10n/ja_JP.php +++ /dev/null @@ -1,18 +0,0 @@ - "ファイルロック無し", -"File is locked" => "ファイルロック中", -"Status: locked" => "状態: ロック中", -"Status: not locked" => "状態: ロック無し", -"filelock" => "ファイルロック", -"Manage multiaccess" => "同時アクセス管理", -"Here you can set the colors for the locked files." => "ロックされたファイルのデフォルトの背景色を設定できます。", -"Background color" => "背景色", -"Font color" => "フォント色", -"Save" => "保存", -"There are no locked files at the moment" => "現在ロックされているファイルはありません", -"Locked files" => "このファイルをロック解除", -"Unlock this file" => "ロック中のファイル", -"Unlock all files" => "全てのファイルをロック解除", -"by" => "による", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.1/templates/admin.php b/Old Releases/Owncloud 8.1/templates/admin.php deleted file mode 100644 index f604c6e..0000000 --- a/Old Releases/Owncloud 8.1/templates/admin.php +++ /dev/null @@ -1,98 +0,0 @@ -execute()->fetchAll(); -if($exist!=null) - $result = \OCP\DB::prepare("SELECT * FROM *PREFIX*".app::table)->execute()->fetchAll(); - -//---------------------------------------------------------------------------------------------------------------------------- - -\OCP\Util::addscript(app::name, 'admin'); -\OCP\Util::addscript(app::name, 'jscolor'); - -?> -
-
-

t('Manage multiaccess')) ?>

- - t("Here you can set the colors for the locked files.")); - echo $naming; - echo ' -

- '.$l->t("Background color").':
- # -  

- - '.$l->t("Font color").':
- # -  

- '; - - if(count($result)>0) - { - echo '
'.$l->t("Locked files").':
-
-
- '; - } - else - echo $l->t("There are no locked files at the moment"); - - //Permission section - echo ' -
'.$l->t("Permission management").':
-
-
'.$l->t("This feature allows unlocking only by the owner of the lock").'. '.$l->t("The upcoming release will add group based permissions").'. - '; - - - echo '
'; - //Suffix section - echo '
'.$l->t("'Locked by' suffix").':
-

('.$l->t("Old file locks won't be affected by this").')


-
-


'.$l->t("Shows the real username i.e. admin, or LDAP UUID").'

-


'.$l->t("Shows the full displayed name, i.e. John Doe").'

-
- '; - - echo '
-

- '.$l->t("Suffix change has been saved").' -

-
'; - - ?> -
- -execute(array($configtype))->fetchAll(); - - if (count($type) >= 1) - $configkey = $type[0]['configvalue']; -} - -?> diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/admin.php b/Old Releases/Owncloud 8.2.2/files_w2g/admin.php deleted file mode 100644 index 088f885..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/admin.php +++ /dev/null @@ -1,9 +0,0 @@ -fetchPage(); - diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/ajax/admin_db.php b/Old Releases/Owncloud 8.2.2/files_w2g/ajax/admin_db.php deleted file mode 100644 index 0aa7a1d..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/ajax/admin_db.php +++ /dev/null @@ -1,21 +0,0 @@ -execute(); - echo "clear"; - break; - - case 'clearthis': - \OCP\DB::prepare("DELETE FROM *PREFIX*".app::table." WHERE name=?")->execute(array($_POST['lock'])); - echo "clear"; - break; -} - -?> diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/ajax/getcolor.php b/Old Releases/Owncloud 8.2.2/files_w2g/ajax/getcolor.php deleted file mode 100644 index 1061442..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/ajax/getcolor.php +++ /dev/null @@ -1,11 +0,0 @@ -execute(array($_POST['type']))->fetchAll(); - -if(count($result)>=1) echo $result[0]['configvalue']; - -else echo ""; diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/ajax/update.php b/Old Releases/Owncloud 8.2.2/files_w2g/ajax/update.php deleted file mode 100644 index 8e125a5..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/ajax/update.php +++ /dev/null @@ -1,35 +0,0 @@ -execute(array($mode))->fetchAll(); - -if(count($result)<1)//Value already set? -{ - $query = \OCP\DB::prepare("INSERT INTO *PREFIX*appconfig(appid,configkey,configvalue) value('files_w2g',?,?)"); - $result = $query->execute(array($mode,$value)); - echo $l->t($mode)." ".$l->t("has been set!"); -} -else -{ - $query = \OCP\DB::prepare("UPDATE *PREFIX*appconfig set configvalue=? WHERE appid='files_w2g' and configkey=?"); - $result = $query->execute(array($value,$mode)); - echo $l->t("Updated successfully!"); - - -} diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/ajax/workin2gether.php b/Old Releases/Owncloud 8.2.2/files_w2g/ajax/workin2gether.php deleted file mode 100644 index 1138503..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/ajax/workin2gether.php +++ /dev/null @@ -1,151 +0,0 @@ -execute(array($id))->fetchAll(); - - $original_path = $result[0]['path']; - $storage_id = str_replace("home::", "", $result[0]['id']) . '/'; - - $lockpath = $storage_id.$original_path; -} -else $lockpath = \OCP\USER::getUser()."/files".cleanPath($path); - -//Lock DB entry -$lockfile = lockname($lockpath); -$db_lock_state = \OCP\DB::prepare("SELECT * FROM *PREFIX*" . app::table . " WHERE name = ?")->execute(array($lockfile))->fetchAll(); - -//If lock exist, unlock it, but check the safemode -if ($db_lock_state!=null) { - if($safe=="false") { - $lockedby_name = $db_lock_state[0]['locked_by']; - ShowUserName($lockedby_name); - - if( extended_precheck( $extended, $lockedby_name ) != 0 ){ - echo $l->t("No permission"); - return; - } - - \OCP\DB::prepare("DELETE FROM *PREFIX*" . app::table . " WHERE name=?")->execute(array($lockfile)); - echo $l->t("File not locked"); - } - else{ - $lockedby_name = $db_lock_state[0]['locked_by']; - ShowDisplayName($lockedby_name); - echo $l->t("Status: locked")." ".$l->t("by")." ".$lockedby_name; - } -} -//If not locked, lock it, but check the safemode -else { - if($safe=="false") { - $lockedby_name = \OCP\User::getUser(); - if($naming=="rule_displayname") { - $lockedby_name = \OCP\User::getDisplayName(); - $lockedby_name .= "|".\OCP\User::getUser(); - } - - \OCP\DB::prepare("INSERT INTO *PREFIX*".app::table."(name,locked_by) VALUES(?,?)")->execute(array($lockfile,$lockedby_name)); - - //For Compatibiliy reasons, support old Lockedby type <0.8 - - ShowDisplayName($lockedby_name); //Korrektur bei DisplayName - echo $l->t("File is locked")." ".$l->t("by")." ".$lockedby_name; - } - else echo $l->t("Status: not locked"); -} - -//Functions - -function lockname($path){ - //Replace all '/' with $ for a filename for the lock file - $ppath = str_replace("/","$",cleanPath($path))."$"; - $ppath = str_replace(":","#",$ppath); - - //Remove double dollar char when exist - if ($ppath[0] == "$" and $ppath[1] == "$") $ppath = substr($ppath,1); - - return preg_replace('/\\\/','$',$ppath); -} - -function cleanPath($path){ - return preg_replace('{(/)\1+}', "/", urldecode(rtrim($path, "/"))); -} - -function db_fetcher( &$configkey, $configtype ){ - $type = \OCP\DB::prepare("SELECT * FROM *PREFIX*appconfig where configkey=? and appid='files_w2g' LIMIT 1")->execute(array($configtype))->fetchAll(); - - if (count($type) >= 1) - $configkey = $type[0]['configvalue']; -} - -function extended_precheck( $extended, $owner ){ - //Return 0 = allowed | Return 1 = Forbidden - if ( $extended == "0" ) - return 0; - elseif ( $extended == "1" ) - { - if( $owner == \OCP\User::getUser() ) - return 0; - } - - return 1; -} - -function ShowDisplayName(&$lockedby_name){ - if(strstr($lockedby_name,"|")){ - $temp_ln = explode("|",$lockedby_name); - $lockedby_name = $temp_ln[0]; - } -} - -function ShowUserName(&$lockedby_name){ - if(strstr($lockedby_name,"|")){ - $temp_ln = explode("|",$lockedby_name); - $lockedby_name = $temp_ln[1]; - } -} - diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/appinfo/app.php b/Old Releases/Owncloud 8.2.2/files_w2g/appinfo/app.php deleted file mode 100644 index 53b53d6..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/appinfo/app.php +++ /dev/null @@ -1,41 +0,0 @@ -execute()->fetchAll(); - - if($db_exist==null){ - @$db_exist = \OCP\DB::prepare("CREATE table *PREFIX*" . app::table . "(name varchar(255) PRIMARY KEY,created TIMESTAMP DEFAULT CURRENT_TIMESTAMP,locked_by varchar(255)) " . app::charset); - @$db_exist->execute(); - } - - app::launch(); -} diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/appinfo/info.xml b/Old Releases/Owncloud 8.2.2/files_w2g/appinfo/info.xml deleted file mode 100644 index 0001b99..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/appinfo/info.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - files_w2g - Workin2gether - - Pseudo multiaccess-management feature for Owncloud. - You can lock files and disable the fileactions, leaving only the fileaction of unlocking a file. - Please leave your feedback and rate this app, if you like it! - - - AGPL - Patrick Hoffmann - 8.00 - - - - 164016 - - mysql - - diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/appinfo/routes.php b/Old Releases/Owncloud 8.2.2/files_w2g/appinfo/routes.php deleted file mode 100644 index 9512e8f..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/appinfo/routes.php +++ /dev/null @@ -1,19 +0,0 @@ -create('files_w2g_ajax_getcolor', 'ajax/getcolor.php') - ->actionInclude('files_w2g/ajax/getcolor.php'); - -$this->create('files_w2g_ajax_core', 'ajax/workin2gether.php') - ->actionInclude('files_w2g/ajax/workin2gether.php'); - -$this->create('files_w2g_ajax_update', 'ajax/update.php') - ->actionInclude('files_w2g/ajax/update.php'); - -$this->create('files_w2g_ajax_admin_db', 'ajax/admin_db.php') - ->actionInclude('files_w2g/ajax/admin_db.php'); - -$this->create('files_w2g_admin', 'admin.php') - ->actionInclude('files_w2g/admin.php'); diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/appinfo/version b/Old Releases/Owncloud 8.2.2/files_w2g/appinfo/version deleted file mode 100644 index 5ef1b52..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/appinfo/version +++ /dev/null @@ -1 +0,0 @@ -0.8.2.3 diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/css/styles.css b/Old Releases/Owncloud 8.2.2/files_w2g/css/styles.css deleted file mode 100644 index d04782b..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/css/styles.css +++ /dev/null @@ -1,24 +0,0 @@ - -a.action.locked{ display:none !important; } - -a.action-getstate_w2g.locked{ display:inline !important; } - -a.statelock a.action[data-action!=getstate_dir&&data-action!=getstate_file]{ -pointer-events:none; -} -a.namelock -{ -line-height: 50px; -padding: 0; -} -a.namelock .nametext{position:absolute !important;left:105px !important;} - -td.statelock:focus{pointer-events:none;} - -a.action-getstate_w2g{ cursor:pointer !important;} - -a.name.statelock a.action{ color:#eee; opacity:1 !important; } - -a.name.statelock a.action:hover, a.name.statelock span.extension{ color:#fff; } - -.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled{ opacity:1.0;} diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/img/app.svg b/Old Releases/Owncloud 8.2.2/files_w2g/img/app.svg deleted file mode 100644 index 6cafe17..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/img/app.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/img/lock.png b/Old Releases/Owncloud 8.2.2/files_w2g/img/lock.png deleted file mode 100644 index 9b8c2ec5bc7bbf2031a8678af52ed802e6a6f9cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 307 zcmeAS@N?(olHy`uVBq!ia0vp^f*{Pn3?z9rZ$AN~N&|dCT!A#5!Tf}L*~a`L;Z PKCZl?^}@uHk--`OML81Y diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/js/cross.gif b/Old Releases/Owncloud 8.2.2/files_w2g/js/cross.gif deleted file mode 100644 index 0ee9c7ac517bee40b78aea03afa809631f0b69fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmZ?wbhEHb3k<8jPQJQ=fuv5eVo^ZVob{r>y?yxzz6n|{I3RuQNUl#q~6w6{Y!i_W*AbzM$M zv?qg)_ee+pt?W@2m!pR{B_p?CM-{APX1sq0k!v%Dx?=2xC6f&jlZz_Dn#dT_Y>InI z6zGP*0qIZBM5F|EZW=wONLxZCI;oxx8efxF<=55NtkzwRu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2V8RUyS}$EzQISB8Wob;L&@gXJ0-qG zN5LYq5L0xS_C~Y5ieq)J$^evnrYxC3DF5rA^JvXg$)Z@TW4d~?c5Fm1;n8+WV9n3A zREIvTfx}B&q+1AP^S|orTG__8w)t@5vGN(1#THk!CKLHp`#)!zH7z`x^Y2abdkC%N zVpo9#I|*N>2gAEStK;2nH>2-d8UgV}Ce62}O-VSnpIx1GP7~)f>xpwmI^Gq>t9ccs zdo47kYWW=g+WUVuK=)o4jL>*SZet8NcRq)42(#4#7K&?jfMC8bH5#uho9aCC9Sc8| z&eN*3Xr9L%twp11piU_UMd7cxt!d0dy(tNJ+3&*_^j;1X9gV|DYj@pg2={0^wT+T5 z?Xw4UzW(|>jIRGsKJaB+PUaLZQP!rJ26J1VGh%$e>x-WKf|{S*YSJH@EETJjsGMoT zZ6{6eiS3#V@YL5Z@Hgy9@bEpRGI;>Z_}tQa8IhV#m14ak_?Dm8Rb(N8c>8!Bbg8nV z@Fnflx2C1NJLL_>Z|O7~CV@n+T&C@vpgqh~t(`X)qaj=ypFdgdNZsNlmAwU7;S#iO z`J>RxSlI>*l1c;-I(BztG~ID9hmZHLX}mTDprkNW`2*nM`NCrG^K)aoYd*>U5=8}T zz<8Trh(5#1==-ntBY@u7k%!+X7o>B<{Wf^*@YzUESz$bKtAufemd7|St0063A+%|% YzFqsNg>|5V=vOIWZ|#VBZRvIQe;Bk#LI3~& diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/js/hv.png b/Old Releases/Owncloud 8.2.2/files_w2g/js/hv.png deleted file mode 100644 index 1c5e01f8bcecc4cf835e8eeeaa43ef2c06789022..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2865 zcmX9=3pmqV7@teXHB3Y-6(VIKN(`gs(lEJ2EJSn5Crm8<3KhyeDHUOICnT3LV_lSr zSZ;GyqBJp=+1PCR_SJKqbI$X;=RD_m-{1TDz3)kPaYD#Qs!D=DAQ^i*TUWu}ESNzO z!h$tb?&uc~NOHs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nd(>JAQ8aPg@ zB_;;xwvXzblZt7u^BsB>aU@zJE1ch*TlQwuWu7BDuKT{66^RATo0B+Y!@Lhy1GSwWwEi=Q+}{?yp8BIm>I-u0&;G(EAzl`dWB zRwuQl%yBKwtv`^NR}gNuzg>8Y(x1DoZboBm7h9&Lhd6FL<64*y8ZDcoR+2S>La>P{ zdT}{ovrGh|#CyWM!R~Nh2aG>ZjO+}-icsKGb<8`S26!F3nT0k<6$)RZuei(y1^m-V z`FzfUFvRX2AB~LzUAD`t4sh4+X?+2kj20+cq*#lahA)7AosJ-k#=;GD*U}97uFLKj zo^@6(zQe&aeK^$2IN*IzWO-uxdlY3#5IvJ?Va5_yC8^$xf6c)Wz8!vpPzq^I#s8-J zYyM?GrR0`h}1un-M;JJa=H9Ncb^MF#<$~pqrt4epF8nadCmVNKJuIWM9YdYW&cwO1A~wUN zrd-jpV#03i+W0W%1&nO}Uy!h7u>^0`~OuH_{)(AjBe;hsQ!*)mO_DzpGRC zyox}(f&d2Gpi6^iw#eB7bVT;3FFa@cC>tM0 zh`Tj?={tK()4_woqpfX-$RrW>1rj>)NVFkyuySiiw7RSW_`4Px7jCb2c4SAc`*^t$*(d zB&ak&1Rbch68*E0=N1vmji9yfXFnH>R$*ue>|7dPIO)*efxInfOwf5~K+Ou1gVxLJ znHJS9zagvG#*KbWDL=8YuMi#xgFQZk9Mq{0A}gF)8u?-xvaEZdtqyUFRTrLq*p?!~??u&DrIz2ow@FRy0XX+-+%7G>uU0&kTN1W1G| zr>H6)4|9Ji%2`d{EBb%`9?5PNx968;9+OmY4|DC?&+M;;jN=L6in4xY&Q$twq0QFAeZuQ15|q?2tO{QUL* E0LKozl>h($ diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/js/jscolor.js b/Old Releases/Owncloud 8.2.2/files_w2g/js/jscolor.js deleted file mode 100644 index 6bb0c1f..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/js/jscolor.js +++ /dev/null @@ -1,997 +0,0 @@ -/** - * jscolor, JavaScript Color Picker - * - * @version 1.4.2 - * @license GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html - * @author Jan Odvarko, http://odvarko.cz - * @created 2008-06-15 - * @updated 2013-11-25 - * @link http://jscolor.com - */ - - -var jscolor = { - - - dir : '', // location of jscolor directory (leave empty to autodetect) - bindClass : 'color', // class name - binding : true, // automatic binding via - preloading : true, // use image preloading? - - - install : function() { - jscolor.addEvent(window, 'load', jscolor.init); - }, - - - init : function() { - if(jscolor.binding) { - jscolor.bind(); - } - if(jscolor.preloading) { - jscolor.preload(); - } - }, - - - getDir : function() { - if(!jscolor.dir) { - var detected = jscolor.detectDir(); - jscolor.dir = detected!==false ? detected : 'jscolor/'; - } - return jscolor.dir; - }, - - - detectDir : function() { - var base = location.href; - - var e = document.getElementsByTagName('base'); - for(var i=0; i vs[a] ? - (-vp[a]+tp[a]+ts[a]/2 > vs[a]/2 && tp[a]+ts[a]-ps[a] >= 0 ? tp[a]+ts[a]-ps[a] : tp[a]) : - tp[a], - -vp[b]+tp[b]+ts[b]+ps[b]-l+l*c > vs[b] ? - (-vp[b]+tp[b]+ts[b]/2 > vs[b]/2 && tp[b]+ts[b]-l-l*c >= 0 ? tp[b]+ts[b]-l-l*c : tp[b]+ts[b]-l+l*c) : - (tp[b]+ts[b]-l+l*c >= 0 ? tp[b]+ts[b]-l+l*c : tp[b]+ts[b]-l-l*c) - ]; - } - drawPicker(pp[a], pp[b]); - } - }; - - - this.importColor = function() { - if(!valueElement) { - this.exportColor(); - } else { - if(!this.adjust) { - if(!this.fromString(valueElement.value, leaveValue)) { - styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage; - styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor; - styleElement.style.color = styleElement.jscStyle.color; - this.exportColor(leaveValue | leaveStyle); - } - } else if(!this.required && /^\s*$/.test(valueElement.value)) { - valueElement.value = ''; - styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage; - styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor; - styleElement.style.color = styleElement.jscStyle.color; - this.exportColor(leaveValue | leaveStyle); - - } else if(this.fromString(valueElement.value)) { - // OK - } else { - this.exportColor(); - } - } - }; - - - this.exportColor = function(flags) { - if(!(flags & leaveValue) && valueElement) { - var value = this.toString(); - if(this.caps) { value = value.toUpperCase(); } - if(this.hash) { value = '#'+value; } - valueElement.value = value; - } - if(!(flags & leaveStyle) && styleElement) { - styleElement.style.backgroundImage = "none"; - styleElement.style.backgroundColor = - '#'+this.toString(); - styleElement.style.color = - 0.213 * this.rgb[0] + - 0.715 * this.rgb[1] + - 0.072 * this.rgb[2] - < 0.5 ? '#FFF' : '#000'; - } - if(!(flags & leavePad) && isPickerOwner()) { - redrawPad(); - } - if(!(flags & leaveSld) && isPickerOwner()) { - redrawSld(); - } - }; - - - this.fromHSV = function(h, s, v, flags) { // null = don't change - if(h !== null) { h = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, h)); } - if(s !== null) { s = Math.max(0.0, this.minS, Math.min(1.0, this.maxS, s)); } - if(v !== null) { v = Math.max(0.0, this.minV, Math.min(1.0, this.maxV, v)); } - - this.rgb = HSV_RGB( - h===null ? this.hsv[0] : (this.hsv[0]=h), - s===null ? this.hsv[1] : (this.hsv[1]=s), - v===null ? this.hsv[2] : (this.hsv[2]=v) - ); - - this.exportColor(flags); - }; - - - this.fromRGB = function(r, g, b, flags) { // null = don't change - if(r !== null) { r = Math.max(0.0, Math.min(1.0, r)); } - if(g !== null) { g = Math.max(0.0, Math.min(1.0, g)); } - if(b !== null) { b = Math.max(0.0, Math.min(1.0, b)); } - - var hsv = RGB_HSV( - r===null ? this.rgb[0] : r, - g===null ? this.rgb[1] : g, - b===null ? this.rgb[2] : b - ); - if(hsv[0] !== null) { - this.hsv[0] = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, hsv[0])); - } - if(hsv[2] !== 0) { - this.hsv[1] = hsv[1]===null ? null : Math.max(0.0, this.minS, Math.min(1.0, this.maxS, hsv[1])); - } - this.hsv[2] = hsv[2]===null ? null : Math.max(0.0, this.minV, Math.min(1.0, this.maxV, hsv[2])); - - // update RGB according to final HSV, as some values might be trimmed - var rgb = HSV_RGB(this.hsv[0], this.hsv[1], this.hsv[2]); - this.rgb[0] = rgb[0]; - this.rgb[1] = rgb[1]; - this.rgb[2] = rgb[2]; - - this.exportColor(flags); - }; - - - this.fromString = function(hex, flags) { - var m = hex.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i); - if(!m) { - return false; - } else { - if(m[1].length === 6) { // 6-char notation - this.fromRGB( - parseInt(m[1].substr(0,2),16) / 255, - parseInt(m[1].substr(2,2),16) / 255, - parseInt(m[1].substr(4,2),16) / 255, - flags - ); - } else { // 3-char notation - this.fromRGB( - parseInt(m[1].charAt(0)+m[1].charAt(0),16) / 255, - parseInt(m[1].charAt(1)+m[1].charAt(1),16) / 255, - parseInt(m[1].charAt(2)+m[1].charAt(2),16) / 255, - flags - ); - } - return true; - } - }; - - - this.toString = function() { - return ( - (0x100 | Math.round(255*this.rgb[0])).toString(16).substr(1) + - (0x100 | Math.round(255*this.rgb[1])).toString(16).substr(1) + - (0x100 | Math.round(255*this.rgb[2])).toString(16).substr(1) - ); - }; - - - function RGB_HSV(r, g, b) { - var n = Math.min(Math.min(r,g),b); - var v = Math.max(Math.max(r,g),b); - var m = v - n; - if(m === 0) { return [ null, 0, v ]; } - var h = r===n ? 3+(b-g)/m : (g===n ? 5+(r-b)/m : 1+(g-r)/m); - return [ h===6?0:h, m/v, v ]; - } - - - function HSV_RGB(h, s, v) { - if(h === null) { return [ v, v, v ]; } - var i = Math.floor(h); - var f = i%2 ? h-i : 1-(h-i); - var m = v * (1 - s); - var n = v * (1 - s*f); - switch(i) { - case 6: - case 0: return [v,n,m]; - case 1: return [n,v,m]; - case 2: return [m,v,n]; - case 3: return [m,n,v]; - case 4: return [n,m,v]; - case 5: return [v,m,n]; - } - } - - - function removePicker() { - delete jscolor.picker.owner; - document.getElementsByTagName('body')[0].removeChild(jscolor.picker.boxB); - } - - - function drawPicker(x, y) { - if(!jscolor.picker) { - jscolor.picker = { - box : document.createElement('div'), - boxB : document.createElement('div'), - pad : document.createElement('div'), - padB : document.createElement('div'), - padM : document.createElement('div'), - sld : document.createElement('div'), - sldB : document.createElement('div'), - sldM : document.createElement('div'), - btn : document.createElement('div'), - btnS : document.createElement('span'), - btnT : document.createTextNode(THIS.pickerCloseText) - }; - for(var i=0,segSize=4; i0) { - - //Initiate the FileAction for file - OCA.Files.fileActions.registerAction({ - name:'getstate_w2g', - displayName: t('files_w2g',text), - mime: 'all', - permissions: OC.PERMISSION_ALL, - type: OCA.Files.FileActions.TYPE_INLINE, - icon: function(){ return OC.imagePath('files_w2g','lock.png')}, - actionHandler: function(filename,context) - { - getState(context.$file.attr('data-id'),filename,context.$file.attr('data-share-owner'),"false"); - } - }); - - //Walk through all files in the active Filelist - $('#content').delegate('#fileList', 'fileActionsReady',function(ev){ - - var $fileList = ev.fileList.$fileList; - - $fileList.find('tr').each(function(){ - $filename = $(this).attr('data-file'); - $owner = $(this).attr('data-share-owner'); - $id = $(this).attr('data-id'); - getState($id,$filename,$owner,"true"); - }); - }); - } - - //Get the Background-color from the database - $.ajax({ - url: OC.filePath('files_w2g','ajax','getcolor.php'), - type: "post", - data: { type: 'color'}, - async: false, - success: function(data){if(data!=""){color = data;}}, - }); - - //Get the Fontcolor from the database - $.ajax({ - url: OC.filePath('files_w2g','ajax','getcolor.php'), - type: "post", - data: { type: 'fontcolor'}, - async: false, - success: function(data){if(data!=""){fontcolor = data;}}, - }); - - //Add dynamic CSS code - var cssrules = $("").appendTo("head"); - cssrules.append(".statelock{ background-color:#"+color+";color:#"+fontcolor+" !important;}"+ - ".statelock span.modified{color:#"+fontcolor+" !important;}"+ - "a.w2g_active{color:#"+fontcolor+" !important;display:inline !important;opacity:1.0 !important;}"+ - "a.w2g_active:hover{color:#fff !important;}"+ - "a.namelock,a.namelock span.extension {color:#"+fontcolor+";opacity:1.0!important;padding: 0 !important;}"); -}); - -//Switch the Lockstate -function toggle_control(filename) -{ - //Walk through the Filelists - $('#fileList tr').each(function() { - var $tr = $(this); - var $_tr = $tr.html().replace(/^\s+|\s+$/g, '').replace('','').split('').join(''); - var actionname = 'getstate_w2g'; - if($_tr.indexOf(filename)!=-1) - { - if($_tr.indexOf(lockedtext)==-1 && $_tr.indexOf(lockstate)==-1) - { //unlock - $tr.find('a.action[data-action!='+actionname+']').removeClass('locked'); - $tr.find('a.action[data-action!='+actionname+']').addClass('permanent'); - $tr.find('a.action[data-action='+actionname+']').removeClass('w2g_active'); - $tr.find('a.namelock').addClass('name').removeClass('namelock'); - $tr.find('td.filesize').removeClass('statelock'); - $tr.find('td.date').removeClass('statelock'); - $tr.find('td').removeClass('statelock'); - $tr.find('a.statelock').addClass('name'); - } - else if($_tr.indexOf(lockedtext)!=-1||$_tr.indexOf(lockstate)!=-1) - { //lock - $tr.find('a.permanent[data-action!='+actionname+']').removeClass('permanent'); - $tr.find('a.action[data-action='+actionname+']').addClass('w2g_active'); - $tr.find('a.action[data-action!='+actionname+']:not([class*=favorite])').addClass('locked'); - $tr.find('a.name').addClass('namelock').removeClass('name'); - $tr.find('td.filesize').addClass('statelock'); - $tr.find('td.date').addClass('statelock'); - $tr.find('td').addClass('statelock'); - } - } - }); -} - -//Get the current state -function getState(_id, _filename, _owner, _safe) -{ - oc_dir = $('#dir').val(); - _filename = _filename.replace(/ /g, "%20"); - oc_path = oc_dir +'/'+_filename; - - $.ajax({ - url: OC.filePath('files_w2g','ajax','workin2gether.php'), - type: "post", - data: { path: oc_path, safe: _safe, owner: _owner, id: _id}, - success: function(data){postmode(_filename,data)}, - }); -} - -//Push the status -function postmode(filename,data) -{ - filename = filename.replace(/%20/g,' '); - - var html = ' '+''+data+''; - - //Push the status - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.name').find('span.fileactions').find("a.action").filterAttr('data-action','getstate_w2g').html(html); - - //Push the status text to the locked mime - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.namelock').find('span.fileactions').find("a.action").filterAttr('data-action','getstate_w2g').html(html); - - if(data!=t('files_w2g','No permission')) - toggle_control(filename); -} diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de.js b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de.js deleted file mode 100644 index cfe2dd7..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de.js +++ /dev/null @@ -1,32 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "Datei nicht gesperrt", - "File is locked" : "Datei ist gesperrt", - "Status: locked" : "Status: gesperrt", - "Status: not locked" : "Status: nicht gesperrt", - "filelock" : "Dateisperre", - "Manage multiaccess" : "Mehrfachzugriff konfigurieren", - "Here you can set the colors for the locked files." : "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", - "Background color" : "Hintergrundfarbe", - "Font color" : "Vordergrundfarbe", - "Save" : "Speichern", - "There are no locked files at the moment" : "Aktuell sind keine Dateien gesperrt", - "Locked files" : "Gesperrte Dateien", - "Unlock this file" : "Diese Datei entsperren", - "Unlock all files" : "Alle Dateien entsperren", - "by" : "von", - "'Locked by' suffix" : "'Gesperrt von'-Suffix", - "username" : "Benutzername", - "Shows the real username i.e. admin, or LDAP UUID" : "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", - "display name" : "Anzeigename", - "Shows the full displayed name, i.e. John Doe" : "Zeigt den Anzeigename an, z.B. Max Mustermann", - "Suffix change has been saved" : "Der Suffix wurde aktualisiert", - "Old file locks won't be affected by this" : "Bereits vorhandene Dateisperren sind davon nicht betroffen", - "Permission management" : "Berechtigungsverwaltung", - "Use the extended permission feature for managing locks" : "Erweiterte Berechtigungsfunktion verwenden", - "This feature allows unlocking only by the owner of the lock" : "Mit dieser Funktion können gesperrte Dateien nur von den Besitzern der Sperre entfernt werden", - "The upcoming release will add group based permissions" : "Das nächste Update beinhaltet gruppenbasierte Berechtigungen", - "No permission" : "Keine Berechtigung" -}, -"nplurals=2; plural=(n != 1);"); diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de.json b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de.json deleted file mode 100644 index 7fc6991..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de.json +++ /dev/null @@ -1,30 +0,0 @@ -{ "translations": { -"File not locked" : "Datei nicht gesperrt", -"File is locked" : "Datei ist gesperrt", -"Status: locked" : "Status: gesperrt", -"Status: not locked" : "Status: nicht gesperrt", -"filelock" : "Dateisperre", -"Manage multiaccess" : "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." : "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" : "Hintergrundfarbe", -"Font color" : "Vordergrundfarbe", -"Save" : "Speichern", -"There are no locked files at the moment" : "Aktuell sind keine Dateien gesperrt", -"Locked files" : "Gesperrte Dateien", -"Unlock this file" : "Diese Datei entsperren", -"Unlock all files" : "Alle Dateien entsperren", -"by" : "von", -"'Locked by' suffix" : "'Gesperrt von'-Suffix", -"username" : "Benutzername", -"Shows the real username i.e. admin, or LDAP UUID" : "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", -"display name" : "Anzeigename", -"Shows the full displayed name, i.e. John Doe" : "Zeigt den Anzeigename an, z.B. Max Mustermann", -"Suffix change has been saved" : "Der Suffix wurde aktualisiert", -"Old file locks won't be affected by this" : "Bereits vorhandene Dateisperren sind davon nicht betroffen", -"Permission management" : "Berechtigungsverwaltung", -"Use the extended permission feature for managing locks" : "Erweiterte Berechtigungsfunktion verwenden", -"This feature allows unlocking only by the owner of the lock" : "Mit dieser Funktion können gesperrte Dateien nur von den Besitzern der Sperre entfernt werden", -"The upcoming release will add group based permissions" : "Das nächste Update beinhaltet gruppenbasierte Berechtigungen", -"No permission" : "Keine Berechtigung" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de.php b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de.php deleted file mode 100644 index ade3b44..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de.php +++ /dev/null @@ -1,30 +0,0 @@ - "Datei nicht gesperrt", -"File is locked" => "Datei ist gesperrt", -"Status: locked" => "Status: gesperrt", -"Status: not locked" => "Status: nicht gesperrt", -"filelock" => "Dateisperre", -"Manage multiaccess" => "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." => "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" => "Hintergrundfarbe", -"Font color" => "Vordergrundfarbe", -"Save" => "Speichern", -"There are no locked files at the moment" => "Aktuell sind keine Dateien gesperrt", -"Locked files" => "Gesperrte Dateien", -"Unlock this file" => "Diese Datei entsperren", -"Unlock all files" => "Alle Dateien entsperren", -"by" => "von", -"'Locked by' suffix" => "'Gesperrt von'-Suffix", -"username" => "Benutzername", -"Shows the real username i.e. admin, or LDAP UUID" => "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", -"display name" => "Anzeigename", -"Shows the full displayed name, i.e. John Doe" => "Zeigt den Anzeigename an, z.B. Max Mustermann", -"Suffix change has been saved" => "Der Suffix wurde aktualisiert", -"Old file locks won't be affected by this" => "Bereits vorhandene Dateisperren sind davon nicht betroffen", -"Permission management" => "Berechtigungsverwaltung", -"Use the extended permission feature for managing locks" => "Erweiterte Berechtigungsfunktion verwenden", -"This feature allows unlocking only by the owner of the lock" => "Mit dieser Funktion können gesperrte Dateien nur von den Besitzern der Sperre entfernt werden", -"The upcoming release will add group based permissions" => "Das nächste Update beinhaltet gruppenbasierte Berechtigungen", -"No permission" => "Keine Berechtigung" -); diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de_DE.js b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de_DE.js deleted file mode 100644 index cfe2dd7..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de_DE.js +++ /dev/null @@ -1,32 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "Datei nicht gesperrt", - "File is locked" : "Datei ist gesperrt", - "Status: locked" : "Status: gesperrt", - "Status: not locked" : "Status: nicht gesperrt", - "filelock" : "Dateisperre", - "Manage multiaccess" : "Mehrfachzugriff konfigurieren", - "Here you can set the colors for the locked files." : "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", - "Background color" : "Hintergrundfarbe", - "Font color" : "Vordergrundfarbe", - "Save" : "Speichern", - "There are no locked files at the moment" : "Aktuell sind keine Dateien gesperrt", - "Locked files" : "Gesperrte Dateien", - "Unlock this file" : "Diese Datei entsperren", - "Unlock all files" : "Alle Dateien entsperren", - "by" : "von", - "'Locked by' suffix" : "'Gesperrt von'-Suffix", - "username" : "Benutzername", - "Shows the real username i.e. admin, or LDAP UUID" : "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", - "display name" : "Anzeigename", - "Shows the full displayed name, i.e. John Doe" : "Zeigt den Anzeigename an, z.B. Max Mustermann", - "Suffix change has been saved" : "Der Suffix wurde aktualisiert", - "Old file locks won't be affected by this" : "Bereits vorhandene Dateisperren sind davon nicht betroffen", - "Permission management" : "Berechtigungsverwaltung", - "Use the extended permission feature for managing locks" : "Erweiterte Berechtigungsfunktion verwenden", - "This feature allows unlocking only by the owner of the lock" : "Mit dieser Funktion können gesperrte Dateien nur von den Besitzern der Sperre entfernt werden", - "The upcoming release will add group based permissions" : "Das nächste Update beinhaltet gruppenbasierte Berechtigungen", - "No permission" : "Keine Berechtigung" -}, -"nplurals=2; plural=(n != 1);"); diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de_DE.json b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de_DE.json deleted file mode 100644 index 7fc6991..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de_DE.json +++ /dev/null @@ -1,30 +0,0 @@ -{ "translations": { -"File not locked" : "Datei nicht gesperrt", -"File is locked" : "Datei ist gesperrt", -"Status: locked" : "Status: gesperrt", -"Status: not locked" : "Status: nicht gesperrt", -"filelock" : "Dateisperre", -"Manage multiaccess" : "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." : "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" : "Hintergrundfarbe", -"Font color" : "Vordergrundfarbe", -"Save" : "Speichern", -"There are no locked files at the moment" : "Aktuell sind keine Dateien gesperrt", -"Locked files" : "Gesperrte Dateien", -"Unlock this file" : "Diese Datei entsperren", -"Unlock all files" : "Alle Dateien entsperren", -"by" : "von", -"'Locked by' suffix" : "'Gesperrt von'-Suffix", -"username" : "Benutzername", -"Shows the real username i.e. admin, or LDAP UUID" : "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", -"display name" : "Anzeigename", -"Shows the full displayed name, i.e. John Doe" : "Zeigt den Anzeigename an, z.B. Max Mustermann", -"Suffix change has been saved" : "Der Suffix wurde aktualisiert", -"Old file locks won't be affected by this" : "Bereits vorhandene Dateisperren sind davon nicht betroffen", -"Permission management" : "Berechtigungsverwaltung", -"Use the extended permission feature for managing locks" : "Erweiterte Berechtigungsfunktion verwenden", -"This feature allows unlocking only by the owner of the lock" : "Mit dieser Funktion können gesperrte Dateien nur von den Besitzern der Sperre entfernt werden", -"The upcoming release will add group based permissions" : "Das nächste Update beinhaltet gruppenbasierte Berechtigungen", -"No permission" : "Keine Berechtigung" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de_DE.php b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de_DE.php deleted file mode 100644 index ade3b44..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/de_DE.php +++ /dev/null @@ -1,30 +0,0 @@ - "Datei nicht gesperrt", -"File is locked" => "Datei ist gesperrt", -"Status: locked" => "Status: gesperrt", -"Status: not locked" => "Status: nicht gesperrt", -"filelock" => "Dateisperre", -"Manage multiaccess" => "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." => "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" => "Hintergrundfarbe", -"Font color" => "Vordergrundfarbe", -"Save" => "Speichern", -"There are no locked files at the moment" => "Aktuell sind keine Dateien gesperrt", -"Locked files" => "Gesperrte Dateien", -"Unlock this file" => "Diese Datei entsperren", -"Unlock all files" => "Alle Dateien entsperren", -"by" => "von", -"'Locked by' suffix" => "'Gesperrt von'-Suffix", -"username" => "Benutzername", -"Shows the real username i.e. admin, or LDAP UUID" => "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", -"display name" => "Anzeigename", -"Shows the full displayed name, i.e. John Doe" => "Zeigt den Anzeigename an, z.B. Max Mustermann", -"Suffix change has been saved" => "Der Suffix wurde aktualisiert", -"Old file locks won't be affected by this" => "Bereits vorhandene Dateisperren sind davon nicht betroffen", -"Permission management" => "Berechtigungsverwaltung", -"Use the extended permission feature for managing locks" => "Erweiterte Berechtigungsfunktion verwenden", -"This feature allows unlocking only by the owner of the lock" => "Mit dieser Funktion können gesperrte Dateien nur von den Besitzern der Sperre entfernt werden", -"The upcoming release will add group based permissions" => "Das nächste Update beinhaltet gruppenbasierte Berechtigungen", -"No permission" => "Keine Berechtigung" -); diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en@pirate.js b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en@pirate.js deleted file mode 100644 index 1c3255b..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en@pirate.js +++ /dev/null @@ -1,10 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "File not locked", - "File is locked" : "File is locked", - "Status: locked" : "Status: locked", - "Status: not locked" : "Status: not locked", - "filelock" : "filelock" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en@pirate.json b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en@pirate.json deleted file mode 100644 index c2e23cf..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en@pirate.json +++ /dev/null @@ -1,8 +0,0 @@ -{ "translations": { - "File not locked" : "File not locked", - "File is locked" : "File is locked", - "Status: locked" : "Status: locked", - "Status: not locked" : "Status: not locked", - "filelock" : "filelock" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en@pirate.php b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en@pirate.php deleted file mode 100644 index 7b6d0af..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en@pirate.php +++ /dev/null @@ -1,8 +0,0 @@ - "File not locked", -"File is locked" => "File is locked", -"Status: locked" => "Status: locked", -"Status: not locked" => "Status: not locked", -"filelock" => "filelock" -); diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en_GB.js b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en_GB.js deleted file mode 100644 index 1c3255b..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en_GB.js +++ /dev/null @@ -1,10 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "File not locked", - "File is locked" : "File is locked", - "Status: locked" : "Status: locked", - "Status: not locked" : "Status: not locked", - "filelock" : "filelock" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en_GB.json b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en_GB.json deleted file mode 100644 index c2e23cf..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en_GB.json +++ /dev/null @@ -1,8 +0,0 @@ -{ "translations": { - "File not locked" : "File not locked", - "File is locked" : "File is locked", - "Status: locked" : "Status: locked", - "Status: not locked" : "Status: not locked", - "filelock" : "filelock" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en_GB.php b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en_GB.php deleted file mode 100644 index 7b6d0af..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/en_GB.php +++ /dev/null @@ -1,8 +0,0 @@ - "File not locked", -"File is locked" => "File is locked", -"Status: locked" => "Status: locked", -"Status: not locked" => "Status: not locked", -"filelock" => "filelock" -); diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr.js b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr.js deleted file mode 100644 index 3a94645..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr.js +++ /dev/null @@ -1,28 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "Fichier non verrouillé ", - "File is locked" : " Fichier verrouillé ", - "Status: locked" : " Statut: verrouillé ", - "Status: not locked" : " Statut: non verrouillé ", - "filelock" : "fichier vérouillé", - "Manage multiaccess" : " Configuration des accès multiples", - "Here you can set the colors for the locked files." : " Vous pouvez définir les couleurs pour les fichiers verrouillés.", - "Background color" : " Couleur de fond ", - "Font color" : " Couleur de police ", - "Save" : "Sauvegarder", - "There are no locked files at the moment" : " Il n'y a pas de fichiers verrouillés actuellement", - "Locked files" : " Fichiers verrouillés", - "Unlock this file" : " Déverrouiller ce fichier ", - "Unlock all files" : " Déverrouiller tous les fichiers", - "by" : "par", - "'Locked by' suffix" : "'verrouillé par'-suffixe", - "username" : "nom d'utilisateur", - "Shows the real username i.e. admin, or LDAP UUID" : "Affiche le vrai nom d'utilisateur, par exemple admin ou un UUID", - "display name" : "nom d'affichage", - "Shows the full displayed name, i.e. John Doe" : "Affiche le nom d'affichage, par exemple Jean Dupont", - "Suffix change has been saved" : "le changement de suffixe a été enregistré", - "Old file locks won't be affected by this" : "les anciens fichiers ne seront pas affectés par cette" - -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr.json b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr.json deleted file mode 100644 index 0822878..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr.json +++ /dev/null @@ -1,25 +0,0 @@ -{ "translations": { - "File not locked" : "Fichier non verrouillé ", - "File is locked" : " Fichier verrouillé ", - "Status: locked" : " Statut: verrouillé ", - "Status: not locked" : " Statut: non verrouillé ", - "filelock" : "fichier vérouillé", - "Manage multiaccess" : " Configuration des accès multiples", - "Here you can set the colors for the locked files." : " Vous pouvez définir les couleurs pour les fichiers verrouillés.", - "Background color" : " Couleur de fond ", - "Font color" : " Couleur de police ", - "Save" : "Sauvegarder", - "There are no locked files at the moment" : " Il n'y a pas de fichiers verrouillés actuellement", - "Locked files" : " Fichiers verrouillés", - "Unlock this file" : " Déverrouiller ce fichier ", - "Unlock all files" : " Déverrouiller tous les fichiers", - "by" : "par", - "'Locked by' suffix" : "'verrouillé par'-suffixe", - "username" : "nom d'utilisateur", - "Shows the real username i.e. admin, or LDAP UUID" : "Affiche le vrai nom d'utilisateur, par exemple admin ou un UUID", - "display name" : "nom d'affichage", - "Shows the full displayed name, i.e. John Doe" : "Affiche le nom d'affichage, par exemple Jean Dupont", - "Suffix change has been saved" : "le changement de suffixe a été enregistré", - "Old file locks won't be affected by this" : "les anciens fichiers ne seront pas affectés par cette" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr.php b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr.php deleted file mode 100644 index 4076382..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr.php +++ /dev/null @@ -1,18 +0,0 @@ - "Fichier non verrouillé ", -"File is locked" => " Fichier verrouillé ", -"Status: locked" => " Statut: verrouillé ", -"Status: not locked" => " Statut: non verrouillé ", -"filelock" => "fichier vérouillé", -"Manage multiaccess" => " Configuration des accès multiples", -"Here you can set the colors for the locked files." => " Vous pouvez définir les couleurs pour les fichiers verrouillés.", -"Background color" => " Couleur de fond ", -"Font color" => " Couleur de police ", -"Save" => "Sauvegarder", -"There are no locked files at the moment" => " Il n'y a pas de fichiers verrouillés actuellement", -"Locked files" => " Fichiers verrouillés", -"Unlock this file" => " Déverrouiller ce fichier ", -"Unlock all files" => " Déverrouiller tous les fichiers", -"by" => "par", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr_FR.js b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr_FR.js deleted file mode 100644 index 52118de..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr_FR.js +++ /dev/null @@ -1,20 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "Fichier non verrouillé ", - "File is locked" : " Fichier verrouillé ", - "Status: locked" : " Statut: verrouillé ", - "Status: not locked" : " Statut: non verrouillé ", - "filelock" : "fichier vérouillé", - "Manage multiaccess" : " Configuration des accès multiples", - "Here you can set the colors for the locked files." : " Vous pouvez définir les couleurs pour les fichiers verrouillés.", - "Background color" : " Couleur de fond ", - "Font color" : " Couleur de police ", - "Save" : "Sauvegarder", - "There are no locked files at the moment" : " Il n'y a pas de fichiers verrouillés actuellement", - "Locked files" : " Fichiers verrouillés", - "Unlock this file" : " Déverrouiller ce fichier ", - "Unlock all files" : " Déverrouiller tous les fichiers", - "by" : "par" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr_FR.json b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr_FR.json deleted file mode 100644 index 5a7b206..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr_FR.json +++ /dev/null @@ -1,18 +0,0 @@ -{ "translations": { - "File not locked" : "Fichier non verrouillé ", - "File is locked" : " Fichier verrouillé ", - "Status: locked" : " Statut: verrouillé ", - "Status: not locked" : " Statut: non verrouillé ", - "filelock" : "fichier vérouillé", - "Manage multiaccess" : " Configuration des accès multiples", - "Here you can set the colors for the locked files." : " Vous pouvez définir les couleurs pour les fichiers verrouillés.", - "Background color" : " Couleur de fond ", - "Font color" : " Couleur de police ", - "Save" : "Sauvegarder", - "There are no locked files at the moment" : " Il n'y a pas de fichiers verrouillés actuellement", - "Locked files" : " Fichiers verrouillés", - "Unlock this file" : " Déverrouiller ce fichier ", - "Unlock all files" : " Déverrouiller tous les fichiers", - "by" : "par" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr_FR.php b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr_FR.php deleted file mode 100644 index 4076382..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/fr_FR.php +++ /dev/null @@ -1,18 +0,0 @@ - "Fichier non verrouillé ", -"File is locked" => " Fichier verrouillé ", -"Status: locked" => " Statut: verrouillé ", -"Status: not locked" => " Statut: non verrouillé ", -"filelock" => "fichier vérouillé", -"Manage multiaccess" => " Configuration des accès multiples", -"Here you can set the colors for the locked files." => " Vous pouvez définir les couleurs pour les fichiers verrouillés.", -"Background color" => " Couleur de fond ", -"Font color" => " Couleur de police ", -"Save" => "Sauvegarder", -"There are no locked files at the moment" => " Il n'y a pas de fichiers verrouillés actuellement", -"Locked files" => " Fichiers verrouillés", -"Unlock this file" => " Déverrouiller ce fichier ", -"Unlock all files" => " Déverrouiller tous les fichiers", -"by" => "par", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja.js b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja.js deleted file mode 100644 index cc99396..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja.js +++ /dev/null @@ -1,20 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "ファイルロック無し", - "File is locked" : "ファイルロック中", - "Status: locked" : "状態: ロック中", - "Status: not locked" : "状態: ロック無し", - "filelock" : "ファイルロック", - "Manage multiaccess" : "同時アクセス管理", - "Here you can set the colors for the locked files." : "ロックされたファイルのデフォルトの背景色を設定できます。", - "Background color" : "背景色", - "Font color" : "フォント色", - "Save" : "保存", - "There are no locked files at the moment" : "現在ロックされているファイルはありません", - "Locked files" : "このファイルをロック解除", - "Unlock this file" : "ロック中のファイル", - "Unlock all files" : "全てのファイルをロック解除", - "by" : "による" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja.json b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja.json deleted file mode 100644 index a0fb34e..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja.json +++ /dev/null @@ -1,18 +0,0 @@ -{ "translations": { - "File not locked" : "ファイルロック無し", - "File is locked" : "ファイルロック中", - "Status: locked" : "状態: ロック中", - "Status: not locked" : "状態: ロック無し", - "filelock" : "ファイルロック", - "Manage multiaccess" : "同時アクセス管理", - "Here you can set the colors for the locked files." : "ロックされたファイルのデフォルトの背景色を設定できます。", - "Background color" : "背景色", - "Font color" : "フォント色", - "Save" : "保存", - "There are no locked files at the moment" : "現在ロックされているファイルはありません", - "Locked files" : "このファイルをロック解除", - "Unlock this file" : "ロック中のファイル", - "Unlock all files" : "全てのファイルをロック解除", - "by" : "による" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja.php b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja.php deleted file mode 100644 index c3aee44..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja.php +++ /dev/null @@ -1,18 +0,0 @@ - "ファイルロック無し", -"File is locked" => "ファイルロック中", -"Status: locked" => "状態: ロック中", -"Status: not locked" => "状態: ロック無し", -"filelock" => "ファイルロック", -"Manage multiaccess" => "同時アクセス管理", -"Here you can set the colors for the locked files." => "ロックされたファイルのデフォルトの背景色を設定できます。", -"Background color" => "背景色", -"Font color" => "フォント色", -"Save" => "保存", -"There are no locked files at the moment" => "現在ロックされているファイルはありません", -"Locked files" => "このファイルをロック解除", -"Unlock this file" => "ロック中のファイル", -"Unlock all files" => "全てのファイルをロック解除", -"by" => "による", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja_JP.js b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja_JP.js deleted file mode 100644 index cc99396..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja_JP.js +++ /dev/null @@ -1,20 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "ファイルロック無し", - "File is locked" : "ファイルロック中", - "Status: locked" : "状態: ロック中", - "Status: not locked" : "状態: ロック無し", - "filelock" : "ファイルロック", - "Manage multiaccess" : "同時アクセス管理", - "Here you can set the colors for the locked files." : "ロックされたファイルのデフォルトの背景色を設定できます。", - "Background color" : "背景色", - "Font color" : "フォント色", - "Save" : "保存", - "There are no locked files at the moment" : "現在ロックされているファイルはありません", - "Locked files" : "このファイルをロック解除", - "Unlock this file" : "ロック中のファイル", - "Unlock all files" : "全てのファイルをロック解除", - "by" : "による" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja_JP.json b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja_JP.json deleted file mode 100644 index a0fb34e..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja_JP.json +++ /dev/null @@ -1,18 +0,0 @@ -{ "translations": { - "File not locked" : "ファイルロック無し", - "File is locked" : "ファイルロック中", - "Status: locked" : "状態: ロック中", - "Status: not locked" : "状態: ロック無し", - "filelock" : "ファイルロック", - "Manage multiaccess" : "同時アクセス管理", - "Here you can set the colors for the locked files." : "ロックされたファイルのデフォルトの背景色を設定できます。", - "Background color" : "背景色", - "Font color" : "フォント色", - "Save" : "保存", - "There are no locked files at the moment" : "現在ロックされているファイルはありません", - "Locked files" : "このファイルをロック解除", - "Unlock this file" : "ロック中のファイル", - "Unlock all files" : "全てのファイルをロック解除", - "by" : "による" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja_JP.php b/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja_JP.php deleted file mode 100644 index c3aee44..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/l10n/ja_JP.php +++ /dev/null @@ -1,18 +0,0 @@ - "ファイルロック無し", -"File is locked" => "ファイルロック中", -"Status: locked" => "状態: ロック中", -"Status: not locked" => "状態: ロック無し", -"filelock" => "ファイルロック", -"Manage multiaccess" => "同時アクセス管理", -"Here you can set the colors for the locked files." => "ロックされたファイルのデフォルトの背景色を設定できます。", -"Background color" => "背景色", -"Font color" => "フォント色", -"Save" => "保存", -"There are no locked files at the moment" => "現在ロックされているファイルはありません", -"Locked files" => "このファイルをロック解除", -"Unlock this file" => "ロック中のファイル", -"Unlock all files" => "全てのファイルをロック解除", -"by" => "による", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8.2.2/files_w2g/templates/admin.php b/Old Releases/Owncloud 8.2.2/files_w2g/templates/admin.php deleted file mode 100644 index f604c6e..0000000 --- a/Old Releases/Owncloud 8.2.2/files_w2g/templates/admin.php +++ /dev/null @@ -1,98 +0,0 @@ -execute()->fetchAll(); -if($exist!=null) - $result = \OCP\DB::prepare("SELECT * FROM *PREFIX*".app::table)->execute()->fetchAll(); - -//---------------------------------------------------------------------------------------------------------------------------- - -\OCP\Util::addscript(app::name, 'admin'); -\OCP\Util::addscript(app::name, 'jscolor'); - -?> -
-
-

t('Manage multiaccess')) ?>

- - t("Here you can set the colors for the locked files.")); - echo $naming; - echo ' -

- '.$l->t("Background color").':
- # -  

- - '.$l->t("Font color").':
- # -  

- '; - - if(count($result)>0) - { - echo '
'.$l->t("Locked files").':
-
-
- '; - } - else - echo $l->t("There are no locked files at the moment"); - - //Permission section - echo ' -
'.$l->t("Permission management").':
-
-
'.$l->t("This feature allows unlocking only by the owner of the lock").'. '.$l->t("The upcoming release will add group based permissions").'. - '; - - - echo '
'; - //Suffix section - echo '
'.$l->t("'Locked by' suffix").':
-

('.$l->t("Old file locks won't be affected by this").')


-
-


'.$l->t("Shows the real username i.e. admin, or LDAP UUID").'

-


'.$l->t("Shows the full displayed name, i.e. John Doe").'

-
- '; - - echo '
-

- '.$l->t("Suffix change has been saved").' -

-
'; - - ?> -
- -execute(array($configtype))->fetchAll(); - - if (count($type) >= 1) - $configkey = $type[0]['configvalue']; -} - -?> diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/admin.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/admin.php deleted file mode 100644 index 088f885..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/admin.php +++ /dev/null @@ -1,9 +0,0 @@ -fetchPage(); - diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/admin_db.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/admin_db.php deleted file mode 100644 index fdd3aa5..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/admin_db.php +++ /dev/null @@ -1,18 +0,0 @@ -execute(); - echo "clear"; - break; - - case 'clearthis': - \OCP\DB::prepare("DELETE FROM *PREFIX*".app::table." WHERE name=?")->execute(array($_POST['lock'])); - echo "clear"; - break; -} - -?> \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/getcolor.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/getcolor.php deleted file mode 100644 index 632c96e..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/getcolor.php +++ /dev/null @@ -1,8 +0,0 @@ -execute(array($_POST['type']))->fetchAll(); - -if(count($result)>=1) echo $result[0]['configvalue']; - -else echo ""; \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/update.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/update.php deleted file mode 100644 index 346f1dc..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/update.php +++ /dev/null @@ -1,36 +0,0 @@ -execute(array($mode))->fetchAll(); - -if(count($result)<1)//Value already set? -{ - $query = \OCP\DB::prepare("INSERT INTO *PREFIX*appconfig(appid,configkey,configvalue) value('files_w2g',?,?)"); - $result = $query->execute(array($mode,$value)); - echo $l->t($mode)." ".$l->t("has been set!"); -} -else -{ - $query = \OCP\DB::prepare("UPDATE *PREFIX*appconfig set configvalue=? WHERE appid='files_w2g' and configkey=?"); - $result = $query->execute(array($value,$mode)); - echo $l->t("Updated successfully!"); - - -} \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/workin2gether.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/workin2gether.php deleted file mode 100644 index da96c8a..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/ajax/workin2gether.php +++ /dev/null @@ -1,106 +0,0 @@ - - -11.08.2015 A. Jacques -PSR1, PSR2 -*/ - -namespace OCA\files_w2g; - -//Init translations -\OCP\Util::addTranslations('files_w2g'); -$l = \OCP\Util::getL10N('files_w2g'); - -//Requirements check -\OCP\JSON::checkLoggedIn(); -\OCP\JSON::checkAppEnabled('files_w2g'); - -//Init Database table -$exist = \OCP\DB::prepare("SHOW TABLES LIKE '*PREFIX*".app::table."'")->execute()->fetchAll(); -if($exist == null) { - @$query = \OCP\DB::prepare("CREATE table *PREFIX*" . app::table . "(name varchar(255) PRIMARY KEY,created TIMESTAMP DEFAULT CURRENT_TIMESTAMP,locked_by varchar(255)) " . app::charset); - @$query->execute()->fetchAll(); -} - -$naming = "rule_username"; -$naming_q = \OCP\DB::prepare("SELECT * FROM *PREFIX*appconfig where configkey='suffix' and appid='files_w2g' LIMIT 1")->execute()->fetchAll(); -if (count($naming_q) >= 1) - $naming = $naming_q[0]['configvalue']; -//<-End Init Database table - -//Vars -$path = stripslashes($_POST['path']) ; -$safe = null; -$owner = null; -$id = null; - -if (isset($_POST['safe'])) { - $safe = $_POST['safe']; -} - -if (isset($_POST['owner'])) { - $owner = $_POST['owner']; -} - -if (isset($_POST['id'])) { - $id = $_POST['id']; -} - -$ppath = lockname($path); - -//Resolve the shared file -if (!is_null($owner) && $owner !== '') { - $query = \OCP\DB::prepare("SELECT X.path, Y.id FROM *PREFIX*filecache X INNER JOIN *PREFIX*storages Y ON X.storage = Y.numeric_id where X.fileid = ? LIMIT 1"); - $result = $query->execute(array($id))->fetchAll(); - - $original_path = $result[0]['path']; - $storage_id = str_replace("home::", "", $result[0]['id']) . '/'; - - $lockpath = $storage_id.$original_path; -} -else $lockpath = \OCP\USER::getUser()."/files".cleanPath($path); - -//Lock DB entry -$lockfile = lockname($lockpath); -$db_lock_state = \OCP\DB::prepare("SELECT * FROM *PREFIX*" . app::table . " WHERE name = ?")->execute(array($lockfile))->fetchAll(); - -if ($db_lock_state!=null) { - if($safe=="false") { - \OCP\DB::prepare("DELETE FROM *PREFIX*" . app::table . " WHERE name=?")->execute(array($lockfile)); - echo $l->t("File not locked"); - } - else echo $l->t("Status: locked")." ".$l->t("by")." ".$db_lock_state[0]['locked_by']; -} -else { - if($safe=="false") { - $lockedby_name = \OCP\User::getUser(); - if($naming=="rule_displayname") { - $lockedby_name = \OCP\User::getDisplayName(); - } - - \OCP\DB::prepare("INSERT INTO *PREFIX*".app::table."(name,locked_by) VALUES(?,?)")->execute(array($lockfile,$lockedby_name)); - echo $l->t("File is locked")." ".$l->t("by")." ".$lockedby_name; - } - else echo $l->t("Status: not locked"); -} - -function lockname($path) -{ - //Replace all '/' with $ for a filename for the lock file - $ppath = str_replace("/","$",cleanPath($path))."$"; - $ppath = str_replace(":","#",$ppath); - - //Remove double dollar char when exist - if ($ppath[0] == "$" and $ppath[1] == "$") $ppath = substr($ppath,1); - - return preg_replace('/\\\/','$',$ppath); -} - -function cleanPath($path) -{ - return preg_replace('{(/)\1+}', "/", urldecode(rtrim($path, "/"))); -} diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/app.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/app.php deleted file mode 100644 index 6c3a8a7..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/app.php +++ /dev/null @@ -1,31 +0,0 @@ - - - files_w2g - Workin2gether - - Pseudo multiaccess-management feature for Owncloud. - You can lock files and disable the fileactions, leaving only the fileaction of unlocking a file. - Please leave your feedback and rate this app, if you like it! - - - AGPL - Patrick Hoffmann - 6.00 - - - - 164016 - diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/routes.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/routes.php deleted file mode 100644 index 1fbd0ea..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/routes.php +++ /dev/null @@ -1,19 +0,0 @@ -create('files_w2g_ajax_getcolor', 'ajax/getcolor.php') - ->actionInclude('files_w2g/ajax/getcolor.php'); - -$this->create('files_w2g_ajax_core', 'ajax/workin2gether.php') - ->actionInclude('files_w2g/ajax/workin2gether.php'); - -$this->create('files_w2g_ajax_update', 'ajax/update.php') - ->actionInclude('files_w2g/ajax/update.php'); - -$this->create('files_w2g_ajax_admin_db', 'ajax/admin_db.php') - ->actionInclude('files_w2g/ajax/admin_db.php'); - -$this->create('files_w2g_admin', 'admin.php') - ->actionInclude('files_w2g/admin.php'); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/version b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/version deleted file mode 100644 index 197131f..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/appinfo/version +++ /dev/null @@ -1 +0,0 @@ -0.8.0.2 diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/css/styles.css b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/css/styles.css deleted file mode 100644 index af0a9fe..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/css/styles.css +++ /dev/null @@ -1,24 +0,0 @@ - -a.action.locked{ display:none !important; } - -a.action-getstate_file.locked, a.action-getstate_dir.locked{ display:inline !important; } - -a.statelock a.action[data-action!=getstate_dir&&data-action!=getstate_file]{ -pointer-events:none; -} -a.namelock -{ -line-height: 50px; -padding: 0; -} -a.namelock .nametext{position:absolute !important;left:105px !important;} - -td.statelock:focus{pointer-events:none;} - -a.action-getstate_file, a.action-getstate_dir{ cursor:pointer !important;} - -a.name.statelock a.action{ color:#eee; opacity:1 !important; } - -a.name.statelock a.action:hover, a.name.statelock span.extension{ color:#fff; } - -.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled{ opacity:1.0;} \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/img/app.svg b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/img/app.svg deleted file mode 100644 index 6cafe17..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/img/app.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/img/lock.png b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/img/lock.png deleted file mode 100644 index 9b8c2ec5bc7bbf2031a8678af52ed802e6a6f9cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 307 zcmeAS@N?(olHy`uVBq!ia0vp^f*{Pn3?z9rZ$AN~N&|dCT!A#5!Tf}L*~a`L;Z PKCZl?^}@uHk--`OML81Y diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/cross.gif b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/cross.gif deleted file mode 100644 index 0ee9c7ac517bee40b78aea03afa809631f0b69fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmZ?wbhEHb3k<8jPQJQ=fuv5eVo^ZVob{r>y?yxzz6n|{I3RuQNUl#q~6w6{Y!i_W*AbzM$M zv?qg)_ee+pt?W@2m!pR{B_p?CM-{APX1sq0k!v%Dx?=2xC6f&jlZz_Dn#dT_Y>InI z6zGP*0qIZBM5F|EZW=wONLxZCI;oxx8efxF<=55NtkzwRuA@S|$OSZUS~0 zbSDgzxPwEAll?BgdT}XWOAZOcMD`pUO+CGfB}rVxe|WEK0gw_Tz-cDmNG4L+O1BG& zsF@TK6o0+-x8xsR`X2n=3~i7e()sQ8nbs7jD=(px9H|qDd%c<@)UuI(EKt5ngFHjS zh|qTPjol+wD*VrOrP2AHgU&lZ7-h-S-Ry`OC^$7+KSF!aG?mu&pn3IaR(#Gf!EQP! zqeS?o6nx*@RWD5RUuQ+fDEvFrgK2PwV_AaZi_nFD)fY6UXpc#9)D{%+=WH ztBRU(0-f)NSeD3_)#+p<)n=t7Y1EDi=wXXR?Z#vSuGOPoT|XQYUp$jeW`dW9Q1kjz#P#FKJ!aH3zn{59p6;=yx%D9tmqxQwiPk>^XJ#hnQPa&UStGb;zpzVAA13RQ2C{(WQtPtlHN+xES>Qyk?T{p)3L zKdG1CZ}noWtWb#qCxunq6cmKZkSp8AJFQzC5VAmliNf$>rVM$2Q1P|$>9btrJLz|{ zSEp42us*S@mNJKs{J(s20WSGheRHFfo!iS!%VR(!BLtg%5&G73YBwnQiPTC@yb!(mV=4^=hMGc{L0KQ&GaYT41_sNl0+=?tU1#T8=w<5Hp>qu7gwyz zwLL3bXQ5-%%-%`x@Pre{8xpv$>VeI=t#(~rx$b&PV(x))i0v`~VbW)#SQBCXq2{3C z4AjaS!bRt4Q?8=ly@6M=+29nh0d(fs{K~%zNbr`+-cFUZNG!0O= ztBy>FTi+F8DTC6pr<-QL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w2g 0.8.2/files_w2g/js/hv.png b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/hv.png deleted file mode 100644 index 1c5e01f8bcecc4cf835e8eeeaa43ef2c06789022..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2865 zcmX9=3pmqV7@teXHB3Y-6(VIKN(`gs(lEJ2EJSn5Crm8<3KhyeDHUOICnT3LV_lSr zSZ;GyqBJp=+1PCR_SJKqbI$X;=RD_m-{1TDz3)kPaYD#Qs!D=DAQ^i*TUWu}ESNzO z!h$tb?&uc~NOHs8*4pjL*kZxr-PxxyX>x_gxykAYer+%xw7GJL6<~$lv;J_uukT@e zT+7b}$(pn*(JJ8$DZ#LZ01jlU-F%s?>x-3}&1jWkz{Hc;TVcidNj^67rKf!1D*@3) ztLL+`4RJ%9hMug+6V6!!-IHycuV!0OlQmpmv2CKSg0YG1{n}Dwm~{0fWmk@tnE%bH zGDMD}$zh}Xd*A5Jr>Ab?KaI7@rj$4go;`Iq6;(c5H(>=6GfP&HNa3NNYQLnDvJ2ne z$YJeDOOojN`RsDxcPJ(@V2^adMpBgs?_RszQhhwQTbkTUT9<$&gblmnY#tn#SD%?s z6!FjP;K)%vq`iXljQbV;EA`q3gN>D#kt_%-rrtu}_V)B!9x+O;F>_Uw;U$2LUW(r( zZ^t$jiL0NIPPJC#r9ftBYTo7JNd@BVMwfPoS>#W-s{js57)P8TQqF2LKJSC~q zN`(OhzStrI{*42`M}?+OHN|N(nHmc2&ss7X>pqp|EuFchzf#w`Q<>0h788{$3pLsi z{A+Y8H$ZvOeD+cX_=w?G*WmD7#5x;KQ;esP!0)6)^5AH8-y+H+(ltKN1HTE6jI?K z(Oj2zOym!q0yMO-dc+a4KFGVLQdOCayj7RKSbo5}XS%`Er&=Enk8l=Lt4N_|ws%>z zDTw$}Y`Nm#m5bv zhmbvJfbg?pPsmqI$V;VUb6K4%(8Blyamyoc^3Mt~#nxOV2-1;QS z7!g7Xk6~wu3v&9INnRdHE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TrLq*p?!~??u&DrIz2ow@FRy0XX+-+%7G>uU0&kTN1W1G| zr>H6)4|9Ji%2`d{EBb%`9?5PNx968;9+OmY4|DC?&+M;;jN=L6in4xY&Q$twq0QFAeZuQ15|q?2tO{QUL* E0LKozl>h($ diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/jscolor.js b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/jscolor.js deleted file mode 100644 index 6bb0c1f..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/js/jscolor.js +++ /dev/null @@ -1,997 +0,0 @@ -/** - * jscolor, JavaScript Color Picker - * - * @version 1.4.2 - * @license GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html - * @author Jan Odvarko, http://odvarko.cz - * @created 2008-06-15 - * @updated 2013-11-25 - * @link http://jscolor.com - */ - - -var jscolor = { - - - dir : '', // location of jscolor directory (leave empty to autodetect) - bindClass : 'color', // class name - binding : true, // automatic binding via - preloading : true, // use image preloading? - - - install : function() { - jscolor.addEvent(window, 'load', jscolor.init); - }, - - - init : function() { - if(jscolor.binding) { - jscolor.bind(); - } - if(jscolor.preloading) { - jscolor.preload(); - } - }, - - - getDir : function() { - if(!jscolor.dir) { - var detected = jscolor.detectDir(); - jscolor.dir = detected!==false ? detected : 'jscolor/'; - } - return jscolor.dir; - }, - - - detectDir : function() { - var base = location.href; - - var e = document.getElementsByTagName('base'); - for(var i=0; i vs[a] ? - (-vp[a]+tp[a]+ts[a]/2 > vs[a]/2 && tp[a]+ts[a]-ps[a] >= 0 ? tp[a]+ts[a]-ps[a] : tp[a]) : - tp[a], - -vp[b]+tp[b]+ts[b]+ps[b]-l+l*c > vs[b] ? - (-vp[b]+tp[b]+ts[b]/2 > vs[b]/2 && tp[b]+ts[b]-l-l*c >= 0 ? tp[b]+ts[b]-l-l*c : tp[b]+ts[b]-l+l*c) : - (tp[b]+ts[b]-l+l*c >= 0 ? tp[b]+ts[b]-l+l*c : tp[b]+ts[b]-l-l*c) - ]; - } - drawPicker(pp[a], pp[b]); - } - }; - - - this.importColor = function() { - if(!valueElement) { - this.exportColor(); - } else { - if(!this.adjust) { - if(!this.fromString(valueElement.value, leaveValue)) { - styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage; - styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor; - styleElement.style.color = styleElement.jscStyle.color; - this.exportColor(leaveValue | leaveStyle); - } - } else if(!this.required && /^\s*$/.test(valueElement.value)) { - valueElement.value = ''; - styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage; - styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor; - styleElement.style.color = styleElement.jscStyle.color; - this.exportColor(leaveValue | leaveStyle); - - } else if(this.fromString(valueElement.value)) { - // OK - } else { - this.exportColor(); - } - } - }; - - - this.exportColor = function(flags) { - if(!(flags & leaveValue) && valueElement) { - var value = this.toString(); - if(this.caps) { value = value.toUpperCase(); } - if(this.hash) { value = '#'+value; } - valueElement.value = value; - } - if(!(flags & leaveStyle) && styleElement) { - styleElement.style.backgroundImage = "none"; - styleElement.style.backgroundColor = - '#'+this.toString(); - styleElement.style.color = - 0.213 * this.rgb[0] + - 0.715 * this.rgb[1] + - 0.072 * this.rgb[2] - < 0.5 ? '#FFF' : '#000'; - } - if(!(flags & leavePad) && isPickerOwner()) { - redrawPad(); - } - if(!(flags & leaveSld) && isPickerOwner()) { - redrawSld(); - } - }; - - - this.fromHSV = function(h, s, v, flags) { // null = don't change - if(h !== null) { h = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, h)); } - if(s !== null) { s = Math.max(0.0, this.minS, Math.min(1.0, this.maxS, s)); } - if(v !== null) { v = Math.max(0.0, this.minV, Math.min(1.0, this.maxV, v)); } - - this.rgb = HSV_RGB( - h===null ? this.hsv[0] : (this.hsv[0]=h), - s===null ? this.hsv[1] : (this.hsv[1]=s), - v===null ? this.hsv[2] : (this.hsv[2]=v) - ); - - this.exportColor(flags); - }; - - - this.fromRGB = function(r, g, b, flags) { // null = don't change - if(r !== null) { r = Math.max(0.0, Math.min(1.0, r)); } - if(g !== null) { g = Math.max(0.0, Math.min(1.0, g)); } - if(b !== null) { b = Math.max(0.0, Math.min(1.0, b)); } - - var hsv = RGB_HSV( - r===null ? this.rgb[0] : r, - g===null ? this.rgb[1] : g, - b===null ? this.rgb[2] : b - ); - if(hsv[0] !== null) { - this.hsv[0] = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, hsv[0])); - } - if(hsv[2] !== 0) { - this.hsv[1] = hsv[1]===null ? null : Math.max(0.0, this.minS, Math.min(1.0, this.maxS, hsv[1])); - } - this.hsv[2] = hsv[2]===null ? null : Math.max(0.0, this.minV, Math.min(1.0, this.maxV, hsv[2])); - - // update RGB according to final HSV, as some values might be trimmed - var rgb = HSV_RGB(this.hsv[0], this.hsv[1], this.hsv[2]); - this.rgb[0] = rgb[0]; - this.rgb[1] = rgb[1]; - this.rgb[2] = rgb[2]; - - this.exportColor(flags); - }; - - - this.fromString = function(hex, flags) { - var m = hex.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i); - if(!m) { - return false; - } else { - if(m[1].length === 6) { // 6-char notation - this.fromRGB( - parseInt(m[1].substr(0,2),16) / 255, - parseInt(m[1].substr(2,2),16) / 255, - parseInt(m[1].substr(4,2),16) / 255, - flags - ); - } else { // 3-char notation - this.fromRGB( - parseInt(m[1].charAt(0)+m[1].charAt(0),16) / 255, - parseInt(m[1].charAt(1)+m[1].charAt(1),16) / 255, - parseInt(m[1].charAt(2)+m[1].charAt(2),16) / 255, - flags - ); - } - return true; - } - }; - - - this.toString = function() { - return ( - (0x100 | Math.round(255*this.rgb[0])).toString(16).substr(1) + - (0x100 | Math.round(255*this.rgb[1])).toString(16).substr(1) + - (0x100 | Math.round(255*this.rgb[2])).toString(16).substr(1) - ); - }; - - - function RGB_HSV(r, g, b) { - var n = Math.min(Math.min(r,g),b); - var v = Math.max(Math.max(r,g),b); - var m = v - n; - if(m === 0) { return [ null, 0, v ]; } - var h = r===n ? 3+(b-g)/m : (g===n ? 5+(r-b)/m : 1+(g-r)/m); - return [ h===6?0:h, m/v, v ]; - } - - - function HSV_RGB(h, s, v) { - if(h === null) { return [ v, v, v ]; } - var i = Math.floor(h); - var f = i%2 ? h-i : 1-(h-i); - var m = v * (1 - s); - var n = v * (1 - s*f); - switch(i) { - case 6: - case 0: return [v,n,m]; - case 1: return [n,v,m]; - case 2: return [m,v,n]; - case 3: return [m,n,v]; - case 4: return [n,m,v]; - case 5: return [v,m,n]; - } - } - - - function removePicker() { - delete jscolor.picker.owner; - document.getElementsByTagName('body')[0].removeChild(jscolor.picker.boxB); - } - - - function drawPicker(x, y) { - if(!jscolor.picker) { - jscolor.picker = { - box : document.createElement('div'), - boxB : document.createElement('div'), - pad : document.createElement('div'), - padB : document.createElement('div'), - padM : document.createElement('div'), - sld : document.createElement('div'), - sldB : document.createElement('div'), - sldM : document.createElement('div'), - btn : document.createElement('div'), - btnS : document.createElement('span'), - btnT : document.createTextNode(THIS.pickerCloseText) - }; - for(var i=0,segSize=4; i0) { - - //Initiate the FileAction for file - OCA.Files.fileActions.register( - 'file', - 'getstate_file', - OC.PERMISSION_UPDATE, - function(){ return OC.imagePath('files_w2g','lock.png') }, - function(filename,context) { getState(context.$file.attr('data-id'),filename,context.$file.attr('data-share-owner'),"false") }, t('files_w2g',text) - ); - - //Initiate the FileAction for dir - OCA.Files.fileActions.register( - 'dir', - 'getstate_dir', - OC.PERMISSION_UPDATE, - function(){ return OC.imagePath('files_w2g','lock.png') }, - function(filename,context) { getState(context.$file.attr('data-id'),filename,context.$file.attr('data-share-owner'),"false") }, t('files_w2g',text) - ); - - //Walk through all files in the active Filelist - $('#content').delegate('#fileList', 'fileActionsReady',function(ev){ - - var $fileList = ev.fileList.$fileList; - - $fileList.find('tr').each(function(){ - $filename = $(this).attr('data-file'); - $owner = $(this).attr('data-share-owner'); - $id = $(this).attr('data-id'); - getState($id,$filename,$owner,"true"); - }); - }); - } - - //Get the Background-color from the database - $.ajax({ - url: OC.filePath('files_w2g','ajax','getcolor.php'), - type: "post", - data: { type: 'color'}, - async: false, - success: function(data){if(data!=""){color = data;}}, - }); - - //Get the Fontcolor from the database - $.ajax({ - url: OC.filePath('files_w2g','ajax','getcolor.php'), - type: "post", - data: { type: 'fontcolor'}, - async: false, - success: function(data){if(data!=""){fontcolor = data;}}, - }); - - //Add dynamic CSS code - var cssrules = $("").appendTo("head"); - cssrules.append(".statelock{ background-color:#"+color+";color:#"+fontcolor+" !important;}"+ - ".statelock span.modified{color:#"+fontcolor+" !important;}"+ - "a.action-getstate_file.locked,a.action-getstate_dir.locked{color:#"+fontcolor+" !important;}"+ - "a.action-getstate_file.locked:hover,a.action-getstate_dir.locked:hover{color:#fff !important;}"+ - "a.namelock,a.namelock span.extension {color:#"+fontcolor+";}"); -}); - -//Switch the Lockstate -function toggle_control(filename) -{ - //Walk through the Filelists - $('#fileList tr').each(function() { - var $tr = $(this); - var $_tr = $tr.html().replace(/^\s+|\s+$/g, '').replace('','').split('').join(''); - - if($_tr.indexOf(filename)!=-1) - { - if($_tr.indexOf(lockedtext)==-1 && $_tr.indexOf(lockstate)==-1) - { //unlock - $tr.find('a.action[data-action!='+text+']').removeClass('locked'); - $tr.find('a.namelock').addClass('name').removeClass('namelock'); - $tr.find('td.filesize').removeClass('statelock'); - $tr.find('td.date').removeClass('statelock'); - $tr.find('td').removeClass('statelock'); - $tr.find('a.statelock').addClass('name'); - } - else if($_tr.indexOf(lockedtext)!=-1||$_tr.indexOf(lockstate)!=-1) - { //lock - $tr.find('a.action[data-action!='+text+'][data-action!=favorite]').addClass('locked'); - //$tr.find('a.action').not("[data-action=='+text+']").addClass('locked'); - - $tr.find('a.name').addClass('namelock').removeClass('name'); - $tr.find('td.filesize').addClass('statelock'); - $tr.find('td.date').addClass('statelock'); - $tr.find('td').addClass('statelock'); - } - } - }); -} - -//Get the current state -function getState( _id, _filename, _owner, _safe) -{ - oc_dir = $('#dir').val(); - _filename = _filename.replace(/ /g, "%20"); - oc_path = oc_dir +'/'+_filename; - - $.ajax({ - url: OC.filePath('files_w2g','ajax','workin2gether.php'), - type: "post", - data: { path: oc_path, safe: _safe, owner: _owner, id: _id}, - success: function(data){postmode(_filename,data)}, - }); - -} - -//Push the status -function postmode(filename,data) -{ - filename = filename.replace(/%20/g,' '); - - var html = ' '+''+data+''; - - //Push the status text to the file - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.name').find('span.fileactions').find("a.action").filterAttr('data-action','getstate_file').html(html); - - //Push the status text to the dir - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.name').find('span.fileactions').find("a.action").filterAttr('data-action','getstate_dir').html(html); - - //Push the status text to the locked file - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.namelock').find('span.fileactions').find("a.action").filterAttr('data-action','getstate_file').html(html); - - //Push the status text to the locked dir - $('tr').filterAttr('data-file',filename).find('td.filename').find('a.namelock').find('span.fileactions').find("a.action").filterAttr('data-action','getstate_dir').html(html); - - toggle_control(filename); -} \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de.js b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de.js deleted file mode 100644 index 0da2980..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de.js +++ /dev/null @@ -1,27 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "Datei nicht gesperrt", - "File is locked" : "Datei ist gesperrt", - "Status: locked" : "Status: gesperrt", - "Status: not locked" : "Status: nicht gesperrt", - "filelock" : "Dateisperre", - "Manage multiaccess" : "Mehrfachzugriff konfigurieren", - "Here you can set the colors for the locked files." : "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", - "Background color" : "Hintergrundfarbe", - "Font color" : "Vordergrundfarbe", - "Save" : "Speichern", - "There are no locked files at the moment" : "Aktuell sind keine Dateien gesperrt", - "Locked files" : "Gesperrte Dateien", - "Unlock this file" : "Diese Datei entsperren", - "Unlock all files" : "Alle Dateien entsperren", - "by" : "von", - "'Locked by' suffix" : "'Gesperrt von'-Suffix", - "username" : "Benutzername", - "Shows the real username i.e. admin, or LDAP UUID" : "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", - "display name" : "Anzeigename", - "Shows the full displayed name, i.e. John Doe" : "Zeigt den Anzeigename an, z.B. Max Mustermann", - "Suffix change has been saved" : "Der Suffix wurde aktualisiert", - "Old file locks won't be affected by this" : "Bereits vorhandene Dateisperren sind davon nicht betroffen" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de.json b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de.json deleted file mode 100644 index a722202..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de.json +++ /dev/null @@ -1,25 +0,0 @@ -{ "translations": { -"File not locked" : "Datei nicht gesperrt", -"File is locked" : "Datei ist gesperrt", -"Status: locked" : "Status: gesperrt", -"Status: not locked" : "Status: nicht gesperrt", -"filelock" : "Dateisperre", -"Manage multiaccess" : "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." : "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" : "Hintergrundfarbe", -"Font color" : "Vordergrundfarbe", -"Save" : "Speichern", -"There are no locked files at the moment" : "Aktuell sind keine Dateien gesperrt", -"Locked files" : "Gesperrte Dateien", -"Unlock this file" : "Diese Datei entsperren", -"Unlock all files" : "Alle Dateien entsperren", -"by" : "von", -"'Locked by' suffix" : "'Gesperrt von'-Suffix", -"username" : "Benutzername", -"Shows the real username i.e. admin, or LDAP UUID" : "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", -"display name" : "Anzeigename", -"Shows the full displayed name, i.e. John Doe" : "Zeigt den Anzeigename an, z.B. Max Mustermann", -"Suffix change has been saved" : "Der Suffix wurde aktualisiert", -"Old file locks won't be affected by this" : "Bereits vorhandene Dateisperren sind davon nicht betroffen" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de.php deleted file mode 100644 index e7424a2..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de.php +++ /dev/null @@ -1,25 +0,0 @@ - "Datei nicht gesperrt", -"File is locked" => "Datei ist gesperrt", -"Status: locked" => "Status: gesperrt", -"Status: not locked" => "Status: nicht gesperrt", -"filelock" => "Dateisperre", -"Manage multiaccess" => "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." => "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" => "Hintergrundfarbe", -"Font color" => "Vordergrundfarbe", -"Save" => "Speichern", -"There are no locked files at the moment" => "Aktuell sind keine Dateien gesperrt", -"Locked files" => "Gesperrte Dateien", -"Unlock this file" => "Diese Datei entsperren", -"Unlock all files" => "Alle Dateien entsperren", -"by" => "von", -"'Locked by' suffix" => "'Gesperrt von'-Suffix", -"username" => "Benutzername", -"Shows the real username i.e. admin, or LDAP UUID" => "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", -"display name" => "Anzeigename", -"Shows the full displayed name, i.e. John Doe" => "Zeigt den Anzeigename an, z.B. Max Mustermann", -"Suffix change has been saved" => "Der Suffix wurde aktualisiert", -"Old file locks won't be affected by this" => "Bereits vorhandene Dateisperren sind davon nicht betroffen" -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de_DE.js b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de_DE.js deleted file mode 100644 index 0da2980..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de_DE.js +++ /dev/null @@ -1,27 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "Datei nicht gesperrt", - "File is locked" : "Datei ist gesperrt", - "Status: locked" : "Status: gesperrt", - "Status: not locked" : "Status: nicht gesperrt", - "filelock" : "Dateisperre", - "Manage multiaccess" : "Mehrfachzugriff konfigurieren", - "Here you can set the colors for the locked files." : "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", - "Background color" : "Hintergrundfarbe", - "Font color" : "Vordergrundfarbe", - "Save" : "Speichern", - "There are no locked files at the moment" : "Aktuell sind keine Dateien gesperrt", - "Locked files" : "Gesperrte Dateien", - "Unlock this file" : "Diese Datei entsperren", - "Unlock all files" : "Alle Dateien entsperren", - "by" : "von", - "'Locked by' suffix" : "'Gesperrt von'-Suffix", - "username" : "Benutzername", - "Shows the real username i.e. admin, or LDAP UUID" : "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", - "display name" : "Anzeigename", - "Shows the full displayed name, i.e. John Doe" : "Zeigt den Anzeigename an, z.B. Max Mustermann", - "Suffix change has been saved" : "Der Suffix wurde aktualisiert", - "Old file locks won't be affected by this" : "Bereits vorhandene Dateisperren sind davon nicht betroffen" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de_DE.json b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de_DE.json deleted file mode 100644 index a722202..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de_DE.json +++ /dev/null @@ -1,25 +0,0 @@ -{ "translations": { -"File not locked" : "Datei nicht gesperrt", -"File is locked" : "Datei ist gesperrt", -"Status: locked" : "Status: gesperrt", -"Status: not locked" : "Status: nicht gesperrt", -"filelock" : "Dateisperre", -"Manage multiaccess" : "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." : "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" : "Hintergrundfarbe", -"Font color" : "Vordergrundfarbe", -"Save" : "Speichern", -"There are no locked files at the moment" : "Aktuell sind keine Dateien gesperrt", -"Locked files" : "Gesperrte Dateien", -"Unlock this file" : "Diese Datei entsperren", -"Unlock all files" : "Alle Dateien entsperren", -"by" : "von", -"'Locked by' suffix" : "'Gesperrt von'-Suffix", -"username" : "Benutzername", -"Shows the real username i.e. admin, or LDAP UUID" : "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", -"display name" : "Anzeigename", -"Shows the full displayed name, i.e. John Doe" : "Zeigt den Anzeigename an, z.B. Max Mustermann", -"Suffix change has been saved" : "Der Suffix wurde aktualisiert", -"Old file locks won't be affected by this" : "Bereits vorhandene Dateisperren sind davon nicht betroffen" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de_DE.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de_DE.php deleted file mode 100644 index e7424a2..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/de_DE.php +++ /dev/null @@ -1,25 +0,0 @@ - "Datei nicht gesperrt", -"File is locked" => "Datei ist gesperrt", -"Status: locked" => "Status: gesperrt", -"Status: not locked" => "Status: nicht gesperrt", -"filelock" => "Dateisperre", -"Manage multiaccess" => "Mehrfachzugriff konfigurieren", -"Here you can set the colors for the locked files." => "Hier können Sie die Standard Hintergrundfarbe für gesperrte Dateien festlegen.", -"Background color" => "Hintergrundfarbe", -"Font color" => "Vordergrundfarbe", -"Save" => "Speichern", -"There are no locked files at the moment" => "Aktuell sind keine Dateien gesperrt", -"Locked files" => "Gesperrte Dateien", -"Unlock this file" => "Diese Datei entsperren", -"Unlock all files" => "Alle Dateien entsperren", -"by" => "von", -"'Locked by' suffix" => "'Gesperrt von'-Suffix", -"username" => "Benutzername", -"Shows the real username i.e. admin, or LDAP UUID" => "Zeigt den echten Benutzernamen an, z.B. 'admin' oder eine UUID", -"display name" => "Anzeigename", -"Shows the full displayed name, i.e. John Doe" => "Zeigt den Anzeigename an, z.B. Max Mustermann", -"Suffix change has been saved" => "Der Suffix wurde aktualisiert", -"Old file locks won't be affected by this" => "Bereits vorhandene Dateisperren sind davon nicht betroffen" -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en@pirate.js b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en@pirate.js deleted file mode 100644 index 1c3255b..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en@pirate.js +++ /dev/null @@ -1,10 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "File not locked", - "File is locked" : "File is locked", - "Status: locked" : "Status: locked", - "Status: not locked" : "Status: not locked", - "filelock" : "filelock" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en@pirate.json b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en@pirate.json deleted file mode 100644 index c2e23cf..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en@pirate.json +++ /dev/null @@ -1,8 +0,0 @@ -{ "translations": { - "File not locked" : "File not locked", - "File is locked" : "File is locked", - "Status: locked" : "Status: locked", - "Status: not locked" : "Status: not locked", - "filelock" : "filelock" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en@pirate.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en@pirate.php deleted file mode 100644 index 7b6d0af..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en@pirate.php +++ /dev/null @@ -1,8 +0,0 @@ - "File not locked", -"File is locked" => "File is locked", -"Status: locked" => "Status: locked", -"Status: not locked" => "Status: not locked", -"filelock" => "filelock" -); diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en_GB.js b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en_GB.js deleted file mode 100644 index 1c3255b..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en_GB.js +++ /dev/null @@ -1,10 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "File not locked", - "File is locked" : "File is locked", - "Status: locked" : "Status: locked", - "Status: not locked" : "Status: not locked", - "filelock" : "filelock" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en_GB.json b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en_GB.json deleted file mode 100644 index c2e23cf..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en_GB.json +++ /dev/null @@ -1,8 +0,0 @@ -{ "translations": { - "File not locked" : "File not locked", - "File is locked" : "File is locked", - "Status: locked" : "Status: locked", - "Status: not locked" : "Status: not locked", - "filelock" : "filelock" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en_GB.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en_GB.php deleted file mode 100644 index 7b6d0af..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/en_GB.php +++ /dev/null @@ -1,8 +0,0 @@ - "File not locked", -"File is locked" => "File is locked", -"Status: locked" => "Status: locked", -"Status: not locked" => "Status: not locked", -"filelock" => "filelock" -); diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr.js b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr.js deleted file mode 100644 index 3a94645..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr.js +++ /dev/null @@ -1,28 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "Fichier non verrouillé ", - "File is locked" : " Fichier verrouillé ", - "Status: locked" : " Statut: verrouillé ", - "Status: not locked" : " Statut: non verrouillé ", - "filelock" : "fichier vérouillé", - "Manage multiaccess" : " Configuration des accès multiples", - "Here you can set the colors for the locked files." : " Vous pouvez définir les couleurs pour les fichiers verrouillés.", - "Background color" : " Couleur de fond ", - "Font color" : " Couleur de police ", - "Save" : "Sauvegarder", - "There are no locked files at the moment" : " Il n'y a pas de fichiers verrouillés actuellement", - "Locked files" : " Fichiers verrouillés", - "Unlock this file" : " Déverrouiller ce fichier ", - "Unlock all files" : " Déverrouiller tous les fichiers", - "by" : "par", - "'Locked by' suffix" : "'verrouillé par'-suffixe", - "username" : "nom d'utilisateur", - "Shows the real username i.e. admin, or LDAP UUID" : "Affiche le vrai nom d'utilisateur, par exemple admin ou un UUID", - "display name" : "nom d'affichage", - "Shows the full displayed name, i.e. John Doe" : "Affiche le nom d'affichage, par exemple Jean Dupont", - "Suffix change has been saved" : "le changement de suffixe a été enregistré", - "Old file locks won't be affected by this" : "les anciens fichiers ne seront pas affectés par cette" - -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr.json b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr.json deleted file mode 100644 index 0822878..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr.json +++ /dev/null @@ -1,25 +0,0 @@ -{ "translations": { - "File not locked" : "Fichier non verrouillé ", - "File is locked" : " Fichier verrouillé ", - "Status: locked" : " Statut: verrouillé ", - "Status: not locked" : " Statut: non verrouillé ", - "filelock" : "fichier vérouillé", - "Manage multiaccess" : " Configuration des accès multiples", - "Here you can set the colors for the locked files." : " Vous pouvez définir les couleurs pour les fichiers verrouillés.", - "Background color" : " Couleur de fond ", - "Font color" : " Couleur de police ", - "Save" : "Sauvegarder", - "There are no locked files at the moment" : " Il n'y a pas de fichiers verrouillés actuellement", - "Locked files" : " Fichiers verrouillés", - "Unlock this file" : " Déverrouiller ce fichier ", - "Unlock all files" : " Déverrouiller tous les fichiers", - "by" : "par", - "'Locked by' suffix" : "'verrouillé par'-suffixe", - "username" : "nom d'utilisateur", - "Shows the real username i.e. admin, or LDAP UUID" : "Affiche le vrai nom d'utilisateur, par exemple admin ou un UUID", - "display name" : "nom d'affichage", - "Shows the full displayed name, i.e. John Doe" : "Affiche le nom d'affichage, par exemple Jean Dupont", - "Suffix change has been saved" : "le changement de suffixe a été enregistré", - "Old file locks won't be affected by this" : "les anciens fichiers ne seront pas affectés par cette" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr.php deleted file mode 100644 index 4076382..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr.php +++ /dev/null @@ -1,18 +0,0 @@ - "Fichier non verrouillé ", -"File is locked" => " Fichier verrouillé ", -"Status: locked" => " Statut: verrouillé ", -"Status: not locked" => " Statut: non verrouillé ", -"filelock" => "fichier vérouillé", -"Manage multiaccess" => " Configuration des accès multiples", -"Here you can set the colors for the locked files." => " Vous pouvez définir les couleurs pour les fichiers verrouillés.", -"Background color" => " Couleur de fond ", -"Font color" => " Couleur de police ", -"Save" => "Sauvegarder", -"There are no locked files at the moment" => " Il n'y a pas de fichiers verrouillés actuellement", -"Locked files" => " Fichiers verrouillés", -"Unlock this file" => " Déverrouiller ce fichier ", -"Unlock all files" => " Déverrouiller tous les fichiers", -"by" => "par", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr_FR.js b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr_FR.js deleted file mode 100644 index 52118de..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr_FR.js +++ /dev/null @@ -1,20 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "Fichier non verrouillé ", - "File is locked" : " Fichier verrouillé ", - "Status: locked" : " Statut: verrouillé ", - "Status: not locked" : " Statut: non verrouillé ", - "filelock" : "fichier vérouillé", - "Manage multiaccess" : " Configuration des accès multiples", - "Here you can set the colors for the locked files." : " Vous pouvez définir les couleurs pour les fichiers verrouillés.", - "Background color" : " Couleur de fond ", - "Font color" : " Couleur de police ", - "Save" : "Sauvegarder", - "There are no locked files at the moment" : " Il n'y a pas de fichiers verrouillés actuellement", - "Locked files" : " Fichiers verrouillés", - "Unlock this file" : " Déverrouiller ce fichier ", - "Unlock all files" : " Déverrouiller tous les fichiers", - "by" : "par" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr_FR.json b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr_FR.json deleted file mode 100644 index 5a7b206..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr_FR.json +++ /dev/null @@ -1,18 +0,0 @@ -{ "translations": { - "File not locked" : "Fichier non verrouillé ", - "File is locked" : " Fichier verrouillé ", - "Status: locked" : " Statut: verrouillé ", - "Status: not locked" : " Statut: non verrouillé ", - "filelock" : "fichier vérouillé", - "Manage multiaccess" : " Configuration des accès multiples", - "Here you can set the colors for the locked files." : " Vous pouvez définir les couleurs pour les fichiers verrouillés.", - "Background color" : " Couleur de fond ", - "Font color" : " Couleur de police ", - "Save" : "Sauvegarder", - "There are no locked files at the moment" : " Il n'y a pas de fichiers verrouillés actuellement", - "Locked files" : " Fichiers verrouillés", - "Unlock this file" : " Déverrouiller ce fichier ", - "Unlock all files" : " Déverrouiller tous les fichiers", - "by" : "par" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr_FR.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr_FR.php deleted file mode 100644 index 4076382..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/fr_FR.php +++ /dev/null @@ -1,18 +0,0 @@ - "Fichier non verrouillé ", -"File is locked" => " Fichier verrouillé ", -"Status: locked" => " Statut: verrouillé ", -"Status: not locked" => " Statut: non verrouillé ", -"filelock" => "fichier vérouillé", -"Manage multiaccess" => " Configuration des accès multiples", -"Here you can set the colors for the locked files." => " Vous pouvez définir les couleurs pour les fichiers verrouillés.", -"Background color" => " Couleur de fond ", -"Font color" => " Couleur de police ", -"Save" => "Sauvegarder", -"There are no locked files at the moment" => " Il n'y a pas de fichiers verrouillés actuellement", -"Locked files" => " Fichiers verrouillés", -"Unlock this file" => " Déverrouiller ce fichier ", -"Unlock all files" => " Déverrouiller tous les fichiers", -"by" => "par", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja.js b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja.js deleted file mode 100644 index cc99396..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja.js +++ /dev/null @@ -1,20 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "ファイルロック無し", - "File is locked" : "ファイルロック中", - "Status: locked" : "状態: ロック中", - "Status: not locked" : "状態: ロック無し", - "filelock" : "ファイルロック", - "Manage multiaccess" : "同時アクセス管理", - "Here you can set the colors for the locked files." : "ロックされたファイルのデフォルトの背景色を設定できます。", - "Background color" : "背景色", - "Font color" : "フォント色", - "Save" : "保存", - "There are no locked files at the moment" : "現在ロックされているファイルはありません", - "Locked files" : "このファイルをロック解除", - "Unlock this file" : "ロック中のファイル", - "Unlock all files" : "全てのファイルをロック解除", - "by" : "による" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja.json b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja.json deleted file mode 100644 index a0fb34e..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja.json +++ /dev/null @@ -1,18 +0,0 @@ -{ "translations": { - "File not locked" : "ファイルロック無し", - "File is locked" : "ファイルロック中", - "Status: locked" : "状態: ロック中", - "Status: not locked" : "状態: ロック無し", - "filelock" : "ファイルロック", - "Manage multiaccess" : "同時アクセス管理", - "Here you can set the colors for the locked files." : "ロックされたファイルのデフォルトの背景色を設定できます。", - "Background color" : "背景色", - "Font color" : "フォント色", - "Save" : "保存", - "There are no locked files at the moment" : "現在ロックされているファイルはありません", - "Locked files" : "このファイルをロック解除", - "Unlock this file" : "ロック中のファイル", - "Unlock all files" : "全てのファイルをロック解除", - "by" : "による" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja.php deleted file mode 100644 index c3aee44..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja.php +++ /dev/null @@ -1,18 +0,0 @@ - "ファイルロック無し", -"File is locked" => "ファイルロック中", -"Status: locked" => "状態: ロック中", -"Status: not locked" => "状態: ロック無し", -"filelock" => "ファイルロック", -"Manage multiaccess" => "同時アクセス管理", -"Here you can set the colors for the locked files." => "ロックされたファイルのデフォルトの背景色を設定できます。", -"Background color" => "背景色", -"Font color" => "フォント色", -"Save" => "保存", -"There are no locked files at the moment" => "現在ロックされているファイルはありません", -"Locked files" => "このファイルをロック解除", -"Unlock this file" => "ロック中のファイル", -"Unlock all files" => "全てのファイルをロック解除", -"by" => "による", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja_JP.js b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja_JP.js deleted file mode 100644 index cc99396..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja_JP.js +++ /dev/null @@ -1,20 +0,0 @@ -OC.L10N.register( - "files_w2g", - { - "File not locked" : "ファイルロック無し", - "File is locked" : "ファイルロック中", - "Status: locked" : "状態: ロック中", - "Status: not locked" : "状態: ロック無し", - "filelock" : "ファイルロック", - "Manage multiaccess" : "同時アクセス管理", - "Here you can set the colors for the locked files." : "ロックされたファイルのデフォルトの背景色を設定できます。", - "Background color" : "背景色", - "Font color" : "フォント色", - "Save" : "保存", - "There are no locked files at the moment" : "現在ロックされているファイルはありません", - "Locked files" : "このファイルをロック解除", - "Unlock this file" : "ロック中のファイル", - "Unlock all files" : "全てのファイルをロック解除", - "by" : "による" -}, -"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja_JP.json b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja_JP.json deleted file mode 100644 index a0fb34e..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja_JP.json +++ /dev/null @@ -1,18 +0,0 @@ -{ "translations": { - "File not locked" : "ファイルロック無し", - "File is locked" : "ファイルロック中", - "Status: locked" : "状態: ロック中", - "Status: not locked" : "状態: ロック無し", - "filelock" : "ファイルロック", - "Manage multiaccess" : "同時アクセス管理", - "Here you can set the colors for the locked files." : "ロックされたファイルのデフォルトの背景色を設定できます。", - "Background color" : "背景色", - "Font color" : "フォント色", - "Save" : "保存", - "There are no locked files at the moment" : "現在ロックされているファイルはありません", - "Locked files" : "このファイルをロック解除", - "Unlock this file" : "ロック中のファイル", - "Unlock all files" : "全てのファイルをロック解除", - "by" : "による" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -} diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja_JP.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja_JP.php deleted file mode 100644 index c3aee44..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/l10n/ja_JP.php +++ /dev/null @@ -1,18 +0,0 @@ - "ファイルロック無し", -"File is locked" => "ファイルロック中", -"Status: locked" => "状態: ロック中", -"Status: not locked" => "状態: ロック無し", -"filelock" => "ファイルロック", -"Manage multiaccess" => "同時アクセス管理", -"Here you can set the colors for the locked files." => "ロックされたファイルのデフォルトの背景色を設定できます。", -"Background color" => "背景色", -"Font color" => "フォント色", -"Save" => "保存", -"There are no locked files at the moment" => "現在ロックされているファイルはありません", -"Locked files" => "このファイルをロック解除", -"Unlock this file" => "ロック中のファイル", -"Unlock all files" => "全てのファイルをロック解除", -"by" => "による", -); \ No newline at end of file diff --git a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/templates/admin.php b/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/templates/admin.php deleted file mode 100644 index 19322c1..0000000 --- a/Old Releases/Owncloud 8/files_w2g 0.8.2/files_w2g/templates/admin.php +++ /dev/null @@ -1,91 +0,0 @@ -execute()->fetchAll(); -if(count($result)>=1) - $value = $result[0]['configvalue']; - -//fontcolor -$query = \OCP\DB::prepare("SELECT * FROM *PREFIX*appconfig where configkey='fontcolor' and appid='files_w2g' LIMIT 1"); -$result = $query->execute()->fetchAll(); -if(count($result)>=1) - $font_value = $result[0]['configvalue']; - - -//Lockey by name rule -$query = \OCP\DB::prepare("SELECT * FROM *PREFIX*appconfig where configkey='suffix' and appid='files_w2g' LIMIT 1"); -$result = $query->execute()->fetchAll(); -if(count($result)>=1) - $naming = $result[0]['configvalue']; - -//Locked files -$exist = \OCP\DB::prepare("SHOW TABLES LIKE '*PREFIX*".app::table."'")->execute()->fetchAll(); -if($exist!=null) - $result = \OCP\DB::prepare("SELECT * FROM *PREFIX*".app::table)->execute()->fetchAll(); - - - -//---------------------------------------------------------------------------------------------------------------------------- - -\OCP\Util::addscript(app::name, 'admin'); -\OCP\Util::addscript(app::name, 'jscolor'); - -?> -
-
-

t('Manage multiaccess')) ?>

- - t("Here you can set the colors for the locked files.")); - echo $naming; - echo ' -

- '.$l->t("Background color").':
- # -  

- - '.$l->t("Font color").':
- # -  

- '; - - if(count($result)>0) - { - echo '
'.$l->t("Locked files").':
-
-
- '; - } - else - echo $l->t("There are no locked files at the moment"); - - echo '
'. - $l->t("'Locked by' suffix").':

-
-


'.$l->t("Shows the real username i.e. admin, or LDAP UUID").'

-


'.$l->t("Shows the full displayed name, i.e. John Doe").'

-
- '; - - echo '
-

- '.$l->t("Suffix change has been saved").' -

- '; - - echo '

('.$l->t("Old file locks won't be affected by this").')

'; - - ?> -
\ No newline at end of file