summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-05-22 02:47:34 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-05-22 02:47:34 +0000
commit9f23807af4495889a96713c798c0007d5bd6cba7 (patch)
tree518bd78559c3b6865db091901b92d11ebac69214
parent69e88546fd846146e021b86b0d7d4ddfd382eb31 (diff)
Removed inline styles from notice list items
-rw-r--r--lib/noticelist.php28
1 files changed, 2 insertions, 26 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 004905056..a52132171 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -180,25 +180,14 @@ class NoticeListItem extends Widget
$this->showStart();
$this->showNotice();
$this->showNoticeAttachments();
- $this->showNoticeOptions();
$this->showNoticeInfo();
+ $this->showNoticeOptions();
$this->showEnd();
}
function showNotice()
{
-if(0)
- $this->out->elementStart('entry-title');
-else
-
- if ('shownotice' === $this->out->args['action']) {
- $width = '85%';
- } else {
- $width = '90%';
- }
-
-
- $this->out->elementStart('div', array('class' => 'entry-title', 'style' => "float: left; width: $width;"));
+ $this->out->elementStart('div', 'entry-title');
$this->showAuthor();
$this->showContent();
$this->out->elementEnd('div');
@@ -248,17 +237,7 @@ else
function showNoticeInfo()
{
-if(0)
$this->out->elementStart('div', 'entry-content');
-else
-
- if ('shownotice' === $this->out->args['action']) {
- $width = '85%';
- } else {
- $width = '90%';
- }
-
- $this->out->elementStart('div', array('class' => 'entry-content', 'style' => "float: left; width: $width;"));
$this->showNoticeLink();
$this->showNoticeSource();
$this->showContext();
@@ -269,10 +248,7 @@ else
{
$user = common_current_user();
if ($user) {
-if(0)
$this->out->elementStart('div', 'notice-options');
-else
- $this->out->elementStart('div', array('class' => 'notice-options', 'style' => 'float: right; width: 16%;'));
$this->showFaveForm();
$this->showReplyLink();
$this->showDeleteLink();