projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New script for formatting AX education.
[platal.git]
/
templates
/
survey
/
edit_root.tpl
diff --git
a/templates/survey/edit_root.tpl
b/templates/survey/edit_root.tpl
index
05244be
..
3bc93cf
100644
(file)
--- a/
templates/survey/edit_root.tpl
+++ b/
templates/survey/edit_root.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
09
Polytechnique.org *}
+{* Copyright (C) 2003-20
10
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 *}
@@
-40,25
+40,25
@@
<td class="titre">Date de fin</td>
<td>
{valid_date name="survey_question[end]" value=$survey_current.end to=90}
<td class="titre">Date de fin</td>
<td>
{valid_date name="survey_question[end]" value=$survey_current.end to=90}
- </td>
- </tr>
<script type="text/javascript">//<![CDATA[
{literal}
$(document).ready(function() {
function hidePromo(value) {
<script type="text/javascript">//<![CDATA[
{literal}
$(document).ready(function() {
function hidePromo(value) {
- if (value == "0" || value == "") {
- $("#ln_promo").hide();
+ if (value == "0" || value == "") {
+ $("#ln_promo").hide();
$("#ln_promo_exp").hide();
$("#ln_promo_exp").hide();
- } else {
+ } else {
$("#ln_promo").show();
$("#ln_promo_exp").show();
$("#ln_promo").show();
$("#ln_promo_exp").show();
- }
+ }
}
$("[name='survey_question[mode]']").change(function() { hidePromo(this.value); });
hidePromo({/literal}"{$survey_current.mode}"{literal});
});
{/literal}
//]]></script>
}
$("[name='survey_question[mode]']").change(function() { hidePromo(this.value); });
hidePromo({/literal}"{$survey_current.mode}"{literal});
});
{/literal}
//]]></script>
+ </td>
+ </tr>
<tr>
<td class="titre">Type de sondage</td>
<td>
<tr>
<td class="titre">Type de sondage</td>
<td>