[Zope-CVS] CVS: Packages/Moztop/moztop/content - setup.js.in:1.1 moztop.js:1.7 moztop.xul:1.5
Stephan Richter
srichter@cbu.edu
Wed, 15 Jan 2003 10:06:52 -0500
Update of /cvs-repository/Packages/Moztop/moztop/content
In directory cvs.zope.org:/tmp/cvs-serv16819/moztop/content
Modified Files:
moztop.js moztop.xul
Added Files:
setup.js.in
Log Message:
Moved all Zope 3 references (via URLs) to a single JS file. But instead of
creating setup.js, I created the template setup.js.in, so everyone can
make their own setup.js and it will not conflict in CVS.
Updated INSTALL.txt to reflect that change.
Updated CHANGES.txt adding new tasks.
=== Added File Packages/Moztop/moztop/content/setup.js.in ===
/*
Here you can modify the server settings, so that Moztop will find your Zope 3
installation. Note that you require a CVS checkout of Zope 3, since Moztop
will not work with the alpha 1 release (I have made fixes since then)!
If you use Zope 3 without having modified anything and you run Zope 3 on
your local box, then these settings are just fine.
servername -- Name of the machine you run Zope 3 on.
rdf_port -- Port Number from which the RDF is served. This is simply the
Browser port and you can get it from the Zope 3 server output
when restarting Zope 3.
xmlrpc_port -- Port Number from which the XML-RPC is served. You can get it
from the Zope 3 server output when restarting Zope 3.
*/
var servername = "localhost"
var rdf_port = "8080"
var xmlrpc_port = "8081"
/*
These are variables that are used by the system to connect to the server.
DO NOT EDIT THESE!
*/
var ZOPE3_URL = "http://" + servername + ":" + xmlrpc_port + "/"
var contentsURL = "http://" + servername + ":" + rdf_port + "/@@contents.rdf"
=== Packages/Moztop/moztop/content/moztop.js 1.6 => 1.7 ===
--- Packages/Moztop/moztop/content/moztop.js:1.6 Wed Jan 15 08:17:02 2003
+++ Packages/Moztop/moztop/content/moztop.js Wed Jan 15 10:06:19 2003
@@ -3,8 +3,6 @@
.classes["@mozilla.org/rdf/rdf-service;1"]
.getService(Components.interfaces.nsIRDFService);
-var contentsURL = "http://localhost:8080/@@contents.rdf"
-
function startProgram() {
initTaskList();
initExplorer();
=== Packages/Moztop/moztop/content/moztop.xul 1.4 => 1.5 ===
--- Packages/Moztop/moztop/content/moztop.xul:1.4 Tue Jan 14 23:04:40 2003
+++ Packages/Moztop/moztop/content/moztop.xul Wed Jan 15 10:06:19 2003
@@ -28,6 +28,7 @@
onload = "startProgram();"
onclose = "return closeProgram();">
+ <script type="application/x-javascript" src="setup.js"/>
<script type="application/x-javascript" src="moztop.js"/>
<script type="application/x-javascript" src="StatusBar/TaskManager.js"/>