From 468015dad6a76700f1e3e304c497e08e6636d1a2 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Wed, 14 Oct 2015 01:11:31 -0400 Subject: Add Movim share See #992 --- data/shares.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'data/shares.php') diff --git a/data/shares.php b/data/shares.php index 6e0e9ea0c..b3df54188 100644 --- a/data/shares.php +++ b/data/shares.php @@ -44,6 +44,12 @@ return array( 'help' => 'https://diasporafoundation.org/', 'form' => 'advanced', ), + 'movim' => array( + 'url' => '~URL~/index.php/share?url=~LINK~', + 'transform' => array('rawurlencode'), + 'help' => 'https://github.com/edhelas/movim', + 'form' => 'advanced', + ), 'twitter' => array( 'url' => 'https://twitter.com/share?url=~LINK~&text=~TITLE~', 'transform' => array('rawurlencode'), -- cgit v1.2.3 From e17b8d9dab99ede03098a7765fdbc61198a2f168 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Wed, 14 Oct 2015 21:22:16 -0400 Subject: fix share options to comply with latest format --- data/shares.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/shares.php') diff --git a/data/shares.php b/data/shares.php index b3df54188..ed060074e 100644 --- a/data/shares.php +++ b/data/shares.php @@ -45,8 +45,8 @@ return array( 'form' => 'advanced', ), 'movim' => array( - 'url' => '~URL~/index.php/share?url=~LINK~', - 'transform' => array('rawurlencode'), + 'url' => '~URL~/index.php/share/~LINK~', + 'transform' => array('rawurlencode', 'urlencode'), 'help' => 'https://github.com/edhelas/movim', 'form' => 'advanced', ), -- cgit v1.2.3