<input class='button' type='button' value='".BANNER_MENU_L9."' onclick='removeMe();' /> <input type='hidden' name='catid' id='catid' value='".$catidvalues."' /> </div> */ if ($all_catname) { foreach ($all_catname as $name) { //$text .= "<option value='{$name}'>{$name}</option>"; $text .= "\n\t\t\t\t\t\t\t\t\t<div class='field-spacer'>\n\t\t\t\t\t\t\t\t\t\t" . $frm->checkbox('multiaction_cat_active[]', $name, in_array($name, $in_catname)) . $frm->label($name, 'multiaction_cat_active[]', $name) . "\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t"; } $text .= "\n\t\t\t\t\t\t\t\t\t<div class='field-spacer'>\n\t\t\t\t\t\t\t\t\t\t" . $frm->admin_button('check_all', LAN_CHECKALL, 'action') . "\n\t\t\t\t\t\t\t\t\t\t" . $frm->admin_button('uncheck_all', LAN_UNCHECKALL, 'action') . "\n\t\t\t\t\t\t\t\t\t</div>\n\t\t"; } else { $text .= '<span class="warning">' . BNRLAN_67 . '</span>'; } $text .= "\n\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td>" . BANNER_MENU_L19 . "</td>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<input class='tbox input-text' type='text' name='banner_amount' size='10' value='" . $menu_pref['banner_amount'] . "' maxlength='2' />\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td>" . BANNER_MENU_L10 . "</td>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<select class='tbox select' id='banner_rendertype' name='banner_rendertype'>\n\t\t\t\t\t\t\t\t\t" . $frm->option(BANNER_MENU_L11, 0, empty($menu_pref['banner_rendertype'])) . "\n\t\t\t\t\t\t\t\t\t" . $frm->option("1 - " . BANNER_MENU_L12, 1, $menu_pref['banner_rendertype'] == "1") . "\n\t\t\t\t\t\t\t\t\t" . $frm->option("2 - " . BANNER_MENU_L13, 2, $menu_pref['banner_rendertype'] == "2") . "\n\t\t\t\t\t\t\t\t\t" . $frm->option("3 - " . BANNER_MENU_L14, 3, $menu_pref['banner_rendertype'] == "3") . "\n\t\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</tbody>\n\t\t\t\t</table>\n\t\t\t\t<div class='buttons-bar center'>" . $frm->admin_button('update_menu', 'no-value', 'update', LAN_SAVE) . "\n\t\t\t\t</div>\n\t\t\t</fieldset>\n\t\t</form>\n\t"; /* removed - checkboxes are OK $text .= " <script type=\"text/javascript\"> //<!-- // Adapted from original: Kathi O'Shea (Kathi.O'Shea@internet.com) function moveOver(){ var boxLength = document.getElementById('catin').length; var selectedItem = document.getElementById('catout').selectedIndex; var selectedText = document.getElementById('catout').options[selectedItem].text; var selectedValue = document.getElementById('catout').options[selectedItem].value; var i; var isNew = true;