1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-08 21:30:54 +02:00

Issue #1512 - Saving of config menu parameters corrected.

This commit is contained in:
Cameron
2016-04-13 16:43:19 -07:00
parent aaa842fab0
commit dfd9c9e3fc
4 changed files with 7 additions and 7 deletions

View File

@@ -106,7 +106,7 @@ class news_menu_form extends e_form
foreach($arr as $k=>$v)
{
$text .= "<tr><td>".$this->radio('layout', $k, $curVal, array('label'=>$k))."</td><td>".str_replace('{STYLE}',"class='alert alert-info' style='margin-bottom:0;text-align:center' ",$v)."</td></tr>";
$text .= "<tr><td>".$this->radio('layout', $k, ($curVal == $k), array('label'=>$k)."</td><td>".str_replace('{STYLE}',"class='alert alert-info' style='margin-bottom:0;text-align:center' ",$v)."</td></tr>";
}
$text .= "</table>";