diff options
Diffstat (limited to 'templates')
-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> |