Module: tools Branch: master Commit: 2a408d8a29ff7fdae4f7a0fa9fba3cfecb31f859 URL: http://source.winehq.org/git/tools.git/?a=commit;h=2a408d8a29ff7fdae4f7a0fa9...
Author: Mikolaj Zalewski mikolajz@tygrys.dom Date: Thu Jun 19 19:13:09 2008 +0200
add support for customizing the title
---
php/config.php | 2 ++ php/index.php | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/php/config.php b/php/config.php index 0dff152..bb6c73b 100644 --- a/php/config.php +++ b/php/config.php @@ -1,3 +1,5 @@ <?php $DATAROOT = "."; +$TITLE_APPENDIX = " - Wine 1.1.x"; +$TITLE_DESCR = "This page shows the translation status of the most recent Wine 1.1.x. To see the Wine 1.0.x line see <a href=\"http://pf128.krakow.sdi.tpnet.pl/wine-transl/\">here</a>"; ?> \ No newline at end of file diff --git a/php/index.php b/php/index.php index b8f0f7d..561a089 100644 --- a/php/index.php +++ b/php/index.php @@ -22,9 +22,11 @@ while ($line = fgets($summary, 1024)) <html> <head> <link rel="stylesheet" href="style.css" type="text/css"/> - <title>Wine translation statistics</title> + <title>Wine translation statistics <?php echo $TITLE_APPENDIX ?></title> </head> -<h1>Wine translation statistics</h1> +<h1>Wine translation statistics <?php echo $TITLE_APPENDIX ?></h1> + +<?php echo $TITLE_DESCR ?>
<p>This page shows the state of the translations of <a href="http://www.winehq.org/">Wine</a>. Note that some resources marked as translated may be in fact in English - sometimes developers