1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-12-03 07:24:10 +01:00
OwncloudBookmarksOfficial/templates/settings.php

32 lines
1.0 KiB
PHP
Raw Normal View History

2011-10-08 13:11:13 +02:00
<?php
/**
2012-02-22 16:04:17 +01:00
* Copyright (c) 2011 Marvin Thomas Rabe <mrabe@marvinrabe.de>
2011-10-08 13:11:13 +02:00
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
?>
<form id="bookmarks">
<fieldset class="personalblock">
<span class="bold"><?php echo $l->t('Bookmarklet <br />');?></span>
<?php
require_once('bookmarklet.php');
createBookmarklet();
?>
2011-10-08 13:11:13 +02:00
</fieldset>
</form>
2012-07-03 15:55:51 +02:00
<form id="import_bookmark" action="#" method="post" enctype="multipart/form-data">
<fieldset class="personalblock">
<?php if(isset($_['error'])): ?>
<h3><?php echo $_['error']['error']; ?></h3>
<p><?php echo $_['error']['hint']; ?></p>
<?php endif; ?>
<legend><strong><?php echo $l->t('Import bookmarks');?></strong></legend>
</p>
2012-09-02 22:55:08 +02:00
<p><input type="file" id="bm_import" name="bm_import" style="width:280px;"><label for="bm_import"> <?php echo $l->t('Bookmark html file');?></label>
2012-07-03 15:55:51 +02:00
</p>
<input type="submit" name="bm_import" value="<?php echo $l->t('Import'); ?>" />
</fieldset>
2012-09-02 22:55:08 +02:00
</form>