From 0174fea203fde18ccf25bec6365481e33c41bcf8 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 28 Feb 2013 00:01:59 +0100 Subject: [PATCH 1/2] [bookmarks] From echo to p --- templates/addBm.php | 26 +++++++++++++------------- templates/js_tpl.php | 26 +++++++++++++------------- templates/list.php | 24 ++++++++++++------------ templates/settings.php | 16 ++++++++-------- 4 files changed, 46 insertions(+), 46 deletions(-) diff --git a/templates/addBm.php b/templates/addBm.php index 987b1bc7..a9783997 100644 --- a/templates/addBm.php +++ b/templates/addBm.php @@ -1,43 +1,43 @@ -
+ - + -

t('Add a bookmark');?>

+

t('Add a bookmark'));?>

  • - +
  • - +
    • -
    • +
  • - +
  • - " /> + " /> - +
diff --git a/templates/js_tpl.php b/templates/js_tpl.php index 3b94f0fa..cdcefe57 100644 --- a/templates/js_tpl.php +++ b/templates/js_tpl.php @@ -2,8 +2,8 @@

- " - title="t('Delete');?>"> + " + title="t('Delete'));?>">  

@@ -11,7 +11,7 @@ <%= escapeHTML(title == '' ? encodeURI(url) : title ) %> - " title="t('Edit');?>"> + " title="t('Edit'));?>">

<%= escapeHTML(description)%> @@ -21,14 +21,14 @@ + \ No newline at end of file diff --git a/templates/settings.php b/templates/settings.php index 5f17a263..d86b0958 100644 --- a/templates/settings.php +++ b/templates/settings.php @@ -8,22 +8,22 @@ ?>
- t('Bookmarklet');?> -
+ t('Bookmarklet'));?> +
-" +" method="post" enctype="multipart/form-data">
-

-

+

+

- t('Export & Import');?> - + t('Export & Import'));?> + - +
From be1458f698e07d24f270fa4d1cc523fed4e5cba5 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 28 Feb 2013 19:14:53 +0100 Subject: [PATCH 2/2] Remove sanitization parameter from assign --- addBm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addBm.php b/addBm.php index cd53e55a..728a96e2 100644 --- a/addBm.php +++ b/addBm.php @@ -65,5 +65,5 @@ foreach($qtags as $tag) { $tmpl = new OCP\Template( 'bookmarks', 'addBm', 'base' ); $tmpl->assign('requesttoken', OC_Util::callRegister()); $tmpl->assign('bookmark', $bm); -$tmpl->assign('tags', json_encode($tags), false); +$tmpl->assign('tags', json_encode($tags)); $tmpl->printPage();