Differential D13200 Diff 31965 src/applications/diffusion/controller/DiffusionRepositoryEditHostingController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionRepositoryEditHostingController.php
| Show First 20 Lines • Show All 175 Lines • ▼ Show 20 Lines | if (!$repository->isHosted()) { | ||||
| $rw_message = array( | $rw_message = array( | ||||
| $rw_message, | $rw_message, | ||||
| phutil_tag('br'), | phutil_tag('br'), | ||||
| phutil_tag('br'), | phutil_tag('br'), | ||||
| pht( | pht( | ||||
| '%s: This repository is hosted elsewhere, so Phabricator can not '. | '%s: This repository is hosted elsewhere, so Phabricator can not '. | ||||
| 'perform writes. This mode will act like "Read Only" for '. | 'perform writes. This mode will act like "Read Only" for '. | ||||
| 'repositories hosted elsewhere.', | 'repositories hosted elsewhere.', | ||||
| phutil_tag('strong', array(), 'WARNING')), | phutil_tag('strong', array(), pht('WARNING'))), | ||||
| ); | ); | ||||
| } | } | ||||
| $ssh_control = | $ssh_control = | ||||
| id(new AphrontFormRadioButtonControl()) | id(new AphrontFormRadioButtonControl()) | ||||
| ->setName('ssh') | ->setName('ssh') | ||||
| ->setLabel(pht('SSH')) | ->setLabel(pht('SSH')) | ||||
| ->setValue($v_ssh_mode) | ->setValue($v_ssh_mode) | ||||
| ▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines | |||||