Guest User

oscommerce ckeditor

a guest
Mar 14th, 2011
158
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if ($languages[$i]['code'] == DEFAULT_LANGUAGE) {
  2.   echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])),' class="ckeditor"');
  3. }
  4. else {
  5.   echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])));
  6. }
RAW Paste Data