@@ -6,52 +6,52 @@ |
||
6 | 6 | $baseDir = $vendorDir; |
7 | 7 | |
8 | 8 | return array( |
9 | - 'OCA\\Files_Sharing\\Activity\\Filter' => $baseDir . '/../lib/Activity/Filter.php', |
|
10 | - 'OCA\\Files_Sharing\\Activity\\Providers\\Base' => $baseDir . '/../lib/Activity/Providers/Base.php', |
|
11 | - 'OCA\\Files_Sharing\\Activity\\Providers\\Downloads' => $baseDir . '/../lib/Activity/Providers/Downloads.php', |
|
12 | - 'OCA\\Files_Sharing\\Activity\\Providers\\Groups' => $baseDir . '/../lib/Activity/Providers/Groups.php', |
|
13 | - 'OCA\\Files_Sharing\\Activity\\Providers\\PublicLinks' => $baseDir . '/../lib/Activity/Providers/PublicLinks.php', |
|
14 | - 'OCA\\Files_Sharing\\Activity\\Providers\\RemoteShares' => $baseDir . '/../lib/Activity/Providers/RemoteShares.php', |
|
15 | - 'OCA\\Files_Sharing\\Activity\\Providers\\Users' => $baseDir . '/../lib/Activity/Providers/Users.php', |
|
16 | - 'OCA\\Files_Sharing\\Activity\\Settings\\PublicLinks' => $baseDir . '/../lib/Activity/Settings/PublicLinks.php', |
|
17 | - 'OCA\\Files_Sharing\\Activity\\Settings\\RemoteShare' => $baseDir . '/../lib/Activity/Settings/RemoteShare.php', |
|
18 | - 'OCA\\Files_Sharing\\Activity\\Settings\\Shared' => $baseDir . '/../lib/Activity/Settings/Shared.php', |
|
19 | - 'OCA\\Files_Sharing\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php', |
|
20 | - 'OCA\\Files_Sharing\\Cache' => $baseDir . '/../lib/Cache.php', |
|
21 | - 'OCA\\Files_Sharing\\Capabilities' => $baseDir . '/../lib/Capabilities.php', |
|
22 | - 'OCA\\Files_Sharing\\Collaboration\\ShareRecipientSorter' => $baseDir . '/../lib/Collaboration/ShareRecipientSorter.php', |
|
23 | - 'OCA\\Files_Sharing\\Command\\CleanupRemoteStorages' => $baseDir . '/../lib/Command/CleanupRemoteStorages.php', |
|
24 | - 'OCA\\Files_Sharing\\Controller\\ExternalSharesController' => $baseDir . '/../lib/Controller/ExternalSharesController.php', |
|
25 | - 'OCA\\Files_Sharing\\Controller\\PublicPreviewController' => $baseDir . '/../lib/Controller/PublicPreviewController.php', |
|
26 | - 'OCA\\Files_Sharing\\Controller\\RemoteController' => $baseDir . '/../lib/Controller/RemoteController.php', |
|
27 | - 'OCA\\Files_Sharing\\Controller\\ShareAPIController' => $baseDir . '/../lib/Controller/ShareAPIController.php', |
|
28 | - 'OCA\\Files_Sharing\\Controller\\ShareController' => $baseDir . '/../lib/Controller/ShareController.php', |
|
29 | - 'OCA\\Files_Sharing\\Controller\\ShareInfoController' => $baseDir . '/../lib/Controller/ShareInfoController.php', |
|
30 | - 'OCA\\Files_Sharing\\Controller\\ShareesAPIController' => $baseDir . '/../lib/Controller/ShareesAPIController.php', |
|
31 | - 'OCA\\Files_Sharing\\DeleteOrphanedSharesJob' => $baseDir . '/../lib/DeleteOrphanedSharesJob.php', |
|
32 | - 'OCA\\Files_Sharing\\Exceptions\\BrokenPath' => $baseDir . '/../lib/Exceptions/BrokenPath.php', |
|
33 | - 'OCA\\Files_Sharing\\Exceptions\\S2SException' => $baseDir . '/../lib/Exceptions/S2SException.php', |
|
34 | - 'OCA\\Files_Sharing\\ExpireSharesJob' => $baseDir . '/../lib/ExpireSharesJob.php', |
|
35 | - 'OCA\\Files_Sharing\\External\\Cache' => $baseDir . '/../lib/External/Cache.php', |
|
36 | - 'OCA\\Files_Sharing\\External\\Manager' => $baseDir . '/../lib/External/Manager.php', |
|
37 | - 'OCA\\Files_Sharing\\External\\Mount' => $baseDir . '/../lib/External/Mount.php', |
|
38 | - 'OCA\\Files_Sharing\\External\\MountProvider' => $baseDir . '/../lib/External/MountProvider.php', |
|
39 | - 'OCA\\Files_Sharing\\External\\Scanner' => $baseDir . '/../lib/External/Scanner.php', |
|
40 | - 'OCA\\Files_Sharing\\External\\Storage' => $baseDir . '/../lib/External/Storage.php', |
|
41 | - 'OCA\\Files_Sharing\\External\\Watcher' => $baseDir . '/../lib/External/Watcher.php', |
|
42 | - 'OCA\\Files_Sharing\\Helper' => $baseDir . '/../lib/Helper.php', |
|
43 | - 'OCA\\Files_Sharing\\Hooks' => $baseDir . '/../lib/Hooks.php', |
|
44 | - 'OCA\\Files_Sharing\\ISharedStorage' => $baseDir . '/../lib/ISharedStorage.php', |
|
45 | - 'OCA\\Files_Sharing\\Middleware\\OCSShareAPIMiddleware' => $baseDir . '/../lib/Middleware/OCSShareAPIMiddleware.php', |
|
46 | - 'OCA\\Files_Sharing\\Middleware\\ShareInfoMiddleware' => $baseDir . '/../lib/Middleware/ShareInfoMiddleware.php', |
|
47 | - 'OCA\\Files_Sharing\\Middleware\\SharingCheckMiddleware' => $baseDir . '/../lib/Middleware/SharingCheckMiddleware.php', |
|
48 | - 'OCA\\Files_Sharing\\Migration\\OwncloudGuestShareType' => $baseDir . '/../lib/Migration/OwncloudGuestShareType.php', |
|
49 | - 'OCA\\Files_Sharing\\Migration\\SetPasswordColumn' => $baseDir . '/../lib/Migration/SetPasswordColumn.php', |
|
50 | - 'OCA\\Files_Sharing\\MountProvider' => $baseDir . '/../lib/MountProvider.php', |
|
51 | - 'OCA\\Files_Sharing\\Scanner' => $baseDir . '/../lib/Scanner.php', |
|
52 | - 'OCA\\Files_Sharing\\ShareBackend\\File' => $baseDir . '/../lib/ShareBackend/File.php', |
|
53 | - 'OCA\\Files_Sharing\\ShareBackend\\Folder' => $baseDir . '/../lib/ShareBackend/Folder.php', |
|
54 | - 'OCA\\Files_Sharing\\SharedMount' => $baseDir . '/../lib/SharedMount.php', |
|
55 | - 'OCA\\Files_Sharing\\SharedStorage' => $baseDir . '/../lib/SharedStorage.php', |
|
56 | - 'OCA\\Files_Sharing\\Updater' => $baseDir . '/../lib/Updater.php', |
|
9 | + 'OCA\\Files_Sharing\\Activity\\Filter' => $baseDir.'/../lib/Activity/Filter.php', |
|
10 | + 'OCA\\Files_Sharing\\Activity\\Providers\\Base' => $baseDir.'/../lib/Activity/Providers/Base.php', |
|
11 | + 'OCA\\Files_Sharing\\Activity\\Providers\\Downloads' => $baseDir.'/../lib/Activity/Providers/Downloads.php', |
|
12 | + 'OCA\\Files_Sharing\\Activity\\Providers\\Groups' => $baseDir.'/../lib/Activity/Providers/Groups.php', |
|
13 | + 'OCA\\Files_Sharing\\Activity\\Providers\\PublicLinks' => $baseDir.'/../lib/Activity/Providers/PublicLinks.php', |
|
14 | + 'OCA\\Files_Sharing\\Activity\\Providers\\RemoteShares' => $baseDir.'/../lib/Activity/Providers/RemoteShares.php', |
|
15 | + 'OCA\\Files_Sharing\\Activity\\Providers\\Users' => $baseDir.'/../lib/Activity/Providers/Users.php', |
|
16 | + 'OCA\\Files_Sharing\\Activity\\Settings\\PublicLinks' => $baseDir.'/../lib/Activity/Settings/PublicLinks.php', |
|
17 | + 'OCA\\Files_Sharing\\Activity\\Settings\\RemoteShare' => $baseDir.'/../lib/Activity/Settings/RemoteShare.php', |
|
18 | + 'OCA\\Files_Sharing\\Activity\\Settings\\Shared' => $baseDir.'/../lib/Activity/Settings/Shared.php', |
|
19 | + 'OCA\\Files_Sharing\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php', |
|
20 | + 'OCA\\Files_Sharing\\Cache' => $baseDir.'/../lib/Cache.php', |
|
21 | + 'OCA\\Files_Sharing\\Capabilities' => $baseDir.'/../lib/Capabilities.php', |
|
22 | + 'OCA\\Files_Sharing\\Collaboration\\ShareRecipientSorter' => $baseDir.'/../lib/Collaboration/ShareRecipientSorter.php', |
|
23 | + 'OCA\\Files_Sharing\\Command\\CleanupRemoteStorages' => $baseDir.'/../lib/Command/CleanupRemoteStorages.php', |
|
24 | + 'OCA\\Files_Sharing\\Controller\\ExternalSharesController' => $baseDir.'/../lib/Controller/ExternalSharesController.php', |
|
25 | + 'OCA\\Files_Sharing\\Controller\\PublicPreviewController' => $baseDir.'/../lib/Controller/PublicPreviewController.php', |
|
26 | + 'OCA\\Files_Sharing\\Controller\\RemoteController' => $baseDir.'/../lib/Controller/RemoteController.php', |
|
27 | + 'OCA\\Files_Sharing\\Controller\\ShareAPIController' => $baseDir.'/../lib/Controller/ShareAPIController.php', |
|
28 | + 'OCA\\Files_Sharing\\Controller\\ShareController' => $baseDir.'/../lib/Controller/ShareController.php', |
|
29 | + 'OCA\\Files_Sharing\\Controller\\ShareInfoController' => $baseDir.'/../lib/Controller/ShareInfoController.php', |
|
30 | + 'OCA\\Files_Sharing\\Controller\\ShareesAPIController' => $baseDir.'/../lib/Controller/ShareesAPIController.php', |
|
31 | + 'OCA\\Files_Sharing\\DeleteOrphanedSharesJob' => $baseDir.'/../lib/DeleteOrphanedSharesJob.php', |
|
32 | + 'OCA\\Files_Sharing\\Exceptions\\BrokenPath' => $baseDir.'/../lib/Exceptions/BrokenPath.php', |
|
33 | + 'OCA\\Files_Sharing\\Exceptions\\S2SException' => $baseDir.'/../lib/Exceptions/S2SException.php', |
|
34 | + 'OCA\\Files_Sharing\\ExpireSharesJob' => $baseDir.'/../lib/ExpireSharesJob.php', |
|
35 | + 'OCA\\Files_Sharing\\External\\Cache' => $baseDir.'/../lib/External/Cache.php', |
|
36 | + 'OCA\\Files_Sharing\\External\\Manager' => $baseDir.'/../lib/External/Manager.php', |
|
37 | + 'OCA\\Files_Sharing\\External\\Mount' => $baseDir.'/../lib/External/Mount.php', |
|
38 | + 'OCA\\Files_Sharing\\External\\MountProvider' => $baseDir.'/../lib/External/MountProvider.php', |
|
39 | + 'OCA\\Files_Sharing\\External\\Scanner' => $baseDir.'/../lib/External/Scanner.php', |
|
40 | + 'OCA\\Files_Sharing\\External\\Storage' => $baseDir.'/../lib/External/Storage.php', |
|
41 | + 'OCA\\Files_Sharing\\External\\Watcher' => $baseDir.'/../lib/External/Watcher.php', |
|
42 | + 'OCA\\Files_Sharing\\Helper' => $baseDir.'/../lib/Helper.php', |
|
43 | + 'OCA\\Files_Sharing\\Hooks' => $baseDir.'/../lib/Hooks.php', |
|
44 | + 'OCA\\Files_Sharing\\ISharedStorage' => $baseDir.'/../lib/ISharedStorage.php', |
|
45 | + 'OCA\\Files_Sharing\\Middleware\\OCSShareAPIMiddleware' => $baseDir.'/../lib/Middleware/OCSShareAPIMiddleware.php', |
|
46 | + 'OCA\\Files_Sharing\\Middleware\\ShareInfoMiddleware' => $baseDir.'/../lib/Middleware/ShareInfoMiddleware.php', |
|
47 | + 'OCA\\Files_Sharing\\Middleware\\SharingCheckMiddleware' => $baseDir.'/../lib/Middleware/SharingCheckMiddleware.php', |
|
48 | + 'OCA\\Files_Sharing\\Migration\\OwncloudGuestShareType' => $baseDir.'/../lib/Migration/OwncloudGuestShareType.php', |
|
49 | + 'OCA\\Files_Sharing\\Migration\\SetPasswordColumn' => $baseDir.'/../lib/Migration/SetPasswordColumn.php', |
|
50 | + 'OCA\\Files_Sharing\\MountProvider' => $baseDir.'/../lib/MountProvider.php', |
|
51 | + 'OCA\\Files_Sharing\\Scanner' => $baseDir.'/../lib/Scanner.php', |
|
52 | + 'OCA\\Files_Sharing\\ShareBackend\\File' => $baseDir.'/../lib/ShareBackend/File.php', |
|
53 | + 'OCA\\Files_Sharing\\ShareBackend\\Folder' => $baseDir.'/../lib/ShareBackend/Folder.php', |
|
54 | + 'OCA\\Files_Sharing\\SharedMount' => $baseDir.'/../lib/SharedMount.php', |
|
55 | + 'OCA\\Files_Sharing\\SharedStorage' => $baseDir.'/../lib/SharedStorage.php', |
|
56 | + 'OCA\\Files_Sharing\\Updater' => $baseDir.'/../lib/Updater.php', |
|
57 | 57 | ); |
@@ -6,74 +6,74 @@ |
||
6 | 6 | |
7 | 7 | class ComposerStaticInitFiles_Sharing |
8 | 8 | { |
9 | - public static $prefixLengthsPsr4 = array ( |
|
9 | + public static $prefixLengthsPsr4 = array( |
|
10 | 10 | 'O' => |
11 | - array ( |
|
11 | + array( |
|
12 | 12 | 'OCA\\Files_Sharing\\' => 18, |
13 | 13 | ), |
14 | 14 | ); |
15 | 15 | |
16 | - public static $prefixDirsPsr4 = array ( |
|
16 | + public static $prefixDirsPsr4 = array( |
|
17 | 17 | 'OCA\\Files_Sharing\\' => |
18 | - array ( |
|
19 | - 0 => __DIR__ . '/..' . '/../lib', |
|
18 | + array( |
|
19 | + 0 => __DIR__.'/..'.'/../lib', |
|
20 | 20 | ), |
21 | 21 | ); |
22 | 22 | |
23 | - public static $classMap = array ( |
|
24 | - 'OCA\\Files_Sharing\\Activity\\Filter' => __DIR__ . '/..' . '/../lib/Activity/Filter.php', |
|
25 | - 'OCA\\Files_Sharing\\Activity\\Providers\\Base' => __DIR__ . '/..' . '/../lib/Activity/Providers/Base.php', |
|
26 | - 'OCA\\Files_Sharing\\Activity\\Providers\\Downloads' => __DIR__ . '/..' . '/../lib/Activity/Providers/Downloads.php', |
|
27 | - 'OCA\\Files_Sharing\\Activity\\Providers\\Groups' => __DIR__ . '/..' . '/../lib/Activity/Providers/Groups.php', |
|
28 | - 'OCA\\Files_Sharing\\Activity\\Providers\\PublicLinks' => __DIR__ . '/..' . '/../lib/Activity/Providers/PublicLinks.php', |
|
29 | - 'OCA\\Files_Sharing\\Activity\\Providers\\RemoteShares' => __DIR__ . '/..' . '/../lib/Activity/Providers/RemoteShares.php', |
|
30 | - 'OCA\\Files_Sharing\\Activity\\Providers\\Users' => __DIR__ . '/..' . '/../lib/Activity/Providers/Users.php', |
|
31 | - 'OCA\\Files_Sharing\\Activity\\Settings\\PublicLinks' => __DIR__ . '/..' . '/../lib/Activity/Settings/PublicLinks.php', |
|
32 | - 'OCA\\Files_Sharing\\Activity\\Settings\\RemoteShare' => __DIR__ . '/..' . '/../lib/Activity/Settings/RemoteShare.php', |
|
33 | - 'OCA\\Files_Sharing\\Activity\\Settings\\Shared' => __DIR__ . '/..' . '/../lib/Activity/Settings/Shared.php', |
|
34 | - 'OCA\\Files_Sharing\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php', |
|
35 | - 'OCA\\Files_Sharing\\Cache' => __DIR__ . '/..' . '/../lib/Cache.php', |
|
36 | - 'OCA\\Files_Sharing\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php', |
|
37 | - 'OCA\\Files_Sharing\\Collaboration\\ShareRecipientSorter' => __DIR__ . '/..' . '/../lib/Collaboration/ShareRecipientSorter.php', |
|
38 | - 'OCA\\Files_Sharing\\Command\\CleanupRemoteStorages' => __DIR__ . '/..' . '/../lib/Command/CleanupRemoteStorages.php', |
|
39 | - 'OCA\\Files_Sharing\\Controller\\ExternalSharesController' => __DIR__ . '/..' . '/../lib/Controller/ExternalSharesController.php', |
|
40 | - 'OCA\\Files_Sharing\\Controller\\PublicPreviewController' => __DIR__ . '/..' . '/../lib/Controller/PublicPreviewController.php', |
|
41 | - 'OCA\\Files_Sharing\\Controller\\RemoteController' => __DIR__ . '/..' . '/../lib/Controller/RemoteController.php', |
|
42 | - 'OCA\\Files_Sharing\\Controller\\ShareAPIController' => __DIR__ . '/..' . '/../lib/Controller/ShareAPIController.php', |
|
43 | - 'OCA\\Files_Sharing\\Controller\\ShareController' => __DIR__ . '/..' . '/../lib/Controller/ShareController.php', |
|
44 | - 'OCA\\Files_Sharing\\Controller\\ShareInfoController' => __DIR__ . '/..' . '/../lib/Controller/ShareInfoController.php', |
|
45 | - 'OCA\\Files_Sharing\\Controller\\ShareesAPIController' => __DIR__ . '/..' . '/../lib/Controller/ShareesAPIController.php', |
|
46 | - 'OCA\\Files_Sharing\\DeleteOrphanedSharesJob' => __DIR__ . '/..' . '/../lib/DeleteOrphanedSharesJob.php', |
|
47 | - 'OCA\\Files_Sharing\\Exceptions\\BrokenPath' => __DIR__ . '/..' . '/../lib/Exceptions/BrokenPath.php', |
|
48 | - 'OCA\\Files_Sharing\\Exceptions\\S2SException' => __DIR__ . '/..' . '/../lib/Exceptions/S2SException.php', |
|
49 | - 'OCA\\Files_Sharing\\ExpireSharesJob' => __DIR__ . '/..' . '/../lib/ExpireSharesJob.php', |
|
50 | - 'OCA\\Files_Sharing\\External\\Cache' => __DIR__ . '/..' . '/../lib/External/Cache.php', |
|
51 | - 'OCA\\Files_Sharing\\External\\Manager' => __DIR__ . '/..' . '/../lib/External/Manager.php', |
|
52 | - 'OCA\\Files_Sharing\\External\\Mount' => __DIR__ . '/..' . '/../lib/External/Mount.php', |
|
53 | - 'OCA\\Files_Sharing\\External\\MountProvider' => __DIR__ . '/..' . '/../lib/External/MountProvider.php', |
|
54 | - 'OCA\\Files_Sharing\\External\\Scanner' => __DIR__ . '/..' . '/../lib/External/Scanner.php', |
|
55 | - 'OCA\\Files_Sharing\\External\\Storage' => __DIR__ . '/..' . '/../lib/External/Storage.php', |
|
56 | - 'OCA\\Files_Sharing\\External\\Watcher' => __DIR__ . '/..' . '/../lib/External/Watcher.php', |
|
57 | - 'OCA\\Files_Sharing\\Helper' => __DIR__ . '/..' . '/../lib/Helper.php', |
|
58 | - 'OCA\\Files_Sharing\\Hooks' => __DIR__ . '/..' . '/../lib/Hooks.php', |
|
59 | - 'OCA\\Files_Sharing\\ISharedStorage' => __DIR__ . '/..' . '/../lib/ISharedStorage.php', |
|
60 | - 'OCA\\Files_Sharing\\Middleware\\OCSShareAPIMiddleware' => __DIR__ . '/..' . '/../lib/Middleware/OCSShareAPIMiddleware.php', |
|
61 | - 'OCA\\Files_Sharing\\Middleware\\ShareInfoMiddleware' => __DIR__ . '/..' . '/../lib/Middleware/ShareInfoMiddleware.php', |
|
62 | - 'OCA\\Files_Sharing\\Middleware\\SharingCheckMiddleware' => __DIR__ . '/..' . '/../lib/Middleware/SharingCheckMiddleware.php', |
|
63 | - 'OCA\\Files_Sharing\\Migration\\OwncloudGuestShareType' => __DIR__ . '/..' . '/../lib/Migration/OwncloudGuestShareType.php', |
|
64 | - 'OCA\\Files_Sharing\\Migration\\SetPasswordColumn' => __DIR__ . '/..' . '/../lib/Migration/SetPasswordColumn.php', |
|
65 | - 'OCA\\Files_Sharing\\MountProvider' => __DIR__ . '/..' . '/../lib/MountProvider.php', |
|
66 | - 'OCA\\Files_Sharing\\Scanner' => __DIR__ . '/..' . '/../lib/Scanner.php', |
|
67 | - 'OCA\\Files_Sharing\\ShareBackend\\File' => __DIR__ . '/..' . '/../lib/ShareBackend/File.php', |
|
68 | - 'OCA\\Files_Sharing\\ShareBackend\\Folder' => __DIR__ . '/..' . '/../lib/ShareBackend/Folder.php', |
|
69 | - 'OCA\\Files_Sharing\\SharedMount' => __DIR__ . '/..' . '/../lib/SharedMount.php', |
|
70 | - 'OCA\\Files_Sharing\\SharedStorage' => __DIR__ . '/..' . '/../lib/SharedStorage.php', |
|
71 | - 'OCA\\Files_Sharing\\Updater' => __DIR__ . '/..' . '/../lib/Updater.php', |
|
23 | + public static $classMap = array( |
|
24 | + 'OCA\\Files_Sharing\\Activity\\Filter' => __DIR__.'/..'.'/../lib/Activity/Filter.php', |
|
25 | + 'OCA\\Files_Sharing\\Activity\\Providers\\Base' => __DIR__.'/..'.'/../lib/Activity/Providers/Base.php', |
|
26 | + 'OCA\\Files_Sharing\\Activity\\Providers\\Downloads' => __DIR__.'/..'.'/../lib/Activity/Providers/Downloads.php', |
|
27 | + 'OCA\\Files_Sharing\\Activity\\Providers\\Groups' => __DIR__.'/..'.'/../lib/Activity/Providers/Groups.php', |
|
28 | + 'OCA\\Files_Sharing\\Activity\\Providers\\PublicLinks' => __DIR__.'/..'.'/../lib/Activity/Providers/PublicLinks.php', |
|
29 | + 'OCA\\Files_Sharing\\Activity\\Providers\\RemoteShares' => __DIR__.'/..'.'/../lib/Activity/Providers/RemoteShares.php', |
|
30 | + 'OCA\\Files_Sharing\\Activity\\Providers\\Users' => __DIR__.'/..'.'/../lib/Activity/Providers/Users.php', |
|
31 | + 'OCA\\Files_Sharing\\Activity\\Settings\\PublicLinks' => __DIR__.'/..'.'/../lib/Activity/Settings/PublicLinks.php', |
|
32 | + 'OCA\\Files_Sharing\\Activity\\Settings\\RemoteShare' => __DIR__.'/..'.'/../lib/Activity/Settings/RemoteShare.php', |
|
33 | + 'OCA\\Files_Sharing\\Activity\\Settings\\Shared' => __DIR__.'/..'.'/../lib/Activity/Settings/Shared.php', |
|
34 | + 'OCA\\Files_Sharing\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php', |
|
35 | + 'OCA\\Files_Sharing\\Cache' => __DIR__.'/..'.'/../lib/Cache.php', |
|
36 | + 'OCA\\Files_Sharing\\Capabilities' => __DIR__.'/..'.'/../lib/Capabilities.php', |
|
37 | + 'OCA\\Files_Sharing\\Collaboration\\ShareRecipientSorter' => __DIR__.'/..'.'/../lib/Collaboration/ShareRecipientSorter.php', |
|
38 | + 'OCA\\Files_Sharing\\Command\\CleanupRemoteStorages' => __DIR__.'/..'.'/../lib/Command/CleanupRemoteStorages.php', |
|
39 | + 'OCA\\Files_Sharing\\Controller\\ExternalSharesController' => __DIR__.'/..'.'/../lib/Controller/ExternalSharesController.php', |
|
40 | + 'OCA\\Files_Sharing\\Controller\\PublicPreviewController' => __DIR__.'/..'.'/../lib/Controller/PublicPreviewController.php', |
|
41 | + 'OCA\\Files_Sharing\\Controller\\RemoteController' => __DIR__.'/..'.'/../lib/Controller/RemoteController.php', |
|
42 | + 'OCA\\Files_Sharing\\Controller\\ShareAPIController' => __DIR__.'/..'.'/../lib/Controller/ShareAPIController.php', |
|
43 | + 'OCA\\Files_Sharing\\Controller\\ShareController' => __DIR__.'/..'.'/../lib/Controller/ShareController.php', |
|
44 | + 'OCA\\Files_Sharing\\Controller\\ShareInfoController' => __DIR__.'/..'.'/../lib/Controller/ShareInfoController.php', |
|
45 | + 'OCA\\Files_Sharing\\Controller\\ShareesAPIController' => __DIR__.'/..'.'/../lib/Controller/ShareesAPIController.php', |
|
46 | + 'OCA\\Files_Sharing\\DeleteOrphanedSharesJob' => __DIR__.'/..'.'/../lib/DeleteOrphanedSharesJob.php', |
|
47 | + 'OCA\\Files_Sharing\\Exceptions\\BrokenPath' => __DIR__.'/..'.'/../lib/Exceptions/BrokenPath.php', |
|
48 | + 'OCA\\Files_Sharing\\Exceptions\\S2SException' => __DIR__.'/..'.'/../lib/Exceptions/S2SException.php', |
|
49 | + 'OCA\\Files_Sharing\\ExpireSharesJob' => __DIR__.'/..'.'/../lib/ExpireSharesJob.php', |
|
50 | + 'OCA\\Files_Sharing\\External\\Cache' => __DIR__.'/..'.'/../lib/External/Cache.php', |
|
51 | + 'OCA\\Files_Sharing\\External\\Manager' => __DIR__.'/..'.'/../lib/External/Manager.php', |
|
52 | + 'OCA\\Files_Sharing\\External\\Mount' => __DIR__.'/..'.'/../lib/External/Mount.php', |
|
53 | + 'OCA\\Files_Sharing\\External\\MountProvider' => __DIR__.'/..'.'/../lib/External/MountProvider.php', |
|
54 | + 'OCA\\Files_Sharing\\External\\Scanner' => __DIR__.'/..'.'/../lib/External/Scanner.php', |
|
55 | + 'OCA\\Files_Sharing\\External\\Storage' => __DIR__.'/..'.'/../lib/External/Storage.php', |
|
56 | + 'OCA\\Files_Sharing\\External\\Watcher' => __DIR__.'/..'.'/../lib/External/Watcher.php', |
|
57 | + 'OCA\\Files_Sharing\\Helper' => __DIR__.'/..'.'/../lib/Helper.php', |
|
58 | + 'OCA\\Files_Sharing\\Hooks' => __DIR__.'/..'.'/../lib/Hooks.php', |
|
59 | + 'OCA\\Files_Sharing\\ISharedStorage' => __DIR__.'/..'.'/../lib/ISharedStorage.php', |
|
60 | + 'OCA\\Files_Sharing\\Middleware\\OCSShareAPIMiddleware' => __DIR__.'/..'.'/../lib/Middleware/OCSShareAPIMiddleware.php', |
|
61 | + 'OCA\\Files_Sharing\\Middleware\\ShareInfoMiddleware' => __DIR__.'/..'.'/../lib/Middleware/ShareInfoMiddleware.php', |
|
62 | + 'OCA\\Files_Sharing\\Middleware\\SharingCheckMiddleware' => __DIR__.'/..'.'/../lib/Middleware/SharingCheckMiddleware.php', |
|
63 | + 'OCA\\Files_Sharing\\Migration\\OwncloudGuestShareType' => __DIR__.'/..'.'/../lib/Migration/OwncloudGuestShareType.php', |
|
64 | + 'OCA\\Files_Sharing\\Migration\\SetPasswordColumn' => __DIR__.'/..'.'/../lib/Migration/SetPasswordColumn.php', |
|
65 | + 'OCA\\Files_Sharing\\MountProvider' => __DIR__.'/..'.'/../lib/MountProvider.php', |
|
66 | + 'OCA\\Files_Sharing\\Scanner' => __DIR__.'/..'.'/../lib/Scanner.php', |
|
67 | + 'OCA\\Files_Sharing\\ShareBackend\\File' => __DIR__.'/..'.'/../lib/ShareBackend/File.php', |
|
68 | + 'OCA\\Files_Sharing\\ShareBackend\\Folder' => __DIR__.'/..'.'/../lib/ShareBackend/Folder.php', |
|
69 | + 'OCA\\Files_Sharing\\SharedMount' => __DIR__.'/..'.'/../lib/SharedMount.php', |
|
70 | + 'OCA\\Files_Sharing\\SharedStorage' => __DIR__.'/..'.'/../lib/SharedStorage.php', |
|
71 | + 'OCA\\Files_Sharing\\Updater' => __DIR__.'/..'.'/../lib/Updater.php', |
|
72 | 72 | ); |
73 | 73 | |
74 | 74 | public static function getInitializer(ClassLoader $loader) |
75 | 75 | { |
76 | - return \Closure::bind(function () use ($loader) { |
|
76 | + return \Closure::bind(function() use ($loader) { |
|
77 | 77 | $loader->prefixLengthsPsr4 = ComposerStaticInitFiles_Sharing::$prefixLengthsPsr4; |
78 | 78 | $loader->prefixDirsPsr4 = ComposerStaticInitFiles_Sharing::$prefixDirsPsr4; |
79 | 79 | $loader->classMap = ComposerStaticInitFiles_Sharing::$classMap; |
@@ -4,9 +4,9 @@ discard block |
||
4 | 4 | <meta charset="utf-8"> |
5 | 5 | <title> |
6 | 6 | <?php |
7 | - p(!empty($_['application'])?$_['application'].' - ':''); |
|
8 | - p($theme->getTitle()); |
|
9 | - ?> |
|
7 | + p(!empty($_['application'])?$_['application'].' - ':''); |
|
8 | + p($theme->getTitle()); |
|
9 | + ?> |
|
10 | 10 | </title> |
11 | 11 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
12 | 12 | <meta name="referrer" content="never"> |
@@ -42,11 +42,11 @@ discard block |
||
42 | 42 | </div> |
43 | 43 | |
44 | 44 | <?php |
45 | - /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */ |
|
46 | - if($template->getActionCount() !== 0) { |
|
47 | - $primary = $template->getPrimaryAction(); |
|
48 | - $others = $template->getOtherActions(); |
|
49 | - ?> |
|
45 | + /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */ |
|
46 | + if($template->getActionCount() !== 0) { |
|
47 | + $primary = $template->getPrimaryAction(); |
|
48 | + $others = $template->getOtherActions(); |
|
49 | + ?> |
|
50 | 50 | <div class="header-right"> |
51 | 51 | <span id="header-primary-action" class="<?php if($template->getActionCount() === 1) { p($primary->getIcon()); } ?>"> |
52 | 52 | <a href="<?php p($primary->getLink()); ?>"> |
@@ -59,11 +59,11 @@ discard block |
||
59 | 59 | <div id="header-actions-menu" class="popovermenu menu"> |
60 | 60 | <ul> |
61 | 61 | <?php |
62 | - /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */ |
|
63 | - foreach($template->getOtherActions() as $action) { |
|
64 | - print_unescaped($action->render()); |
|
65 | - } |
|
66 | - ?> |
|
62 | + /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */ |
|
63 | + foreach($template->getOtherActions() as $action) { |
|
64 | + print_unescaped($action->render()); |
|
65 | + } |
|
66 | + ?> |
|
67 | 67 | </ul> |
68 | 68 | </div> |
69 | 69 | </div> |
@@ -4,7 +4,7 @@ discard block |
||
4 | 4 | <meta charset="utf-8"> |
5 | 5 | <title> |
6 | 6 | <?php |
7 | - p(!empty($_['application'])?$_['application'].' - ':''); |
|
7 | + p(!empty($_['application']) ? $_['application'].' - ' : ''); |
|
8 | 8 | p($theme->getTitle()); |
9 | 9 | ?> |
10 | 10 | </title> |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | <meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>"> |
15 | 15 | <meta name="apple-mobile-web-app-capable" content="yes"> |
16 | 16 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> |
17 | - <meta name="apple-mobile-web-app-title" content="<?php p((!empty($_['application']) && $_['appid']!='files')? $_['application']:$theme->getTitle()); ?>"> |
|
17 | + <meta name="apple-mobile-web-app-title" content="<?php p((!empty($_['application']) && $_['appid'] != 'files') ? $_['application'] : $theme->getTitle()); ?>"> |
|
18 | 18 | <meta name="mobile-web-app-capable" content="yes"> |
19 | 19 | <meta name="theme-color" content="<?php p($theme->getColorPrimary()); ?>"> |
20 | 20 | <link rel="icon" href="<?php print_unescaped(image_path($_['appid'], 'favicon.ico')); /* IE11+ supports png */ ?>"> |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | <?php emit_script_loading_tags($_); ?> |
26 | 26 | <?php print_unescaped($_['headers']); ?> |
27 | 27 | </head> |
28 | -<body id="<?php p($_['bodyid']);?>"> |
|
28 | +<body id="<?php p($_['bodyid']); ?>"> |
|
29 | 29 | <?php include('layout.noscript.warning.php'); ?> |
30 | 30 | <header> |
31 | 31 | <div id="header" class="<?php p($_['header-classes']); ?>"> |
@@ -43,24 +43,24 @@ discard block |
||
43 | 43 | |
44 | 44 | <?php |
45 | 45 | /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */ |
46 | - if($template->getActionCount() !== 0) { |
|
46 | + if ($template->getActionCount() !== 0) { |
|
47 | 47 | $primary = $template->getPrimaryAction(); |
48 | 48 | $others = $template->getOtherActions(); |
49 | 49 | ?> |
50 | 50 | <div class="header-right"> |
51 | - <span id="header-primary-action" class="<?php if($template->getActionCount() === 1) { p($primary->getIcon()); } ?>"> |
|
51 | + <span id="header-primary-action" class="<?php if ($template->getActionCount() === 1) { p($primary->getIcon()); } ?>"> |
|
52 | 52 | <a href="<?php p($primary->getLink()); ?>"> |
53 | 53 | <span><?php p($primary->getLabel()) ?></span> |
54 | 54 | </a> |
55 | 55 | </span> |
56 | - <?php if($template->getActionCount()>1) { ?> |
|
56 | + <?php if ($template->getActionCount() > 1) { ?> |
|
57 | 57 | <div id="header-secondary-action"> |
58 | 58 | <span id="header-actions-toggle" class="menutoggle icon-more-white"></span> |
59 | 59 | <div id="header-actions-menu" class="popovermenu menu"> |
60 | 60 | <ul> |
61 | 61 | <?php |
62 | 62 | /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */ |
63 | - foreach($template->getOtherActions() as $action) { |
|
63 | + foreach ($template->getOtherActions() as $action) { |
|
64 | 64 | print_unescaped($action->render()); |
65 | 65 | } |
66 | 66 | ?> |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | <div id="content" class="app-<?php p($_['appid']) ?>" role="main"> |
77 | 77 | <?php print_unescaped($_['content']); ?> |
78 | 78 | </div> |
79 | - <?php if($template->getFooterVisible()) { ?> |
|
79 | + <?php if ($template->getFooterVisible()) { ?> |
|
80 | 80 | <footer> |
81 | 81 | <p class="info"><?php print_unescaped($theme->getLongFooter()); ?></p> |
82 | 82 | </footer> |
@@ -34,125 +34,125 @@ |
||
34 | 34 | */ |
35 | 35 | class PublicTemplateResponse extends TemplateResponse { |
36 | 36 | |
37 | - private $headerTitle = ''; |
|
38 | - private $headerDetails = ''; |
|
39 | - private $headerActions = []; |
|
40 | - private $footerVisible = true; |
|
41 | - |
|
42 | - /** |
|
43 | - * PublicTemplateResponse constructor. |
|
44 | - * |
|
45 | - * @param string $appName |
|
46 | - * @param string $templateName |
|
47 | - * @param array $params |
|
48 | - * @since 14.0.0 |
|
49 | - */ |
|
50 | - public function __construct(string $appName, string $templateName, array $params = array()) { |
|
51 | - parent::__construct($appName, $templateName, $params, 'public'); |
|
52 | - \OC_Util::addScript('core', 'public/publicpage'); |
|
53 | - } |
|
54 | - |
|
55 | - /** |
|
56 | - * @param string $title |
|
57 | - * @since 14.0.0 |
|
58 | - */ |
|
59 | - public function setHeaderTitle(string $title) { |
|
60 | - $this->headerTitle = $title; |
|
61 | - } |
|
62 | - |
|
63 | - /** |
|
64 | - * @return string |
|
65 | - * @since 14.0.0 |
|
66 | - */ |
|
67 | - public function getHeaderTitle(): string { |
|
68 | - return $this->headerTitle; |
|
69 | - } |
|
70 | - |
|
71 | - /** |
|
72 | - * @param string $details |
|
73 | - * @since 14.0.0 |
|
74 | - */ |
|
75 | - public function setHeaderDetails(string $details) { |
|
76 | - $this->headerDetails = $details; |
|
77 | - } |
|
78 | - |
|
79 | - /** |
|
80 | - * @return string |
|
81 | - * @since 14.0.0 |
|
82 | - */ |
|
83 | - public function getHeaderDetails(): string { |
|
84 | - return $this->headerDetails; |
|
85 | - } |
|
86 | - |
|
87 | - /** |
|
88 | - * @param array $actions |
|
89 | - * @since 14.0.0 |
|
90 | - * @throws InvalidArgumentException |
|
91 | - */ |
|
92 | - public function setHeaderActions(array $actions) { |
|
93 | - foreach ($actions as $action) { |
|
94 | - if ($actions instanceof IMenuAction) { |
|
95 | - throw new InvalidArgumentException('Actions must be of type IMenuAction'); |
|
96 | - } |
|
97 | - $this->headerActions[] = $action; |
|
98 | - } |
|
99 | - usort($this->headerActions, function(IMenuAction $a, IMenuAction $b) { |
|
100 | - return $a->getPriority() > $b->getPriority(); |
|
101 | - }); |
|
102 | - } |
|
103 | - |
|
104 | - /** |
|
105 | - * @return IMenuAction |
|
106 | - * @since 14.0.0 |
|
107 | - * @throws \Exception |
|
108 | - */ |
|
109 | - public function getPrimaryAction(): IMenuAction { |
|
110 | - if ($this->getActionCount() > 0) { |
|
111 | - return $this->headerActions[0]; |
|
112 | - } |
|
113 | - throw new \Exception('No header actions have been set'); |
|
114 | - } |
|
115 | - |
|
116 | - /** |
|
117 | - * @return int |
|
118 | - * @since 14.0.0 |
|
119 | - */ |
|
120 | - public function getActionCount(): int { |
|
121 | - return count($this->headerActions); |
|
122 | - } |
|
123 | - |
|
124 | - /** |
|
125 | - * @return IMenuAction[] |
|
126 | - * @since 14.0.0 |
|
127 | - */ |
|
128 | - public function getOtherActions(): array { |
|
129 | - return array_slice($this->headerActions, 1); |
|
130 | - } |
|
131 | - |
|
132 | - /** |
|
133 | - * @since 14.0.0 |
|
134 | - */ |
|
135 | - public function setFooterVisible(bool $visible = false) { |
|
136 | - $this->footerVisible = $visible; |
|
137 | - } |
|
138 | - |
|
139 | - /** |
|
140 | - * @since 14.0.0 |
|
141 | - */ |
|
142 | - public function getFooterVisible(): bool { |
|
143 | - return $this->footerVisible; |
|
144 | - } |
|
145 | - |
|
146 | - /** |
|
147 | - * @return string |
|
148 | - * @since 14.0.0 |
|
149 | - */ |
|
150 | - public function render(): string { |
|
151 | - $params = array_merge($this->getParams(), [ |
|
152 | - 'template' => $this, |
|
153 | - ]); |
|
154 | - $this->setParams($params); |
|
155 | - return parent::render(); |
|
156 | - } |
|
37 | + private $headerTitle = ''; |
|
38 | + private $headerDetails = ''; |
|
39 | + private $headerActions = []; |
|
40 | + private $footerVisible = true; |
|
41 | + |
|
42 | + /** |
|
43 | + * PublicTemplateResponse constructor. |
|
44 | + * |
|
45 | + * @param string $appName |
|
46 | + * @param string $templateName |
|
47 | + * @param array $params |
|
48 | + * @since 14.0.0 |
|
49 | + */ |
|
50 | + public function __construct(string $appName, string $templateName, array $params = array()) { |
|
51 | + parent::__construct($appName, $templateName, $params, 'public'); |
|
52 | + \OC_Util::addScript('core', 'public/publicpage'); |
|
53 | + } |
|
54 | + |
|
55 | + /** |
|
56 | + * @param string $title |
|
57 | + * @since 14.0.0 |
|
58 | + */ |
|
59 | + public function setHeaderTitle(string $title) { |
|
60 | + $this->headerTitle = $title; |
|
61 | + } |
|
62 | + |
|
63 | + /** |
|
64 | + * @return string |
|
65 | + * @since 14.0.0 |
|
66 | + */ |
|
67 | + public function getHeaderTitle(): string { |
|
68 | + return $this->headerTitle; |
|
69 | + } |
|
70 | + |
|
71 | + /** |
|
72 | + * @param string $details |
|
73 | + * @since 14.0.0 |
|
74 | + */ |
|
75 | + public function setHeaderDetails(string $details) { |
|
76 | + $this->headerDetails = $details; |
|
77 | + } |
|
78 | + |
|
79 | + /** |
|
80 | + * @return string |
|
81 | + * @since 14.0.0 |
|
82 | + */ |
|
83 | + public function getHeaderDetails(): string { |
|
84 | + return $this->headerDetails; |
|
85 | + } |
|
86 | + |
|
87 | + /** |
|
88 | + * @param array $actions |
|
89 | + * @since 14.0.0 |
|
90 | + * @throws InvalidArgumentException |
|
91 | + */ |
|
92 | + public function setHeaderActions(array $actions) { |
|
93 | + foreach ($actions as $action) { |
|
94 | + if ($actions instanceof IMenuAction) { |
|
95 | + throw new InvalidArgumentException('Actions must be of type IMenuAction'); |
|
96 | + } |
|
97 | + $this->headerActions[] = $action; |
|
98 | + } |
|
99 | + usort($this->headerActions, function(IMenuAction $a, IMenuAction $b) { |
|
100 | + return $a->getPriority() > $b->getPriority(); |
|
101 | + }); |
|
102 | + } |
|
103 | + |
|
104 | + /** |
|
105 | + * @return IMenuAction |
|
106 | + * @since 14.0.0 |
|
107 | + * @throws \Exception |
|
108 | + */ |
|
109 | + public function getPrimaryAction(): IMenuAction { |
|
110 | + if ($this->getActionCount() > 0) { |
|
111 | + return $this->headerActions[0]; |
|
112 | + } |
|
113 | + throw new \Exception('No header actions have been set'); |
|
114 | + } |
|
115 | + |
|
116 | + /** |
|
117 | + * @return int |
|
118 | + * @since 14.0.0 |
|
119 | + */ |
|
120 | + public function getActionCount(): int { |
|
121 | + return count($this->headerActions); |
|
122 | + } |
|
123 | + |
|
124 | + /** |
|
125 | + * @return IMenuAction[] |
|
126 | + * @since 14.0.0 |
|
127 | + */ |
|
128 | + public function getOtherActions(): array { |
|
129 | + return array_slice($this->headerActions, 1); |
|
130 | + } |
|
131 | + |
|
132 | + /** |
|
133 | + * @since 14.0.0 |
|
134 | + */ |
|
135 | + public function setFooterVisible(bool $visible = false) { |
|
136 | + $this->footerVisible = $visible; |
|
137 | + } |
|
138 | + |
|
139 | + /** |
|
140 | + * @since 14.0.0 |
|
141 | + */ |
|
142 | + public function getFooterVisible(): bool { |
|
143 | + return $this->footerVisible; |
|
144 | + } |
|
145 | + |
|
146 | + /** |
|
147 | + * @return string |
|
148 | + * @since 14.0.0 |
|
149 | + */ |
|
150 | + public function render(): string { |
|
151 | + $params = array_merge($this->getParams(), [ |
|
152 | + 'template' => $this, |
|
153 | + ]); |
|
154 | + $this->setParams($params); |
|
155 | + return parent::render(); |
|
156 | + } |
|
157 | 157 | |
158 | 158 | } |
159 | 159 | \ No newline at end of file |
@@ -34,33 +34,33 @@ |
||
34 | 34 | */ |
35 | 35 | class LinkMenuAction extends SimpleMenuAction { |
36 | 36 | |
37 | - /** |
|
38 | - * LinkMenuAction constructor. |
|
39 | - * |
|
40 | - * @param string $label |
|
41 | - * @param string $icon |
|
42 | - * @param string $link |
|
43 | - * @since 14.0.0 |
|
44 | - */ |
|
45 | - public function __construct(string $label, string $icon, string $link) { |
|
46 | - parent::__construct('directLink-container', $label, $icon, $link); |
|
47 | - } |
|
37 | + /** |
|
38 | + * LinkMenuAction constructor. |
|
39 | + * |
|
40 | + * @param string $label |
|
41 | + * @param string $icon |
|
42 | + * @param string $link |
|
43 | + * @since 14.0.0 |
|
44 | + */ |
|
45 | + public function __construct(string $label, string $icon, string $link) { |
|
46 | + parent::__construct('directLink-container', $label, $icon, $link); |
|
47 | + } |
|
48 | 48 | |
49 | - /** |
|
50 | - * @return string |
|
51 | - * @since 14.0.0 |
|
52 | - */ |
|
53 | - public function render(): string { |
|
54 | - return '<li>' . |
|
55 | - '<a id="directLink-container">' . |
|
56 | - '<span class="icon ' . Util::sanitizeHTML($this->getIcon()) . '"></span>' . |
|
57 | - '<label for="directLink">' . Util::sanitizeHTML($this->getLabel()) . '</label>' . |
|
58 | - '</a>' . |
|
59 | - '</li>' . |
|
60 | - '<li>' . |
|
61 | - '<span class="menuitem">' . |
|
62 | - '<input id="directLink" type="text" readonly="" value="' . Util::sanitizeHTML($this->getLink()) . '">' . |
|
63 | - '</span>' . |
|
64 | - '</li>'; |
|
65 | - } |
|
49 | + /** |
|
50 | + * @return string |
|
51 | + * @since 14.0.0 |
|
52 | + */ |
|
53 | + public function render(): string { |
|
54 | + return '<li>' . |
|
55 | + '<a id="directLink-container">' . |
|
56 | + '<span class="icon ' . Util::sanitizeHTML($this->getIcon()) . '"></span>' . |
|
57 | + '<label for="directLink">' . Util::sanitizeHTML($this->getLabel()) . '</label>' . |
|
58 | + '</a>' . |
|
59 | + '</li>' . |
|
60 | + '<li>' . |
|
61 | + '<span class="menuitem">' . |
|
62 | + '<input id="directLink" type="text" readonly="" value="' . Util::sanitizeHTML($this->getLink()) . '">' . |
|
63 | + '</span>' . |
|
64 | + '</li>'; |
|
65 | + } |
|
66 | 66 | } |
@@ -51,16 +51,16 @@ |
||
51 | 51 | * @since 14.0.0 |
52 | 52 | */ |
53 | 53 | public function render(): string { |
54 | - return '<li>' . |
|
55 | - '<a id="directLink-container">' . |
|
56 | - '<span class="icon ' . Util::sanitizeHTML($this->getIcon()) . '"></span>' . |
|
57 | - '<label for="directLink">' . Util::sanitizeHTML($this->getLabel()) . '</label>' . |
|
58 | - '</a>' . |
|
59 | - '</li>' . |
|
60 | - '<li>' . |
|
61 | - '<span class="menuitem">' . |
|
62 | - '<input id="directLink" type="text" readonly="" value="' . Util::sanitizeHTML($this->getLink()) . '">' . |
|
63 | - '</span>' . |
|
54 | + return '<li>'. |
|
55 | + '<a id="directLink-container">'. |
|
56 | + '<span class="icon '.Util::sanitizeHTML($this->getIcon()).'"></span>'. |
|
57 | + '<label for="directLink">'.Util::sanitizeHTML($this->getLabel()).'</label>'. |
|
58 | + '</a>'. |
|
59 | + '</li>'. |
|
60 | + '<li>'. |
|
61 | + '<span class="menuitem">'. |
|
62 | + '<input id="directLink" type="text" readonly="" value="'.Util::sanitizeHTML($this->getLink()).'">'. |
|
63 | + '</span>'. |
|
64 | 64 | '</li>'; |
65 | 65 | } |
66 | 66 | } |
@@ -33,45 +33,45 @@ |
||
33 | 33 | */ |
34 | 34 | class ExternalShareMenuAction extends SimpleMenuAction { |
35 | 35 | |
36 | - /** @var string */ |
|
37 | - private $owner; |
|
36 | + /** @var string */ |
|
37 | + private $owner; |
|
38 | 38 | |
39 | - /** @var string */ |
|
40 | - private $displayname; |
|
39 | + /** @var string */ |
|
40 | + private $displayname; |
|
41 | 41 | |
42 | - /** @var string */ |
|
43 | - private $shareName; |
|
42 | + /** @var string */ |
|
43 | + private $shareName; |
|
44 | 44 | |
45 | - /** |
|
46 | - * ExternalShareMenuAction constructor. |
|
47 | - * |
|
48 | - * @param string $label |
|
49 | - * @param string $icon |
|
50 | - * @param string $owner |
|
51 | - * @param string $displayname |
|
52 | - * @param string $shareName |
|
53 | - * @since 14.0.0 |
|
54 | - */ |
|
55 | - public function __construct(string $label, string $icon, string $owner, string $displayname, string $shareName) { |
|
56 | - parent::__construct('save', $label, $icon); |
|
57 | - $this->owner = $owner; |
|
58 | - $this->displayname = $displayname; |
|
59 | - $this->shareName = $shareName; |
|
60 | - } |
|
45 | + /** |
|
46 | + * ExternalShareMenuAction constructor. |
|
47 | + * |
|
48 | + * @param string $label |
|
49 | + * @param string $icon |
|
50 | + * @param string $owner |
|
51 | + * @param string $displayname |
|
52 | + * @param string $shareName |
|
53 | + * @since 14.0.0 |
|
54 | + */ |
|
55 | + public function __construct(string $label, string $icon, string $owner, string $displayname, string $shareName) { |
|
56 | + parent::__construct('save', $label, $icon); |
|
57 | + $this->owner = $owner; |
|
58 | + $this->displayname = $displayname; |
|
59 | + $this->shareName = $shareName; |
|
60 | + } |
|
61 | 61 | |
62 | - /** |
|
63 | - * @since 14.0.0 |
|
64 | - */ |
|
65 | - public function render(): string { |
|
66 | - return '<li>' . |
|
67 | - '<a id="save-external-share" data-protected="false" data-owner-display-name="' . Util::sanitizeHTML($this->displayname) . '" data-owner="' . Util::sanitizeHTML($this->owner) . '" data-name="' . Util::sanitizeHTML($this->shareName) . '">' . |
|
68 | - '<span class="icon ' . Util::sanitizeHTML($this->getIcon()) . '"></span>' . |
|
69 | - '<label for="remote_address">' . Util::sanitizeHTML($this->getLabel()) . '</label>' . |
|
70 | - '<form class="save-form hidden" action="#">' . |
|
71 | - '<input type="text" id="remote_address" placeholder="[email protected]">' . |
|
72 | - '<input type="submit" value=" " id="save-button-confirm" class="icon-confirm" disabled="disabled"></button>' . |
|
73 | - '</form>' . |
|
74 | - '</a>' . |
|
75 | - '</li>'; |
|
76 | - } |
|
62 | + /** |
|
63 | + * @since 14.0.0 |
|
64 | + */ |
|
65 | + public function render(): string { |
|
66 | + return '<li>' . |
|
67 | + '<a id="save-external-share" data-protected="false" data-owner-display-name="' . Util::sanitizeHTML($this->displayname) . '" data-owner="' . Util::sanitizeHTML($this->owner) . '" data-name="' . Util::sanitizeHTML($this->shareName) . '">' . |
|
68 | + '<span class="icon ' . Util::sanitizeHTML($this->getIcon()) . '"></span>' . |
|
69 | + '<label for="remote_address">' . Util::sanitizeHTML($this->getLabel()) . '</label>' . |
|
70 | + '<form class="save-form hidden" action="#">' . |
|
71 | + '<input type="text" id="remote_address" placeholder="[email protected]">' . |
|
72 | + '<input type="submit" value=" " id="save-button-confirm" class="icon-confirm" disabled="disabled"></button>' . |
|
73 | + '</form>' . |
|
74 | + '</a>' . |
|
75 | + '</li>'; |
|
76 | + } |
|
77 | 77 | } |
@@ -63,15 +63,15 @@ |
||
63 | 63 | * @since 14.0.0 |
64 | 64 | */ |
65 | 65 | public function render(): string { |
66 | - return '<li>' . |
|
67 | - '<a id="save-external-share" data-protected="false" data-owner-display-name="' . Util::sanitizeHTML($this->displayname) . '" data-owner="' . Util::sanitizeHTML($this->owner) . '" data-name="' . Util::sanitizeHTML($this->shareName) . '">' . |
|
68 | - '<span class="icon ' . Util::sanitizeHTML($this->getIcon()) . '"></span>' . |
|
69 | - '<label for="remote_address">' . Util::sanitizeHTML($this->getLabel()) . '</label>' . |
|
70 | - '<form class="save-form hidden" action="#">' . |
|
71 | - '<input type="text" id="remote_address" placeholder="[email protected]">' . |
|
72 | - '<input type="submit" value=" " id="save-button-confirm" class="icon-confirm" disabled="disabled"></button>' . |
|
73 | - '</form>' . |
|
74 | - '</a>' . |
|
66 | + return '<li>'. |
|
67 | + '<a id="save-external-share" data-protected="false" data-owner-display-name="'.Util::sanitizeHTML($this->displayname).'" data-owner="'.Util::sanitizeHTML($this->owner).'" data-name="'.Util::sanitizeHTML($this->shareName).'">'. |
|
68 | + '<span class="icon '.Util::sanitizeHTML($this->getIcon()).'"></span>'. |
|
69 | + '<label for="remote_address">'.Util::sanitizeHTML($this->getLabel()).'</label>'. |
|
70 | + '<form class="save-form hidden" action="#">'. |
|
71 | + '<input type="text" id="remote_address" placeholder="[email protected]">'. |
|
72 | + '<input type="submit" value=" " id="save-button-confirm" class="icon-confirm" disabled="disabled"></button>'. |
|
73 | + '</form>'. |
|
74 | + '</a>'. |
|
75 | 75 | '</li>'; |
76 | 76 | } |
77 | 77 | } |