Skip to content

Commit

Permalink
removing bad format
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Jan 31, 2010
1 parent 9d3ef4e commit d465ed0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions infinitas/blog/views/posts/admin_dashboard.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -20,40 +20,40 @@
<div class="dashboard">
<h2><?php __('Blog Dashboard'); ?></h2>
<div class="info">
The Blog Dashboard provides a general overview for <?php echo $html->link('your blog', array('admin' => false, 'action' => 'index')); ?> &ndash;
The Blog Dashboard provides a general overview for <?php echo $this->Html->link('your blog', array('admin' => false, 'action' => 'index')); ?> &ndash;
from here you can perform common blog tasks and view your blog's most recent activity.
</div>
<div class="column-a">
<div class="box tasks">
<h3><?php __('Common Tasks'); ?></h3>
<ul>
<li>
<a href="<?php echo $html->url(array('action' => 'add')); ?>">
<div style="background-image: url(<?php echo $html->url('/img/core/icons/fatcow/16/page_add.png'); ?>)">
<a href="<?php echo $this->Html->url(array('action' => 'add')); ?>">
<div style="background-image: url(<?php echo $this->Html->url('/img/core/icons/fatcow/16/page_add.png'); ?>)">
<h4>Create a blog post</h4>
<p>Create a blog post for your site</p>
</div>
</a>
</li>
<li>
<a href="<?php echo $html->url(array('action' => 'index')); ?>">
<div style="background-image: url(<?php echo $html->url('/img/core/icons/fatcow/16/page_copy.png'); ?>)">
<a href="<?php echo $this->Html->url(array('action' => 'index')); ?>">
<div style="background-image: url(<?php echo $this->Html->url('/img/core/icons/fatcow/16/page_copy.png'); ?>)">
<h4>Manage blog posts</h4>
<p>Navigate your blog and edit or publish blog posts</p>
</div>
</a>
</li>
<li>
<a href="<?php echo $html->url(); ?>">
<div style="background-image: url(<?php echo $html->url('/img/core/icons/fatcow/16/comments.png'); ?>)">
<a href="<?php echo $this->Html->url(); ?>">
<div style="background-image: url(<?php echo $this->Html->url('/img/core/icons/fatcow/16/comments.png'); ?>)">
<h4>Manage comments</h4>
<p>Manage comments by approving or marking as spam</p>
</div>
</a>
</li>
<li>
<a href="<?php echo $html->url(); ?>">
<div style="background-image: url(<?php echo $html->url('/img/core/icons/fatcow/16/cog.png'); ?>)">
<a href="<?php echo $this->Html->url(); ?>">
<div style="background-image: url(<?php echo $this->Html->url('/img/core/icons/fatcow/16/cog.png'); ?>)">
<h4>Maintain your blog</h4>
<p>Quickly perform tasks on your blog</p>
</div>
Expand Down Expand Up @@ -96,7 +96,7 @@
<div class="column-b">
<div class="box blog-feed clr">
<h3 class="left"><?php __('Recent activity'); ?></h3>
<div class="view-all left">&nbsp;<?php echo $html->link('(view all)', array('controller' => 'posts')); ?></div>
<div class="view-all left">&nbsp;<?php echo $this->Html->link('(view all)', array('controller' => 'posts')); ?></div>
<ul class="feed clr">
<?php
if($blogFeeds){
Expand All @@ -113,7 +113,7 @@
}

?>
<li class="clr <?php if ($iteration % 2) echo 'alternate'; ?>" style="background-image: url(<?php echo $html->url('/img/core/icons/fatcow/16/' . $icon . '.png'); ?>);">
<li class="clr <?php if ($iteration % 2) echo 'alternate'; ?>" style="background-image: url(<?php echo $this->Html->url('/img/core/icons/fatcow/16/' . $icon . '.png'); ?>);">
<div class="item">
<h4>
<strong><?php echo Inflector::singularize(ucfirst($feed['Feed']['controller'])); ?></strong>:
Expand All @@ -130,7 +130,7 @@
?>
</h4>
<div class="time quiet"><?php echo $this->Time->niceShort($feed['Feed']['created']); ?></div>
<div class="preview clr"><?php echo $text->truncate($feed['Feed']['intro'], 150, array('exact' => false, 'html' => true)); ?></div>
<div class="preview clr"><?php echo $this->Text->truncate($feed['Feed']['intro'], 150, array('exact' => false, 'html' => true)); ?></div>
</div>
</li>
<?php
Expand Down

0 comments on commit d465ed0

Please sign in to comment.