{ft_include file='modules_header.tpl'}

  <table cellpadding="0" cellspacing="0">
  <tr>
    <td width="45"><img src="images/icon.png" width="34" height="34" /></td>
    <td class="title">
      <a href="../../admin/modules">{$LANG.word_modules}</a>
      <span class="joiner">&raquo;</span>
      <a href="./">{$L.module_name}</a>
      <span class="joiner">&raquo;</span>
      {$L.phrase_file_verification}
    </td>
  </tr>
  </table>

  {ft_include file="messages.tpl"}

  <div class="margin_bottom_large">
    {$L.text_file_verification_intro}
  </div>

  <table class="list_table" cellspacing="1" cellpadding="0" style="width: 600px">
  <tr>
    <th width="30"> </th>
    <th>{$L.phrase_component_type}</th>
    <th>{$L.word_component}</th>
    <th>{$LANG.word_version}</th>
    <th>{$L.word_result}</th>
  </tr>
  <tr>
    <td align="center"><input type="checkbox" class="components" value="core" checked="checked" /></td>
    <td class="pad_left_small medium_grey">Core</td>
    <td class="pad_left_small">Form Tools Core (includes default theme)</td>
    <td align="center" class="pad_left_small">{$core_version}</td>
    <td align="center">
      <span id="result__core" class="di_status untested">{$L.word_untested|upper}</span>
    </td>
  </tr>
  {foreach from=$module_list item=module_info}
  <tr>
    <td align="center"><input type="checkbox" class="components" value="module_{$module_info.module_id}" checked="checked" /></td>
    <td class="pad_left_small blue">{$LANG.word_module}</td>
    <td class="pad_left_small">{$module_info.module_name}</td>
    <td align="center" class="pad_left_small">{$module_info.version}</td>
    <td align="center">
      <span id="result__module_{$module_info.module_id}" class="di_status untested">{$L.word_untested|upper}</span>
    </td>
  </tr>
  {/foreach}
  {foreach from=$theme_list item=theme_info}
  <tr>
    <td align="center"><input type="checkbox" class="components" value="theme_{$theme_info.theme_id}" checked="checked" /></td>
    <td class="pad_left_small purple">{$LANG.word_theme}</td>
    <td class="pad_left_small">{$theme_info.theme_name}</td>
    <td align="center" class="pad_left_small">{$theme_info.theme_version}</td>
    <td align="center">
      <span id="result__theme_{$theme_info.theme_id}" class="di_status untested">{$L.word_untested|upper}</span>
    </td>
  </tr>
  {/foreach}
  </table>

  <p>
    <input type="button" value="{$L.phrase_test_selected_components}" onclick="sc_ns.start(sc_ns.init_component_file_test)" />
  </p>

  <table cellspacing="1" cellpadding="1" width="100%" class="log_table">
  <tr>
    <td class="full_log_heading">{$L.phrase_full_logs}</td>
    <td class="error_log_heading">{$L.phrase_error_logs}</td>
  </tr>
  <tr>
    <td>
      <textarea id="full_log"></textarea>
    </td>
    <td>
      <textarea id="error_log"></textarea>
    </td>
  </tr>
  </table>

{ft_include file='modules_footer.tpl'}
