web_backup_list.htm 1.87 KB
Newer Older
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
<tmpl_if name="msg">
	<div id="OKMsg"><p><tmpl_var name="msg"></p></div>
</tmpl_if>
<tmpl_if name="error">
	<div id="errorMsg"><h3>ERROR</h3><ol><tmpl_var name="error"></ol></div>
</tmpl_if>
<h3><tmpl_var name="list_head_txt"></h3>
  <div class="pnl_listarea">
    <fieldset><legend><tmpl_var name="list_head_txt"></legend>
      <table class="list">
        <thead>
          <tr>
            <th class="tbl_col_date" scope="col"><tmpl_var name="date_txt"></th>
			<th class="tbl_col_date" scope="col"><tmpl_var name="backup_type_txt"></th>
			<th class="tbl_col_filename" scope="col"><tmpl_var name="filename_txt"></th>
            <th class="tbl_col_buttons" scope="col">&nbsp;</th>
          </tr>
        </thead>
        <tbody>
          <tmpl_loop name="records">
          <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
            <td class="tbl_col_date">{tmpl_var name="date"}</td>
			<td class="tbl_col_date">{tmpl_var name="backup_type"}</td>
			<td class="tbl_col_filename">{tmpl_var name="filename"}</td>
            <td class="tbl_col_buttons" style="width:300px;">
              <div class="buttons" >
                <button class="iconstxt icoRestore" type="button" onClick="confirm_action('sites/web_domain_edit.php?id={tmpl_var name='parent_id'}&next_tab=backup&backup_action=restore&backup_id={tmpl_var name='backup_id'}','{tmpl_var name='restore_confirm_txt'}');">
					<span>{tmpl_var name="restore_backup_txt"}</span>
				</button>
				<button class="iconstxt icoDownload" type="button" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='parent_id'}&next_tab=backup&backup_action=download&backup_id={tmpl_var name='backup_id'}');">
					<span>{tmpl_var name="download_backup_txt"}</span>
				</button>
              </div>
            </td>
          </tr>
          </tmpl_loop>
        </tbody>
      </table>
    </fieldset>
  </div>