Skip to content

Commit

Permalink
changing management actions to show main links only
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Jan 18, 2010
1 parent 9ec6677 commit ce4ebe2
Showing 1 changed file with 10 additions and 27 deletions.
37 changes: 10 additions & 27 deletions infinitas/management/views/elements/admin/actions.ctp
Expand Up @@ -18,32 +18,15 @@
* @since 0.5a
*/
echo $this->Html->link( __( 'Dashboard', true ), array( 'plugin' => 'management' ), array( 'class' => 'link' ) );
?>
<?php echo $this->Html->link( __( 'Blog', true ), array( 'plugin' => 'blog' ), array( 'class' => 'link' ) ); ?>
<ul class="nav">
<li><?php echo $this->Html->link( __( 'Pending Posts', true ), array( 'plugin' => 'blog', 'controller' => 'posts', 'action' => 'index', 'Post.active' => 0 ) ); ?></li>
<li><?php echo $this->Html->link( __( 'Create a New Post', true ), array( 'plugin' => 'blog', 'controller' => 'posts', 'action' => 'add' ) ); ?></li>
<li><?php echo $this->Html->link( __( 'Pending Comments', true ), array( 'plugin' => 'management', 'controller' => 'comments', 'action' => 'index', 'Comment.active' => 0 ) ); ?></li>
<li><?php echo $this->Html->link( __( 'Accept All Comments', true ), array( 'plugin' => 'blog', 'controller' => 'comments', 'action' => 'acceptAll' ), array( 'title' => __( 'Mark all comments as accepted', true ) ) ); ?></li>
</ul>

<?php echo $this->Html->link( __( 'Newsletters', true ), array( 'plugin' => 'newsletters' ), array( 'class' => 'link' ) ); ?>
<ul class="nav">
<li><?php echo $this->Html->link( __( 'Pending Newsletters', true ), array( 'plugin' => 'newsletter', 'controller' => 'newsletters', 'action' => 'index', 'Newsletter.active' => 0 ) ); ?></li>
<li><?php echo $this->Html->link( __( 'Sending in Progress', true ), array( 'plugin' => 'newsletter', 'controller' => 'newsletters', 'action' => 'index', 'sending' ) ); ?></li>
<li><?php echo $this->Html->link( __( 'New Newsletter', true ), array( 'plugin' => 'newsletter', 'controller' => 'newsletters', 'action' => 'add' ) ); ?></li>
</ul>
echo $this->Html->link( __( 'Blog', true ), array( 'plugin' => 'blog' ), array( 'class' => 'link' ) );
echo $this->Html->link( __( 'Newsletters', true ), array( 'plugin' => 'newsletters' ), array( 'class' => 'link' ) );
echo $this->Html->link( __( 'Cms', true ), array( 'plugin' => 'cms' ), array( 'class' => 'link' ) );
echo $this->Html->link( __( 'Cart', true ), array( 'plugin' => 'cart' ), array( 'class' => 'link' ) );

<?php echo $this->Html->link( __( 'Cms', true ), array( 'plugin' => 'cms' ), array( 'class' => 'link' ) ); ?>
<ul class="nav">
<li><?php echo $this->Html->link( __( 'Pending Content', true ), array( 'plugin' => 'cms', 'controller' => 'contents', 'action' => 'index', 'Content.active' => 0 ) ); ?></li>
<li><?php echo $this->Html->link( __( 'New Content Page', true ), array( 'plugin' => 'cms', 'controller' => 'contents', 'action' => 'add' ) ); ?></li>
<li><?php echo $this->Html->link( __( 'Home Page', true ), array( 'plugin' => 'cms', 'controller' => 'contentFrontpages', 'action' => 'index' ) ); ?></li>
</ul>

<?php echo $this->Html->link( __( 'Cart', true ), array( 'plugin' => 'cart' ), array( 'class' => 'link' ) ); ?>

<?php echo $this->Html->link( __( 'Config Manager', true ), array( 'plugin' => 'management', 'controller' => 'configs' ), array( 'class' => 'link' ) ); ?>
<?php echo $this->Html->link( __( 'File Manager', true ), array( 'plugin' => 'management', 'controller' => 'file_manager' ), array( 'class' => 'link' ) ); ?>
<?php echo $this->Html->link( __( 'Routing Manager', true ), array( 'plugin' => 'management', 'controller' => 'routes' ), array( 'class' => 'link' ) ); ?>
<?php echo $this->Html->link( __( 'Themes Manager', true ), array( 'plugin' => 'management', 'controller' => 'themes' ), array( 'class' => 'link' ) ); ?>
echo $this->Html->link( __( 'Config Manager', true ), array( 'plugin' => 'management', 'controller' => 'configs' ), array( 'class' => 'link' ) );
echo $this->Html->link( __( 'File Manager', true ), array( 'plugin' => 'management', 'controller' => 'file_manager' ), array( 'class' => 'link' ) );
echo $this->Html->link( __( 'Routing Manager', true ), array( 'plugin' => 'management', 'controller' => 'routes' ), array( 'class' => 'link' ) );
echo $this->Html->link( __( 'Themes Manager', true ), array( 'plugin' => 'management', 'controller' => 'themes' ), array( 'class' => 'link' ) );
echo $this->Html->link( __( 'Modules Manager', true ), array( 'plugin' => 'management', 'controller' => 'modules' ), array( 'class' => 'link' ) );
?>

0 comments on commit ce4ebe2

Please sign in to comment.