From 9b8011f75b11a89271ae3e3e33794421091dda25 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 25 Nov 2017 16:52:04 +0100 Subject: [PATCH] Fix class not found --- htdocs/societe/website.php | 8 ++++---- htdocs/theme/eldy/img/object_lock.png | Bin 0 -> 646 bytes htdocs/theme/md/img/object_lock.png | Bin 0 -> 646 bytes htdocs/website/class/websiteaccount.class.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 htdocs/theme/eldy/img/object_lock.png create mode 100644 htdocs/theme/md/img/object_lock.png diff --git a/htdocs/societe/website.php b/htdocs/societe/website.php index 63411533ec6..5ad4a442e22 100644 --- a/htdocs/societe/website.php +++ b/htdocs/societe/website.php @@ -342,12 +342,12 @@ print ''; print ''; print ''; -print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton.' '.$morehtmlcenter, $num, $nbtotalofrecords, 'unlock', 0, '', '', $limit); +print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton.' '.$morehtmlcenter, $num, $nbtotalofrecords, '', 0, '', '', $limit); $topicmail="Information"; -//$modelmail="websiteaccount"; -$objecttmp=new Product($db); -//$trackid='websiteaccount'.$object->id; +$modelmail="websiteaccount"; +$objecttmp=new WebsiteAccount($db); +$trackid='websiteaccount'.$object->id; include DOL_DOCUMENT_ROOT.'/core/tpl/massactions_pre.tpl.php'; if ($sall) diff --git a/htdocs/theme/eldy/img/object_lock.png b/htdocs/theme/eldy/img/object_lock.png new file mode 100644 index 0000000000000000000000000000000000000000..3d99cf1eaef689386c6bcae4b7e3f237d53bf43b GIT binary patch literal 646 zcmV;10(t$3P)e) z%S%*o7>1v7&TkwY@0X;A%0)zrqE#hD)*>uKv}hGrv?|*97qksTT2v5(DUq9&5rJZX zMlJ#oHT2j_UNUub9HzN>W;|!k?`x5X+6&+E;rU)(W@cxZw(Zc=^z@bSsj0VPlare> z;jn($+xz8wW8+N~2$Zs&zP>(01QEd$kpR%FlzNp;r`rby2RGjI_s6ZAClAJbGnmb}g^*zwdjF>?H*u%5P~Tb`@|H`^o$yY!oDN-RZU_`IF~^OrOoY52 zYr!h*S0!N&tcv{c=Z6j-Id$v0Vclpt+gX%OJ+z`RDf8E5Zs>8H5%rDB_4#|QHfMm* z9ndNcT&*||ETY&zXUZxKad0;rGVT^}-y?28NsT&Qn=%`LNgxZLw6Bpu6v_KYHh~vk zAr_6ZxbCr#fLI z>(?rYnH2M3pV>wDnS^8k@&YC1fAgcVnV>eD45TvTvp%^TxCPJ}EP@~07*qoM6N<$f*|29;{X5v literal 0 HcmV?d00001 diff --git a/htdocs/theme/md/img/object_lock.png b/htdocs/theme/md/img/object_lock.png new file mode 100644 index 0000000000000000000000000000000000000000..3d99cf1eaef689386c6bcae4b7e3f237d53bf43b GIT binary patch literal 646 zcmV;10(t$3P)e) z%S%*o7>1v7&TkwY@0X;A%0)zrqE#hD)*>uKv}hGrv?|*97qksTT2v5(DUq9&5rJZX zMlJ#oHT2j_UNUub9HzN>W;|!k?`x5X+6&+E;rU)(W@cxZw(Zc=^z@bSsj0VPlare> z;jn($+xz8wW8+N~2$Zs&zP>(01QEd$kpR%FlzNp;r`rby2RGjI_s6ZAClAJbGnmb}g^*zwdjF>?H*u%5P~Tb`@|H`^o$yY!oDN-RZU_`IF~^OrOoY52 zYr!h*S0!N&tcv{c=Z6j-Id$v0Vclpt+gX%OJ+z`RDf8E5Zs>8H5%rDB_4#|QHfMm* z9ndNcT&*||ETY&zXUZxKad0;rGVT^}-y?28NsT&Qn=%`LNgxZLw6Bpu6v_KYHh~vk zAr_6ZxbCr#fLI z>(?rYnH2M3pV>wDnS^8k@&YC1fAgcVnV>eD45TvTvp%^TxCPJ}EP@~07*qoM6N<$f*|29;{X5v literal 0 HcmV?d00001 diff --git a/htdocs/website/class/websiteaccount.class.php b/htdocs/website/class/websiteaccount.class.php index 275b2491e49..f24847a4601 100644 --- a/htdocs/website/class/websiteaccount.class.php +++ b/htdocs/website/class/websiteaccount.class.php @@ -50,7 +50,7 @@ class WebsiteAccount extends CommonObject /** * @var string String with name of icon for websiteaccount. Must be the part after the 'object_' into object_myobject.png */ - public $picto = 'globe'; + public $picto = 'lock'; /** @@ -77,7 +77,7 @@ class WebsiteAccount extends CommonObject public $fields=array( 'rowid' => array('type'=>'integer', 'label'=>'TechnicalID', 'visible'=>-2, 'enabled'=>1, 'position'=>1, 'notnull'=>1, 'index'=>1, 'comment'=>'Id',), 'login' => array('type'=>'varchar(64)', 'label'=>'Login', 'visible'=>1, 'enabled'=>1, 'position'=>10, 'notnull'=>1, 'index'=>1, 'searchall'=>1, 'comment'=>'Login',), - 'pass_encoding' => array('type'=>'varchar(24)', 'label'=>'PassEncoding', 'visible'=>-2, 'enabled'=>1, 'position'=>30), + 'pass_encoding' => array('type'=>'varchar(24)', 'label'=>'PassEncoding', 'visible'=>0, 'enabled'=>1, 'position'=>30), 'pass_crypted' => array('type'=>'varchar(128)', 'label'=>'Password', 'visible'=>1, 'enabled'=>1, 'position'=>31, 'notnull'=>1), 'pass_temp' => array('type'=>'varchar(128)', 'label'=>'Temp', 'visible'=>0, 'enabled'=>0, 'position'=>32, 'notnull'=>-1,), 'fk_soc' => array('type'=>'integer:Societe:societe/class/societe.class.php', 'label'=>'ThirdParty', 'visible'=>1, 'enabled'=>1, 'position'=>40, 'notnull'=>-1, 'index'=>1),