aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-14 20:12:07 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-14 20:12:07 +0200
commitcd979d30e1b7f60faeb90dfdad58c67b4f3a01f5 (patch)
tree847932f4e35651c43f67d58ddaa766e04b889385 /app/controllers/configureController.php
parent5768d0fc7fe7e29491b788b08096ca1435b82aeb (diff)
Ajout partage Shaarli : fix issue #34
Diffstat (limited to 'app/controllers/configureController.php')
-rwxr-xr-xapp/controllers/configureController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/configureController.php b/app/controllers/configureController.php
index 01ed4d414..428768b9b 100755
--- a/app/controllers/configureController.php
+++ b/app/controllers/configureController.php
@@ -132,6 +132,7 @@ class configureController extends ActionController {
$openArticle = Request::param ('mark_open_article', 'no');
$openSite = Request::param ('mark_open_site', 'no');
$openPage = Request::param ('mark_open_page', 'no');
+ $urlShaarli = Request::param ('shaarli', '');
$this->view->conf->_postsPerPage (intval ($nb));
$this->view->conf->_defaultView ($view);
@@ -144,6 +145,7 @@ class configureController extends ActionController {
'site' => $openSite,
'page' => $openPage,
));
+ $this->view->conf->_urlShaarli ($urlShaarli);
$values = array (
'posts_per_page' => $this->view->conf->postsPerPage (),
@@ -153,6 +155,7 @@ class configureController extends ActionController {
'old_entries' => $this->view->conf->oldEntries (),
'mail_login' => $this->view->conf->mailLogin (),
'mark_when' => $this->view->conf->markWhen (),
+ 'url_shaarli' => $this->view->conf->urlShaarli (),
);
$confDAO = new RSSConfigurationDAO ();