2011-10-08 13:10:49 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2012-02-22 16:04:17 +01:00
|
|
|
* Copyright (c) 2011 Marvin Thomas Rabe <mrabe@marvinrabe.de>
|
2011-10-08 13:10:49 +02:00
|
|
|
* Copyright (c) 2011 Arthur Schiwon <blizzz@arthur-schiwon.de>
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
|
|
* later.
|
|
|
|
* See the COPYING-README file.
|
|
|
|
*/
|
|
|
|
?>
|
2012-06-27 23:44:20 +02:00
|
|
|
<input type="hidden" id="bookmarkFilterTag" value="<?php echo $_['req_tag']; ?>" />
|
2011-10-08 13:54:45 +02:00
|
|
|
<div id="controls">
|
2012-11-05 21:34:09 +01:00
|
|
|
<form id="add_form">
|
|
|
|
<input type="text" id="add_url" value="" placeholder="<?php echo $l->t('Address'); ?>"/>
|
|
|
|
<input type="submit" value="<?php echo $l->t('Add bookmark'); ?>" id="bookmark_add_submit" />
|
2012-11-04 23:55:03 +01:00
|
|
|
</form>
|
2011-08-15 22:05:07 +02:00
|
|
|
</div>
|
2012-06-27 16:32:04 +02:00
|
|
|
<div id="leftcontent">
|
2012-08-10 00:03:56 +02:00
|
|
|
|
2012-06-27 16:32:04 +02:00
|
|
|
<p id="tag_filter">
|
2012-06-28 11:40:42 +02:00
|
|
|
<input type="text" placeholder="Filter By tag" value="<?php echo $_['req_tag']; ?>"/>
|
2012-06-27 16:32:04 +02:00
|
|
|
</p>
|
|
|
|
|
2012-06-27 23:44:20 +02:00
|
|
|
<label><?php echo $l->t('Related Tags'); ?></label>
|
2012-06-27 16:32:04 +02:00
|
|
|
<ul class="tag_list">
|
|
|
|
</ul>
|
2012-06-27 17:05:35 +02:00
|
|
|
|
2012-10-31 22:31:43 +01:00
|
|
|
|
|
|
|
<div id="bookmark_settings">
|
2012-11-03 22:46:42 +01:00
|
|
|
<ul class="controls">
|
|
|
|
<li style="float: right">
|
|
|
|
<button id="settingsbtn" title="<?php echo $l->t('Settings'); ?>">
|
|
|
|
<img class="svg" src="<?php echo OCP\Util::imagePath('core', 'actions/settings.png'); ?>"
|
|
|
|
alt="<?php echo $l->t('Settings'); ?>" /></button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div id="bm_setting_panel">
|
|
|
|
<?php require 'settings.php';?>
|
2012-10-31 22:31:43 +01:00
|
|
|
</div>
|
2012-11-03 22:46:42 +01:00
|
|
|
</div>
|
2012-10-31 22:31:43 +01:00
|
|
|
|
2012-07-03 13:47:09 +02:00
|
|
|
</div>
|
2012-06-27 16:32:04 +02:00
|
|
|
<div id="rightcontent" class="rightcontent">
|
|
|
|
<div class="bookmarks_list"></div>
|
|
|
|
<div id="firstrun" style="display: none;">
|
|
|
|
<?php
|
|
|
|
echo $l->t('You have no bookmarks');
|
2012-11-03 22:46:42 +01:00
|
|
|
$embedded = true;/*
|
2012-09-18 21:39:53 +02:00
|
|
|
require_once OC_App::getAppPath('bookmarks') .'/templates/bookmarklet.php' ;
|
2012-11-03 22:46:42 +01:00
|
|
|
createBookmarklet(); */
|
2012-06-27 16:32:04 +02:00
|
|
|
?>
|
2012-10-31 22:31:43 +01:00
|
|
|
<div id="appsettings" class="popup bottomleft hidden"></div>
|
2012-06-28 11:40:42 +02:00
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
var fullTags = <?php echo $_['tags'];?>;
|
2012-06-29 11:33:13 +02:00
|
|
|
</script>
|
2012-09-01 16:18:39 +02:00
|
|
|
|
|
|
|
<script type="text/html" id="edit_dialog_tmpl">
|
2012-10-10 21:05:34 +02:00
|
|
|
<?php require 'addBm.php';?>
|
2012-09-01 16:18:39 +02:00
|
|
|
</script>
|
2012-10-21 13:37:30 +02:00
|
|
|
<?php require 'js_tpl.php';?>
|