Skip to content

Commit

Permalink
adding the locked status row
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed May 24, 2012
1 parent 05ca2f4 commit 30f6308
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Core/Contents/View/GlobalLayouts/admin_index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
),
$this->Paginator->sort('modified') => array(
'style' => 'width:100px;'
)
),
__d('contents', 'Status')
)
);

Expand All @@ -72,18 +73,16 @@
if(!$layout['GlobalLayout']['theme_id']) {
$layout['Theme']['name'] = __d('themes', 'Global');
}

if(!$layout['GlobalLayout']['layout']) {
$layout['GlobalLayout']['layout'] = __d('themes', 'Global');
}
echo implode('<b>.</b>', array($layout['Theme']['name'], $layout['GlobalLayout']['layout']));
?>&nbsp;
</td>
<td>
<?php echo $layout['GlobalLayout']['content_count']; ?>&nbsp;
</td>
<td>
<?php echo $this->Time->niceShort($layout['GlobalLayout']['modified']); ?>&nbsp;
</td>
<td><?php echo $layout['GlobalLayout']['content_count']; ?>&nbsp;</td>
<td><?php echo $this->Time->niceShort($layout['GlobalLayout']['modified']); ?>&nbsp;</td>
<td><?php echo $this->Locked->display($layout); ?>&nbsp;</td>
</tr>
<?php
}
Expand Down

0 comments on commit 30f6308

Please sign in to comment.