mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 03:24:20 +02:00
Clean up of old preset_class code and tinymce fixes.
This commit is contained in:
@@ -25,14 +25,8 @@ include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_'.e_PAGE);
|
||||
|
||||
$e_sub_cat = 'wmessage';
|
||||
|
||||
require_once(e_HANDLER."preset_class.php");
|
||||
$pst = new e_preset;
|
||||
$pst->form = "wmform";
|
||||
$pst->page = "wmessage.php?create";
|
||||
$pst->id = "admin_wmessage";
|
||||
require_once("auth.php");
|
||||
$pst->save_preset(); // save and render result
|
||||
|
||||
require_once("auth.php");
|
||||
require_once(e_HANDLER.'form_handler.php');
|
||||
require_once(e_HANDLER.'userclass_class.php');
|
||||
require_once(e_HANDLER."ren_help.php");
|
||||
@@ -161,15 +155,6 @@ if ($action == "create" || $action == "edit")
|
||||
$row = $sql->db_Fetch();
|
||||
}
|
||||
|
||||
if ($sub_action != 'edit')
|
||||
{
|
||||
$preset = $pst->read_preset("admin_wmessage");
|
||||
if (is_array($preset))
|
||||
{
|
||||
extract($preset);
|
||||
}
|
||||
}
|
||||
|
||||
$text = "
|
||||
<div style='text-align:center'>
|
||||
<form method='post' action='".e_SELF."' id='wmform'>
|
||||
|
Reference in New Issue
Block a user