|
@@ 1195-1201 (lines=7) @@
|
| 1192 |
|
|
| 1193 |
|
// Only available if row['id'] is set |
| 1194 |
|
if ($row['id']) { |
| 1195 |
|
if (api_is_allowed_to_session_edit(false, true) && api_is_allowed_to_edit() || |
| 1196 |
|
GroupManager::is_user_in_group(api_get_user_id(), $groupInfo) |
| 1197 |
|
) { |
| 1198 |
|
// menu discuss page |
| 1199 |
|
$actionsRight .= '<a href="index.php?'.api_get_cidreq().'&action=discuss&title='.api_htmlentities(urlencode($page)).'" '.self::is_active_navigation_tab('discuss').'>'. |
| 1200 |
|
Display::return_icon('discuss.png', get_lang('DiscussThisPage'), '', ICON_SIZE_MEDIUM).'</a>'; |
| 1201 |
|
} |
| 1202 |
|
|
| 1203 |
|
//menu history |
| 1204 |
|
$actionsRight .= '<a href="index.php?'.api_get_cidreq().'&action=history&title='.api_htmlentities(urlencode($page)).'" '.self::is_active_navigation_tab('history').'>'. |
|
@@ 1211-1214 (lines=4) @@
|
| 1208 |
|
Display::return_icon('what_link_here.png', get_lang('LinksPages'), '', ICON_SIZE_MEDIUM).'</a>'; |
| 1209 |
|
|
| 1210 |
|
//menu delete wikipage |
| 1211 |
|
if (api_is_allowed_to_edit(false, true) || api_is_platform_admin()) { |
| 1212 |
|
$actionsRight .= '<a href="index.php?action=delete&'.api_get_cidreq().'&title='.api_htmlentities(urlencode($page)).'"'.self::is_active_navigation_tab('delete').'>'. |
| 1213 |
|
Display::return_icon('delete.png', get_lang('DeleteThisPage'), '', ICON_SIZE_MEDIUM).'</a>'; |
| 1214 |
|
} |
| 1215 |
|
|
| 1216 |
|
$actionsRight .= '<a href="index.php?'.api_get_cidreq().'&action=showpage&actionpage='.$lock_unlock_notify_page.'&title='.api_htmlentities(urlencode($page)).'">'. |
| 1217 |
|
$notify_page.'</a>'; |