Пошаговое руководство
Откройте его и найдите начало функции the_editor():
2
3
4
$rows = get_option('default_post_edit_rows');
if (($rows < 3) || ($rows > 100))
$rows = 12;
2
3
4
//-->;
<?php }
2
3
4
5
6
7
8
// Convert back to HTML - doesn't work otherwise
$content = html_entity_decode($content);
// Include, Initialise and Show Spaw-Editor
include('../spaw2/spaw.inc.php');
$spaw_content = new SpawEditor($id, $content);
$spaw_content->show();
}
.
Не забудьте удалить каталог demo, который входит в поставку SPAW, иначе любой желающий будет иметь доступ к файлам, хранящимся в файл-менеджере.![]()
Июн 04
1
function the_editor($content, $id = 'content', $prev_id = 'title') {
1
<?php endif; ?>
1
function the_editor($content, $id = 'content', $prev_id = 'title') {

июня 4, 2008 в 16:41