Commit a2e1aa0c880a2c5f866d5a8a40d9320461c9694b

Authored by Michael Joseph
1 parent c9ad924b

updated display to show document file icons


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2131 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/administration/documentmanagement/archivedDocumentsUI.inc
... ... @@ -9,7 +9,7 @@
9 9 *
10 10 * @version $Revision$
11 11 * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa
12   - * @package presentation.lookAndFeel.knowledgeTree.administration.dopcumentmanagement
  12 + * @package presentation.lookAndFeel.knowledgeTree.administration.documentmanagement
13 13 */
14 14  
15 15 /**
... ... @@ -31,7 +31,7 @@ function renderStatusPage($aSuccessDocuments, $aErrorDocuments) {
31 31 $sToRender .= "<tr><td>There were errors restoring the following documents:</td></tr>\n";
32 32 $sToRender .= "<tr/><tr/>";
33 33 for ($i=0; $i<count($aErrorDocuments); $i++) {
34   - $sToRender .= "<tr><td>" . $aErrorDocuments[$i]->getDisplayPath() . "</td></tr>\n";
  34 + $sToRender .= "<tr><td>" . $aErrorDocuments[$i]->getDisplayPath(true) . "</td></tr>\n";
35 35 }
36 36 }
37 37 $sToRender .= "<tr/><tr/>";
... ... @@ -48,7 +48,7 @@ function renderRestoreConfirmationPage($aDocuments) {
48 48  
49 49 $sToRender = renderHeading("Restore Archived Documents");
50 50 $sToRender .= "<table>";
51   - $sToRender .= "<tr><td>The documents and folders you have chosen to restore from the archive are listed below.</td></tr>\n";
  51 + $sToRender .= "<tr><td>The documents you have chosen to restore from the archive are listed below.</td></tr>\n";
52 52 $sToRender .= "<tr><td>Click 'Restore' to confirm restoration, or 'Cancel' to abort.</td></tr>\n";
53 53 $sToRender .= "<tr/><tr/>";
54 54  
... ... @@ -57,7 +57,7 @@ function renderRestoreConfirmationPage($aDocuments) {
57 57 $sToRender .= "\t<tr>\n";
58 58 $sToRender .= "\t\t<td bgcolor=\"" . getColour($i) . "\">\n";
59 59 $sToRender .= "<input type=\"hidden\" name=\"fDocumentIDs[]\" value=\"" . $aDocuments[$i]->getID() . "\"/>\n";
60   - $sToRender .= $aDocuments[$i]->getDisplayPath() . "\n";
  60 + $sToRender .= $aDocuments[$i]->getDisplayPath(true) . "\n";
61 61 $sToRender .= "\t\t</td>\n";
62 62 $sToRender .= "\t</tr>\n";
63 63 }
... ... @@ -117,8 +117,8 @@ function renderArchivedDocumentsResultsPage($aDocuments) {
117 117 // and print document paths with checkboxes
118 118 $sToRender .= "\t<tr>\n";
119 119 $sToRender .= "\t\t<td bgcolor=\"" . getColour($i) . "\">\n";
120   - $sToRender .= "<input type=\"checkbox\" name=\"fDocumentIDs[]\" value=\"" . $aDocuments[$i]->getID() . "\"/>\n";
121   - $sToRender .= $aDocuments[$i]->getDisplayPath() . "\n";
  120 + $sToRender .= "<input type=\"checkbox\" name=\"fDocumentIDs[]\" value=\"" . $aDocuments[$i]->getID() . "\"/>\n";
  121 + $sToRender .= $aDocuments[$i]->getDisplayPath(true) . "\n";
122 122 $sToRender .= "\t\t</td>\n";
123 123 $sToRender .= "\t</tr>\n";
124 124 }
... ...