diff --git a/lang/master/tpl/admin/default.mtt b/lang/master/tpl/admin/default.mtt index 4be3e8d..5c6fd20 100644 --- a/lang/master/tpl/admin/default.mtt +++ b/lang/master/tpl/admin/default.mtt @@ -1,7 +1,7 @@ ::use 'admin/design.mtt':: -

Console d'administration de Cagette.net

+

Console d'administration de CagettePĂ©i

::hDate(now)::

diff --git a/src/controller/ContractAdmin.hx b/src/controller/ContractAdmin.hx index 70d1465..e25bd2b 100755 --- a/src/controller/ContractAdmin.hx +++ b/src/controller/ContractAdmin.hx @@ -19,8 +19,6 @@ class ContractAdmin extends Controller { if (!app.user.isContractManager()) throw Error("/", t._("You don't have the authorization to manage contracts")); view.nav = ["contractadmin"]; - - App.log("first message"); } public function sendNav(c) { diff --git a/src/controller/Messages.hx b/src/controller/Messages.hx index 4cb0cc2..c0f2683 100755 --- a/src/controller/Messages.hx +++ b/src/controller/Messages.hx @@ -31,7 +31,7 @@ class Messages extends Controller { var lists = getLists(); form.addElement(new StringInput("senderName", t._("Sender name"), senderName, true)); form.addElement(new StringInput("senderMail", t._("Sender E-Mail"), senderMail, true)); - form.addElement(new StringSelect("list", t._("Recipients"), lists, "1", true, null, "style='width:500px;'")); + form.addElement(new StringSelect("list", t._("Recipients"), lists, "3", true, null, "style='width:500px;'")); form.addElement(new StringInput("subject", t._("Subject:"), "", false, null, "style='width:500px;'")); form.addElement(new TextArea("text", t._("Message:"), "", false, null, "style='width:500px;height:350px;'")); @@ -82,8 +82,6 @@ class Messages extends Controller { lm.insert(); throw Ok("/messages", t._("The message has been sent")); - } else { - App.log('Administrator #${app.user.id} <${senderName}> prepares sending an email from choices list'); } view.form = form;