This file is indexed.

/usr/share/IlohaMail/include/main_tools.inc is in ilohamail 0.8.14-0rc3sid6.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
/////////////////////////////////////////////////////////
//	
//	include/main.inc
//
//	(C)Copyright 2000-2002 Ryo Chijiiwa <Ryo@IlohaMail.org>
//
//	This file is part of IlohaMail. IlohaMail is free software released 
//	under the GPL license.  See enclosed file COPYING for details, or 
//	see http://www.fsf.org/copyleft/gpl.html
//
/////////////////////////////////////////////////////////
/*
	This file contains the main message list tools.
	(i.e. delete, mark read/unread, move controls)
*/

			reset($main_tool_fields); //$main_tool_fields is declared in main.php
			while ( list($k,$field)=each($main_tool_fields) ){
				$field_var_name = $field."_name";
				$$field_var_name = $field.($main_tool_shown?"_2":"");
			}
			
			echo "<table width=\"100%\"><tr>";
			echo "<td>";
			if (strcmp($folder,$my_prefs["trash_name"])==0){
				echo "<input type=\"hidden\" name=\"$expunge_name\" value=\"1\">\n";
				echo "<input type=\"submit\" name=\"$empty_trash_name\" value=\"".$mainStrings[11]."\">\n";
			}else{
				echo "<input type=\"submit\" name=\"$delete_selected_name\" value=\"".$mainStrings[10]."\">\n";
			}
			echo "</td><td><span class=mainLight>\n";
			if ($ICL_CAPABILITY["flags"]){			
				$flag_buttons = "<input type=\"submit\" name=\"$mark_read_name\" value=\"".$mainStrings[21]."\">\n";
				$flag_buttons.= "<input type=\"submit\" name=\"$mark_unread_name\" value=\"".$mainStrings[22]."\">\n";
				$flag_group = str_replace("%b", $flag_buttons, $mainStrings[20]);
				echo $flag_group."\n";
			}
			echo "</span></td><td align=\"right\">";
			if ($ICL_CAPABILITY["folders"]){
				if (!is_array($folderlist)){
					$clock->register("pre read cached folders");
					$cached_folders = cache_read($loginID, $host, "folders");
					$clock->register("post read cached folders");
					if (is_array($cached_folders)){
						echo "<!-- Read cache! ";
						echo "//-->\n";
						$folderlist = $cached_folders;
					}else{
						echo "<!-- No cache...";
						if ($my_prefs["hideUnsubscribed"]) $folderlist = iil_C_ListSubscribed($conn, $my_prefs["rootdir"], "*");
						else $folderlist = iil_C_ListMailboxes($conn, $my_prefs["rootdir"], "*");
						$cache_result = cache_write($loginID, $host, "folders", $folderlist);
						echo "write: $cache_result //-->\n";
					}
				}
				echo "<select name=\"$moveto_name\">\n";
				echo "<option value=\"\"></option>\n";
				RootedFolderOptions($folderlist, $defaults, $my_prefs["rootdir"]);
				echo "</select>";
				echo "<input type=submit name=\"$move_selected_name\" value=\"".$mainStrings[12]."\">";
			}
			echo "</td></tr></table>\n";
			
			$main_tool_shown = true;

?>