Check the new Tutorial subforum with helpfull guides and tutorials for modifications and tweaks.
0 Members and 1 Guest are viewing this topic.
"cat_description" => htmlspecialchars(format_text($cat_cache[$cat_id]['cat_description'], 1, 0, 1)),
"cat_second_description" => htmlspecialchars(format_text($cat_cache[$cat_id]['cat_second_description'], 1, 0, 1)),
$sql = "SELECT cat_id, cat_name, cat_description,
cat_description,
cat_second_description,
$rss_desc = format_rss_html($cat_cache[$cat_id]['cat_description']);
$rss_desc = format_rss_html($cat_cache[$cat_id]['cat_description']."\n".$cat_cache[$cat_id]['cat_second_description']);
$cat_description = un_htmlspecialchars(trim($HTTP_POST_VARS['cat_description']));
$cat_second_description = un_htmlspecialchars(trim($HTTP_POST_VARS['cat_second_description']));
$sql = "INSERT INTO ".CATEGORIES_TABLE."
(cat_name, cat_description,
(cat_name, cat_description, cat_second_description,
('$cat_name', '$cat_description',
('$cat_name', '$cat_description', '$cat_second_description',
show_textarea_row($lang['field_description_ext'], "cat_description", "", $textarea_size);
show_textarea_row("Second ".$lang['field_description_ext'], "cat_second_description", "", $textarea_size);
$cat_description = strip_tags(un_htmlspecialchars(trim($HTTP_POST_VARS['cat_description'])), '<div><p><a><strong><bold><i><em><u><h1><h2><h3><h4><h5><h6><span>');
$cat_second_description = strip_tags(un_htmlspecialchars(trim($HTTP_POST_VARS['cat_second_description'])), '<div><p><a><strong><bold><i><em><u><h1><h2><h3><h4><h5><h6><span>');
$sql = "UPDATE ".CATEGORIES_TABLE." SET cat_name = '$cat_name', cat_description = '$cat_description',
$sql = "UPDATE ".CATEGORIES_TABLE." SET cat_name = '$cat_name', cat_description = '$cat_description', cat_second_description = '$cat_second_description',
$cat_id = (isset($HTTP_POST_VARS['cat_id'])) ? intval($HTTP_POST_VARS['cat_id']) : intval($HTTP_GET_VARS['cat_id']); $sql = "SELECT cat_name, cat_description,
$cat_id = (isset($HTTP_POST_VARS['cat_id'])) ? intval($HTTP_POST_VARS['cat_id']) : intval($HTTP_GET_VARS['cat_id']); $sql = "SELECT cat_name, cat_description, cat_second_description,
show_textarea_row($lang['field_description_ext'], "cat_description", $cat_row['cat_description'], $textarea_size);
show_textarea_row("Second ".$lang['field_description_ext'], "cat_second_description", $cat_row['cat_second_description'], $textarea_size);
if (isset($HTTP_GET_VARS['closeall'])) { $open_all = false; $GLOBALS['map'] = array(); } $sql = "SELECT cat_id, cat_name, cat_description,
if (isset($HTTP_GET_VARS['closeall'])) { $open_all = false; $GLOBALS['map'] = array(); } $sql = "SELECT cat_id, cat_name, cat_description, cat_second_description,
if (!$show_all_subcats && !$open_all) { $where_sql = "WHERE cat_parent_id IN (".implode(", ", $GLOBALS['map']).")"; } $sql = "SELECT cat_id, cat_name, cat_description,
if (!$show_all_subcats && !$open_all) { $where_sql = "WHERE cat_parent_id IN (".implode(", ", $GLOBALS['map']).")"; } $sql = "SELECT cat_id, cat_name, cat_description, cat_second_description,
"cat_description" => htmlspecialchars(format_text($cat_cache[$category_id]['cat_description'], 1)),
"cat_second_description" => htmlspecialchars(format_text($cat_cache[$category_id]['cat_second_description'], 1)),
<br>{cat_description} (Hits: {cat_hits}) <hr size="1" />
<br>{cat_description} (Hits: {cat_hits}) <hr size="1" /> {cat_second_description} <hr size="1" />
{if cat_description}<span class="smalltext">{cat_description}</span><br />{endif cat_description}
{if cat_second_description}<span class="smalltext">{cat_second_description}</span><br />{endif cat_second_description}
ALTER TABLE 4images_categoriesADD COLUMN cat_second_description VARCHAR(255) NOT NULL;