예제 #1
0
파일: admin.contact.php 프로젝트: cwcw/cms
/** PT
* Cancels editing and checks in the record
* @int the contact id
*/
function cancelContact($cid)
{
    $row = new mosContact($database);
    $row->bind($_POST);
    $row->checkin();
    mosRedirect('index2.php?option=com_contact');
}
예제 #2
0
/** PT
* Cancels editing and checks in the record
*/
function cancelContact()
{
    global $database;
    $row = new mosContact($database);
    $row->bind($_POST);
    // sanitize
    $row->id = intval($row->id);
    $row->checkin();
    mosRedirect('index2.php?option=com_contact');
}
예제 #3
0
/** PT
* Cancels editing and checks in the record
*/
function cancelContact()
{
    global $database;
    josSpoofCheck();
    $row = new mosContact($database);
    $row->bind($_POST);
    $row->checkin();
    mosRedirect('index2.php?option=com_contact');
}