Replace sectors by job terms in profile and search (job and mentoring).
[platal.git] / templates / include / form.valid.edit-paiements.tpl
index d185314..8d92f73 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 
 <input type="text" name="pay_titre" size="50" maxlength="200" value="{$valid->titre}" />
 <br />
-<textarea rows="10" cols="60" name="pay_msg_reponse">{$valid->msg_reponse}</textarea>
+<div id="preview_{$valid->id()}" style="display: none; text-align: left"></div>
+<textarea rows="10" cols="60" id="msg_{$valid->id()}" name="pay_msg_reponse">{$valid->msg_reponse}</textarea>
 <br />
+<input type="submit" name="preview" value="Aperçu" onclick="previewWiki('msg_{$valid->id()}', 'preview_{$valid->id()}', true, 'preview_{$valid->id()}'); return false;" /><br />
 <strong>Site&nbsp;:</strong> <input type="text" name="pay_site" size="45" value="{$valid->site}" />
 <br>
-<strong>Montant&nbsp;:</strong> <input type="text" name="pay_montant" size="5" value="{$valid->montant}" /> 
+<strong>Montant&nbsp;:</strong> <input type="text" name="pay_montant" size="5" value="{$valid->montant}" />
 (min <input type="text" name="pay_montant_min" size="5" value="{$valid->montant_min}" />
 &nbsp;->&nbsp; max <input type="text" name="pay_montant_max" size="5" value="{$valid->montant_max}" />)