nextcloud/apps/bookmarks/templates/list.php

27 lines
1.1 KiB
PHP
Raw Normal View History

<?php
/**
2012-02-22 19:04:17 +04:00
* Copyright (c) 2011 Marvin Thomas Rabe <mrabe@marvinrabe.de>
* 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.
*/
?>
<input type="hidden" id="bookmarkFilterTag" value="<?php if(isset($_GET['tag'])) echo htmlentities($_GET['tag']); ?>" />
<div id="controls">
2011-09-13 15:08:11 +04:00
<input type="hidden" id="bookmark_add_id" value="0" />
2012-02-23 02:22:17 +04:00
<input type="text" id="bookmark_add_url" placeholder="<?php echo $l->t('Address'); ?>" class="bookmarks_input" />
<input type="text" id="bookmark_add_title" placeholder="<?php echo $l->t('Title'); ?>" class="bookmarks_input" />
<input type="text" id="bookmark_add_tags" placeholder="<?php echo $l->t('Tags'); ?>" class="bookmarks_input" />
<input type="submit" value="<?php echo $l->t('Add bookmark'); ?>" id="bookmark_add_submit" />
2011-08-16 00:05:07 +04:00
</div>
<div class="bookmarks_list">
</div>
2012-02-23 02:58:38 +04:00
<div id="firstrun" style="display: none;">
<?php
2012-02-23 02:08:50 +04:00
echo $l->t('You have no bookmarks');
require_once('bookmarklet.php');
createBookmarklet();
?>
</div>