|
@@ 330-335 (lines=6) @@
|
| 327 |
|
} |
| 328 |
|
|
| 329 |
|
// NOTE : Table contains only the image file name, not full path |
| 330 |
|
if (stripos($tool['link'], 'http://') === false && |
| 331 |
|
stripos($tool['link'], 'https://') === false && |
| 332 |
|
stripos($tool['link'], 'ftp://') === false |
| 333 |
|
) { |
| 334 |
|
$tool['link'] = $web_code_path.$tool['link']; |
| 335 |
|
} |
| 336 |
|
if ($course_tool_category == TOOL_PUBLIC_BUT_HIDDEN) { |
| 337 |
|
$class = 'class="invisible"'; |
| 338 |
|
} |
|
@@ 787-792 (lines=6) @@
|
| 784 |
|
} |
| 785 |
|
|
| 786 |
|
// NOTE : Table contains only the image file name, not full path |
| 787 |
|
if (stripos($tool['link'], 'http://') === false && |
| 788 |
|
stripos($tool['link'], 'https://') === false && |
| 789 |
|
stripos($tool['link'], 'ftp://') === false |
| 790 |
|
) { |
| 791 |
|
$tool['link'] = $web_code_path.$tool['link']; |
| 792 |
|
} |
| 793 |
|
|
| 794 |
|
if ($tool['visibility'] == '0' && $toolAdmin != '1') { |
| 795 |
|
$class = 'invisible'; |