summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2005-10-27 15:08:39 +0000
committerHenri Herscher <henri@oreka.org>2005-10-27 15:08:39 +0000
commite76fa0b3e203a5eeebc15eed92be79933bd94457 (patch)
tree6b007edae582fb67b69393c35544ed8bd96274ec /website
parent0fd6bacf4e3cf06208d3d0327672d9446094e0a6 (diff)
First checkin
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@18 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'website')
-rw-r--r--website/.htaccess42
-rw-r--r--website/404.php18
-rw-r--r--website/LICENSE.txt212
-rw-r--r--website/Makefile39
-rw-r--r--website/README.txt106
-rw-r--r--website/about/credits.php37
-rw-r--r--website/about/features.php37
-rw-r--r--website/about/index.php28
-rw-r--r--website/about/license.php36
-rw-r--r--website/about/links.php37
-rw-r--r--website/about/main.inc.php12
-rw-r--r--website/about/news.php37
-rw-r--r--website/about/screenshots.php19
-rw-r--r--website/contact/index.php33
-rw-r--r--website/contact/lists.php63
-rw-r--r--website/contact/main.inc.php16
-rw-r--r--website/contact/privacy.php35
-rw-r--r--website/copyright.php26
-rw-r--r--website/download/common.inc.php13
-rw-r--r--website/download/index.php26
-rw-r--r--website/download/main.inc.php12
-rw-r--r--website/download/release-notes.php19
-rw-r--r--website/download/source.php33
-rw-r--r--website/download/windows.php33
-rw-r--r--website/images/creative-commons.gifbin0 -> 1835 bytes
-rw-r--r--website/images/mac.pngbin0 -> 1808 bytes
-rw-r--r--website/images/paypal.gifbin0 -> 861 bytes
-rw-r--r--website/images/unix.pngbin0 -> 2350 bytes
-rw-r--r--website/images/win.pngbin0 -> 1806 bytes
-rw-r--r--website/include/detect-os.inc.php18
-rw-r--r--website/include/footer.inc.php34
-rw-r--r--website/include/header.inc.php89
-rw-r--r--website/include/lang.inc.php95
-rw-r--r--website/include/news.inc.php44
-rw-r--r--website/include/strings.inc.php0
-rw-r--r--website/index.php46
-rw-r--r--website/latest/audacity-mac.php9
-rw-r--r--website/latest/audacity-macosx.php9
-rw-r--r--website/latest/audacity-src.php9
-rw-r--r--website/latest/audacity-win-zip.php9
-rw-r--r--website/latest/audacity-win.php9
-rw-r--r--website/latest/mirror.inc.php6
-rw-r--r--website/latest/versions.inc.php22
-rw-r--r--website/list/alreadyon.php16
-rw-r--r--website/list/emailconfirm.php18
-rw-r--r--website/list/invalid.php16
-rw-r--r--website/list/main.inc.php34
-rw-r--r--website/list/noton.php14
-rw-r--r--website/list/subscribed.php30
-rw-r--r--website/list/unsubscribed.php14
-rw-r--r--website/main.inc.php43
-rw-r--r--website/robots.txt3
-rw-r--r--website/site-map.php35
-rw-r--r--website/style.css132
-rw-r--r--website/support/documentation.php26
-rw-r--r--website/support/faq.php83
-rw-r--r--website/support/index.php23
-rw-r--r--website/support/lists.php26
-rw-r--r--website/support/main.inc.php12
59 files changed, 1893 insertions, 0 deletions
diff --git a/website/.htaccess b/website/.htaccess
new file mode 100644
index 0000000..cc8b330
--- /dev/null
+++ b/website/.htaccess
@@ -0,0 +1,42 @@
+Options +MultiViews
+
+ErrorDocument 404 /404.php
+
+RewriteEngine On
+RewriteBase /
+
+# Redirect URLs from previous version of site
+#RewriteRule ^index.php(.*) ./$1 [R=permanent]
+RewriteRule ^about.php(.*) about/$1 [R=permanent]
+RewriteRule ^contact.php(.*) contact/$1 [R=permanent]
+RewriteRule ^credits.php(.*) about/credits$1 [R=permanent]
+RewriteRule ^cvs.php(.*) community/developers$1 [R=permanent]
+RewriteRule ^devel.php(.*) community/developers$1 [R=permanent]
+RewriteRule ^donatemoney.php(.*) community/donate$1 [R=permanent]
+RewriteRule ^donatetime.php(.*) community/$1 [R=permanent]
+RewriteRule ^faq.php(.*) help/faq$1 [R=permanent]
+RewriteRule ^help.php(.*) help/$1 [R=permanent]
+RewriteRule ^links.php(.*) about/links$1 [R=permanent]
+RewriteRule ^mac.php(.*) download/mac$1 [R=permanent]
+RewriteRule ^nyquist.php(.*) help/nyquist$1 [R=permanent]
+RewriteRule ^nyquist2.php(.*) help/nyquist2$1 [R=permanent]
+RewriteRule ^nyquist3.php(.*) help/nyquist3$1 [R=permanent]
+RewriteRule ^nyquistplugins.php(.*) download/nyquistplugins$1 [R=permanent]
+RewriteRule ^plugins.php(.*) download/plugins$1 [R=permanent]
+RewriteRule ^privacy.php(.*) contact/privacy$1 [R=permanent]
+RewriteRule ^screenshots.*.php(.*) about/screenshots$1 [R=permanent]
+RewriteRule ^stablenotes.php(.*) download/release-notes$1 [R=permanent]
+RewriteRule ^translation community/translation [R=permanent]
+RewriteRule ^tutorials.php help/tutorials$1 [R=permanent]
+RewriteRule ^unix.php(.*) download/linux$1 [R=permanent]
+RewriteRule ^windows.php(.*) download/windows$1 [R=permanent]
+
+# Redirect really old URLs.
+RewriteRule ^index.html . [R=permanent]
+RewriteRule ^linux.html download/linux [R=permanent]
+RewriteRule ^macos9.html download/mac [R=permanent]
+RewriteRule ^macosx.html download/mac [R=permanent]
+RewriteRule ^windows.html download/windows [R=permanent]
+
+# Redirect URLs pointing to temporary staging area.
+RewriteRule ^new/(.*) $1 [R=permanent]
diff --git a/website/404.php b/website/404.php
new file mode 100644
index 0000000..8d34528
--- /dev/null
+++ b/website/404.php
@@ -0,0 +1,18 @@
+<?php
+/*
+ * Copyright 2005 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $sitePath = "/.";
+ $pageTitle = _("Page Not Found");
+ include "include/header.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+<p><?=_('Sorry, the page you are looking for was not found. Please try the <a href="/">Oreka home page</a> or the <a href="/site-map">site map</a>.')?></p>
+
+<?php
+ include "include/footer.inc.php";
+?>
diff --git a/website/LICENSE.txt b/website/LICENSE.txt
new file mode 100644
index 0000000..0407d05
--- /dev/null
+++ b/website/LICENSE.txt
@@ -0,0 +1,212 @@
+ Creative Commons
+
+ Creative Commons Legal Code
+
+ Attribution 2.0
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
+ LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
+ REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
+ DAMAGES RESULTING FROM ITS USE.
+
+ License
+
+ THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS
+ CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS
+ PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE
+ WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS
+ PROHIBITED.
+
+ BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND
+ AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS
+ YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF
+ SUCH TERMS AND CONDITIONS.
+
+ 1. Definitions
+ a. "Collective Work" means a work, such as a periodical issue,
+ anthology or encyclopedia, in which the Work in its entirety in
+ unmodified form, along with a number of other contributions,
+ constituting separate and independent works in themselves, are
+ assembled into a collective whole. A work that constitutes a
+ Collective Work will not be considered a Derivative Work (as
+ defined below) for the purposes of this License.
+ b. "Derivative Work" means a work based upon the Work or upon the
+ Work and other pre-existing works, such as a translation, musical
+ arrangement, dramatization, fictionalization, motion picture
+ version, sound recording, art reproduction, abridgment,
+ condensation, or any other form in which the Work may be recast,
+ transformed, or adapted, except that a work that constitutes a
+ Collective Work will not be considered a Derivative Work for the
+ purpose of this License. For the avoidance of doubt, where the
+ Work is a musical composition or sound recording, the
+ synchronization of the Work in timed-relation with a moving image
+ ("synching") will be considered a Derivative Work for the purpose
+ of this License.
+ c. "Licensor" means the individual or entity that offers the Work
+ under the terms of this License.
+ d. "Original Author" means the individual or entity who created the
+ Work.
+ e. "Work" means the copyrightable work of authorship offered under
+ the terms of this License.
+ f. "You" means an individual or entity exercising rights under this
+ License who has not previously violated the terms of this License
+ with respect to the Work, or who has received express permission
+ from the Licensor to exercise rights under this License despite a
+ previous violation.
+
+ 2. Fair Use Rights. Nothing in this license is intended to reduce,
+ limit, or restrict any rights arising from fair use, first sale or
+ other limitations on the exclusive rights of the copyright owner under
+ copyright law or other applicable laws.
+
+ 3. License Grant. Subject to the terms and conditions of this License,
+ Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
+ perpetual (for the duration of the applicable copyright) license to
+ exercise the rights in the Work as stated below:
+ a. to reproduce the Work, to incorporate the Work into one or more
+ Collective Works, and to reproduce the Work as incorporated in the
+ Collective Works;
+ b. to create and reproduce Derivative Works;
+ c. to distribute copies or phonorecords of, display publicly, perform
+ publicly, and perform publicly by means of a digital audio
+ transmission the Work including as incorporated in Collective
+ Works;
+ d. to distribute copies or phonorecords of, display publicly, perform
+ publicly, and perform publicly by means of a digital audio
+ transmission Derivative Works.
+ e. For the avoidance of doubt, where the work is a musical
+ composition:
+ i. Performance Royalties Under Blanket Licenses. Licensor waives
+ the exclusive right to collect, whether individually or via a
+ performance rights society (e.g. ASCAP, BMI, SESAC),
+ royalties for the public performance or public digital
+ performance (e.g. webcast) of the Work.
+ ii. Mechanical Rights and Statutory Royalties. Licensor waives
+ the exclusive right to collect, whether individually or via a
+ music rights agency or designated agent (e.g. Harry Fox
+ Agency), royalties for any phonorecord You create from the
+ Work ("cover version") and distribute, subject to the
+ compulsory license created by 17 USC Section 115 of the US
+ Copyright Act (or the equivalent in other jurisdictions).
+ f. Webcasting Rights and Statutory Royalties. For the avoidance of
+ doubt, where the Work is a sound recording, Licensor waives the
+ exclusive right to collect, whether individually or via a
+ performance-rights society (e.g. SoundExchange), royalties for the
+ public digital performance (e.g. webcast) of the Work, subject to
+ the compulsory license created by 17 USC Section 114 of the US
+ Copyright Act (or the equivalent in other jurisdictions).
+
+ The above rights may be exercised in all media and formats whether now
+ known or hereafter devised. The above rights include the right to make
+ such modifications as are technically necessary to exercise the rights
+ in other media and formats. All rights not expressly granted by
+ Licensor are hereby reserved.
+
+ 4. Restrictions.The license granted in Section 3 above is expressly
+ made subject to and limited by the following restrictions:
+ a. You may distribute, publicly display, publicly perform, or
+ publicly digitally perform the Work only under the terms of this
+ License, and You must include a copy of, or the Uniform Resource
+ Identifier for, this License with every copy or phonorecord of the
+ Work You distribute, publicly display, publicly perform, or
+ publicly digitally perform. You may not offer or impose any terms
+ on the Work that alter or restrict the terms of this License or
+ the recipients' exercise of the rights granted hereunder. You may
+ not sublicense the Work. You must keep intact all notices that
+ refer to this License and to the disclaimer of warranties. You may
+ not distribute, publicly display, publicly perform, or publicly
+ digitally perform the Work with any technological measures that
+ control access or use of the Work in a manner inconsistent with
+ the terms of this License Agreement. The above applies to the Work
+ as incorporated in a Collective Work, but this does not require
+ the Collective Work apart from the Work itself to be made subject
+ to the terms of this License. If You create a Collective Work,
+ upon notice from any Licensor You must, to the extent practicable,
+ remove from the Collective Work any reference to such Licensor or
+ the Original Author, as requested. If You create a Derivative
+ Work, upon notice from any Licensor You must, to the extent
+ practicable, remove from the Derivative Work any reference to such
+ Licensor or the Original Author, as requested.
+ b. If you distribute, publicly display, publicly perform, or publicly
+ digitally perform the Work or any Derivative Works or Collective
+ Works, You must keep intact all copyright notices for the Work and
+ give the Original Author credit reasonable to the medium or means
+ You are utilizing by conveying the name (or pseudonym if
+ applicable) of the Original Author if supplied; the title of the
+ Work if supplied; to the extent reasonably practicable, the
+ Uniform Resource Identifier, if any, that Licensor specifies to be
+ associated with the Work, unless such URI does not refer to the
+ copyright notice or licensing information for the Work; and in the
+ case of a Derivative Work, a credit identifying the use of the
+ Work in the Derivative Work (e.g., "French translation of the Work
+ by Original Author," or "Screenplay based on original Work by
+ Original Author"). Such credit may be implemented in any
+ reasonable manner; provided, however, that in the case of a
+ Derivative Work or Collective Work, at a minimum such credit will
+ appear where any other comparable authorship credit appears and in
+ a manner at least as prominent as such other comparable authorship
+ credit.
+
+ 5. Representations, Warranties and Disclaimer
+
+ UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING,
+ LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR
+ WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED,
+ STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF
+ TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE,
+ NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY,
+ OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE.
+ SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES,
+ SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
+
+ 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY
+ APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY
+ LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR
+ EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK,
+ EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ 7. Termination
+ a. This License and the rights granted hereunder will terminate
+ automatically upon any breach by You of the terms of this License.
+ Individuals or entities who have received Derivative Works or
+ Collective Works from You under this License, however, will not
+ have their licenses terminated provided such individuals or
+ entities remain in full compliance with those licenses. Sections
+ 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
+ b. Subject to the above terms and conditions, the license granted
+ here is perpetual (for the duration of the applicable copyright in
+ the Work). Notwithstanding the above, Licensor reserves the right
+ to release the Work under different license terms or to stop
+ distributing the Work at any time; provided, however that any such
+ election will not serve to withdraw this License (or any other
+ license that has been, or is required to be, granted under the
+ terms of this License), and this License will continue in full
+ force and effect unless terminated as stated above.
+
+ 8. Miscellaneous
+ a. Each time You distribute or publicly digitally perform the Work or
+ a Collective Work, the Licensor offers to the recipient a license
+ to the Work on the same terms and conditions as the license
+ granted to You under this License.
+ b. Each time You distribute or publicly digitally perform a
+ Derivative Work, Licensor offers to the recipient a license to the
+ original Work on the same terms and conditions as the license
+ granted to You under this License.
+ c. If any provision of this License is invalid or unenforceable under
+ applicable law, it shall not affect the validity or enforceability
+ of the remainder of the terms of this License, and without further
+ action by the parties to this agreement, such provision shall be
+ reformed to the minimum extent necessary to make such provision
+ valid and enforceable.
+ d. No term or provision of this License shall be deemed waived and no
+ breach consented to unless such waiver or consent shall be in
+ writing and signed by the party to be charged with such waiver or
+ consent.
+ e. This License constitutes the entire agreement between the parties
+ with respect to the Work licensed here. There are no
+ understandings, agreements or representations with respect to the
+ Work not specified here. Licensor shall not be bound by any
+ additional provisions that may appear in any communication from
+ You. This License may not be modified without the mutual written
+ agreement of the Licensor and You.
diff --git a/website/Makefile b/website/Makefile
new file mode 100644
index 0000000..5211b3c
--- /dev/null
+++ b/website/Makefile
@@ -0,0 +1,39 @@
+POT_FILE=locale/audacity_website.pot
+PO_FILES_ORIG := $(wildcard locale/*.po)
+PO_FILES := $(PO_FILES_ORIG:%.po=%/LC_MESSAGES/audacity_website.po)
+MO_FILES := $(PO_FILES:%.po=%.mo)
+
+all: $(MO_FILES)
+
+clean:
+ rm -f $(MO_FILES) $(PO_FILES) $(POT_FILE)
+ rm -f $(PO_FILES:%=%~)
+
+# Build the POT file (message catalog template).
+SOURCES := $(wildcard *.php */*.php)
+XGETTEXT=xgettext
+XGETTEXT_ARGS=-L php --add-comments="i18n-hint" --from-code="UTF-8"
+
+$(POT_FILE): $(SOURCES)
+ find . -name '*.php' ! -path './old/*' \
+ | xargs $(XGETTEXT) $(XGETTEXT_ARGS) -o $@
+ chmod go+r $@
+
+# Update the PO files (translated message catalogs).
+MSGMERGE=msgmerge
+MSGMERGE_ARGS=-U --backup=none
+
+%/LC_MESSAGES/audacity_website.po: %.po $(POT_FILE)
+ mkdir -p $(@:%/audacity_website.po=%)
+ cp -f $< $@
+ $(MSGMERGE) $(MSGMERGE_ARGS) $@ $(POT_FILE)
+ touch $@
+
+# Compile the PO files into MO files.
+MSGFMT=msgfmt
+MSGFMT_ARGS=-fv
+
+%.mo: %.po
+ $(MSGFMT) $(MSGFMT_ARGS) -o $@ $<
+
+.PHONY: clean all
diff --git a/website/README.txt b/website/README.txt
new file mode 100644
index 0000000..3d414f5
--- /dev/null
+++ b/website/README.txt
@@ -0,0 +1,106 @@
+This file contains documentation for editing and maintaining the Audacity web
+site. Audacity is free software for sound editing and recording. The web site
+is at <http://audacity.sourceforge.net/>.
+
+CONTENTS:
+
+ 1. Installation
+ 2. License and Copyright
+ 3. Localization
+ 4. Updating Content
+ 5. Uploading Changes
+
+---------
+
+1. INSTALLATION
+
+ The Audacity web site requires PHP 4, and the PHP PEAR "HTTP" package
+ (for content negotiation).
+
+ "MultiViews" are required, so that "copyright.php" can be accessed as
+ simply "copyright", for example. On Apache servers, MultiViews will be
+ turned on by the .htaccess file. (This requires "AllowOverride Options" to
+ be enabled in the server configuration.)
+
+ Apache's mod_rewrite is required for automatic redirection of URLs from
+ previous versions of the site.
+
+---------
+
+2. LICENSE AND COPYRIGHT
+
+ Except where otherwise noted, all material on this site is licensed under the
+ Creative Commons Attribution License, version 2.0. You can find a copy of
+ this license in the file LICENSE.txt, or at:
+
+ http://creativecommons.org/licenses/by/2.0/
+
+ If you contribute original material to this web site, please add your name to
+ the comments at the start of each file you add or modify. For example:
+
+ /*
+ * Copyright 2003 Dominic Mazzoni
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+
+ If you contribute material that you can't (or don't want to) place under
+ this Creative Commons license, please make sure it is clearly marked with
+ copyright or license notices visible to readers of the web site.
+
+ Our use of Google Free web search is governed by Google's Terms of Use:
+
+ http://www.google.com/services/terms_free.html
+
+---------
+
+3. LOCALIZATION
+
+ Internationalization and localization are handled by PHP's gettext
+ functions. All PHP files use the UTF-8 encoding. When editing these files,
+ please configure your editor to use UTF-8.
+
+ Localized pages are served automatically based on the Accept-Language header
+ sent by the user's web browser. Localized versions can also be accessed
+ through links in the page footers. (This method also sets a cookie so that
+ future pages will be served in the same language.)
+
+ To add a new translation:
+
+ - Copy the translated po file to locale/X.po where "X" is the locale code.
+ - Run "make" to compile the PO file.
+ - Add a new item to the available_locales array in include/lang.inc.php.
+
+ Note: The "full locale name" must match one of the available locales on the
+ web server. Run "localedef --list-archive" for a list of locales. On a
+ Debian system, use /etc/locale.gen and "locale-gen" to add locales.
+
+---------
+
+4. UPDATING CONTENT
+
+ When adding new content, be sure to pass all translatable strings through
+ the _("gettext") function. For example:
+
+ <p><?=_("This sentence will be translated.")?></p>
+
+ After adding or changing any translatable string, run "make" to update the
+ message catalogs. For significant changes, you may want to send the updated
+ POT file to the translators before the change is published to the live web
+ site, so that they have a chance to update the PO files first.
+
+---------
+
+5. UPLOADING CHANGES
+
+ After checking your changes into CVS, run "cvs update && make" in
+ "/home/groups/a/au/audacity/htdocs" on shell.sourceforge.net to update
+ the live web site.
+
+ For files that are not stored in CVS or generated by the Makefile, you can
+ use scp or rsync to upload them to shell.sourceforge.net.
+
+ You should run "umask 002" before modifying the audacity group directory on
+ the sourceforge servers. You may want to put this in your ~/.bashrc file
+ (but be careful if you keep private files in your personal home directory).
diff --git a/website/about/credits.php b/website/about/credits.php
new file mode 100644
index 0000000..02350fc
--- /dev/null
+++ b/website/about/credits.php
@@ -0,0 +1,37 @@
+<?php
+/*
+ * Copyright 2003 Dominic Mazzoni
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "credits";
+ $pageTitle = _("Credits");
+ include "../include/header.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+<h3><?=_("Libraries")?></h3>
+<p><?=_("Oreka uses open source libraries from the following projects, many thanks to their authors and contributors:")?></p>
+<p>C++ libraries</p>
+<ul>
+<li><a href="http://www.mega-nerd.com/libsndfile/">libsndfile</a></li>
+<li><a href="http://www.portaudio.com/">PortAudio</a></li>
+<li><a href="http://logging.apache.org/log4cxx/">log4cxx</a></li>
+<li><a href="http://www.cs.wustl.edu/~schmidt/ACE.html">ACE</a></li>
+<li><a href="http://www.tcpdump.org/">libpcap</a></li>
+<li><a href="http://www.boost.org">boost</a></li>
+<li><a href="http://xml.apache.org/xerces-c/">xerces</a></li>
+</ul>
+
+<p>Java libraries</p>
+<ul>
+<li><a href="http://jakarta.apache.org/tapestry/">Tapestry</a></li>
+<li><a href="http://www.hibernate.org">Hibernate</li>
+<li><a href="http://logging.apache.org/log4j/docs/index.html">log4j</a></li>
+<li>And various other libraries used by those libraries.</li>
+</ul>
+<?php
+ include "../include/footer.inc.php";
+?>
diff --git a/website/about/features.php b/website/about/features.php
new file mode 100644
index 0000000..e0b37b7
--- /dev/null
+++ b/website/about/features.php
@@ -0,0 +1,37 @@
+<?php
+/*
+* Copyright 2004 Matt Brubeck
+* This file is licensed under a Creative Commons license:
+* http://creativecommons.org/licenses/by/2.0/
+*/
+require_once "main.inc.php";
+$pageId = "features";
+$pageTitle = _("Features");
+include "../include/header.inc.php";
+
+echo "<h2>$pageTitle</h2>";
+echo "<p>"._('Oreka currently has the following features:')."</p>";
+
+echo _('<h3>Recording and storage</h3>
+<ul>
+<li>Record VoIP SIP sessions by passively listening to network packets. Both sides of a conversation are mixed together and each call is logged as a separate audio file.</li>
+<li>Record from a standard sound device (e.g. microphone or line input). Can record multiple channels at the same time. Each recording goes to separate audio files</li>
+<li>Open plugin architecture for audio capture means that the system is potentially capable of recording from any audio source.</li>
+<li>Automatic audio segmentation so that continuous audio sources can be split in separate audio files and easily retrieved later.</li>
+<li>Voice activity detection.</li>
+<li>GSM6.10, A-Law and u-Law compression available in order to save disk space.</li>
+<li>Recording metadata logged to file and/or any mainstream database system.</li>
+</ul>');
+
+ echo _('<h3>User interface</h3>
+<p>Recordings retrieval can be done using the following criteria (when available):</p>
+<ul>
+<li>Timestamp</li>
+<li>Recording duration</li>
+<li>Direction (for a telephone call)</li>
+<li>Remote Party (for a telephone call)</li>
+<li>Local Party (for a telephone call)</li>
+</ul>');
+
+ include "../include/footer.inc.php";
+?>
diff --git a/website/about/index.php b/website/about/index.php
new file mode 100644
index 0000000..b3a53c0
--- /dev/null
+++ b/website/about/index.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "";
+ $pageTitle = _("About Oreka");
+ include "../include/header.inc.php";
+
+ echo "<h2>$pageTitle</h2>";
+
+ echo _('<p>Oreka is a modular and cross-platform system for recording and retrieval of audio streams. The project currently supports VoIP SIP and sound device based capture. Recordings metadata can be stored in any mainstream database. Retrieval of captured sessions is web based. For more details, please refer to the <a href="features">features</a> page</p>
+
+');
+
+ // i18n-hint: You may change the link addresses below, if there is a
+ // version of the page in your language at a different location.
+ //
+ // For official translations of the phrase "free software", please see:
+ // http://www.fsf.org/philosophy/fs-translations.html
+ //
+ // Also check the translations of this web page:
+ // http://www.fsf.org/philosophy/free-sw.html
+
+ include "../include/footer.inc.php";
+?>
diff --git a/website/about/license.php b/website/about/license.php
new file mode 100644
index 0000000..4f1c166
--- /dev/null
+++ b/website/about/license.php
@@ -0,0 +1,36 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "license";
+ $pageTitle = _("License");
+ include "../include/header.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+<p>Copyright (C) 2005, orecx LLC
+<a href="http://www.orecx.com">http://www.orecx.com</a></p>
+<?php
+
+// i18n-hint: These gnu.org web pages are available in several languages.
+// Please link to the version in your language, if possible. For example:
+//
+// http://www.gnu.org/licenses/licenses.es.html#GPL
+// http://www.gnu.org/licenses/gpl-faq.cs.html
+//
+// See the bottom of each page for versions in other languages.
+//
+echo _('<p>Oreka is free software; you can redistribute it and/or modify it under the terms of the <a href="http://www.gnu.org/licenses/licenses.html#GPL">GNU General Public License</a> as published by the Free Software Foundation.</p>
+
+<p>See also: <a href="http://www.gnu.org/licenses/gpl-faq.html">Frequently Asked Questions about the GNU GPL</a>.</p>');
+
+?>
+
+<!-- TODO: Copyright and licenses for libraries. -->
+
+<?php
+ include "../include/footer.inc.php";
+?>
diff --git a/website/about/links.php b/website/about/links.php
new file mode 100644
index 0000000..956edd7
--- /dev/null
+++ b/website/about/links.php
@@ -0,0 +1,37 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "links";
+ $pageTitle = _("Links");
+ include "../include/header.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+
+<h3>Network passive tapping links</h3>
+<ul>
+<li>snort.org <a href="http://www.snort.org/docs/tap/">passive ethernet tap howto</a></li>
+<li>snort.org <a href="http://www.snort.org/docs/100Mb_tapping1.pdf">100 Mb/s full duplex tapping diagram</a></li>
+</ul>
+
+<h3>Related projects</h3>
+<ul>
+<li><a href="http://www.enderunix.org/voipong/">voipong</a> is a linux only RTP session capture software.</li>
+<li><a href="http://vomit.xtdnet.nl/">vomit</a> is a tool for extracting Cisco VoIP audio from a network dump.</li>
+</ul>
+
+<h3><?=_("Related Software Categories at sourceforge.net")?></h3>
+<ul>
+ <li><a href="http://sourceforge.net/softwaremap/trove_list.php?form_cat=115"><?=_("Audio Capture/Recording")?></a>
+ <li><a href="http://sourceforge.net/softwaremap/trove_list.php?form_cat=247"><?=_("Telephony")?></a>
+</ul>
+
+<h3>Open source libraries</h3>
+<p>Oreka is build upon various open source libraries. Please refer to the <a href="credits">credits</a> page</p>
+<?php
+ include "../include/footer.inc.php";
+?>
diff --git a/website/about/main.inc.php b/website/about/main.inc.php
new file mode 100644
index 0000000..b788b4a
--- /dev/null
+++ b/website/about/main.inc.php
@@ -0,0 +1,12 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+require_once "../main.inc.php";
+$sitePath = "..";
+$sectionId = "about/";
+$sectionPath = ".";
+$sectionTitle = _("About Oreka");
+?>
diff --git a/website/about/news.php b/website/about/news.php
new file mode 100644
index 0000000..fff54db
--- /dev/null
+++ b/website/about/news.php
@@ -0,0 +1,37 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ require_once "../include/news.inc.php";
+ $pageId = "news";
+
+ $itemId = $_REQUEST["id"];
+
+ if ($itemId != "") {
+ $news_item = $news_items[$itemId];
+ $pageTitle = $news_item->title;
+ include "../include/header.inc.php";
+
+ $dateStr = $news_item->dateStr();
+ echo "<h2>$dateStr: $pageTitle</h2>";
+ echo $news_item->body;
+ echo '<hr><p><a href="news">'._("More news items...").'</a></p>';
+ }
+ else {
+ // List news items in reverse chronological order.
+ $pageTitle = _("News");
+ include "../include/header.inc.php";
+
+ echo "<h2>$pageTitle</h2>";
+ echo "<ul>";
+ foreach ($news_items as $key => $news_item) {
+ echo '<li>'.$news_item->dateStr().": <a href=\"news?id=$key\">".$news_item->title.'</a></li>';
+ }
+ echo "</ul>";
+ }
+
+ include "../include/footer.inc.php";
+?>
diff --git a/website/about/screenshots.php b/website/about/screenshots.php
new file mode 100644
index 0000000..d3b36b4
--- /dev/null
+++ b/website/about/screenshots.php
@@ -0,0 +1,19 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "screenshots";
+ $pageTitle = _("Screenshots");
+ include "../include/header.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+
+<p><?=_('Click any screenshot for a larger version.')?></p>
+
+<?php
+ include "../include/footer.inc.php";
+?>
diff --git a/website/contact/index.php b/website/contact/index.php
new file mode 100644
index 0000000..f6c11de
--- /dev/null
+++ b/website/contact/index.php
@@ -0,0 +1,33 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "";
+ $pageTitle = _("Contact Us");
+ include "../include/header.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+
+<?php
+ // i18n-hint: Please add a note that we can answer questions to
+ // audacity-help in English only. If there is an Audacity forum or mailing
+ // list in your language, you may add a link to it below.
+ echo _('<p>If you have questions or comments for the Audacity developers, e-mail us at: <a href="mailto:audacity-help@lists.sourceforge.net">audacity-help@lists.sourceforge.net</a>.
+(This is a public mailing list. For details, see our <a href="../contact/privacy">privacy policy</a>.)</p>
+
+<p><b>When you report a bug or problem, please:</b></p>
+<ol>
+ <li>Before you contact us, check the <a href="../help/faq">Frequently Asked Questions</a>.</li>
+ <li>Tell us what version of Audacity and which operating system you are using.</li>
+ <li>Include details of what you are trying to do, and any error messages or other problems you experience.</li>
+</ol>');
+
+ echo _('<h3>Discussion Lists</h3>
+<p>To discuss Audacity with other users and developers, join our <a href="../contact/lists">mailing lists</a>.</p>');
+
+ include "../include/footer.inc.php";
+?>
diff --git a/website/contact/lists.php b/website/contact/lists.php
new file mode 100644
index 0000000..830a574
--- /dev/null
+++ b/website/contact/lists.php
@@ -0,0 +1,63 @@
+<?php
+/*
+ * Copyright 2005 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "lists";
+ $pageTitle = _("Mailing Lists");
+ include "../include/header.inc.php";
+
+ $subscriberOnlyStr = _("You must subscribe to send messages to this list.");
+ // i18n-hint: The "%s" will be replaced by the name of a mailing list.
+ $archiveStr = _("%s archives and subscription information");
+
+ echo "<h2>$pageTitle</h2>";
+
+ // i18n-hint: Please add a note that these lists are in English. If there are
+ // Audacity mailing lists or forums in your language, please link to them here.
+ echo "<p>"._('These mailing lists are for discussion of the Audacity audio editor. </p>
+<p>Note: These are public mailing lists. For details, see our <a href="privacy">privacy policy</a>.')."</p>";
+?>
+
+<dl>
+ <dt id="users">audacity-users</dt>
+ <dd>
+ <p><?=_('Discuss Audacity with other users and developers.')?> <?=$subscriberOnlyStr?></p>
+ <p><a href="http://lists.sourceforge.net/lists/listinfo/audacity-users"><?php printf($archiveStr, "audacity-users")?></a>
+ </dd>
+
+ <dt id="translation">audacity-translation</dt>
+ <dd>
+ <p><?=_('For translators localizing the Audacity software and web site.')?> <?=$subscriberOnlyStr?></p>
+ <p><a href="http://lists.sourceforge.net/lists/listinfo/audacity-translation"><?php printf($archiveStr, "audacity-translation")?></a>
+ </dd>
+
+ <dt id="devel">audacity-devel</dt>
+ <dd>
+ <p><?=_('For developers working with the Audacity source code and documentation.')?> <?=$subscriberOnlyStr?></p>
+ <p><a href="http://lists.sourceforge.net/lists/listinfo/audacity-devel"><?php printf($archiveStr, "audacity-devel")?></a>
+ </dd>
+
+ <dt id="nyquist">audacity-nyquist</dt>
+ <dd>
+ <p><?=_('Share questions and tips about programming <a href="../help/nyquist">Nyquist plug-ins</a>.')?> <?=$subscriberOnlyStr?></p>
+ <p><a href="http://lists.sourceforge.net/lists/listinfo/audacity-nyquist"><?php printf($archiveStr, "audacity-nyquist")?></a>
+ </dd>
+
+ <dt id="bugs">audacity-bugs</dt>
+ <dd>
+ <p><?=_('Developers can subscribe to this mailing list to receive automatic updates from <a href="../community/developers#bugzilla">Bugzilla</a>.')?></p>
+ <p><a href="http://lists.sourceforge.net/lists/listinfo/audacity-bugs"><?php printf($archiveStr, "audacity-bugs")?></a>
+ </dd>
+
+ <dt id="help">audacity-help</dt>
+ <dd>
+ <p><?=_('Send a message to this list if you have questions or comments for the Audacity developers. You do not need to subscribe to this list to send a message.')?></p>
+ <p><a href="http://lists.sourceforge.net/lists/listinfo/audacity-help"><?php printf($archiveStr, "audacity-help")?></a>
+ </dd>
+
+<?php
+ include "../include/footer.inc.php";
+?>
diff --git a/website/contact/main.inc.php b/website/contact/main.inc.php
new file mode 100644
index 0000000..f3ab750
--- /dev/null
+++ b/website/contact/main.inc.php
@@ -0,0 +1,16 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+require_once "../main.inc.php";
+$sitePath = "..";
+$sectionId = "contact/";
+$sectionPath = ".";
+$sectionTitle = _("Contact Us");
+$sectionNavItems = array(
+ array(_("Mailing Lists"), "lists"),
+ array(_("Privacy Policy"), "privacy"),
+);
+?>
diff --git a/website/contact/privacy.php b/website/contact/privacy.php
new file mode 100644
index 0000000..651de22
--- /dev/null
+++ b/website/contact/privacy.php
@@ -0,0 +1,35 @@
+<?php
+/*
+ * Copyright 2003 Dominic Mazzoni
+ * Copyright 2005 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "privacy";
+ $pageTitle = _("Privacy Policy");
+ include "../include/header.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+
+<!-- Translators - please add a sentence which explains that these
+ announcements will usually be in English only. Possibly people can
+ join users lists in their native languages later on, to hear
+ announcements there.
+-->
+<h3 id="announce"><?=_("Announcement List Policy")?></h3>
+
+<?=_('<p>You can subscribe to our announcement list by entering your address in the form on the <a href="../">Audacity home page</a>. We will use this list only to send you brief announcements of new Audacity releases. We will never share the addresses on this list with anyone.</p>
+<p>To <b>unsubscribe</b> from the list at any time, enter your address in the form on our <a href="../">home page</a> and press the "Remove" button. If you have any problems or questions, please contact <a href="mailto:dominic@audacityteam.org">dominic@audacityteam.org</a>.</p>')?>
+
+<h3 id="lists"><?=_("Mailing List Policy")?></h3>
+
+<?=_('<p>(This applies to audacity-help, audacity-users, and other <a href="../contact/lists">discussion lists</a>.)</p>
+<p>These are public mailing lists. When you send a message to any of these addresses, including <a href="../contact/">audacity-help</a>, it will be forwarded to dozens of people, including Audacity developers and others. SourceForge and other web sites may publish archives of these lists. <b>Your email address will normally be removed from published archives for your privacy, and the Audacity developers will not share your address with anyone or add it to any lists.</b> However, we can\'t prevent other subscribers from seeing or publishing your messages.</p>
+<p>If you have any questions about this policy or are not comfortable writing to a public mailing list, send a private e-mail to the lead Audacity developer at: <a href="mailto:dominic@audacityteam.org">dominic@audacityteam.org</a>.</p>')?>
+
+<?php
+ include "../include/footer.inc.php";
+?>
+
diff --git a/website/copyright.php b/website/copyright.php
new file mode 100644
index 0000000..0eaedbd
--- /dev/null
+++ b/website/copyright.php
@@ -0,0 +1,26 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageTitle = _("Web Site Copyright and Trademark");
+ include "include/header.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+
+<?php
+ $thisYear = date("Y");
+
+ // i18n-hint: The Creative Commons web page below is available in several
+ // languages. Please link to the version in your language if possible.
+ //
+ // You may add a sentence like "Czech translation copyright YOUR NAME HERE"
+ // if you wish.
+ echo "<p>".sprintf(_('This web site is Copyright &copy; %s members of the Audacity development team. Except where otherwise noted, all text and images on this site are licensed under the <a href="http://creativecommons.org/licenses/by/2.0/">Creative Commons Attribution License, version 2.0</a>. You may modify, copy, distribute, and display this material, but you must give credit to the original authors. Please see the license for details.'), $thisYear)."</p>";
+
+
+ include "include/footer.inc.php";
+?>
diff --git a/website/download/common.inc.php b/website/download/common.inc.php
new file mode 100644
index 0000000..d87c091
--- /dev/null
+++ b/website/download/common.inc.php
@@ -0,0 +1,13 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ *
+ * This file contains text shared by "mac.php" and "windows.php".
+ */
+?>
+ <li><p><a href="../help/faq?s=install&amp;item=lame-mp3"><?=_("LAME MP3 encoder")?></a> - <?=_("Allows Audacity to export MP3 files.")?></p></li>
+ <li><p><a href="../help/faq?s=install&amp;item=vst-enabler"><?=_("VST Enabler")?></a> - <?=_('Allows Audacity to load VST plug-ins.')?></p></li>
+ <li><p><a href="plugins"><?=_("Plug-Ins")?></a> - <?=_("Download additional effects and filters.")?></p></li>
+ <li><p><?php printf(_('If you have trouble with your download, or need an older version of Audacity, try our <a href="%s">alternate download links</a>.'), "http://sourceforge.net/project/showfiles.php?group_id=6235")?></p></li>
diff --git a/website/download/index.php b/website/download/index.php
new file mode 100644
index 0000000..76b3180
--- /dev/null
+++ b/website/download/index.php
@@ -0,0 +1,26 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "";
+ $pageTitle = _("Download");
+ include "../include/header.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+
+<p><?=_("The following packages are available for download:")?></p>
+<ul>
+ <li>OrkAudio audio capture server as a Windows precompiled binary</li>
+ <li>Entire Oreka codebase (Cross platform C++ and Java)</li>
+ <li>OrkTrack and OrkWeb tracking and user interface servers as precompiled Java5 war files</li>
+</ul>
+
+<p><?=_('You may modify and distribute Oreka under the <a href="../about/license">GNU GPL</a>.')?></p>
+
+<?php
+ include "../include/footer.inc.php";
+?>
diff --git a/website/download/main.inc.php b/website/download/main.inc.php
new file mode 100644
index 0000000..e8a1d60
--- /dev/null
+++ b/website/download/main.inc.php
@@ -0,0 +1,12 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+require_once "../main.inc.php";
+$sitePath = "..";
+$sectionId = "download/";
+$sectionPath = ".";
+$sectionTitle = _("Download");
+?>
diff --git a/website/download/release-notes.php b/website/download/release-notes.php
new file mode 100644
index 0000000..b156202
--- /dev/null
+++ b/website/download/release-notes.php
@@ -0,0 +1,19 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "release-notes";
+ $pageTitle = _("Release Notes");
+ include "../include/header.inc.php";
+ include "../latest/versions.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+
+<p>Oreka 0.1 is the first release of this software.</p>
+<?php
+ include "../include/footer.inc.php";
+?>
diff --git a/website/download/source.php b/website/download/source.php
new file mode 100644
index 0000000..6b18155
--- /dev/null
+++ b/website/download/source.php
@@ -0,0 +1,33 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ require_once "../latest/versions.inc.php";
+ $pageId = "source";
+ $pageTitle = _("Source Code");
+ include "../include/header.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+
+<p>The source code (Java and C++) is known to compile under Linux and Windows. Build instructions can be found in README.txt in the root folder of the package. This project requires a few dependencies that are listed in README.txt. For Windows developers, there is a convenience package that includes all open source libraries (precompiled) that this project is depending upon.<p>
+
+<h3><?=_("Recommended Download")?></h3>
+
+<ul>
+ <li><p>Windows zip file: <a href="http://sourceforge.net/project/showfiles.php?group_id=150919&package_id=166774">oreka-0.1.zip</a></p></li>
+ <li><p>Unix tarball: <a href="http://sourceforge.net/project/showfiles.php?group_id=150919&package_id=166774">oreka-0.1.tar.gz</a></p></li>
+</ul>
+
+<h3>Optional download</h3>
+<ul>
+ <li>Windows C++ dependencies package: <a href="http://sourceforge.net/project/showfiles.php?group_id=150919&package_id=166774">oreka-0.1-cxx-win32-dependencies.zip</a></li>
+ <li>Java dependencies package: <a href="http://sourceforge.net/project/showfiles.php?group_id=150919&package_id=166774">oreka-0.1-java-dependencies.zip</a></li>
+</ul>
+
+<?php
+ include "../include/footer.inc.php";
+?>
diff --git a/website/download/windows.php b/website/download/windows.php
new file mode 100644
index 0000000..ba73086
--- /dev/null
+++ b/website/download/windows.php
@@ -0,0 +1,33 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ require_once "../latest/versions.inc.php";
+ $pageId = "windows";
+ $pageTitle = _("Windows");
+ include "../include/header.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+
+<p>The windows binary distribution of OrkAudio is not yet an installer package. However installation is straighforward and described in README.txt in the root folder of the package.</p>
+
+<h3><?=_("Recommended Download")?></h3>
+<ul>
+ <li><p><a href="http://sourceforge.net/project/showfiles.php?group_id=150919&package_id=166774">orkaudio-0.1-win32-binary.zip</a></p></li>
+</ul>
+
+<h3><?=_("System Requirements")?></h3>
+<ul>
+ <li><?=_("Windows 2000, XP, or later.")?></li>
+ <li><?=_("Second NIC (Ethernet port) if you need to monitor an external link for VoIP.")?></li>
+ <li><?=_("Mono or multichannel sound card for sound device recording.")?></li>
+</ul>
+
+
+<?php
+ include "../include/footer.inc.php";
+?>
diff --git a/website/images/creative-commons.gif b/website/images/creative-commons.gif
new file mode 100644
index 0000000..0860fa9
--- /dev/null
+++ b/website/images/creative-commons.gif
Binary files differ
diff --git a/website/images/mac.png b/website/images/mac.png
new file mode 100644
index 0000000..dbd8b07
--- /dev/null
+++ b/website/images/mac.png
Binary files differ
diff --git a/website/images/paypal.gif b/website/images/paypal.gif
new file mode 100644
index 0000000..39f40a8
--- /dev/null
+++ b/website/images/paypal.gif
Binary files differ
diff --git a/website/images/unix.png b/website/images/unix.png
new file mode 100644
index 0000000..a341af5
--- /dev/null
+++ b/website/images/unix.png
Binary files differ
diff --git a/website/images/win.png b/website/images/win.png
new file mode 100644
index 0000000..9aad308
--- /dev/null
+++ b/website/images/win.png
Binary files differ
diff --git a/website/include/detect-os.inc.php b/website/include/detect-os.inc.php
new file mode 100644
index 0000000..32b8e58
--- /dev/null
+++ b/website/include/detect-os.inc.php
@@ -0,0 +1,18 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+
+// Guess which download to offer, based on the user's OS.
+function which_download() {
+ $useragent = $_SERVER["HTTP_USER_AGENT"];
+ if (eregi("Mac", $useragent))
+ return "mac";
+ else if (eregi("X11", $useragent))
+ return "source";
+ else
+ return "windows";
+}
+?>
diff --git a/website/include/footer.inc.php b/website/include/footer.inc.php
new file mode 100644
index 0000000..59d7fd1
--- /dev/null
+++ b/website/include/footer.inc.php
@@ -0,0 +1,34 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+?>
+</div>
+<div id="footer">
+ <hr>
+ <h2><?=_("Page Footer")?></h2>
+ <p>
+ <a href="<?=$sitePath?>/copyright"><?=_("Copyright")?></a>
+ | <a href="<?=$sitePath?>/site-map"><?=_("Site Map")?></a>
+ </p>
+ <p><a title="<?=_("Creative Commons Attribution license")?>" href="http://creativecommons.org/licenses/by/2.0/"><img alt="<?=_("Creative Commons: Some rights reserved.")?>" src="<?=$sitePath?>/images/creative-commons.gif"></a>
+ <a title="<?=_("Development hosted by SourceForge")?>" href="http://sourceforge.net/projects/audacity/"><img alt="SourceForge.net" src="http://sflogo.sourceforge.net/sflogo.php?group_id=6235&amp;type=1"></a></p>
+</div>
+<!-- License metadata -->
+<!--
+<rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <Work rdf:about="">
+ <license rdf:resource="http://creativecommons.org/licenses/by/2.0/" />
+ </Work>
+ <License rdf:about="http://creativecommons.org/licenses/by/2.0/">
+ <permits rdf:resource="http://web.resource.org/cc/Reproduction" />
+ <permits rdf:resource="http://web.resource.org/cc/Distribution" />
+ <requires rdf:resource="http://web.resource.org/cc/Notice" />
+ <requires rdf:resource="http://web.resource.org/cc/Attribution" />
+ <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
+ </License>
+</rdf:RDF>
+-->
+</body></html>
diff --git a/website/include/header.inc.php b/website/include/header.inc.php
new file mode 100644
index 0000000..831d01a
--- /dev/null
+++ b/website/include/header.inc.php
@@ -0,0 +1,89 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="<?=$lang?>">
+<head>
+ <title><?=_("Oreka")?>: <?=$pageTitle?></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=<?=$encoding?>">
+ <link rel="stylesheet" href="<?=$sitePath?>/style.css" type="text/css">
+</head>
+<body>
+<p><a class="skip" href="#content"><?=_("Jump to page content")?></a></p>
+
+<form id="search" action="http://google.com/custom" method="get"><p>
+ <label for="q"><a href="http://www.google.com/"><img alt="Google" title="<?=_("Powered by Google")?>" src="http://www.google.com/logos/Logo_25wht.gif"></a></label>
+ <input name="q" id="q" class="text">
+ <input type="hidden" name="sitesearch" value="oreka.sourceforge.net">
+ <input type="hidden" name="cof" value="S:http://oreka.sourceforge.net/;AH:center;LH:100;L:http://oreka.sourceforge.net/images/oreka.jpg;LW:253;AWFID:a42d5b7b681df0fd;">
+ <input type="hidden" name="domains" value="oreka.sourceforge.net">
+ <input type="submit" value="<?=_("Search this site")?>">
+</p></form>
+
+<?php
+ $titleStr = _("Oreka");
+ $titleImg = "<img title=\"$titleStr\" alt=\"$titleStr\" src=\"$sitePath/images/oreka.jpg\" width=\"253\" height=\"100\">";
+
+ if ($sectionId == "" && $pageId == "") {
+ echo "<h1>$titleStr</h1><p>&nbsp;</p>";
+ }
+ else {
+ echo "<h1>$titleStr</h1><p>&nbsp;</p>";
+ }
+?>
+
+<div id="sitenav">
+ <h2><?=_("Site Navigation")?></h2>
+ <ul>
+ <?php
+ foreach ($siteNavItems as $navItem) {
+ $name = $navItem[0];
+ $path = $navItem[1];
+ if ($sectionId == $path) {
+ $sectionNavItems = $navItem[2];
+ ?><li class="selected"><?=$name?></li><?php
+ }
+ else {
+ ?><li><a href="<?=$sitePath?>/<?=$path?>"><?=$name?></a></li><?php
+ }
+ }
+ ?>
+ </ul>
+</div>
+
+<?php
+ if ($sectionNavItems) {
+ ?>
+ <div id="subnav">
+ <?php
+ if ($pageId == "") {
+ ?><h3 class="selected"><?=$sectionTitle?></h3><?php
+ }
+ else {
+ ?><h3><a href="<?=$sectionPath?>/"><?=$sectionTitle?></a></h3><?php
+ }
+ ?>
+ <ul>
+ <?php
+ foreach ($sectionNavItems as $navItem) {
+ $name = $navItem[0];
+ $path = $navItem[1];
+ if ($pageId == $path) {
+ ?><li class="selected"><?=$name?></li><?php
+ }
+ else {
+ ?><li><a href="<?=$sectionPath?>/<?=$path?>"><?=$name?></a></li><?php
+ }
+ }
+ ?>
+ </ul>
+ </div>
+ <?php
+ }
+?>
+
+<div id="content"<?php if ($sectionNavItems) echo ' class="afternav"';?>>
diff --git a/website/include/lang.inc.php b/website/include/lang.inc.php
new file mode 100644
index 0000000..246ed0d
--- /dev/null
+++ b/website/include/lang.inc.php
@@ -0,0 +1,95 @@
+<?php
+/*
+ * This file contains code to set up and use the gettext-based localization
+ * system.
+ *
+ * Copyright 2005 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+
+require_once 'HTTP.php';
+
+// Locale configuration variables.
+$domain = "audacity_website";
+$lang = "en";
+$encoding = "UTF-8";
+$cookie_days = 90;
+
+// List of available languages.
+$available_locales = array(
+ // Language code => Full locale name, Human-readable name.
+ "cs" => array("cs_CZ", "Česky"),
+ "de" => array("de_DE", "Deutsch"),
+ "el" => array("el_GR", "Ελληνικά"),
+ "en" => array("en_US", "English"),
+ "es" => array("es_ES", "Espa&ntilde;ol"),
+ "fr" => array("fr_FR", "Français"),
+ "it" => array("it_IT", "Italiano"),
+ "hu" => array("hu_HU", "Magyar"),
+ "nb" => array("nb_NO", "Norsk (Bokm&aring;l)"),
+ "pt" => array("pt_BR", "Portugu&ecirc;s"),
+ "sl" => array("sl_SI", "Sloven&#353;&#269;ina"),
+ "fi" => array("fi_FI", "Suomi"),
+ "sv" => array("sv_SE", "Svenska"),
+ "ja" => array("ja_JP", "日本語"),
+ "ru" => array("ru_RU", "Русский"),
+ "zh-CN" => array("zh_CN.UTF-8", "中文(简)"),
+ "zh-TW" => array("zh_TW.UTF-8", "中文(繁)"),
+);
+
+// Set up the translation variables and libraries.
+function localization_setup() {
+ global $lang, $domain, $encoding, $available_locales, $preferred_lang;
+
+ // Choose a default language based on the client's HTTP headers.
+ // TODO: Replace HTTP::negotiateLanguage with something less buggy.
+ // (See http://www.dracos.co.uk/web/php/HTTP/ for details.)
+ $supported = $available_locales;
+ $preferred_lang = HTTP::negotiateLanguage($supported, $lang);
+ if ($preferred_lang)
+ $lang = $preferred_lang;
+
+ // Override the default if the user has an explicit cookie or query string.
+ $force_lang = get_requested_lang();
+ if ($force_lang && array_key_exists($force_lang, $available_locales))
+ $lang = $force_lang;
+
+ if ($available_locales[$lang]) {
+ // Set the locale.
+ $locale = $available_locales[$lang][0];
+ setlocale(LC_ALL, $locale);
+
+ // Find the locale directory.
+ $path_parts = pathinfo(__FILE__);
+ $this_dir = $path_parts["dirname"];
+ bindtextdomain($domain, "$this_dir/../locale");
+
+ // Set up gettext message localization.
+ textdomain($domain);
+ bind_textdomain_codeset($domain, $encoding);
+ }
+
+ // Tell clients to cache different languages separately.
+ header("Vary: Accept-Language");
+}
+
+// Return the explicitly requested language, if available.
+function get_requested_lang() {
+ global $cookie_days;
+ $result = $_COOKIE["lang"];
+ if ($_GET["lang"]) {
+ $result = $_GET["lang"];
+ setcookie("lang", $result, time() + $cookie_days*24*60*60, "/");
+ }
+ return $result;
+}
+
+// Convert a string from the locale encoding to the output encoding.
+function locale_to_unicode($s) {
+ global $encoding;
+ $locale_encoding = nl_langinfo(CODESET);
+ $s = iconv($locale_encoding, $encoding, $s);
+ return $s;
+}
+?>
diff --git a/website/include/news.inc.php b/website/include/news.inc.php
new file mode 100644
index 0000000..a912510
--- /dev/null
+++ b/website/include/news.inc.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+class NewsItem {
+ var $id;
+ var $date;
+ var $title;
+ var $body;
+
+ // Constructor.
+ function NewsItem($date, $title, $body) {
+ $this->date = $date;
+ $this->title = $title;
+ $this->body = $body;
+ }
+
+ // Returns the date, in the preferred format for the current locale.
+ function dateStr() {
+ // i18n-hint: Controls how dates are formatted.
+ // See http://www.php.net/manual/function.strftime.php for details.
+ return locale_to_unicode(strftime(_("%B %d, %Y"), $this->date));
+ }
+}
+
+$news_items = array();
+function add_news_item($dateStr, $id, $title, $body) {
+ global $news_items;
+ $date = strtotime($dateStr);
+ $key = strftime("%Y-%m-%d", $date)."/".$id;
+ $news_items[$key] = new NewsItem($date, $title, $body);
+}
+function most_recent_news_item() {
+}
+
+add_news_item(
+ "October 26, 2005",
+ "0.1-release",
+ _("Oreka 0.1 Released"),
+ _('<p>This is the first public release of oreka. Please check it out and let us know issues you are encountering on oreka-devel and oreka-user mailing lists.</p>')
+);
+?>
diff --git a/website/include/strings.inc.php b/website/include/strings.inc.php
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/website/include/strings.inc.php
diff --git a/website/index.php b/website/index.php
new file mode 100644
index 0000000..9a20ab6
--- /dev/null
+++ b/website/index.php
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright 2005 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $sectionId = "";
+ $pageTitle = _("Audio streams recording and retrieval");
+ include "include/header.inc.php";
+ include "include/news.inc.php";
+ include "latest/versions.inc.php";
+ include "include/detect-os.inc.php";
+
+?>
+<div id="about">
+ <h2><?=_("The open source, cross-platform audio stream recording and retrieval system")?></h2>
+ <div id="screenshot">
+ <!-- TODO: Auto-select or randomly rotate screenshot? -->
+ </div>
+ <p><?=_('Oreka is a modular and cross-platform system for recording and retrieval of audio streams. The project currently supports VoIP SIP and sound device based capture. Recordings metadata can be stored in any mainstream database. Retrieval of captured sessions is web based.')?></p>
+</div>
+
+<div id="download">
+ <h3><a href="download">Download Oreka</a></h3>
+</div>
+
+<div id="news">
+ <?php
+ global $news_items;
+ foreach ($news_items as $item) {
+ $dateStr = $item->dateStr();
+ ?>
+ <div class="newsitem">
+ <h3><?="$dateStr: $item->title"?></h3>
+ <?=$item->body?>
+ </div>
+ <?php
+ }
+ ?>
+ <h4><a href="about/news"><?=_("More news items...")?></a></h4>
+</div>
+
+<?php
+ include "include/footer.inc.php";
+?>
diff --git a/website/latest/audacity-mac.php b/website/latest/audacity-mac.php
new file mode 100644
index 0000000..5e5062e
--- /dev/null
+++ b/website/latest/audacity-mac.php
@@ -0,0 +1,9 @@
+<?
+
+# perform a redirect to the latest version, so links to it can remain static
+
+include 'mirror.inc.php';
+include 'versions.inc.php';
+header('Location: '.download_url('audacity-mac-'.mac_classic_version.'.sit'));
+
+?>
diff --git a/website/latest/audacity-macosx.php b/website/latest/audacity-macosx.php
new file mode 100644
index 0000000..d7cff50
--- /dev/null
+++ b/website/latest/audacity-macosx.php
@@ -0,0 +1,9 @@
+<?
+
+# perform a redirect to the latest version, so links to it can remain static
+
+include 'mirror.inc.php';
+include 'versions.inc.php';
+header('Location: '.download_url('audacity-macosx-'.macosx_version.'.dmg'));
+
+?>
diff --git a/website/latest/audacity-src.php b/website/latest/audacity-src.php
new file mode 100644
index 0000000..35f063a
--- /dev/null
+++ b/website/latest/audacity-src.php
@@ -0,0 +1,9 @@
+<?
+
+# perform a redirect to the latest version, so links to it can remain static
+
+include 'mirror.inc.php';
+include 'versions.inc.php';
+header('Location: '.download_url('audacity-src-'.src_version.src_suffix));
+
+?>
diff --git a/website/latest/audacity-win-zip.php b/website/latest/audacity-win-zip.php
new file mode 100644
index 0000000..964da38
--- /dev/null
+++ b/website/latest/audacity-win-zip.php
@@ -0,0 +1,9 @@
+<?
+
+# perform a redirect to the latest version, so links to it can remain static
+
+include 'mirror.inc.php';
+include 'versions.inc.php';
+header('Location: '.download_url('audacity-win-'.win_zip_version.'.zip'));
+
+?>
diff --git a/website/latest/audacity-win.php b/website/latest/audacity-win.php
new file mode 100644
index 0000000..83216ae
--- /dev/null
+++ b/website/latest/audacity-win.php
@@ -0,0 +1,9 @@
+<?
+
+# perform a redirect to the latest version, so links to it can remain static
+
+include 'mirror.inc.php';
+include 'versions.inc.php';
+header('Location: '.download_url('audacity-win-'.win_exe_version.'.exe'));
+
+?>
diff --git a/website/latest/mirror.inc.php b/website/latest/mirror.inc.php
new file mode 100644
index 0000000..b5e7e3b
--- /dev/null
+++ b/website/latest/mirror.inc.php
@@ -0,0 +1,6 @@
+<?php
+ function download_url($filename) {
+ $use_default = "voxel";
+ return "http://prdownloads.sourceforge.net/audacity/$filename?use_mirror=$use_default";
+ }
+?>
diff --git a/website/latest/versions.inc.php b/website/latest/versions.inc.php
new file mode 100644
index 0000000..f988174
--- /dev/null
+++ b/website/latest/versions.inc.php
@@ -0,0 +1,22 @@
+<?php
+// Note: Sizes are in MB.
+define('mac_classic_version', '1.0.0');
+define('mac_classic_size', 1.5);
+define('macosx_version', '1.2.3');
+define('macosx_size', 3.2);
+
+define('win_exe_version', '1.2.3');
+define('win_exe_size', 2.4);
+define('win_zip_version', '1.2.3');
+define('win_zip_size', 2.7);
+
+define('src_version', '1.2.3');
+define('src_size', 4.0);
+define('src_suffix', '.tar.gz');
+
+$win_exe_url = "audacity-win/audacity-win-".win_exe_version.".exe";
+$win_zip_url = "audacity-win-zip/audacity-win-".win_zip_version.".zip";
+$src_url = "audacity-src/audacity-src-".src_version.src_suffix;
+$macosx_url = "audacity-macosx/audacity-macosx-".macosx_version.".dmg";
+$mac_classic_url = "audacity-mac/audacity-mac-".mac_classic_version.".sit";
+?>
diff --git a/website/list/alreadyon.php b/website/list/alreadyon.php
new file mode 100644
index 0000000..e2b7434
--- /dev/null
+++ b/website/list/alreadyon.php
@@ -0,0 +1,16 @@
+<?php
+ include 'main.inc.php';
+ Top("Already On Our Mailing List");
+?>
+
+<p>
+The email address you entered is already on our mailing list!
+</p>
+
+<p>
+<a href="http://audacity.sourceforge.net/">Click here to return to the Audacity home page</a>
+</p>
+
+<?php
+ Bottom();
+?>
diff --git a/website/list/emailconfirm.php b/website/list/emailconfirm.php
new file mode 100644
index 0000000..0ab129f
--- /dev/null
+++ b/website/list/emailconfirm.php
@@ -0,0 +1,18 @@
+<?php
+ include 'main.inc.php';
+ Top("Thank You");
+?>
+
+<p>
+Thank you for signing up for our announcement list. You will be
+receiving a confirmation email shortly. You must respond to this
+email in order to be subscribed.
+</p>
+
+<p>
+<a href="http://audacity.sourceforge.net/">Click here to return to the Audacity home page</a>
+</p>
+
+<?php
+ Bottom();
+?>
diff --git a/website/list/invalid.php b/website/list/invalid.php
new file mode 100644
index 0000000..3c97fc4
--- /dev/null
+++ b/website/list/invalid.php
@@ -0,0 +1,16 @@
+<?php
+ include 'main.inc.php';
+ Top("Invalid");
+?>
+
+<p>
+The email address you entered was invalid.
+</p>
+
+<p>
+<a href="http://audacity.sourceforge.net/">Click here to return to the Audacity home page</a>
+</p>
+
+<?php
+ Bottom();
+?>
diff --git a/website/list/main.inc.php b/website/list/main.inc.php
new file mode 100644
index 0000000..24de430
--- /dev/null
+++ b/website/list/main.inc.php
@@ -0,0 +1,34 @@
+<?php
+
+$charset = "iso-8859-1";
+
+function Top($title)
+{
+ header("Content-type: text/html; charset=$charset");
+
+ print "<html><head><title>$title</title></head>\n";
+
+ print "<body bgcolor=\"#ffffff\">\n";
+
+ print "<center>\n";
+ print "<a href=\"http://oreka.sourceforge.net\">\n";
+ print "<img src=../images/oreka.jpg width=253 height=100 border=0>\n";
+ print "</a>\n";
+
+ print '<table border="0" cellpadding="1" cellspacing="0" bgcolor="#000099" width="80%"><tr><td>';
+ print '<table border="0" cellspacing="1" cellpadding="4" width="100%">';
+ print '<tr><td align="center" bgcolor="#dddddd">';
+ print '<font size="+1"><b>';
+ print $title;
+ print '<b></font>';
+ print '</td></tr>';
+ print '<tr><td align="left" bgcolor="#ffffff">';
+}
+
+function Bottom()
+{
+ print '</td></tr></table></td></tr></table></center>';
+ print '</body></html>';
+}
+
+?>
diff --git a/website/list/noton.php b/website/list/noton.php
new file mode 100644
index 0000000..becd048
--- /dev/null
+++ b/website/list/noton.php
@@ -0,0 +1,14 @@
+<?php
+ include 'main.inc.php';
+ Top("Not on our list...");
+?>
+
+<p>
+Sorry, the email address you entered is not on our mailing list.
+</p>
+
+<p>
+<a href="http://audacity.sourceforge.net/">Click here to return to the Audacity home page</a>
+</p>
+
+<?php Bottom(); ?>
diff --git a/website/list/subscribed.php b/website/list/subscribed.php
new file mode 100644
index 0000000..a4f10f0
--- /dev/null
+++ b/website/list/subscribed.php
@@ -0,0 +1,30 @@
+<?php
+ include 'main.inc.php';
+ Top("Subscribed!");
+?>
+
+<p>
+Your email address has been confirmed, and you are now on the
+Audacity-Announce mailing list!
+</p>
+
+<p>
+The Audacity developers take your privacy very seriously. We will
+only send you short emails when we release new versions of Audacity or
+have other important news - typically about one email per month.
+We will never sell or share your email address with anyone else.
+</p>
+
+<p>
+It's easy to remove your email address from our list:
+just type it in the box on the left side of the Audacity home page,
+and click "Remove".
+</p>
+
+<p>
+<a href="http://audacity.sourceforge.net/">Click here to return to the Audacity home page</a>
+</p>
+
+<?php
+ Bottom();
+?>
diff --git a/website/list/unsubscribed.php b/website/list/unsubscribed.php
new file mode 100644
index 0000000..e8b224e
--- /dev/null
+++ b/website/list/unsubscribed.php
@@ -0,0 +1,14 @@
+<?php
+ include 'main.inc.php';
+ Top("Unsubscribed!");
+?>
+
+<p>
+You have been unsubscribed from our mailing list.
+</p>
+
+<p>
+<a href="http://audacity.sourceforge.net/">Click here to return to the Audacity home page</a>
+</p>
+
+<?php Bottom(); ?>
diff --git a/website/main.inc.php b/website/main.inc.php
new file mode 100644
index 0000000..67dde9f
--- /dev/null
+++ b/website/main.inc.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+
+// Work around PHP bug on sf.net where include_path gets reset.
+set_include_path(".".PATH_SEPARATOR."/usr/share/pear".PATH_SEPARATOR."/usr/share/php");
+require_once "include/lang.inc.php";
+localization_setup();
+
+$sitePath = ".";
+$sectionId = "none";
+
+$siteNavItems = array(
+ array(_("Home"), "", 0),
+ array(_("About"), "about/",
+ array(
+ array(_("Features"), "features"),
+ /*array(_("Screenshots"), "screenshots"),*/
+ array(_("News"), "news"),
+ array(_("License"), "license"),
+ array(_("Credits"), "credits"),
+ array(_("Links"), "links"),
+ )
+ ),
+ array(_("Download"), "download/",
+ array(
+ array(_("Windows"), "windows"),
+ array(_("Source Code"), "source"),
+ array(_("Release Notes"), "release-notes"),
+ )
+ ),
+ array(_("Support"), "support/",
+ array(
+ array(_("FAQ"), "faq"),
+ array(_("Documentation"), "documentation"),
+ array(_("Mailing Lists"), "lists"),
+ )
+ )
+);
+?>
diff --git a/website/robots.txt b/website/robots.txt
new file mode 100644
index 0000000..750b014
--- /dev/null
+++ b/website/robots.txt
@@ -0,0 +1,3 @@
+User-agent: *
+Disallow: /download/auto
+Disallow: /cgi-bin/bugzilla
diff --git a/website/site-map.php b/website/site-map.php
new file mode 100644
index 0000000..db37543
--- /dev/null
+++ b/website/site-map.php
@@ -0,0 +1,35 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageTitle = _("Site Map");
+ include "include/header.inc.php";
+?>
+
+<h2><?=$pageTitle?></h2>
+<ul>
+<?php
+ foreach ($siteNavItems as $navItem) {
+ $name = $navItem[0];
+ $sectionPath = $navItem[1];
+ $sectionNavItems = $navItem[2];
+ echo "<li><a href=\"$sitePath/$sectionPath\">$name</a>";
+ if ($sectionNavItems) {
+ echo "<ul>";
+ foreach ($sectionNavItems as $navItem) {
+ $name = $navItem[0];
+ $path = $navItem[1];
+ echo "<li><a href=\"$sitePath/$sectionPath$path\">$name</a></li>";
+ }
+ echo "</ul>";
+ }
+ echo "</li>";
+ }
+?>
+</ul>
+<?php
+ include "include/footer.inc.php";
+?>
diff --git a/website/style.css b/website/style.css
new file mode 100644
index 0000000..07a21d6
--- /dev/null
+++ b/website/style.css
@@ -0,0 +1,132 @@
+body {
+ background:white; color:black;
+ font:87.5%/1.5 sans-serif;
+ margin:0; padding:0;
+}
+:link { color:#00d; }
+:visited { color:#116; }
+:link:hover, :visited:hover { color:black; }
+:target:before { content:"* "; color:red; }
+#content:target:before { content:""; }
+img { border:0; vertical-align: middle; }
+dt { font-weight:bold; }
+p, ul, ol { margin-top:0; margin-bottom:1em; }
+ul ul, ol ol { margin-bottom:0; }
+
+h1 { font-size:1.714em; margin:.25em; padding:0; }
+h2 { font-size:1.286em; margin:.5em 0; }
+h3 { font-size:1.143em; margin:1.25em 0 .25em 0; }
+h4 { font-size:1em; margin:1em 0 .5em 0; }
+
+.skip {
+ position:absolute;
+ left:-999px; width:990px;
+}
+.skip:focus, .skip:active {
+ background:white;
+ border:.25em solid #d82e39;
+ font-size:large;
+ left:0; top:0;
+ padding:.25em;
+ width:auto;
+}
+
+/* holly hack (ie mac fix) \*/
+#search { float:right; margin:1em; }
+/* end hide */
+.text { border:1px solid #666; width:10em; }
+
+#sitenav { white-space:nowrap; }
+#sitenav h2, #footer h2 {
+ position:absolute;
+ left:-999px; width:990px;
+}
+#sitenav ul {
+ border-bottom:1px solid black;
+ line-height:normal;
+ margin:0; padding:0;
+ width:100%;
+}
+#sitenav li {
+ background:#ddf;
+ border:1px solid black;
+ display:inline;
+ height:100%;
+ margin:.5em;
+ padding:.25em .5em 0 .5em;
+ position:relative; /* ie win fix */
+}
+#sitenav li.selected {
+ background:white;
+ border-top:3px solid blue;
+ border-bottom:1px solid white;
+}
+#sitenav :link, #sitenav :visited { text-decoration:none; }
+#sitenav :link:hover, #sitenav :visited:hover { text-decoration:underline; }
+
+#subnav {
+ background:#ddd;
+ border:2px solid #666;
+ float:left;
+ margin:2em 1em;
+ width:11em;
+}
+#subnav h3 {
+ font-size:1em;
+}
+#subnav ul {
+ font-size:.857em;
+ margin:0; padding:0;
+ list-style:none;
+}
+#subnav li, #subnav h3 {
+ display:block;
+ border:1px solid;
+ border-color:#eee #aaa #999 #eee;
+ margin:0; padding:.25em;
+}
+#subnav .selected {
+ background:#eef;
+ font-weight:bold;
+}
+#subnav :link, #subnav :visited {
+ display:block;
+ margin:-.25em; padding:.25em;
+}
+#subnav :link:hover, #subnav :visited:hover {
+ background:#ccc;
+}
+.afternav { margin-left:12em; }
+
+#content {
+ max-width:60em;
+ padding:1em 2em;
+}
+
+#footer {
+ clear:both;
+ text-align:center;
+}
+
+#download {
+ background:#ffa;
+ border:2px solid #339;
+ margin:2em; padding:0 1em;
+ width:20%;
+ text-align:center;
+}
+#download h3 { margin:.75em 0 .75em 0; }
+
+#screenshot {
+ float:right;
+ margin:0 1em 1em 2em;
+}
+.screenshot {
+ float:left;
+ margin:1em;
+ min-width:250px;
+}
+.screenshot img { display:block; }
+.downloads h3 { margin:1em; }
+.downloads img { position:relative; /* safari fix */ }
+.logo { text-align:center; }
diff --git a/website/support/documentation.php b/website/support/documentation.php
new file mode 100644
index 0000000..9c4b757
--- /dev/null
+++ b/website/support/documentation.php
@@ -0,0 +1,26 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "documentation";
+ $pageTitle = _("Documentation");
+ include "../include/header.inc.php";
+
+ echo "<h2>$pageTitle</h2>";
+
+ // i18n-hint: Please add a note that the manuals below are in English. If
+ // there is documentation available in your language, link to it here.
+ echo "<p>"._('This page links to the Oreka documentation in various forms:')."</p>";
+?>
+
+<ul>
+ <li><a href="../oreka-documentation.html">HTML, one page</a></li>
+ <li><a href="../oreka-documentation-multi">HTML, one page per section</a></li>
+</ul>
+
+<?php
+ include "../include/footer.inc.php";
+?>
diff --git a/website/support/faq.php b/website/support/faq.php
new file mode 100644
index 0000000..42f92e1
--- /dev/null
+++ b/website/support/faq.php
@@ -0,0 +1,83 @@
+<?php
+/*
+ * Copyright 2003 Dominic Mazzoni
+ * Copyright 2005 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "faq";
+
+ if ($_REQUEST["section"])
+ $faqSectionId = $_REQUEST["section"];
+ else
+ $faqSectionId = $_REQUEST["s"];
+
+ if ($_REQUEST["item"])
+ $itemId = $_REQUEST["item"];
+ else
+ $itemId = $_REQUEST["i"];
+
+ $faqSections = array(
+ "general" => array(
+ _("About Oreka"),
+ array(
+ "difference" => array(
+ _("What is the difference between this software and other open source audio recording software?"),
+ _("<p>Oreka is specifically designed for recording of lots of audio sessions such as telephone calls and easy retrieval through a web interface. Existing software such as Audacity or Ardour focus on different things such as audio edition and studio quality recording respectively.</p>
+ ")
+ ),
+ "threedifferent" => array(
+ _("Why is the system broken up in three services ? Would it not have been easier to implement everything in one service?"),
+ _("<p>This allows for greater flexibility and scalability. It means for example that it's possible to gather and log data from multiple OrkAudio recorders to one central database.</p>")
+ ),
+ "separately" => array(
+ _("Is it possible to use the different components (OrkAudio, OrkTrack and OrkWeb) separately?"),
+ _("<p>Yes. For example it is possible to use OrkAudio as a standalone audio recording and compression tool. No user interface is available but audio files and metadata are generated as described in Oreka <a href='documentation'>documentation</a>.</p>")
+ ),
+ ),
+ ),
+ );
+
+ if ($faqSectionId != "" && $itemId != "") {
+ // Print the requested item.
+ $item = $faqSections[$faqSectionId][1][$itemId];
+
+ $question = $item[0];
+ $answer = $item[1];
+
+ $pageTitle = $question;
+ include "../include/header.inc.php";
+
+ echo "<h2>$question</h2>";
+ echo $answer;
+
+ echo "<h3><a href=\"faq\">"._("Other frequently asked questions...")."</a></h3>";
+ }
+ else {
+ // Print the list of sections and questions.
+ $pageTitle = _("Frequently Asked Questions");
+ include "../include/header.inc.php";
+
+ echo "<h2>$pageTitle</h2>";
+ echo "<p>"._('These are frequently asked questions about Oreka. If you cannot find what you are looking for here, see the <a href="documentation">documentation</a>, or ask on the Oreka mailing lists')."</p>";
+
+ foreach ($faqSections as $faqSectionId => $section) {
+ $sectionTitle = $section[0];
+ $sectionItems = $section[1];
+
+ echo "<h3 id=\"s$faqSectionId\">$sectionTitle</h3>";
+
+ echo "<ol>";
+ foreach ($sectionItems as $itemId => $item) {
+ $question = $item[0];
+ $answer = $item[1];
+
+ echo "<li><a href=\"faq?s=$faqSectionId&amp;i=$itemId\">$question</a></li>";
+ }
+ echo "</ol>";
+ }
+ }
+
+ include "../include/footer.inc.php";
+?>
diff --git a/website/support/index.php b/website/support/index.php
new file mode 100644
index 0000000..2f7fe92
--- /dev/null
+++ b/website/support/index.php
@@ -0,0 +1,23 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "";
+ $pageTitle = _("Documentation and Support");
+ include "../include/header.inc.php";
+
+ echo "<h2>$pageTitle</h2>";
+
+ // i18n-hint: If there are any special resources for Audacity users in your
+ // language (forums, documentation, mailing lists...), you can add links to
+ // them here.
+ echo _('<p>If you have a question, check the list of <a href="faq">Frequently Asked Questions</a> before asking on the <a href="lists">mailing lists</a>.</p>
+<p>For instructions on how to build, install and use Oreka, see the <a href="documentation">documentation</a></p>');
+?>
+<p>Professional support and add-ons are available from <a href="http://www.orecx.com">orecx LLC</a>, the primary sponsor and developer of Oreka.</p>
+<?php
+ include "../include/footer.inc.php";
+?>
diff --git a/website/support/lists.php b/website/support/lists.php
new file mode 100644
index 0000000..f5fae1c
--- /dev/null
+++ b/website/support/lists.php
@@ -0,0 +1,26 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+ require_once "main.inc.php";
+ $pageId = "lists";
+ $pageTitle = _("Mailing Lists");
+ include "../include/header.inc.php";
+
+ echo "<h2>$pageTitle</h2>";
+
+ // i18n-hint: Please add a note that the manuals below are in English. If
+ // there is documentation available in your language, link to it here.
+?>
+<p>There are three Oreka lists you can subscribe to:</p>
+<ul>
+<li><a href="http://sourceforge.net/mailarchive/forum.php?forum_id=46724">oreka-dev</a>: this mailing list is intended for developers that want to compile and change the software.</li>
+<li><a href="http://sourceforge.net/mailarchive/forum.php?forum_id=46725">oreka-user</a>: this mailing list is intended for people who just want to use the software.</li>
+<li>oreka-announce: this is a very low traffic mailing list. Only new version notifications will be posted there.</li>
+</ul>
+
+<?php
+ include "../include/footer.inc.php";
+?>
diff --git a/website/support/main.inc.php b/website/support/main.inc.php
new file mode 100644
index 0000000..45c9c7e
--- /dev/null
+++ b/website/support/main.inc.php
@@ -0,0 +1,12 @@
+<?php
+/*
+ * Copyright 2004 Matt Brubeck
+ * This file is licensed under a Creative Commons license:
+ * http://creativecommons.org/licenses/by/2.0/
+ */
+require_once "../main.inc.php";
+$sitePath = "..";
+$sectionId = "support/";
+$sectionPath = ".";
+$sectionTitle = _("Support");
+?>