</tr>
<?php endforeach; ?>
<?php unset($customer); } ?>
+ <?php
+ if(isset ($configuration)) {
+ $as_fqdn = $configuration["Configuration"]["as_fqdn"];
+ echo "<input id='as_fqdn' type='hidden' value='".$as_fqdn."'>";
+ }
+ ?>
</table>
-<!--
<script>
+ var asFqdn = document.getElementById("as_fqdn").value;
var synchronizeCustomersInformation = function () {
$.ajax({
- url: "http://allo_serveur/?action=synchronize_customers_info",
+ url: "http://"+asFqdn+"/?action=synchronize_customers_info",
beforeSend: function(xhr) {
xhr.overrideMimeType("text/plain; charset=x-user-defined");
}
location.href = "/customers";
});
};
-</script>
--->
\ No newline at end of file
+</script>
\ No newline at end of file