2013-02-28 00:01:59 +01:00
|
|
|
<form class="addBm" method="post" action="<?php print_unescaped(OCP\Util::linkTo('bookmarks', 'ajax/editBookmark.php'));?>">
|
2012-06-29 11:33:13 +02:00
|
|
|
<?php if(!isset($embedded) || !$embedded):?>
|
2013-02-28 00:01:59 +01:00
|
|
|
<script type="text/javascript" src="<?php print_unescaped(OC_Helper::linkTo('bookmarks/js', 'full_tags.php'));?>"></script>
|
2013-01-22 20:44:40 +01:00
|
|
|
|
2013-02-28 00:01:59 +01:00
|
|
|
<h1><?php p($l->t('Add a bookmark'));?></h1>
|
2012-10-10 21:05:34 +02:00
|
|
|
<div class="close_btn">
|
|
|
|
<a href="javascript:self.close()" class="ui-icon ui-icon-closethick">
|
2013-02-28 00:01:59 +01:00
|
|
|
<?php p($l->t('Close'));?>
|
2012-10-10 21:05:34 +02:00
|
|
|
</a>
|
|
|
|
</div>
|
2012-06-29 11:33:13 +02:00
|
|
|
<?php endif;?>
|
2012-06-26 17:43:03 +02:00
|
|
|
<fieldset class="bm_desc">
|
|
|
|
<ul>
|
|
|
|
<li>
|
2013-02-28 00:01:59 +01:00
|
|
|
<input type="text" name="title" class="title" value="<?php p($_['bookmark']['title']); ?>"
|
|
|
|
placeholder="<?php p($l->t('The title of the page'));?>" />
|
2012-06-26 17:43:03 +02:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
2013-02-28 00:01:59 +01:00
|
|
|
<input type="text" name="url" class="url_input" value="<?php p($_['bookmark']['url']); ?>"
|
|
|
|
placeholder="<?php p($l->t('The address of the page'));?>" />
|
2012-06-26 17:43:03 +02:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
2012-06-29 11:33:13 +02:00
|
|
|
<ul class="tags" >
|
2012-06-26 17:43:03 +02:00
|
|
|
<?php foreach($_['bookmark']['tags'] as $tag):?>
|
2013-02-28 00:01:59 +01:00
|
|
|
<li><?php p($tag);?></li>
|
2012-06-26 17:43:03 +02:00
|
|
|
<?php endforeach;?>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
2013-02-28 00:01:59 +01:00
|
|
|
<textarea name="description" class="desc" value="<?php p($_['bookmark']['desc']); ?>"
|
|
|
|
placeholder="<?php p($l->t('Description of the page'));?>"></textarea>
|
2012-06-26 17:43:03 +02:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
2013-02-28 00:01:59 +01:00
|
|
|
<input type="submit" class="submit" value="<?php p($l->t("Save"));?>" />
|
2012-06-29 14:12:29 +02:00
|
|
|
<input type="hidden" class="record_id" value="" name="record_id" />
|
2013-02-28 00:01:59 +01:00
|
|
|
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>">
|
2012-06-26 17:43:03 +02:00
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
</form>
|