From 5fd3ca36f8e7b34845e96c779279d64e98be84ed Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 12 Jan 2014 00:49:23 +0100 Subject: [PATCH 1/2] Fix page layout selector --- include/text.php | 3 +++ mod/editwebpage.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/text.php b/include/text.php index f5c440e4a..587514fb5 100755 --- a/include/text.php +++ b/include/text.php @@ -1422,7 +1422,10 @@ function layout_select($channel_id, $current = '') { $o .= ''; else - $layoutselect = layout_select($itm[0]['uid']); - + $layoutselect = layout_select($itm[0]['uid'],$itm[0]['layout_mid']); + $o .= replace_macros(get_markup_template('edpost_head.tpl'), array( '$title' => t('Edit Webpage') From 6403875f26c95738fbeeaf9661ac91bbc5f62b3a Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 12 Jan 2014 00:53:28 +0100 Subject: [PATCH 2/2] remove debug loggers --- include/text.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/text.php b/include/text.php index 587514fb5..f5c440e4a 100755 --- a/include/text.php +++ b/include/text.php @@ -1422,10 +1422,7 @@ function layout_select($channel_id, $current = '') { $o .= '