This commit is contained in:
Christian Paminger
2007-12-06 17:08:45 +00:00
parent 2fa290aac4
commit 4b78f794d9
18 changed files with 285 additions and 0 deletions
Binary file not shown.
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
<RDF:Seq about="urn:mozilla:package:root">
<RDF:li resource="urn:mozilla:package:fas" />
</RDF:Seq>
<RDF:Description about="urn:mozilla:package:fasonline"
chrome:extension="false"
chrome:name="fasonline"
chrome:displayName="FASo"
chrome:author="TW"
/>
</RDF:RDF>
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE window >
<window id="fas" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="FASo"
width="800"
height="600"
persist="screenX screenY width height sizemode"
onclose="return document.getElementById('fas_browser').contentWindow.closeWindow()"
>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<browser id="fas_browser" type="content-primary" flex="1" src="http://fas.fh-intern.ac.at/content/fas.xul.php"/>
</window>
Binary file not shown.
@@ -0,0 +1,43 @@
/* !!!
* DIESE WERTE MUESSEN GEAENDERT WERDEN
*/
const APP_DISPLAY_NAME = "FASo";
const APP_NAME = "FASo";
const APP_PACKAGE = "/tw/fasonline";
const APP_VERSION = "V1.0";
const APP_JAR_FILE = "fasonline.jar";
const APP_CONTENT_FOLDER = "content/";
const APP_LOCALE_FOLDER = "locale/de-AT/fasonline/";
const APP_SKIN_FOLDER = "skin/";
/* aus
*/
initInstall(APP_NAME, APP_PACKAGE, APP_VERSION);
var chromef = getFolder("Profile", "chrome");
var instFlags = PROFILE_CHROME;
var err = addFile(APP_PACKAGE, APP_VERSION, "chrome/" + APP_JAR_FILE, chromef, null);
if(err >= SUCCESS) {
var jar = getFolder(chromef, APP_JAR_FILE);
registerChrome(CONTENT | instFlags, jar, APP_CONTENT_FOLDER);
//registerChrome(LOCALE | instFlags, jar, APP_LOCALE_FOLDER);
//registerChrome(SKIN | instFlags, jar, APP_SKIN_FOLDER);
err = performInstall();
if(err == SUCCESS) {
alert(APP_NAME + " " + APP_VERSION + " wurde erfolgreich installiert.\n"
+"Bitte starten Sie den Browser neu bevor Sie die Anwendung starten.");
} else {
alert("Install failed. Error code:" + err);
cancelInstall(err);
}
} else {
alert("Failed to create " +APP_JAR_FILE +"\n"
+"You probably don't have appropriate permissions \n"
+"(write access to Profile/chrome directory). \n"
+"_____________________________\nError code:" + err);
cancelInstall(err);
}
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>{84cb81c9-6c90-4654-b2c4-87cdaa829281}</em:id>
<em:name>FASo</em:name>
<em:version>0.9</em:version>
<em:description>FAS Online</em:description>
<em:file>
<Description about="urn:mozilla:extension:file:fasonline.jar">
<em:package>content/</em:package>
<em:skin>skin/</em:skin>
</Description>
</em:file>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.7</em:minVersion>
<em:maxVersion>1.8+</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>
Binary file not shown.
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
<RDF:Seq about="urn:mozilla:package:root">
<RDF:li resource="urn:mozilla:package:tempus" />
</RDF:Seq>
<RDF:Description about="urn:mozilla:package:tempus"
chrome:extension="false"
chrome:name="Tempus"
chrome:displayName="Tempus"
chrome:author="TW"
/>
</RDF:RDF>
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE window >
<window id="fas" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="Tempus"
width="800"
height="600"
persist="screenX screenY width height sizemode"
onclose="return document.getElementById('fas_browser').contentWindow.closeWindow()"
>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<browser id="tempus_browser" type="content-primary" flex="1" src="http://fas.fh-intern.ac.at/content/tempus.xul.php"/>
</window>
Binary file not shown.
@@ -0,0 +1,43 @@
/* !!!
* DIESE WERTE MUESSEN GEAENDERT WERDEN
*/
const APP_DISPLAY_NAME = "Tempus";
const APP_NAME = "Tempus";
const APP_PACKAGE = "/tw/tempus";
const APP_VERSION = "V2.0";
const APP_JAR_FILE = "tempus.jar";
const APP_CONTENT_FOLDER = "content/";
const APP_LOCALE_FOLDER = "locale/de-AT/Tempus/";
const APP_SKIN_FOLDER = "skin/";
/* aus
*/
initInstall(APP_NAME, APP_PACKAGE, APP_VERSION);
var chromef = getFolder("Profile", "chrome");
var instFlags = PROFILE_CHROME;
var err = addFile(APP_PACKAGE, APP_VERSION, "chrome/" + APP_JAR_FILE, chromef, null);
if(err >= SUCCESS) {
var jar = getFolder(chromef, APP_JAR_FILE);
registerChrome(CONTENT | instFlags, jar, APP_CONTENT_FOLDER);
//registerChrome(LOCALE | instFlags, jar, APP_LOCALE_FOLDER);
//registerChrome(SKIN | instFlags, jar, APP_SKIN_FOLDER);
err = performInstall();
if(err == SUCCESS) {
alert(APP_NAME + " " + APP_VERSION + " wurde erfolgreich installiert.\n"
+"Bitte starten Sie den Browser neu bevor Sie die Anwendung starten.");
} else {
alert("Install failed. Error code:" + err);
cancelInstall(err);
}
} else {
alert("Failed to create " +APP_JAR_FILE +"\n"
+"You probably don't have appropriate permissions \n"
+"(write access to Profile/chrome directory). \n"
+"_____________________________\nError code:" + err);
cancelInstall(err);
}
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>{84cb81c9-6c90-4654-b2c4-87cdaa829281}</em:id>
<em:name>Tempus</em:name>
<em:version>2.0</em:version>
<em:description>Tempus</em:description>
<em:file>
<Description about="urn:mozilla:extension:file:tempus.jar">
<em:package>content/</em:package>
<em:skin>skin/</em:skin>
</Description>
</em:file>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.7</em:minVersion>
<em:maxVersion>1.8+</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>
Binary file not shown.
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
<RDF:Seq about="urn:mozilla:package:root">
<RDF:li resource="urn:mozilla:package:tempus" />
</RDF:Seq>
<RDF:Description about="urn:mozilla:package:tempus"
chrome:extension="false"
chrome:name="Tempus"
chrome:displayName="Tempus"
chrome:author="TW"
/>
</RDF:RDF>
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE window >
<window id="fas" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="Tempus"
width="800"
height="600"
persist="screenX screenY width height sizemode"
onclose="return document.getElementById('fas_browser').contentWindow.closeWindow()"
>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<browser id="tempus_browser" type="content-primary" flex="1" src="https://vilesci.technikum-wien.at/content/tempus.xul.php"/>
</window>
@@ -0,0 +1,43 @@
/* !!!
* DIESE WERTE MUESSEN GEAENDERT WERDEN
*/
const APP_DISPLAY_NAME = "Tempus";
const APP_NAME = "Tempus";
const APP_PACKAGE = "/tw/tempus";
const APP_VERSION = "V2.0";
const APP_JAR_FILE = "tempus.jar";
const APP_CONTENT_FOLDER = "content/";
const APP_LOCALE_FOLDER = "locale/de-AT/Tempus/";
const APP_SKIN_FOLDER = "skin/";
/* aus
*/
initInstall(APP_NAME, APP_PACKAGE, APP_VERSION);
var chromef = getFolder("Profile", "chrome");
var instFlags = PROFILE_CHROME;
var err = addFile(APP_PACKAGE, APP_VERSION, "chrome/" + APP_JAR_FILE, chromef, null);
if(err >= SUCCESS) {
var jar = getFolder(chromef, APP_JAR_FILE);
registerChrome(CONTENT | instFlags, jar, APP_CONTENT_FOLDER);
//registerChrome(LOCALE | instFlags, jar, APP_LOCALE_FOLDER);
//registerChrome(SKIN | instFlags, jar, APP_SKIN_FOLDER);
err = performInstall();
if(err == SUCCESS) {
alert(APP_NAME + " " + APP_VERSION + " wurde erfolgreich installiert.\n"
+"Bitte starten Sie den Browser neu bevor Sie die Anwendung starten.");
} else {
alert("Install failed. Error code:" + err);
cancelInstall(err);
}
} else {
alert("Failed to create " +APP_JAR_FILE +"\n"
+"You probably don't have appropriate permissions \n"
+"(write access to Profile/chrome directory). \n"
+"_____________________________\nError code:" + err);
cancelInstall(err);
}
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>{84cb81c9-6c90-4654-b2c4-87cdaa829281}</em:id>
<em:name>Tempus</em:name>
<em:version>2.0</em:version>
<em:description>Tempus</em:description>
<em:file>
<Description about="urn:mozilla:extension:file:tempus.jar">
<em:package>content/</em:package>
<em:skin>skin/</em:skin>
</Description>
</em:file>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.7</em:minVersion>
<em:maxVersion>1.8+</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>