diff --git a/htdocs/public/demo/index.php b/htdocs/public/demo/index.php index 642fdf6c03b..13987f7a05c 100644 --- a/htdocs/public/demo/index.php +++ b/htdocs/public/demo/index.php @@ -60,19 +60,19 @@ $demoprofiles=array( 'icon'=>DOL_URL_ROOT.'/public/demo/dolibarr_screenshot2.png'), array('default'=>'0', 'key'=>'profdemoall','label'=>'DemoCompanyAll', 'disablemodules'=>'adherent,boutique,don,externalsite,mailmanspip', - 'icon'=>DOL_URL_ROOT.'/public/demo/dolibarr_screenshot9.png'), + 'icon'=>DOL_URL_ROOT.'/public/demo/dolibarr_screenshot9.png') ); -/* + $tmpaction = 'view'; $parameters=array(); $object=(object) 'nothing'; $reshook=$hookmanager->executeHooks('addDemoProfile', $parameters, $object, $tmpaction); // Note that $action and $object may have been modified by some hooks $error=$hookmanager->error; $errors=$hookmanager->errors; -$demoprofiles[]=array('default'=>'0', 'key'=>'profdemomed','label'=>'DemoCabinetMed', +/* +$demoprofiles[]=array('default'=>'0', 'key'=>'profdemomed', 'lang'=>'cabinetmed@cabinetmed', 'label'=>'DemoCabinetMed', 'url'=>'http://demodolimed.dolibarr.org', 'disablemodules'=>'adherent,boutique,don,externalsite', - 'icon'=>DOL_URL_ROOT.'/public/demo/dolibarr_screenshot9.png'), - ); + 'icon'=>DOL_URL_ROOT.'/public/demo/dolibarr_screenshot6.png'); */ $alwayscheckedmodules=array('barcode','bookmark','externalrss','fckeditor','geoipmaxmind','gravatar','memcached','syslog','user','webservices'); // Technical module we always want @@ -242,66 +242,72 @@ print '
| '."\n"; - print ' |