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

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Wed Oct 13 17:22:31 CEST 2010


Author: nerville
Date: 2010-10-13 17:22:30 +0200 (Wed, 13 Oct 2010)
New Revision: 10967

Modified:
   trunk/src/common/docman/views/admin.php
   trunk/src/common/docman/views/listtrashfile.php
Log:
cleaner button/action

Modified: trunk/src/common/docman/views/admin.php
===================================================================
--- trunk/src/common/docman/views/admin.php	2010-10-12 21:57:03 UTC (rev 10966)
+++ trunk/src/common/docman/views/admin.php	2010-10-13 15:22:30 UTC (rev 10967)
@@ -71,7 +71,7 @@
 	echo '<div id="adminoptions" style="display:none;" >';
 	echo '<form id="backup" name="backup" method="post" action="'. util_make_url ('/docman/view.php/'.$group_id.'/backup') .'" >';
 	echo '<ul>';
-	echo '<li>'. _('Extract documents and directories as an archive') .' <input id="submitbackup" type="button" value="Yes" onclick="javascript:doIt(\'backup\')"></li>';
+	echo '<li><input id="submitbackup" type="button" value="'. _('Extract documents and directories as an archive') .'" onclick="javascript:doIt(\'backup\')"></li>';
 	echo '</ul>';
 	echo '</form>';
 	echo '<form id="searchengine" name="searchengine" method="post" action="?group_id='.$group_id.'&action=updateenginesearch" >';
@@ -84,7 +84,7 @@
 		$labelSearchEngine = _('Disable Search Engine');
 	}
 
-	echo '<li>'.$labelSearchEngine.' <input name="status" type="hidden" value="'.$searchEngineStatus.'"><input id="submitsearchengine" type="button" value="Yes" onclick="javascript:doIt(\'searchengine\')"></li>';
+	echo '<li><input name="status" type="hidden" value="'.$searchEngineStatus.'"><input id="submitsearchengine" type="button" value="'.$labelSearchEngine.'" onclick="javascript:doIt(\'searchengine\')"></li>';
 	echo '</ul>';
 	echo '</form>';
 
@@ -92,7 +92,7 @@
 		if ($d_arr || count($d_arr) > 1) {
 			echo '<form id="reindexword" name="reindexword" method="post" action="?group_id='.$group_id.'&action=forcereindexenginesearch">';
 			echo '<ul>';
-			echo '<li>'. _('Force reindexation search engine') .' <input name="status" type="hidden" value="1"><input id="submitreindexword" type="button" value="Yes" onclick="javascript:doIt(\'reindexword\')"></li>';
+			echo '<li><input name="status" type="hidden" value="1"><input id="submitreindexword" type="button" value="'. _('Force reindexation search engine') .'" onclick="javascript:doIt(\'reindexword\')"></li>';
 			echo '</ul>';
 			echo '</form>';
 		}

Modified: trunk/src/common/docman/views/listtrashfile.php
===================================================================
--- trunk/src/common/docman/views/listtrashfile.php	2010-10-12 21:57:03 UTC (rev 10966)
+++ trunk/src/common/docman/views/listtrashfile.php	2010-10-13 15:22:30 UTC (rev 10967)
@@ -49,7 +49,7 @@
 <?php
 	echo '<form id="emptytrash" name="emptytrash" method="post" action="?group_id='.$group_id.'&action=emptytrash" >';
 	echo '<ul>';
-	echo '<li>'. _('Delete permanently all documents and document groups with deleted status ') .' <input id="submitemptytrash" type="button" value="Yes" onclick="javascript:doIt(\'emptytrash\')" ></li>';
+	echo '<li><input id="submitemptytrash" type="button" value="'. _('Delete permanently all documents and document groups with deleted status ') .'" onclick="javascript:doIt(\'emptytrash\')" ></li>';
 	echo '</ul>';
 	echo '</form>';
 	echo '<ul>';




More information about the Fusionforge-commits mailing list