|
@@ 246-252 (lines=7) @@
|
| 243 |
|
} |
| 244 |
|
echo '</td></tr></table>'; |
| 245 |
|
echo '</div>'; |
| 246 |
|
if (I18N::direction() === 'ltr') { |
| 247 |
|
$img = 'image-dline2'; |
| 248 |
|
$ypos = '0%'; |
| 249 |
|
} else { |
| 250 |
|
$img = 'image-dline'; |
| 251 |
|
$ypos = '100%'; |
| 252 |
|
} |
| 253 |
|
$dyoffset = ($yoffset - $tyoffset) + $this->bheight / 3; |
| 254 |
|
if ($tyoffset < 0) { |
| 255 |
|
$dyoffset = $yoffset + $this->bheight / 3; |
|
@@ 256-262 (lines=7) @@
|
| 253 |
|
$dyoffset = ($yoffset - $tyoffset) + $this->bheight / 3; |
| 254 |
|
if ($tyoffset < 0) { |
| 255 |
|
$dyoffset = $yoffset + $this->bheight / 3; |
| 256 |
|
if (I18N::direction() === 'ltr') { |
| 257 |
|
$img = 'image-dline'; |
| 258 |
|
$ypos = '100%'; |
| 259 |
|
} else { |
| 260 |
|
$img = 'image-dline2'; |
| 261 |
|
$ypos = '0%'; |
| 262 |
|
} |
| 263 |
|
} |
| 264 |
|
// Print the diagonal line |
| 265 |
|
echo '<div id="dbox' . $factcount . '" style="position:absolute; ' . (I18N::direction() === 'ltr' ? 'left: ' . (0 + 25) : 'right: ' . (0 + 25)) . 'px; top:' . ($dyoffset) . 'px; font-size: 8pt; height: ' . abs($tyoffset) . 'px; width: ' . abs($tyoffset) . 'px;'; |