diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e9ae80694875f869892f13f4fcaf1170a00dea41 (patch) | |
tree | aa2f8d8a217e2d376224c8d46b7397b68d35de2d /quanta/data/templates | |
download | tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.tar.gz tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/data/templates')
69 files changed, 2823 insertions, 0 deletions
diff --git a/quanta/data/templates/Makefile.am b/quanta/data/templates/Makefile.am new file mode 100644 index 00000000..2b540b4a --- /dev/null +++ b/quanta/data/templates/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = images text documents binaries pages scripts diff --git a/quanta/data/templates/binaries/Makefile.am b/quanta/data/templates/binaries/Makefile.am new file mode 100644 index 00000000..7a83c6ca --- /dev/null +++ b/quanta/data/templates/binaries/Makefile.am @@ -0,0 +1,7 @@ +SUBDIRS = images others + +templatesbinariesdir = ${quanta_datadir}/templates/binaries +templatesbinaries_DATA = dirinfo + +install-data-hook: + @mv $(DESTDIR)$(templatesbinariesdir)/dirinfo $(DESTDIR)$(templatesbinariesdir)/.dirinfo diff --git a/quanta/data/templates/binaries/dirinfo b/quanta/data/templates/binaries/dirinfo new file mode 100644 index 00000000..620c4ce3 --- /dev/null +++ b/quanta/data/templates/binaries/dirinfo @@ -0,0 +1,6 @@ +PostText= +PreText= +Type=file/all +UsePrePostText=false + + diff --git a/quanta/data/templates/binaries/images/Makefile.am b/quanta/data/templates/binaries/images/Makefile.am new file mode 100644 index 00000000..9d86cd98 --- /dev/null +++ b/quanta/data/templates/binaries/images/Makefile.am @@ -0,0 +1,2 @@ +SUBDIRS = jpg others png + diff --git a/quanta/data/templates/binaries/images/jpg/Makefile.am b/quanta/data/templates/binaries/images/jpg/Makefile.am new file mode 100644 index 00000000..621a66ff --- /dev/null +++ b/quanta/data/templates/binaries/images/jpg/Makefile.am @@ -0,0 +1,2 @@ +templatesbinariesimagesjpgdir = ${quanta_datadir}/templates/binaries/images/jpg +templatesbinariesimagesjpg_DATA = demo.jpg diff --git a/quanta/data/templates/binaries/images/jpg/demo.jpg b/quanta/data/templates/binaries/images/jpg/demo.jpg Binary files differnew file mode 100644 index 00000000..eea8f549 --- /dev/null +++ b/quanta/data/templates/binaries/images/jpg/demo.jpg diff --git a/quanta/data/templates/binaries/images/others/Makefile.am b/quanta/data/templates/binaries/images/others/Makefile.am new file mode 100644 index 00000000..5889bc15 --- /dev/null +++ b/quanta/data/templates/binaries/images/others/Makefile.am @@ -0,0 +1,2 @@ +templatesbinariesimagesothersdir = ${quanta_datadir}/templates/binaries/images/others +templatesbinariesimagesothers_DATA = demo.tif diff --git a/quanta/data/templates/binaries/images/others/demo.tif b/quanta/data/templates/binaries/images/others/demo.tif Binary files differnew file mode 100644 index 00000000..efe75e39 --- /dev/null +++ b/quanta/data/templates/binaries/images/others/demo.tif diff --git a/quanta/data/templates/binaries/images/png/Makefile.am b/quanta/data/templates/binaries/images/png/Makefile.am new file mode 100644 index 00000000..4d800c96 --- /dev/null +++ b/quanta/data/templates/binaries/images/png/Makefile.am @@ -0,0 +1,2 @@ +templatesbinariesimagespngdir = ${quanta_datadir}/templates/binaries/images/png +templatesbinariesimagespng_DATA = demo.png diff --git a/quanta/data/templates/binaries/images/png/demo.png b/quanta/data/templates/binaries/images/png/demo.png Binary files differnew file mode 100644 index 00000000..3c733c65 --- /dev/null +++ b/quanta/data/templates/binaries/images/png/demo.png diff --git a/quanta/data/templates/binaries/others/Makefile.am b/quanta/data/templates/binaries/others/Makefile.am new file mode 100644 index 00000000..3f512f5b --- /dev/null +++ b/quanta/data/templates/binaries/others/Makefile.am @@ -0,0 +1,2 @@ +templatesbinariesothersdir = ${quanta_datadir}/templates/binaries/others +templatesbinariesothers_DATA = print.pdf diff --git a/quanta/data/templates/binaries/others/print.pdf b/quanta/data/templates/binaries/others/print.pdf Binary files differnew file mode 100644 index 00000000..98db664b --- /dev/null +++ b/quanta/data/templates/binaries/others/print.pdf diff --git a/quanta/data/templates/documents/Makefile.am b/quanta/data/templates/documents/Makefile.am new file mode 100644 index 00000000..eb6533cd --- /dev/null +++ b/quanta/data/templates/documents/Makefile.am @@ -0,0 +1,7 @@ +SUBDIRS = html others scripts + +templatesdocumentsdir = ${quanta_datadir}/templates/documents +templatesdocuments_DATA = dirinfo + +install-data-hook: + @mv $(DESTDIR)$(templatesdocumentsdir)/dirinfo $(DESTDIR)$(templatesdocumentsdir)/.dirinfo diff --git a/quanta/data/templates/documents/dirinfo b/quanta/data/templates/documents/dirinfo new file mode 100644 index 00000000..2e7b4451 --- /dev/null +++ b/quanta/data/templates/documents/dirinfo @@ -0,0 +1,6 @@ +Type=template/all +PostText= +PreText= +UsePrePostText=false + + diff --git a/quanta/data/templates/documents/html/Makefile.am b/quanta/data/templates/documents/html/Makefile.am new file mode 100644 index 00000000..8f43ee1e --- /dev/null +++ b/quanta/data/templates/documents/html/Makefile.am @@ -0,0 +1,2 @@ +templatesdocumentshtmldir = ${quanta_datadir}/templates/documents/html +templatesdocumentshtml_DATA = demo.html diff --git a/quanta/data/templates/documents/html/demo.html b/quanta/data/templates/documents/html/demo.html new file mode 100644 index 00000000..4f0692e0 --- /dev/null +++ b/quanta/data/templates/documents/html/demo.html @@ -0,0 +1 @@ +<!-- Put here the HTML Document templates -->
\ No newline at end of file diff --git a/quanta/data/templates/documents/others/Makefile.am b/quanta/data/templates/documents/others/Makefile.am new file mode 100644 index 00000000..ede3e126 --- /dev/null +++ b/quanta/data/templates/documents/others/Makefile.am @@ -0,0 +1,2 @@ +templatesdocumentsothersdir = ${quanta_datadir}/templates/documents/others +templatesdocumentsothers_DATA = demo.txt diff --git a/quanta/data/templates/documents/others/demo.txt b/quanta/data/templates/documents/others/demo.txt new file mode 100644 index 00000000..e650dc4f --- /dev/null +++ b/quanta/data/templates/documents/others/demo.txt @@ -0,0 +1,2 @@ + Put here your other text documents that you can use +to start a new page.
\ No newline at end of file diff --git a/quanta/data/templates/documents/scripts/Makefile.am b/quanta/data/templates/documents/scripts/Makefile.am new file mode 100644 index 00000000..76f0862f --- /dev/null +++ b/quanta/data/templates/documents/scripts/Makefile.am @@ -0,0 +1,2 @@ +templatesdocumentsscriptsdir = ${quanta_datadir}/templates/documents/scripts +templatesdocumentsscripts_DATA = demo.script diff --git a/quanta/data/templates/documents/scripts/demo.script b/quanta/data/templates/documents/scripts/demo.script new file mode 100644 index 00000000..0b887062 --- /dev/null +++ b/quanta/data/templates/documents/scripts/demo.script @@ -0,0 +1 @@ +// Put here your script templates/skeletons.
\ No newline at end of file diff --git a/quanta/data/templates/images/Makefile.am b/quanta/data/templates/images/Makefile.am new file mode 100644 index 00000000..99e7294e --- /dev/null +++ b/quanta/data/templates/images/Makefile.am @@ -0,0 +1,7 @@ +SUBDIRS = jpg png others + +templatesimagesdir = ${quanta_datadir}/templates/images +templatesimages_DATA = dirinfo + +install-data-hook: + @mv $(DESTDIR)$(templatesimagesdir)/dirinfo $(DESTDIR)$(templatesimagesdir)/.dirinfo diff --git a/quanta/data/templates/images/banners/Makefile.am b/quanta/data/templates/images/banners/Makefile.am new file mode 100644 index 00000000..6f99997c --- /dev/null +++ b/quanta/data/templates/images/banners/Makefile.am @@ -0,0 +1,2 @@ +templatesimagesbannerdir = ${quanta_datadir}/templates/images/banners +templatesimagesbanner_DATA = demo.jpg diff --git a/quanta/data/templates/images/banners/demo.jpg b/quanta/data/templates/images/banners/demo.jpg Binary files differnew file mode 100644 index 00000000..eea8f549 --- /dev/null +++ b/quanta/data/templates/images/banners/demo.jpg diff --git a/quanta/data/templates/images/buttons/Makefile.am b/quanta/data/templates/images/buttons/Makefile.am new file mode 100644 index 00000000..fdcd09b3 --- /dev/null +++ b/quanta/data/templates/images/buttons/Makefile.am @@ -0,0 +1,2 @@ +templatesimagesbuttonsdir = ${quanta_datadir}/templates/images/buttons +templatesimagesbuttons_DATA = ball.png diff --git a/quanta/data/templates/images/buttons/ball.png b/quanta/data/templates/images/buttons/ball.png Binary files differnew file mode 100644 index 00000000..0e180b4d --- /dev/null +++ b/quanta/data/templates/images/buttons/ball.png diff --git a/quanta/data/templates/images/dirinfo b/quanta/data/templates/images/dirinfo new file mode 100644 index 00000000..f7d6e032 --- /dev/null +++ b/quanta/data/templates/images/dirinfo @@ -0,0 +1,4 @@ +Type=file/all +PostText= +PreText= +UsePrePostText=false diff --git a/quanta/data/templates/images/jpg/Makefile.am b/quanta/data/templates/images/jpg/Makefile.am new file mode 100644 index 00000000..056df6d9 --- /dev/null +++ b/quanta/data/templates/images/jpg/Makefile.am @@ -0,0 +1,2 @@ +templatesimagesjpgdir = ${quanta_datadir}/templates/images/jpg +templatesimagesjpg_DATA = demo.jpg diff --git a/quanta/data/templates/images/jpg/demo.jpg b/quanta/data/templates/images/jpg/demo.jpg Binary files differnew file mode 100644 index 00000000..eea8f549 --- /dev/null +++ b/quanta/data/templates/images/jpg/demo.jpg diff --git a/quanta/data/templates/images/others/Makefile.am b/quanta/data/templates/images/others/Makefile.am new file mode 100644 index 00000000..61b7bd57 --- /dev/null +++ b/quanta/data/templates/images/others/Makefile.am @@ -0,0 +1,2 @@ +templatesimagesothersdir = ${quanta_datadir}/templates/images/others +templatesimagesothers_DATA = demo.tif diff --git a/quanta/data/templates/images/others/demo.tif b/quanta/data/templates/images/others/demo.tif Binary files differnew file mode 100644 index 00000000..efe75e39 --- /dev/null +++ b/quanta/data/templates/images/others/demo.tif diff --git a/quanta/data/templates/images/png/Makefile.am b/quanta/data/templates/images/png/Makefile.am new file mode 100644 index 00000000..a73b78db --- /dev/null +++ b/quanta/data/templates/images/png/Makefile.am @@ -0,0 +1,2 @@ +templatesimagespngdir = ${quanta_datadir}/templates/images/png +templatesimagespng_DATA = demo.png diff --git a/quanta/data/templates/images/png/demo.png b/quanta/data/templates/images/png/demo.png Binary files differnew file mode 100644 index 00000000..3c733c65 --- /dev/null +++ b/quanta/data/templates/images/png/demo.png diff --git a/quanta/data/templates/pages/Makefile.am b/quanta/data/templates/pages/Makefile.am new file mode 100644 index 00000000..6eaaa6a8 --- /dev/null +++ b/quanta/data/templates/pages/Makefile.am @@ -0,0 +1,7 @@ +SUBDIRS = php html docbook + +templatespagesdir = ${quanta_datadir}/templates/pages +templatespages_DATA = dirinfo + +install-data-hook: + @mv $(DESTDIR)$(templatespagesdir)/dirinfo $(DESTDIR)$(templatespagesdir)/.dirinfo diff --git a/quanta/data/templates/pages/dirinfo b/quanta/data/templates/pages/dirinfo new file mode 100644 index 00000000..345f5eb8 --- /dev/null +++ b/quanta/data/templates/pages/dirinfo @@ -0,0 +1,4 @@ +PostText= +PreText= +Type=template/all +UsePrePostText=false diff --git a/quanta/data/templates/pages/docbook/Makefile.am b/quanta/data/templates/pages/docbook/Makefile.am new file mode 100644 index 00000000..6d748996 --- /dev/null +++ b/quanta/data/templates/pages/docbook/Makefile.am @@ -0,0 +1,2 @@ +templagespagesdocbookdir = ${quanta_datadir}/templates/pages/docbook +templagespagesdocbook_DATA = kde-doc-template.docbook diff --git a/quanta/data/templates/pages/docbook/kde-doc-template.docbook b/quanta/data/templates/pages/docbook/kde-doc-template.docbook new file mode 100644 index 00000000..65a5773c --- /dev/null +++ b/quanta/data/templates/pages/docbook/kde-doc-template.docbook @@ -0,0 +1,568 @@ +<?xml version="1.0" ?> +<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ + <!-- Define an entity for your application if it is not part of KDE + CVS --> + <!ENTITY kmyapplication "<application>KMyApp</application>"> + <!ENTITY kappname "&kmyapplication;"><!-- replace kmyapplication here + do *not* replace kappname--> + <!ENTITY package "kde-module"><!-- kdebase, kdeadmin, etc. Leave + this unchanged if your + application is not maintained in KDE CVS --> + <!ENTITY % addindex "IGNORE"> + <!ENTITY % English "INCLUDE"> <!-- ONLY If you are writing non-English + original documentation, change + the language here --> + + <!-- Do not define any other entities; instead, use the entities + from entities/general.entities and $LANG/user.entities. --> +]> +<!-- kdoctemplate v0.9 January 10 2003 + Changes to comments to clarify entity usage January 10 2003 + Minor update to "Credits and Licenses" section on August 24, 2000 + Removed "Revision history" section on 22 January 2001 + Changed to Installation/Help menu entities 18 October 2001 + Other minor cleanup and changes 18 October 2001 + FPI change and minor changes November 2002 --> + +<!-- +This template was designed by: David Rugge davidrugge@mindspring.com +with lots of help from: Eric Bischoff ebisch@cybercable.tm.fr +and Frederik Fouvry fouvry@sfs.nphil.uni-tuebingen.de +of the KDE DocBook team. + +You may freely use this template for writing any sort of KDE documentation. +If you have any changes or improvements, please let us know. + +Remember: +- in XML, the case of the <tags> and attributes is relevant ; +- also, quote all attributes. + +Please don't forget to remove all these comments in your final documentation, +thanks ;-). +--> + +<!-- ................................................................ --> + +<!-- The language must NOT be changed here. --> +<!-- If you are writing original documentation in a language other --> +<!-- than English, change the language above ONLY, not here --> +<book lang="&language;"> + +<!-- This header contains all of the meta-information for the document such +as Authors, publish date, the abstract, and Keywords --> + +<bookinfo> +<title>The &kmyapplication; Handbook</title> + +<authorgroup> +<author> +<!-- This is just put in as an example. For real documentation, please + define a general entity in entities/contributor.entities, e.g. +<!ENTITY George.N.Ugnacious "<personname><firstname>George</firstname><othername>N.</othername><surname>Ugnacious</surname></personname>"> +<!ENTITY George.N.Ugnacious.mail "<email>gnu@kde.org</email>"> +and use `&George.N.Ugnacious; &George.N.Ugnacious.mail;' in the author element. + --> +<personname> +<firstname>George</firstname> +<othername>N.</othername> +<surname>Ugnacious</surname> +</personname> +<email>gnu@kde.org</email> +</author> +</authorgroup> + +<!-- TRANS:ROLES_OF_TRANSLATORS --> + +<copyright> +<year>2002</year> +<holder>George N. Ugnacious</holder> +</copyright> +<!-- Translators: put here the copyright notice of the translation --> +<!-- Put here the FDL notice. Read the explanation in fdl-notice.docbook + and in the FDL itself on how to use it. --> +<legalnotice>&FDLNotice;</legalnotice> + +<!-- Date and version information of the documentation +Don't forget to include this last date and this last revision number, we +need them for translation coordination ! +Please respect the format of the date (YYYY-MM-DD) and of the version +(V.MM.LL), it could be used by automation scripts. +Do NOT change these in the translation. --> + +<date>2003-01-10</date> +<releaseinfo>1.01.00</releaseinfo> + +<!-- Abstract about this handbook --> + +<abstract> +<para> +&kmyapplication; is an application specially designed to do nothing you would +ever want. +</para> +</abstract> + +<!-- This is a set of Keywords for indexing by search engines. +Please at least include KDE, the KDE package it is in, the name + of your application, and a few relevant keywords. --> + +<keywordset> +<keyword>KDE</keyword> +<keyword>kdeutils</keyword> +<keyword>Kapp</keyword> +<keyword>nothing</keyword> +<keyword>nothing else</keyword> +</keywordset> + +</bookinfo> + +<!-- The contents of the documentation begin here. Label +each chapter so with the id attribute. This is necessary for two reasons: it +allows you to easily reference the chapter from other chapters of your +document, and if there is no ID, the name of the generated HTML files will vary +from time to time making it hard to manage for maintainers and for the CVS +system. Any chapter labelled (OPTIONAL) may be left out at the author's +discretion. Other chapters should not be left out in order to maintain a +consistent documentation style across all KDE apps. --> + +<chapter id="introduction"> +<title>Introduction</title> + +<!-- The introduction chapter contains a brief introduction for the +application that explains what it does and where to report +problems. Basically a long version of the abstract. Don't include a +revision history. (see installation appendix comment) --> + +<para> +&kmyapplication; is a program that lets you do absolutely nothing. Please report +any problems or feature requests to the &kde; mailing lists. +</para> +</chapter> + +<chapter id="using-kapp"> +<title>Using &kmyapplication;</title> + +<!-- This chapter should tell the user how to use your app. You should use as +many sections (Chapter, Sect1, Sect3, etc...) as is necessary to fully document +your application. --> + +<para> + +<!-- Note that all graphics should be in .png format. Use no gifs because of +patent issues. --> + +<screenshot> +<screeninfo>Here's a screenshot of &kmyapplication;</screeninfo> + <mediaobject> + <imageobject> + <imagedata fileref="screenshot.png" format="PNG"/> + </imageobject> + <imageobject> + <imagedata fileref="screenshot.eps" format="EPS"/> + </imageobject> + <textobject> + <phrase>Screenshot</phrase> + </textobject> + </mediaobject> +</screenshot> +</para> + + +<sect1 id="kapp-features"> +<title>More &kmyapplication; features</title> + +<para>It slices! It dices! and it comes with a free toaster!</para> +<para> +The Squiggle Tool <guiicon><inlinemediaobject> + <imageobject> + <imagedata fileref="squiggle.png" format="PNG"/> + </imageobject> + <imageobject> + <imagedata fileref="squiggle.eps" format="EPS"/> + </imageobject> + <textobject> + <phrase>Squiggle</phrase> + </textobject> +</inlinemediaobject></guiicon> is used to draw squiggly lines all over +the &kmyapplication; main window. It's not a bug, it's a feature! +</para> + +</sect1> +</chapter> + +<chapter id="commands"> +<title>Command Reference</title> + +<!-- (OPTIONAL, BUT RECOMMENDED) This chapter should list all of the +application windows and their menubar and toolbar commands for easy reference. +Also include any keys that have a special function but have no equivalent in the +menus or toolbars. This may not be necessary for small apps or apps with no tool +or menu bars. --> + +<sect1 id="kapp-mainwindow"> +<title>The main &kmyapplication; window</title> + +<sect2> +<title>The File Menu</title> +<para> +<variablelist> +<varlistentry> +<term><menuchoice> +<shortcut> +<keycombo action="simul">&Ctrl;<keycap>N</keycap></keycombo> +</shortcut> +<guimenu>File</guimenu> +<guimenuitem>New</guimenuitem> +</menuchoice></term> +<listitem><para><action>Creates a new document</action></para></listitem> +</varlistentry> +<varlistentry> +<term><menuchoice> +<shortcut> +<keycombo action="simul">&Ctrl;<keycap>S</keycap></keycombo> +</shortcut> +<guimenu>File</guimenu> +<guimenuitem>Save</guimenuitem> +</menuchoice></term> +<listitem><para><action>Saves the document</action></para></listitem> +</varlistentry> +<varlistentry> +<term><menuchoice> +<shortcut> +<keycombo action="simul">&Ctrl;<keycap>Q</keycap></keycombo> +</shortcut> +<guimenu>File</guimenu> +<guimenuitem>Quit</guimenuitem> +</menuchoice></term> +<listitem><para><action>Quits</action> &kmyapplication;</para></listitem> +</varlistentry> +</variablelist> +</para> + +</sect2> + +<sect2> +<title>The <guimenu>Help</guimenu> Menu</title> + +<!-- Assuming you have a standard help menu (help, what's this, about --> +<!-- &kmyapplication;, about KDE) then the documentation is already written. --> +<!-- The following entity is valid anywhere that a variablelist is --> +<!-- valid. --> + +&help.menu.documentation; + +</sect2> + +</sect1> +</chapter> + +<chapter id="developers"> +<title>Developer's Guide to &kmyapplication;</title> + +<!-- (OPTIONAL) A Programming/Scripting reference chapter should be +used for apps that use plugins or that provide their own scripting hooks +and/or development libraries. --> + +<para> +Programming &kmyapplication; plugins is a joy to behold. Just read through the next +66 pages of API's to learn how! +</para> + +<!-- Use refentries to describe APIs. Refentries are fairly complicated and you +should consult the docbook reference for further details. The example below was +taken from that reference and shortened a bit for readability. --> + +<refentry id="re-1007-unmanagechildren-1"> +<refmeta> +<refentrytitle>XtUnmanageChildren</refentrytitle> +<refmiscinfo>Xt - Geometry Management</refmiscinfo> +</refmeta> +<refnamediv> +<refname>XtUnmanageChildren +</refname> +<refpurpose>remove a list of children from a parent widget's managed +list. +<indexterm id="ix-1007-unmanagechildren-1"><primary>widgets</primary><secondary>removing</secondary></indexterm> +<indexterm id="ix-1007-unmanagechildren-2"><primary>XtUnmanageChildren</primary></indexterm> +</refpurpose> + +</refnamediv> +<refsynopsisdiv> +<refsynopsisdivinfo> +<date>4 March 1996</date> +</refsynopsisdivinfo> +<synopsis> +void XtUnmanageChildren(<replaceable class="parameter">children</replaceable>, <replaceable class="parameter">num_children</replaceable>) + WidgetList <replaceable class="parameter">children</replaceable>; + Cardinal <replaceable class="parameter">num_children</replaceable>; +</synopsis> + +<refsect2 id="r2-1007-unmanagechildren-1"> +<title>Inputs</title> +<variablelist> +<varlistentry> +<term><replaceable class="parameter">children</replaceable> +</term> +<listitem> +<para>Specifies an array of child widgets. Each child must be of +class RectObj or any subclass thereof. +</para> +</listitem> +</varlistentry> +<varlistentry> +<term><replaceable class="parameter">num_children</replaceable> +</term> +<listitem> +<para>Specifies the number of elements in <replaceable class="parameter">children</replaceable>. +</para> +</listitem> +</varlistentry> +</variablelist> +</refsect2></refsynopsisdiv> + +<refsect1 id="r1-1007-unmanagechildren-1"> +<title>Description +</title> +<para><function>XtUnmanageChildren()</function> unmaps the specified widgets +and removes them from their parent's geometry management. +The widgets will disappear from the screen, and (depending +on its parent) may no longer have screen space allocated for +them. +</para> +<para>Each of the widgets in the <replaceable class="parameter">children</replaceable> array must have +the same parent. +</para> +<para>See the “Algorithm” section below for full details of the +widget unmanagement procedure. +</para> +</refsect1> + +<refsect1 id="r1-1007-unmanagechildren-2"> +<title>Usage</title> +<para>Unmanaging widgets is the usual method for temporarily +making them invisible. They can be re-managed with +<function>XtManageChildren()</function>. +</para> +<para>You can unmap a widget, but leave it under geometry +management by calling <function>XtUnmapWidget()</function>. You can +destroy a widget's window without destroying the widget by +calling <function>XtUnrealizeWidget()</function>. You can destroy a +widget completely with <function>XtDestroyWidget()</function>. +</para> +<para>If you are only going to unmanage a single widget, it is +more convenient to call <function>XtUnmanageChild()</function>. It is +often more convenient to call <function>XtUnmanageChild()</function> +several times than it is to declare and initialize an array +of widgets to pass to <function>XtUnmanageChildren()</function>. Calling +<function>XtUnmanageChildren()</function> is more efficient, however, +because it only calls the parent's <function>change_managed()</function> +method once. +</para> +</refsect1> + +<refsect1 id="r1-1007-unmanagechildren-3"> +<title>Algorithm +</title> +<para><function>XtUnmanageChildren()</function> performs the following: +</para> +<variablelist> +<varlistentry> +<term>- +</term> +<listitem> +<para>Ignores the child if it already is unmanaged or is being +destroyed. +</para> +</listitem> +</varlistentry> +<varlistentry> +<term>- +</term> +<listitem> +<para>Otherwise, if the child is realized, it makes it nonvisible +by unmapping it. +</para> +</listitem> +</varlistentry> +</variablelist> +<para> +</para> +</refsect1> + +<refsect1 id="r1-1007-unmanagechildren-4"> +<title>Structures</title> +<para>The <type>WidgetList</type> type is simply an array of widgets: +</para> +<screen id="sc-1007-unmanagechildren-1">typedef Widget *WidgetList; +</screen> +</refsect1> +</refentry> + +</chapter> + +<chapter id="faq"> +<title>Questions and Answers</title> + +<!-- (OPTIONAL but recommended) This chapter should include all of the silly +(and not-so-silly) newbie questions that fill up your mailbox. This chapter +should be reserved for BRIEF questions and answers! If one question uses more +than a page or so then it should probably be part of the +"Using this Application" chapter instead. You should use links to +cross-reference questions to the parts of your documentation that answer them. +This is also a great place to provide pointers to other FAQ's if your users +must do some complicated configuration on other programs in order for your +application work. --> + +&reporting.bugs; +&updating.documentation; + +<qandaset id="faqlist"> +<qandaentry> +<question> +<para>My Mouse doesn't work. How do I quit &kmyapplication;?</para> +</question> +<answer> +<para>You silly goose! Check out the <link linkend="commands">Commands +Section</link> for the answer.</para> +</answer> +</qandaentry> +<qandaentry> +<question> +<para>Why can't I twiddle my documents?</para> +</question> +<answer> +<para>You can only twiddle your documents if you have the foobar.lib +installed.</para> +</answer> +</qandaentry> +</qandaset> +</chapter> + +<chapter id="credits"> + +<!-- Include credits for the programmers, documentation writers, and +contributors here. The license for your software should then be included below +the credits with a reference to the appropriate license file included in the KDE +distribution. --> + +<title>Credits and License</title> + +<para> +&kmyapplication; +</para> +<para> +Program copyright 1997 John Q. Hacker <email>jqh@kde.org</email> +</para> +<para> +Contributors: +<itemizedlist> +<listitem><para>Konqui the KDE Dragon <email>konqui@kde.org</email></para> +</listitem> +<listitem><para>Tux the Linux Penguin <email>tux@linux.org</email></para> +</listitem> +</itemizedlist> +</para> + +<para> +Documentation Copyright © 1999 George N. Ugnacious <email>gnu@kde.org</email> +</para> + +<!-- TRANS:CREDIT_FOR_TRANSLATORS --> + +&underFDL; <!-- FDL: do not remove --> + +<!-- Determine which license your application is licensed under, + and delete all the remaining licenses below: + + (NOTE: All documentation are licensed under the FDL, + regardless of what license the application uses) --> + +&underGPL; <!-- GPL License --> +&underBSDLicense; <!-- BSD License --> +&underArtisticLicense; <!-- BSD Artistic License --> +&underX11License; <!-- X11 License --> + +</chapter> + +<appendix id="installation"> +<title>Installation</title> + +<sect1 id="getting-kapp"> +<title>How to obtain &kmyapplication;</title> + +<!-- This first entity contains boiler plate for applications that are +part of KDE CVS. You should remove it if you are releasing your +application --> + +&install.intro.documentation; + +</sect1> + +<sect1 id="requirements"> +<title>Requirements</title> + +<!-- +List any special requirements for your application here. This should include: +.Libraries or other software that is not included in kdesupport, +kdelibs, or kdebase. +.Hardware requirements like amount of RAM, disk space, graphics card +capabilities, screen resolution, special expansion cards, etc. +.Operating systems the app will run on. If your app is designed only for a +specific OS, (you wrote a graphical LILO configurator for example) put this +information here. +--> + +<para> +In order to successfully use &kmyapplication;, you need &kde; 1.1. Foobar.lib is +required in order to support the advanced &kmyapplication; features. &kmyapplication; uses +about 5 megs of memory to run, but this may vary depending on your +platform and configuration. +</para> + +<para> +All required libraries as well as &kmyapplication; itself can be found +on <ulink url="ftp://ftp.kapp.org">The &kmyapplication; home page</ulink>. +</para> + +<!-- For a list of updates, you may refer to the application web site +or the ChangeLog file, or ... --> +<para> +You can find a list of changes at <ulink +url="http://apps.kde.org/kapp">http://apps.kde.org/kapp</ulink>. +</para> +</sect1> + +<sect1 id="compilation"> +<title>Compilation and Installation</title> + +<!-- This entity contains the boilerplate text for standard --> +<!-- compilation instructions. If your application requires any --> +<!-- special handling, remove it, and replace with your own text. --> + +&install.compile.documentation; + +</sect1> + +<sect1 id="configuration"> +<title>Configuration</title> + +<para>Don't forget to tell your system to start the <filename>dtd</filename> +dicer-toaster daemon first, or &kmyapplication; won't work !</para> + +</sect1> + +</appendix> + +&documentation.index; +</book> + +<!-- +Local Variables: +mode: xml +sgml-minimize-attributes:nil +sgml-general-insert-case:lower +sgml-indent-step:0 +sgml-indent-data:nil +End: + +vim:tabstop=2:shiftwidth=2:expandtab +--> diff --git a/quanta/data/templates/pages/html/Makefile.am b/quanta/data/templates/pages/html/Makefile.am new file mode 100644 index 00000000..5921ba1f --- /dev/null +++ b/quanta/data/templates/pages/html/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = xhtml html_4.0.1 special diff --git a/quanta/data/templates/pages/html/html_4.0.1/Makefile.am b/quanta/data/templates/pages/html/html_4.0.1/Makefile.am new file mode 100644 index 00000000..6e5569e8 --- /dev/null +++ b/quanta/data/templates/pages/html/html_4.0.1/Makefile.am @@ -0,0 +1,2 @@ +templatespageshtml401dir = ${quanta_datadir}/templates/pages/html_4.0.1 +templatespageshtml401_DATA = basic.html diff --git a/quanta/data/templates/pages/html/html_4.0.1/basic.html b/quanta/data/templates/pages/html/html_4.0.1/basic.html new file mode 100644 index 00000000..27fcdc20 --- /dev/null +++ b/quanta/data/templates/pages/html/html_4.0.1/basic.html @@ -0,0 +1,18 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.1//EN"> +<!-- $Id Exp $ --> +<!--Generated by quanta Plus template - freely use and distribute--> +<html> +<head> + <title></title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Quanta Plus"> + <link> + <style type="text/css"> + </style> + <script> + </script> +</head> +<body> + +</body> +</html>
\ No newline at end of file diff --git a/quanta/data/templates/pages/html/special/Makefile.am b/quanta/data/templates/pages/html/special/Makefile.am new file mode 100644 index 00000000..e86133b9 --- /dev/null +++ b/quanta/data/templates/pages/html/special/Makefile.am @@ -0,0 +1,2 @@ +templatespagesspecialdir = ${quanta_datadir}/templates/pages/special +templatespagesspecial_DATA = drag_n_drop_men.html diff --git a/quanta/data/templates/pages/html/special/drag_n_drop_men.html b/quanta/data/templates/pages/html/special/drag_n_drop_men.html new file mode 100644 index 00000000..8710921e --- /dev/null +++ b/quanta/data/templates/pages/html/special/drag_n_drop_men.html @@ -0,0 +1,156 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> + <title>d and d men</title> + <meta name="GENERATOR" content="Quanta Plus" /> + <meta name="AUTHOR" content="D.Reddish" /> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <style type="text/css"> + /* <![CDATA[ */ + .move { + width:100%; + background-color:#acd2ff; + border-bottom:1px solid black; + font-size:14px; + font-family:vardana; + font-color:black; + text-align:center; + } + +.info { + width:100%; + background-color:#acd2ff; + border-top:1px solid black;else { +ob.pixelLeft = event.clientX-X + document.body.scrollLeft; +ob.pixelTop = event.clientY-Y + document.body.scrollTop; +return false; +} + font-size:13px; + font-family:vardana; + font-color:"#33CCAA"; + } + +.panel { + width:150; + position:absolute; + border:1px solid black; + left:350; + top:200; + font-size:13px; + font-family:vardana; + } + +.panel a:visited{color:blue;} + +.panel a{text-decoration:none;color:black} + +.panel a:hover{text-decoration:none;} + + +#panel a.visited{text-decoration:none;} + +.menu { + width:100%; + background-color:#eae9e8; + font-size:13px; + font-family:vardana; + } + /* ]]> */ + </style> + <script language="javascript" type="text/javascript"> + /* <![CDATA[ */ +N = (document.all) ? 0 : 1; +var ob; +var over = false; + + function MD(e) { + if (over) + { + if (N) { + ob = document.getElementById("panel"); + X=e.layerX; + Y=e.layerY; + return false; + } + else { + ob = document.getElementById("panel"); + ob = ob.style; + X=event.offsetX; + Y=event.offsetY; + } + } +} + +function MM(e) { +if (ob) { +if (N) { +ob.style.top = e.pageY-Y; +ob.style.left = e.pageX-X; + } + else { + ob.pixelLeft = event.clientX-X + document.body.scrollLeft; + ob.pixelTop = event.clientY-Y + document.body.scrollTop; + return false; + } + } +} + +function MU() { +ob = null; + } + +if (N) { +document.captureEvents(Event.MOUSEDOWN | Event.MOUSEMOVE | Event.MOUSEUP); +} + +document.onmousedown = MD; +document.onmousemove = MM; +document.onmouseup = MU; + /* ]]> */ + </script> +</head> +<body> +<div id="panel" class="panel" > +<script language="JavaScript" type="text/javascript"> +function getArray(id) +{ + var splitarray = link[id].split("|"); + return splitarray; +} + +function info(i,obj,col) +{ + sublink = getArray(i); + infobar = document.getElementById("infob"); + infobar.innerHTML = "<img src='quanta_icon.png'> "+sublink[2]; + obj.style.backgroundColor=col; +} + +function endi(obj,col) +{ + obj.style.backgroundColor=col; + infobar = document.getElementById("infob"); + infobar.innerHTML = "<img src='quanta_icon.png'> <br>"; +} + +var link = new Array(); +link[0] = " Quanta|http://kdewebdev.org |Quanta Home"; +link[1] = " KDE|http://www.javascripts.com|Visit KDE.org"; +link[2] = " null link|http://# |null link"; +link[3] = " null link|http://# |null link"; +link[4] = " null link|http://#|null link"; +link[5] = " null link|http://# |null link"; + +document.write("<div class='move' onmouseover='over=true;' onmouseout='over=false;' style='cursor:move'><b>Quanta Rocks!!!</b></div><div class='menu'><br></div>"); +for(i=0;i<link.length;i++) +{ +sublink = getArray(i); +document.write("<a href='"+sublink[1]+"'><div class='menu' onmouseover=\"info("+i+",this,'#acd2ff')\" onmouseout=\"endi(this,'#eae9e8')\" style='cursor:hand'> "+ sublink[0] +"</div></a>"); +} +document.write("<div class='menu'><br></div><div class='info' id='infob' name='infob'><img src='pointer2.gif'> <br></div>"); +</script> +</div> +</body> +</html>
\ No newline at end of file diff --git a/quanta/data/templates/pages/html/xhtml/Makefile.am b/quanta/data/templates/pages/html/xhtml/Makefile.am new file mode 100644 index 00000000..acdd8102 --- /dev/null +++ b/quanta/data/templates/pages/html/xhtml/Makefile.am @@ -0,0 +1,2 @@ +templatespagesxhtmldir = ${quanta_datadir}/templates/pages/xhtml +templatespagesxhtml_DATA = Quanta_Times.html leftMen_BB.html rightMen_BB.html twoSideMen_BB.html leftMen_Quanta.html rightMen_Quanta.html twoSideMen_Quanta.html diff --git a/quanta/data/templates/pages/html/xhtml/Quanta_Times.html b/quanta/data/templates/pages/html/xhtml/Quanta_Times.html new file mode 100644 index 00000000..381252da --- /dev/null +++ b/quanta/data/templates/pages/html/xhtml/Quanta_Times.html @@ -0,0 +1,103 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> + <title>NewsPaper</title> + <meta name="GENERATOR" content="Quanta Plus" /> + <meta name="AUTHOR" content="D.Reddish" /> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <style type="text/css"> + /* <![CDATA[ */ +body {margin:0%; + padding:0%; + font-weight:bold; + } + +p {padding:5px; + position:relative; + top:-0.5em; + } + +h1 {position:relative; + width:95%; + border-bottom:1px double black; + } + +#masthead {background:white; + font-size:70px; + color:black; + padding:20px 0 20px 0; + border-bottom:1px double black; + text-align:center; + text-decoration:underline; + height:100px; + } + +#col1 {position:absolute; + left:1%; + width:20%; + top:150px; + height:500px; + font-size:1em; + border-right:1px solid black; + } + +#col2 {position:absolute; + left:22%; + width:25%; + top:150px; + height:500px; + font-size:1em; + border-right:1px solid black; + } + +#col3 {position:absolute; + left:48%; + width:25%; + top:150px; + height:500px; + font-size:1em; + border-right:1px solid black; + } +#col4 {position:absolute; + left:74%; + width:auto; + top:150px; + height:500px; + font-size:1em; + } + +#footer {position:relative; + top:600px; + text-align:center; + text-decoration:underline overline; + font-size:small; + } + +.subl {float:left; + width:40%; + margin:0 10px 0 0; + padding:5px 5px 5px 0; + border-right:1px solid black; + } + /* ]]> */ + </style> +</head> +<body> +<div id="masthead">Quanta Times.</div> + +<div id="col1"><h1>News!</h1><p>The Quanta editor continues to improve and expand! Both in terms of usability and of functionality. <br /><br /> +This fab all purpose script and markup editor contius to make strides in every direction. Prompting the question from FOSS observers <em>"Just how many legs does Quanta have anyway?"</em></p></div> + +<div id="col2"><h1>Developers</h1><p><em>Undisclosed</em> honours are said to be on the way for the chief Quanta developers.<span class="subl"><em>It is rumoured that Eric Laffoon has been awarded an extra Cat, and that Andras Mantia may be the lucky recipient of a day without patch requests!</em></span>More news on this development will be printed when it comes to light.<br /><br /> +Just how many will be honoured and in what way is yet to be announced. Early speculation however suggests that some may recieve <em>personaly typed emails</em> possibly containing the word <em>“Thanks”</em> at some point in the text.</p></div> + +<div id="col3"><h1>Killer App!</h1><p>With great new features like VPL and it's excelent xml configurable CSS tool, Quanta the DTD agnostic markup and scripting editor could well be the killer app that moves more and more people <em>certainly more and more web profesionals</em> to open source solutions.<br /><br /> +Quanta's usability, productivity enhanced enviroment and it's easy production of DTD compliant markup is producing an application streets ahead of it's commercial competitors.</p></div> + +<div id="col4"><h1>Comment!</h1><p>In a world without walls and fences who needs windows and gates?</p></div> + +<div id="footer">This has been Quanta News!</div> +</body> +</html> diff --git a/quanta/data/templates/pages/html/xhtml/leftMen_BB.html b/quanta/data/templates/pages/html/xhtml/leftMen_BB.html new file mode 100644 index 00000000..9b403d4d --- /dev/null +++ b/quanta/data/templates/pages/html/xhtml/leftMen_BB.html @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<!-- $Id$ --> +<head> + <title>rightMen-Float.html</title> + <meta name="GENERATOR" content="Quanta Plus" /> + <meta name="AUTHOR" content="D.Reddish" /> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <style type="text/css"> + /* <![CDATA[ */ + body {margin:0%; + padding:0%; + color:#000000; + background-color:#ffffff; + font-family: sans-serif; + } + + #masthead { + } + + #menu {float:left; + width:22%; + height:auto; + margin-left:0%; + } +#mainText {margin:0 5% 0 25%;} + +#foot {text-align:center; + font-size:smaller; + } + +ul {list-style:none;} + /* ]]> */ + </style> +</head> +<body> +<a href="http://www.quanta.sourcforge.net"> +<div id="masthead">Quanta web I.D.E.</div> +</a> + +<div id="menu"> +<!--enter your hyperlinks here--> +<ul> +<li><a href="http://kdewebdev.org">Quanta</a></li> +<li><a href="http://www.kde.org">KDE.org</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +</ul> +<!--end of hyperlinks--> +</div> + +<div id="mainText"> +<!--enter your body content here--> +<h1>Welcome to Quanta</h1> +<p> +Quanta Plus is a web development tool for +the K Desktop Environment. Quanta is designed for <em>quick web development</em> +and is a mature yet continuously developing editor with a number of great features.</p> +<h1>Community</h1> +<p>Quanta has had a great deal of success and +acclaim. When you load it up and begin making pages, putting a Quanta logo on them +and interacting to help us make Quanta better you are a part of that community. +We welcome you.</p> +<!--end of body content--> +</div> + +<div id="foot"><a href="http://kdewebdev.org"> +Quanta web development IDE.</a> +</div> +</body> +</html> diff --git a/quanta/data/templates/pages/html/xhtml/leftMen_Quanta.html b/quanta/data/templates/pages/html/xhtml/leftMen_Quanta.html new file mode 100644 index 00000000..9a370621 --- /dev/null +++ b/quanta/data/templates/pages/html/xhtml/leftMen_Quanta.html @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<!-- $Id$ --> +<head> + <title>rightMen-Float.html</title> + <meta name="GENERATOR" content="Quanta Plus" /> + <meta name="AUTHOR" content="D.Reddish" /> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <style type="text/css"> + /* <![CDATA[ */ + body {margin:0%; + padding:0%; + color:#000000; + background-color:#ffffff; + font-family: sans-serif; + } + + #masthead {font-size:3em; + color:#000000; + background-color:#a9d1ff; + padding:0.5em; + text-align:right; + } + + #menu {float:left; + width:22%; + height:auto; + margin-left:0%; + color:#3179ac; + background-color:#eae9e8; + } +#mainText {margin:0 5% 0 25%;} + +#foot {text-align:center; + font-size:smaller; + } + +a {text-decoration:none; + color:#3179ac; + font-weight:bold; + display:block; + } + +a:hover {color:grey;} + +ul {list-style:none;} + /* ]]> */ + </style> +</head> +<body> +<div id="masthead"><a href="http://www.quanta.sourcforge.net" style="color:black;">Quanta web I.D.E.</a></div> +<div id="menu"> +<!--enter your hyperlinks here--> +<ul> +<li><a href="http://kdewebdev.org">Quanta</a></li> +<li><a href="http://www.kde.org">KDE.org</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +</ul> +<!--end of hyperlinks--> +</div> + +<div id="mainText"> +<!--enter your body content here--> +<h1>Welcome to Quanta</h1> +<p> +Quanta Plus is a web development tool for +the K Desktop Environment. Quanta is designed for <em>quick web development</em> +and is a mature yet continuously developing editor with a number of great features.</p> +<h1>Community</h1> +<p>Quanta has had a great deal of success and +acclaim. When you load it up and begin making pages, putting a Quanta logo on them +and interacting to help us make Quanta better you are a part of that community. +We welcome you.</p> +<!--end of body content--> +</div> + +<div id="foot"><a href="http://kdewebdev.org"> +Quanta web development IDE.</a> +</div> +</body> +</html> diff --git a/quanta/data/templates/pages/html/xhtml/rightMen_BB.html b/quanta/data/templates/pages/html/xhtml/rightMen_BB.html new file mode 100644 index 00000000..4f32cf59 --- /dev/null +++ b/quanta/data/templates/pages/html/xhtml/rightMen_BB.html @@ -0,0 +1,74 @@ + <?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<!-- $Id$ --> +<head> + <title>rightMen-Float.html</title> + <meta name="GENERATOR" content="Quanta Plus" /> + <meta name="AUTHOR" content="D.Reddish" /> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <style type="text/css"> + /* <![CDATA[ */ + body {margin:0%; + padding:0%; + color:#000000; + background-color:#ffffff; + font-family: sans-serif; + } + + #masthead { + } + + #menu {float:right; + width:22%; + height:auto; + margin-left:0%; + } + +#mainText {margin:0 25% 0 5%;} + +#foot {text-align:center; + font-size:smaller; + } + /* ]]> */ + </style> +</head> +<body> +<a href="http://www.quanta.sourcforge.net"> +<div id="masthead">Quanta web I.D.E.</div> +</a> + +<div id="menu"> +<!--enter your hyperlinks here--> +<ul> +<li><a href="http://kdewebdev.org">Quanta</a></li> +<li><a href="http://www.kde.org">KDE.org</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +</ul> +<!--end of hyperlinks--> +</div> + +<div id="mainText"> +<!--enter your body content here--> +<h1>Welcome to Quanta</h1> +<p> +Quanta Plus is a web development tool for +the K Desktop Environment. Quanta is designed for <em>quick web development</em> +and is a mature yet continuously developing editor with a number of great features.</p> +<h1>Community</h1> +<p>Quanta has had a great deal of success and +acclaim. When you load it up and begin making pages, putting a Quanta logo on them +and interacting to help us make Quanta better you are a part of that community. +We welcome you.</p> +<!--end of body content--> +</div> + +<div id="foot"><a href="http://kdewebdev.org"> +Quanta web development IDE.</a> +</div> +</body> +</html> diff --git a/quanta/data/templates/pages/html/xhtml/rightMen_Quanta.html b/quanta/data/templates/pages/html/xhtml/rightMen_Quanta.html new file mode 100644 index 00000000..e4b6dfbf --- /dev/null +++ b/quanta/data/templates/pages/html/xhtml/rightMen_Quanta.html @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<!-- $Id$ --> +<head> + <title>rightMen-Float.html</title> + <meta name="GENERATOR" content="Quanta Plus" /> + <meta name="AUTHOR" content="D.Reddish" /> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <style type="text/css"> + /* <![CDATA[ */ + body {margin:0%; + padding:0%; + color:#000000; + background-color:#ffffff; + font-family: sans-serif; + } + + #masthead {font-size:3em; + color:#000000; + background-color:#a9d1ff; + padding:0.5em; + } + + #menu {float:right; + width:22%; + height:auto; + margin-left:0%; + color:#3179ac; + background-color:#eae9e8; + } + +#mainText {margin:0 25% 0 5%;} + +#foot {text-align:center; + font-size:smaller; + } + +a {text-decoration:none; + color:#3179ac; + font-weight:bold; + display:block; + } + +a:hover {color:grey;} + +ul {list-style:none;} + /* ]]> */ + </style> +</head> +<body> +<div id="masthead"><a href="http://www.quanta.sourcforge.net" style="color:black;">Quanta web I.D.E.</a></div> +<div id="menu"> +<!--enter your hyperlinks here--> +<ul> +<li><a href="http://kdewebdev.org">Quanta</a></li> +<li><a href="http://www.kde.org">KDE.org</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +</ul> +<!--end of hyperlinks--> +</div> + +<div id="mainText"> +<!--enter your body content here--> +<h1>Welcome to Quanta</h1> +<p> +Quanta Plus is a web development tool for +the K Desktop Environment. Quanta is designed for <em>quick web development</em> +and is a mature yet continuously developing editor with a number of great features.</p> +<h1>Community</h1> +<p>Quanta has had a great deal of success and +acclaim. When you load it up and begin making pages, putting a Quanta logo on them +and interacting to help us make Quanta better you are a part of that community. +We welcome you.</p> +<!--end of body content--> +</div> + +<div id="foot"><a href="http://kdewebdev.org"> +Quanta web development IDE.</a> +</div> +</body> +</html> diff --git a/quanta/data/templates/pages/html/xhtml/twoSideMen_BB.html b/quanta/data/templates/pages/html/xhtml/twoSideMen_BB.html new file mode 100644 index 00000000..5342591d --- /dev/null +++ b/quanta/data/templates/pages/html/xhtml/twoSideMen_BB.html @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<!-- $Id$ --> +<head> + <title>rightMen-Float.html</title> + <meta name="GENERATOR" content="Quanta Plus" /> + <meta name="AUTHOR" content="D.Reddish" /> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <style type="text/css"> +/* <![CDATA[ */ + body {margin:0%; + padding:0%; + color:#000000; + background-color:#ffffff; + font-family: sans-serif; + } + + #masthead { + } + + #menuRight {float:right; + width:22%; + height:auto; + margin-left:0%; + } + +#menuLeft {float:left; + width:22%; + height:auto; + margin-left:0%; + } + +#mainText {margin:0 25% 0 25%;} + +#foot {text-align:center; + font-size:smaller; + } + /* ]]> */ + </style> +</head> +<body> +<a href="http://www.quanta.sourcforge.net"> +<div id="masthead">Quanta web I.D.E.</div> +</a> + +<div id="menuRight"> +<!--enter your hyperlinks here--> +<ul> +<li><a href="http://kdewebdev.org">Quanta</a></li> +<li><a href="http://www.kde.org">KDE.org</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +</ul> +<!--end of hyperlinks--> +</div> + +<div id="menuLeft"> +<!--enter your hyperlinks here--> +<ul> +<li><a href="http://kdewebdev.org">Quanta</a></li> +<li><a href="http://www.kde.org">KDE.org</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +</ul> +<!--end of hyperlinks--> +</div> + +<div id="mainText"> +<!--enter your body content here--> +<h1>Welcome to Quanta</h1> +<p> +Quanta Plus is a web development tool for +the K Desktop Environment. Quanta is designed for <em>quick web development</em> +and is a mature yet continuously developing editor with a number of great features.</p> +<h1>Community</h1> +<p>Quanta has had a great deal of success and +acclaim. When you load it up and begin making pages, putting a Quanta logo on them +and interacting to help us make Quanta better you are a part of that community. +We welcome you.</p> +<!--end of body content--> +</div> + +<div id="foot"><a href="http://kdewebdev.org"> +Quanta web development IDE.</a> +</div> +</body> +</html> diff --git a/quanta/data/templates/pages/html/xhtml/twoSideMen_Quanta.html b/quanta/data/templates/pages/html/xhtml/twoSideMen_Quanta.html new file mode 100644 index 00000000..dda87f28 --- /dev/null +++ b/quanta/data/templates/pages/html/xhtml/twoSideMen_Quanta.html @@ -0,0 +1,108 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<!-- $Id$ --> +<head> + <title>rightMen-Float.html</title> + <meta name="GENERATOR" content="Quanta Plus" /> + <meta name="AUTHOR" content="D.Reddish" /> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <style type="text/css"> +/* <![CDATA[ */ + body {margin:0%; + padding:0%; + color:#000000; + background-color:#ffffff; + font-family: sans-serif; + } + + #masthead {font-size:3em; + color:#000000; + background-color:#a9d1ff; + padding:0.5em; + text-align:center; + } + + #menuRight {float:right; + width:22%; + height:auto; + margin-left:0%; + color:#3179ac; + background-color:#eae9e8; + } + +#menuLeft {float:left; + width:22%; + height:auto; + margin-left:0%; + color:#3179ac; + background-color:#eae9e8; + } +#mainText {margin:0 25% 0 25%;} + +#foot {text-align:center; + font-size:smaller; + } + +a {text-decoration:none; + color:#3179ac; + font-weight:bold; + display:block; + } + +a:hover {color:grey;} + +ul {list-style:none;} + /* ]]> */ + </style> +</head> +<body> +<div id="masthead"><a href="http://www.quanta.sourcforge.net" style="color:black;">Quanta web I.D.E.</a></div> +<div id="menuRight"> +<!--enter your hyperlinks here--> +<ul> +<li><a href="http://kdewebdev.org">Quanta</a></li> +<li><a href="http://www.kde.org">KDE.org</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +</ul> +<!--end of hyperlinks--> +</div> + +<div id="menuLeft"> +<!--enter your hyperlinks here--> +<ul> +<li><a href="http://kdewebdev.org">Quanta</a></li> +<li><a href="http://www.kde.org">KDE.org</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +<li><a href="#">null link</a></li> +</ul> +<!--end of hyperlinks--> +</div> + +<div id="mainText"> +<!--enter your body content here--> +<h1>Welcome to Quanta</h1> +<p> +Quanta Plus is a web development tool for +the K Desktop Environment. Quanta is designed for <em>quick web development</em> +and is a mature yet continuously developing editor with a number of great features.</p> +<h1>Community</h1> +<p>Quanta has had a great deal of success and +acclaim. When you load it up and begin making pages, putting a Quanta logo on them +and interacting to help us make Quanta better you are a part of that community. +We welcome you.</p> +<!--end of body content--> +</div> + +<div id="foot"><a href="http://kdewebdev.org"> +Quanta web development IDE.</a> +</div> +</body> +</html> diff --git a/quanta/data/templates/pages/php/Makefile.am b/quanta/data/templates/pages/php/Makefile.am new file mode 100644 index 00000000..9def08e3 --- /dev/null +++ b/quanta/data/templates/pages/php/Makefile.am @@ -0,0 +1,2 @@ +templatespagesphpdir = ${quanta_datadir}/templates/pages/php +templatespagesphp_DATA = demo.php diff --git a/quanta/data/templates/pages/php/demo.php b/quanta/data/templates/pages/php/demo.php new file mode 100644 index 00000000..573cfc1c --- /dev/null +++ b/quanta/data/templates/pages/php/demo.php @@ -0,0 +1,5 @@ +<? + +//You can put script parts here and in the subdirs. + +?>
\ No newline at end of file diff --git a/quanta/data/templates/scripts/Makefile.am b/quanta/data/templates/scripts/Makefile.am new file mode 100644 index 00000000..a6e11e12 --- /dev/null +++ b/quanta/data/templates/scripts/Makefile.am @@ -0,0 +1,7 @@ +SUBDIRS = php perl javascript + +templatesscriptsdir = ${quanta_datadir}/templates/scripts +templatesscripts_DATA = dirinfo + +install-data-hook: + @mv $(DESTDIR)$(templatesscriptsdir)/dirinfo $(DESTDIR)$(templatesscriptsdir)/.dirinfo diff --git a/quanta/data/templates/scripts/dirinfo b/quanta/data/templates/scripts/dirinfo new file mode 100644 index 00000000..5cc185ca --- /dev/null +++ b/quanta/data/templates/scripts/dirinfo @@ -0,0 +1,6 @@ +PostText= +PreText= +Type=text/all +UsePrePostText=false + + diff --git a/quanta/data/templates/scripts/javascript/Makefile.am b/quanta/data/templates/scripts/javascript/Makefile.am new file mode 100644 index 00000000..05b96d9f --- /dev/null +++ b/quanta/data/templates/scripts/javascript/Makefile.am @@ -0,0 +1,2 @@ +templatesscriptsjavascriptdir = ${quanta_datadir}/templates/scripts/javascript +templatesscriptsjavascript_DATA = overlib.js email_validate.js preload.js diff --git a/quanta/data/templates/scripts/javascript/email_validate.js b/quanta/data/templates/scripts/javascript/email_validate.js new file mode 100644 index 00000000..3b9bdf75 --- /dev/null +++ b/quanta/data/templates/scripts/javascript/email_validate.js @@ -0,0 +1,63 @@ +/* To include this script into an xhtml page without copying and pasting it in +add the following tags into your xhtml page. Please note that these comments are +only valid within .js (JavaScript files), +do not include them if you wish to use this script within an xhtml document. + +<script type="text/javascript" src="./validate.js"></script> + +or copy and paste the script into your document head enclosed in +<script type="text/javascript"></script> tags + +add the following in place of your usual <body> tag +<body onload="document.form1.yourname.focus();"> + + +variable names variable descrition + +yourname first name input +yoursurname second name input +addy email address + +*/ + + + +function validate(){ + if (document.form1.yourname.value.length<3){ + alert("Please enter your full Forname"); + document.form1.yourname.focus(); + return false; + } + if (document.form1.yoursirname.value.length<3){ + alert("Please enter your full Sirname."); + document.form1.yoursirname.focus(); + return false; + } + if (document.form1.addy.value.length < 5){ + alert("Please enter a complete email address in the form: yourname@yourdomain.com") + document.form1.addy.focus(); + return false; + } +var addystring = document.form1.addy.value; + var ampIndex = addystring.indexOf("@"); + var afterAmp = addystring.substring((ampIndex + 1), addystring.length); + var dotIndex = afterAmp.indexOf("."); + dotIndex = dotIndex + ampIndex + 1; + afterAmp = addystring.substring((ampIndex + 1), dotIndex); + var afterDot = addystring.substring((dotIndex + 1), addystring.length); + var beforeAmp = addystring.substring(0,(ampIndex)); + var addy_regex ="^[a-zA-Z0-9_\-\.]+@[a-zA-Z0-9_\-]+\.[a-zA-Z0-9_\-\.]+$"; + if ((addystring.indexOf("@") != "-1") && + (addystring.length > 5) && + (afterAmp.length > 0) && + (beforeAmp.length > 1) && + (afterDot.length > 1) && + (addy_regex.test(addystring)) ) { + return true; + } + else{ + alert("Invalid! Please enter a complete email address in the form: yourname@yourdomain.com") + document.form1.addy.focus(); + return false; + } +} diff --git a/quanta/data/templates/scripts/javascript/overlib.js b/quanta/data/templates/scripts/javascript/overlib.js new file mode 100644 index 00000000..4ec178bd --- /dev/null +++ b/quanta/data/templates/scripts/javascript/overlib.js @@ -0,0 +1,1222 @@ +//\//////////////////////////////////////////////////////////////////////////////////
+//\ overLIB 3.50 -- This notice must remain untouched at all times.
+//\ Copyright Erik Bosrup 1998-2001. All rights reserved.
+//\
+//\ By Erik Bosrup (erik@bosrup.com). Last modified 2001-08-28.
+//\ Portions by Dan Steinman (dansteinman.com). Additions by other people are
+//\ listed on the overLIB homepage.
+//\
+//\ Get the latest version at http://www.bosrup.com/web/overlib/
+//\
+//\ This script is published under an open source license. Please read the license
+//\ agreement online at: http://www.bosrup.com/web/overlib/license.html
+//\ If you have questions regarding the license please contact erik@bosrup.com.
+//\
+//\ This script library was originally created for personal use. By request it has
+//\ later been made public. This is free software. Do not sell this as your own
+//\ work, or remove this copyright notice. For full details on copying or changing
+//\ this script please read the license agreement at the link above.
+//\
+//\ Please give credit on sites that use overLIB and submit changes of the script
+//\ so other people can use them as well. This script is free to use, don't abuse.
+//\//////////////////////////////////////////////////////////////////////////////////
+//\mini
+
+
+////////////////////////////////////////////////////////////////////////////////////
+// CONSTANTS
+// Don't touch these. :)
+////////////////////////////////////////////////////////////////////////////////////
+var INARRAY = 1;
+var CAPARRAY = 2;
+var STICKY = 3;
+var BACKGROUND = 4;
+var NOCLOSE = 5;
+var CAPTION = 6;
+var LEFT = 7;
+var RIGHT = 8;
+var CENTER = 9;
+var OFFSETX = 10;
+var OFFSETY = 11;
+var FGCOLOR = 12;
+var BGCOLOR = 13;
+var TEXTCOLOR = 14;
+var CAPCOLOR = 15;
+var CLOSECOLOR = 16;
+var WIDTH = 17;
+var BORDER = 18;
+var STATUS = 19;
+var AUTOSTATUS = 20;
+var AUTOSTATUSCAP = 21;
+var HEIGHT = 22;
+var CLOSETEXT = 23;
+var SNAPX = 24;
+var SNAPY = 25;
+var FIXX = 26;
+var FIXY = 27;
+var FGBACKGROUND = 28;
+var BGBACKGROUND = 29;
+var PADX = 30; // PADX2 out
+var PADY = 31; // PADY2 out
+var FULLHTML = 34;
+var ABOVE = 35;
+var BELOW = 36;
+var CAPICON = 37;
+var TEXTFONT = 38;
+var CAPTIONFONT = 39;
+var CLOSEFONT = 40;
+var TEXTSIZE = 41;
+var CAPTIONSIZE = 42;
+var CLOSESIZE = 43;
+var FRAME = 44;
+var TIMEOUT = 45;
+var FUNCTION = 46;
+var DELAY = 47;
+var HAUTO = 48;
+var VAUTO = 49;
+var CLOSECLICK = 50;
+var CSSOFF = 51;
+var CSSSTYLE = 52;
+var CSSCLASS = 53;
+var FGCLASS = 54;
+var BGCLASS = 55;
+var TEXTFONTCLASS = 56;
+var CAPTIONFONTCLASS = 57;
+var CLOSEFONTCLASS = 58;
+var PADUNIT = 59;
+var HEIGHTUNIT = 60;
+var WIDTHUNIT = 61;
+var TEXTSIZEUNIT = 62;
+var TEXTDECORATION = 63;
+var TEXTSTYLE = 64;
+var TEXTWEIGHT = 65;
+var CAPTIONSIZEUNIT = 66;
+var CAPTIONDECORATION = 67;
+var CAPTIONSTYLE = 68;
+var CAPTIONWEIGHT = 69;
+var CLOSESIZEUNIT = 70;
+var CLOSEDECORATION = 71;
+var CLOSESTYLE = 72;
+var CLOSEWEIGHT = 73;
+
+
+////////////////////////////////////////////////////////////////////////////////////
+// DEFAULT CONFIGURATION
+// You don't have to change anything here if you don't want to. All of this can be
+// changed on your html page or through an overLIB call.
+////////////////////////////////////////////////////////////////////////////////////
+
+// Main background color (the large area)
+// Usually a bright color (white, yellow etc)
+if (typeof ol_fgcolor == 'undefined') { var ol_fgcolor = "#CCCCFF";}
+
+// Border color and color of caption
+// Usually a dark color (black, brown etc)
+if (typeof ol_bgcolor == 'undefined') { var ol_bgcolor = "#333399";}
+
+// Text color
+// Usually a dark color
+if (typeof ol_textcolor == 'undefined') { var ol_textcolor = "#000000";}
+
+// Color of the caption text
+// Usually a bright color
+if (typeof ol_capcolor == 'undefined') { var ol_capcolor = "#FFFFFF";}
+
+// Color of "Close" when using Sticky
+// Usually a semi-bright color
+if (typeof ol_closecolor == 'undefined') { var ol_closecolor = "#9999FF";}
+
+// Font face for the main text
+if (typeof ol_textfont == 'undefined') { var ol_textfont = "sans-serif";}
+
+// Font face for the caption
+if (typeof ol_captionfont == 'undefined') { var ol_captionfont = "sans-serif";}
+
+// Font face for the close text
+if (typeof ol_closefont == 'undefined') { var ol_closefont = "sans-serif";}
+
+// Font size for the main text
+// When using CSS this will be very small.
+if (typeof ol_textsize == 'undefined') { var ol_textsize = "1";}
+
+// Font size for the caption
+// When using CSS this will be very small.
+if (typeof ol_captionsize == 'undefined') { var ol_captionsize = "1";}
+
+// Font size for the close text
+// When using CSS this will be very small.
+if (typeof ol_closesize == 'undefined') { var ol_closesize = "1";}
+
+// Width of the popups in pixels
+// 100-300 pixels is typical
+if (typeof ol_width == 'undefined') { var ol_width = "200";}
+
+// How thick the ol_border should be in pixels
+// 1-3 pixels is typical
+if (typeof ol_border == 'undefined') { var ol_border = "1";}
+
+// How many pixels to the right/left of the cursor to show the popup
+// Values between 3 and 12 are best
+if (typeof ol_offsetx == 'undefined') { var ol_offsetx = 10;}
+
+// How many pixels to the below the cursor to show the popup
+// Values between 3 and 12 are best
+if (typeof ol_offsety == 'undefined') { var ol_offsety = 10;}
+
+// Default text for popups
+// Should you forget to pass something to overLIB this will be displayed.
+if (typeof ol_text == 'undefined') { var ol_text = "Default Text"; }
+
+// Default caption
+// You should leave this blank or you will have problems making non caps popups.
+if (typeof ol_cap == 'undefined') { var ol_cap = ""; }
+
+// Decides if sticky popups are default.
+// 0 for non, 1 for stickies.
+if (typeof ol_sticky == 'undefined') { var ol_sticky = 0; }
+
+// Default background image. Better left empty unless you always want one.
+if (typeof ol_background == 'undefined') { var ol_background = ""; }
+
+// Text for the closing sticky popups.
+// Normal is "Close".
+if (typeof ol_close == 'undefined') { var ol_close = "Close"; }
+
+// Default vertical alignment for popups.
+// It's best to leave RIGHT here. Other options are LEFT and CENTER.
+if (typeof ol_hpos == 'undefined') { var ol_hpos = RIGHT; }
+
+// Default status bar text when a popup is invoked.
+if (typeof ol_status == 'undefined') { var ol_status = ""; }
+
+// If the status bar automatically should load either text or caption.
+// 0=nothing, 1=text, 2=caption
+if (typeof ol_autostatus == 'undefined') { var ol_autostatus = 0; }
+
+// Default height for popup. Often best left alone.
+if (typeof ol_height == 'undefined') { var ol_height = -1; }
+
+// Horizontal grid spacing that popups will snap to.
+// 0 makes no grid, anything else will cause a snap to that grid spacing.
+if (typeof ol_snapx == 'undefined') { var ol_snapx = 0; }
+
+// Vertical grid spacing that popups will snap to.
+// 0 makes no grid, andthing else will cause a snap to that grid spacing.
+if (typeof ol_snapy == 'undefined') { var ol_snapy = 0; }
+
+// Sets the popups horizontal position to a fixed column.
+// Anything above -1 will cause fixed position.
+if (typeof ol_fixx == 'undefined') { var ol_fixx = -1; }
+
+// Sets the popups vertical position to a fixed row.
+// Anything above -1 will cause fixed position.
+if (typeof ol_fixy == 'undefined') { var ol_fixy = -1; }
+
+// Background image for the popups inside.
+if (typeof ol_fgbackground == 'undefined') { var ol_fgbackground = ""; }
+
+// Background image for the popups frame.
+if (typeof ol_bgbackground == 'undefined') { var ol_bgbackground = ""; }
+
+// How much horizontal left padding text should get by default when BACKGROUND is used.
+if (typeof ol_padxl == 'undefined') { var ol_padxl = 1; }
+
+// How much horizontal right padding text should get by default when BACKGROUND is used.
+if (typeof ol_padxr == 'undefined') { var ol_padxr = 1; }
+
+// How much vertical top padding text should get by default when BACKGROUND is used.
+if (typeof ol_padyt == 'undefined') { var ol_padyt = 1; }
+
+// How much vertical bottom padding text should get by default when BACKGROUND is used.
+if (typeof ol_padyb == 'undefined') { var ol_padyb = 1; }
+
+// If the user by default must supply all html for complete popup control.
+// Set to 1 to activate, 0 otherwise.
+if (typeof ol_fullhtml == 'undefined') { var ol_fullhtml = 0; }
+
+// Default vertical position of the popup. Default should normally be BELOW.
+// ABOVE only works when HEIGHT is defined.
+if (typeof ol_vpos == 'undefined') { var ol_vpos = BELOW; }
+
+// Default height of popup to use when placing the popup above the cursor.
+if (typeof ol_aboveheight == 'undefined') { var ol_aboveheight = 0; }
+
+// Default icon to place next to the popups caption.
+if (typeof ol_caption == 'undefined') { var ol_capicon = ""; }
+
+// Default frame. We default to current frame if there is no frame defined.
+if (typeof ol_frame == 'undefined') { var ol_frame = self; }
+
+// Default timeout. By default there is no timeout.
+if (typeof ol_timeout == 'undefined') { var ol_timeout = 0; }
+
+// Default javascript funktion. By default there is none.
+if (typeof ol_function == 'undefined') { var ol_function = Function(); }
+
+// Default timeout. By default there is no timeout.
+if (typeof ol_delay == 'undefined') { var ol_delay = 0; }
+
+// If overLIB should decide the horizontal placement.
+if (typeof ol_hauto == 'undefined') { var ol_hauto = 0; }
+
+// If overLIB should decide the vertical placement.
+if (typeof ol_vauto == 'undefined') { var ol_vauto = 0; }
+
+
+
+// If the user has to click to close stickies.
+if (typeof ol_closeclick == 'undefined') { var ol_closeclick = 0; }
+
+// This variable determines if you want to use CSS or inline definitions.
+// CSSOFF=no CSS CSSSTYLE=use CSS inline styles CSSCLASS=use classes
+if (typeof ol_css == 'undefined') { var ol_css = CSSOFF; }
+
+// Main background class (eqv of fgcolor)
+// This is only used if CSS is set to use classes (ol_css = CSSCLASS)
+if (typeof ol_fgclass == 'undefined') { var ol_fgclass = ""; }
+
+// Frame background class (eqv of bgcolor)
+// This is only used if CSS is set to use classes (ol_css = CSSCLASS)
+if (typeof ol_bgclass == 'undefined') { var ol_bgclass = ""; }
+
+// Main font class
+// This is only used if CSS is set to use classes (ol_css = CSSCLASS)
+if (typeof ol_textfontclass == 'undefined') { var ol_textfontclass = ""; }
+
+// Caption font class
+// This is only used if CSS is set to use classes (ol_css = CSSCLASS)
+if (typeof ol_captionfontclass == 'undefined') { var ol_captionfontclass = ""; }
+
+// Close font class
+// This is only used if CSS is set to use classes (ol_css = CSSCLASS)
+if (typeof ol_closefontclass == 'undefined') { var ol_closefontclass = ""; }
+
+// Unit to be used for the text padding above
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+// Options include "px", "%", "in", "cm" and more
+if (typeof ol_padunit == 'undefined') { var ol_padunit = "px";}
+
+// Unit to be used for height of popup
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+// Options include "px", "%", "in", "cm" and more
+if (typeof ol_heightunit == 'undefined') { var ol_heightunit = "px";}
+
+// Unit to be used for width of popup
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+// Options include "px", "%", "in", "cm" and more
+if (typeof ol_widthunit == 'undefined') { var ol_widthunit = "px";}
+
+// Font size unit for the main text
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+if (typeof ol_textsizeunit == 'undefined') { var ol_textsizeunit = "px";}
+
+// Decoration of the main text ("none", "underline", "line-through" or "blink")
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+if (typeof ol_textdecoration == 'undefined') { var ol_textdecoration = "none";}
+
+// Font style of the main text ("normal" or "italic")
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+if (typeof ol_textstyle == 'undefined') { var ol_textstyle = "normal";}
+
+// Font weight of the main text ("normal", "bold", "bolder", "lighter", ect.)
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+if (typeof ol_textweight == 'undefined') { var ol_textweight = "normal";}
+
+// Font size unit for the caption
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+if (typeof ol_captionsizeunit == 'undefined') { var ol_captionsizeunit = "px";}
+
+// Decoration of the caption ("none", "underline", "line-through" or "blink")
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+if (typeof ol_captiondecoration == 'undefined') { var ol_captiondecoration = "none";}
+
+// Font style of the caption ("normal" or "italic")
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+if (typeof ol_captionstyle == 'undefined') { var ol_captionstyle = "normal";}
+
+// Font weight of the caption ("normal", "bold", "bolder", "lighter", ect.)
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+if (typeof ol_captionweight == 'undefined') { var ol_captionweight = "bold";}
+
+// Font size unit for the close text
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+if (typeof ol_closesizeunit == 'undefined') { var ol_closesizeunit = "px";}
+
+// Decoration of the close text ("none", "underline", "line-through" or "blink")
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+if (typeof ol_closedecoration == 'undefined') { var ol_closedecoration = "none";}
+
+// Font style of the close text ("normal" or "italic")
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+if (typeof ol_closestyle == 'undefined') { var ol_closestyle = "normal";}
+
+// Font weight of the close text ("normal", "bold", "bolder", "lighter", ect.)
+// Only used if CSS inline styles are being used (ol_css = CSSSTYLE)
+if (typeof ol_closeweight == 'undefined') { var ol_closeweight = "normal";}
+
+
+
+////////////////////////////////////////////////////////////////////////////////////
+// ARRAY CONFIGURATION
+// You don't have to change anything here if you don't want to. The following
+// arrays can be filled with text and html if you don't wish to pass it from
+// your html page.
+////////////////////////////////////////////////////////////////////////////////////
+
+// Array with texts.
+if (typeof ol_texts == 'undefined') { var ol_texts = new Array("Text 0", "Text 1"); }
+
+// Array with captions.
+if (typeof ol_caps == 'undefined') { var ol_caps = new Array("Caption 0", "Caption 1"); }
+
+
+////////////////////////////////////////////////////////////////////////////////////
+// END CONFIGURATION
+// Don't change anything below this line, all configuration is above.
+////////////////////////////////////////////////////////////////////////////////////
+
+
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////////
+// INIT
+////////////////////////////////////////////////////////////////////////////////////
+
+// Runtime variables init. Used for runtime only, don't change, not for config!
+var o3_text = "";
+var o3_cap = "";
+var o3_sticky = 0;
+var o3_background = "";
+var o3_close = "Close";
+var o3_hpos = RIGHT;
+var o3_offsetx = 2;
+var o3_offsety = 2;
+var o3_fgcolor = "";
+var o3_bgcolor = "";
+var o3_textcolor = "";
+var o3_capcolor = "";
+var o3_closecolor = "";
+var o3_width = 100;
+var o3_border = 1;
+var o3_status = "";
+var o3_autostatus = 0;
+var o3_height = -1;
+var o3_snapx = 0;
+var o3_snapy = 0;
+var o3_fixx = -1;
+var o3_fixy = -1;
+var o3_fgbackground = "";
+var o3_bgbackground = "";
+var o3_padxl = 0;
+var o3_padxr = 0;
+var o3_padyt = 0;
+var o3_padyb = 0;
+var o3_fullhtml = 0;
+var o3_vpos = BELOW;
+var o3_aboveheight = 0;
+var o3_capicon = "";
+var o3_textfont = "Verdana,Arial,Helvetica";
+var o3_captionfont = "Verdana,Arial,Helvetica";
+var o3_closefont = "Verdana,Arial,Helvetica";
+var o3_textsize = "1";
+var o3_captionsize = "1";
+var o3_closesize = "1";
+var o3_frame = self;
+var o3_timeout = 0;
+var o3_timerid = 0;
+var o3_allowmove = 0;
+var o3_function = Function();
+var o3_delay = 0;
+var o3_delayid = 0;
+var o3_hauto = 0;
+var o3_vauto = 0;
+var o3_closeclick = 0;
+
+var o3_css = CSSOFF;
+var o3_fgclass = "";
+var o3_bgclass = "";
+var o3_textfontclass = "";
+var o3_captionfontclass = "";
+var o3_closefontclass = "";
+var o3_padunit = "px";
+var o3_heightunit = "px";
+var o3_widthunit = "px";
+var o3_textsizeunit = "px";
+var o3_textdecoration = "";
+var o3_textstyle = "";
+var o3_textweight = "";
+var o3_captionsizeunit = "px";
+var o3_captiondecoration = "";
+var o3_captionstyle = "";
+var o3_captionweight = "";
+var o3_closesizeunit = "px";
+var o3_closedecoration = "";
+var o3_closestyle = "";
+var o3_closeweight = "";
+
+
+
+// Display state variables
+var o3_x = 0;
+var o3_y = 0;
+var o3_allow = 0;
+var o3_showingsticky = 0;
+var o3_removecounter = 0;
+
+// Our layer
+var over = null;
+
+
+// Decide browser version
+var ns4 = (document.layers)? true:false;
+var ns6 = (document.getElementById)? true:false;
+var ie4 = (document.all)? true:false;
+var ie5 = false;
+
+// Microsoft Stupidity Check(tm).
+if (ie4) {
+ if ((navigator.userAgent.indexOf('MSIE 5') > 0) || (navigator.userAgent.indexOf('MSIE 6') > 0)) {
+ ie5 = true;
+ }
+ if (ns6) {
+ ns6 = false;
+ }
+}
+
+
+// Capture events, alt. diffuses the overlib function.
+if ( (ns4) || (ie4) || (ns6)) {
+ document.onmousemove = mouseMove
+ if (ns4) document.captureEvents(Event.MOUSEMOVE)
+} else {
+ overlib = no_overlib;
+ nd = no_overlib;
+ ver3fix = true;
+}
+
+
+// Fake function for 3.0 users.
+function no_overlib() {
+ return ver3fix;
+}
+
+
+
+////////////////////////////////////////////////////////////////////////////////////
+// PUBLIC FUNCTIONS
+////////////////////////////////////////////////////////////////////////////////////
+
+
+// overlib(arg0, ..., argN)
+// Loads parameters into global runtime variables.
+function overlib() {
+
+ // Load defaults to runtime.
+ o3_text = ol_text;
+ o3_cap = ol_cap;
+ o3_sticky = ol_sticky;
+ o3_background = ol_background;
+ o3_close = ol_close;
+ o3_hpos = ol_hpos;
+ o3_offsetx = ol_offsetx;
+ o3_offsety = ol_offsety;
+ o3_fgcolor = ol_fgcolor;
+ o3_bgcolor = ol_bgcolor;
+ o3_textcolor = ol_textcolor;
+ o3_capcolor = ol_capcolor;
+ o3_closecolor = ol_closecolor;
+ o3_width = ol_width;
+ o3_border = ol_border;
+ o3_status = ol_status;
+ o3_autostatus = ol_autostatus;
+ o3_height = ol_height;
+ o3_snapx = ol_snapx;
+ o3_snapy = ol_snapy;
+ o3_fixx = ol_fixx;
+ o3_fixy = ol_fixy;
+ o3_fgbackground = ol_fgbackground;
+ o3_bgbackground = ol_bgbackground;
+ o3_padxl = ol_padxl;
+ o3_padxr = ol_padxr;
+ o3_padyt = ol_padyt;
+ o3_padyb = ol_padyb;
+ o3_fullhtml = ol_fullhtml;
+ o3_vpos = ol_vpos;
+ o3_aboveheight = ol_aboveheight;
+ o3_capicon = ol_capicon;
+ o3_textfont = ol_textfont;
+ o3_captionfont = ol_captionfont;
+ o3_closefont = ol_closefont;
+ o3_textsize = ol_textsize;
+ o3_captionsize = ol_captionsize;
+ o3_closesize = ol_closesize;
+ o3_timeout = ol_timeout;
+ o3_function = ol_function;
+ o3_delay = ol_delay;
+ o3_hauto = ol_hauto;
+ o3_vauto = ol_vauto;
+ o3_closeclick = ol_closeclick;
+
+ o3_css = ol_css;
+ o3_fgclass = ol_fgclass;
+ o3_bgclass = ol_bgclass;
+ o3_textfontclass = ol_textfontclass;
+ o3_captionfontclass = ol_captionfontclass;
+ o3_closefontclass = ol_closefontclass;
+ o3_padunit = ol_padunit;
+ o3_heightunit = ol_heightunit;
+ o3_widthunit = ol_widthunit;
+ o3_textsizeunit = ol_textsizeunit;
+ o3_textdecoration = ol_textdecoration;
+ o3_textstyle = ol_textstyle;
+ o3_textweight = ol_textweight;
+ o3_captionsizeunit = ol_captionsizeunit;
+ o3_captiondecoration = ol_captiondecoration;
+ o3_captionstyle = ol_captionstyle;
+ o3_captionweight = ol_captionweight;
+ o3_closesizeunit = ol_closesizeunit;
+ o3_closedecoration = ol_closedecoration;
+ o3_closestyle = ol_closestyle;
+ o3_closeweight = ol_closeweight;
+
+
+ // Special for frame support, over must be reset...
+ if ( (ns4) || (ie4) || (ns6) ) {
+ o3_frame = ol_frame;
+ if (ns4) over = o3_frame.document.overDiv
+ if (ie4) over = o3_frame.overDiv.style
+ if (ns6) over = o3_frame.document.getElementById("overDiv");
+ }
+
+
+ // What the next argument is expected to be.
+ var parsemode = -1;
+
+ var ar = arguments;
+
+ for (i = 0; i < ar.length; i++) {
+
+ if (parsemode < 0) {
+ // Arg is maintext, unless INARRAY
+ if (ar[i] == INARRAY) {
+ o3_text = ol_texts[ar[++i]];
+ } else {
+ o3_text = ar[i];
+ }
+
+ parsemode = 0;
+ } else {
+ // Note: NS4 doesn't like switch cases with vars.
+ if (ar[i] == INARRAY) { o3_text = ol_texts[ar[++i]]; continue; }
+ if (ar[i] == CAPARRAY) { o3_cap = ol_caps[ar[++i]]; continue; }
+ if (ar[i] == STICKY) { o3_sticky = 1; continue; }
+ if (ar[i] == BACKGROUND) { o3_background = ar[++i]; continue; }
+ if (ar[i] == NOCLOSE) { o3_close = ""; continue; }
+ if (ar[i] == CAPTION) { o3_cap = ar[++i]; continue; }
+ if (ar[i] == CENTER || ar[i] == LEFT || ar[i] == RIGHT) { o3_hpos = ar[i]; continue; }
+ if (ar[i] == OFFSETX) { o3_offsetx = ar[++i]; continue; }
+ if (ar[i] == OFFSETY) { o3_offsety = ar[++i]; continue; }
+ if (ar[i] == FGCOLOR) { o3_fgcolor = ar[++i]; continue; }
+ if (ar[i] == BGCOLOR) { o3_bgcolor = ar[++i]; continue; }
+ if (ar[i] == TEXTCOLOR) { o3_textcolor = ar[++i]; continue; }
+ if (ar[i] == CAPCOLOR) { o3_capcolor = ar[++i]; continue; }
+ if (ar[i] == CLOSECOLOR) { o3_closecolor = ar[++i]; continue; }
+ if (ar[i] == WIDTH) { o3_width = ar[++i]; continue; }
+ if (ar[i] == BORDER) { o3_border = ar[++i]; continue; }
+ if (ar[i] == STATUS) { o3_status = ar[++i]; continue; }
+ if (ar[i] == AUTOSTATUS) { o3_autostatus = 1; continue; }
+ if (ar[i] == AUTOSTATUSCAP) { o3_autostatus = 2; continue; }
+ if (ar[i] == HEIGHT) { o3_height = ar[++i]; o3_aboveheight = ar[i]; continue; } // Same param again.
+ if (ar[i] == CLOSETEXT) { o3_close = ar[++i]; continue; }
+ if (ar[i] == SNAPX) { o3_snapx = ar[++i]; continue; }
+ if (ar[i] == SNAPY) { o3_snapy = ar[++i]; continue; }
+ if (ar[i] == FIXX) { o3_fixx = ar[++i]; continue; }
+ if (ar[i] == FIXY) { o3_fixy = ar[++i]; continue; }
+ if (ar[i] == FGBACKGROUND) { o3_fgbackground = ar[++i]; continue; }
+ if (ar[i] == BGBACKGROUND) { o3_bgbackground = ar[++i]; continue; }
+ if (ar[i] == PADX) { o3_padxl = ar[++i]; o3_padxr = ar[++i]; continue; }
+ if (ar[i] == PADY) { o3_padyt = ar[++i]; o3_padyb = ar[++i]; continue; }
+ if (ar[i] == FULLHTML) { o3_fullhtml = 1; continue; }
+ if (ar[i] == BELOW || ar[i] == ABOVE) { o3_vpos = ar[i]; continue; }
+ if (ar[i] == CAPICON) { o3_capicon = ar[++i]; continue; }
+ if (ar[i] == TEXTFONT) { o3_textfont = ar[++i]; continue; }
+ if (ar[i] == CAPTIONFONT) { o3_captionfont = ar[++i]; continue; }
+ if (ar[i] == CLOSEFONT) { o3_closefont = ar[++i]; continue; }
+ if (ar[i] == TEXTSIZE) { o3_textsize = ar[++i]; continue; }
+ if (ar[i] == CAPTIONSIZE) { o3_captionsize = ar[++i]; continue; }
+ if (ar[i] == CLOSESIZE) { o3_closesize = ar[++i]; continue; }
+ if (ar[i] == FRAME) { opt_FRAME(ar[++i]); continue; }
+ if (ar[i] == TIMEOUT) { o3_timeout = ar[++i]; continue; }
+ if (ar[i] == FUNCTION) { opt_FUNCTION(ar[++i]); continue; }
+ if (ar[i] == DELAY) { o3_delay = ar[++i]; continue; }
+ if (ar[i] == HAUTO) { o3_hauto = (o3_hauto == 0) ? 1 : 0; continue; }
+ if (ar[i] == VAUTO) { o3_vauto = (o3_vauto == 0) ? 1 : 0; continue; }
+ if (ar[i] == CLOSECLICK) { o3_closeclick = (o3_closeclick == 0) ? 1 : 0; continue; }
+ if (ar[i] == CSSOFF) { o3_css = ar[i]; continue; }
+ if (ar[i] == CSSSTYLE) { o3_css = ar[i]; continue; }
+ if (ar[i] == CSSCLASS) { o3_css = ar[i]; continue; }
+ if (ar[i] == FGCLASS) { o3_fgclass = ar[++i]; continue; }
+ if (ar[i] == BGCLASS) { o3_bgclass = ar[++i]; continue; }
+ if (ar[i] == TEXTFONTCLASS) { o3_textfontclass = ar[++i]; continue; }
+ if (ar[i] == CAPTIONFONTCLASS) { o3_captionfontclass = ar[++i]; continue; }
+ if (ar[i] == CLOSEFONTCLASS) { o3_closefontclass = ar[++i]; continue; }
+ if (ar[i] == PADUNIT) { o3_padunit = ar[++i]; continue; }
+ if (ar[i] == HEIGHTUNIT) { o3_heightunit = ar[++i]; continue; }
+ if (ar[i] == WIDTHUNIT) { o3_widthunit = ar[++i]; continue; }
+ if (ar[i] == TEXTSIZEUNIT) { o3_textsizeunit = ar[++i]; continue; }
+ if (ar[i] == TEXTDECORATION) { o3_textdecoration = ar[++i]; continue; }
+ if (ar[i] == TEXTSTYLE) { o3_textstyle = ar[++i]; continue; }
+ if (ar[i] == TEXTWEIGHT) { o3_textweight = ar[++i]; continue; }
+ if (ar[i] == CAPTIONSIZEUNIT) { o3_captionsizeunit = ar[++i]; continue; }
+ if (ar[i] == CAPTIONDECORATION) { o3_captiondecoration = ar[++i]; continue; }
+ if (ar[i] == CAPTIONSTYLE) { o3_captionstyle = ar[++i]; continue; }
+ if (ar[i] == CAPTIONWEIGHT) { o3_captionweight = ar[++i]; continue; }
+ if (ar[i] == CLOSESIZEUNIT) { o3_closesizeunit = ar[++i]; continue; }
+ if (ar[i] == CLOSEDECORATION) { o3_closedecoration = ar[++i]; continue; }
+ if (ar[i] == CLOSESTYLE) { o3_closestyle = ar[++i]; continue; }
+ if (ar[i] == CLOSEWEIGHT) { o3_closeweight = ar[++i]; continue; }
+ }
+ }
+
+ if (o3_delay == 0) {
+ return overlib350();
+ } else {
+ o3_delayid = setTimeout("overlib350()", o3_delay);
+
+ if (o3_sticky) {
+ return false;
+ } else {
+ return true;
+ }
+ }
+}
+
+
+
+// Clears popups if appropriate
+function nd() {
+ if ( o3_removecounter >= 1 ) { o3_showingsticky = 0 };
+ if ( (ns4) || (ie4) || (ns6) ) {
+ if ( o3_showingsticky == 0 ) {
+ o3_allowmove = 0;
+ if (over != null) hideObject(over);
+ } else {
+ o3_removecounter++;
+ }
+ }
+
+ return true;
+}
+
+
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////////
+// OVERLIB 3.50 FUNCTION
+////////////////////////////////////////////////////////////////////////////////////
+
+
+// This function decides what it is we want to display and how we want it done.
+function overlib350() {
+
+ // Make layer content
+ var layerhtml;
+
+ if (o3_background != "" || o3_fullhtml) {
+ // Use background instead of box.
+ layerhtml = ol_content_background(o3_text, o3_background, o3_fullhtml);
+ } else {
+ // They want a popup box.
+
+ // Prepare popup background
+ if (o3_fgbackground != "" && o3_css == CSSOFF) {
+ o3_fgbackground = "BACKGROUND=\""+o3_fgbackground+"\"";
+ }
+ if (o3_bgbackground != "" && o3_css == CSSOFF) {
+ o3_bgbackground = "BACKGROUND=\""+o3_bgbackground+"\"";
+ }
+
+ // Prepare popup colors
+ if (o3_fgcolor != "" && o3_css == CSSOFF) {
+ o3_fgcolor = "BGCOLOR=\""+o3_fgcolor+"\"";
+ }
+ if (o3_bgcolor != "" && o3_css == CSSOFF) {
+ o3_bgcolor = "BGCOLOR=\""+o3_bgcolor+"\"";
+ }
+
+ // Prepare popup height
+ if (o3_height > 0 && o3_css == CSSOFF) {
+ o3_height = "HEIGHT=" + o3_height;
+ } else {
+ o3_height = "";
+ }
+
+ // Decide which kinda box.
+ if (o3_cap == "") {
+ // Plain
+ layerhtml = ol_content_simple(o3_text);
+ } else {
+ // With caption
+ if (o3_sticky) {
+ // Show close text
+ layerhtml = ol_content_caption(o3_text, o3_cap, o3_close);
+ } else {
+ // No close text
+ layerhtml = ol_content_caption(o3_text, o3_cap, "");
+ }
+ }
+ }
+
+ // We want it to stick!
+ if (o3_sticky) {
+ o3_showingsticky = 1;
+ o3_removecounter = 0;
+ }
+
+ // Write layer
+ layerWrite(layerhtml);
+
+ // Prepare status bar
+ if (o3_autostatus > 0) {
+ o3_status = o3_text;
+ if (o3_autostatus > 1) {
+ o3_status = o3_cap;
+ }
+ }
+
+ // When placing the layer the first time, even stickies may be moved.
+ o3_allowmove = 0;
+
+ // Initiate a timer for timeout
+ if (o3_timeout > 0) {
+ if (o3_timerid > 0) clearTimeout(o3_timerid);
+ o3_timerid = setTimeout("cClick()", o3_timeout);
+ }
+
+ // Show layer
+ disp(o3_status);
+
+ // Stickies should stay where they are.
+ if (o3_sticky) {
+ o3_allowmove = 0;
+ return false;
+ } else {
+ return true;
+ }
+}
+
+
+
+////////////////////////////////////////////////////////////////////////////////////
+// LAYER GENERATION FUNCTIONS
+////////////////////////////////////////////////////////////////////////////////////
+
+// Makes simple table without caption
+function ol_content_simple(text) {
+ if (o3_css == CSSCLASS) txt = "<TABLE WIDTH="+o3_width+" BORDER=0 CELLPADDING="+o3_border+" CELLSPACING=0 class=\""+o3_bgclass+"\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 class=\""+o3_fgclass+"\"><TR><TD VALIGN=TOP><FONT class=\""+o3_textfontclass+"\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
+ if (o3_css == CSSSTYLE) txt = "<TABLE WIDTH="+o3_width+" BORDER=0 CELLPADDING="+o3_border+" CELLSPACING=0 style=\"background-color: "+o3_bgcolor+"; height: "+o3_height+o3_heightunit+";\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 style=\"color: "+o3_fgcolor+"; background-color: "+o3_fgcolor+"; height: "+o3_height+o3_heightunit+";\"><TR><TD VALIGN=TOP><FONT style=\"font-family: "+o3_textfont+"; color: "+o3_textcolor+"; font-size: "+o3_textsize+o3_textsizeunit+"; text-decoration: "+o3_textdecoration+"; font-weight: "+o3_textweight+"; font-style:"+o3_textstyle+"\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
+ if (o3_css == CSSOFF) txt = "<TABLE WIDTH="+o3_width+" BORDER=0 CELLPADDING="+o3_border+" CELLSPACING=0 "+o3_bgcolor+" "+o3_height+"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 "+o3_fgcolor+" "+o3_fgbackground+" "+o3_height+"><TR><TD VALIGN=TOP><FONT FACE=\""+o3_textfont+"\" COLOR=\""+o3_textcolor+"\" SIZE=\""+o3_textsize+"\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
+
+ set_background("");
+ return txt;
+}
+
+
+
+
+// Makes table with caption and optional close link
+function ol_content_caption(text, title, close) {
+ closing = "";
+ closeevent = "onMouseOver";
+
+ if (o3_closeclick == 1) closeevent = "onClick";
+ if (o3_capicon != "") o3_capicon = "<IMG SRC=\""+o3_capicon+"\"> ";
+
+ if (close != "") {
+ if (o3_css == CSSCLASS) closing = "<TD ALIGN=RIGHT><A HREF=\"/\" "+closeevent+"=\"return cClick();\" class=\""+o3_closefontclass+"\">"+close+"</A></TD>";
+ if (o3_css == CSSSTYLE) closing = "<TD ALIGN=RIGHT><A HREF=\"/\" "+closeevent+"=\"return cClick();\" style=\"color: "+o3_closecolor+"; font-family: "+o3_closefont+"; font-size: "+o3_closesize+o3_closesizeunit+"; text-decoration: "+o3_closedecoration+"; font-weight: "+o3_closeweight+"; font-style:"+o3_closestyle+";\">"+close+"</A></TD>";
+ if (o3_css == CSSOFF) closing = "<TD ALIGN=RIGHT><A HREF=\"/\" "+closeevent+"=\"return cClick();\"><FONT COLOR=\""+o3_closecolor+"\" FACE=\""+o3_closefont+"\" SIZE=\""+o3_closesize+"\">"+close+"</FONT></A></TD>";
+ }
+
+ if (o3_css == CSSCLASS) txt = "<TABLE WIDTH="+o3_width+" BORDER=0 CELLPADDING="+o3_border+" CELLSPACING=0 class=\""+o3_bgclass+"\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><FONT class=\""+o3_captionfontclass+"\">"+o3_capicon+title+"</FONT></TD>"+closing+"</TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 class=\""+o3_fgclass+"\"><TR><TD VALIGN=TOP><FONT class=\""+o3_textfontclass+"\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
+ if (o3_css == CSSSTYLE) txt = "<TABLE WIDTH="+o3_width+" BORDER=0 CELLPADDING="+o3_border+" CELLSPACING=0 style=\"background-color: "+o3_bgcolor+"; background-image: url("+o3_bgbackground+"); height: "+o3_height+o3_heightunit+";\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><FONT style=\"font-family: "+o3_captionfont+"; color: "+o3_capcolor+"; font-size: "+o3_captionsize+o3_captionsizeunit+"; font-weight: "+o3_captionweight+"; font-style: "+o3_captionstyle+";\">"+o3_capicon+title+"</FONT></TD>"+closing+"</TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 style=\"color: "+o3_fgcolor+"; background-color: "+o3_fgcolor+"; height: "+o3_height+o3_heightunit+";\"><TR><TD VALIGN=TOP><FONT style=\"font-family: "+o3_textfont+"; color: "+o3_textcolor+"; font-size: "+o3_textsize+o3_textsizeunit+"; text-decoration: "+o3_textdecoration+"; font-weight: "+o3_textweight+"; font-style:"+o3_textstyle+"\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
+ if (o3_css == CSSOFF) txt = "<TABLE WIDTH="+o3_width+" BORDER=0 CELLPADDING="+o3_border+" CELLSPACING=0 "+o3_bgcolor+" "+o3_bgbackground+" "+o3_height+"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><B><FONT COLOR=\""+o3_capcolor+"\" FACE=\""+o3_captionfont+"\" SIZE=\""+o3_captionsize+"\">"+o3_capicon+title+"</FONT></B></TD>"+closing+"</TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 "+o3_fgcolor+" "+o3_fgbackground+" "+o3_height+"><TR><TD VALIGN=TOP><FONT COLOR=\""+o3_textcolor+"\" FACE=\""+o3_textfont+"\" SIZE=\""+o3_textsize+"\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
+
+ set_background("");
+ return txt;
+}
+
+// Sets the background picture, padding and lots more. :)
+function ol_content_background(text, picture, hasfullhtml) {
+ if (hasfullhtml) {
+ txt = text;
+ } else {
+ if (o3_css == CSSCLASS) txt = "<TABLE WIDTH="+o3_width+o3_widthunit+" BORDER=0 CELLPADDING=0 CELLSPACING=0 HEIGHT="+o3_height+o3_heightunit+"><TR><TD COLSPAN=3 HEIGHT="+o3_padyt+o3_padunit+"></TD></TR><TR><TD WIDTH="+o3_padxl+o3_padunit+"></TD><TD VALIGN=TOP WIDTH="+(o3_width-o3_padxl-o3_padxr)+o3_padunit+"><FONT class=\""+o3_textfontclass+"\">"+text+"</FONT></TD><TD WIDTH="+o3_padxr+o3_padunit+"></TD></TR><TR><TD COLSPAN=3 HEIGHT="+o3_padyb+o3_padunit+"></TD></TR></TABLE>";
+ if (o3_css == CSSSTYLE) txt = "<TABLE WIDTH="+o3_width+o3_widthunit+" BORDER=0 CELLPADDING=0 CELLSPACING=0 HEIGHT="+o3_height+o3_heightunit+"><TR><TD COLSPAN=3 HEIGHT="+o3_padyt+o3_padunit+"></TD></TR><TR><TD WIDTH="+o3_padxl+o3_padunit+"></TD><TD VALIGN=TOP WIDTH="+(o3_width-o3_padxl-o3_padxr)+o3_padunit+"><FONT style=\"font-family: "+o3_textfont+"; color: "+o3_textcolor+"; font-size: "+o3_textsize+o3_textsizeunit+";\">"+text+"</FONT></TD><TD WIDTH="+o3_padxr+o3_padunit+"></TD></TR><TR><TD COLSPAN=3 HEIGHT="+o3_padyb+o3_padunit+"></TD></TR></TABLE>";
+ if (o3_css == CSSOFF) txt = "<TABLE WIDTH="+o3_width+" BORDER=0 CELLPADDING=0 CELLSPACING=0 HEIGHT="+o3_height+"><TR><TD COLSPAN=3 HEIGHT="+o3_padyt+"></TD></TR><TR><TD WIDTH="+o3_padxl+"></TD><TD VALIGN=TOP WIDTH="+(o3_width-o3_padxl-o3_padxr)+"><FONT FACE=\""+o3_textfont+"\" COLOR=\""+o3_textcolor+"\" SIZE=\""+o3_textsize+"\">"+text+"</FONT></TD><TD WIDTH="+o3_padxr+"></TD></TR><TR><TD COLSPAN=3 HEIGHT="+o3_padyb+"></TD></TR></TABLE>";
+ }
+ set_background(picture);
+ return txt;
+}
+
+// Loads a picture into the div.
+function set_background(pic) {
+ if (pic == "") {
+ if (ie4) over.backgroundImage = "none";
+ if (ns6) over.style.backgroundImage = "none";
+ } else {
+ if (ns4) {
+ over.background.src = pic;
+ } else if (ie4) {
+ over.backgroundImage = "url("+pic+")";
+ } else if (ns6) {
+ over.style.backgroundImage = "url("+pic+")";
+ }
+ }
+}
+
+
+
+////////////////////////////////////////////////////////////////////////////////////
+// HANDLING FUNCTIONS
+////////////////////////////////////////////////////////////////////////////////////
+
+
+// Displays the popup
+function disp(statustext) {
+ if ( (ns4) || (ie4) || (ns6) ) {
+ if (o3_allowmove == 0) {
+ placeLayer();
+ showObject(over);
+ o3_allowmove = 1;
+ }
+ }
+
+ if (statustext != "") {
+ self.status = statustext;
+ }
+}
+
+// Decides where we want the popup.
+function placeLayer() {
+ var placeX, placeY;
+
+ // HORIZONTAL PLACEMENT
+ if (o3_fixx > -1) {
+ // Fixed position
+ placeX = o3_fixx;
+ } else {
+ winoffset = (ie4) ? o3_frame.document.body.scrollLeft : o3_frame.pageXOffset;
+ if (ie4) iwidth = o3_frame.document.body.clientWidth;
+ if (ns4) iwidth = o3_frame.innerWidth; // was screwed in mozilla, fixed now?
+ if (ns6) iwidth = o3_frame.outerWidth;
+
+ // If HAUTO, decide what to use.
+ if (o3_hauto == 1) {
+ if ( (o3_x - winoffset) > ((eval(iwidth)) / 2)) {
+ o3_hpos = LEFT;
+ } else {
+ o3_hpos = RIGHT;
+ }
+ }
+
+ // From mouse
+ if (o3_hpos == CENTER) { // Center
+ placeX = o3_x+o3_offsetx-(o3_width/2);
+ }
+ if (o3_hpos == RIGHT) { // Right
+ placeX = o3_x+o3_offsetx;
+ if ( (eval(placeX) + eval(o3_width)) > (winoffset + iwidth) ) {
+ placeX = iwidth + winoffset - o3_width;
+ if (placeX < 0) placeX = 0;
+ }
+ }
+ if (o3_hpos == LEFT) { // Left
+ placeX = o3_x-o3_offsetx-o3_width;
+ if (placeX < winoffset) placeX = winoffset;
+ }
+
+ // Snapping!
+ if (o3_snapx > 1) {
+ var snapping = placeX % o3_snapx;
+ if (o3_hpos == LEFT) {
+ placeX = placeX - (o3_snapx + snapping);
+ } else {
+ // CENTER and RIGHT
+ placeX = placeX + (o3_snapx - snapping);
+ }
+ if (placeX < winoffset) placeX = winoffset;
+ }
+ }
+
+
+
+ // VERTICAL PLACEMENT
+ if (o3_fixy > -1) {
+ // Fixed position
+ placeY = o3_fixy;
+ } else {
+ scrolloffset = (ie4) ? o3_frame.document.body.scrollTop : o3_frame.pageYOffset;
+
+ // If VAUTO, decide what to use.
+ if (o3_vauto == 1) {
+ if (ie4) iheight = o3_frame.document.body.clientHeight;
+ if (ns4) iheight = o3_frame.innerHeight;
+ if (ns6) iheight = o3_frame.outerHeight;
+
+ iheight = (eval(iheight)) / 2;
+ if ( (o3_y - scrolloffset) > iheight) {
+ o3_vpos = ABOVE;
+ } else {
+ o3_vpos = BELOW;
+ }
+ }
+
+
+ // From mouse
+ if (o3_vpos == ABOVE) {
+ if (o3_aboveheight == 0) {
+ var divref = (ie4) ? o3_frame.document.all['overDiv'] : over;
+ o3_aboveheight = (ns4) ? divref.clip.height : divref.offsetHeight;
+ }
+
+ placeY = o3_y - (o3_aboveheight + o3_offsety);
+ if (placeY < scrolloffset) placeY = scrolloffset;
+ } else {
+ // BELOW
+ placeY = o3_y + o3_offsety;
+ }
+
+ // Snapping!
+ if (o3_snapy > 1) {
+ var snapping = placeY % o3_snapy;
+
+ if (o3_aboveheight > 0 && o3_vpos == ABOVE) {
+ placeY = placeY - (o3_snapy + snapping);
+ } else {
+ placeY = placeY + (o3_snapy - snapping);
+ }
+
+ if (placeY < scrolloffset) placeY = scrolloffset;
+ }
+ }
+
+
+ // Actually move the object.
+ repositionTo(over, placeX, placeY);
+}
+
+
+// Moves the layer
+function mouseMove(e) {
+ if ( (ns4) || (ns6) ) {o3_x=e.pageX; o3_y=e.pageY;}
+ if (ie4) {o3_x=event.x; o3_y=event.y;}
+ if (ie5) {o3_x=event.x+o3_frame.document.body.scrollLeft; o3_y=event.y+o3_frame.document.body.scrollTop;}
+
+ if (o3_allowmove == 1) {
+ placeLayer();
+ }
+}
+
+// The Close onMouseOver function for stickies
+function cClick() {
+ hideObject(over);
+ o3_showingsticky = 0;
+
+ return false;
+}
+
+
+// Makes sure target frame has overLIB
+function compatibleframe(frameid) {
+ if (ns4) {
+ if (typeof frameid.document.overDiv =='undefined') return false;
+ } else if (ie4) {
+ if (typeof frameid.document.all["overDiv"] =='undefined') return false;
+ } else if (ns6) {
+ if (frameid.document.getElementById('overDiv') == null) return false;
+ }
+
+ return true;
+}
+
+
+
+////////////////////////////////////////////////////////////////////////////////////
+// LAYER FUNCTIONS
+////////////////////////////////////////////////////////////////////////////////////
+
+
+// Writes to a layer
+function layerWrite(txt) {
+ txt += "\n";
+
+ if (ns4) {
+ var lyr = o3_frame.document.overDiv.document
+
+ lyr.write(txt)
+ lyr.close()
+ } else if (ie4) {
+ o3_frame.document.all["overDiv"].innerHTML = txt
+ } else if (ns6) {
+ range = o3_frame.document.createRange();
+ range.setStartBefore(over);
+ domfrag = range.createContextualFragment(txt);
+ while (over.hasChildNodes()) {
+ over.removeChild(over.lastChild);
+ }
+ over.appendChild(domfrag);
+ }
+}
+
+// Make an object visible
+function showObject(obj) {
+ if (ns4) obj.visibility = "show";
+ else if (ie4) obj.visibility = "visible";
+ else if (ns6) obj.style.visibility = "visible";
+}
+
+// Hides an object
+function hideObject(obj) {
+ if (ns4) obj.visibility = "hide";
+ else if (ie4) obj.visibility = "hidden";
+ else if (ns6) obj.style.visibility = "hidden";
+
+ if (o3_timerid > 0) clearTimeout(o3_timerid);
+ if (o3_delayid > 0) clearTimeout(o3_delayid);
+ o3_timerid = 0;
+ o3_delayid = 0;
+ self.status = "";
+}
+
+// Move a layer
+function repositionTo(obj,xL,yL) {
+ if ( (ns4) || (ie4) ) {
+ obj.left = xL;
+ obj.top = yL;
+ } else if (ns6) {
+ obj.style.left = xL + "px";
+ obj.style.top = yL+ "px";
+ }
+}
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////////
+// PARSER FUNCTIONS
+////////////////////////////////////////////////////////////////////////////////////
+
+
+// Defines which frame we should point to.
+function opt_FRAME(frm) {
+ o3_frame = compatibleframe(frm) ? frm : ol_frame;
+
+ if ( (ns4) || (ie4 || (ns6)) ) {
+ if (ns4) over = o3_frame.document.overDiv;
+ if (ie4) over = o3_frame.overDiv.style;
+ if (ns6) over = o3_frame.document.getElementById("overDiv");
+ }
+
+ return 0;
+}
+
+// Calls an external function
+function opt_FUNCTION(callme) {
+ o3_text = callme()
+ return 0;
+}
+
+
+
+
+//end (For internal purposes.)
+////////////////////////////////////////////////////////////////////////////////////
+// OVERLIB 2 COMPATABILITY FUNCTIONS
+// If you aren't upgrading you can remove the below section.
+////////////////////////////////////////////////////////////////////////////////////
+
+// Converts old 0=left, 1=right and 2=center into constants.
+function vpos_convert(d) {
+ if (d == 0) {
+ d = LEFT;
+ } else {
+ if (d == 1) {
+ d = RIGHT;
+ } else {
+ d = CENTER;
+ }
+ }
+
+ return d;
+}
+
+// Simple popup
+function dts(d,text) {
+ o3_hpos = vpos_convert(d);
+ overlib(text, o3_hpos, CAPTION, "");
+}
+
+// Caption popup
+function dtc(d,text, title) {
+ o3_hpos = vpos_convert(d);
+ overlib(text, CAPTION, title, o3_hpos);
+}
+
+// Sticky
+function stc(d,text, title) {
+ o3_hpos = vpos_convert(d);
+ overlib(text, CAPTION, title, o3_hpos, STICKY);
+}
+
+// Simple popup right
+function drs(text) {
+ dts(1,text);
+}
+
+// Caption popup right
+function drc(text, title) {
+ dtc(1,text,title);
+}
+
+// Sticky caption right
+function src(text,title) {
+ stc(1,text,title);
+}
+
+// Simple popup left
+function dls(text) {
+ dts(0,text);
+}
+
+// Caption popup left
+function dlc(text, title) {
+ dtc(0,text,title);
+}
+
+// Sticky caption left
+function slc(text,title) {
+ stc(0,text,title);
+}
+
+// Simple popup center
+function dcs(text) {
+ dts(2,text);
+}
+
+// Caption popup center
+function dcc(text, title) {
+ dtc(2,text,title);
+}
+
+// Sticky caption center
+function scc(text,title) {
+ stc(2,text,title);
+}
diff --git a/quanta/data/templates/scripts/javascript/preload.js b/quanta/data/templates/scripts/javascript/preload.js new file mode 100644 index 00000000..5023bb37 --- /dev/null +++ b/quanta/data/templates/scripts/javascript/preload.js @@ -0,0 +1,24 @@ +/* To include this script into an xhtml page without copying and pasting it in +add the following tags into your xhtml page. Please note that these comments are +only valid within .js (JavaScript files), +do not include them if you wish to use this script within an xhtml document. + +<script type="text/javascript" src="./preload.js"></script> + +or copy and paste the script into your document head enclosed in +<script type="text/javascript"></script> tags */ + +var arImages=new Array(); +function Preload() { + var temp = Preload.arguments; + for(x=0; x < temp.length; x++) { + arImages[x]=new Image(); + arImages[x].src=Preload.arguments[x]; + } +} + + /*this replaces your normal 'body' tag + substitute your own image names*/ + /* + < body onload="Preload('thing.png','anotherthing.png','etc etc.png')" > + */
\ No newline at end of file diff --git a/quanta/data/templates/scripts/perl/Makefile.am b/quanta/data/templates/scripts/perl/Makefile.am new file mode 100644 index 00000000..ace29364 --- /dev/null +++ b/quanta/data/templates/scripts/perl/Makefile.am @@ -0,0 +1,2 @@ +templatesscriptsperldir = ${quanta_datadir}/templates/scripts/perl +templatesscriptsperl_DATA = demo.perl diff --git a/quanta/data/templates/scripts/perl/demo.perl b/quanta/data/templates/scripts/perl/demo.perl new file mode 100644 index 00000000..0757c3be --- /dev/null +++ b/quanta/data/templates/scripts/perl/demo.perl @@ -0,0 +1 @@ +#You can put script parts here and in the subdirs. diff --git a/quanta/data/templates/scripts/php/Makefile.am b/quanta/data/templates/scripts/php/Makefile.am new file mode 100644 index 00000000..8c457ec7 --- /dev/null +++ b/quanta/data/templates/scripts/php/Makefile.am @@ -0,0 +1,2 @@ +templatescriptsphpdir = ${quanta_datadir}/templates/scripts/php +templatescriptsphp_DATA = demo.php diff --git a/quanta/data/templates/scripts/php/demo.php b/quanta/data/templates/scripts/php/demo.php new file mode 100644 index 00000000..573cfc1c --- /dev/null +++ b/quanta/data/templates/scripts/php/demo.php @@ -0,0 +1,5 @@ +<? + +//You can put script parts here and in the subdirs. + +?>
\ No newline at end of file diff --git a/quanta/data/templates/text/Makefile.am b/quanta/data/templates/text/Makefile.am new file mode 100644 index 00000000..62450336 --- /dev/null +++ b/quanta/data/templates/text/Makefile.am @@ -0,0 +1,7 @@ +SUBDIRS = scripts others html + +templatestextdir = ${quanta_datadir}/templates/text +templatestext_DATA = dirinfo + +install-data-hook: + @mv $(DESTDIR)$(templatestextdir)/dirinfo $(DESTDIR)$(templatestextdir)/.dirinfo diff --git a/quanta/data/templates/text/dirinfo b/quanta/data/templates/text/dirinfo new file mode 100644 index 00000000..5cc185ca --- /dev/null +++ b/quanta/data/templates/text/dirinfo @@ -0,0 +1,6 @@ +PostText= +PreText= +Type=text/all +UsePrePostText=false + + diff --git a/quanta/data/templates/text/html/Makefile.am b/quanta/data/templates/text/html/Makefile.am new file mode 100644 index 00000000..c882d6c2 --- /dev/null +++ b/quanta/data/templates/text/html/Makefile.am @@ -0,0 +1,2 @@ +templatestexthtmldir = ${quanta_datadir}/templates/text/html +templatestexthtml_DATA = demo.html diff --git a/quanta/data/templates/text/html/demo.html b/quanta/data/templates/text/html/demo.html new file mode 100644 index 00000000..b395e172 --- /dev/null +++ b/quanta/data/templates/text/html/demo.html @@ -0,0 +1 @@ +<!-- You can put common HTML files/parts here. --> diff --git a/quanta/data/templates/text/others/Makefile.am b/quanta/data/templates/text/others/Makefile.am new file mode 100644 index 00000000..7320b408 --- /dev/null +++ b/quanta/data/templates/text/others/Makefile.am @@ -0,0 +1,2 @@ +templatestextothersdir = ${quanta_datadir}/templates/text/others +templatestextothers_DATA = demo.txt diff --git a/quanta/data/templates/text/others/demo.txt b/quanta/data/templates/text/others/demo.txt new file mode 100644 index 00000000..88373d80 --- /dev/null +++ b/quanta/data/templates/text/others/demo.txt @@ -0,0 +1 @@ +You can put common texts in this dir.
\ No newline at end of file diff --git a/quanta/data/templates/text/scripts/Makefile.am b/quanta/data/templates/text/scripts/Makefile.am new file mode 100644 index 00000000..0323c49b --- /dev/null +++ b/quanta/data/templates/text/scripts/Makefile.am @@ -0,0 +1,2 @@ +templatestextscriptsdir = ${quanta_datadir}/templates/text/scripts +templatestextscripts_DATA = demo.php diff --git a/quanta/data/templates/text/scripts/demo.php b/quanta/data/templates/text/scripts/demo.php new file mode 100644 index 00000000..573cfc1c --- /dev/null +++ b/quanta/data/templates/text/scripts/demo.php @@ -0,0 +1,5 @@ +<? + +//You can put script parts here and in the subdirs. + +?>
\ No newline at end of file |