示例#1
0
 private function getOnlineEditDiv()
 {
     $html = '';
     $classname = 'not_editable';
     if ($this->repository->userCanEditOnline($this->current_user)) {
         $classname = 'editable';
     }
     $html .= '<div id="plugin_git_onlinemodif" class="' . $classname . '">';
     return $html;
 }