From 05e71c79c93801ab6a8262fbd93d1af3d5bdace4 Mon Sep 17 00:00:00 2001
From: pedro_morgan <pedro_morgan@ispconfig3>
Date: Sun, 19 Aug 2007 00:31:55 -0400
Subject: [PATCH] * Made login/index class php5 * Also replaces " with ' 

---
 interface/web/js/scrigo.js |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/interface/web/js/scrigo.js b/interface/web/js/scrigo.js
index f72a0fd..36d98a5 100644
--- a/interface/web/js/scrigo.js
+++ b/interface/web/js/scrigo.js
@@ -194,4 +194,18 @@
   if(window.confirm("<tmpl_var name='delete_confirmation'>")) {
           loadContent(link);
   }
+}
+
+function loadContentInto(elementid,pagename) {
+	var itemContentCallback = {
+		success: function(o) {
+			document.getElementById(elementid).innerHTML = o.responseText;
+		},
+		failure: function(o) {
+			alert('Ajax Request was not successful.');
+		}
+	}
+	
+
+  var pageContentObject2 = YAHOO.util.Connect.asyncRequest('GET', pagename, itemContentCallback);
 }
\ No newline at end of file

--
Gitblit v1.9.1