Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/edit_category_select_box.tpl
<div style="background-color:#CCCCCC; padding:5px;"><img src="images/icons/add.png" title="Add new product" alt="Add new product" align="absmiddle"/> <a href="javascript:showInlineCategoryForm()">Add New Category</a></div>
{section name=all_categories loop=$all_categories}
<div style="background-color:#FFFFFF; border:1px solid #ccc; padding:3px; border-bottom:0px solid #ccc;"><input type="checkbox" value="{$all_categories[all_categories].category_id}" name="category_id[]"  {section name=selected_product_cat loop=$selected_product_cat}
{if $selected_product_cat[selected_product_cat].category_id==$all_categories[all_categories].category_id}checked{/if}
{/section}/>{$all_categories[all_categories].category_name}</div>
{/section}
<div style="background-color:#CCCCCC; padding:5px;"><img src="images/icons/add.png" title="Add new product" alt="Add new product" align="absmiddle"/> <a href="javascript:showInlineCategoryForm()">Add New Category</a></div>
Return current item: Simple PHP Shopping cart - asaancart