support for vicci simplified portal
authorsmbaker <smbaker@fc8clean.lan>
Thu, 4 Oct 2012 01:20:42 +0000 (18:20 -0700)
committersmbaker <smbaker@fc8clean.lan>
Thu, 4 Oct 2012 01:20:42 +0000 (18:20 -0700)
modules/planetlab.module

index 95647a2..3fd2c5b 100644 (file)
@@ -130,7 +130,7 @@ function planetlab_block($op = 'list', $delta = 0, $edit = array()) {
       $block['content'] .= p( href (l_reset_password(),"Forgot your password?") );
       $block['content'] .= p( href(l_person_register(),"Create an account") );
       $block['content'] .= p( href(l_site_register(),"File a site registration") );
-    } else {
+    } else if (plc_advanced()) {
       $block['subject'] = truncate($plc->person['email'],30);
 
       //////////////////// Logout