mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
This commit is contained in:
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:fhcfas" />
|
||||
</RDF:Seq>
|
||||
|
||||
|
||||
<RDF:Description about="urn:mozilla:package:fhcfas"
|
||||
chrome:extension="false"
|
||||
chrome:name="fhcfas"
|
||||
chrome:displayName="FHCompleteFASo"
|
||||
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://fhcomplete.technikum-wien.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/fhcfas";
|
||||
const APP_VERSION = "V1.0";
|
||||
|
||||
const APP_JAR_FILE = "fhcfas.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>1.0</em:version>
|
||||
<em:description>FHComplete - FAS Online</em:description>
|
||||
<em:file>
|
||||
<Description about="urn:mozilla:extension:file:fhcfas.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>3+</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:fhctempus" />
|
||||
</RDF:Seq>
|
||||
|
||||
|
||||
<RDF:Description about="urn:mozilla:package:fhctempus"
|
||||
chrome:extension="false"
|
||||
chrome:name="fhctempus"
|
||||
chrome:displayName="Tempus"
|
||||
chrome:author="TW"
|
||||
/>
|
||||
|
||||
</RDF:RDF>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?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('tempus_browser').contentWindow.closeWindow()"
|
||||
>
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<keyset id="mainkeys1">
|
||||
<key id="keycode_ignore_kollision1" keycode="VK_F9" oncommand="document.getElementById('tempus_browser').contentWindow.toggleIgnoreKollision()"/>
|
||||
</keyset>
|
||||
<browser id="tempus_browser" type="content-primary" flex="1" src="http://fhcomplete.technikum-wien.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/fhctempus";
|
||||
const APP_VERSION = "V2.0";
|
||||
|
||||
const APP_JAR_FILE = "fhctempus.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:fhctempus.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>2+</em:maxVersion>
|
||||
</Description>
|
||||
</em:targetApplication>
|
||||
</Description>
|
||||
</RDF>
|
||||
Reference in New Issue
Block a user