From 994a44eb029dcb4350f2a55302005281c5830ebe Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Tue, 22 Sep 2009 20:12:02 +0000 Subject: [PATCH] Add a copy of the menu to the front page and add new items to menu. --- .../default/views/scripts/index/index.phtml | 60 +++++++++++++------ .../modules/default/views/scripts/menu.phtml | 7 +++ 2 files changed, 48 insertions(+), 19 deletions(-) diff --git a/application/modules/default/views/scripts/index/index.phtml b/application/modules/default/views/scripts/index/index.phtml index f3c316ed..a38e84c4 100644 --- a/application/modules/default/views/scripts/index/index.phtml +++ b/application/modules/default/views/scripts/index/index.phtml @@ -1,22 +1,44 @@ <?php $this->layout()->breadcrumbs = array('Welcome'); ?> <?php $this->headLink()->appendStylesheet($this->baseUrl() . '/css/index/index.css', 'all'); ?> -<div id="announcements" class="titled_box"> - <div class="box_shadow_2"> - <div class="tr"></div> - <div class="tl"> - <h2> - Messages - <img src="<?php echo $this->baseUrl(); ?>/images/index/arrow1.png" alt="arrow 1" class="toggle_arrow" /> - </h2> - <h3></h3> - </div> - <div class="bl"></div> - </div> - <div class="content"> - Course Approval is a UNL on-line curriculum request system developed to process new - curriculum or changes in undergraduate curriculum. Users of the system must - have approval. Contact Sara Mattson at <a href="mailto:smattson3@unl.edu"> - smattson3@unl.edu</a> for information. - </div> -</div> \ No newline at end of file + +<div class="one_col left"> + <div id="announcements" class="titled_box"> + <div class="box_shadow_2"> + <div class="tr"></div> + <div class="tl"> + <h2> + Main Menu + <img src="<?php echo $this->baseUrl(); ?>/images/index/arrow1.png" alt="arrow 1" class="toggle_arrow" /> + </h2> + <h3></h3> + </div> + <div class="bl"></div> + </div> + <div class="content"> + <?php echo $this->partial('menu.phtml'); ?> + </div> + </div> +</div> + +<div class="three_col right"> + <div id="announcements" class="titled_box"> + <div class="box_shadow_2"> + <div class="tr"></div> + <div class="tl"> + <h2> + Messages + <img src="<?php echo $this->baseUrl(); ?>/images/index/arrow1.png" alt="arrow 1" class="toggle_arrow" /> + </h2> + <h3></h3> + </div> + <div class="bl"></div> + </div> + <div class="content"> + Course Approval is a UNL on-line curriculum request system developed to process new + curriculum or changes in undergraduate curriculum. Users of the system must + have approval. Contact Sara Mattson at <a href="mailto:smattson3@unl.edu"> + smattson3@unl.edu</a> for information. + </div> + </div> +</div> diff --git a/application/modules/default/views/scripts/menu.phtml b/application/modules/default/views/scripts/menu.phtml index 7fccab05..7b4c9ab8 100644 --- a/application/modules/default/views/scripts/menu.phtml +++ b/application/modules/default/views/scripts/menu.phtml @@ -2,8 +2,15 @@ <?php if (Zend_Auth::getInstance()->getIdentity()) { ?> <li><a href="<?php echo $this->baseUrl(); ?>/requests">My Requests</a></li> <li><a href="<?php echo $this->baseUrl(); ?>/requests/new">New Request</a></li> + <?php } ?> + + <li><a href="<?php echo $this->baseUrl(); ?>/courses/public-view/search">Curriculum Search</a></li> + <li><a href="<?php echo $this->baseUrl(); ?>/ucc/reports/monthly">UCC Activity</a></li> + + <?php if (Zend_Auth::getInstance()->getIdentity()) { ?> <li><a href="<?php echo $this->baseUrl(); ?>/auth/index/logout">Log Out</a></li> <?php } else { ?> <li><a href="<?php echo $this->baseUrl(); ?>/auth/index/login">Log In</a></li> <?php } ?> + </ul> \ No newline at end of file -- GitLab