{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2009 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* *}
{**************************************************************************}
-
-
<form action="admin/deaths" method="post">
- <table class="tinybicol">
+ <table class="bicol">
<tr>
<td>
Promotion :
<tr class="{cycle values="impair,pair"}">
<td>{$x.directory_name}</td>
<td class="center">
- <input type="text" class="deathDate" name="{$x.hrpid}" value="{$x.deathdate}" size="10" maxlength="10" />
+ <input type="text" class="deathDate" name="death_{$x.pid}" value="{$x.deathdate}" size="10" maxlength="10" />
</td>
</tr>
{/iterate}
<script type="text/javascript">//<![CDATA[
{literal}
- $('input.deathDate').change(
- function ()
- {
- $(this).addClass('sendDate');
- });
+ $('input.deathDate').change(function () {
+ $(this).addClass('sendDate');
+ });
- $('#deathDateList').submit(
- function ()
- {
- // Avoid sending useless data to the webserver
- $('input.deathDate').not('.sendDate').attr('disabled', true);
- });
+ $('#deathDateList').submit(function () {
+ // Avoid sending useless data to the webserver
+ $('input.deathDate').not('.sendDate').attr('disabled', true);
+ });
{/literal}
//]]></script>
{/if}