[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r233 - in trunk/coprop/include: . template
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r233 - in trunk/coprop/include: . template |
Date: |
Wed, 4 Jan 2012 16:01:13 +0100 (CET) |
Author: danydb
Date: 2012-01-04 16:01:13 +0100 (Wed, 04 Jan 2012)
New Revision: 233
Modified:
trunk/coprop/include/ajax_mod_key.php
trunk/coprop/include/template/key_detail.php
Log:
Remove date from key
Modified: trunk/coprop/include/ajax_mod_key.php
===================================================================
--- trunk/coprop/include/ajax_mod_key.php 2012-01-04 14:50:21 UTC (rev
232)
+++ trunk/coprop/include/ajax_mod_key.php 2012-01-04 15:01:13 UTC (rev
233)
@@ -26,17 +26,11 @@
* @brief modifie clef
*
*/
-$key=$cn->get_array("SELECT cr_name, cr_note, to_char(cr_start,'DD.MM.YYYY')
as str_start,
- to_char(cr_end,'DD.MM.YYYY') as str_end
+$key=$cn->get_array("SELECT cr_name, cr_note
FROM coprop.clef_repartition where cr_id=$1",array($key_id));
$str_message="Modification ".h($key[0]['cr_name']);
-$date_start=new IDate('cr_start');
-$date_start->value=$key[0]['str_start'];
-$date_end=new IDate('cr_end');
-$date_end->value=$key[0]['str_end'];
-
$note=new ITextarea('cr_note');
$note->value=$key[0]['cr_note'];
Modified: trunk/coprop/include/template/key_detail.php
===================================================================
--- trunk/coprop/include/template/key_detail.php 2012-01-04 14:50:21 UTC
(rev 232)
+++ trunk/coprop/include/template/key_detail.php 2012-01-04 15:01:13 UTC
(rev 233)
@@ -34,28 +34,13 @@
<tr>
<td>
- Nom
+ Nom
</td>
<td>
<?=$name->input()?>
</td>
</tr>
- <tr>
- <td>
- Date début
- </td>
- <td>
- <?=$date_start->input()?>
- </td>
- </tr>
- <tr>
- <td>
- Date fin
- </td>
- <td>
- <?=$date_end->input()?>
- </td>
- </tr>
+
</table>
Description
<?=$note->input()?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r233 - in trunk/coprop/include: . template,
phpcompta-dev <=