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/pages | |
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/pages')
19 files changed, 1395 insertions, 0 deletions
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 |