config.php 1.1 KB

123456789101112131415161718192021222324
  1. <?php
  2. global $lang;
  3. $config->branch = new stdclass();
  4. $config->branch->create = new stdclass();
  5. $config->branch->edit = new stdclass();
  6. $config->branch->create->requiredFields = 'name';
  7. $config->branch->edit->requiredFields = 'name,status';
  8. $config->branch->actionList['close']['icon'] = 'off';
  9. $config->branch->actionList['close']['hint'] = $lang->branch->close;
  10. $config->branch->actionList['close']['text'] = $lang->branch->close;
  11. $config->branch->actionList['close']['url'] = 'javascript:changeStatus("{id}", "close")';
  12. $config->branch->actionList['activate']['icon'] = 'magic';
  13. $config->branch->actionList['activate']['hint'] = $lang->branch->activate;
  14. $config->branch->actionList['activate']['text'] = $lang->branch->activate;
  15. $config->branch->actionList['activate']['url'] = 'javascript:changeStatus("{id}", "active")';
  16. $config->branch->actionList['edit']['icon'] = 'edit';
  17. $config->branch->actionList['edit']['hint'] = $lang->edit;
  18. $config->branch->actionList['edit']['url'] = helper::createLink('branch', 'edit', 'branchID={id}&productID={product}');
  19. $config->branch->actionList['edit']['data-toggle'] = 'modal';