Differential D20192 Diff 48220 src/applications/differential/render/DifferentialChangesetTwoUpRenderer.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/render/DifferentialChangesetTwoUpRenderer.php
| Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | for ($ii = $range_start; $ii < $range_start + $range_len; $ii++) { | ||||
| 'tr', | 'tr', | ||||
| array( | array( | ||||
| 'sigil' => 'context-target', | 'sigil' => 'context-target', | ||||
| ), | ), | ||||
| array( | array( | ||||
| phutil_tag( | phutil_tag( | ||||
| 'td', | 'td', | ||||
| array( | array( | ||||
| 'colspan' => 2, | 'class' => 'show-context-line n left-context', | ||||
| )), | |||||
| phutil_tag( | |||||
| 'td', | |||||
| array( | |||||
| 'class' => 'show-more', | 'class' => 'show-more', | ||||
| ), | ), | ||||
| $contents), | $contents), | ||||
| phutil_tag( | phutil_tag( | ||||
| 'th', | 'td', | ||||
| array( | array( | ||||
| 'class' => 'show-context-line', | 'class' => 'show-context-line n', | ||||
| ), | 'data-n' => $context_line, | ||||
| $context_line ? (int)$context_line : null), | )), | ||||
| phutil_tag( | phutil_tag( | ||||
| 'td', | 'td', | ||||
| array( | array( | ||||
| 'colspan' => 3, | 'colspan' => 3, | ||||
| 'class' => 'show-context', | 'class' => 'show-context', | ||||
| ), | ), | ||||
| // TODO: [HTML] Escaping model here isn't ideal. | // TODO: [HTML] Escaping model here isn't ideal. | ||||
| phutil_safe_html($context_text)), | phutil_safe_html($context_text)), | ||||
| ▲ Show 20 Lines • Show All 305 Lines • ▼ Show 20 Lines | if ($this->newOffsetMap === null) { | ||||
| } | } | ||||
| $this->newOffsetMap = $map; | $this->newOffsetMap = $map; | ||||
| } | } | ||||
| return $this->newOffsetMap; | return $this->newOffsetMap; | ||||
| } | } | ||||
| protected function getTableSigils() { | |||||
| return array( | |||||
| 'intercept-copy', | |||||
| ); | |||||
| } | |||||
| } | } | ||||