[Fusionforge-commits] r12009 - trunk/src/common/docman/views

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Sun Jan 16 23:32:53 CET 2011


Author: nerville
Date: 2011-01-16 23:32:52 +0100 (Sun, 16 Jan 2011)
New Revision: 12009

Modified:
   trunk/src/common/docman/views/listfile.php
Log:
add frontend for download as zip. backend must be implemented

Modified: trunk/src/common/docman/views/listfile.php
===================================================================
--- trunk/src/common/docman/views/listfile.php	2011-01-16 17:59:54 UTC (rev 12008)
+++ trunk/src/common/docman/views/listfile.php	2011-01-16 22:32:52 UTC (rev 12009)
@@ -219,14 +219,15 @@
 	echo $HTML->listTableBottom();
 	echo '</div>';
 	echo '<div class="docmanDiv">'.html_image('docman/new.png', '14', '14', array('alt'=>'new')).' : ' . _('Created or updated since less than 7 days') .'</div>';
-	echo '<div class="docmanDiv"><h4>'. _('Mass Actions') . '</h4>';
-	echo _('for selected files:');
+	echo '<div class="docmanDiv"><p>';
+	echo _('Mass Actions for selected files:');
 	echo '<a href="#" onClick="window.location.href=\'?group_id='.$group_id.'&action=trashfile&view=listfile&dirid='.$dirid.'&fileid=\'+controllerListFile.buildUrlByCheckbox()" class="docman-movetotrash" title="'. _('Move to trash') .'" >'.html_image('docman/trash-empty.png',22,22,array('alt'=>_('Move to trash'))). '</a>';
 	echo '<a href="#" onClick="window.location.href=\'?group_id='.$group_id.'&action=reservefile&view=listfile&dirid='.$dirid.'&fileid=\'+controllerListFile.buildUrlByCheckbox()" class="docman-reservefile" title="'. _('Reserve for later edition') .'" >'.html_image('docman/reserve-document.png',22,22,array('alt'=>_('Reserve'))). '</a>';
 	echo '<a href="#" onClick="window.location.href=\'?group_id='.$group_id.'&action=releasefile&view=listfile&dirid='.$dirid.'&fileid=\'+controllerListFile.buildUrlByCheckbox()" class="docman-releasereservation" title="'. _('Release reservation') .'" >'.html_image('docman/release-document.png',22,22,array('alt'=>_('Release reservation'))). '</a>';
 	echo '<a href="#" onClick="window.location.href=\'?group_id='.$group_id.'&action=monitorfile&option=add&view=listfile&dirid='.$dirid.'&fileid=\'+controllerListFile.buildUrlByCheckbox()" class="docman-monitorfile" title="'. _('Start monitoring') .'" >'.html_image('docman/monitor-adddocument.png',22,22,array('alt'=>_('Start monitoring'))). '</a>';
 	echo '<a href="#" onClick="window.location.href=\'?group_id='.$group_id.'&action=monitorfile&option=remove&view=listfile&dirid='.$dirid.'&fileid=\'+controllerListFile.buildUrlByCheckbox()" class="docman-monitorfile" title="'. _('Stop monitoring') .'" >'.html_image('docman/monitor-removedocument.png',22,22,array('alt'=>_('Stop monitoring'))). '</a>';
-	echo '</div>';
+	echo '<a href="#" id="docman-downloadaszip" title="'. _('Download as a zip') . '" >' . html_image('docman/download-directory-zip.png',22,22,array('alt'=>'downloadaszip')). '</a>';
+	echo '</p></div>';
 	include ($gfcommon.'docman/views/editfile.php');
 }
 ?>




More information about the Fusionforge-commits mailing list