Added checks for admin permissions to settings / users.
Added welcome message and start page contents in input interface (iss0000160).
This commit is contained in:
@ -37,7 +37,36 @@ echo printBackendNav($translations);
|
||||
echo '
|
||||
<main>';
|
||||
|
||||
echo printStaticPagePart("welcomeMsg", "section"); // Print aside (if need be)
|
||||
|
||||
echo '
|
||||
<section class="startPgTiles">
|
||||
|
||||
<div>
|
||||
<h3>' . $translations['aboutThisSite'] . '</h3>
|
||||
<table>
|
||||
<tr>
|
||||
<th>' . $translations['numberOfPages'] . '</th>
|
||||
<td>' . (string)count($pages) . '</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>' . $translations['numberOfPublicPages'] . '</th>
|
||||
<td>' . (string)count(loadPublicPages()) . '</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>' . $translations['phpVersion'] . '</th>
|
||||
<td>PHP ' . (string)phpversion() . '</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h3>' . $translations['aboutMDCMS'] . '</h3>
|
||||
' . $translations['aboutMDCMS_content'] . '
|
||||
</div>
|
||||
|
||||
</section>
|
||||
';
|
||||
|
||||
echo '
|
||||
</main>
|
||||
|
Reference in New Issue
Block a user