1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
<?php
/**
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author colm <mail@colm.be>
* @author Damien <dcosset@hotmail.fr>
* @author Jan-Christoph Borchardt <hey@jancborchardt.net>
* @author Lukas Reschke <lukas@statuscode.ch>
* @author Thomas Imbreckx <zinks@iozero.be>
* @author Thomas Müller <thomas.mueller@tmit.eu>
*
* Mail
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License, version 3,
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
style('mail', 'mail');
style('mail', 'mobile');
script('mail', 'vendor/autosize/jquery.autosize');
script('mail', 'vendor/jquery-storage-api/jquery.storageapi');
script('mail', 'vendor/jquery-visibility/jquery-visibility');
script('mail', 'vendor/requirejs/require');
script('mail', 'searchproxy');
if ($_['debug']) {
// Load JS dependencies asynchronously as specified in require_config.js
script('mail', 'require_config');
} else {
// Load optimzed requirejs dependencies in one single file
script('mail', 'mail.min');
}
?>
<input type="hidden" id="config-installed-version" value="<?php p($_['app-version']); ?>">
<input type="hidden" id="has-dav-support" value="<?php p($_['has-dav-support']); ?>">
<div id="user-displayname"
style="display: none"><?php p(\OCP\User::getDisplayName(\OCP\User::getUser())); ?></div>
<div id="user-email"
style="display: none"><?php p(\OCP\Config::getUserValue(\OCP\User::getUser(), 'settings', 'email', '')); ?></div>
<div id="app">
<div id="app-navigation" class="icon-loading">
<div id="mail-new-message-fixed"></div>
<ul>
<li id="app-navigation-accounts"></li>
</ul>
<div id="app-settings">
<div id="app-settings-header">
<button class="settings-button"
data-apps-slide-toggle="#app-settings-content"></button>
</div>
<div id="app-settings-content"></div>
</div>
</div>
<div id="app-content">
<!-- This additional container div is only needed to make core's snapper toggle button work -->
<div class="mail-content container">
<!-- placeholder until Marionette has started, will be replaced by a LoadingView -->
<div class="container icon-loading"></div>
</div>
</div>
</div>
|