diff --git a/superblock/superblock.php b/superblock/superblock.php index 1462c184..c86c6aad 100755 --- a/superblock/superblock.php +++ b/superblock/superblock.php @@ -6,7 +6,7 @@ * Description: block people * Version: 1.0 * Author: Mike Macgirvin - * + * */ function superblock_install() { @@ -36,29 +36,34 @@ function superblock_uninstall() { function superblock_addon_settings(&$a,&$s) { - if(! local_user()) + if(! local_user()) { return; + } - /* Add our stylesheet to the page so we can make our settings look nice */ - - $a->page['htmlhead'] .= '' . "\r\n"; + /* Add our stylesheet to the page so we can make our settings look nice */ + $a->page['htmlhead'] .= '' . "\r\n"; $words = get_pconfig(local_user(),'system','blocked'); - if(! $words) + if(! $words) { $words = ''; + } - $s .= '
'; - $s .= '

' . t('"Superblock" Settings') . '

'; - $s .= '
'; - $s .= ''; - $s .= ''; - $s .= '
'; + $s .= ''; + $s .= '

' . t('"Superblock"') . '

'; + $s .= '
'; + $s .= ''; + $s .= '
'; return; - } function superblock_addon_settings_post(&$a,&$b) {