title on persona pages now has persona name
authorToby Elliott <telliott@mozilla.com>
Fri, 29 May 2009 10:54:50 -0700
changeset 978 3f102a1235c31f7a226ede55645247651ccfdcea
parent 977 c57f5f1255c870bd58d4f342e50e714be24f1f67
child 979 033dd7564b5b968c03f2020828068d693b0a30d4
push id612
push usertelliott@mozilla.com
push dateFri, 29 May 2009 17:54:53 +0000
title on persona pages now has persona name
server/personadetail.php
--- a/server/personadetail.php
+++ b/server/personadetail.php
@@ -63,17 +63,17 @@
 		$page_header = $persona['name'] . ' by ' . $persona['author'];
 		$category = $persona['category'];
 		$persona['json'] = htmlentities(json_encode(extract_record_data($persona)));
 	}
 
 	$url_prefix = '/gallery';
 	$tabs = null;
 	
-	$title = "Persona Detail"; 
+	$title = $persona['name']; 
 	include 'templates/header.php'; 
 ?>
 <body>
     <div id="outer-wrapper">
         <div id="inner-wrapper">
 <?php include 'templates/nav.php'; ?>
             <div id="header">
                 <h2><?= $page_header ?></h2>