@@ 280-284 (lines=5) @@ | ||
277 | $crit->setOrder('ASC'); |
|
278 | $statuses =& $hStatus->getObjects($crit); |
|
279 | $aStatuses = array(); |
|
280 | foreach($statuses as $status){ |
|
281 | $aStatuses[$status->getVar('id')] = array('id' => $status->getVar('id'), |
|
282 | 'desc' => $status->getVar('description'), |
|
283 | 'state' => $status->getVar('state')); |
|
284 | } |
|
285 | ||
286 | $xoopsTpl->assign('xhelp_statuses', $aStatuses); |
|
287 | } |
@@ 394-398 (lines=5) @@ | ||
391 | $crit->setOrder('ASC'); |
|
392 | $statuses =& $hStatus->getObjects($crit); |
|
393 | $aStatuses = array(); |
|
394 | foreach($statuses as $status){ |
|
395 | $aStatuses[$status->getVar('id')] = array('id' => $status->getVar('id'), |
|
396 | 'desc' => $status->getVar('description'), |
|
397 | 'state' => $status->getVar('state')); |
|
398 | } |
|
399 | ||
400 | $block['statuses'] = $aStatuses; |
|
401 |
@@ 219-223 (lines=5) @@ | ||
216 | $crit->setOrder('ASC'); |
|
217 | $statuses =& $hStatus->getObjects($crit); |
|
218 | $aStatuses = array(); |
|
219 | foreach($statuses as $status){ |
|
220 | $aStatuses[$status->getVar('id')] = array('id' => $status->getVar('id'), |
|
221 | 'desc' => $status->getVar('description'), |
|
222 | 'state' => $status->getVar('state')); |
|
223 | } |
|
224 | ||
225 | $xoopsOption['template_main'] = 'xhelp_response.html'; // Set template |
|
226 | require(XOOPS_ROOT_PATH.'/header.php'); |
|
@@ 339-343 (lines=5) @@ | ||
336 | $crit->setOrder('ASC'); |
|
337 | $statuses =& $hStatus->getObjects($crit); |
|
338 | $aStatuses = array(); |
|
339 | foreach($statuses as $status){ |
|
340 | $aStatuses[$status->getVar('id')] = array('id' => $status->getVar('id'), |
|
341 | 'desc' => $status->getVar('description'), |
|
342 | 'state' => $status->getVar('state')); |
|
343 | } |
|
344 | $xoopsTpl->assign('xhelp_statuses', $aStatuses); |
|
345 | $xoopsTpl->assign('xhelp_responseid', $responseid); |
|
346 | $xoopsTpl->assign('xhelp_ticketID', $ticketid); |
@@ 573-577 (lines=5) @@ | ||
570 | $crit_stat->setOrder('ASC'); |
|
571 | $statuses =& $hStatus->getObjects($crit_stat); |
|
572 | $aStatuses = array(); |
|
573 | foreach($statuses as $status){ |
|
574 | $aStatuses[$status->getVar('id')] = array('id' => $status->getVar('id'), |
|
575 | 'desc' => $status->getVar('description'), |
|
576 | 'state' => $status->getVar('state')); |
|
577 | } |
|
578 | unset($statuses); |
|
579 | $xoopsTpl->assign('xhelp_statuses', $aStatuses); |
|
580 |
@@ 1029-1033 (lines=5) @@ | ||
1026 | $crit->setOrder('ASC'); |
|
1027 | $statuses =& $hStatus->getObjects($crit); |
|
1028 | $aStatuses = array(); |
|
1029 | foreach($statuses as $status){ |
|
1030 | $aStatuses[$status->getVar('id')] = array('id' => $status->getVar('id'), |
|
1031 | 'desc' => $status->getVar('description'), |
|
1032 | 'state' => $status->getVar('state')); |
|
1033 | } |
|
1034 | unset($statuses); |
|
1035 | ||
1036 | $xoopsTpl->assign('xhelp_statuses', $aStatuses); |