diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.php | 4 | ||||
-rw-r--r-- | templates/part.importdialog.php | 9 | ||||
-rw-r--r-- | templates/settings.php | 7 |
3 files changed, 9 insertions, 11 deletions
diff --git a/templates/main.php b/templates/main.php index 76c9adb13..a3bac4921 100644 --- a/templates/main.php +++ b/templates/main.php @@ -15,7 +15,9 @@ <button class="svg" id="addfeedfolder" title="<?php echo $l->t('Add Feed/Folder'); ?>" onclick="News.DropDownMenu.fade('ul#feedfoldermenu')"><img class="svg" src="<?php echo OCP\Util::linkTo('news', 'img/add.svg'); ?>" alt="<?php echo $l->t('Add Feed/Folder'); ?>" /></button> </li> <li><button class="svg" title="<?php echo $l->t('Change View'); ?>">Eye</button></li> - <li><button class="svg" id="settingsbtn" title="<?php echo $l->t('Settings'); ?>">Settings</button></li> + <li> + <button class="svg" id="settingsbtn" title="<?php echo $l->t('Settings'); ?>"><img class="svg" src="<?php echo OCP\Util::imagePath('core','actions/settings.png'); ?>" alt="<?php echo $l->t('Settings'); ?>" /></button> + </li> <ul> </div> diff --git a/templates/part.importdialog.php b/templates/part.importdialog.php index 399bbf578..0d3d88854 100644 --- a/templates/part.importdialog.php +++ b/templates/part.importdialog.php @@ -1,7 +1,10 @@ <div id="import_dialog" title="<?php echo $l->t("Settings"); ?>"> <dl> - <dt>Import</dt> - <dd>Upload opml file <input type="text" name="opml_file" id="opml_file" placeholder="<?php echo $l->t('.opml file');?>" /><input type="submit" value="<?php echo $l->t('Import feeds');?>" /></dd> - <dt>Export</dt> + <dt><?php echo $l->t('Import'); ?></dt> + <dd><button class="svg" title="<?php echo $l->t('Upload file from desktop'); ?>" onclick="News.DropDownMenu.fade('ul#feedfoldermenu')"><img class="svg" src="<?php echo OCP\Util::imagePath('core','actions/upload.svg'); ?>" alt="<?php echo $l->t('Upload'); ?>" /></button> + <button class="svg" id="cloudbtn" title="<?php echo $l->t('Select file from ownCloud'); ?>"><img class="svg" src="<?php echo OCP\Util::imagePath('core','actions/upload.svg'); ?>" alt="<?php echo $l->t('Select'); ?>" /></button> + <input type="text" name="opml_file" id="opml_file" placeholder="<?php echo $l->t('.opml file');?>" /> + <input type="submit" value="<?php echo $l->t('Import feeds');?>" /></dd> + <dt><?php echo $l->t('Export'); ?></dt> <dd></dd> </dl>
\ No newline at end of file diff --git a/templates/settings.php b/templates/settings.php deleted file mode 100644 index 6103c1f87..000000000 --- a/templates/settings.php +++ /dev/null @@ -1,7 +0,0 @@ -<form id="news"> - <fieldset class="personalblock"> - <strong>News</strong><br /> - <input type="submit" id="settings" value="<?php echo $l->t('Import feeds');?>" /> - </fieldset> - <div id="dialog_holder"></div> -</form> |