Changeset 1885 in ExiteCMS for trunk/administration/forums.php


Ignore:
Timestamp:
10/20/08 00:59:18 (4 years ago)
Author:
hverton
Message:

removed the v7.1 batch upgrade module. Not needed for v7.2
fixed lots of small issues that surfaced while testing installation and upgrades of v7.2
several small layout and consistency fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/administration/forums.php

    r1491 r1885  
    357357        $variables['cat_opts'] = array(); 
    358358        $result2 = dbquery("SELECT * FROM ".$db_prefix."forums WHERE forum_cat='0' ORDER BY forum_order"); 
     359        // disable the forum add/edit panel if no categories are present 
     360        if (dbrows($result2) == 0) $variables['show_forum_panel'] = false; 
    359361        while ($data2 = dbarray($result2)) { 
    360362            $data2['selected'] = ($action == "edit" && $t == "forum" && $data2['forum_id'] == $forum_cat); 
Note: See TracChangeset for help on using the changeset viewer.