Addition of a link to the AoG app in the homepage, and bug fix when checking the password ;)
diff --git a/graf.php b/graf.php
index 56cf71b..c0837c0 100644
--- a/graf.php
+++ b/graf.php
@@ -8,7 +8,7 @@
exit();
}
-if ($_POST["password"] != "forallexists") {
+if ($_POST["password"] != $conf["password"]) {
header("Location: login.php?msg=wrong");
exit();
}
diff --git a/index.php b/index.php
index 80523c8..33dc3be 100644
--- a/index.php
+++ b/index.php
@@ -49,13 +49,13 @@
</div>
<div class="mdl-shadow--2dp mdl-cell mdl-cell--4-col mdl-card">
<div class="mdl-card__title mdl-card--expand misc">
- <h2 class="mdl-card__title-text">Miscelània</h2>
+ <h2 class="mdl-card__title-text">App de l'Assistent de Google</h2>
</div>
<div class="mdl-card__supporting-text">
- Mira estadístiques sobre el graf, les últimes incorporacions i rep per correu electrònic les últimes novetats del graf.
+ Com a novetat, ara pots navegar el graf amb l'Assistent de Google! Disponible en castellà i en anglés.
</div>
<div class="mdl-card__actions mdl-card--border">
- <a href="javascript:alert('En construcció');" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
+ <a href="https://assistant.google.com/services/a/uid/000000249b9f19cb" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
Vés-hi
</a>
</div>