public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/web/templates/edit/bcc.twig
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
{% extends 'edit.twig' %}
3
{% block inner_content %}
4
{% if result %}
5
<h4>{{ lang.mailbox.bcc_map }}</h4>
6
<br>
7
<form class="form-horizontal" data-id="editbcc" role="form" method="post">
8
<input type="hidden" value="0" name="active">
9
<div class="row mb-2">
10
<label class="control-label col-sm-2" for="bcc_dest">{{ lang.mailbox.bcc_destination }}</label>
11
<div class="col-sm-10">
12
<input value="{{ result.bcc_dest }}" type="text" class="form-control" name="bcc_dest" id="bcc_dest">
13
<small>{{ lang.edit.bcc_dest_format|raw }}</small>
14
</div>
15
</div>
16
<div class="row mb-4">
17
<label class="control-label col-sm-2" for="type">{{ lang.mailbox.bcc_map_type }}</label>
18
<div class="col-sm-10">
19
<select id="addFilterType" name="type" id="type" required>
20
<option value="sender"{% if result.type == 'sender'%} selected{% endif %}>{{ lang.mailbox.bcc_sender_map }}</option>
21
<option value="rcpt"{% if result.type == 'rcpt'%} selected{% endif %}>{{ lang.mailbox.bcc_rcpt_map }}</option>
22
</select>
23
</div>
24
</div>
25
<div class="row mb-2">
26
<div class="offset-sm-2 col-sm-10">
27
<div class="form-check">
28
<label><input type="checkbox" class="form-check-input" value="1" name="active"{% if result.active == '1' %} checked{% endif %}> {{ lang.edit.active }}</label>
29
</div>
30
</div>
31
</div>
32
<div class="row mb-2">
33
<div class="offset-sm-2 col-sm-10">
34
<button class="btn btn-xs-lg d-block d-sm-inline btn-success" data-action="edit_selected" data-id="editbcc" data-item="{{ bcc }}" data-api-url='edit/bcc' data-api-attr='{}' href="#">{{ lang.edit.save }}</button>
35
</div>
36
</div>
37
</form>
38
{% else %}
39
{{ parent() }}
40
{% endif %}
41
{% endblock %}