projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/fusionax' into account
[platal.git]
/
templates
/
xnetgrp
/
mail.tpl
diff --git
a/templates/xnetgrp/mail.tpl
b/templates/xnetgrp/mail.tpl
index
2f39797
..
2040597
100644
(file)
--- a/
templates/xnetgrp/mail.tpl
+++ b/
templates/xnetgrp/mail.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-200
8
Polytechnique.org *}
+{* Copyright (C) 2003-200
9
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-31,6
+31,14
@@
masculin ou féminin, par son prénom, ou son nom.
<script type="text/javascript">//<![CDATA[
{literal}
<script type="text/javascript">//<![CDATA[
{literal}
+ function check(form)
+ {
+ if(form.sujet.value == "" && !confirm("Le sujet de l'email est vide, veux-tu continuer ?")) {
+ form.sujet.focus();
+ return false;
+ }
+ }
+
function updateWikiView(box) {
if (!box.checked) {
document.getElementById("preview_bt").style.display = "none";
function updateWikiView(box) {
if (!box.checked) {
document.getElementById("preview_bt").style.display = "none";
@@
-42,7
+50,7
@@
masculin ou féminin, par son prénom, ou son nom.
{/literal}
//]]></script>
{/literal}
//]]></script>
-<form action="{$platal->ns}mail" method="post" enctype="multipart/form-data">
+<form action="{$platal->ns}mail" method="post" enctype="multipart/form-data"
onsubmit="return check(this);"
>
{xsrf_token_field}
<table class='bicol'>
<tr>
{xsrf_token_field}
<table class='bicol'>
<tr>
@@
-100,7
+108,7
@@
masculin ou féminin, par son prénom, ou son nom.
<td class="titre">
Sujet :
</td>
<td class="titre">
Sujet :
</td>
- <td><input type="text" name="sujet" value="{$smarty.request.sujet
|default:"remplir le sujet ..."
}" size=55 maxlength=70></td>
+ <td><input type="text" name="sujet" value="{$smarty.request.sujet}" size=55 maxlength=70></td>
</tr>
<tr>
<td colspan="2" class="smaller">
</tr>
<tr>
<td colspan="2" class="smaller">