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

33 lines
1.1 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.
*/
?>
2012-07-03 15:55:51 +02:00
<fieldset class="personalblock">
<legend><strong><?php echo $l->t('Bookmarklet');?></strong></legend>
<?php echo bookmarklet();?><br />
</fieldset>
2012-11-01 00:42:37 +01:00
<form id="import_bookmark" action="<?php echo OCP\Util::linkTo( "bookmarks", "ajax/import.php" );?>"
method="post" enctype="multipart/form-data">
2012-07-03 15:55:51 +02:00
<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('Export & Import');?></strong></legend>
<input type="button" id="bm_export" href="<?php echo OCP\Util::linkTo('bookmarks', 'export.php') ;?>" value="<?php echo $l->t('Export'); ?>" />
<input type="file" id="bm_import" name="bm_import" size="5">
<button type="button" name="bm_import_btn" id="bm_import_submit"><?php echo $l->t('Import'); ?></button>
<div id="upload"></div>
2012-09-18 22:36:12 +02:00
2012-07-03 15:55:51 +02:00
</fieldset>
</form>