Skip to content

Commit 045b791

Browse files
samtukeSam Tuke
authored andcommitted
Make info message use standard bootstrap class; Improve message wording
1 parent 4bb9ae7 commit 045b791

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

public_html/lists/admin/templates.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
if (isset($_GET['delete'])) {
88
// delete the index in delete
99
$delete = sprintf('%d', $_GET['delete']);
10-
echo s('Deleting')." $delete ...\n";
10+
echo '<div class="actionresult alert alert-info">';
11+
echo s('Template with ID')." $delete ".s('deleted');
12+
echo '</div>';
1113
$result = Sql_query('delete from '.$tables['template']." where id = $delete");
1214
$result = Sql_query('delete from '.$tables['templateimage']." where template = $delete");
13-
echo '... '.s('Done')."<br /><hr /><br />\n";
1415
}
1516
if (isset($_POST['defaulttemplate'])) {
1617
saveConfig('defaultmessagetemplate', sprintf('%d', $_POST['defaulttemplate']));

0 commit comments

Comments
 (0)