Skip to content

Commit

Permalink
Replace decorative image with fontawesome
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Oct 16, 2018
1 parent f43d909 commit 821a139
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion front/backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ function backupMySql($DB, $dumpFile, $duree, $rowlimit) {
echo "<br/>" . __('You should rather use a dedicated tool on your server.');
echo "</li></ul></div>";
echo "</td></tr><tr><td>";
echo "<img src='".$CFG_GLPI["root_doc"]."/pics/sauvegardes.png' alt=\"".__s('Deleted')."\">".
echo "<i class='fa fa-save fa-3x'></i>";
"</td>";
echo "<td><a class='vsubmit'
href=\"#\" ".HTML::addConfirmationOnAction(__('Backup the database?'),
Expand Down
8 changes: 6 additions & 2 deletions inc/rulecollection.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -805,8 +805,12 @@ static function titleBackup() {
$buttons["{$CFG_GLPI["root_doc"]}/front/rule.backup.php?action=import"] = _x('button', 'Import');
$buttons["{$CFG_GLPI["root_doc"]}/front/rule.backup.php?action=export"] = _x('button', 'Export');

Html::displayTitle($CFG_GLPI["root_doc"] . "/pics/sauvegardes.png",
_n('User', 'Users', Session::getPluralNumber()), $title, $buttons);
echo "<div class='center'><table class='tab_glpi'><tr>";
echo "<td><i class='fa fa-save fa-3x'></i></td>";
foreach ($buttons as $key => $val) {
echo "<td><a class='vsubmit' href='".$key."'>".$val."</a></td>";
}
echo "</tr></table></div>";
}


Expand Down
Binary file removed pics/sauvegardes.png
Binary file not shown.

0 comments on commit 821a139

Please sign in to comment.