ro
b2493820e9
rather than make a massive downloadable archive file for ever image on the site (which still may happen), a method has been added to make copies of imags from an external site and store them on the fresh install based on the image list saved in the created back up file it's clean but some additional error checking is needed so the process does not crash out when a file can't be located and upon completion the user can be notified of what images did not make it over in the process
19 lines
862 B
PHP
19 lines
862 B
PHP
<div>
|
|
<a href="/dashboard">
|
|
<img class="logo-medium" src="/assets/images/global/fipamo-logo-secondary.svg"/>
|
|
</a>
|
|
</div>
|
|
<form id="init-restore" method="POST">
|
|
<input type="text" name="restore_former_url" id="restore_former_url" placeholder="previous site url"/>
|
|
<input type="text" name="restore_member_handle" id="restore_member_handle" placeholder="handle"/>
|
|
<input type="password" name="restore_member_pass" id="restore_member_pass" placeholder="password"/>
|
|
<div>
|
|
<label>Grab your backup zip</label>
|
|
<input id="backup-upload" type="file" name="backup-upload" placeholder="Backup Zip"/>
|
|
</div>
|
|
<br/><br/>
|
|
<button id="blog-restore" data-action='blog-restore' type='submit'>RESTORE</button>
|
|
<br/><br/>
|
|
<button class="init-option" id="init-switch-fresh">OR INSTALL FROM SCRATCH</button>
|
|
</form>
|