Commit b09d5c18c91a25606ca85a7eba80e5447c611c46

Authored by nbm
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
tests/documentmanagement/viewUI.inc
... ... @@ -385,7 +385,7 @@ function getEditPage($oDocument) {
385 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 389 $sToRender .= renderDocumentPath($oDocument) . "\n\n";
390 390 $sToRender .= "<table border=\"0\" width=\"530\">";
391 391 $sToRender .= renderDocumentSection("<a href=\"javascript:void();\" onClick=\"switchDiv('documentData');\">Document Data</a>");
... ... @@ -426,7 +426,7 @@ function getPage($oDocument, $bEdit) {
426 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 430 $sToRender .= renderDocumentPath($oDocument) . "\n\n";
431 431 $sToRender .= "<table border=\"0\" width=\"530\">";
432 432 $sToRender .= renderDocumentSection("<a href=\"javascript:void();\" onClick=\"switchDiv('documentData');\">Document Data</a>");
... ... @@ -470,7 +470,7 @@ function getPage($oDocument, $bEdit) {
470 470 function getViewPage($oDocument) {
471 471 global $default;
472 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 475 $sToRender .= "<table>\n";
476 476 $sToRender .= "<tr>\n";
... ... @@ -528,7 +528,7 @@ function getViewPage($oDocument) {
528 528 */
529 529 function getCheckOutEditPage($oDocument, $bCheckedOut = false) {
530 530 global $default;
531   - $sToRender = renderHeading("Document Detail") . renderDocumentPath($oDocument) . "\n<br>\n";
  531 + $sToRender = renderHeading(_("Document Detail")) . renderDocumentPath($oDocument) . "\n<br>\n";
532 532 $sToRender .= "<table border = 0>\n";
533 533 $sToRender .= "<tr>\n";
534 534 $sToRender .= "<td>\n";
... ... @@ -576,7 +576,7 @@ function getCheckOutEditPage($oDocument, $bCheckedOut = false) {
576 576 */
577 577 function getCheckInEditPage($oDocument) {
578 578 global $default;
579   - $sToRender = renderHeading("Document Detail") . renderDocumentPath($oDocument) . "\n<br>\n";
  579 + $sToRender = renderHeading(_("Document Detail")) . renderDocumentPath($oDocument) . "\n<br>\n";
580 580 $sToRender .= "<table border = 0>\n";
581 581 $sToRender .= "<tr>\n";
582 582 $sToRender .= "<td>\n";
... ... @@ -613,7 +613,7 @@ function getWebPublishPage($oDocument) {
613 613  
614 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 617 $sToRender .= "<table border = 0>\n";
618 618 $sToRender .= "<tr>\n";
619 619 $sToRender .= "<td>\n";
... ...