Bernd Wurst commited on 2012-03-19 13:50:16
              Zeige 1 geänderte Dateien mit 2 Einfügungen und 2 Löschungen.
            
| ... | ... | 
                      @@ -41,8 +41,8 @@ foreach ($repos as $repo => $settings) {
                     | 
                  
| 41 | 41 | 
                        $public = isset($settings['users']['gitweb']) && $settings['users']['gitweb'] == 'R';  | 
                    
| 42 | 42 | 
                        $public_string = '';  | 
                    
| 43 | 43 | 
                           if ($public) {
                       | 
                    
| 44 | 
                        - $public_url = 'http://git.schokokeks.org/'.$repo.'.git';  | 
                    |
| 45 | 
                        - $git_url = 'git://git.schokokeks.org/'.$repo.'.git';  | 
                    |
| 44 | 
                        +    $public_url = 'http://'.config('gitserver').'/'.$repo.'.git';
                       | 
                    |
| 45 | 
                        +    $git_url = 'git://'.config('gitserver').'/'.$repo.'.git';
                       | 
                    |
| 46 | 46 | 
                        $public_string = '<br />(Öffentlicher Lesezugriff über <a href="'.$public_url.'">'.$public_url.'</a> und '.$git_url.')';  | 
                    
| 47 | 47 | 
                        }  | 
                    
| 48 | 48 | 
                           output("<div><p><strong>{$repo}</strong> ".internal_link('edit', icon_edit('Zugriffsrechte bearbeiten'), 'repo='.$repo)." ".internal_link('delete', icon_delete('Repository löschen'), 'repo='.$repo)."{$description}<br />push-Adresse: {$url} {$public_string}</p><ul>");
                       | 
                    
| 49 | 49 |