Blame view

sources/apps/bookmarks/templates/settings.php 1.13 KB
d1bafeea1   Kload   [fix] Upgrade to ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  <?php
  /**
   * Copyright (c) 2011 Marvin Thomas Rabe <mrabe@marvinrabe.de>
   * This file is licensed under the Affero General Public License version 3 or
   * later.
   * See the COPYING-README file.
   */
  ?>
  
  <fieldset class="personalblock">
  	<legend><strong><?php p($l->t('Bookmarklet'));?></strong></legend>
  	<?php print_unescaped(bookmarklet());?><br />
  </fieldset>
  
  <form id="import_bookmark" action="<?php print_unescaped(OCP\Util::linkTo( "bookmarks", "ajax/import.php" ));?>"
   method="post" enctype="multipart/form-data">
  	<fieldset class="personalblock">
  		<?php if(isset($_['error'])): ?>
  			<h3><?php p($_['error']['error']); ?></h3>
  			<p><?php p($_['error']['hint']); ?></p>
  		<?php endif; ?>
  
  			<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')); ?>" />
  			<input type="file" id="bm_import" name="bm_import" size="5">
  			<button type="button" name="bm_import_btn" id="bm_import_submit"><?php p($l->t('Import')); ?></button>
  			<div id="upload"></div>
  
  
  		
  	</fieldset>
  </form>