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,7 +9,7 @@
9 * 9 *
10 * @version $Revision$ 10 * @version $Revision$
11 * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa 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,7 +31,7 @@ function renderStatusPage($aSuccessDocuments, $aErrorDocuments) {
31 $sToRender .= "<tr><td>There were errors restoring the following documents:</td></tr>\n"; 31 $sToRender .= "<tr><td>There were errors restoring the following documents:</td></tr>\n";
32 $sToRender .= "<tr/><tr/>"; 32 $sToRender .= "<tr/><tr/>";
33 for ($i=0; $i<count($aErrorDocuments); $i++) { 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 $sToRender .= "<tr/><tr/>"; 37 $sToRender .= "<tr/><tr/>";
@@ -48,7 +48,7 @@ function renderRestoreConfirmationPage($aDocuments) { @@ -48,7 +48,7 @@ function renderRestoreConfirmationPage($aDocuments) {
48 48
49 $sToRender = renderHeading("Restore Archived Documents"); 49 $sToRender = renderHeading("Restore Archived Documents");
50 $sToRender .= "<table>"; 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 $sToRender .= "<tr><td>Click 'Restore' to confirm restoration, or 'Cancel' to abort.</td></tr>\n"; 52 $sToRender .= "<tr><td>Click 'Restore' to confirm restoration, or 'Cancel' to abort.</td></tr>\n";
53 $sToRender .= "<tr/><tr/>"; 53 $sToRender .= "<tr/><tr/>";
54 54
@@ -57,7 +57,7 @@ function renderRestoreConfirmationPage($aDocuments) { @@ -57,7 +57,7 @@ function renderRestoreConfirmationPage($aDocuments) {
57 $sToRender .= "\t<tr>\n"; 57 $sToRender .= "\t<tr>\n";
58 $sToRender .= "\t\t<td bgcolor=\"" . getColour($i) . "\">\n"; 58 $sToRender .= "\t\t<td bgcolor=\"" . getColour($i) . "\">\n";
59 $sToRender .= "<input type=\"hidden\" name=\"fDocumentIDs[]\" value=\"" . $aDocuments[$i]->getID() . "\"/>\n"; 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 $sToRender .= "\t\t</td>\n"; 61 $sToRender .= "\t\t</td>\n";
62 $sToRender .= "\t</tr>\n"; 62 $sToRender .= "\t</tr>\n";
63 } 63 }
@@ -117,8 +117,8 @@ function renderArchivedDocumentsResultsPage($aDocuments) { @@ -117,8 +117,8 @@ function renderArchivedDocumentsResultsPage($aDocuments) {
117 // and print document paths with checkboxes 117 // and print document paths with checkboxes
118 $sToRender .= "\t<tr>\n"; 118 $sToRender .= "\t<tr>\n";
119 $sToRender .= "\t\t<td bgcolor=\"" . getColour($i) . "\">\n"; 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 $sToRender .= "\t\t</td>\n"; 122 $sToRender .= "\t\t</td>\n";
123 $sToRender .= "\t</tr>\n"; 123 $sToRender .= "\t</tr>\n";
124 } 124 }