aboutsummaryrefslogtreecommitdiff
path: root/app/view
diff options
context:
space:
mode:
Diffstat (limited to 'app/view')
-rw-r--r--app/view/templates/admin.php7
-rw-r--r--app/view/templates/homeopt.php7
2 files changed, 10 insertions, 4 deletions
diff --git a/app/view/templates/admin.php b/app/view/templates/admin.php
index 66c7a33..007ced4 100644
--- a/app/view/templates/admin.php
+++ b/app/view/templates/admin.php
@@ -87,6 +87,13 @@
?>
</select>
+
+ <h2>Tracking</h2>
+
+ <label for="analytics">Google analytics Tracking ID</label>
+ <input type="text" name="analytics" id="analytics" value="<?= Config::analytics() ?>">
+
+
<input type="submit" value="Update configuration">
</form>
diff --git a/app/view/templates/homeopt.php b/app/view/templates/homeopt.php
index cecb79b..f240d0a 100644
--- a/app/view/templates/homeopt.php
+++ b/app/view/templates/homeopt.php
@@ -4,10 +4,7 @@
<input type="submit" name="submit" value="filter">
⬅<input type="submit" name="submit" value="reset">
-
- <!-- $this->optionsort($opt);
- $this->optionprivacy($opt);
- $this->optiontag($opt); -->
+<div id="optfield">
<fieldset><legend>Sort</legend>
<select name="sortby" id="sortby">
@@ -76,6 +73,8 @@ if ($in = true || $out = true) {
echo '<label for="invert">invert</></br>';
?>
+</div>
+
<input type="submit" name="submit" value="filter">
⬅<input type="submit" name="submit" value="reset">