@@ 346-356 (lines=11) @@ | ||
343 | $edt .= $value[1][$cntr2] . '=' . $aElements[$rCntr][$value[1][$cntr2]]; |
|
344 | } |
|
345 | $sReturn .= '<a href="' . $edt . '"><i class="fa fa-pencil"> </i></a>'; |
|
346 | } else { |
|
347 | $edt .= 'javascript:loadAE(\'' . $_SERVER['PHP_SELF'] . '?' |
|
348 | . $actPrfx . $action_key . '=' . $value[0] . '&'; |
|
349 | $iActArgs = count($value[1]); |
|
350 | for ($cntr2 = 0; $cntr2 < $iActArgs; $cntr2++) { |
|
351 | $edt .= $value[1][$cntr2] . '=' . $aElements[$rCntr][$value[1][$cntr2]]; |
|
352 | } |
|
353 | $edt .= '\');'; |
|
354 | $sReturn .= '<a href="#" onclick="' . $edt . '">' |
|
355 | . '<i class="fa fa-pencil"> </i></a>'; |
|
356 | } |
|
357 | break; |
|
358 | case 'list2': |
|
359 | $edt = ''; |
|
@@ 367-377 (lines=11) @@ | ||
364 | $sReturn .= $value[1][$cntr2] . '=' . $aElements[$rCntr][$value[1][$cntr2]]; |
|
365 | } |
|
366 | $sReturn .= '"><i class="fa fa-list"> </i></a>'; |
|
367 | } else { |
|
368 | $edt .= 'javascript:loadAE(\'' . $_SERVER['PHP_SELF'] . '?' |
|
369 | . $actPrfx . $action_key . '=' . $value[0] . '&'; |
|
370 | $iActArgs = count($value[1]); |
|
371 | for ($cntr2 = 0; $cntr2 < $iActArgs; $cntr2++) { |
|
372 | $edt .= $value[1][$cntr2] . '=' . $aElements[$rCntr][$value[1][$cntr2]]; |
|
373 | } |
|
374 | $edt .= '\');'; |
|
375 | $sReturn .= '<a href="#" onclick="' . $edt . '">' |
|
376 | . '<i class="fa fa-list"> </i></a>'; |
|
377 | } |
|
378 | break; |
|
379 | case 'delete': |
|
380 | $sReturn .= '<a href="javascript:setQuest(\'' . $value[0] . '\',\''; |