option(s)


  
      function options_list(tabulate = false, comments_on = false)
      {
          output   = '';
          comments = array();
          comments['include_form']   = 'Includes a mini URL-form on every HTML page';
          comments['remove_scripts'] = 'Remove all sorts of client-side scripting';
          comments['accept_cookies'] = 'Accept HTTP cookies';
          comments['show_images']    = 'Show images';
          comments['show_referer']   = 'Show referring website in HTTP headers';
  
          foreach (this->flags as flag_code => flag_status)
          {
              interface = array(ucwords(str_replace('_', ' ', flag_code)),
                                 ' <input type="checkbox" name="ops[]"'
                                 . (flag_status == 1 ? ' checked="checked"' : '') . ' /> '
                                 );
              tabulate ? null : interface = array_reverse(interface);
              
  
              output .= (tabulate    ? '<tr><td class="option">'  : '') 
                       . interface[0]
                       . (tabulate    ? '</td><td class="option">' : '') 
                       . interface[1]
                       . (comments_on ? comments[flag_code]      : '') 
                       . (tabulate    ? '</td></tr>'               : '');
          }
  
          return output;
      }
  
  }
  
  ?>