Update plugin.php

This commit is contained in:
çağatay 2018-01-26 21:31:14 +03:00 committed by GitHub
parent 6b827a7c8e
commit 0bab2cdac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -66,7 +66,7 @@ class pluginBackup extends Plugin {
} }
$html = '<div>'; $html = '<div>';
$html .= '<button name="createBackup" value="true" class="left small blue" type="submit"><i class="uk-icon-plus"></i> '.$Language->get('Create backup').'</button>'; $html .= '<button name="createBackup" value="true" class="left small blue" type="submit"><i class="uk-icon-plus"></i> '.$Language->get('create-backup').'</button>';
$html .= '</div>'; $html .= '</div>';
$html .= '<hr>'; $html .= '<hr>';
@ -76,8 +76,8 @@ class pluginBackup extends Plugin {
$html .= '<div>'; $html .= '<div>';
$html .= '<h3>'.Date::format($filename, BACKUP_DATE_FORMAT, 'F j, Y, g:i a').'</h3>'; $html .= '<h3>'.Date::format($filename, BACKUP_DATE_FORMAT, 'F j, Y, g:i a').'</h3>';
$html .= '<a class="uk-button small left blue" href="'.DOMAIN_CONTENT.'backup/'.$basename.'"><i class="uk-icon-download"></i> '.$Language->get('Download').'</a>'; $html .= '<a class="uk-button small left blue" href="'.DOMAIN_CONTENT.'backup/'.$basename.'"><i class="uk-icon-download"></i> '.$Language->get('download').'</a>';
$html .= '<button name="restoreBackup" value="'.$basename.'" class="uk-button small left" type="submit"><i class="uk-icon-clock-o"></i> '.$Language->get('Restore backup').'</button>'; $html .= '<button name="restoreBackup" value="'.$basename.'" class="uk-button small left" type="submit"><i class="uk-icon-clock-o"></i> '.$Language->get('restore-backup').'</button>';
$html .= '</div>'; $html .= '</div>';
$html .= '<hr>'; $html .= '<hr>';
} }
@ -122,4 +122,4 @@ class pluginBackup extends Plugin {
return Filesystem::copyRecursive($tmp, PATH_CONTENT); return Filesystem::copyRecursive($tmp, PATH_CONTENT);
} }
} }