Another fix
Jeremy D

Jeremy D commited on 2012-01-23 20:24:55
Showing 2 changed files, with 10 additions and 3 deletions.

... ...
@@ -21,9 +21,6 @@ if (isset($_GET['view']))
21 21
 else
22 22
 	$pasteBin->action_index();
23 23
 
24
-if (defined('WPLANG'))
25
-	$specialPage['title'] = $pasteBin->title;
26
-
27 24
 /*
28 25
 * Main PasteBin class
29 26
 */
... ...
@@ -5,6 +5,16 @@
5 5
 */
6 6
 class pTPL_wp extends pTPL
7 7
 {
8
+	/*
9
+	* Do the header
10
+	*/
11
+	public function htmlHead($title)
12
+	{
13
+		global $specialPage;
14
+
15
+		$specialPage['title'] = $title;
16
+	}
17
+
8 18
 	/*
9 19
 	* Lets get things cooking.
10 20
 	*/
11 21