mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-27 06:18:43 +01:00
* Supporting mailboxes rename and removal only with Dovecot 2.x (see #389)
27 lines
847 B
Python
27 lines
847 B
Python
# coding: utf-8
|
|
from django.utils.translation import ugettext_lazy
|
|
from django import forms
|
|
from modoboa.lib.parameters import AdminParametersForm
|
|
|
|
|
|
class ParametersForm(AdminParametersForm):
|
|
app = "stats"
|
|
|
|
logfile = forms.CharField(
|
|
label=ugettext_lazy("Path to the log file"),
|
|
initial="/var/log/mail.log",
|
|
help_text=ugettext_lazy("Path to log file used to collect statistics")
|
|
)
|
|
|
|
rrd_rootdir = forms.CharField(
|
|
label=ugettext_lazy("Directory to store RRD files"),
|
|
initial="/tmp/modoboa",
|
|
help_text=ugettext_lazy("Path to directory where RRD files are stored")
|
|
)
|
|
|
|
img_rootdir = forms.CharField(
|
|
label=ugettext_lazy("Directory to store PNG files"),
|
|
initial="/tmp/modoboa",
|
|
help_text=ugettext_lazy("Path to directory where PNG files are stored")
|
|
)
|