aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_request.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-05-23 11:39:57 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-05-23 11:39:57 +0200
commite1107b55c6715d131ca808890ce51c6301e56ccc (patch)
treefe082a84a1b20b68141e3b1ffdac697051ae73b6 /mod/dfrn_request.php
parent3ea145fae7defaf959b04797afc8482bd0190352 (diff)
downloadvolse-hubzilla-e1107b55c6715d131ca808890ce51c6301e56ccc.tar.gz
volse-hubzilla-e1107b55c6715d131ca808890ce51c6301e56ccc.tar.bz2
volse-hubzilla-e1107b55c6715d131ca808890ce51c6301e56ccc.zip
add info() function. Works like notice() but show messages in a div with class info-message.
update code to use info() instead of notice() when appropriate (non-error message) add info-message class style in themes
Diffstat (limited to 'mod/dfrn_request.php')
-rw-r--r--mod/dfrn_request.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php
index 8b44d22ba..537a7a497 100644
--- a/mod/dfrn_request.php
+++ b/mod/dfrn_request.php
@@ -165,7 +165,7 @@ function dfrn_request_post(&$a) {
}
if($r) {
- notice( t("Introduction complete.") . EOL);
+ info( t("Introduction complete.") . EOL);
}
/**
@@ -424,7 +424,7 @@ function dfrn_request_post(&$a) {
// This notice will only be seen by the requestor if the requestor and requestee are on the same server.
if(! $failed)
- notice( t('Your introduction has been sent.') . EOL );
+ info( t('Your introduction has been sent.') . EOL );
// "Homecoming" - send the requestor back to their site to record the introduction.
@@ -478,7 +478,7 @@ function dfrn_request_content(&$a) {
if(x($_GET,'dfrn_url')) {
if(! local_user()) {
- notice( t("Please login to confirm introduction.") . EOL );
+ info( t("Please login to confirm introduction.") . EOL );
/* setup the return URL to come back to this page if they use openid */
@@ -650,4 +650,4 @@ function dfrn_request_content(&$a) {
}
return; // Somebody is fishing.
-}} \ No newline at end of file
+}}