]> source.dussan.org Git - nextcloud-server.git/commitdiff
added missing files
authorMarvin Thomas Rabe <m.rabe@echtzeitraum.de>
Sat, 8 Oct 2011 11:11:13 +0000 (13:11 +0200)
committerMarvin Thomas Rabe <m.rabe@echtzeitraum.de>
Sat, 8 Oct 2011 11:11:13 +0000 (13:11 +0200)
apps/bookmarks/settings.php [new file with mode: 0644]
apps/bookmarks/templates/settings.php [new file with mode: 0644]

diff --git a/apps/bookmarks/settings.php b/apps/bookmarks/settings.php
new file mode 100644 (file)
index 0000000..8186472
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Copyright (c) 2011 Marvin Thomas Rabe <m.rabe@echtzeitraum.de>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+$tmpl = new OC_Template( 'bookmarks', 'settings');
+
+OC_Util::addScript('bookmarks','settings');
+
+return $tmpl->fetchPage();
diff --git a/apps/bookmarks/templates/settings.php b/apps/bookmarks/templates/settings.php
new file mode 100644 (file)
index 0000000..b7da441
--- /dev/null
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Copyright (c) 2011 Marvin Thomas Rabe <m.rabe@echtzeitraum.de>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+?>
+<form id="bookmarks">
+               <fieldset class="personalblock">
+                       <span class="bold"><?php echo $l->t('Bookmarklet:');?></span>&nbsp;<a class="bookmarks_addBml" href="javascript:var url = encodeURIComponent(location.href);window.open('<?php echo OC_Helper::linkTo('bookmarks', 'addBm.php', null, true); ?>?url='+url, 'owncloud-bookmarks');"><?php echo $l->t('Add page to ownCloud'); ?></a>
+                       <br/><em><?php echo $l->t('Drag this to your browser bookmarks and click it, when you want to bookmark a webpage.'); ?></em><br />
+               </fieldset>
+</form>