mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Correct inline editing of userclasses in Admin -> Users and re-ordered userclasses in Admin -> Userclasses. autocomplete nowswitched off in usersettings.php
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
|
||||
if(empty($_POST['content']))
|
||||
if(empty($_POST['content']) && empty($_GET['debug']))
|
||||
{
|
||||
header('Content-Length: 0');
|
||||
exit;
|
||||
@@ -41,8 +41,13 @@ class e107TinyMceParser
|
||||
if(!empty($_GET['debug']) && getperms('0'))
|
||||
{
|
||||
$debug = true; // For future use.
|
||||
// $_POST['content'] = '';
|
||||
// $_POST['mode'] = $_GET['mode'];
|
||||
$text = <<<TEMPL
|
||||
|
||||
[html][code]Something goes here [b]bold print[/b][/code][/html]
|
||||
|
||||
TEMPL;
|
||||
$_POST['content'] = $text;
|
||||
$_POST['mode'] = 'tohtml';
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -62,6 +67,8 @@ class e107TinyMceParser
|
||||
if($debug == true)
|
||||
{
|
||||
print_a($html);
|
||||
echo "<hr />";
|
||||
echo $html;
|
||||
}
|
||||
elseif($this->gzipCompression == true)
|
||||
{
|
||||
|
Reference in New Issue
Block a user