/**
  * Display the save or confirm buttons as needed.
  * 
  * If the page is a confirmation view then the save / edit button template will be displayed.  Otherwise the confirm
  * and return buttons will be shown.
  * @param boolean $save Flag to show the save button.
  * @param boolean $show_edit (defaults to true)
  */
 protected function displayControls($save = false, $show_edit = true)
 {
     if (!$save) {
         $this->template->addFile("button_confirm_tr_grad.html");
     } else {
         parent::displayControls($save, $show_edit);
     }
 }
 /**
  * Display the save or confirm buttons as needed.
  * 
  * If the page is a confirmation view then the save / edit button template will be displayed.  
  * Otherwise the confirm and return buttons will be shown.
  * @param boolean $save Flag to show the save button. (Defaults to false)
  * @param boolean $show_edit (defaults to true)
  * @global array
  */
 protected function displayControls($save = false, $show_edit = true)
 {
     parent::displayControls($save, $show_edit);
     $button_return = $this->template->getElementById("button_return");
     if ($button_return) {
         if (I2CE_ModuleFactory::instance()->isEnabled("ihris-manage-Application") && $this->get_exists('position')) {
             $button_return->setAttribute("name", "position");
             $button_return->setAttribute("href", "manage?action=review&position=");
         }
     }
 }