| @@ 461-500 (lines=40) @@ | ||
| 458 | </table>'; |
|
| 459 | ||
| 460 | // Display the version information for the currently selected theme - if it is not the default one. |
|
| 461 | if (!empty($context['template_versions'])) |
|
| 462 | { |
|
| 463 | echo ' |
|
| 464 | <table class="table_grid"> |
|
| 465 | <tbody> |
|
| 466 | <tr class="windowbg"> |
|
| 467 | <td class="half_table"> |
|
| 468 | <a href="#" id="Templates-link">', $txt['dvc_templates'], '</a> |
|
| 469 | </td> |
|
| 470 | <td class="quarter_table"> |
|
| 471 | <em id="yourTemplates">??</em> |
|
| 472 | </td> |
|
| 473 | <td class="quarter_table"> |
|
| 474 | <em id="currentTemplates">??</em> |
|
| 475 | </td> |
|
| 476 | </tr> |
|
| 477 | </tbody> |
|
| 478 | </table> |
|
| 479 | ||
| 480 | <table id="Templates" class="table_grid"> |
|
| 481 | <tbody>'; |
|
| 482 | ||
| 483 | foreach ($context['template_versions'] as $filename => $version) |
|
| 484 | echo ' |
|
| 485 | <tr class="windowbg"> |
|
| 486 | <td class="half_table"> |
|
| 487 | ', $filename, ' |
|
| 488 | </td> |
|
| 489 | <td class="quarter_table"> |
|
| 490 | <em id="yourTemplates', $filename, '">', $version, '</em> |
|
| 491 | </td> |
|
| 492 | <td class="quarter_table"> |
|
| 493 | <em id="currentTemplates', $filename, '">??</em> |
|
| 494 | </td> |
|
| 495 | </tr>'; |
|
| 496 | ||
| 497 | echo ' |
|
| 498 | </tbody> |
|
| 499 | </table>'; |
|
| 500 | } |
|
| 501 | ||
| 502 | // Display the tasks files version. |
|
| 503 | if (!empty($context['tasks_versions'])) |
|
| @@ 503-542 (lines=40) @@ | ||
| 500 | } |
|
| 501 | ||
| 502 | // Display the tasks files version. |
|
| 503 | if (!empty($context['tasks_versions'])) |
|
| 504 | { |
|
| 505 | echo ' |
|
| 506 | <table class="table_grid"> |
|
| 507 | <tbody> |
|
| 508 | <tr class="windowbg"> |
|
| 509 | <td class="half_table"> |
|
| 510 | <a href="#" id="Tasks-link">', $txt['dvc_tasks'], '</a> |
|
| 511 | </td> |
|
| 512 | <td class="quarter_table"> |
|
| 513 | <em id="yourTasks">??</em> |
|
| 514 | </td> |
|
| 515 | <td class="quarter_table"> |
|
| 516 | <em id="currentTasks">??</em> |
|
| 517 | </td> |
|
| 518 | </tr> |
|
| 519 | </tbody> |
|
| 520 | </table> |
|
| 521 | ||
| 522 | <table id="Tasks" class="table_grid"> |
|
| 523 | <tbody>'; |
|
| 524 | ||
| 525 | foreach ($context['tasks_versions'] as $filename => $version) |
|
| 526 | echo ' |
|
| 527 | <tr class="windowbg"> |
|
| 528 | <td class="half_table"> |
|
| 529 | ', $filename, ' |
|
| 530 | </td> |
|
| 531 | <td class="quarter_table"> |
|
| 532 | <em id="yourTasks', $filename, '">', $version, '</em> |
|
| 533 | </td> |
|
| 534 | <td class="quarter_table"> |
|
| 535 | <em id="currentTasks', $filename, '">??</em> |
|
| 536 | </td> |
|
| 537 | </tr>'; |
|
| 538 | ||
| 539 | echo ' |
|
| 540 | </tbody> |
|
| 541 | </table>'; |
|
| 542 | } |
|
| 543 | ||
| 544 | echo ' |
|
| 545 | </div><!-- #versions --> |
|