Fix more entry sorting
This commit is contained in:
@ -515,6 +515,7 @@ switch ($serendipity['GET']['adminAction']) {
|
||||
NULL,
|
||||
'write'
|
||||
);
|
||||
usort($folders, 'serendipity_sortPath');
|
||||
?>
|
||||
<div class="image_directory_create"><strong><?php echo CREATE_DIRECTORY ?></strong></div>
|
||||
<div class="image_directory_create_desc"><?php echo CREATE_DIRECTORY_DESC ?></div>
|
||||
@ -557,7 +558,7 @@ switch ($serendipity['GET']['adminAction']) {
|
||||
NULL,
|
||||
'write'
|
||||
);
|
||||
|
||||
usort($folders, 'serendipity_sortPath');
|
||||
?>
|
||||
<div class="image_directory_list"><?php echo DIRECTORIES_AVAILABLE; ?></div>
|
||||
<br />
|
||||
@ -594,6 +595,7 @@ switch ($serendipity['GET']['adminAction']) {
|
||||
NULL,
|
||||
'write'
|
||||
);
|
||||
usort($folders, 'serendipity_sortPath');
|
||||
|
||||
$form_hidden = '';
|
||||
if (isset($image_selector_addvars) && is_array($image_selector_addvars)) {
|
||||
|
@ -532,7 +532,7 @@ function serendipity_emit_htmlarea_code($item, $jsname, $spawnMulti = false) {
|
||||
config<?php echo $jsname; ?> = editor<?php echo $jsname; ?>.config;
|
||||
config<?php echo $jsname; ?>.registerButton('image_selector', '<?PHP echo MANAGE_IMAGES; ?>', '<?php echo $serendipity['serendipityHTTPPath']; ?>htmlarea/images/ed_s9yimage.gif', false,
|
||||
function(editor, id) {
|
||||
window.open('<?php echo $serendipity['serendipityHTTPPath']; ?>serendipity_admin_image_selector.php?serendipity[textarea]=<?php echo $jsname; ?>', 'ImageSel', 'width=800,height=600,toolbar=no,scrollbars=1,scrollbars,resize=1,resizable=1');
|
||||
window.open('<?php echo $serendipity['serendipityHTTPPath']; ?>serendipity_admin_image_selector.php?serendipity[textarea]=<?php echo $jsname . ($spawnMulti ? "' + editor._textArea.id + '" : ''); ?>', 'ImageSel', 'width=800,height=600,toolbar=no,scrollbars=1,scrollbars,resize=1,resizable=1');
|
||||
editorref = editor<?php echo $jsname; ?>;
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user