New: Add webservice user

This commit is contained in:
Laurent Destailleur 2011-10-18 16:26:40 +02:00
parent 34f2c19920
commit f1e36331ea
2 changed files with 6 additions and 18 deletions

View File

@ -334,24 +334,6 @@ if (! empty($conf->global->MAIN_GOOGLE_AD_CLIENT) && ! empty($conf->global->MAIN
print '</div>'."\n";
}
// Google Analytics (need Google module)
if (! empty($conf->global->MAIN_GOOGLE_AN_ID))
{
print "\n";
print '<script type="text/javascript">'."\n";
print ' var _gaq = _gaq || [];'."\n";
print ' _gaq.push([\'_setAccount\', \''.$conf->global->MAIN_GOOGLE_AN_ID.'\']);'."\n";
print ' _gaq.push([\'_trackPageview\']);'."\n";
print ''."\n";
print ' (function() {'."\n";
print ' var ga = document.createElement(\'script\'); ga.type = \'text/javascript\'; ga.async = true;'."\n";
print ' ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\';'."\n";
print ' var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s);'."\n";
print ' })();'."\n";
print '</script>'."\n";
}
llxFooterVierge();
@ -388,6 +370,8 @@ function llxHeaderVierge($title, $head = "")
function llxFooterVierge()
{
printCommonFooter();
print "\n";
print "</body>\n";
print "</html>\n";

View File

@ -68,6 +68,8 @@ if ($conf->fournisseur->enabled)
$url=DOL_MAIN_URL_ROOT.'/webservices/server_supplier_invoice.php?wsdl';
print img_picto('','object_globe.png') . ' <a href="' . $url . '" target="_blank">' . $url . "</a><br>\n";
}
$url=DOL_MAIN_URL_ROOT.'/webservices/server_user.php?wsdl';
print img_picto('','object_globe.png') . ' <a href="' . $url . '" target="_blank">' . $url . "</a><br>\n";
print '<br>';
@ -90,6 +92,8 @@ if ($conf->fournisseur->enabled)
$url=DOL_MAIN_URL_ROOT.'/webservices/server_supplier_invoice.php';
print img_picto('','object_globe.png') . ' <a href="' . $url . '" target="_blank">' . $url . "</a><br>\n";
}
$url=DOL_MAIN_URL_ROOT.'/webservices/server_user.php';
print img_picto('','object_globe.png') . ' <a href="' . $url . '" target="_blank">' . $url . "</a><br>\n";
print '<br>';
print '<br>';