1
0
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:
Brice Maron 2012-09-02 20:55:08 +00:00
parent 887fdb9650
commit 228832d954
2 changed files with 4 additions and 8 deletions

View File

@ -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();

View File

@ -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>