From 0df91fd9a2a78d12378fcb7d9f7cba33f33e845e Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Tue, 4 Jan 2011 14:46:08 +0100 Subject: Manage user registrations in REGISTER_APPROVE mode. --- include/main.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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); + }); }) ; } -- cgit v1.2.3