Changeset 212 for trunk/calendar/inc/class.uicalendar.inc.php
- Timestamp:
- 03/11/08 14:50:37 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.uicalendar.inc.php
r204 r212 1484 1484 } 1485 1485 1486 function confirm_action( )1486 function confirm_action($duplicated_action) 1487 1487 { 1488 1488 if($_GET['response'] == 1) 1489 1489 { 1490 $notify_message = lang('The commitment was accepted successfully!');; 1490 if(!$duplicated_action) 1491 $notify_message = lang('The commitment was accepted successfully!'); 1492 else 1493 $notify_message = lang('This commitment has already been accepted!'); 1491 1494 } 1492 1495 else 1493 { 1494 $notify_message = lang('The commitment was rejected successfully!'); 1496 { 1497 if(!$duplicated_action) 1498 $notify_message = lang('The commitment was rejected successfully!'); 1499 else 1500 $notify_message = lang('This commitment has already been rejected!'); 1495 1501 } 1496 1502 … … 1509 1515 return; 1510 1516 } 1511 $this->bo->set_status((int)$_GET['cal_id'],(int)$_GET['action']);1512 1517 1518 $confirm_status = $this->bo->set_status((int)$_GET['cal_id'],(int)$_GET['action']); 1519 1513 1520 if(isset($_GET['response'])) 1514 1521 { 1515 $this->confirm_action( );1522 $this->confirm_action($confirm_status); 1516 1523 $GLOBALS['phpgw']->common->phpgw_exit(False); 1517 1524 }
Note: See TracChangeset
for help on using the changeset viewer.