server/apps/bookmarks/templates/list.php

34 lines
1.6 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">
<input type="button" class="bookmarks_addBtn" value="<?php echo $l->t('Add bookmark'); ?>"/>
2011-08-15 20:05:07 +00:00
</div>
<div class="bookmarks_add">
2011-09-13 11:08:11 +00:00
<input type="hidden" id="bookmark_add_id" value="0" />
2011-10-01 09:14:43 +00:00
<p><label class="bookmarks_label"><?php echo $l->t('Address'); ?></label><input type="text" id="bookmark_add_url" class="bookmarks_input" /></p>
<p><label class="bookmarks_label"><?php echo $l->t('Title'); ?></label><input type="text" id="bookmark_add_title" class="bookmarks_input" />
<img class="loading_meta" src="<?php echo OC_Helper::imagePath('core', 'loading.gif'); ?>" /></p>
2011-10-01 09:14:43 +00:00
<p><label class="bookmarks_label"><?php echo $l->t('Tags'); ?></label><input type="text" id="bookmark_add_tags" class="bookmarks_input" /></p>
<p><label class="bookmarks_label"> </label><label class="bookmarks_hint"><?php echo $l->t('Hint: Use space to separate tags.'); ?></label></p>
<p><label class="bookmarks_label"></label><input type="submit" value="<?php echo $l->t('Add bookmark'); ?>" id="bookmark_add_submit" /></p>
2011-08-15 20:05:07 +00:00
</div>
<div class="bookmarks_list">
</div>
<div id="firstrun">
<?php echo $l->t('You have no bookmarks'); ?>
<div id="selections">
<?php
require_once('bookmarklet.php');
createBookmarklet();
?>
</div>
</div>