summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-14 13:57:29 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-01-14 13:57:29 -0500
commit3ce62aae1b1a0e176db32fac142218f05bc57731 (patch)
tree1c5f94b8a1e54c14637a350d7f14f042746ee994 /lib/action.php
parentb72322b9e786a0e1fd0eecb2705fee0bf470ac8a (diff)
Add comment() method, have action use it
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/action.php b/lib/action.php
index 0419828b3..8d0fb2634 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -116,8 +116,8 @@ class Action extends HTMLOutputter // lawsuit
foreach (array(6,7) as $ver) {
if (file_exists(theme_file('ie'.$ver.'.css'))) {
// Yes, IE people should be put in jail.
- $xw->writeComment('[if lte IE '.$ver.']><link rel="stylesheet" type="text/css" '.
- 'href="'.theme_path('ie'.$ver.'.css').'?version='.LACONICA_VERSION.'" /><![endif]');
+ $this->comment('[if lte IE '.$ver.']><link rel="stylesheet" type="text/css" '.
+ 'href="'.theme_path('ie'.$ver.'.css').'?version='.LACONICA_VERSION.'" /><![endif]');
}
}
}
@@ -556,7 +556,6 @@ class Action extends HTMLOutputter // lawsuit
$this->elementStart('div', array('id' => 'content'));
}
-
// Added @id to li for some control. We might want to move this to htmloutputter.php
function common_menu_item($id=null, $url, $text, $title=null, $is_selected=false)
{