diff options
Diffstat (limited to 'pages')
-rwxr-xr-x | pages/blog.php | 3 | ||||
-rwxr-xr-x | pages/quotes.php | 4 | ||||
-rwxr-xr-x | pages/welcome.php | 3 |
3 files changed, 10 insertions, 0 deletions
diff --git a/pages/blog.php b/pages/blog.php index 6703c12..28fa759 100755 --- a/pages/blog.php +++ b/pages/blog.php | |||
@@ -29,6 +29,9 @@ if (isset($_GET['post'])) | |||
29 | { | 29 | { |
30 | $template = new FITemplate('post'); | 30 | $template = new FITemplate('post'); |
31 | $template->adds_block('INTERNAL',array('exi'=>1)); | 31 | $template->adds_block('INTERNAL',array('exi'=>1)); |
32 | $template->add('IFXAMP', $xhtml ? '&' : '&'); | ||
33 | $template->add('IFXLT', $xhtml ? '<' : '<'); | ||
34 | $template->add('IFXGT', $xhtml ? '>' : '>'); | ||
32 | 35 | ||
33 | $getpost = "SELECT * FROM updates WHERE slug = \"" . urldecode($_GET['post']) . "\""; | 36 | $getpost = "SELECT * FROM updates WHERE slug = \"" . urldecode($_GET['post']) . "\""; |
34 | $getpost2 = mysql_query($getpost); | 37 | $getpost2 = mysql_query($getpost); |
diff --git a/pages/quotes.php b/pages/quotes.php index f1e0d65..8c6958d 100755 --- a/pages/quotes.php +++ b/pages/quotes.php | |||
@@ -187,7 +187,11 @@ if (isset($_GET['id']) && !(is_numeric($_GET['id']))) | |||
187 | 187 | ||
188 | function quote_generation($query, $origin, $page = 1, $quote_limit = 50, $page_limit = 10) | 188 | function quote_generation($query, $origin, $page = 1, $quote_limit = 50, $page_limit = 10) |
189 | { | 189 | { |
190 | global $xhtml; | ||
191 | |||
190 | $template = new FITemplate('quotes/browse'); | 192 | $template = new FITemplate('quotes/browse'); |
193 | $template->add('IFXAMP', $xhtml ? '&' : '&'); | ||
194 | |||
191 | if ($page != -1) | 195 | if ($page != -1) |
192 | { | 196 | { |
193 | $template->adds_block('PAGENUMBERS',array('exi'=>1)); | 197 | $template->adds_block('PAGENUMBERS',array('exi'=>1)); |
diff --git a/pages/welcome.php b/pages/welcome.php index 5bd710c..833af8a 100755 --- a/pages/welcome.php +++ b/pages/welcome.php | |||
@@ -31,6 +31,9 @@ $hatNav = array( array( 'title' => 'Archive', | |||
31 | 31 | ||
32 | $template = new FITemplate('post'); | 32 | $template = new FITemplate('post'); |
33 | $template->adds_block('EXTERNAL',array('exi'=>1)); | 33 | $template->adds_block('EXTERNAL',array('exi'=>1)); |
34 | $template->add('IFXAMP', $xhtml ? '&' : '&'); | ||
35 | $template->add('IFXLT', $xhtml ? '<' : '<'); | ||
36 | $template->add('IFXGT', $xhtml ? '>' : '>'); | ||
34 | 37 | ||
35 | $curID = 0; | 38 | $curID = 0; |
36 | 39 | ||