From: Mischa POSLAWSKY
Date: Sat, 5 May 2018 16:24:04 +0000 (+0200)
Subject: login: replace page controllers by placeholders
X-Git-Tag: v3.0~3
X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/681f9b3b30f07f7e98011fac433fac3e3e93f002
login: replace page controllers by placeholders
---
diff --git a/login/admin.html b/login/admin.html
index 2c4d9ec..c07a25e 100644
--- a/login/admin.html
+++ b/login/admin.html
@@ -6,3 +6,6 @@ Pagina's zijn aan te passen met de link Wijzig rechtsbovenin.
Wijzigingen zijn direct zichtbaar, en worden periodiek bijgehouden:
+Laatste aanpassingen
+
+[[login/commits pagesize=10]]
diff --git a/login/admin/index.php b/login/admin/index.php
index ee6b39f..08fe36e 100644
--- a/login/admin/index.php
+++ b/login/admin/index.php
@@ -8,9 +8,3 @@ if (empty($User['admin'])) {
-Laatste aanpassingen
-
-Aanpassingen
+[[login/commits pagesize=10]]
+
diff --git a/login/commits/index.php b/login/commits/index.php
deleted file mode 100644
index 75ff7a5..0000000
--- a/login/commits/index.php
+++ /dev/null
@@ -1,2 +0,0 @@
-Ingelogd als [[user]].
-
+[[login/setmail]]
Uitloggen
diff --git a/login/index.php b/login/index.php
index 40fcb61..a966cfa 100644
--- a/login/index.php
+++ b/login/index.php
@@ -49,5 +49,5 @@ if (isset($_GET['goto'])) {
if (empty($Args) and !empty($User['admin'])) {
include_once 'login/admin.html';
- include_once 'login/admin/index.php';
}
+
diff --git a/login/setmail.php b/login/setmail.php
index e95c3bd..7ebe7b9 100644
--- a/login/setmail.php
+++ b/login/setmail.php
@@ -1,4 +1,6 @@
$error\n\n";
diff --git a/login/visits.html b/login/visits.html
index e772122..081f3c8 100644
--- a/login/visits.html
+++ b/login/visits.html
@@ -1 +1,3 @@
Recente gebruikers
+
+[[login/visits]]
diff --git a/login/visits/index.php b/login/visits/index.php
deleted file mode 100644
index 6678661..0000000
--- a/login/visits/index.php
+++ /dev/null
@@ -1,2 +0,0 @@
-