|
@@ 684-703 (lines=20) @@
|
| 681 |
|
$retList .= "<td class='$classname'>$romextrainfo5</td>"; |
| 682 |
|
} |
| 683 |
|
$retList .= "<td class='$classname'>"; |
| 684 |
|
if (($event_uid == $uid && $uid > 0) || //current user is event owner |
| 685 |
|
($cal->isadmin == 1) || //current user is admin |
| 686 |
|
($cal->ro_superedit == 1)) //current user can edit/delete registrations of other persons |
| 687 |
|
{ |
| 688 |
|
if ($status == 1) { |
| 689 |
|
$retList .= "<input type='image' src='$roimagestatuspending' name='confirm_member' alt='"._APCAL_RO_STATUS_PENDING."' title='"._APCAL_RO_STATUS_PENDING."' height='22px' />"; |
| 690 |
|
} else if ($status == 2){ |
| 691 |
|
$retList .= "<input type='image' src='$roimagestatuslist' name='confirm_member' alt='"._APCAL_RO_STATUS_LIST."' title='"._APCAL_RO_STATUS_LIST."' height='22px' />"; |
| 692 |
|
} else { |
| 693 |
|
$retList .= "<input type='image' src='$roimagestatusok' name='confirm_member' alt='"._APCAL_RO_STATUS_OK."' title='"._APCAL_RO_STATUS_OK."' height='22px' />"; |
| 694 |
|
} |
| 695 |
|
} else { |
| 696 |
|
if ($status == 1) { |
| 697 |
|
$retList .= "<img type='image' src='$roimagestatuspending' name='confirm_member' alt='"._APCAL_RO_STATUS_PENDING."' title='"._APCAL_RO_STATUS_PENDING."' height='22px' />"; |
| 698 |
|
} else if ($status == 2){ |
| 699 |
|
$retList .= "<img type='image' src='$roimagestatuslist' name='confirm_member' alt='"._APCAL_RO_STATUS_LIST."' title='"._APCAL_RO_STATUS_LIST."' height='22px' />"; |
| 700 |
|
} else { |
| 701 |
|
$retList .= "<img type='image' src='$roimagestatusok' name='confirm_member' alt='"._APCAL_RO_STATUS_OK."' title='"._APCAL_RO_STATUS_OK."' height='22px' />"; |
| 702 |
|
} |
| 703 |
|
} |
| 704 |
|
$retList .= '</td>'; |
| 705 |
|
$retList .= " |
| 706 |
|
<td class='$classname'> |
|
@@ 1327-1346 (lines=20) @@
|
| 1324 |
|
<input type='hidden' name='current_uname' value='$current_uname' /> |
| 1325 |
|
<input type='hidden' name='status' value='$status' /> |
| 1326 |
|
<div style='display:inline;'>"; |
| 1327 |
|
if (($event_uid == $current_uid && $current_uid > 0) || //current user is event owner |
| 1328 |
|
($cal->isadmin == 1) || //current user is admin |
| 1329 |
|
($cal->ro_superedit == 1)) //current user can edit/delete registrations of other persons |
| 1330 |
|
{ |
| 1331 |
|
if ($status == 1) { |
| 1332 |
|
$ret .= "<input type='image' src='$roimagestatuspending' name='confirm_member' alt='"._APCAL_RO_STATUS_PENDING."' title='"._APCAL_RO_STATUS_PENDING."' height='22px' />"; |
| 1333 |
|
} else if ($status == 2){ |
| 1334 |
|
$ret .= "<input type='image' src='$roimagestatuslist' name='confirm_member' alt='"._APCAL_RO_STATUS_LIST."' title='"._APCAL_RO_STATUS_LIST."' height='22px' />"; |
| 1335 |
|
} else { |
| 1336 |
|
$ret .= "<input type='image' src='$roimagestatusok' name='confirm_member' alt='"._APCAL_RO_STATUS_OK."' title='"._APCAL_RO_STATUS_OK."' height='22px' />"; |
| 1337 |
|
} |
| 1338 |
|
} else { |
| 1339 |
|
if ($status == 1) { |
| 1340 |
|
$ret .= "<img src='$roimagestatuspending' name='confirm_member' alt='"._APCAL_RO_STATUS_PENDING."' title='"._APCAL_RO_STATUS_PENDING."' height='22px' />"; |
| 1341 |
|
} else if ($status == 2){ |
| 1342 |
|
$ret .= "<img src='$roimagestatuslist' name='confirm_member' alt='"._APCAL_RO_STATUS_LIST."' title='"._APCAL_RO_STATUS_LIST."' height='22px' />"; |
| 1343 |
|
} else { |
| 1344 |
|
$ret .= "<img src='$roimagestatusok' name='confirm_member' alt='"._APCAL_RO_STATUS_OK."' title='"._APCAL_RO_STATUS_OK."' height='22px' />"; |
| 1345 |
|
} |
| 1346 |
|
} |
| 1347 |
|
|
| 1348 |
|
$ret .= " |
| 1349 |
|
</div> |