mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
issue 1368 should not overwrite editor_sequence
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10174 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b70390e4d0
commit
1311154be8
1 changed files with 6 additions and 2 deletions
|
|
@ -195,6 +195,10 @@
|
|||
* Editor's default options
|
||||
**/
|
||||
// Option setting to allow file upload
|
||||
if($upload_target_srl)
|
||||
{
|
||||
$option->editor_sequence = $upload_target_srl;
|
||||
}
|
||||
if(!$option->allow_fileupload) $allow_fileupload = false;
|
||||
else $allow_fileupload = true;
|
||||
// content_style setting
|
||||
|
|
@ -248,8 +252,8 @@
|
|||
**/
|
||||
if($option->editor_sequence) $editor_sequence = $option->editor_sequence;
|
||||
else {
|
||||
if(!$GLOBALS['_editor_sequence_']) $GLOBALS['_editor_sequence_'] = 1;
|
||||
$editor_sequence = $GLOBALS['_editor_sequence_'] ++;
|
||||
if(!$_SESSION['_editor_sequence_']) $_SESSION['_editor_sequence_'] = 1;
|
||||
$editor_sequence = $_SESSION['_editor_sequence_'] ++;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue