| @@ 4323-4329 (lines=7) @@ | ||
| 4320 | ||
| 4321 | //get type assignment icon |
|
| 4322 | $ShowAssignment = ''; |
|
| 4323 | if ($row['assignment'] == 1) { |
|
| 4324 | $ShowAssignment = Display::return_icon( |
|
| 4325 | 'wiki_assignment.png', |
|
| 4326 | get_lang('AssignmentDesc'), |
|
| 4327 | '', |
|
| 4328 | ICON_SIZE_SMALL |
|
| 4329 | ); |
|
| 4330 | } elseif ($row['assignment'] == 2) { |
|
| 4331 | $ShowAssignment = Display::return_icon( |
|
| 4332 | 'wiki_work.png', |
|
| @@ 5125-5131 (lines=7) @@ | ||
| 5122 | while ($row = Database::fetch_array($allpages)) { |
|
| 5123 | $orphaned_title = $row['title']; |
|
| 5124 | $orphaned_visibility = $row['visibility']; |
|
| 5125 | if ($row['assignment'] == 1) { |
|
| 5126 | $ShowAssignment = Display::return_icon( |
|
| 5127 | 'wiki_assignment.png', |
|
| 5128 | '', |
|
| 5129 | '', |
|
| 5130 | ICON_SIZE_SMALL |
|
| 5131 | ); |
|
| 5132 | } elseif ($row['assignment'] == 2) { |
|
| 5133 | $ShowAssignment = Display::return_icon( |
|
| 5134 | 'wiki_work.png', |
|