Move top page template-example to web/template.

Make note in web/README.txt

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Loui Chang 2008-08-19 18:08:12 -04:00
parent 361f08a740
commit b69e2cce56
12 changed files with 6 additions and 137 deletions

View file

@ -92,6 +92,9 @@ Directory Layout:
./template - Where most of the html markup resides and minimal ./template - Where most of the html markup resides and minimal
amount of PHP scripting. amount of PHP scripting.
There is also a template to model the site's top pages in
template.phps
Scripts: Scripts:
-------- --------

View file

@ -1,10 +0,0 @@
<?php
# Catalan (Català) translation
# Translator: Sergio Jovani Guzman <moret.sjg@gmail.com>
include_once("translator.inc");
global $_t;
$_t["ca"]["Hi, this is worth reading!"] = "Hola, val la pena llegir açò!";
?>

View file

@ -1,10 +0,0 @@
<?php
# German (Deutsch) translation
# Translators: Pierre Schmitz <pierre@archlinux.de>, Matthias Gorissen <siquame@web.de>, Lukas Kropatschek, Niclas Pfeifer
include_once("translator.inc");
global $_t;
$_t["de"]["Hi, this is worth reading!"] = "Hallo - es lohnt sich, dies zu lesen!";
?>

View file

@ -1,16 +0,0 @@
<?php
# INSTRUCTIONS TO TRANSLATORS
#
# This file contains the i18n translations for a subset of the
# Arch Linux User-community Repository (AUR). This is a PHP
# script, and as such, you MUST pay great attention to the syntax.
# If your text contains any double-quotes ("), you MUST escape
# them with the backslash character (\).
#
include_once("translator.inc");
global $_t;
$_t["en"]["Hi, this is worth reading!"] = "Hi, this is worth reading!";
?>

View file

@ -1,10 +0,0 @@
<?php
# Spanish (Español) translation
# Translator: Víctor Martínez Romanos <vmromanos@gmail.com>
include_once("translator.inc");
global $_t;
$_t["es"]["Hi, this is worth reading!"] = "Hola, ¡vale la pena llegar hasta aquí!";
?>

View file

@ -1,11 +0,0 @@
<?php
# French (Français) translation
# Translator: Morgan LEFIEUX <comete@archlinuxfr.org>
# Translator: Cilyan Olowen <gaknar@gmail.com>
include_once("translator.inc");
global $_t;
$_t["fr"]["Hi, this is worth reading!"] = "Salut, ceci vaut la peine d'être lu !";
?>

View file

@ -1,10 +0,0 @@
<?php
# Italian (Italiano) translation
# Translators: Giovanni Scafora <linuxmania@gmail.com> and Pierluigi Picciau <pierluigi88@gmail.com>
include_once("translator.inc");
global $_t;
$_t["it"]["Hi, this is worth reading!"] = "Ciao, questo vale la pena di leggerlo!";
?>

View file

@ -1,10 +0,0 @@
<?php
# Polish (Polski) translation
# Translator: Jaroslaw Swierczynski <swiergot@gmail.com>
include_once("translator.inc");
global $_t;
$_t["pl"]["Hi, this is worth reading!"] = "Witaj, warto to przeczytać!";
?>

View file

@ -1,16 +0,0 @@
<?php
# INSTRUCTIONS TO TRANSLATORS
#
# This file contains the i18n translations for a subset of the
# Arch Linux User-community Repository (AUR). This is a PHP
# script, and as such, you MUST pay great attention to the syntax.
# If your text contains any double-quotes ("), you MUST escape
# them with the backslash character (\).
#
include_once("translator.inc");
global $_t;
$_t["pt"]["Hi, this is worth reading!"] = "Olá, vale a pena ler isso!";
?>

View file

@ -1,10 +0,0 @@
<?php
# Russian (Русский) translation
# Translator: Sergej Pupykin <ps@lx-ltd.ru>
include_once("translator.inc");
global $_t;
$_t["ru"]["Hi, this is worth reading!"] = "Привет, это стоит почитать!";
?>

View file

@ -1,32 +0,0 @@
<?php
# INSTRUCTIONS TO TRANSLATORS
#
# This file contains the i18n translations for a subset of the
# Arch Linux User-community Repository (AUR). This is a PHP
# script, and as such, you MUST pay great attention to the syntax.
# If your text contains any double-quotes ("), you MUST escape
# them with the backslash character (\).
#
include_once("translator.inc");
global $_t;
include_once("en/template_po.inc");
include_once("pl/template_po.inc");
include_once("it/template_po.inc");
include_once("ca/template_po.inc");
include_once("pt/template_po.inc");
include_once("es/template_po.inc");
include_once("de/template_po.inc");
include_once("ru/template_po.inc");
include_once("fr/template_po.inc");
?>

View file

@ -1,5 +1,7 @@
<?php <?php
# This template shows how a front page script is commonly coded.
set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang'); set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
include("aur.inc"); # access AUR common functions include("aur.inc"); # access AUR common functions
@ -10,11 +12,10 @@ html_header(); # print out the HTML header
# Any text you print out to the visitor, use the __() function # Any text you print out to the visitor, use the __() function
# for i18n support. See 'testpo.php' for more details. # for i18n support. See web/lib/translator.inc for more info.
# #
print __("Hi, this is worth reading!")."<br />\n"; print __("Hi, this is worth reading!")."<br />\n";
html_footer(AUR_VERSION); html_footer(AUR_VERSION);
?>