Don't display 'Request changes' link if not logged in.
This commit is contained in:
parent
4517a39900
commit
ed25c4995a
5
core.php
5
core.php
|
@ -441,7 +441,10 @@ function printHeader($html, $printpage) {
|
|||
}
|
||||
|
||||
$pid = $i + 1;
|
||||
$html .= "\t\t\t\t<a id=\"modify\" href=\"/edit-page.php?id=$pid\">Request changes</a>\n";
|
||||
|
||||
if (isset($_SESSION['type'])) {
|
||||
$html .= "\t\t\t\t<a id=\"modify\" href=\"/edit-page.php?id=$pid\">Request changes</a>\n";
|
||||
}
|
||||
|
||||
if ($ret->displayLicense == "true") {
|
||||
$html .= "\t\t\t\tThis page is licensed under the $License license.";
|
||||
|
|
Loading…
Reference in a new issue