aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-01-04 14:46:08 +0100
committerfabrixxm <fabrix.xm@gmail.com>2011-01-04 14:46:08 +0100
commit0df91fd9a2a78d12378fcb7d9f7cba33f33e845e (patch)
treece6cd41ef4317d2d12773051530e1abc43154cae /include
parent2bf99df385a54c3a8a449b9eda1d2a9877465dd1 (diff)
downloadvolse-hubzilla-0df91fd9a2a78d12378fcb7d9f7cba33f33e845e.tar.gz
volse-hubzilla-0df91fd9a2a78d12378fcb7d9f7cba33f33e845e.tar.bz2
volse-hubzilla-0df91fd9a2a78d12378fcb7d9f7cba33f33e845e.zip
Manage user registrations in REGISTER_APPROVE mode.
Diffstat (limited to 'include')
-rw-r--r--include/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/main.js b/include/main.js
index ef6b059cc..0fe20955d 100644
--- a/include/main.js
+++ b/include/main.js
@@ -77,8 +77,12 @@
if(mail == 0) { mail = ''; }
$('#mail-update').html(mail);
var intro = $(this).find('intro').text();
+ var register = $(this).find('register').text();
if(intro == 0) { intro = ''; }
+ if(register != 0 && intro != '') { intro = intro+'/'+register; }
+ if(register != 0 && intro == '') { intro = '0/'+register; }
$('#notify-update').html(intro);
+
});
}) ;
}