<html xmlns:sds=""><!-- #BeginTemplate "/Templates/wizard_normal_page.dwt" -->
<head>
<!-- #BeginEditable "doctitle" --> 
<title>Sharpdesk Search Setup</title>
<style>
@media all
{
  sds\:checklist {behavior:url(checklist.htc)}
}
</style>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link rel="stylesheet" href="search.css"/>
<style type="text/css">
HTML {width:450px; height:350px;}
</style>
</head>

<body bgcolor="#CCCCCC" text="#000000" topMargin="0" leftMargin="0">
<script language="JavaScript" src="search_errors.js"></script>
<script language="VBScript" src="vb_utils.js"></script>
<script language="JavaScript" src="search_index.js"></script>
<script language="JavaScript" src="index_wizard_common.js"></script>
<script language="JavaScript" src="math_utils.js"></script>

<!-- #BeginEditable "Script%20Area" -->
<script language="VBScript" src="vb_utils.js"></script>
<script language="JavaScript" src="ui_utils.js"></script>

<script language="JavaScript">
var mode;
var extensions;

function OnAllButtonClick()
{
  SelectAllCheckListItems(document.all.extension_list);
}

function OnNoneButtonClick()
{
  ClearAllCheckListItems(document.all.extension_list);
}

function OnDefaultButtonClick()
{
  // clear the entire list first
  ClearAllCheckListItems(document.all.extension_list);
  
  // select all extensions in the default list
  SelectCheckListItems(document.all.extension_list,
    GetDefaultExtensions());
}
</script>

<script language="JavaScript" for="window" event="onload()">
mode = GetURLParameter(location.search, "mode");
DisplayTitle(mode, "3", document.all.title_area);

SetCheckListItems(document.all.extension_list, GetExtensions());
SelectCheckListItems(document.all.extension_list, GetIncludedExtensions());
</script>

<script language="JavaScript" for="all_button" event="onclick()">
OnAllButtonClick();
</script>

<script language="JavaScript" for="none_button" event="onclick()">
OnNoneButtonClick();
</script>

<script language="JavaScript" for="set_to_default_button" event="onclick()">
OnDefaultButtonClick();
</script>

<script language="JavaScript" for="back_button" event="onclick()">
location = "index_wizard_step2.htm" + location.search;
</script>

<script language="JavaScript" for="next_button" event="onclick()">
extensions = GetSelectedCheckListItems(document.all.extension_list);
if(!IsIncludedExtensionSelected(extensions))
{
  alert(/*IDS_E_NOEXTENSION*/"Au moins une extension doit tre slectionne pour l'indexation.");
  return;
}

SetIncludedExtensions(extensions);

if(mode == "all")
  location = "index_wizard_step4.htm" + location.search;
else if(mode == "config")
  location = "index_wizard_step4_config.htm" + location.search;
else
  alert("Invalid mode specified.");
</script>
<!-- #EndEditable --> 

<script language="JavaScript" for="document" event="onreadystatechange()">
if(document.readyState == "complete")
  document.all.next_button.focus();
</script>

<script language="JavaScript" for="document" event="onkeydown()">
// backspace key must be ignored
if(event.keyCode == 8)
  event.returnValue = false;
</script>

<script language="JavaScript" for="cancel_button" event="onclick()">
mode = GetURLParameter(location.search, "mode");
if(ConfirmTerminate(mode))
{
  if(mode == "all")
    location = "index_wizard_incomplete.htm";
  else if(mode == "config")
    location = "index_wizard_config_incomplete.htm";
  else
    alert("Invalid mode specified.");
}
</script>
<table width="100%" border="0" cellpadding="5" cellspacing="5" bgcolor="#FFFFFF" height="35%">
  <tr height="100%">
    <td width="80%" valign="top">
	  <span id="title_area"></span>
	  <!-- #BeginEditable "Title" -->
      <!-- #EndEditable --><!-- #BeginEditable "Description" -->
	  <br/><br/><loc id="IDS_WIZ_STEP3_1">Slectionner toutes les extensions de fichier que vous souhaitez indexer. La Recherche Sharpdesk ne trouvera que les types de fichier que vous avez slectionns, dans les dossiers que vous avez choisis.

</loc>
	  <!-- #EndEditable --></td>
    <td width="20%"> 
      <div align="center"><img src="Images/Search.gif" width="48" height="48"/></div>
    </td>
  </tr>
</table>
<table width="100%" border="0" height="55%" cellpadding="0" cellspacing="0">
  <tr height="100%">
    <td valign="top"><!-- #BeginEditable "Work%20Area" -->
	<blockquote>
	<br/><loc id="IDS_EDIT_FILEEXTENSIONS">Extensions de fichier  indexer:</loc>
	<table width="85%" border="0" cellspacing="0" cellpadding="0" height="85%">
      <tr> 
        <td rowspan="3" width="60%">
		  <sds:checklist id="extension_list" width="100%" height="135" /> 
        </td>
        <td width="40%"> 
          <div align="center"> 
            <input type="button" name="all_button" value="Toutes" loc="value:id=IDS_BUTTON_ALL"/>
          </div>
        </td>
      </tr>
      <tr> 
        <td width="40%"> 
          <div align="center"> 
            <input type="button" name="none_button" value="Aucune" loc="value:id=IDS_BUTTON_NONE"/>
          </div>
        </td>
      </tr>
      <tr> 
        <td width="40%"> 
          <div align="center"> 
            <input type="button" name="set_to_default_button" value="Par dfaut" loc="value:id=IDS_BUTTON_DEFAULT"/>
          </div>
        </td>
      </tr>
    </table>
	</blockquote>
<!-- #EndEditable --></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC" height="10%">
  <tr> 
    <td width="40%" loc="width:id=ID_BTN_WIDTH_1"> </td>
    <td width="45%" loc="width:id=ID_BTN_WIDTH_2"> 
      <div align="left">
        <input type="button" name="back_button" value="&lt; Prcdent" loc="value:id=IDS_BUTTON_BACK"/>
        <input type="button" name="next_button" value="Suivant &gt;" loc="value:id=IDS_BUTTON_NEXT"/>
      </div>
    </td>
    <td width="15%"> 
      <div align="center">
        <input type="button" name="cancel_button" value="Annuler" loc="value:id=IDS_BUTTON_CANCEL"/>
      </div>
    </td>
  </tr>
</table>
</body>
<!-- #EndTemplate --></html>
