[freeside] Grace periods?
Jason Spence
thalakan at frys.com
Tue Jan 9 01:08:47 PST 2001
On Tue, Dec 19, 2000 at 04:07:16PM -0800, ivan developed
a new theory of relativity and:
[snip]
Oops, I forgot to attach my patch to the last email.
- Jason
-------------- next part --------------
diff -Nru freeside/htdocs/index.html my-freeside/htdocs/index.html
--- freeside/htdocs/index.html Sun Dec 3 05:44:05 2000
+++ my-freeside/htdocs/index.html Tue Jan 9 01:06:00 2001
@@ -101,5 +101,43 @@
- Points of Presence
</ul>
</ul>
+
+ <SCRIPT language="Javascript"><!--
+
+var here = document.URL;
+var URL = here.substring(0, here.lastIndexOf("/", here.length));
+
+URL = URL + "/minifreeside.html";
+
+function addminifreeside() {
+ if(URL.substring(0,8) == "file:///") {
+ alert("Sorry, you must access Freeside through a web server (not\
+ a file: link) to add minifreeside to your sidebar.");
+ return false;
+ }
+ window.sidebar.addPanel("Minifreeside", URL, "");
+ return true;
+}
+
+function isMoz() {
+ var version = parseInt(navigator.appVersion);
+ var name = navigator.appName;
+ if(name == "Netscape") {
+ if(version >= 5) {
+ return true;
+ }
+ }
+ return false;
+}
+
+if(isMoz()) {
+ document.write('<P><DIV style="color: blue; font-size: 10px; text-decoration: underline; cursor: pointer;">\
+ <A onClick="javascript:addminifreeside()">Click here to add Freeside to your Netscape 6 sidebar\
+ </A></DIV>');
+}
+// -->
+ </SCRIPT>
+ <P>
+
</BODY>
</HTML>
diff -Nru freeside/htdocs/minifreeside.html my-freeside/htdocs/minifreeside.html
--- freeside/htdocs/minifreeside.html Wed Dec 31 16:00:00 1969
+++ my-freeside/htdocs/minifreeside.html Tue Jan 9 00:59:45 2001
@@ -0,0 +1,47 @@
+<html>
+ <head>
+ <title>Minifreeside</title>
+ <meta content="Minifreeside">
+
+
+ </head>
+ <body>
+
+<BODY BGCOLOR="#ffffff">
+<FONT COLOR="#ff0000" SIZE=7>
+Minifreeside
+</FONT>
+<HR>
+<BR>
+<A href="edit/cust_main.cgi" target="_CONTENT">New customer</A>
+<BR>
+<BR>
+
+<FORM ACTION="search/cust_main.cgi" METHOD="post" target="_CONTENT">
+ <INPUT type="hidden" name="last_on" value="checked">
+ <INPUT type="hidden" name="last_type" value="Fuzzy">
+
+ Search for <B>last name</B>:
+ <INPUT type="text" name="last_text">
+ <INPUT TYPE="submit" VALUE="Search">
+</FORM>
+
+<SCRIPT language="Javascript"><!--
+
+function getBase() {
+ var url = document.URL;
+ var base = url.substring(0, url.lastIndexOf("/", url.length));
+ return base;
+}
+//-->
+</SCRIPT>
+
+<FORM name="by_num" onSubmit="window._content.location=getBase() + '/view/cust_main.cgi?' + document.by_num.custnum.value; return false;">
+
+Search for <B>customer number</B>:
+<INPUT type="text" name="custnum">
+<INPUT type="submit" value="Search">
+</FORM>
+
+</body>
+</html>
More information about the freeside-users
mailing list