| @@ 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; |
|
| @@ 2506-2508 (lines=3) @@ | ||
| 2503 | if ($name == $check) { |
|
| 2504 | $attributes[strtolower($name)][] = strtolower($name); |
|
| 2505 | } else { |
|
| 2506 | if (!empty($value) && ($value[0] == '\'' || $value[0] == '"')) { |
|
| 2507 | $value = substr($value, 1, -1); |
|
| 2508 | } |
|
| 2509 | ||
| 2510 | if ($value == 'API.LMSGetValue(name') { |
|
| 2511 | $value = 'API.LMSGetValue(name)'; |
|