Ejemplo n.º 1
0
     // Display VIEW:
     $AdminUI->disp_view('comments/views/_trash_comments.view.php');
     // End payload block:
     $AdminUI->disp_payload_end();
     break;
 case 'list':
 default:
     // Begin payload block:
     $AdminUI->disp_payload_begin();
     $table_browse_template = $AdminUI->get_template('table_browse');
     echo $table_browse_template['table_start'];
     echo $table_browse_template['left_col_start'];
     if (!empty($process_action) && $process_action == 'mass_delete' && !empty($mass_type)) {
         // Mass deleting of the comments
         comment_mass_delete_process($mass_type, $deletable_comments_query);
         $CommentList->reset();
     }
     // Display VIEW:
     if ($tab3 == 'fullview') {
         $AdminUI->disp_view('comments/views/_browse_comments.view.php');
     } else {
         $AdminUI->disp_view('comments/views/_comment_list_table.view.php');
     }
     echo $table_browse_template['left_col_end'];
     echo $table_browse_template['right_col_start'];
     // Display VIEW:
     $AdminUI->disp_view('comments/views/_comments_sidebar.view.php');
     echo $table_browse_template['right_col_end'];
     echo $table_browse_template['table_end'];
     // End payload block:
     $AdminUI->disp_payload_end();