Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="category-content" id="category-edit-container">
- {"messages":"","content":"\n<div class="\"content-header\"">\n <h3 head-categories\"="" class="\"icon-head">New Root Category<\/h3>\n <p form-buttons\"="" class="\"content-buttons">\n <button style="\"\"" onclick="\"categoryReset('http:\/\/64.207.146.50\/index.php\/admin\/catalog_category\/add\/key\/b35afac2e6644fa71c696c59f04de1ec\/?isAjax=true',true)\"" \"="" class="\"scalable" type="\"button\"" id="\"id_2523d087da76bb01a954fce10cd65ae9\""><span>Reset<\/span><\/button> </span></button><button style="\"\"" true)\"="" onclick="\"categorySubmit('http:\/\/64.207.146.50\/index.php\/admin\/catalog_category\/save\/key\/c48f4cc22900f63450f379cd284aedef\/?isAjax=true'," save\"="" class="\"scalable" type="\"button\"" id="\"id_2ef02b1bfe93638d6068f0282bbbe3e9\""><span>Save Category<\/span><\/button> <\/p>\n<\/div>\n <!-- <h3>Category Data<\/h3>\n -->\n<ul class="\"tabs-horiz\"" id="\"category_info_tabs\"">\n <li>\n <a \"="" class="\"tab-item-link" information\"="" title="\"General" id="\"category_info_tabs_group_3\"" href="\"#\"">\n <span><span changed.\"="" been="" has="" tab="" this="" in="" information="" title="\"The" class="\"changed\""><\/span><span saving.\"="" before="" problem="" the="" solve="" please="" data.="" invalid="" contains="" tab="" title="\"This" class="\"error\""><\/span>General Information<\/span>\n <\/a>\n <div style="\"display:none\"" id="\"category_info_tabs_group_3_content\""><div class="\"entry-edit\"">\n <div class="\"entry-edit-head\"">\n <h4 fieldset-legend\"="" head-edit-form="" class="\"icon-head">General Information<\/h4>\n <div class="\"form-buttons\""><\/div>\n<\/div>\n <div id="\"group_3fieldset_group_3\"" fieldset-wide\"="" class="\"fieldset">\n <div class="\"hor-scroll\"">\n \n \n \n\n \n \n \n \n <table cellspacing="\"0\"" class="\"form-list\""><tbody><tr><td colspan="\"100\"" class="\"hidden\""><input type="\"hidden\"\/" value="\"1\"" name="\"general[path]\"" id="\"group_3path\""><\/td>\n<\/tr>\n\n</td></tr><tr><td class="\"label\""><label for="\"group_3name\"">Name <span class="\"required\"">*<\/span><\/label><\/td>\n </span></label></td><td class="\"value\"">\n <input type="\"text\"\/" required-entry\"="" input-text="" required-entry="" class="\"" value="\"\"" name="\"general[name]\"" id="\"group_3name\""> <\/td>\n </td><td class="\"scope-label\""><span class="\"nobr\""><\/span><\/td>\n <\/tr>\n\n</span></td></tr><tr><td class="\"label\""><label for="\"group_3is_active\"">Is Active <span class="\"required\"">*<\/span><\/label><\/td>\n </span></label></td><td class="\"value\"">\n <select select\"="" required-entry="" class="\"" name="\"general[is_active]\"" id="\"group_3is_active\"">\n<option value="\"1\"">Yes<\/option>\n</option><option selected="\"selected\"" value="\"0\"">No<\/option>\n<\/select> <\/td>\n </option></select></td><td class="\"scope-label\""><span class="\"nobr\""><\/span><\/td>\n <\/tr>\n\n</span></td></tr><tr><td class="\"label\""><label for="\"group_3url_key\"">URL key<\/label><\/td>\n </label></td><td class="\"value\"">\n <input type="\"text\"\/" input-text\"="" class="\"" value="\"\"" name="\"general[url_key]\"" id="\"group_3url_key\""> <\/td>\n </td><td class="\"scope-label\""><span class="\"nobr\""><\/span><\/td>\n <\/tr>\n\n</span></td></tr><tr><td class="\"label\""><label for="\"group_3description\"">Description<\/label><\/td>\n </label></td><td class="\"value\"">\n <textarea cols="15" rows="2" textarea\"="" class="\"" name="\"general[description]\"" id="\"group_3description\""><\/textarea> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_3image\">Image<\/label><\/td>\n <td class=\"value\">\n <input id=\"group_3image\" name=\"image\" value=\"\" class=\"input-file\" type=\"file\"\/> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_3meta_title\">Page Title<\/label><\/td>\n <td class=\"value\">\n <input id=\"group_3meta_title\" name=\"general[meta_title]\" value=\"\" class=\" input-text\" type=\"text\"\/> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_3meta_keywords\">Meta Keywords<\/label><\/td>\n <td class=\"value\">\n <textarea id=\"group_3meta_keywords\" name=\"general[meta_keywords]\" class=\" textarea\" rows=\"2\" cols=\"15\" ><\/textarea> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_3meta_description\">Meta Description<\/label><\/td>\n <td class=\"value\">\n <textarea id=\"group_3meta_description\" name=\"general[meta_description]\" class=\" textarea\" rows=\"2\" cols=\"15\" ><\/textarea> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_3include_in_menu\">Include in Navigation Menu <span class=\"required\">*<\/span><\/label><\/td>\n <td class=\"value\">\n <select id=\"group_3include_in_menu\" name=\"general[include_in_menu]\" class=\" required-entry required-entry select\">\n<option value=\"1\" selected=\"selected\">Yes<\/option>\n<option value=\"0\">No<\/option>\n<\/select> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n <\/tbody>\n <\/table>\n <\/div>\n <\/div>\n<\/div>\n<\/div>\n <\/li>\n <li>\n <a href=\"#\" id=\"category_info_tabs_group_10\" title=\"Display Settings\" class=\"tab-item-link \">\n <span><span class=\"changed\" title=\"The information in this tab has been changed.\"><\/span><span class=\"error\" title=\"This tab contains invalid data. Please solve the problem before saving.\"><\/span>Display Settings<\/span>\n <\/a>\n <div id=\"category_info_tabs_group_10_content\" style=\"display:none\"><div class=\"entry-edit\">\n <div class=\"entry-edit-head\">\n <h4 class=\"icon-head head-edit-form fieldset-legend\">Display Settings<\/h4>\n <div class=\"form-buttons\"><\/div>\n<\/div>\n <div class=\"fieldset fieldset-wide\" id=\"group_10fieldset_group_10\">\n <div class=\"hor-scroll\">\n <table cellspacing=\"0\" class=\"form-list\">\n <tbody>\n \n<tr>\n <td class=\"label\"><label for=\"group_10display_mode\">Display Mode<\/label><\/td>\n <td class=\"value\">\n <select id=\"group_10display_mode\" name=\"general[display_mode]\" class=\" select\">\n<option value=\"PRODUCTS\">Products only<\/option>\n<option value=\"PAGE\">Static block only<\/option>\n<option value=\"PRODUCTS_AND_PAGE\">Static block and products<\/option>\n<\/select> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_10landing_page\">CMS Block<\/label><\/td>\n <td class=\"value\">\n <select id=\"group_10landing_page\" name=\"general[landing_page]\" class=\" select\">\n<option value=\"\" selected=\"selected\">Please select a static block ...<\/option>\n<option value=\"5\">Footer Links<\/option>\n<option value=\"6\">GravDept - jQuery Load<\/option>\n<option value=\"7\">GravDept - jQuery Run<\/option>\n<option value=\"8\">GravDept - jQuery (FancyBox)<\/option>\n<option value=\"9\">GravDept - jQuery (LoopedSlider)<\/option>\n<option value=\"10\">GravDept - Google Analytics<\/option>\n<option value=\"11\">Wholesale Category Static Block<\/option>\n<option value=\"12\">Battery Pack Category Static Block<\/option>\n<\/select> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_10is_anchor\">Is Anchor<\/label><\/td>\n <td class=\"value\">\n <select id=\"group_10is_anchor\" name=\"general[is_anchor]\" class=\" select\">\n<option value=\"1\">Yes<\/option>\n<option value=\"0\" selected=\"selected\">No<\/option>\n<\/select> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_10available_sort_by\">Available Product Listing Sort By <span class=\"required\">*<\/span><\/label><\/td>\n <td class=\"value\">\n <select id=\"group_10available_sort_by\" name=\"general[available_sort_by][]\" class=\" required-entry required-entry select multiselect\" size=\"10\" disabled=\"disabled\" multiple=\"multiple\">\n<option value=\"position\">Best Value<\/option>\n<option value=\"name\">Name<\/option>\n<option value=\"price\">Price<\/option>\n<\/select>\n<input id=\"use_config_group_10available_sort_by\" name=\"use_config[]\" value=\"available_sort_by\" checked=\"checked\" onclick=\"toggleValueElements(this, this.parentNode);\" class=\"checkbox\" type=\"checkbox\" \/> <label for=\"use_config_group_10available_sort_by\" class=\"normal\">Use All Available Attributes<\/label><script type=\"text\/javascript\">toggleValueElements($('use_config_group_10available_sort_by'), $('use_config_group_10available_sort_by').parentNode);<\/script> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_10default_sort_by\">Default Product Listing Sort By <span class=\"required\">*<\/span><\/label><\/td>\n <td class=\"value\">\n <select id=\"group_10default_sort_by\" name=\"general[default_sort_by]\" class=\" required-entry required-entry select\" disabled=\"disabled\">\n<option value=\"position\">Best Value<\/option>\n<option value=\"name\">Name<\/option>\n<option value=\"price\">Price<\/option>\n<\/select>\n<input id=\"use_config_group_10default_sort_by\" name=\"use_config[]\" value=\"default_sort_by\" checked=\"checked\" onclick=\"toggleValueElements(this, this.parentNode);\" class=\"checkbox\" type=\"checkbox\" \/> <label for=\"use_config_group_10default_sort_by\" class=\"normal\">Use Config Settings<\/label><script type=\"text\/javascript\">toggleValueElements($('use_config_group_10default_sort_by'), $('use_config_group_10default_sort_by').parentNode);<\/script> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_10filter_price_range\">Layered Navigation Price Step<\/label><\/td>\n <td class=\"value\">\n <input id=\"group_10filter_price_range\" name=\"general[filter_price_range]\" value=\"\" class=\" input-text\" type=\"text\" disabled=\"disabled\"\/>\n<br\/><input id=\"use_config_group_10filter_price_range\" name=\"use_config[]\" value=\"filter_price_range\" checked=\"checked\" onclick=\"toggleValueElements(this, this.parentNode);\" class=\"checkbox\" type=\"checkbox\" \/> <label for=\"use_config_group_10filter_price_range\" class=\"normal\">Use Config Settings<\/label><script type=\"text\/javascript\">toggleValueElements($('use_config_group_10filter_price_range'), $('use_config_group_10filter_price_range').parentNode);<\/script> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n <\/tbody>\n <\/table>\n <\/div>\n <\/div>\n<\/div>\n<\/div>\n <\/li>\n <li>\n <a href=\"#\" id=\"category_info_tabs_group_11\" title=\"Custom Design\" class=\"tab-item-link \">\n <span><span class=\"changed\" title=\"The information in this tab has been changed.\"><\/span><span class=\"error\" title=\"This tab contains invalid data. Please solve the problem before saving.\"><\/span>Custom Design<\/span>\n <\/a>\n <div id=\"category_info_tabs_group_11_content\" style=\"display:none\"><div class=\"entry-edit\">\n <div class=\"entry-edit-head\">\n <h4 class=\"icon-head head-edit-form fieldset-legend\">Custom Design<\/h4>\n <div class=\"form-buttons\"><\/div>\n<\/div>\n <div class=\"fieldset fieldset-wide\" id=\"group_11fieldset_group_11\">\n <div class=\"hor-scroll\">\n <table cellspacing=\"0\" class=\"form-list\">\n <tbody>\n \n<tr>\n <td class=\"label\"><label for=\"group_11custom_use_parent_settings\">Use Parent Category Settings<\/label><\/td>\n <td class=\"value\">\n <select id=\"group_11custom_use_parent_settings\" name=\"general[custom_use_parent_settings]\" class=\" select\" onclick=\"onCustomUseParentChanged(this)\">\n<option value=\"1\">Yes<\/option>\n<option value=\"0\" selected=\"selected\">No<\/option>\n<\/select> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_11custom_apply_to_products\">Apply To Products<\/label><\/td>\n <td class=\"value\">\n <select id=\"group_11custom_apply_to_products\" name=\"general[custom_apply_to_products]\" class=\" select\">\n<option value=\"1\">Yes<\/option>\n<option value=\"0\" selected=\"selected\">No<\/option>\n<\/select> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_11custom_design\">Custom Design<\/label><\/td>\n <td class=\"value\">\n <select id=\"group_11custom_design\" name=\"general[custom_design]\" class=\" select\">\n<option value=\"\" selected=\"selected\">-- Please Select --<\/option>\n<optgroup label=\"base\">\n<option value=\"base\/default\">default<\/option>\n<option value=\"base\/acumen\">acumen<\/option>\n<\/optgroup>\n<optgroup label=\"default\">\n<option value=\"default\/default\">default<\/option>\n<\/optgroup>\n<\/select> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_11custom_design_from\">Active From<\/label><\/td>\n <td class=\"value\">\n <input name=\"general[custom_design_from]\" id=\"group_11custom_design_from\" value=\"\" class=\" input-text\" type=\"text\" style=\"width:110px !important;\" \/> <img src=\"http:\/\/64.207.146.50\/skin\/adminhtml\/default\/default\/images\/grid-cal.gif\" alt=\"\" class=\"v-middle\" id=\"group_11custom_design_from_trig\" title=\"Select Date\" style=\"\" \/>\n <script type=\"text\/javascript\">\n \/\/<![CDATA[\n Calendar.setup({\n inputField: \"group_11custom_design_from\",\n ifFormat: \"%m\/%e\/%y\",\n showsTime: false,\n button: \"group_11custom_design_from_trig\",\n align: \"Bl\",\n singleClick : true\n });\n \/\/]]>\n <\/script> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_11custom_design_to\">Active To<\/label><\/td>\n <td class=\"value\">\n <input name=\"general[custom_design_to]\" id=\"group_11custom_design_to\" value=\"\" class=\" input-text\" type=\"text\" style=\"width:110px !important;\" \/> <img src=\"http:\/\/64.207.146.50\/skin\/adminhtml\/default\/default\/images\/grid-cal.gif\" alt=\"\" class=\"v-middle\" id=\"group_11custom_design_to_trig\" title=\"Select Date\" style=\"\" \/>\n <script type=\"text\/javascript\">\n \/\/<![CDATA[\n Calendar.setup({\n inputField: \"group_11custom_design_to\",\n ifFormat: \"%m\/%e\/%y\",\n showsTime: false,\n button: \"group_11custom_design_to_trig\",\n align: \"Bl\",\n singleClick : true\n });\n \/\/]]>\n <\/script> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_11page_layout\">Page Layout<\/label><\/td>\n <td class=\"value\">\n <select id=\"group_11page_layout\" name=\"general[page_layout]\" class=\" select\">\n<option value=\"\" selected=\"selected\">No layout updates<\/option>\n<option value=\"empty\">Empty<\/option>\n<option value=\"one_column\">1 column<\/option>\n<option value=\"two_columns_left\">2 columns with left bar<\/option>\n<option value=\"two_columns_right\">2 columns with right bar<\/option>\n<option value=\"three_columns\">3 columns<\/option>\n<\/select> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n\n<tr>\n <td class=\"label\"><label for=\"group_11custom_layout_update\">Custom Layout Update<\/label><\/td>\n <td class=\"value\">\n <textarea id=\"group_11custom_layout_update\" name=\"general[custom_layout_update]\" class=\" textarea\" rows=\"2\" cols=\"15\" ><\/textarea> <\/td>\n <td class=\"scope-label\"><span class=\"nobr\"><\/span><\/td>\n <\/tr>\n <\/tbody>\n <\/table>\n <\/div>\n <\/div>\n<\/div>\n<\/div>\n <\/li>\n <li>\n <a href=\"#\" id=\"category_info_tabs_products\" title=\"Category Products\" class=\"tab-item-link \">\n <span><span class=\"changed\" title=\"The information in this tab has been changed.\"><\/span><span class=\"error\" title=\"This tab contains invalid data. Please solve the problem before saving.\"><\/span>Category Products<\/span>\n <\/a>\n <div id=\"category_info_tabs_products_content\" style=\"display:none\"> \n <div id=\"catalog_category_products\">\n <table cellspacing=\"0\" class=\"actions\">\n <tr>\n <td class=\"pager\">\n Page\n <img src=\"http:\/\/64.207.146.50\/skin\/adminhtml\/default\/default\/images\/pager_arrow_left_off.gif\" alt=\"Go to Previous page\" class=\"arrow\"\/>\n \n <input type=\"text\" name=\"page\" value=\"1\" class=\"input-text page\" onkeypress=\"catalog_category_productsJsObject.inputPage(event, '71')\"\/>\n\n <a href=\"#\" title=\"Next page\" onclick=\"catalog_category_productsJsObject.setPage('2');return false;\"><img src=\"http:\/\/64.207.146.50\/skin\/adminhtml\/default\/default\/images\/pager_arrow_right.gif\" alt=\"Go to Next page\" class=\"arrow\"\/><\/a>\n \n of 71 pages <span class=\"separator\">|<\/span>\n View <select name=\"limit\" onchange=\"catalog_category_productsJsObject.loadByElement(this)\">\n <option value=\"20\" selected=\"selected\">20<\/option>\n <option value=\"30\">30<\/option>\n <option value=\"50\">50<\/option>\n <option value=\"100\">100<\/option>\n <option value=\"200\">200<\/option>\n <\/select>\n per page<span class=\"separator\">|<\/span>\n Total 1420 records found <span id=\"catalog_category_products-total-count\" class=\"no-display\">1420<\/span>\n <\/td>\n <td class=\"filter-actions a-right\">\n <button id=\"id_92c03c540831aea7688a32cd7e7d37c1\" type=\"button\" class=\"scalable \" onclick=\"catalog_category_productsJsObject.resetFilter()\" style=\"\"><span>Reset Filter<\/span><\/button><button id=\"id_8e541ce3e9d7ff20dc308225f13de7d0\" type=\"button\" class=\"scalable task\" onclick=\"catalog_category_productsJsObject.doFilter()\" style=\"\"><span>Search<\/span><\/button> <\/td>\n <\/tr>\n <\/table>\n<div class=\"grid\">\n <div class=\"hor-scroll\">\n <table cellspacing=\"0\" class=\"data\" id=\"catalog_category_products_table\">\n <col width=\"55\" \/>\n <col width=\"60\" \/>\n <col \/>\n <col width=\"80\" \/>\n <col width=\"1\" \/>\n <col width=\"1\" \/>\n <thead>\n <tr class=\"headings\">\n <th class=\"a-center\"><span class=\"nobr\"><input type=\"checkbox\" name=\"\" onclick=\"catalog_category_productsJsObject.checkCheckboxes(this)\" class=\"checkbox\" title=\"Select All\"\/><\/span><\/th>\n <th><span class=\"nobr\"><a href=\"#\" name=\"entity_id\" title=\"asc\" class=\"sort-arrow-desc\"><span class=\"sort-title\">ID<\/span><\/a><\/span><\/th>\n <th><span class=\"nobr\"><a href=\"#\" name=\"name\" title=\"asc\" class=\"not-sort\"><span class=\"sort-title\">Name<\/span><\/a><\/span><\/th>\n <th><span class=\"nobr\"><a href=\"#\" name=\"sku\" title=\"asc\" class=\"not-sort\"><span class=\"sort-title\">SKU<\/span><\/a><\/span><\/th>\n <th><span class=\"nobr\"><a href=\"#\" name=\"price\" title=\"asc\" class=\"not-sort\"><span class=\"sort-title\">Price<\/span><\/a><\/span><\/th>\n <th class=\" last\"><span class=\"nobr\"><a href=\"#\" name=\"position\" title=\"asc\" class=\"not-sort\"><span class=\"sort-title\">Position<\/span><\/a><\/span><\/th>\n <\/tr>\n <tr class=\"filter\">\n <th class=\"a-center\"><span class=\"head-massaction\"><select name=\"in_category\" id=\"filter_in_category\" class=\"no-changes\"><option value=\"\">Any<\/option><option value=\"1\">Yes<\/option><option value=\"0\">No<\/option><\/select><\/span><\/th>\n <th><div class=\"field-100\"><input type=\"text\" name=\"entity_id\" id=\"filter_entity_id\" value=\"\" class=\"input-text no-changes\"\/><\/div><\/th>\n <th><div class=\"field-100\"><input type=\"text\" name=\"name\" id=\"filter_name\" value=\"\" class=\"input-text no-changes\"\/><\/div><\/th>\n <th><div class=\"field-100\"><input type=\"text\" name=\"sku\" id=\"filter_sku\" value=\"\" class=\"input-text no-changes\"\/><\/div><\/th>\n <th><div class=\"range\"><div class=\"range-line\"><span class=\"label\">From:<\/span> <input type=\"text\" name=\"price[from]\" id=\"filter_price_from\" value=\"\" class=\"input-text no-changes\"\/><\/div><div class=\"range-line\"><span class=\"label\">To : <\/span><input type=\"text\" name=\"price[to]\" id=\"filter_price_to\" value=\"\" class=\"input-text no-changes\"\/><\/div><\/div><\/th>\n <th class=\" last\"><div class=\"range\"><div class=\"range-line\"><span class=\"label\">From:<\/span> <input type=\"text\" name=\"position[from]\" id=\"filter_position_from\" value=\"\" class=\"input-text no-changes\"\/><\/div><div class=\"range-line\"><span class=\"label\">To : <\/span><input type=\"text\" name=\"position[to]\" id=\"filter_position_to\" value=\"\" class=\"input-text no-changes\"\/><\/div><\/div><\/th>\n <\/tr>\n <\/thead>\n \n <tbody>\n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7628\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7628 <\/td>\n \n \n <td class=\" \">\n 8G8DM <\/td>\n \n \n <td class=\" \">\n 0506 <\/td>\n \n \n <td class=\" a-right \">\n $1.00 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7627\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7627 <\/td>\n \n \n <td class=\" \">\n 8G4DM <\/td>\n \n \n <td class=\" \">\n 0505 <\/td>\n \n \n <td class=\" a-right \">\n $1.00 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7626\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7626 <\/td>\n \n \n <td class=\" \">\n 8GGC2M <\/td>\n \n \n <td class=\" \">\n 0504 <\/td>\n \n \n <td class=\" a-right \">\n $1.00 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7625\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7625 <\/td>\n \n \n <td class=\" \">\n 8G31DTM <\/td>\n \n \n <td class=\" \">\n 0503 <\/td>\n \n \n <td class=\" a-right \">\n $1.00 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7624\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7624 <\/td>\n \n \n <td class=\" \">\n 8G27M <\/td>\n \n \n <td class=\" \">\n 0502 <\/td>\n \n \n <td class=\" a-right \">\n $1.00 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7623\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7623 <\/td>\n \n \n <td class=\" \">\n 8G24M <\/td>\n \n \n <td class=\" \">\n 0501 <\/td>\n \n \n <td class=\" a-right \">\n $1.00 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7622\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7622 <\/td>\n \n \n <td class=\" \">\n 8GU1HM <\/td>\n \n \n <td class=\" \">\n 0500 <\/td>\n \n \n <td class=\" a-right \">\n $1.00 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7621\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7621 <\/td>\n \n \n <td class=\" \">\n Omnicel CR123A Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2015 <\/td>\n \n \n <td class=\" a-right \">\n $1.90 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7620\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7620 <\/td>\n \n \n <td class=\" \">\n Omnicel CR9V-J Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2014 <\/td>\n \n \n <td class=\" a-right \">\n $8.50 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7619\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7619 <\/td>\n \n \n <td class=\" \">\n Omnicel ER34615HD Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2013 <\/td>\n \n \n <td class=\" a-right \">\n $17.80 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7618\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7618 <\/td>\n \n \n <td class=\" \">\n Omnicel ER34615 Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2012 <\/td>\n \n \n <td class=\" a-right \">\n $14.10 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7617\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7617 <\/td>\n \n \n <td class=\" \">\n Omnicel ER341245 Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2011 <\/td>\n \n \n <td class=\" a-right \">\n $43.00 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7616\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7616 <\/td>\n \n \n <td class=\" \">\n Omnicel ER32L65 Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2010 <\/td>\n \n \n <td class=\" a-right \">\n $6.60 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7615\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7615 <\/td>\n \n \n <td class=\" \">\n Omnicel ER32L100 Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2009 <\/td>\n \n \n <td class=\" a-right \">\n $7.00 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7614\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7614 <\/td>\n \n \n <td class=\" \">\n Omnicel ER26500HD Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2008 <\/td>\n \n \n <td class=\" a-right \">\n $14.50 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7613\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7613 <\/td>\n \n \n <td class=\" \">\n Omnicel ER26500 Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2007 <\/td>\n \n \n <td class=\" a-right \">\n $11.40 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7612\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7612 <\/td>\n \n \n <td class=\" \">\n Omnicel ER17335 Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2006 <\/td>\n \n \n <td class=\" a-right \">\n $5.20 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7611\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7611 <\/td>\n \n \n <td class=\" \">\n Omnicel ER14505HD Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2005 <\/td>\n \n \n <td class=\" a-right \">\n $6.10 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7610\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7610 <\/td>\n \n \n <td class=\" \">\n Omnicel ER14505 Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2004 <\/td>\n \n \n <td class=\" a-right \">\n $4.20 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <tr title=\"#\" >\n \n <td class=\"a-center \">\n <input type=\"checkbox\" name=\"\" value=\"7609\" class=\"checkbox\"\/> <\/td>\n \n \n <td class=\" \">\n 7609 <\/td>\n \n \n <td class=\" \">\n Omnicel ER14335HD Lithium Battery <\/td>\n \n \n <td class=\" \">\n 2003 <\/td>\n \n \n <td class=\" a-right \">\n $5.60 <\/td>\n \n \n <td class=\" editable a-right last\">\n <input type=\"text\" class=\"input-text \" name=\"position\" value=\"\"\/> <\/td>\n \n <\/tr>\n \n <\/tbody>\n\n <\/table>\n <\/div>\n<\/div>\n<\/div>\n<script type=\"text\/javascript\">\n\/\/<![CDATA[\n catalog_category_productsJsObject = new varienGrid('catalog_category_products', 'http:\/\/64.207.146.50\/index.php\/admin\/catalog_category\/grid\/key\/699d2020879b30e1682149a6e2756c5a\/?isAjax=true', 'page', 'sort', 'dir', 'filter');\n catalog_category_productsJsObject.useAjax = '1';\n catalog_category_productsJsObject.rowClickCallback = openGridRow;\n \/\/]]>\n<\/script>\n<\/div>\n <\/li>\n<\/ul>\n<script type=\"text\/javascript\">\n\n category_info_tabsJsTabs = new varienTabs('category_info_tabs', 'category_tab_content', 'category_info_tabs_group_3', []);\n<\/script>\n<iframe name=\"iframeSave\" style=\"display:none; width:100%;\" src=\"http:\/\/64.207.146.50\/js\/blank.html\"><\/iframe>\n<form target=\"iframeSave\" id=\"category_edit_form\" action=\"http:\/\/64.207.146.50\/index.php\/admin\/catalog_category\/save\/key\/c48f4cc22900f63450f379cd284aedef\/?isAjax=true\" method=\"post\" enctype=\"multipart\/form-data\">\n <div class=\"no-display\">\n <input type=\"hidden\" name=\"isIframe\" value=\"1\" \/>\n <input name=\"form_key\" type=\"hidden\" value=\"CI1n8iPxCqZTxBmY\" \/>\n <input type=\"hidden\" name=\"category_products\" id=\"in_category_products\" value=\"\" \/>\n <input type=\"hidden\" name=\"active_tab_id\" id=\"active_tab_id\" value=\"\" \/>\n <\/div>\n <div id=\"category_tab_content\"><\/div>\n<\/form>\n<script type=\"text\/javascript\">\n\/\/<![CDATA[\n categoryForm = new varienForm('category_edit_form');\n\n categoryForm.submit= function (url) {\n this.errorSections = $H({});\n this.canShowError = true;\n this.submitUrl = url;\n if (this.validator && this.validator.validate()) {\n if(this.validationUrl){\n this._validate();\n }\n else{\n if (this.isSubmitted) {\n return false;\n }\n this.isSubmitted = true;\n this._submit();\n }\n displayLoadingMask();\n return true;\n }\n return false;\n };\n\n categoryForm.refreshPath = function () {\n\n categoryId = this.getCategoryId();\n\n if (!categoryId) {\n return false;\n }\n\n var refreshPathSuccess = function(transport) {\n if (transport.responseText.isJSON()) {\n response = transport.responseText.evalJSON()\n if (response.error) {\n alert(response.message);\n } else {\n if (categoryForm.getCategoryId() == response['id']) {\n categoryForm.setCategoryPath(response['path']);\n }\n }\n }\n };\n\n new Ajax.Request(\n 'http:\/\/64.207.146.50\/index.php\/admin\/catalog_category\/refreshPath\/key\/73f876600f8a0cbe232b37e259695a97\/?isAjax=true',\n {\n method: 'POST',\n evalScripts: true,\n onSuccess: refreshPathSuccess\n }\n );\n\n };\n\n categoryForm.getCategoryId = function () {\n collection = $(this.formId).getInputs('hidden','general[id]');\n if (collection.size() > 0) {\n return collection.first().value;\n }\n return false;\n };\n\n categoryForm.setCategoryPath = function (path) {\n collection = $(this.formId).getInputs('hidden','general[path]');\n if (collection.size() > 0) {\n return collection.first().value = path;\n }\n };\n\n \/**\n * Create\/edit some category\n *\/\n function categorySubmit(url, useAjax) {\n var activeTab = $('active_tab_id');\n if (activeTab) {\n if (activeTab.tabsJsObject && activeTab.tabsJsObject.activeTab) {\n activeTab.value = activeTab.tabsJsObject.activeTab.id;\n }\n }\n\n var params = {};\n var fields = $('category_edit_form').getElementsBySelector('input', 'select');\n for(var i=0;i<fields.length;i++){\n if (!fields[i].name) {\n continue;\n }\n params[fields[i].name] = fields[i].getValue();\n }\n\n \/\/ Get info about what we're submitting - to properly update tree nodes\n var categoryId = params['general[id]'] ? params['general[id]'] : 0;\n var isCreating = categoryId == 0; \/\/ Separate variable is needed because '0' in javascript converts to TRUE\n var path = params['general[path]'].split('\/');\n var parentId = path.pop();\n if (parentId == categoryId) { \/\/ Maybe path includes category id itself\n parentId = path.pop();\n }\n\n \/\/ Make operations with category tree\n if (isCreating) {\n \/* Some specific tasks for creating category *\/\n if (!tree.currentNodeId) {\n \/\/ First submit of form - select some node to be current\n tree.currentNodeId = parentId;\n }\n tree.addNodeTo = parentId;\n } else {\n \/* Some specific tasks for editing category *\/\n \/\/ Maybe change category enabled\/disabled style\n if (tree && tree.storeId==0) {\n var currentNode = tree.getNodeById(categoryId);\n\n if (currentNode) {\n if (params['general[is_active]']) {\n var oldClass = 'no-active-category';\n var newClass = 'active-category';\n } else {\n var oldClass = 'active-category';\n var newClass = 'no-active-category';\n }\n\n Element.removeClassName(currentNode.ui.wrap.firstChild, oldClass);\n Element.addClassName(currentNode.ui.wrap.firstChild, newClass);\n }\n }\n }\n\n \/\/ Submit form\n categoryForm.submit();\n }\n\n\n var categoryProducts = $H({});\n $('in_category_products').value = categoryProducts.toQueryString();\n\n function registerCategoryProduct(grid, element, checked){\n if(checked){\n if(element.positionElement){\n element.positionElement.disabled = false;\n categoryProducts.set(element.value, element.positionElement.value);\n }\n }\n else{\n if(element.positionElement){\n element.positionElement.disabled = true;\n }\n categoryProducts.unset(element.value);\n }\n $('in_category_products').value = categoryProducts.toQueryString();\n grid.reloadParams = {'selected_products[]':categoryProducts.keys()};\n }\n function categoryProductRowClick(grid, event){\n var trElement = Event.findElement(event, 'tr');\n var isInput = Event.element(event).tagName == 'INPUT';\n if(trElement){\n var checkbox = Element.getElementsBySelector(trElement, 'input');\n if(checkbox[0]){\n var checked = isInput ? checkbox[0].checked : !checkbox[0].checked;\n catalog_category_productsJsObject.setCheckboxChecked(checkbox[0], checked);\n }\n }\n }\n function positionChange(event){\n var element = Event.element(event);\n if(element && element.checkboxElement && element.checkboxElement.checked){\n categoryProducts.set(element.checkboxElement.value, element.value);\n $('in_category_products').value = categoryProducts.toQueryString();\n }\n }\n\n var tabIndex = 1000;\n function categoryProductRowInit(grid, row){\n var checkbox = $(row).getElementsByClassName('checkbox')[0];\n var position = $(row).getElementsByClassName('input-text')[0];\n if(checkbox && position){\n checkbox.positionElement = position;\n position.checkboxElement = checkbox;\n position.disabled = !checkbox.checked;\n position.tabIndex = tabIndex++;\n Event.observe(position,'keyup',positionChange);\n }\n }\n\n\n catalog_category_productsJsObject.rowClickCallback = categoryProductRowClick;\n catalog_category_productsJsObject.initRowCallback = categoryProductRowInit;\n catalog_category_productsJsObject.checkboxCheckCallback = registerCategoryProduct;\n catalog_category_productsJsObject.rows.each(function(row){categoryProductRowInit(catalog_category_productsJsObject, row)});\n\n category_info_tabsJsTabs.moveTabContentInDest();\n if (category_info_tabsJsTabs.activeTab) {\n $('active_tab_id').value = category_info_tabsJsTabs.activeTab.id;\n }\n $('active_tab_id').tabsJsObject = category_info_tabsJsTabs;\n\/\/]]>\n<\/script>\n"}</textarea></td></tr></tbody></table></div></div></div></h4></div></div></div></span></span></span></a></li></ul></span></button></p></h3></div></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement