-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathfooter.php
132 lines (129 loc) · 5.98 KB
/
footer.php
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?php namespace PHPMaker2020\SupplierMapping; ?>
<?php if (!IsExport()) { ?>
<?php if (@!$SkipHeaderFooter) { ?>
<?php if (isset($DebugTimer)) $DebugTimer->stop() ?>
</div><!-- /.container-fluid -->
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<!-- Main Footer -->
<footer class="main-footer">
<!-- ** Note: Only licensed users are allowed to change the copyright statement. ** -->
<div class="ew-footer-text"><?php echo $Language->projectPhrase("FooterText") ?></div>
<div class="float-right d-none d-sm-inline-block"></div>
</footer>
</div>
<!-- ./wrapper -->
<?php } ?>
<!-- template upload (for file upload) -->
<script id="template-upload" type="text/html">
{{for files}}
<tr class="template-upload">
<td>
<span class="preview"></span>
</td>
<td>
<p class="name">{{:name}}</p>
<p class="error text-danger"></p>
</td>
<td>
<div class="progress" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"><div class="progress-bar bg-success" style="width: 0%;"></div></div>
</td>
<td>
{{if !#index && !~root.options.autoUpload}}
<button class="btn btn-default btn-sm start" disabled><?php echo $Language->phrase("UploadStart") ?></button>
{{/if}}
{{if !#index}}
<button class="btn btn-default btn-sm cancel"><?php echo $Language->phrase("UploadCancel") ?></button>
{{/if}}
</td>
</tr>
{{/for}}
</script>
<!-- template download (for file upload) -->
<script id="template-download" type="text/html">
{{for files}}
<tr class="template-download">
<td>
<span class="preview">
{{if !exists}}
<span class="text-danger"><?php echo $Language->phrase("FileNotFound") ?></span>
{{else url && extension == "pdf"}}
<div class="ew-pdfobject" data-url="{{>url}}" style="width: <?php echo Config("UPLOAD_THUMBNAIL_WIDTH") ?>px;"></div>
{{else url && extension == "mp3"}}
<audio controls><source type="audio/mpeg" src="{{>url}}"></audio>
{{else url && extension == "mp4"}}
<video controls><source type="video/mp4" src="{{>url}}"></video>
{{else thumbnailUrl}}
<a href="{{>url}}" title="{{>name}}" download="{{>name}}" class="ew-lightbox"><img src="{{>thumbnailUrl}}"></a>
{{/if}}
</span>
</td>
<td>
<p class="name">
{{if !exists}}
<span class="text-muted">{{:name}}</span>
{{else url && thumbnailUrl && extension != "pdf" && extension != "mp3" && extension != "mp4"}}
<a href="{{>url}}" title="{{>name}}" download="{{>name}}" class="ew-lightbox">{{:name}}</a>
{{else url}}
<a href="{{>url}}" title="{{>name}}" download="{{>name}}">{{:name}}</a>
{{else}}
<span>{{:name}}</span>
{{/if}}
</p>
{{if error}}
<div><span class="error text-danger">{{:error}}</span></div>
{{/if}}
</td>
<td>
<span class="size">{{:~root.formatFileSize(size)}}</span>
</td>
<td>
{{if !~root.options.readOnly && deleteUrl}}
<button class="btn btn-default btn-sm delete" data-type="{{>deleteType}}" data-url="{{>deleteUrl}}"><?php echo $Language->phrase("UploadDelete") ?></button>
{{else !~root.options.readOnly}}
<button class="btn btn-default btn-sm cancel"><?php echo $Language->phrase("UploadCancel") ?></button>
{{/if}}
</td>
</tr>
{{/for}}
</script>
<!-- modal dialog -->
<div id="ew-modal-dialog" class="modal" role="dialog" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><h4 class="modal-title"></h4></div><div class="modal-body"></div><div class="modal-footer"></div></div></div></div>
<!-- import dialog -->
<div id="ew-import-dialog" class="modal" role="dialog" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><h4 class="modal-title"></h4></div>
<div class="modal-body">
<div class="custom-file">
<input type="file" class="custom-file-input" id="importfiles" title=" " name="importfiles[]" multiple lang="<?php echo CurrentLanguageID() ?>">
<label class="custom-file-label ew-file-label" for="importfiles"><?php echo $Language->phrase("ChooseFiles") ?></label>
</div>
<div class="message d-none mt-3"></div>
<div class="progress d-none mt-3"><div class="progress-bar progress-bar-striped" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%">0%</div></div>
</div>
<div class="modal-footer"><button type="button" class="btn btn-default ew-close-btn" data-dismiss="modal"><?php echo $Language->phrase("CloseBtn") ?></button></div></div></div></div>
<!-- message box -->
<div id="ew-message-box" class="modal" role="dialog" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"><div class="modal-body"></div><div class="modal-footer"><button type="button" class="btn btn-primary ew-btn" data-dismiss="modal"><?php echo $Language->phrase("MessageOK") ?></button></div></div></div></div>
<!-- prompt -->
<div id="ew-prompt" class="modal" role="dialog" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"><div class="modal-body"></div><div class="modal-footer"><button type="button" class="btn btn-primary ew-btn"><?php echo $Language->phrase("MessageOK") ?></button><button type="button" class="btn btn-default ew-btn" data-dismiss="modal"><?php echo $Language->phrase("CancelBtn") ?></button></div></div></div></div>
<!-- session timer -->
<div id="ew-timer" class="modal" role="dialog" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"><div class="modal-body"></div><div class="modal-footer"><button type="button" class="btn btn-primary ew-btn" data-dismiss="modal"><?php echo $Language->phrase("MessageOK") ?></button></div></div></div></div>
<!-- tooltip -->
<div id="ew-tooltip"></div>
<?php if (@!$DrillDownInPanel) { ?>
<!-- drill down -->
<div id="ew-drilldown-panel"></div>
<?php } ?>
<?php } ?>
<?php if (!IsExport() || IsExport("print")) { ?>
<script>
// User event handlers
ew.ready(ew.bundleIds, "<?php echo $RELATIVE_PATH ?>js/userevt.js", "load", function() {
// Global startup script
// Write your global startup script here
// console.log("page loaded");
});
</script>
<?php } ?>
</body>
</html>