- incluse
- (ex : 1980, 0 signifie pas de minimum)
-
-
-
-
Promotion la plus jeune
-
- incluse
- (ex : 2000, 0 signifie pas de maximum)
-
-
-
-
-
-
-
+ {include file="include/field.promo.tpl"}
Choisis la date d'expiration de ton annonce :
diff --git a/templates/include/field.promo.tpl b/templates/include/field.promo.tpl
new file mode 100644
index 0000000..0f9e4d0
--- /dev/null
+++ b/templates/include/field.promo.tpl
@@ -0,0 +1,88 @@
+{**************************************************************************}
+{* *}
+{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* http://opensource.polytechnique.org/ *}
+{* *}
+{* This program is free software; you can redistribute it and/or modify *}
+{* it under the terms of the GNU General Public License as published by *}
+{* the Free Software Foundation; either version 2 of the License, or *}
+{* (at your option) any later version. *}
+{* *}
+{* This program is distributed in the hope that it will be useful, *}
+{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
+{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
+{* GNU General Public License for more details. *}
+{* *}
+{* You should have received a copy of the GNU General Public License *}
+{* along with this program; if not, write to the Free Software *}
+{* Foundation, Inc., *}
+{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
+{* *}
+{**************************************************************************}
+
+
+
+{if $full}
+
+{/if}
+
+
Promotion la plus ancienne
+
+ incluse
+ (ex : 1980)
+
+
+
+
Promotion la plus jeune
+
+ incluse
+ (ex : 2000)
+
+
+
+
+
+
+
+{if $full}
+
+{/if}
+
+{* vim:set et sws=2 sts=2 sw=2 enc=utf-8: *}
diff --git a/templates/include/select.field.tpl b/templates/include/field.select.tpl
similarity index 97%
rename from templates/include/select.field.tpl
rename to templates/include/field.select.tpl
index 51a99be..d7cc678 100644
--- a/templates/include/select.field.tpl
+++ b/templates/include/field.select.tpl
@@ -26,3 +26,5 @@
{/iterate}
+
+{* vim:set et sws=2 sts=2 sw=2 enc=utf-8: *}
diff --git a/templates/xnetgrp/announce-edit.tpl b/templates/xnetgrp/announce-edit.tpl
index e0546fc..7af72fe 100644
--- a/templates/xnetgrp/announce-edit.tpl
+++ b/templates/xnetgrp/announce-edit.tpl
@@ -26,9 +26,9 @@ function visibilityChange(box)
{
var state = (box.checked ? 'none' : '');
document.getElementById('promo_titre').style.display = state;
- document.getElementById('promo_min').style.display = state;
- document.getElementById('promo_max').style.display = state;
- document.getElementById('promo_desc').style.display = state;
+ document.getElementById('promo_min_tr').style.display = state;
+ document.getElementById('promo_max_tr').style.display = state;
+ document.getElementById('promo_range_tr').style.display = state;
}
{/literal}
@@ -140,25 +140,14 @@ function visibilityChange(box)