1
0
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:
Cameron
2015-05-15 13:07:26 -07:00
parent fc4f9dc712
commit 2b436ded30
5 changed files with 37 additions and 17 deletions

View File

@@ -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)
{