1
0
Fork 0
mirror of https://github.com/Yetangitu/owncloud-apps.git synced 2025-10-02 14:49:17 +02:00

Include instructions on how to connect to the feed in the personal settings page

This commit is contained in:
frankdelange 2014-12-10 18:37:25 +01:00
parent 9a1383e046
commit bd7e999e7e
2 changed files with 8 additions and 1 deletions

View file

@ -19,6 +19,7 @@ $tmpl->assign('opdsEnable-value', ($opdsEnable === 'true') ? '1' : '0');
$tmpl->assign('rootPath', Config::get('root_path', '/Library'));
$tmpl->assign('fileTypes', Config::get('file_types', ''));
$tmpl->assign('bookshelf-count', Bookshelf::count());
$tmpl->assign('feedUrl', \OC_Helper::linkToAbsolute('','index.php') . '/apps/files_opds/');
return $tmpl->fetchPage();

View file

@ -32,8 +32,14 @@
<input type="button" id="opds-dont-clear-bookshelf" value="<?php p($l -> t('No, I do not want to clear my bookshelf')); ?>" hidden />
<span class="clr"></span>
<div>
<span id="opds-book-count"><?php p($l->t('There are %s books on your personal bookshelf', array($_['bookshelf-count']))) ?></span>&nbsp;
<span id="opds-book-count"><?php p($l->t('There are %s books on your personal bookshelf', array($_['bookshelf-count']))); ?></span>&nbsp;
</div>
</div>
<br>
<div>
<span><?php p($l->t("OPDS URL")); ?>:</span>
<code><?php p($_['feedUrl']); ?></code>
<div><?php p($l->t("Use your Owncloud username and password.")); ?></div>
</div>
</div>