Diff for tucniak/webclient/form/edit_phone.php between version 1.1 and 1.2
| version 1.1, 2005/11/17 20:56:31 |
version 1.2, 2005/11/23 20:57:49 |
|
|
| <FORM name="form_phone" action="" method="GET">
|
<FORM name="form_phone" action="" method="GET">
|
| <?php
|
<?php
|
| $phone = new webt_phone();
|
$phone = new webt_phone();
|
| if (isset($_GET["id"])) { //in case there is no defined id, this form can't do anything with object webt_phone
|
if (isset($_GET["id"])) { //in case there is no defined id, this form can't do anything with object webt_phone
|
| $phone->id = $_GET["id"];
|
$phone->id = $_GET["id"]; //elseif list of possible actions (only one action per site show allowed)
|
| //elseif list of possible actions (only one action per site show allowed)
|
if (isset($_GET["update"])) { //if is set "update" it is waiting also "phone_number" parameter with new update info
|
| if (isset($_GET["update"])) { //if is set "update" it is waiting also "phone_number" parameter with new update info
|
|
| $phone->number=$_GET["phone_number"];
|
$phone->number=$_GET["phone_number"];
|
| if ($phone->data_update()) echo MSG_UPDATED;
|
if ($phone->data_update()) echo MSG_UPDATED;
|
| }
|
}
|
Platon Group <platon@platon.org> http://platon.org/
|
|