SLiCK_303, on 04 October 2011, 19:43, said:
Thanks! do you recommend any other similar contribution?
Posted 16 October 2011, 02:10
Posted 16 December 2011, 15:16
Posted 17 December 2011, 20:13
wolfapache, on 16 December 2011, 15:16, said:
Posted 18 December 2011, 06:26
Posted 18 December 2011, 06:33
Posted 21 December 2011, 12:18
Posted 21 December 2011, 12:56
click2shop, on 21 December 2011, 12:18, said:
Posted 21 December 2011, 13:36
click2shop, on 21 December 2011, 12:56, said:
Edited by click2shop, 21 December 2011, 13:41.
Posted 01 January 2012, 21:19
SLiCK_303, on 16 October 2011, 02:10, said:
Posted 06 January 2012, 13:49
Posted 06 January 2012, 18:47
click2shop, on 21 December 2011, 13:36, said:
click2shop, on 21 December 2011, 12:56, said:
Posted 18 January 2012, 08:31
giostark, on 23 January 2009, 18:41, said:
Posted 19 January 2012, 12:03
Edited by s_pauley, 19 January 2012, 12:07.
Posted 20 January 2012, 14:59
click2shop, on 20 January 2012, 14:05, said:
/// ckeditor output
function tep_draw_textarea_ckeditor($name, $width, $height, $text = '', $parameters = '', $reinsert_value = true) {
global $HTTP_GET_VARS, $HTTP_POST_VARS;
$field = '<textarea name="' . tep_output_string($name) . '" style="width:' . tep_output_string($width) . 'px;height:' . tep_output_string($width) . 'px" rows="10" cols="10" '; if (tep_not_null($parameters)) $field .= ' ' . $parameters;
$field .= '>'; if ( ($reinsert_value == true) && ( (isset($HTTP_GET_VARS[$name]) && is_string($HTTP_GET_VARS[$name])) || (isset($HTTP_POST_VARS[$name]) && is_string($HTTP_POST_VARS[$name])) ) ) {
if (isset($HTTP_GET_VARS[$name]) && is_string($HTTP_GET_VARS[$name])) {
$field .= tep_output_string_protected(stripslashes($HTTP_GET_VARS[$name]));
} elseif (isset($HTTP_POST_VARS[$name]) && is_string($HTTP_POST_VARS[$name])) {
$field .= tep_output_string_protected(stripslashes($HTTP_POST_VARS[$name]));
}
} elseif (tep_not_null($text)) {
$field .= tep_output_string_protected($text);
}
$field .= '</textarea>';
$field .= '<script type="text/javascript">
CKEDITOR.replace( \''.tep_output_string($name).'\',
{
filebrowserBrowseUrl : \''.DIR_WS_ADMIN.'ckeditor/filemanager/index.php?editor=ckeditor\',
filebrowserImageBrowseUrl : \''.DIR_WS_ADMIN.'ckeditor/filemanager/index.php?editor=ckeditor&filter=image\',
filebrowserFlashBrowseUrl : \''.DIR_WS_ADMIN.'ckeditor/filemanager/index.php?editor=ckeditor&filter=flash\',
});
</script>';
return $field;
}
Edited by bassmaga, 20 January 2012, 15:02.