mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-02-18 15:54:28 +01:00
Fix some bookmark import styles
This commit is contained in:
parent
887fdb9650
commit
228832d954
@ -20,16 +20,12 @@ if (isset($_POST['bm_import'])) {
|
||||
'hint' => '');
|
||||
}
|
||||
|
||||
$tmpl = new OCP\Template('bookmarks', 'settings');
|
||||
// Any problems?
|
||||
if(count($error)){
|
||||
$tmpl = new OCP\Template('bookmarks', 'settings');
|
||||
$tmpl->assign('error',$error);
|
||||
//return $tmpl->fetchPage();
|
||||
} else {
|
||||
// Went swimmingly!
|
||||
$tmpl = new OCP\Template('bookmarks', 'settings');
|
||||
//return $tmpl->fetchPage();
|
||||
}
|
||||
return $tmpl->fetchPage();
|
||||
} else {
|
||||
$tmpl = new OCP\Template( 'bookmarks', 'settings');
|
||||
return $tmpl->fetchPage();
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
<legend><strong><?php echo $l->t('Import bookmarks');?></strong></legend>
|
||||
</p>
|
||||
<p><input type="file" id="bm_import" name="bm_import" style="width:180px;"><label for="bm_import"> <?php echo $l->t('Bookmark html file');?></label>
|
||||
<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>
|
||||
</p>
|
||||
<input type="submit" name="bm_import" value="<?php echo $l->t('Import'); ?>" />
|
||||
</fieldset>
|
||||
|
Loading…
x
Reference in New Issue
Block a user