diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-15 20:08:12 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-15 20:08:12 -0400 |
commit | 93ee15c1891aa52ebee8b46ca16f58d5dc7679ce (patch) | |
tree | ffb1abe43169654dd1bbe552bb2d3a6a23858032 /templates/part.nofeeds.php | |
parent | c193d2447d1e4e6407088d52f623fc5e68ad6161 (diff) |
improves first run dialogs
Diffstat (limited to 'templates/part.nofeeds.php')
-rw-r--r-- | templates/part.nofeeds.php | 22 |
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> |