remove unused code and whitespace
This commit is contained in:
parent
a3e94591bc
commit
7aeff7505b
@ -1162,16 +1162,6 @@ function status_editor($a, $x, $popup = false) {
|
|||||||
else
|
else
|
||||||
$layoutselect = '<input type="hidden" name="layout_mid" value="' . $layout . '" />';
|
$layoutselect = '<input type="hidden" name="layout_mid" value="' . $layout . '" />';
|
||||||
|
|
||||||
/*
|
|
||||||
$layoutselect = '';
|
|
||||||
if(array_key_exists('layout', $x) && $x['layout']) {
|
|
||||||
if($x['layout'] === 'choose') {
|
|
||||||
$layoutselect = layout_select($x['profile_uid']);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
$layoutselect = '<input type="hidden" name="layout_mid" value="' . $x['layout'] . '" />';
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
if(array_key_exists('channel_select',$x) && $x['channel_select']) {
|
if(array_key_exists('channel_select',$x) && $x['channel_select']) {
|
||||||
require_once('include/identity.php');
|
require_once('include/identity.php');
|
||||||
$id_select = identity_selector();
|
$id_select = identity_selector();
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
<div id="profile-jot-wrapper">
|
<div id="profile-jot-wrapper">
|
||||||
{{if $parent}}
|
{{if $parent}}
|
||||||
<input type="hidden" name="parent" value="{{$parent}}" />
|
<input type="hidden" name="parent" value="{{$parent}}" />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<input type="hidden" name="obj_type" value="{{$ptyp}}" />
|
<input type="hidden" name="obj_type" value="{{$ptyp}}" />
|
||||||
<input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
|
<input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
|
||||||
|
Reference in New Issue
Block a user