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
|
|
|
|
2012-10-31 22:31:43 +01:00
|
|
|
<fieldset class="personalblock">
|
2013-02-28 00:01:59 +01:00
|
|
|
<legend><strong><?php p($l->t('Bookmarklet'));?></strong></legend>
|
|
|
|
<?php print_unescaped(bookmarklet());?><br />
|
2012-10-31 22:31:43 +01:00
|
|
|
</fieldset>
|
|
|
|
|
2013-02-28 00:01:59 +01:00
|
|
|
<form id="import_bookmark" action="<?php print_unescaped(OCP\Util::linkTo( "bookmarks", "ajax/import.php" ));?>"
|
2012-11-01 00:42:37 +01:00
|
|
|
method="post" enctype="multipart/form-data">
|
2012-07-03 15:55:51 +02:00
|
|
|
<fieldset class="personalblock">
|
|
|
|
<?php if(isset($_['error'])): ?>
|
2013-02-28 00:01:59 +01:00
|
|
|
<h3><?php p($_['error']['error']); ?></h3>
|
|
|
|
<p><?php p($_['error']['hint']); ?></p>
|
2012-07-03 15:55:51 +02:00
|
|
|
<?php endif; ?>
|
|
|
|
|
2013-02-28 00:01:59 +01:00
|
|
|
<legend><strong><?php p($l->t('Export & Import'));?></strong></legend>
|
|
|
|
<input type="button" id="bm_export" href="<?php print_unescaped(OCP\Util::linkTo('bookmarks', 'export.php')) ;?>" value="<?php p($l->t('Export')); ?>" />
|
2012-11-05 23:53:46 +01:00
|
|
|
<input type="file" id="bm_import" name="bm_import" size="5">
|
2013-02-28 00:01:59 +01:00
|
|
|
<button type="button" name="bm_import_btn" id="bm_import_submit"><?php p($l->t('Import')); ?></button>
|
2012-11-03 22:46:42 +01:00
|
|
|
<div id="upload"></div>
|
|
|
|
|
2012-09-18 22:36:12 +02:00
|
|
|
|
|
|
|
|
2012-07-03 15:55:51 +02:00
|
|
|
</fieldset>
|
2012-09-18 21:39:53 +02:00
|
|
|
</form>
|