[med-svn] r811 - trunk/community/website

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Thu Nov 15 21:30:32 UTC 2007


Author: hanska-guest
Date: 2007-11-15 21:30:32 +0000 (Thu, 15 Nov 2007)
New Revision: 811

Added:
   trunk/community/website/ddtp_details.php
   trunk/community/website/ddtp_details.tmpl.backup
Modified:
   trunk/community/website/ddtp_details.tmpl
   trunk/community/website/index.php
   trunk/community/website/locales.php
Log:
* Fixing messages in index.php and locales.php
* Editing DDTP Details template (adding ddtp_details.php
  only for testing purposes) -- hope Andreas will like it
  (and doesn't break XHTML 1.1 :) )


Copied: trunk/community/website/ddtp_details.php (from rev 810, trunk/community/website/ddtp_details.tmpl)
===================================================================
--- trunk/community/website/ddtp_details.php	                        (rev 0)
+++ trunk/community/website/ddtp_details.php	2007-11-15 21:30:32 UTC (rev 811)
@@ -0,0 +1,38 @@
+<?php
+ini_set("include_path", ini_get("include_path").":../");
+require_once("inc/header.inc.php");
+?>
+<table class="columns">
+<tr>
+	<td class="left">
+		<span class="section"><?=_("summary")?></span>
+		<div class="section">
+			<div class="sectionTop"></div>
+			<div class="row">
+				<?=_("Summary for package")?>:
+				<strong node="con:package"></strong>
+			</div>
+		</div>
+	</td>
+	<td class="main">
+		<div class="pageBody">
+			<table>
+			<div node="-rep:langs"><tr>
+				<th><p node="-con:name"></p></th>
+				<td>
+					<dl>
+						<dt><strong node="con:short">Short description</strong></dt>
+						<dd><p node="-con:long">This is a long long long description!</p></dd>
+					</dl>
+				</td>
+			</tr></div>
+			</table>
+		</div>
+	</td>
+</tr>
+</table>
+<address><?=_("Last update")?>: <div node="-con:date"></div></address>
+<address><?=_("Please note: this page gets automatically updated twice a day, on 00:00 and 12:00 UTC.")?></address>
+<?php
+require_once("inc/footer.inc.php");
+?>

Modified: trunk/community/website/ddtp_details.tmpl
===================================================================
--- trunk/community/website/ddtp_details.tmpl	2007-11-15 00:21:32 UTC (rev 810)
+++ trunk/community/website/ddtp_details.tmpl	2007-11-15 21:30:32 UTC (rev 811)
@@ -18,13 +18,12 @@
 		<div class="pageBody">
 			<table>
 			<div node="-rep:langs"><tr>
-				<th rowspan="2"><p node="-con:name"></p></th>
-				<td><?=_("Short description")?>: <p node="-con:short"></p></td>
-			</tr>
-			<tr>
+				<th><p node="-con:name"></p></th>
 				<td>
-					<?=_("Long description")?><br />
-					<p node="-con:long"></p>
+					<dl>
+						<dt><strong node="con:short">Short description</strong></dt>
+						<dd><p node="-con:long">This is a long long long description!</p></dd>
+					</dl>
 				</td>
 			</tr></div>
 			</table>

Copied: trunk/community/website/ddtp_details.tmpl.backup (from rev 810, trunk/community/website/ddtp_details.tmpl)
===================================================================
--- trunk/community/website/ddtp_details.tmpl.backup	                        (rev 0)
+++ trunk/community/website/ddtp_details.tmpl.backup	2007-11-15 21:30:32 UTC (rev 811)
@@ -0,0 +1,39 @@
+<?php
+ini_set("include_path", ini_get("include_path").":../");
+require_once("inc/header.inc.php");
+?>
+<table class="columns">
+<tr>
+	<td class="left">
+		<span class="section"><?=_("summary")?></span>
+		<div class="section">
+			<div class="sectionTop"></div>
+			<div class="row">
+				<?=_("Summary for package")?>:
+				<strong node="con:package"></strong>
+			</div>
+		</div>
+	</td>
+	<td class="main">
+		<div class="pageBody">
+			<table>
+			<div node="-rep:langs"><tr>
+				<th rowspan="2"><p node="-con:name"></p></th>
+				<td><?=_("Short description")?>: <p node="-con:short"></p></td>
+			</tr>
+			<tr>
+				<td>
+					<?=_("Long description")?><br />
+					<p node="-con:long"></p>
+				</td>
+			</tr></div>
+			</table>
+		</div>
+	</td>
+</tr>
+</table>
+<address><?=_("Last update")?>: <div node="-con:date"></div></address>
+<address><?=_("Please note: this page gets automatically updated twice a day, on 00:00 and 12:00 UTC.")?></address>
+<?php
+require_once("inc/footer.inc.php");
+?>

Modified: trunk/community/website/index.php
===================================================================
--- trunk/community/website/index.php	2007-11-15 00:21:32 UTC (rev 810)
+++ trunk/community/website/index.php	2007-11-15 21:30:32 UTC (rev 811)
@@ -21,7 +21,7 @@
 				<p class="error">
 					<img src="/img/warning.png" alt="<?=_("warning")?>" style="text-align:center;" />
 					<br />
-					<?=_("You're using a low priority locale.<br />Please ask the site administrators to add your locale, or provide one yourself :).")?>
+					<?=_("Your browser uses language settings that we could not yet provide translations for.<br />If you can spare one to two hours then please consider to help us in translating our pages for your people, too. Instructions are found <a href=\"/locales.php\">here</a>.")?>
 					<br /><br />
 					<?php
 						$msg = _("Visit the %1Localization page%2.");

Modified: trunk/community/website/locales.php
===================================================================
--- trunk/community/website/locales.php	2007-11-15 00:21:32 UTC (rev 810)
+++ trunk/community/website/locales.php	2007-11-15 21:30:32 UTC (rev 811)
@@ -23,7 +23,7 @@
 					<p style="text-align: center;">
 						<img src="/img/warning.png" />
 					</p>
-					<?=_("Your browser uses language settings that we could not yet provide translations for.<br />If you can spare one to two hours then please consider to help us in translating our pages for your people, too. Instructions are found <a href=locales.php>here</a>.")?>
+					<?=_("Your browser uses language settings that we could not yet provide translations for.<br />If you can spare one to two hours then please consider to help us in translating our pages for your people, too. Instructions are found <a href=\"/locales.php\">here</a>.")?>
 					<br /><br />
 					<?php
 						$msg = _("More information on how to contribute to the Debian-Med project, can be found in the %1How to Contribute%2 page.");




More information about the debian-med-commit mailing list