Module: website
Branch: master
Commit: 87c04e2cca8ed7359dab1a0e3266c9aef58e93d8
URL: http://source.winehq.org/git/website.git/?a=commit;h=87c04e2cca8ed7359dab1a…
Author: Zachary Goldberg <zgold(a)bluesata.com>
Date: Tue Dec 9 16:16:41 2008 -0600
remove some leftovers from the writing process
---
wwn/en/wn20081209_354.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/wwn/en/wn20081209_354.xml b/wwn/en/wn20081209_354.xml
index b435bf0..750622c 100644
--- a/wwn/en/wn20081209_354.xml
+++ b/wwn/en/wn20081209_354.xml
@@ -72,7 +72,7 @@ Its main goal is to bring in the holiday season with merry making and Wine. It a
<p>Welcome to the new and improved winehq.org! WineConf 2008 sparked the idea of redoing the winehq.org, Wiki, AppDB and Bugzilla aesthetics. Jeremy Newman, and *OTHERS* have been working hard on this design ever since!
</p>
<p>
-The new design is meant to have a more modern as well as a more user-centric feel. In particular a lot of effort went into making the winehq.org landing page an effective first place to send people for any information about Wine BLAH BLAH BLAH more on the website from the ML.
+The new design is meant to have a more modern as well as a more user-centric feel. In particular a lot of effort went into making the winehq.org landing page an effective first place to send people for any information about Wine.
</p>
<p>
Module: website
Branch: master
Commit: 59ed3e45161222f131b171cf2e0255c5718174ab
URL: http://source.winehq.org/git/website.git/?a=commit;h=59ed3e45161222f131b171…
Author: Jeremy Newman <jnewman(a)codeweavers.com>
Date: Tue Dec 9 14:48:50 2008 -0600
fix documentation link to not use redirect
clean up docs page a bit
---
templates/en/documentation.template | 3 ++-
templates/en/help.template | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/templates/en/documentation.template b/templates/en/documentation.template
index 42a4008..fc81638 100644
--- a/templates/en/documentation.template
+++ b/templates/en/documentation.template
@@ -1,6 +1,7 @@
<!--TITLE:[Documentation]-->
+<!--BLURB:[Documentation]-->
-<h1>Documentation</h1>
+<h1 class="title">Documentation</h1>
<h2>Guides</h2>
<ul>
diff --git a/templates/en/help.template b/templates/en/help.template
index 075f892..953f305 100644
--- a/templates/en/help.template
+++ b/templates/en/help.template
@@ -34,10 +34,10 @@
<tr bgcolor="#ffffff">
<td align="center" class="small">
- <a href="{$root}/docs"><img src="{$root}/images/docs.png" /><br />Docs</a>
+ <a href="{$root}/documentation"><img src="{$root}/images/docs.png" /><br />Docs</a>
</td>
<td valign="top">
- We recommend that you read our online <a href="{$root}/site/docs">Documentation</a>
+ We recommend that you read our online <a href="{$root}/site/documentation">Documentation</a>
to find the answer to your question. Also of interest is our
<a href="http://wiki.winehq.org/HowTo">HowTo</a> which contains some useful information for
the first time user.
Module: tools
Branch: master
Commit: 827d79917e808ebc2ba678c52fac82d227e56e3e
URL: http://source.winehq.org/git/tools.git/?a=commit;h=827d79917e808ebc2ba678c5…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Tue Dec 9 20:06:05 2008 +0100
update-winehq: Update the generated URLs for the new site.
---
update-winehq | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/update-winehq b/update-winehq
index 6a359a6..046a8b8 100755
--- a/update-winehq
+++ b/update-winehq
@@ -46,7 +46,7 @@ while (<ANNOUNCE>)
if (/^What's new in this release/)
{
$whats_new = 1;
- push @text, " <a href=\"?announce=$rel\">What's new</a> in this release:";
+ push @text, " <a href=\"{\$root}/announce/$rel\">What's new</a> in this release:";
next;
}
if (/^\s*$/)
@@ -77,7 +77,7 @@ while (<ANNOUNCE>)
}
push @text, "<p>The source is <a href=\"http://prdownloads.sourceforge.net/wine/wine-$rel.tar.bz2\">available now</a>.\n";
-push @text, "Binary packages are in the process of being built, and will appear soon at their respective <a href=\"/site/download\">download locations</a>.\n";
+push @text, "Binary packages are in the process of being built, and will appear soon at their respective <a href=\"{\$root}/download\">download locations</a>.\n";
push @text, "</p></body></news>\n";
close ANNOUNCE;
Module: website
Branch: master
Commit: f274c7ec54fba5d76706ee049113f6dcef44f28e
URL: http://source.winehq.org/git/website.git/?a=commit;h=f274c7ec54fba5d76706ee…
Author: Jeremy Newman <jnewman(a)codeweavers.com>
Date: Tue Dec 9 14:00:54 2008 -0600
adding a simple howto on setting up the website
---
README | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/README b/README
new file mode 100644
index 0000000..3ed65c2
--- /dev/null
+++ b/README
@@ -0,0 +1,41 @@
+WineHQ (lostwages) Website Template Engine
+ver 3.0
+by Jeremy Newman <jnewman(a)codeweavers.com>
+-----------------------------------------------------------------------
+
+Installation Requirements:
+ * Apache 2.0 or higher
+ * mod_rewrite enabled in Apache config
+ * PHP 5.0 or higher
+
+Setting Up.
+--------------
+1. cp include/htaccess.sample .htaccess
+2. edit .htaccess
+ * change Rewritebase to the subdir path from the root of your website.
+ iow, if you have the site as http://www.example.com/winehq_org/
+ then Rewritebase /winehq_org/
+ otherwise if this site is the root, leave Rewritebase /
+3. change last rule RewriteRule ^(.+) /site/$1 to have same path as above, leaving in /site/.
+ i.e. RewriteRule ^(.+) /winehq_org/site/$1 if using subdir
+4. cp include/winehq.conf.sample include/winehq.conf
+5. edit include/winehq.conf
+
+Templates.
+--------------
+For any path in your website, create a .template file in templates/en/
+For example, http://www.example.com/winehq_org/new_page
+ is templates/en/new_page.template
+You can nest templates into subdirs.
+
+The following varables can be used in templates.
+
+{$root} : relative path back to root of website
+{$base_url} : full URL of main website, as defined in winehq.conf
+{$self} : same as $_SERVER['PHP_SELF'] in PHP
+{$request_uri} : same as $_SERVER['REQUEST_URI'] in PHP
+
+You can also add global vars to include/globals.conf and they will be availbe as
+{$config_[key]} where [key] is the name you defined in globals.conf
+
+