From 705d016301194b39b87ec4f1223633bf1ac4489e Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 5 Apr 2011 18:56:51 +0200 Subject: move bookmarklet code to own template file --- data/templates/bookmarklet.inc.php | 117 ++++++++++++++++++++++++++++++++++ data/templates/editbookmark.tpl.php | 121 +----------------------------------- 2 files changed, 119 insertions(+), 119 deletions(-) create mode 100644 data/templates/bookmarklet.inc.php diff --git a/data/templates/bookmarklet.inc.php b/data/templates/bookmarklet.inc.php new file mode 100644 index 0000000..9867745 --- /dev/null +++ b/data/templates/bookmarklet.inc.php @@ -0,0 +1,117 @@ +

+

+ + diff --git a/data/templates/editbookmark.tpl.php b/data/templates/editbookmark.tpl.php index b7fb227..8b71230 100644 --- a/data/templates/editbookmark.tpl.php +++ b/data/templates/editbookmark.tpl.php @@ -206,126 +206,9 @@ $this->includeTemplate('dynamictags.inc'); // Bookmarklets and import links if (empty($_REQUEST['popup']) && (!isset($showdelete) || !$showdelete)) { -?> - -

-

- - +$this->includeTemplate('bookmarklet.inc.php'); +?>