commit
c42e952ce9
@ -215,7 +215,12 @@ dol_fiche_end();
|
||||
print '<br>';
|
||||
//print $langs->trans('FollowingLinksArePublic').'<br>';
|
||||
print img_picto('','object_globe.png').' '.$langs->trans('BlankSubscriptionForm').':<br>';
|
||||
print '<a target="_blank" href="'.DOL_URL_ROOT.'/public/members/new.php">'.DOL_MAIN_URL_ROOT.'/public/members/new.php</a>';
|
||||
if ($conf->multicompany->enabled) {
|
||||
$entity_qr='?entity='.$conf->entity;
|
||||
} else {
|
||||
$entity_qr='';
|
||||
}
|
||||
print '<a target="_blank" href="'.DOL_URL_ROOT.'/public/members/new.php'.$entity_qr.'">'.DOL_MAIN_URL_ROOT.'/public/members/new.php'.$entity_qr.'</a>';
|
||||
|
||||
/*
|
||||
print '<table class="border" cellspacing="0" cellpadding="3">';
|
||||
|
||||
@ -251,7 +251,9 @@ function dol_json_decode($json, $assoc=false)
|
||||
if (! empty($array))
|
||||
{
|
||||
$object = false;
|
||||
|
||||
if (count($array)>0) {
|
||||
$object = (object) array();
|
||||
}
|
||||
foreach ($array as $key => $value)
|
||||
{
|
||||
if ($key) $object->{$key} = $value;
|
||||
|
||||
@ -660,7 +660,7 @@ if (! defined('NOLOGIN'))
|
||||
$cryptkey = (! empty($conf->file->cookie_cryptkey) ? $conf->file->cookie_cryptkey : '' );
|
||||
|
||||
$entityCookie = new DolCookie($cryptkey);
|
||||
$entityCookie->_setCookie($entityCookieName, $entity, $ttl);
|
||||
$entityCookie->setCookie($entityCookieName, $entity, $ttl);
|
||||
}
|
||||
|
||||
// Hooks on successfull login
|
||||
|
||||
Loading…
Reference in New Issue
Block a user