[54633] trunk/www/includes/common.inc

wsiegrist at apple.com wsiegrist at apple.com
Thu Jul 30 07:59:15 PDT 2009


Revision: 54633
          http://trac.macports.org/changeset/54633
Author:   wsiegrist at apple.com
Date:     2009-07-30 07:59:15 -0700 (Thu, 30 Jul 2009)
Log Message:
-----------
Include header and footer on database error page

Modified Paths:
--------------
    trunk/www/includes/common.inc

Modified: trunk/www/includes/common.inc
===================================================================
--- trunk/www/includes/common.inc	2009-07-30 14:57:29 UTC (rev 54632)
+++ trunk/www/includes/common.inc	2009-07-30 14:59:15 UTC (rev 54633)
@@ -85,14 +85,16 @@
                 );
                 break;
             case "ports.php":
+		print_header("The MacPorts Project", "utf-8");
                 print '
                     <div id="content">
-                        
                         <h2 class="hdr">MacPorts Portfiles</h2>
                         <p>Our database is currently unavailable. We hope to have it back soon!</p>
-                        
                     </div>
                 ';
+		print_footer();
+		die();
+		break;
             default:
                 print_footer();
                 die();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090730/0265308b/attachment.html>


More information about the macports-changes mailing list