1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/adm/style/acp_database.html Wed Mar 07 16:41:10 2012 +0400
1.3 @@ -0,0 +1,98 @@
1.4 +<!-- INCLUDE overall_header.html -->
1.5 +
1.6 +<a name="maincontent"></a>
1.7 +
1.8 +<!-- IF MODE eq 'restore' -->
1.9 + <h1>{L_ACP_RESTORE}</h1>
1.10 +
1.11 + <p>{L_ACP_RESTORE_EXPLAIN}</p>
1.12 +
1.13 + <!-- IF .files -->
1.14 + <form id="acp_backup" method="post" action="{U_ACTION}">
1.15 +
1.16 + <fieldset>
1.17 + <legend>{L_RESTORE_OPTIONS}</legend>
1.18 + <dl>
1.19 + <dt><label for="file">{L_SELECT_FILE}:</label></dt>
1.20 + <dd><select id="file" name="file" size="10"><!-- BEGIN files --><option value="{files.FILE}"<!-- IF files.S_LAST_ROW --> selected="selected"<!-- ENDIF -->>{files.NAME}</option><!-- END files --></select></dd>
1.21 + </dl>
1.22 +
1.23 + <p class="submit-buttons">
1.24 + <input class="button1" type="submit" id="submit" name="submit" value="{L_START_RESTORE}" />
1.25 + <input class="button2" type="submit" id="delete" name="delete" value="{L_DELETE_BACKUP}" />
1.26 + <input class="button2" type="submit" id="download" name="download" value="{L_DOWNLOAD_BACKUP}" />
1.27 + </p>
1.28 + {S_FORM_TOKEN}
1.29 + </fieldset>
1.30 + </form>
1.31 + <!-- ELSE -->
1.32 + <div class="errorbox">
1.33 + <p>{L_ACP_NO_ITEMS}</p>
1.34 + </div>
1.35 + <!-- ENDIF -->
1.36 +
1.37 +<!-- ELSE -->
1.38 + <h1>{L_ACP_BACKUP}</h1>
1.39 +
1.40 + <p>{L_ACP_BACKUP_EXPLAIN}</p>
1.41 +
1.42 + <script type="text/javascript">
1.43 + // <![CDATA[
1.44 +
1.45 + function selector(bool)
1.46 + {
1.47 + var table = document.getElementById('table');
1.48 +
1.49 + for (var i = 0; i < table.options.length; i++)
1.50 + {
1.51 + table.options[i].selected = bool;
1.52 + }
1.53 + }
1.54 +
1.55 + // ]]>
1.56 + </script>
1.57 +
1.58 + <form id="acp_backup" method="post" action="{U_ACTION}">
1.59 +
1.60 + <fieldset>
1.61 + <legend>{L_BACKUP_OPTIONS}</legend>
1.62 + <dl>
1.63 + <dt><label for="type">{L_BACKUP_TYPE}:</label></dt>
1.64 + <dd><label><input type="radio" class="radio" name="type" value="full" id="type" checked="checked" /> {L_FULL_BACKUP}</label>
1.65 + <label><input type="radio" name="type" class="radio" value="structure" /> {L_STRUCTURE_ONLY}</label>
1.66 + <label><input type="radio" class="radio" name="type" value="data" /> {L_DATA_ONLY}</label></dd>
1.67 + </dl>
1.68 + <dl>
1.69 + <dt><label for="method">{L_FILE_TYPE}:</label></dt>
1.70 + <dd><!-- BEGIN methods -->
1.71 + <label><input name="method"<!-- IF methods.S_FIRST_ROW --> id="method" checked="checked"<!-- ENDIF --> type="radio" class="radio" value="{methods.TYPE}" /> {methods.TYPE}</label>
1.72 + <!-- END methods --></dd>
1.73 + </dl>
1.74 + <dl>
1.75 + <dt><label for="where">{L_ACTION}:</label></dt>
1.76 + <dd>
1.77 + <label><input id="where" type="radio" class="radio" name="where" value="store" checked="checked" /> {L_STORE_LOCAL}</label>
1.78 + <label><input type="radio" class="radio" name="where" value="download" /> {L_DOWNLOAD}</label>
1.79 + </dd>
1.80 + </dl>
1.81 + <dl>
1.82 + <dt><label for="table">{L_TABLE_SELECT}:</label></dt>
1.83 + <dd><select id="table" name="table[]" size="10" multiple="multiple">
1.84 + <!-- BEGIN tables -->
1.85 + <option value="{tables.TABLE}">{tables.TABLE}</option>
1.86 + <!-- END tables -->
1.87 + </select></dd>
1.88 + <dd><a href="#" onclick="selector(true); return false;">{L_SELECT_ALL}</a> :: <a href="#" onclick="selector(false); return false;">{L_DESELECT_ALL}</a></dd>
1.89 + </dl>
1.90 +
1.91 + <p class="submit-buttons">
1.92 + <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
1.93 + <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
1.94 + </p>
1.95 + {S_FORM_TOKEN}
1.96 + </fieldset>
1.97 + </form>
1.98 +
1.99 +<!-- ENDIF -->
1.100 +
1.101 +<!-- INCLUDE overall_footer.html -->