From b84a80559a1167b5500fbc5eb4965d3b08b371ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 23 Jan 2015 14:58:17 +0100 Subject: some parameters, new entry form, etc. --- app/config/config.yml | 3 +++ app/config/parameters.yml.dist | 22 +++++++++++++++++++++- app/config/routing.yml | 4 ++++ 3 files changed, 28 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/config/config.yml b/app/config/config.yml index c6bed797..455345f4 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -44,6 +44,9 @@ twig: export_epub: %export_epub% export_mobi: %export_mobi% export_pdf: %export_pdf% + version: %app.version% + paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" + flattr_url: "https://flattr.com/thing/1265480" # Assetic Configuration assetic: diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 5ccac492..36e3fe7f 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -19,4 +19,24 @@ parameters: # A secret key that's used to generate certain security-related tokens secret: ThisTokenIsNotSoSecretChangeIt - download_pictures: false # if true, pictures will be stored into data/assets for each article \ No newline at end of file + # wallabag misc + app.version: 2.0.0-alpha + + download_pictures: false # if true, pictures will be stored into data/assets for each article + + # Entry view + share_twitter: true + share_mail: true + share_shaarli: true + shaarli_url: http://myshaarli.com + share_diaspora: true + diaspora_url: http://diasporapod.com + flattr: true + carrot: true + show_printlink: true + export_epub: true + export_mobi: true + export_pdf: true + + # List view + items_on_page: 12 \ No newline at end of file diff --git a/app/config/routing.yml b/app/config/routing.yml index a748d532..d0ece8e3 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -1,3 +1,7 @@ app: resource: @WallabagBundle/Controller/ type: annotation + +homepage: + pattern: / + defaults: { _controller: WallabagBundle:Entry:showUnread } \ No newline at end of file -- cgit v1.2.3