Fix class not found
This commit is contained in:
parent
1ea9137863
commit
9b8011f75b
@ -342,12 +342,12 @@ print '<input type="hidden" name="page" value="'.$page.'">';
|
||||
print '<input type="hidden" name="id" value="'.$id.'">';
|
||||
print '<input type="hidden" name="contextpage" value="'.$contextpage.'">';
|
||||
|
||||
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)
|
||||
|
||||
BIN
htdocs/theme/eldy/img/object_lock.png
Normal file
BIN
htdocs/theme/eldy/img/object_lock.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 646 B |
BIN
htdocs/theme/md/img/object_lock.png
Normal file
BIN
htdocs/theme/md/img/object_lock.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 646 B |
@ -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),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user