Set actual time in "Edit Project Version"

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
Uwe
Posts: 21
Joined: 05 Nov 2008, 10:13
Location: Flensburg, Germany

Set actual time in "Edit Project Version"

Post by Uwe »

Hello,

I want to add a set-the-actual-date-and-time-feature to the "Edit Project Version" window.(manage_proj_ver_edit_page.php)
I already added a button to the window and I managed to get the actual date and time.
Now I have two problems:
1. How can I update the "Date order" edit window with that new date/time?
2. If I activate the button the window is being closed with an "operation successful" message. Looks like the application "thinks" the button "Update Version" was pressed.

Here is what I have done so far:
####################################################
<?php
$datum = date("Y-m-d");
$uhrzeit = date("H:i:s");
echo $datum," ",$uhrzeit;
?>
<input type="submit" class="button" value="<?php echo "set act time" ?>" />
####################################################

Any help is appreciated.
--Uwe
Post Reply