Changeset 2089 in ExiteCMS for trunk/administration/download_cats.php


Ignore:
Timestamp:
12/03/08 17:29:31 (3 years ago)
Author:
WanWizard
Message:

added bbcode editor and bbcode parsing for download and download category descriptions
fixed a few relative link issues in the news main module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/administration/download_cats.php

    r2033 r2089  
    7070    $cat_name = stripinput($_POST['cat_name']); 
    7171    $cat_locale = isset($_POST['cat_locale']) ? $_POST['cat_locale'] : ""; 
    72     $cat_description = stripinput($_POST['cat_description']); 
     72    $cat_description = trim(stripinput($_POST['cat_description'])); 
    7373    $cat_access = isNum($_POST['cat_access']) ? $_POST['cat_access'] : "0"; 
    7474    $cat_image = stripinput($_POST['cat_image']); 
     
    237237} 
    238238 
     239// load the hoteditor if needed 
     240if ($settings['hoteditor_enabled'] && (!iMEMBER || $userdata['user_hoteditor'])) { 
     241    define('LOAD_HOTEDITOR', true); 
     242} 
     243 
    239244// panel definitions 
    240245$template_panels[] = array('type' => 'body', 'name' => 'admin.download_cats', 'title' => $title, 'template' => 'admin.download_cats.tpl', 'locale' => "admin.downloads"); 
Note: See TracChangeset for help on using the changeset viewer.