Changeset 7828 for extensions/event_cats/admin/template/autolog_new.tpl
- Timestamp:
- Nov 21, 2010, 4:47:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/admin/template/autolog_new.tpl
r7811 r7828 324 324 <fieldset> 325 325 <legend style = "font-weight:bold;">Date de validité</legend> 326 327 326 <table style = "margin-left: 0px; text-align:left;"> 328 327 <tr> 328 329 329 <td style="vertical-align:top; margin-top:0;"> 330 <p style = "text-align: left; padding-bottom: 1em; padding-top: 0; margin-top: 0pt; ">330 <p style = "text-align: left; padding-bottom: 1em; padding-top: 0; margin-top: 0pt; font-weight: bold;"> 331 331 <label for = "ec_valid_date_on_id"> 332 332 <input type = "checkbox" name = "ec_valid_date_on" id = "ec_valid_date_on_id"> … … 338 338 </p> 339 339 <p style = "text-align:left;"> 340 <select id = "ec_validity_day_id" name = "ec_validity_day" {* onchange = "ec_update_ts();" *}>340 <select id = "ec_validity_day_id" name = "ec_validity_day"> 341 341 <option value = "0">——</option> 342 342 {section name=day start=1 loop=32} 343 <option value = "{$smarty.section.day.index}" {if $smarty.section.day.index == 14} selected = "selected" {/if}>343 <option value = "{$smarty.section.day.index}"> 344 344 {$smarty.section.day.index} 345 345 </option> 346 346 {/section} 347 347 </select> 348 <select id = "ec_validity_month_id" name = "ec_validity_month" {* onchange = "ec_update_ts();" *}>349 {html_options options=$month_list selected=11}348 <select id = "ec_validity_month_id" name = "ec_validity_month"> 349 {html_options options=$month_list} 350 350 </select> 351 <input id = "ec_validity_year_id" name = "ec_validity_year" type = "text" size = "4" maxlength = "4" value = "2010" {* onchange = "ec_update_ts();" *}>352 <input id = "ec_validity_time_id" name = "ec_validity_time" type = "text" size = "5" maxlength = "5" value = "22:50" {* onchange = "ec_update_ts();" *}>351 <input id = "ec_validity_year_id" name = "ec_validity_year" type = "text" size = "4" maxlength = "4"> 352 <input id = "ec_validity_time_id" name = "ec_validity_time" type = "text" size = "5" maxlength = "5"> 353 353 <input id = "ec_linked_date_id" name = "ec_linked_date_id" type = "hidden" size = "10" disabled = "disabled"> 354 354 </p> 355 355 <p style = "text-align:left;"> 356 356 <input id = "ec_date_add_btn_id" type = "button" value = "Ajouter" 357 onclick = "ec_ update_date(document.getElementById('ec_date_add_val_id').value, document.getElementById('ec_date_add_kind_id').selectedIndex);"> 357 onclick = "ec_add_time(document.getElementById('ec_date_add_val_id').value, document.getElementById('ec_date_add_kind_id').selectedIndex);"> 358 358 <input id = "ec_date_add_val_id" type = "text" size = "5" maxlength = "5" value = ""> 359 359 <select id = "ec_date_add_kind_id" name = "ec_date_add_kind"> … … 365 365 </select> 366 366 </p> 367 <p> 368 <table> 369 <tr> 370 <td style = "text-align:right; vertical-align:top; font-weight:bold;"> 371 <label for = "ec_notify_id"> 372 <input type = "checkbox" name = "ec_notify" id = "ec_notify_id" disabled = "disabled"> 373 Lorsque le code<br> 374 a expiré, notifier 375 </label> 376 </td> 377 <td style = "text-align:left;"> 378 <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;"> 379 <li style = "margin-bottom:0;"> 380 <label for = "ec_notify_user_id"> 381 <input type = "checkbox" name = "ec_notify_user" id = "ec_notify_user_id"> 382 l'utilisateur 383 </label> 384 </li> 385 <li style = "margin-bottom:0;"> 386 <label for = "ec_notify_webm_id"> 387 <input type = "checkbox" name = "ec_notify_webm" id = "ec_notify_webm_id"> 388 le webmestre 389 </label> 390 </li> 391 <li style = "margin-bottom:0;"> 392 <label for = "ec_notify_admins_id"> 393 <input type = "checkbox" name = "ec_notify_admins" id = "ec_notify_admins_id"> 394 tous les administrateurs 395 </label> 396 </li> 397 </ul> 398 </td> 399 </tr> 400 </table> 401 </p> 367 402 <p style = "display:none;"> 368 403 <!-- jQuery datepicker : voir http://fr.piwigo.org/forum/viewtopic.php?id=19042 --> 404 <select id = "ec_min_day_id" name = "ec_min_day"> 405 <option value = "0">——</option> 406 {section name=day start=1 loop=32} 407 <option value = "{$smarty.section.day.index}" {if $smarty.section.day.index == 14} selected = "selected" {/if} > 408 {$smarty.section.day.index} 409 </option> 410 {/section} 411 </select> 412 <select id = "ec_min_month_id" name = "ec_min_month"> 413 {html_options options=$month_list selected=11} 414 </select> 415 <input id = "ec_min_year_id" name = "ec_min_year" type = "text" size = "4" maxlength = "4" value = "2010" > 369 416 <input id = "ec_min_date_id" name = "ec_min_date_id" type = "hidden" size = "10" disabled = "disabled"> 370 417 </p> … … 375 422 {* <!-- /For tests purpose ; must be removed --> *} 376 423 </td> 424 377 425 <td> </td><td> </td><td> </td> {* <!-- sorry :-\ --> *} 378 <td> 426 427 <td style="vertical-align:top; margin-top:0;"> 379 428 <table> 380 429 <tr> 381 430 <td style = "text-align:right; vertical-align:top; font-weight:bold;"> 382 Page à utiliser après<br>383 expiration du code431 Page à affecter au<br> 432 code une fois expiré 384 433 </td> 385 434 <td style = "text-align:left;"> … … 428 477 <script type = "text/javascript" src = "{$RACINE_URL}{$EVNTCATS_PATH}admin/template/autolog_new.js"></script> 429 478 <script type = "text/javascript"><!-- 430 pwg_initialization_datepicker("#ec_validity_day_id", "#ec_validity_month_id",431 "#ec_validity_year_id", "#ec_min_date_id", null, null, null);432 pwg_initialization_datepicker("#ec_validity_day_id", "#ec_validity_month_id",433 "#ec_validity_year_id", "#ec_linked_date_id", null, "#ec_min_date_id", null);434 479 ec_is_creation = {if $ec_is_creation}true{else}false{/if}; 435 480 ec_validity_on = {if $ec_validity_on}true{else}false{/if};
Note: See TracChangeset
for help on using the changeset viewer.