aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-10-24 07:39:12 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-10-24 07:39:12 +0200
commit93298095b3c4455aa1a4c676d6e2f9915ca06caa (patch)
tree5b040a0eac9ef780e4af4160f76f5553c51cc866 /templates
parent8ee6bfe97633d31c6b89cebbc434837eca04d6dd (diff)
downloadgrauphel-93298095b3c4455aa1a4c676d6e2f9915ca06caa.tar.gz
grauphel-93298095b3c4455aa1a4c676d6e2f9915ca06caa.zip
make linking of notes with <speci"a'l> chars work
Diffstat (limited to 'templates')
-rw-r--r--templates/gui-note.php2
-rw-r--r--templates/tag.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/gui-note.php b/templates/gui-note.php
index a7e0587..296a0d2 100644
--- a/templates/gui-note.php
+++ b/templates/gui-note.php
@@ -6,7 +6,7 @@
<script type="text/javascript" src="<?php p(OCP\Util::linkTo('grauphel','js/grauphel.js')); ?>"></script>
<div id="app-content" class="content">
- <h1><?php p($_['note']->title); ?></h1>
+ <h1><?php echo ($_['note']->title); ?></h1>
<p class="muted">
Last modified:
<?php p(\OCP\Util::formatDate(strtotime($_['note']->{'last-change-date'}))); ?>
diff --git a/templates/tag.php b/templates/tag.php
index 8c7eecc..850b034 100644
--- a/templates/tag.php
+++ b/templates/tag.php
@@ -18,7 +18,7 @@
<?php foreach ($_['notes'] as $note) { ?>
<tr id="note-<?php p($note['guid']); ?>">
<td>
- <a class="cellclick" href="<?php p(OCP\Util::linkToRoute('grauphel.gui.note', array('guid' => $note['guid']))); ?>"><?php p($note['title']); ?></a>
+ <a class="cellclick" href="<?php p(OCP\Util::linkToRoute('grauphel.gui.note', array('guid' => $note['guid']))); ?>"><?php echo ($note['title']); ?></a>
</td>
<td>
</td>