Topic: Simple question
Im working on a punbb mod and im editing the Index.php since it would fit perfectly on what im making so anyways i came across some code and want to know if it is important.... like do i need to keep it....
// Show what the current user can and cannot do
if ($cur_user['status'] > PUN_USER)
$perms = $lang_index['You'].' <b>'.$lang_index['can'].'</b> '.$lang_index['post replies'].'<br>'.$lang_index['You'].' <b>'.$lang_index['can'].'</b> '.$lang_index['post topics'].'<br>'.$lang_index['You'].' <b>'.$lang_index['can'].'</b> '.$lang_index['edit posts'].'<br>'.$lang_index['You'].' <b>'.$lang_index['can'].'</b> '.$lang_index['delete posts'].'<br>'.$lang_index['You'].' <b>'.$lang_index['can'].'</b> '.$lang_index['delete topics']."\n";
else if (!$cookie['is_guest'])
{
$perms = $lang_index['You'].' <b>'. (($pun_config['p_users_post'] == '1') ? $lang_index['can'] : $lang_index['cannot']) .'</b> '.$lang_index['post replies'].'<br>';
$perms .= "\n\t\t\t\t\t\t".$lang_index['You'].' <b>'. (($pun_config['p_users_post_topic'] == '1') ? $lang_index['can'] : $lang_index['cannot']) .'</b> '.$lang_index['post topics'].'<br>';
$perms .= "\n\t\t\t\t\t\t".$lang_index['You'].' <b>'. (($pun_config['p_users_edit_post'] == '1') ? $lang_index['can'] : $lang_index['cannot']) .'</b> '.$lang_index['edit posts'].'<br>';
$perms .= "\n\t\t\t\t\t\t".$lang_index['You'].' <b>'. (($pun_config['p_users_del_post'] == '1') ? $lang_index['can'] : $lang_index['cannot']) .'</b> '.$lang_index['delete posts'].'<br>';
$perms .= "\n\t\t\t\t\t\t".$lang_index['You'].' <b>'. (($pun_config['p_users_del_topic'] == '1') ? $lang_index['can'] : $lang_index['cannot']) .'</b> '.$lang_index['delete topics'].'<br>'."\n";
}
else
{
$perms = $lang_index['You'].' <b>'. (($pun_config['p_guests_post'] == '1') ? $lang_index['can'] : posts'].'<br>'.$lang_index['You'].' <b>'.$lang_index['cannot'].'</b> '.$lang_index['delete pos$lang_index['cannot']) .'</b> '.$lang_index['post replies'].'<br>';
$perms .= "\n\t\t\t\t\t\t".$lang_index['You'].' <b>'. (($pun_config['p_guests_post_topic'] == '1') ? $lang_index['can'] : $lang_index['cannot']) .'</b> '.$lang_index['post topics'].'<br>';
$perms .= "\n\t\t\t\t\t\t".$lang_index['You'].' <b>'.$lang_index['cannot'].'</b> '.$lang_index['edit ts'].'<br>'.$lang_index['You'].' <b>'.$lang_index['cannot'].'</b> '.$lang_index['delete topics']."\n";
}