diff --git a/class/UI/TopUI.php b/class/UI/TopUI.php index 463ae388..4a4afd39 100644 --- a/class/UI/TopUI.php +++ b/class/UI/TopUI.php @@ -64,9 +64,16 @@ public static function plug() $adminOptions['EDIT_STATES_LINK'] = \PHPWS_Text::secureLink('Edit States','intern',array('action' => 'edit_states')); } + // Edit list of student levels if(\Current_User::allow('intern', 'edit_level')){ $adminOptions['EDIT_STUDENT_LEVEL'] = \PHPWS_Text::secureLink('Edit Student Levels','intern',array('action' => 'edit_level')); + + } + + // Edit terms + if(\Current_User::allow('intern', 'edit_terms')){ + $adminOptions['EDIT_TERMS_LINK'] = \PHPWS_Text::secureLink('Edit Terms','intern',array('action' => 'edit_terms')); } // Link to the Affiliation Agreements diff --git a/templates/top.tpl b/templates/top.tpl index cd690e0a..85989b1e 100644 --- a/templates/top.tpl +++ b/templates/top.tpl @@ -44,6 +44,9 @@
  • {EDIT_STUDENT_LEVEL}
  • + +
  • {EDIT_TERMS_LINK}
  • +
  • {AFFIL_AGREE_LINK}