All pastes #947906 Raw Edit

Someone

public php v1 · immutable
·published 2008-03-18 20:05 UTC
rendered paste body
                $this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Global Permissions", "Restricting what this group can do" );                $this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Can view board?</b>" ,                                                                                                  $this->ipsclass->adskin->form_yes_no("g_view_board", $group['g_view_board'] )                                                                             )      );                $this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Can view OFFLINE board?</b>" ,                                                                                                  $this->ipsclass->adskin->form_yes_no("g_access_offline", $group['g_access_offline'] )                                                                             )      );                                $this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Can view member profiles and the member list?</b>" ,                                                                                                  $this->ipsclass->adskin->form_yes_no("g_mem_info", $group['g_mem_info'] )                                                                             )      );                                                                                             $this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Can view other members topics?</b>" ,                                                                                                  $this->ipsclass->adskin->form_yes_no("g_other_topics", $group['g_other_topics'] )                                                                             )      );                $this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Can use search?</b>" ,                                                                                                  $this->ipsclass->adskin->form_yes_no("g_use_search", $group['g_use_search'] )                                                                             )      );                                                                                             $this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Number of seconds for search flood control</b><br>Stops search abuse, enter 0 or leave blank for no flood control" ,                                                                                                  $this->ipsclass->adskin->form_input("g_search_flood", $group['g_search_flood'] )                                                                             )      );                                                                                             list( $limit, $flood ) = explode( ":", $group['g_email_limit'] );                                                                                                                                         $this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Can email members from the board?</b><br />Leave bottom section blank to remove limits $guest_legend</b>" ,                                                                                                  $this->ipsclass->adskin->form_yes_no("g_email_friend", $group['g_email_friend'] )                                                                                                 ."<br />Only allow ". $this->ipsclass->adskin->form_simple_input("join_limit", $limit, 2 )." emails in a 24hr period"                                                                                                 ."<br />...and only allow 1 email every ".$this->ipsclass->adskin->form_simple_input("join_flood", $flood, 2 )." minutes"                                                                             )      );                                                                                             $this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Can edit own profile info?$guest_legend" ,                                                                                                  $this->ipsclass->adskin->form_yes_no("g_edit_profile", $group['g_edit_profile'] )                                                                             )      );                                                                                                                                                    $this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Can use PM system?$guest_legend" ,                                                                                                  $this->ipsclass->adskin->form_yes_no("g_use_pm", $group['g_use_pm'] )                                                                             )      );                                                                                             $this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Max. Number users allowed to mass PM?$guest_legend<br>(Enter 0 or leave blank to disable mass PM)" ,                                                                                                  $this->ipsclass->adskin->form_input("g_max_mass_pm", $group['g_max_mass_pm'] )                                                                             )      );                                                                                             $this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Max. Number of storable messages?$guest_legend" ,                // invite                $this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Can invite other users to the forum?$guest_legend<br>Allows the user to access the invite user section in UserCP." ,                                                                                                $this->ipsclass->adskin->form_yes_no("g_caninvite", $group['g_caninvite'] )                                                                        )      );                // end invite                                                                                                  $this->ipsclass->adskin->form_input("g_max_messages", $group['g_max_messages'] )                                                                             )      );                $this->ipsclass->html .= $this->ipsclass->adskin->end_table();