mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-03 12:14:12 +01:00
Important update of the plugin engine.
New plugin that allows the handling of an Amavisd-new SQL quarantine. NB: a DB connections manager has been added inside the lib because Django does not support multiple connections at the same time. The main consequence is that we don't use an ORM and that we have to rewrite a small wrapper that supports several DB (mysql, postgresql, etc.). Adding a dependancy to an existing ORM module (like SQLalchemy) is heavy, we don't want that for now.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{% load i18n %}
|
||||
{% load main_extras %}
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
@@ -47,6 +48,7 @@
|
||||
<img src="/static/pics/user.png" border="0" />{% trans "Preferences" %}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% loadextmenu perms %}
|
||||
<li>
|
||||
{% url django.contrib.auth.views.logout_then_login as logout_url %}
|
||||
<a href="{{ logout_url }}">
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
{% load i18n %}
|
||||
<ul>
|
||||
<li {% ifequal selection "autoreply" %}class="selected"{% endifequal %}>
|
||||
{% url main.views.autoreply as ar_url %}
|
||||
<a href="{{ ar_url }}"><img src="/static/pics/auto-reply.png" border="0"/>
|
||||
{% trans "Auto-reply message" %}
|
||||
{% for entry in entries %}
|
||||
<li {% ifequal selection entry.name %}class="selected"{% endifequal %}>
|
||||
<a href="{{ entry.url }}"
|
||||
{% if entry.class %}class={{ entry.class }}{% endif %}
|
||||
{% if entry.rel %}rel={{ entry.rel }}{% endif %}>
|
||||
<img src="{{ entry.img }}" border="0" />
|
||||
{{ entry.label }}
|
||||
</a>
|
||||
</li>
|
||||
{% url main.views.changepassword as chpwd_url %}
|
||||
<li><a href="{{ chpwd_url }}"
|
||||
class="boxed" rel="{handler:'iframe',size:{x:350,y:220}}">
|
||||
<img src="/static/pics/edit.png" border="0"/>
|
||||
{% trans "Change password" %}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user