Differential D19842 Diff 47384 src/applications/transactions/controller/PhabricatorEditEngineConfigurationLockController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/controller/PhabricatorEditEngineConfigurationLockController.php
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | EOTEXT | ||||
$map = array( | $map = array( | ||||
$lock_visible => pht('Visible'), | $lock_visible => pht('Visible'), | ||||
$lock_locked => pht("\xF0\x9F\x94\x92 Locked"), | $lock_locked => pht("\xF0\x9F\x94\x92 Locked"), | ||||
$lock_hidden => pht("\xE2\x9C\x98 Hidden"), | $lock_hidden => pht("\xE2\x9C\x98 Hidden"), | ||||
); | ); | ||||
foreach ($fields as $field) { | foreach ($fields as $field) { | ||||
if (!$field->getIsFormField()) { | |||||
continue; | |||||
} | |||||
if (!$field->getIsLockable()) { | if (!$field->getIsLockable()) { | ||||
continue; | continue; | ||||
} | } | ||||
$key = $field->getKey(); | $key = $field->getKey(); | ||||
$label = $field->getLabel(); | $label = $field->getLabel(); | ||||
if (!strlen($label)) { | if (!strlen($label)) { | ||||
Show All 28 Lines |