From 139a86dbd395f4601b29b9af97ac8ea190cce9f9 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 19 Mar 2012 06:48:11 -0700 Subject: some openid fixes, use identity url from openid server and normalise it. --- include/text.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index a0ff1600e..2956c9467 100644 --- a/include/text.php +++ b/include/text.php @@ -1355,3 +1355,6 @@ function file_tag_unsave_file($uid,$item,$file) { return true; } +function normalise_openid($s) { + return trim(str_replace(array('http://','https://'),array('',''),$s),'/'); +} -- cgit v1.2.3 From e9b33a6f1f42899a4d46cb23421085cdc2bbbaa6 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 19 Mar 2012 21:59:06 +0000 Subject: modified: include/text.php deleted: images/diaspora.png deleted: images/smiley-bangheaddesk.gif deleted: images/smiley-beard.png deleted: images/smiley-shaka.gif deleted: images/smiley-whitebeard.png Removed selected smiley per Mike's request. Also removed deprecated smileys that were just commented out. --- include/text.php | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index 2956c9467..ed37326df 100644 --- a/include/text.php +++ b/include/text.php @@ -709,27 +709,20 @@ function smilies($s, $sample = false) { '</3', '<\\3', ':-)', -// ':)', ';-)', -// ';)', ':-(', -// ':(', ':-P', -// ':P', ':-"', ':-"', ':-x', ':-X', ':-D', -// ':D', '8-|', '8-O', ':-O', '\\o/', 'o.O', 'O.o', - '\\.../', - '\\ooo/', ":'(", ":-!", ":-/", @@ -742,9 +735,6 @@ function smilies($s, $sample = false) { ':headdesk', '~friendika', '~friendica', -// 'Diaspora*' - ':beard', - ':whitebeard' ); @@ -753,27 +743,20 @@ function smilies($s, $sample = false) { '</3', '<\\3', ':-)', -// ':)', ';-)', -// ';)', ':-(', -// ':(', ':-P', -// ':P', ':-\', ':-\', ':-x', ':-X', ':-D', -// ':D', '8-|', '8-O', ':-O', '\\o/', 'o.O', 'O.o', - '\\.../', - '\\ooo/', ':\'(', ':-!', ':-/', @@ -783,12 +766,8 @@ function smilies($s, $sample = false) { ':homebrew', ':coffee', ':facepalm', - ':headdesk', '~friendika ~friendika', '~friendica ~friendica', -// 'DiasporaDiaspora*', - ':beard', - ':whitebeard' ); $params = array('texts' => $texts, 'icons' => $icons, 'string' => $s); -- cgit v1.2.3 From 84f8e2eaa87c90473ce79ebcd4f76f3657258f27 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 19 Mar 2012 22:32:19 +0000 Subject: modified: include/text.php Stupid bug fixed --- include/text.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index ed37326df..527f3a344 100644 --- a/include/text.php +++ b/include/text.php @@ -732,9 +732,8 @@ function smilies($s, $sample = false) { ':homebrew', ':coffee', ':facepalm', - ':headdesk', '~friendika', - '~friendica', + '~friendica' ); @@ -767,7 +766,7 @@ function smilies($s, $sample = false) { ':coffee', ':facepalm', '~friendika ~friendika', - '~friendica ~friendica', + '~friendica ~friendica' ); $params = array('texts' => $texts, 'icons' => $icons, 'string' => $s); -- cgit v1.2.3