svn: /web/php/branches/PROTOTYPE_2010/include/ layout.inc
| From: | Hannes Magnusson | Date: | Sun, 26 Dec 2010 12:36:59 +0000 |
| Subject: | svn: /web/php/branches/PROTOTYPE_2010/include/ layout.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-9809@lists.php.net to get a copy of this message | ||
bjori Sun, 26 Dec 2010 12:36:59 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306669
Log:
Ensure there is a title & kill off the docpage.php workaround
Changed paths:
U web/php/branches/PROTOTYPE_2010/include/layout.inc
Modified: web/php/branches/PROTOTYPE_2010/include/layout.inc
===================================================================
--- web/php/branches/PROTOTYPE_2010/include/layout.inc 2010-12-26 12:36:43 UTC (rev 306668)
+++ web/php/branches/PROTOTYPE_2010/include/layout.inc 2010-12-26 12:36:59 UTC (rev 306669)
@@ -16,9 +16,6 @@
default:
$curr = "";
break;
- case "docpage.php":
- $curr = "docs";
- break;
case "mailing-lists.php":
case "sidebars.php":
@@ -30,6 +27,9 @@
break;
}
}
+ if (empty($title)) {
+ $title = "Hypertext Preprocessor";
+ }
require __DIR__ ."/../header.php";
}