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.
|
|
|
|
*/
|
|
|
|
?>
|
2011-08-24 14:36:03 +02:00
|
|
|
<input type="hidden" id="bookmarkFilterTag" value="<?php if(isset($_GET['tag'])) echo htmlentities($_GET['tag']); ?>" />
|
2011-10-08 13:54:45 +02:00
|
|
|
<div id="controls">
|
2011-10-08 13:10:49 +02:00
|
|
|
<input type="button" class="bookmarks_addBtn" value="<?php echo $l->t('Add bookmark'); ?>"/>
|
2011-08-15 22:05:07 +02:00
|
|
|
</div>
|
|
|
|
<div class="bookmarks_add">
|
2011-09-13 13:08:11 +02:00
|
|
|
<input type="hidden" id="bookmark_add_id" value="0" />
|
2011-10-01 11:14:43 +02: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" />
|
2011-09-06 14:43:03 +02:00
|
|
|
<img class="loading_meta" src="<?php echo OC_Helper::imagePath('core', 'loading.gif'); ?>" /></p>
|
2011-10-01 11:14:43 +02: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 22:05:07 +02:00
|
|
|
</div>
|
|
|
|
<div class="bookmarks_list">
|
2012-02-20 02:18:27 +01:00
|
|
|
</div>
|
2012-02-21 22:31:35 +01:00
|
|
|
<div id="firstrun">
|
|
|
|
<?php echo $l->t('You have no bookmarks'); ?>
|
|
|
|
<small><?php echo $l->t('Drag this to your browser bookmarks and click it, when you want to bookmark a webpage.'); ?></small>
|
|
|
|
<div id="selections">
|
|
|
|
<a class="button" href='javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open("<?php echo OC_Helper::linkToAbsolute('bookmarks', 'addBm.php') ?>?output=popup&url="+c(b.location)+"&title="+c(b.title),"bkmk_popup","left="+((a.screenX||a.screenLeft)+10)+",top="+((a.screenY||a.screenTop)+10)+",height=510px,width=550px,resizable=1,alwaysRaised=1");a.setTimeout(function(){d.focus()},300)})();'><?php echo $l->t('Add page to ownCloud'); ?></a>
|
|
|
|
</div>
|
2012-02-20 02:18:27 +01:00
|
|
|
</div>
|