$contents[] = array('text' => HTML_BR . $product_categories_string);
     $contents[] = array('align' => 'center', 'text' => HTML_BR . olc_image_submit('button_delete.gif', IMAGE_DELETE) . BLANK . HTML_A_START . olc_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id) . '">' . olc_image_button('button_cancel.gif', IMAGE_CANCEL) . HTML_A_END);
     break;
 case 'move_product':
     $heading[] = array('text' => HTML_B_START . TEXT_INFO_HEADING_MOVE_PRODUCT . HTML_B_END);
     $contents = array('form' => olc_draw_form('products', FILENAME_CATEGORIES, 'action=move_product_confirm&cPath=' . $cPath) . olc_draw_hidden_field('products_id', $pInfo->products_id));
     $contents[] = array('text' => sprintf(TEXT_MOVE_PRODUCTS_INTRO, $pInfo->products_name));
     $contents[] = array('text' => HTML_BR . TEXT_INFO_CURRENT_CATEGORIES . '<br/><b>' . olc_output_generated_category_path($pInfo->products_id, 'product') . HTML_B_END);
     $contents[] = array('text' => HTML_BR . sprintf(TEXT_MOVE, $pInfo->products_name) . HTML_BR . olc_draw_pull_down_menu('move_to_category_id', olc_get_category_tree(), $current_category_id));
     $contents[] = array('align' => 'center', 'text' => HTML_BR . olc_image_submit('button_move.gif', IMAGE_MOVE) . BLANK . HTML_A_START . olc_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id) . '">' . olc_image_button('button_cancel.gif', IMAGE_CANCEL) . HTML_A_END);
     break;
 case 'copy_to':
     $heading[] = array('text' => HTML_B_START . TEXT_INFO_HEADING_COPY_TO . HTML_B_END);
     $contents = array('form' => olc_draw_form('copy_to', FILENAME_CATEGORIES, 'action=copy_to_confirm&cPath=' . $cPath) . olc_draw_hidden_field('products_id', $pInfo->products_id));
     $contents[] = array('text' => TEXT_INFO_COPY_TO_INTRO);
     $categories_contained = olc_output_generated_category_path($pInfo->products_id, 'product');
     $contents[] = array('text' => HTML_BR . TEXT_INFO_CURRENT_CATEGORIES . '<br/><b>' . $categories_contained . HTML_B_END);
     if (QUICKLINK_ACTIVATED == TRUE_STRING_S) {
         $contents[] = array('text' => '<hr noshade="noshade"/>');
         $contents[] = array('text' => HTML_B_START . TEXT_MULTICOPY . '</b><br/>' . TEXT_MULTICOPY_DESC);
         $cat_tree = olc_get_category_tree();
         $tree = EMPTY_STRING;
         for ($i = 0; $n = sizeof($cat_tree), $i < $n; $i++) {
             $cat_tree_text = $cat_tree[$i]['text'];
             //$tree .='<input type="checkbox" name="cat_ids[]" value="'.$cat_tree[$i]['id'].'"><font size="1">'
             $tree .= olc_draw_checkbox_field('cat_ids[]', $cat_tree[$i]['id'], !(strpos($categories_contained, str_replace(HTML_NBSP, EMPTY_STRING, $cat_tree_text)) === false)) . $cat_tree_text . '</font><br/>';
         }
         $contents[] = array('text' => $tree . '<br/><hr noshade="noshade"/>');
         $contents[] = array('text' => HTML_B_START . TEXT_SINGLECOPY . '</b><br/>' . TEXT_SINGLECOPY_DESC);
     }
     $contents[] = array('text' => HTML_BR . TEXT_CATEGORIES . HTML_BR . olc_draw_pull_down_menu('categories_id', olc_get_category_tree(), $current_category_id));
}
$dir00 = DIR_FS_CATALOG . TEMPLATE_PATH . CURRENT_TEMPLATE_MODULE;
$languages = olc_get_languages();
$text_new_or_edit = $_GET['action'] == 'new_category_ACD' ? TEXT_INFO_HEADING_NEW_CATEGORY : TEXT_INFO_HEADING_EDIT_CATEGORY;
$sep = HTML_HR;
?>
      <tr>
        <td>
	        <table border="0" width="100%" cellspacing="0" cellpadding="0">
	          <tr>
	            <td class="pageHeading">
								<?php 
echo '
	<script language="javascript" src="includes/admin_global_scripts.js.php"></script>
	';
define('AJAX_TITLE', sprintf($text_new_or_edit, olc_output_generated_category_path($current_category_id)));
echo AJAX_TITLE;
?>
	            </td>
	          </tr>
	        </table>
	      </td>
      </tr>
      <tr>
        <td><?php 
echo $sep;
?>
</td>
      </tr>

      <?php