remove unused code and whitespace

This commit is contained in:
Mario Vavti 2016-05-09 12:09:04 +02:00
parent a3e94591bc
commit 7aeff7505b
2 changed files with 1 additions and 11 deletions

View File

@ -1162,16 +1162,6 @@ function status_editor($a, $x, $popup = false) {
else
$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']) {
require_once('include/identity.php');
$id_select = identity_selector();

View File

@ -8,7 +8,7 @@
{{/if}}
<div id="profile-jot-wrapper">
{{if $parent}}
<input type="hidden" name="parent" value="{{$parent}}" />
<input type="hidden" name="parent" value="{{$parent}}" />
{{/if}}
<input type="hidden" name="obj_type" value="{{$ptyp}}" />
<input type="hidden" name="profile_uid" value="{{$profile_uid}}" />