Struggeling with relocating
Dieser Commit ist enthalten in:
Commit
89ea01c429
301 geänderte Dateien mit 59926 neuen und 0 gelöschten Zeilen
24
tpl/restore/file_select_encoding.tpl
Normale Datei
24
tpl/restore/file_select_encoding.tpl
Normale Datei
|
|
@ -0,0 +1,24 @@
|
|||
<div id="content">
|
||||
<h2>{PAGETITLE}</h2>
|
||||
<h4>{L_DB}: {DATABASE}</h4>
|
||||
<p>{L_CHOOSE_CHARSET}</p>
|
||||
<form action="index.php?p=files&action=restore" method="post">
|
||||
<table>
|
||||
<tr>
|
||||
<td>{L_FM_CHOOSE_ENCODING}:</td>
|
||||
<td>
|
||||
<select name="sel_dump_encoding_restore">
|
||||
{ENCODING_SELECT}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<br />
|
||||
<input type="submit" name="restore" class="Formbutton" value="{L_FM_RESTORE}" />
|
||||
<input type="hidden" name="file[0]" value="{FILE_NAME}" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
218
tpl/restore/restore.tpl
Normale Datei
218
tpl/restore/restore.tpl
Normale Datei
|
|
@ -0,0 +1,218 @@
|
|||
<link rel="stylesheet" type="text/css" href="./js/highslide/highslide.css" />
|
||||
<script type="text/javascript" src="./js/highslide/highslide-with-html.js"></script>
|
||||
<script type="text/javascript">
|
||||
/*<![CDATA[*/
|
||||
hs.graphicsDir = './js/highslide/graphics/';
|
||||
hs.outlineType = 'rounded-white';
|
||||
hs.showCredits = false;
|
||||
hs.wrapperClassName = 'draggable-header';
|
||||
hs.height='600';
|
||||
hs.width='1000';
|
||||
/*]]>*/
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
/*<![CDATA[*/
|
||||
var scroll_log=true;
|
||||
function doRestore()
|
||||
{
|
||||
new Ajax.Request('ajax/restore_ajax.php?MySQLDumper={SESSION_ID}', { method:'get',
|
||||
onSuccess: function(transport,json){
|
||||
if (!(transport.responseText.substr(0,22)=='{"restore_in_progress"'))
|
||||
{
|
||||
// unnormal error returned
|
||||
var g = new Growler({location:"{NOTIFICATION_POSITION}", width:"650px"});
|
||||
g.growl(transport.responseText, {header:"<strong>{L_ERROR}<\/strong>:", className:"message", sticky:true, speedin: 1.2 });
|
||||
$('ajaxload').fade();
|
||||
}
|
||||
else
|
||||
{
|
||||
var json = transport.responseText.evalJSON(true);
|
||||
parseRestoreResponse(json);
|
||||
}
|
||||
},
|
||||
onFailure: function(){ alert('Something with the Ajax-Request went wrong...') }
|
||||
});
|
||||
}
|
||||
|
||||
function parseRestoreResponse(json)
|
||||
{
|
||||
// values that are only delivered at first page call and don't change in this run
|
||||
if (json['speed_min'])
|
||||
{
|
||||
$('speed_min').innerHTML = json['speed_min'];
|
||||
$('speed_max').innerHTML = json['speed_max'];
|
||||
$('dump_encoding').innerHTML=json['dump_encoding'];
|
||||
}
|
||||
$('filename').innerHTML=json['filename'];
|
||||
$('filename2').innerHTML=json['filename'];
|
||||
if (json['part']) $('part').innerHTML=json['part'];
|
||||
$('tables_to_create').innerHTML=json['tables_to_create'];
|
||||
$('records_done').innerHTML=json['records_done'];
|
||||
$('actual_table').innerHTML=json['actual_table'];
|
||||
$('page_refreshs').innerHTML=json['page_refreshs'];
|
||||
$('elapsed_time').innerHTML=json['elapsed_time'];
|
||||
$('estimated_end').innerHTML=json['estimated_end'];
|
||||
$('progress_file_percent').innerHTML=json['progress_file_percent'];
|
||||
$('nr_of_notices').innerHTML= json['nr_of_notices'];
|
||||
$('nr_of_errors').innerHTML=json['nr_of_errors'];
|
||||
if (json['progress_overall_percent']) $('progress_overall_percent').innerHTML = json['progress_overall_percent'];
|
||||
|
||||
// Logs
|
||||
if (json['actions']) {
|
||||
$('log').innerHTML+= json['actions']+'<br />';
|
||||
}
|
||||
if (json['errors']) $('log').innerHTML+= '<span class="error">'+json['errors']+'<\/span><br />';
|
||||
//scroll log to bottom
|
||||
if (scroll_log && (json['actions'] || json['errors'])) $('log').scrollTop = $('log').scrollHeight;
|
||||
|
||||
// progressbars
|
||||
$('progressbar_file').morph( 'progressbar_file', {
|
||||
style: 'width:'+json['progress_file_bar_width']+'px;',
|
||||
duration: 0.3
|
||||
});
|
||||
$('progressbar_overall').morph( 'progressbar_overall', {
|
||||
style: 'width:'+json['progress_overall_bar_width']+'px;',
|
||||
duration: 0.3
|
||||
});
|
||||
|
||||
$('speed').innerHTML=json['speed'];
|
||||
$('speedbar').morph( 'speedbar', {
|
||||
style: 'width:'+json['speedbar_width']+'px;',
|
||||
duration: 0.3
|
||||
});
|
||||
$('log2').innerHTML=$('log').innerHTML;
|
||||
if (json['restore_in_progress']==1) doRestore(); // Restore not finished -> continue
|
||||
else self.location.href='index.php?p=restore&action=done&MySQLDumper={SESSION_ID}';
|
||||
}
|
||||
Event.observe(window, 'load', doRestore);
|
||||
/*]]>*/
|
||||
</script>
|
||||
<div id="log-target"></div>
|
||||
<div id="content">
|
||||
<h2>{L_RESTORE}</h2>
|
||||
<form action="index.php?p=restore&MySQLDumper={SESSION_ID}" method="post"></form>
|
||||
|
||||
<h3>{DB_ON_SERVER}</h3>
|
||||
<table class="bdr">
|
||||
<tr class="dbrow">
|
||||
<td class="small">{L_FILE}:</td>
|
||||
<td class="small right"><span id="filename">{FILENAME}</span></td>
|
||||
</tr>
|
||||
<!-- BEGIN MULTIPART -->
|
||||
<tr class="dbrow">
|
||||
<td class="small">{L_MULTIPART_ACTUAL_PART}:</td>
|
||||
<td class="small right"><span id="part">{MULTIPART.PART}</span></td>
|
||||
</tr>
|
||||
<!-- END MULTIPART -->
|
||||
<tr class="dbrow1">
|
||||
<td class="small">{L_CHARSET}:</td>
|
||||
<td class="small right"><span id="dump_encoding">{CHARSET}</span></td>
|
||||
</tr>
|
||||
<tr class="dbrow">
|
||||
<td class="small" colspan="2"><span id="tables_to_create">{TABLES_TO_CREATE}</span></td>
|
||||
</tr>
|
||||
<tr class="dbrow1">
|
||||
<td class="small" colspan="2"><span id="records_done"></span></td>
|
||||
</tr>
|
||||
|
||||
<tr class="dbrow">
|
||||
<td class="small" colspan="2"><span id="actual_table"></span></td>
|
||||
</tr>
|
||||
<tr class="dbrow1">
|
||||
<td class="small">{L_ERROR}:</td>
|
||||
<td class="small right">
|
||||
<span id="nr_of_errors">0</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="dbrow">
|
||||
<td class="small">{L_NOTICES}:</td>
|
||||
<td class="small right">
|
||||
<span id="nr_of_notices">0</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="dbrow1" style="line-height:12px;"><td colspan="2"> </td></tr>
|
||||
<tr class="dbrow">
|
||||
<td class="small nowrap">{L_PROGRESS_FILE}:</td>
|
||||
<td class="small right"><strong><span id="filename2"></span></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<table style="width:400px">
|
||||
<tr>
|
||||
<td style="width:60px" class="small right nowrap"><span id="progress_file_percent">0</span> %</td>
|
||||
<td>
|
||||
<img src="{ICONPATH}progressbar_restore.gif" id="progressbar_file" alt="" width="0" height="16" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="dbrow1" style="line-height:12px;"><td colspan="2"> </td></tr>
|
||||
<tr class="dbrow">
|
||||
<td class="small">{L_RECORDS_PER_PAGECALL}:</td>
|
||||
<td>
|
||||
<table style="width:400px">
|
||||
<tr>
|
||||
<td style="width:60px" valign="top" class="small right">
|
||||
<span id="speed"></span>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<img src="{ICONPATH}progressbar_speed.gif" id="speedbar" alt="" width="0" height="14" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td class="nowrap small"><span id="speed_min"></span></td>
|
||||
<td class="nowrap small right"><span id="speed_max"></span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="dbrow1" style="line-height:12px;"><td colspan="2"> </td></tr>
|
||||
<tr class="dbrow">
|
||||
<td class="small nowrap">{L_PROGRESS_OVER_ALL}:</td>
|
||||
<td>
|
||||
<table style="width:400px">
|
||||
<tr>
|
||||
<td style="width:60px" class="small right nowrap"><span id="progress_overall_percent">0</span> %</td>
|
||||
<td>
|
||||
<img src="{ICONPATH}progressbar_restore.gif" id="progressbar_overall" alt="" width="0" height="16" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr class="dbrow1">
|
||||
<td class="small nowrap">{L_PAGE_REFRESHS}:</td>
|
||||
<td class="small right"><span id="page_refreshs">0</span></td>
|
||||
</tr>
|
||||
<tr class="dbrow">
|
||||
<td class="small nowrap">{L_DURATION}:</td>
|
||||
<td class="small right"><span id="elapsed_time"></span></td>
|
||||
</tr>
|
||||
<tr class="dbrow1">
|
||||
<td class="small nowrap">{L_ESTIMATED_END}:</td>
|
||||
<td class="small right"><span id="estimated_end"></span></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<h3>{L_LOG}</h3>
|
||||
|
||||
<a class="Formbutton" onclick="return hs.htmlExpand(this, { headingText: '{L_LOG}' })">{L_LOG}{ICON_PLUS}</a>
|
||||
|
||||
<div id="log" style="height:100px;overflow:auto;" class="bdr small" onmouseover="scroll_log=false" onmouseout="scroll_log=true"></div>
|
||||
|
||||
<div class="highslide-maincontent" >
|
||||
<div id="log2" class="highslide-body"></div>
|
||||
</div>
|
||||
|
||||
<br /><br />
|
||||
</div>
|
||||
106
tpl/restore/restorePrepare.tpl
Normale Datei
106
tpl/restore/restorePrepare.tpl
Normale Datei
|
|
@ -0,0 +1,106 @@
|
|||
<div id="content">
|
||||
<h2>{PAGETITLE}</h2>
|
||||
<form id="fm" method="post" action="index.php?p=files&action=restore">
|
||||
<p>
|
||||
<button class="Formbutton" name="restore" type="submit" onclick="if (!confirm('{L_FM_ALERTRESTORE1} `{DB_ACTUAL}` {L_FM_ALERTRESTORE2} `'+GetSelectedFilename()+'` {L_FM_ALERTRESTORE3}')) return false;">
|
||||
{ICON_RESTORE} {L_FM_RESTORE}
|
||||
</button>
|
||||
<button class="Formbutton" name="restore" onclick="$('select_tables').value=1;$('fm').submit();">
|
||||
{ICON_RESTORE} {L_RESTORE_OF_TABLES}
|
||||
</button>
|
||||
<input type="hidden" id="select_tables" name="select_tables" value="0" />
|
||||
<br /><span class="small">{L_SELECTED_FILE}: <span id="gd"> </span></span>
|
||||
</p>
|
||||
|
||||
<table class="bdr">
|
||||
<tr class="thead">
|
||||
<th colspan="12">{L_FM_FILES1} {L_OF} `{DB_ACTIVE}`:</th>
|
||||
</tr>
|
||||
<tr class="thead">
|
||||
<th colspan="3" class="left">{L_DB}</th>
|
||||
<th class="left">{L_FM_FILEDATE}</th>
|
||||
<th>{L_MULTI_PART}</th>
|
||||
<th class="left">{L_COMMENT}</th>
|
||||
<th class="right">{L_FM_TABLES}</th>
|
||||
<th class="right">{L_FM_RECORDS}</th>
|
||||
<th class="right">{L_FM_FILESIZE}</th>
|
||||
<th class="right">{L_ENCODING}</th>
|
||||
<th class="right">gz</th>
|
||||
<th class="right">Script</th>
|
||||
</tr>
|
||||
<!-- BEGIN FILE -->
|
||||
<tr class="{FILE.ROWCLASS}">
|
||||
<td colspan="3" class="nowrap">
|
||||
<input type="hidden" name="multipart[]" value="{FILE.NR_OF_MULTIPARTS}" />
|
||||
<!-- BEGIN IS_MULTIPART -->
|
||||
<input name="file[]" id="file_{FILE.FILE_INDEX}" type="radio" value="{FILE.FILE_NAME}" onclick="SetSelectedFile({FILE.FILE_INDEX},0);" />
|
||||
<!-- END IS_MULTIPART -->
|
||||
|
||||
<!-- BEGIN NO_MULTIPART -->
|
||||
<input name="file[]" id="file_{FILE.FILE_INDEX}" type="radio" value="{FILE.FILE_NAME}" onclick="SetSelectedFile({FILE.FILE_INDEX},1);" />
|
||||
<!-- END NO_MULTIPART -->
|
||||
<label for="file_{FILE.FILE_INDEX}" title="{L_SELECT_FILE}">{FILE.DB_NAME}</label>
|
||||
</td>
|
||||
<td class="nowrap">
|
||||
<label for="file_{FILE.FILE_INDEX}" title="{L_SELECT_FILE}">{FILE.FILE_CREATION_DATE}</label>
|
||||
</td>
|
||||
<td>
|
||||
<!-- BEGIN IS_MULTIPART -->
|
||||
<a style="font-size: 11px;" href="index.php?p=files&action=files&dbactive={FILE.DB_EXPAND_LINK}&expand={FILE.FILE_INDEX}">{ICON_VIEW} {FILE.NR_OF_MULTIPARTS} {FILE.IS_MULTIPART.FILES}</a>
|
||||
<!-- END IS_MULTIPART -->
|
||||
|
||||
<!-- BEGIN NO_MULTIPART -->
|
||||
{L_NO}
|
||||
<!-- END NO_MULTIPART -->
|
||||
</td>
|
||||
<td>{FILE.COMMENT}</td>
|
||||
<td class="right">{FILE.NR_OF_TABLES}</td>
|
||||
<td class="right">{FILE.NR_OF_RECORDS}</td>
|
||||
<td class="right">{FILE.FILESIZE}</td>
|
||||
<td class="right">{FILE.FILE_CHARSET}</td>
|
||||
<td class="right">{FILE.ICON_COMPRESSED}</td>
|
||||
<td class="right">{FILE.SCRIPT_VERSION}</td>
|
||||
</tr>
|
||||
<!-- END FILE -->
|
||||
|
||||
<!-- BEGIN NO_FILE_FOUND -->
|
||||
<tr class="dbrow1"><td colspan="12"><span class="error" style="width: 100%; display: block;">{DB_ACTUAL}: {L_FM_NOFILESFOUND}</span></td></tr>
|
||||
<!-- END NO_FILE_FOUND -->
|
||||
</table>
|
||||
|
||||
<table class="bdr">
|
||||
<tr class="thead">
|
||||
<th colspan="4">{L_FM_ALL_BU}:</th>
|
||||
</tr>
|
||||
<tr class="thead">
|
||||
<th class="left">{L_FM_DBNAME}</th>
|
||||
<th class="right">{L_FM_ANZ_BU}</th>
|
||||
<th class="right">{L_FM_LAST_BU}</th>
|
||||
<th class="right">{L_FM_TOTALSIZE}</th>
|
||||
</tr>
|
||||
|
||||
<!-- BEGIN DB -->
|
||||
<tr class="{DB.ROWCLASS}">
|
||||
<td class="left"><a href="index.php?p=files&action=restore&dbactive={DB.DB_NAME_LINK}" style="display: block">{ICON_VIEW} {DB.DB_NAME}</a></td>
|
||||
<td class="right">{DB.NR_OF_BACKUPS}</td>
|
||||
<td class="right nowrap">{DB.LATEST_BACKUP}</td>
|
||||
<td class="right">{DB.SUM_SIZE}</td>
|
||||
</tr>
|
||||
<!-- END DB -->
|
||||
|
||||
<tr class="dbrowsel {DB.ROWCLASS}">
|
||||
<td colspan="3"><strong>{L_FM_TOTALSIZE}:</strong></td>
|
||||
<td class="right" style="text-decoration: overline"><strong>{SUM_SIZE}</strong></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<br /><br /><br />
|
||||
</div>
|
||||
<!-- BEGIN MESSAGE -->
|
||||
<script type="text/javascript">
|
||||
/*<![CDATA[*/
|
||||
var g = new Growler({location:"{NOTIFICATION_POSITION}", width:"650px"});
|
||||
g.growl("{MESSAGE.TEXT}", {header:"<strong>{L_MESSAGE}<\/strong>:", className:"message",life: 4, speedin: 1.2 });
|
||||
/*]]>*/
|
||||
</script>
|
||||
<!-- END MESSAGE -->
|
||||
87
tpl/restore/restore_finished.tpl
Normale Datei
87
tpl/restore/restore_finished.tpl
Normale Datei
|
|
@ -0,0 +1,87 @@
|
|||
<div id="content">
|
||||
<h2>{L_RESTORE}</h2>
|
||||
<button class="Formbutton" onclick="self.location.href='index.php?p=files'">{ICON_OPEN_FILE} {L_FILE_MANAGE}</button>
|
||||
<button class="Formbutton" onclick="self.location.href='index.php?p=sql&action=list_databases'">{ICON_VIEW} {L_BACK_TO_OVERVIEW}</button>
|
||||
<button class="Formbutton" onclick="self.location.href='index.php?p=log'">{ICON_VIEW} {L_LOG}</button>
|
||||
<br />
|
||||
|
||||
<p class="small">{TIME_ELAPSED}, {PAGE_REFRESHS} {L_PAGE_REFRESHS}</p>
|
||||
|
||||
<br />
|
||||
<h4>{L_DONE}</h4>
|
||||
|
||||
{TABLES_CREATED}<br />
|
||||
{RECORDS_INSERTED}<br /><br />
|
||||
|
||||
<!-- BEGIN ERRORS -->
|
||||
<h3>{L_ERROR}:</h3>
|
||||
<div class="small" style="max-height:200px;overflow:auto">
|
||||
<table class="bdr">
|
||||
<tr class="thead">
|
||||
<th>#</th>
|
||||
<th>{L_TIMESTAMP}</th>
|
||||
<th>{L_ERROR}</th>
|
||||
</tr>
|
||||
|
||||
<!-- BEGIN ERROR -->
|
||||
<tr class="{ERRORS.ERROR.ROWCLASS} small">
|
||||
<td class="right small nowrap">{ERRORS.ERROR.NR}.</td>
|
||||
<td class="right small nowrap">{ERRORS.ERROR.TIMESTAMP}</td>
|
||||
<td class="small">{ERRORS.ERROR.MSG}</td>
|
||||
</tr>
|
||||
<!-- END ERROR -->
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<!-- END ERRORS -->
|
||||
|
||||
<h3>{L_LOG}:</h3>
|
||||
<div class="small" style="max-height:300px;overflow:auto">
|
||||
<table class="bdr">
|
||||
<tr class="thead">
|
||||
<th>#</th>
|
||||
<th>{L_TIMESTAMP}</th>
|
||||
<th>{L_ACTION}</th>
|
||||
</tr>
|
||||
|
||||
<!-- BEGIN ACTION -->
|
||||
<tr class="{ACTION.ROWCLASS} small">
|
||||
<td class="right small nowrap">{ACTION.NR}.</td>
|
||||
<td class="small nowrap">{ACTION.TIMESTAMP}</td>
|
||||
<td class="small">{ACTION.ACTION}</td>
|
||||
</tr>
|
||||
<!-- END ACTION -->
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- BEGIN NOTICES -->
|
||||
<br />
|
||||
<h3>{L_NOTICE}:</h3>
|
||||
<div class="small" style="max-height:200px;overflow:auto">
|
||||
<table class="bdr">
|
||||
<tr class="thead">
|
||||
<th>#</th>
|
||||
<th>{L_TIMESTAMP}</th>
|
||||
<th>{L_NOTICE}</th>
|
||||
</tr>
|
||||
|
||||
<!-- BEGIN NOTICE -->
|
||||
<tr class="{NOTICES.NOTICE.ROWCLASS} small">
|
||||
<td class="right small nowrap">{NOTICES.NOTICE.NR}.</td>
|
||||
<td class="right small nowrap">{NOTICES.NOTICE.TIMESTAMP}</td>
|
||||
<td class="small">
|
||||
{NOTICES.NOTICE.NOTICE}
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END NOTICE -->
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<!-- END NOTICES -->
|
||||
|
||||
<br />
|
||||
<button class="Formbutton" onclick="self.location.href='index.php?p=files'">{ICON_OPEN_FILE} {L_FILE_MANAGE}</button>
|
||||
<button class="Formbutton" onclick="self.location.href='index.php?p=sql&action=list_databases'">{ICON_VIEW} {L_BACK_TO_OVERVIEW}</button>
|
||||
<button class="Formbutton" onclick="self.location.href='index.php?p=log'">{ICON_VIEW} {L_LOG}</button>
|
||||
<br />
|
||||
</div>
|
||||
56
tpl/restore/selectTables.tpl
Normale Datei
56
tpl/restore/selectTables.tpl
Normale Datei
|
|
@ -0,0 +1,56 @@
|
|||
<div id="content">
|
||||
<h2>{PAGETITLE}</h2>
|
||||
<h3>{L_DB}: {DATABASE}</h3>
|
||||
|
||||
<form action="index.php?p=restore" id="frm_tbl" method="post">
|
||||
<div>
|
||||
<button type="button" class="Formbutton" onclick="checkAllCheckboxes('frm_tbl',true);">{ICON_OK} {L_SELECTALL}</button>
|
||||
<button type="button" class="Formbutton" onclick="checkAllCheckboxes('frm_tbl',false);">{ICON_DELETE} {L_DESELECTALL}</button>
|
||||
<button type="submit" class="Formbutton" name="restore_tbl" onclick="if (!tablesChecked('frm_tbl')) { alert('{L_SQL_NOTABLESSELECTED}'); return false };if (!confirm('{CONFIRM_RESTORE}')) return false;">{ICON_RESTORE} {L_RESTORE}</button>
|
||||
</div>
|
||||
|
||||
<table class="bdr">
|
||||
<tr class="thead">
|
||||
<th>#</th>
|
||||
<th>{L_NAME}</th>
|
||||
<th>{L_RESTORE}</th>
|
||||
<th>{L_INFO_RECORDS}</th>
|
||||
<th>{L_INFO_SIZE}</th>
|
||||
<th>{L_INFO_LASTUPDATE}</th>
|
||||
<th>{L_TABLE_TYPE}</th>
|
||||
</tr>
|
||||
<!-- BEGIN NO_MSD_BACKUP -->
|
||||
<tr>
|
||||
<td colspan="7">{L_NO_MSD_BACKUP}</td>
|
||||
</tr>
|
||||
<!-- END NO_MSD_BACKUP -->
|
||||
|
||||
<!-- BEGIN ROW -->
|
||||
<tr class="{ROW.CLASS}">
|
||||
<td class="right small">{ROW.NR}.</td>
|
||||
<td class="small">
|
||||
<label for="t{ROW.ID}" style="display:block">{ROW.TABLENAME}</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" class="checkbox" name="sel_tbl[]" id="t{ROW.ID}" value="{ROW.TABLENAME}" />
|
||||
<!--
|
||||
<input type="checkbox" class="checkbox" name="chk_tbl_data" id="t_data{ROW.ID}" value="{ROW.TABLENAME}" />
|
||||
-->
|
||||
</td>
|
||||
<td class="small right">
|
||||
<strong>{ROW.RECORDS}</strong>
|
||||
</td>
|
||||
<td class="small right">{ROW.SIZE}</td>
|
||||
<td class="small">{ROW.LAST_UPDATE}</td>
|
||||
<td class="small">{ROW.TABLETYPE}</td>
|
||||
</tr>
|
||||
<!-- END ROW -->
|
||||
</table>
|
||||
<p>
|
||||
<button type="button" class="Formbutton" onclick="checkAllCheckboxes('frm_tbl',true);">{ICON_OK} {L_SELECTALL}</button>
|
||||
<button type="button" class="Formbutton" onclick="checkAllCheckboxes('frm_tbl',false);">{ICON_DELETE} {L_DESELECTALL}</button>
|
||||
<button type="submit" class="Formbutton" name="restore_tbl" onclick="if (!tablesChecked('frm_tbl')) { alert('{L_SQL_NOTABLESSELECTED}'); return false };if (!confirm('{CONFIRM_RESTORE}')) return false;">{ICON_RESTORE} {L_RESTORE}</button>
|
||||
<input type="hidden" name="filename" value="{FILENAME}" />
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren