Commit b09d5c18c91a25606ca85a7eba80e5447c611c46
1 parent
c7bc29b7
Might as well mark up this test too.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2938 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
6 additions
and
6 deletions
tests/documentmanagement/viewUI.inc
| @@ -385,7 +385,7 @@ function getEditPage($oDocument) { | @@ -385,7 +385,7 @@ function getEditPage($oDocument) { | ||
| 385 | $sToRender = "<div id=\"headings\" style=\"position:absolute;visibility:visible;top:106px;left:132px;\">"; | 385 | $sToRender = "<div id=\"headings\" style=\"position:absolute;visibility:visible;top:106px;left:132px;\">"; |
| 386 | } | 386 | } |
| 387 | 387 | ||
| 388 | - $sToRender .= renderHeading("Document Detail"); | 388 | + $sToRender .= renderHeading(_("Document Detail")); |
| 389 | $sToRender .= renderDocumentPath($oDocument) . "\n\n"; | 389 | $sToRender .= renderDocumentPath($oDocument) . "\n\n"; |
| 390 | $sToRender .= "<table border=\"0\" width=\"530\">"; | 390 | $sToRender .= "<table border=\"0\" width=\"530\">"; |
| 391 | $sToRender .= renderDocumentSection("<a href=\"javascript:void();\" onClick=\"switchDiv('documentData');\">Document Data</a>"); | 391 | $sToRender .= renderDocumentSection("<a href=\"javascript:void();\" onClick=\"switchDiv('documentData');\">Document Data</a>"); |
| @@ -426,7 +426,7 @@ function getPage($oDocument, $bEdit) { | @@ -426,7 +426,7 @@ function getPage($oDocument, $bEdit) { | ||
| 426 | $sToRender = "<div id=\"headings\" style=\"position:absolute;visibility:visible;top:106px;left:132px;\">"; | 426 | $sToRender = "<div id=\"headings\" style=\"position:absolute;visibility:visible;top:106px;left:132px;\">"; |
| 427 | } | 427 | } |
| 428 | 428 | ||
| 429 | - $sToRender .= renderHeading("Document Detail"); | 429 | + $sToRender .= renderHeading(_("Document Detail")); |
| 430 | $sToRender .= renderDocumentPath($oDocument) . "\n\n"; | 430 | $sToRender .= renderDocumentPath($oDocument) . "\n\n"; |
| 431 | $sToRender .= "<table border=\"0\" width=\"530\">"; | 431 | $sToRender .= "<table border=\"0\" width=\"530\">"; |
| 432 | $sToRender .= renderDocumentSection("<a href=\"javascript:void();\" onClick=\"switchDiv('documentData');\">Document Data</a>"); | 432 | $sToRender .= renderDocumentSection("<a href=\"javascript:void();\" onClick=\"switchDiv('documentData');\">Document Data</a>"); |
| @@ -470,7 +470,7 @@ function getPage($oDocument, $bEdit) { | @@ -470,7 +470,7 @@ function getPage($oDocument, $bEdit) { | ||
| 470 | function getViewPage($oDocument) { | 470 | function getViewPage($oDocument) { |
| 471 | global $default; | 471 | global $default; |
| 472 | $iDocumentID = $oDocument->getID(); | 472 | $iDocumentID = $oDocument->getID(); |
| 473 | - $sToRender = renderHeading("Document Detail") . renderDocumentPath($oDocument) . "\n<br>\n"; | 473 | + $sToRender = renderHeading(_("Document Detail")) . renderDocumentPath($oDocument) . "\n<br>\n"; |
| 474 | 474 | ||
| 475 | $sToRender .= "<table>\n"; | 475 | $sToRender .= "<table>\n"; |
| 476 | $sToRender .= "<tr>\n"; | 476 | $sToRender .= "<tr>\n"; |
| @@ -528,7 +528,7 @@ function getViewPage($oDocument) { | @@ -528,7 +528,7 @@ function getViewPage($oDocument) { | ||
| 528 | */ | 528 | */ |
| 529 | function getCheckOutEditPage($oDocument, $bCheckedOut = false) { | 529 | function getCheckOutEditPage($oDocument, $bCheckedOut = false) { |
| 530 | global $default; | 530 | global $default; |
| 531 | - $sToRender = renderHeading("Document Detail") . renderDocumentPath($oDocument) . "\n<br>\n"; | 531 | + $sToRender = renderHeading(_("Document Detail")) . renderDocumentPath($oDocument) . "\n<br>\n"; |
| 532 | $sToRender .= "<table border = 0>\n"; | 532 | $sToRender .= "<table border = 0>\n"; |
| 533 | $sToRender .= "<tr>\n"; | 533 | $sToRender .= "<tr>\n"; |
| 534 | $sToRender .= "<td>\n"; | 534 | $sToRender .= "<td>\n"; |
| @@ -576,7 +576,7 @@ function getCheckOutEditPage($oDocument, $bCheckedOut = false) { | @@ -576,7 +576,7 @@ function getCheckOutEditPage($oDocument, $bCheckedOut = false) { | ||
| 576 | */ | 576 | */ |
| 577 | function getCheckInEditPage($oDocument) { | 577 | function getCheckInEditPage($oDocument) { |
| 578 | global $default; | 578 | global $default; |
| 579 | - $sToRender = renderHeading("Document Detail") . renderDocumentPath($oDocument) . "\n<br>\n"; | 579 | + $sToRender = renderHeading(_("Document Detail")) . renderDocumentPath($oDocument) . "\n<br>\n"; |
| 580 | $sToRender .= "<table border = 0>\n"; | 580 | $sToRender .= "<table border = 0>\n"; |
| 581 | $sToRender .= "<tr>\n"; | 581 | $sToRender .= "<tr>\n"; |
| 582 | $sToRender .= "<td>\n"; | 582 | $sToRender .= "<td>\n"; |
| @@ -613,7 +613,7 @@ function getWebPublishPage($oDocument) { | @@ -613,7 +613,7 @@ function getWebPublishPage($oDocument) { | ||
| 613 | 613 | ||
| 614 | $oPatternListBox = & new PatternListBox($default->web_sites_table, "web_site_name", "id", "fWebSiteID"); | 614 | $oPatternListBox = & new PatternListBox($default->web_sites_table, "web_site_name", "id", "fWebSiteID"); |
| 615 | 615 | ||
| 616 | - $sToRender = renderHeading("Document Detail") . renderDocumentPath($oDocument) . "\n<br>\n"; | 616 | + $sToRender = renderHeading(_("Document Detail")) . renderDocumentPath($oDocument) . "\n<br>\n"; |
| 617 | $sToRender .= "<table border = 0>\n"; | 617 | $sToRender .= "<table border = 0>\n"; |
| 618 | $sToRender .= "<tr>\n"; | 618 | $sToRender .= "<tr>\n"; |
| 619 | $sToRender .= "<td>\n"; | 619 | $sToRender .= "<td>\n"; |