web/html/docs/release-notes/f12 release-notes.php,1.1,1.2
John J. McDonough
jjmcd at fedoraproject.org
Fri Nov 13 15:35:37 UTC 2009
Author: jjmcd
Update of /cvs/fedora/web/html/docs/release-notes/f12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv303
Modified Files:
release-notes.php
Log Message:
Clean out some debugging code, correct include paths
There are still a lot of undefined index / undefined variable
errors showing up in error_log. These same errors appear also
in docs.fp.o/index.php so perhaps they have something to do with
the sandbox rather than this php.
Index: release-notes.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/release-notes/f12/release-notes.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- release-notes.php 12 Nov 2009 17:00:40 -0000 1.1
+++ release-notes.php 13 Nov 2009 15:35:07 -0000 1.2
@@ -5,6 +5,11 @@
//
// jjmcd - 2009-11-11
//
+ // jjmcd - 2009-11-13 - cleared out debugging code, corrected some
+ // include paths. Still a lot of undefined
+ // variable/undefined index errors that seem
+ // to be coming from included functions.
+ //
// Currently a bunch of log messages, and the hardcoded style below
// should be gotten from the includes but isn't.
//
@@ -12,82 +17,13 @@
$template = new Page;
$template->initCommon();
-
$template->displayHeader();
-
?>
-
-<?php include("../../include/style.php"); ?>
-<style>
- .documentdiv
- {
- margin-bottom:15px;
- margin-top:7px;
- background-image:url("http://docs.fedoraproject.org/whitetrans.png");
- padding:5px;
- padding-left:10px;
- -moz-border-radius: 15px;
- }
- .inactivereleasetable .documentdiv
- {
- background-image:url("http://docs.fedoraproject.org/transgrey.png");
- }
-
- .releasetable
- {
- width:800px;
- margin-left:auto;
- margin-right:auto;
- margin-top:10px;
- margin-bottom:10px;
- background-image:url("http://docs.fedoraproject.org/background.png");
- color:white;
- padding-top:8px;
- padding-left:15px;
- padding-right:10px;
- -moz-border-radius: 15px;
- }
- .inactivereleasetable
- {
- width:800px;
- margin-left:auto;
- margin-right:auto;
- margin-bottom:20px;
- background-image:url("http://docs.fedoraproject.org/background2.png");
- color:#2e3436;
- padding-top:8px;
- padding-left:15px;
- padding-right:10px;
- -moz-border-radius: 15px;
- }
- .draftreleasetable
- {
- width:800px;
- margin-left:auto;
- margin-right:auto;
- margin-top:10px;
- margin-bottom:10px;
- background-image:url("http://docs.fedoraproject.org/background3.png");
- color:white;
- padding-top:8px;
- padding-left:15px;
- padding-right:10px;
- -moz-border-radius: 15px;
- }
- .draftreleasetable a:visited, .draftreleasetable a:link
- {
- text-decoration: none;
- color: #f9dab0;
- }
- </style>
-
-
+<?php include("../../style.php"); ?>
<div style="width:800px;margin-left:auto;margin-right:auto;color:#2e3436;">
<h1>Fedora Release Notes</h1>
-
-
<?php
// Table matching language codes with language names
$langs = array( 'as-IN' => 'à¦
সমà§à§à¦¾',
@@ -138,9 +74,6 @@
'zh-CN' => 'ç®ä½ä¸æ',
'zh-TW' => 'ç¹é«ä¸æ');
-// echo "<h1>Test String 1</h1>\n";
-// echo "<h2>Test String 2</h2>\n";
-// echo "<h3>Test String 3</h3>\n";
$i1 = 0;
$i2 = 0;
$i3 = 0;
@@ -203,17 +136,6 @@
}
}
-/* print "<br /><hr /><br />\n";
- for ( $i=0; $i<$i1; $i++ )
- print $i . ": " . $text1[$i] . " - " . $url1[$i] . "<br />\n";
- print "<br /><hr /><br />\n";
- for ( $i=0; $i<$i2; $i++ )
- print $i . ": " . $text2[$i] . " - " . $url2[$i] . "<br />\n";
- print "<br /><hr /><br />\n";
- for ( $i=0; $i<$i3; $i++ )
- print $i . ": " . $text3[$i] . " - " . $url3[$i] . "<br />\n";
- print "<br /><hr /><br />\n";
-*/
?>
<table class="releasetable">
<tr>
@@ -231,7 +153,7 @@
<option value="#">Language</option>
<?php
for ( $i=0; $i<$i1; $i++ )
- print " <option value=\"http://docs.fedoraproject.org/release-notes/f12/"
+ print " <option value=\"http://docs.fedoraproject.org/release-notes/f12/"
. $url1[$i] . "\">" . $text1[$i] . "</option>\n";
?>
</select>
@@ -266,9 +188,9 @@
</table>
</div>
</div>
+<?php include("../../footertext.php"); ?>
</div>
-<?php include("../../include/footertext.php"); ?>
<?
-
$template->displayFooter('$Date$');
+?>
\ No newline at end of file
More information about the Fedora-docs-commits
mailing list