Update file editpage.php
This commit is contained in:
parent
7f8dc5401b
commit
c03971be7a
@ -209,6 +209,7 @@ if(isset($fichier)) {
|
|||||||
echo '</form></div>';
|
echo '</form></div>';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if($_SESSION['role'] >= 3) {
|
||||||
echo "<div><div><h2>Pages</h2></div>";
|
echo "<div><div><h2>Pages</h2></div>";
|
||||||
echo "<div>";
|
echo "<div>";
|
||||||
$pages = scandir($wwwroot . "/content/");
|
$pages = scandir($wwwroot . "/content/");
|
||||||
@ -220,6 +221,7 @@ if(isset($fichier)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "</div></div><div>";
|
echo "</div></div><div>";
|
||||||
|
}
|
||||||
echo "<div><h2>Articles</h2></div>";
|
echo "<div><h2>Articles</h2></div>";
|
||||||
echo "<form action='' method='get'><input type='text' placeholder='Article' name='search'><input type='submit' value='Rechercher'></form>";
|
echo "<form action='' method='get'><input type='text' placeholder='Article' name='search'><input type='submit' value='Rechercher'></form>";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user