| @@ 553-557 (lines=5) @@ | ||
| 550 | $userFieldVariable |
|
| 551 | ); |
|
| 552 | $isInTargetGroup = false; |
|
| 553 | if (isset($sessionTarget) && (!empty($sessionTarget)) && $sessionTarget['value'] == 'minedu') { |
|
| 554 | if (substr($userArea['value'], 0, 6) == 'MINEDU') { |
|
| 555 | $isInTargetGroup = true; |
|
| 556 | } |
|
| 557 | } |
|
| 558 | if (isset($sessionTarget) && (!empty($sessionTarget)) && $sessionTarget['value'] == 'regiones') { |
|
| 559 | if ((substr($userArea['value'], 0, 4) == 'UGEL') || (substr($userArea['value'], 0, 3) == 'DRE')) { |
|
| 560 | $isInTargetGroup = true; |
|
| @@ 2440-2442 (lines=3) @@ | ||
| 2437 | if ($name == $check) { |
|
| 2438 | $attributes[strtolower($name)][] = strtolower($name); |
|
| 2439 | } else { |
|
| 2440 | if (!empty($value) && ($value[0] == '\'' || $value[0] == '"')) { |
|
| 2441 | $value = substr($value, 1, -1); |
|
| 2442 | } |
|
| 2443 | ||
| 2444 | if ($value == 'API.LMSGetValue(name') { |
|
| 2445 | $value = 'API.LMSGetValue(name)'; |
|