|
@@ 1068-1074 (lines=7) @@
|
| 1065 |
|
|
| 1066 |
|
// Only available if row['id'] is set |
| 1067 |
|
if ($row['id']) { |
| 1068 |
|
if (api_is_allowed_to_session_edit(false, true) && api_is_allowed_to_edit() || |
| 1069 |
|
GroupManager::is_user_in_group(api_get_user_id(), $groupInfo) |
| 1070 |
|
) { |
| 1071 |
|
// menu discuss page |
| 1072 |
|
$actionsRight .= '<a href="index.php?'.api_get_cidreq().'&action=discuss&title='.api_htmlentities(urlencode($page)).'" '.self::is_active_navigation_tab('discuss').'>'. |
| 1073 |
|
Display::return_icon('discuss.png', get_lang('DiscussThisPage'), '', ICON_SIZE_MEDIUM).'</a>'; |
| 1074 |
|
} |
| 1075 |
|
|
| 1076 |
|
//menu history |
| 1077 |
|
$actionsRight .= '<a href="index.php?'.api_get_cidreq().'&action=history&title='.api_htmlentities(urlencode($page)).'" '.self::is_active_navigation_tab('history').'>'. |
|
@@ 1084-1087 (lines=4) @@
|
| 1081 |
|
Display::return_icon('what_link_here.png', get_lang('LinksPages'), '', ICON_SIZE_MEDIUM).'</a>'; |
| 1082 |
|
|
| 1083 |
|
//menu delete wikipage |
| 1084 |
|
if (api_is_allowed_to_edit(false, true) || api_is_platform_admin()) { |
| 1085 |
|
$actionsRight .= '<a href="index.php?action=delete&'.api_get_cidreq().'&title='.api_htmlentities(urlencode($page)).'"'.self::is_active_navigation_tab('delete').'>'. |
| 1086 |
|
Display::return_icon('delete.png', get_lang('DeleteThisPage'), '', ICON_SIZE_MEDIUM).'</a>'; |
| 1087 |
|
} |
| 1088 |
|
|
| 1089 |
|
$actionsRight .= '<a href="index.php?'.api_get_cidreq().'&action=showpage&actionpage='.$lock_unlock_notify_page.'&title='.api_htmlentities(urlencode($page)).'">'. |
| 1090 |
|
$notify_page.'</a>'; |