From b1a181dd880677f829dbb49b3a3ff93739118968 Mon Sep 17 00:00:00 2001
From: Rodolphe Quiedeville <rodolphe@quiedeville.org>
Date: Tue, 2 Aug 2005 08:57:07 +0000
Subject: [PATCH] Nouveau fichier

---
 htdocs/soc.js.php | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 htdocs/soc.js.php

diff --git a/htdocs/soc.js.php b/htdocs/soc.js.php
new file mode 100644
index 00000000000..719a3d70a68
--- /dev/null
+++ b/htdocs/soc.js.php
@@ -0,0 +1,13 @@
+<?php
+
+$js_OpenPopupWindow = "function PopupPostalCode(postalcode,objectville)
+{
+  var url = 'searchpostalcode.php?cp=' + postalcode + '&targetobject=window.opener.document.formsoc.' + objectville.name;
+  //  alert(url);
+  var hWnd = window.open(url, \"SearchPostalCodeWindow\", \"width=\" + 300 + \",height=\" + 150 + \",resizable=yes,scrollbars=yes\");
+  if((document.window != null) && (!hWnd.opener))
+     hWnd.opener = document.window;
+}
+";
+
+?>
-- 
GitLab