server/apps/bookmarks/templates/list.php

27 lines
1.1 KiB
PHP
Raw Normal View History

<?php
/**
2012-02-22 15:04:17 +00: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 11:08:11 +00:00
<input type="hidden" id="bookmark_add_id" value="0" />
2012-02-22 22:22:17 +00: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('Save bookmark'); ?>" id="bookmark_add_submit" />
2011-08-15 20:05:07 +00:00
</div>
<div class="bookmarks_list">
</div>
2012-02-22 22:58:38 +00:00
<div id="firstrun" style="display: none;">
<?php
2012-02-22 22:08:50 +00:00
echo $l->t('You have no bookmarks');
2012-04-26 12:52:55 +00:00
require_once(OC::$APPSROOT . '/apps/bookmarks/templates/bookmarklet.php');
2012-02-22 22:08:50 +00:00
createBookmarklet();
?>
</div>