fix mimeselect on edit
This commit is contained in:
parent
0387fa10c9
commit
c3d5351515
@ -73,7 +73,7 @@ function editblock_content(&$a) {
|
|||||||
if(get_config('system','page_mimetype'))
|
if(get_config('system','page_mimetype'))
|
||||||
$mimeselect = '<input type="hidden" name="mimetype" value="' . $mimetype . '" />';
|
$mimeselect = '<input type="hidden" name="mimetype" value="' . $mimetype . '" />';
|
||||||
else
|
else
|
||||||
$mimeselect = mimetype_select($item[0]['uid'],$mimetype);
|
$mimeselect = mimetype_select($itm[0]['uid'],$mimetype);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ function editwebpage_content(&$a) {
|
|||||||
if(get_config('system','page_mimetype'))
|
if(get_config('system','page_mimetype'))
|
||||||
$mimeselect = '<input type="hidden" name="mimetype" value="' . $mimetype . '" />';
|
$mimeselect = '<input type="hidden" name="mimetype" value="' . $mimetype . '" />';
|
||||||
else
|
else
|
||||||
$mimeselect = mimetype_select($item[0]['uid'],$mimetype);
|
$mimeselect = mimetype_select($itm[0]['uid'],$mimetype);
|
||||||
|
|
||||||
$layout = get_config('system','page_layout');
|
$layout = get_config('system','page_layout');
|
||||||
if($layout)
|
if($layout)
|
||||||
|
Reference in New Issue
Block a user