aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-05-09 12:09:04 +0200
committerMario Vavti <mario@mariovavti.com>2016-05-09 12:09:04 +0200
commit7aeff7505be6bd5fd10b04efaedf0e35915e0154 (patch)
tree5704e763dc3e32665a9f2e3a244bba678ea6ff9f
parenta3e94591bcf778d9b9ed2f49c497f5c5e66af422 (diff)
downloadvolse-hubzilla-7aeff7505be6bd5fd10b04efaedf0e35915e0154.tar.gz
volse-hubzilla-7aeff7505be6bd5fd10b04efaedf0e35915e0154.tar.bz2
volse-hubzilla-7aeff7505be6bd5fd10b04efaedf0e35915e0154.zip
remove unused code and whitespace
-rw-r--r--include/conversation.php10
-rwxr-xr-xview/tpl/jot.tpl2
2 files changed, 1 insertions, 11 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 48cb0af6b..7c7f6732d 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -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();
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index a9f6766dc..685706026 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -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}}" />