Debug webportal
This commit is contained in:
parent
25a91c63cf
commit
079b2aa3a0
7 changed files with 10 additions and 9 deletions
|
|
@ -7819,7 +7819,7 @@ abstract class CommonObject
|
|||
$form = new Form($this->db);
|
||||
}
|
||||
|
||||
$label = empty($val['label']) ? '' : $val['label'];
|
||||
//$label = empty($val['label']) ? '' : $val['label'];
|
||||
$type = empty($val['type']) ? '' : $val['type'];
|
||||
$size = empty($val['css']) ? '' : $val['css'];
|
||||
$reg = array();
|
||||
|
|
@ -8222,7 +8222,8 @@ abstract class CommonObject
|
|||
$value = '';
|
||||
}
|
||||
} elseif ($type == 'password') {
|
||||
$value = preg_replace('/./i', '*', $value);
|
||||
$value = '<span class="opacitymedium">'.$langs->trans("Encrypted").'</span>';
|
||||
//$value = preg_replace('/./i', '*', $value);
|
||||
} elseif ($type == 'array') {
|
||||
$value = implode('<br>', $value);
|
||||
} else { // text|html|varchar
|
||||
|
|
|
|||
|
|
@ -685,7 +685,7 @@ Module5000Desc=Allows you to manage multiple companies
|
|||
Module6000Name=Inter-modules Workflow
|
||||
Module6000Desc=Workflow management between different modules (automatic creation of object and/or automatic status change)
|
||||
Module10000Name=Websites
|
||||
Module10000Desc=Create websites (public) with a WYSIWYG editor. This is a webmaster or developer oriented CMS (it is better to know HTML and CSS language). Just setup your web server (Apache, Nginx, ...) to point to the dedicated Dolibarr directory to have it online on the internet with your own domain name.
|
||||
Module10000Desc=CMS to create websites with a WYSIWYG editor. This is a webmaster or developer oriented Content Management System (it is better to know HTML and CSS language). Just setup your web server (Apache, Nginx, ...) to point to the dedicated Dolibarr directory to have it online on the internet with your own domain name.
|
||||
Module20000Name=Leave Request Management
|
||||
Module20000Desc=Define and track employee leave requests
|
||||
Module39000Name=Product Lots
|
||||
|
|
|
|||
|
|
@ -1260,4 +1260,4 @@ AmountSalary=Salary amount
|
|||
InvoiceSubtype=Invoice subtype
|
||||
ConfirmMassReverse=Bulk Reverse confirmation
|
||||
ConfirmMassReverseQuestion=Are you sure you want to reverse the %s selected record(s)?
|
||||
|
||||
Encrypted=Encrypted
|
||||
|
|
|
|||
|
|
@ -161,8 +161,8 @@ Visibility=Visibility
|
|||
Everyone=Everyone
|
||||
AssignedContacts=Assigned contacts
|
||||
WebsiteTypeLabel=Type of Web site
|
||||
WebsiteTypeDolibarrWebsite=Web site (Module WebSite)
|
||||
WebsiteTypeDolibarrPortal=Native and ready to use web portal (Module WebPortal)
|
||||
WebsiteTypeDolibarrWebsite=Web site (Module WebSites CMS)
|
||||
WebsiteTypeDolibarrPortal=Native and ready to use web portal (Module Web Portal)
|
||||
WebPortalURL=Web portal URL
|
||||
NewWebsiteAccount=New accounts for websites
|
||||
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ class SocieteAccount extends CommonObject
|
|||
'entity' => array('type'=>'integer', 'label'=>'Entity', 'visible'=>0, 'enabled'=>1, 'position'=>5, 'default'=>1),
|
||||
'login' => array('type'=>'varchar(64)', 'label'=>'Login', 'visible'=>1, 'enabled'=>1, 'notnull'=>1, 'position'=>10, 'showoncombobox'=>1),
|
||||
'pass_encoding' => array('type'=>'varchar(24)', 'label'=>'PassEncoding', 'visible'=>0, 'enabled'=>1, 'position'=>30),
|
||||
'pass_crypted' => array('type'=>'password', 'label'=>'Password', 'visible'=>1, 'enabled'=>1, 'position'=>31, 'notnull'=>1),
|
||||
'pass_crypted' => array('type'=>'password', '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, 'picto'=>'company', 'css'=>'maxwidth300 widthcentpercentminusxx'),
|
||||
'site' => array('type'=>'varchar(128)', 'label'=>'WebsiteTypeLabel', 'visible'=>0, 'enabled'=>0, 'position'=>41, 'notnull'=>1, 'default' => '', 'help'=>'Name of the website or service if this is account on an external website or service'),
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ print '</div>';
|
|||
|
||||
print '<div class="center">';
|
||||
print '<input class="button button-save reposition buttonforacesave" type="submit" name="submit" value="' . $langs->trans("Save") . '">';
|
||||
print '<input class="button button-cancel reposition" type="submit" name="cancel" value="' . $langs->trans("Cancel") . '">';
|
||||
//print '<input class="button button-cancel reposition" type="submit" name="cancel" value="' . $langs->trans("Cancel") . '">';
|
||||
print '</div>';
|
||||
|
||||
print '</form>';
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
|||
|
||||
$head = websiteaccountPrepareHead($object);
|
||||
|
||||
print dol_get_fiche_head($head, 'card', $langs->trans("WebsiteAccount"), -1, 'websiteaccount@website');
|
||||
print dol_get_fiche_head($head, 'card', $langs->trans("WebsiteAccount"), -1, $object->picto);
|
||||
|
||||
$formconfirm = '';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue