Location: PHPKode > projects > XplainCart > xplaincart-1.0/xoops_version.php
<?php
$modversion['name']="XPlainCart";
$modversion['version']="1.0";
$modversion['description']="XPlainCart Module";
$modversion['credit']="Surapol Prapakamol";
$modversion['license']="GPL";
$modversion['image']="images/s_poweredby.gif";
$modversion['dirname']="xplaincart";
$modversion['sqlfile']['mysql']="plaincart.sql";
$modversion['tables'][0]="plain_cart";
$modversion['tables'][1]="plain_category";
$modversion['tables'][2]="plain_currency";
$modversion['tables'][3]="plain_order";
$modversion['tables'][4]="plain_order_item";
$modversion['tables'][5]="plain_product";
$modversion['tables'][6]="plain_shop_config";
$modversion['tables'][7]="plain_user";
////////////////////////////////////////////templates
$modversion['templates'][1]['file']="top.html";
$modversion['templates'][1]['description']="";
$modversion['templates'][2]['file']="plain_header.html";
$modversion['templates'][2]['description']="";
$modversion['templates'][3]['file']="plain_footer.html";
$modversion['templates'][3]['description']="";
$modversion['templates'][4]['file']="cat_list.html";
$modversion['templates'][4]['description']="";
$modversion['templates'][5]['file']="shippingAndPaymentInfo.html";
$modversion['templates'][5]['description']="";
$modversion['templates'][6]['file']="checkoutConfirmation.html";
$modversion['templates'][6]['description']="";
$modversion['templates'][7]['file']="leftNav.html";
$modversion['templates'][7]['description']="";
$modversion['templates'][8]['file']="miniCart.html";
$modversion['templates'][8]['description']="";
$modversion['templates'][9]['file']="productDetail.html";
$modversion['templates'][9]['description']="";
$modversion['templates'][10]['file']="pd_list.html";
$modversion['templates'][10]['description']="";
$modversion['templates'][11]['file']="checkout_index.html";
$modversion['templates'][11]['description']="";
$modversion['templates'][12]['file']="error.html";
$modversion['templates'][12]['description']="";
$modversion['templates'][13]['file']="plaincart_index.html";
$modversion['templates'][13]['description']="";
$modversion['templates'][14]['file']="success.html";
$modversion['templates'][14]['description']="";
$modversion['templates'][15]['file']="cart.html";
$modversion['templates'][15]['description']="";
////////////////////////admin templates
$modversion['templates'][16]['file']="admin_top.html";
$modversion['templates'][16]['description']="";
$modversion['templates'][17]['file']="admin_bot.html";
$modversion['templates'][17]['description']="";
$modversion['templates'][18]['file']="admin_cat_add.html";
$modversion['templates'][18]['description']="";
$modversion['templates'][19]['file']="admin_cat_modify.html";
$modversion['templates'][19]['description']="";
$modversion['templates'][20]['file']="admin_cat_list.html";
$modversion['templates'][20]['description']="";
$modversion['templates'][21]['file']="admin_order_detail.html";
$modversion['templates'][21]['description']="";
$modversion['templates'][22]['file']="admin_order_list.html";
$modversion['templates'][22]['description']="";
$modversion['templates'][23]['file']="admin_product_add.html";
$modversion['templates'][23]['description']="";
$modversion['templates'][24]['file']="admin_product_modify.html";
$modversion['templates'][24]['description']="";
$modversion['templates'][25]['file']="admin_product_detail.html";
$modversion['templates'][25]['description']="";
$modversion['templates'][26]['file']="admin_product_list.html";
$modversion['templates'][26]['description']="";
$modversion['templates'][27]['file']="admin_user_add.html";
$modversion['templates'][27]['description']="";
$modversion['templates'][28]['file']="admin_user_modify.html";
$modversion['templates'][28]['description']="";
$modversion['templates'][29]['file']="admin_user_list.html";
$modversion['templates'][29]['description']="";
$modversion['templates'][30]['file']="admin_cat_index.html";
$modversion['templates'][30]['description']="";
$modversion['templates'][31]['file']="admin_config_index.html";
$modversion['templates'][31]['description']="";
$modversion['templates'][32]['file']="admin_order_index.html";
$modversion['templates'][32]['description']="";
$modversion['templates'][33]['file']="admin_product_index.html";
$modversion['templates'][33]['description']="";
$modversion['templates'][34]['file']="admin_user_index.html";
$modversion['templates'][34]['description']="";
$modversion['templates'][35]['file']="admin_login.html";
$modversion['templates'][35]['description']="";
$modversion['templates'][36]['file']="admin_index.html";
$modversion['templates'][36]['description']="";
////////////////////////////////////////////admin
$modversion['hasAdmin']=1;
$modversion['adminindex']="admin/index.php";
//$modversion['adminmenu']="admin/menu.php";
////////////////////////////////////////////mainmenu
$modversion['hasMain']=1;
////////////////////////////////////////////config
$modversion['config'][1]['name']='Paypal';
$modversion['config'][1]['title']='_PAYPAL_ENV_SETTING';
$modversion['config'][1]['description']='Paypal developer or Paypal Commercial URL setting.';
$modversion['config'][1]['formtype']='select';
$modversion['config'][1]['valuetype']='text';
$modversion['config'][1]['default']='https://www.sandbox.paypal.com/cgi-bin/webscr';
$modversion['config'][1]['options']=array('Developer or Sandbox'=>'https://www.sandbox.paypal.com/cgi-bin/webscr','Commercialized'=>'https://www.paypal.com/cgi-bin/webscr');
$modversion['config'][2]['name'] = "ItemName";
$modversion['config'][2]['title'] = "_PAYPAL_ITEM_NAME";
$modversion['config'][2]['description'] = "Your shop checkout item's name which will be displayed at Paypal";
$modversion['config'][2]['formtype'] = 'textbox';
$modversion['config'][2]['valuetype'] = 'text';
$modversion['config'][2]['default'] = "Plaincart Purchase";
?>
Return current item: XplainCart