summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-08-17 23:56:32 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-08-17 23:56:32 -0400
commit455e8380f33bc7b4d7658e2ea153aae8a250b318 (patch)
treef7dd20e7682b46ce562a8aab98c6d156615fef70 /templates
parent45e7d2dfd727315d3a102aa9ba97c6c2eebec68e (diff)
different small fixes
Diffstat (limited to 'templates')
-rw-r--r--templates/main.php2
-rw-r--r--templates/part.nofeeds.php28
-rw-r--r--templates/settings.php2
3 files changed, 5 insertions, 27 deletions
diff --git a/templates/main.php b/templates/main.php
index 96e419eeb..4b0f1ad23 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -40,7 +40,7 @@ if($showAll){
<button class="svg"></button>
</li>
<li style="float: right">
- <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>
+ <button 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.nofeeds.php b/templates/part.nofeeds.php
index 5afc5d281..b3748fbe7 100644
--- a/templates/part.nofeeds.php
+++ b/templates/part.nofeeds.php
@@ -1,28 +1,10 @@
<div id="appsettings" class="popup bottomleft hidden"></div>
<div id="firstrun">
- <h1><?php echo $l->t('You have no feeds in your reader.') ?></h1>
+ <h1><?php echo $l->t("You don't have any feed in your reader.") ?></h1>
<div id="selections">
<div id="addfeed_dialog_firstrun">
- <table width="200px" style="border: 2px;">
- <tr>
- <td>Add new feed</td>
- <td>
- <div class="add_parentfolder">
- <button id="dropdownBtn" onclick="News.DropDownMenu.dropdown(this)">
- <?php echo $l->t('Choose folder'); ?>
- </button>
- <input id="inputfolderid" type="hidden" name="folderid" value="0" />
- <ul class="menu" id="dropdownmenu">
- <?php echo $this->inc("part.folderlist"); ?>
- </ul>
- </div>
- </td>
- </tr>
- <tr>
- <td><input type="text" id="feed_add_url" placeholder="<?php echo $l->t('Address'); ?>" class="news_input" /></td>
- <td><input type="submit" value="<?php echo $l->t('Add'); ?>" onclick="News.Feed.submit(this)" id="feed_add_submit" /></td>
- </tr>
- </table>
+ <input type="text" id="feed_add_url" placeholder="<?php echo $l->t('Address'); ?>" />
+ <input type="submit" value="<?php echo $l->t('Add feed'); ?>" onclick="News.Feed.submit(this)" id="feed_add_submit" />
</div>
<input type="button" id="addfeedbtn" value="<?php echo $l->t('Add feed') ?>" /><br />
<input type="button" id="importopmlbtn" value="<?php echo $l->t('Import OPML') ?>" />
@@ -32,8 +14,6 @@
require_once(OC_App::getAppPath('news') .'/templates/subscribelet.php');
echo '<h1>' . $l->t('Or...') . '</h1>';
?>
- <div>
<?php createSubscribelet(); ?>
</div>
- </div>
-</div> \ No newline at end of file
+</div>
diff --git a/templates/settings.php b/templates/settings.php
index 3dea8fd9d..434eed331 100644
--- a/templates/settings.php
+++ b/templates/settings.php
@@ -19,7 +19,5 @@
require_once(OC_App::getAppPath('news') .'/templates/subscribelet.php');
createSubscribelet();
?>
- <div>
- <?php ?>
</dd>
</dl> \ No newline at end of file