summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-08-15 20:08:12 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-08-15 20:08:12 -0400
commit93ee15c1891aa52ebee8b46ca16f58d5dc7679ce (patch)
treeffb1abe43169654dd1bbe552bb2d3a6a23858032 /templates
parentc193d2447d1e4e6407088d52f623fc5e68ad6161 (diff)
improves first run dialogs
Diffstat (limited to 'templates')
-rw-r--r--templates/part.nofeeds.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/part.nofeeds.php b/templates/part.nofeeds.php
index c1e639321..99ae15362 100644
--- a/templates/part.nofeeds.php
+++ b/templates/part.nofeeds.php
@@ -2,6 +2,28 @@
<div id="firstrun">
<?php echo $l->t('You have no feeds in your reader.') ?>
<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('URL'); ?>" class="news_input" /></td>
+ <td><input type="submit" value="<?php echo $l->t('Add feed'); ?>" onclick="News.Feed.submit(this)" id="feed_add_submit" /></td>
+ </tr>
+ </table>
+ </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') ?>" />
</div>