mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Added custom configuration for FCKeditor
SVN revision: 1899
This commit is contained in:
parent
9be88b967f
commit
8ac530fbcd
@ -9483,6 +9483,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
rsprintf("{\n");
|
rsprintf("{\n");
|
||||||
rsprintf(" var oFCKeditor = new FCKeditor('Text', '100%%', '500');\n");
|
rsprintf(" var oFCKeditor = new FCKeditor('Text', '100%%', '500');\n");
|
||||||
rsprintf(" oFCKeditor.BasePath = '../fckeditor/';\n");
|
rsprintf(" oFCKeditor.BasePath = '../fckeditor/';\n");
|
||||||
|
rsprintf(" oFCKeditor.Config['CustomConfigurationsPath'] = '../fckelog.js';\n");
|
||||||
rsprintf(" oFCKeditor.ReplaceTextarea();\n");
|
rsprintf(" oFCKeditor.ReplaceTextarea();\n");
|
||||||
rsprintf("}\n");
|
rsprintf("}\n");
|
||||||
rsprintf("</script>\n\n");
|
rsprintf("</script>\n\n");
|
||||||
@ -25933,7 +25934,11 @@ void server_loop(void)
|
|||||||
send(_sock, return_buffer, return_length, 0);
|
send(_sock, return_buffer, return_length, 0);
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
eprintf("==== Return ================================\n");
|
eprintf("==== Return ================================\n");
|
||||||
eputs(return_buffer);
|
if (chkext(str, ".gif") || chkext(str, ".jpg")
|
||||||
|
|| chkext(str, ".png") || chkext(str, ".ico") || return_length > 10000)
|
||||||
|
eprintf("\n<%d bytes of %s>\n\n", return_length, str);
|
||||||
|
else
|
||||||
|
eputs(return_buffer);
|
||||||
eprintf("\n\n");
|
eprintf("\n\n");
|
||||||
}
|
}
|
||||||
goto finished;
|
goto finished;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user