We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0156704 commit 54698f1Copy full SHA for 54698f1
public_html/lists/admin/defaultsystemtemplate.php
@@ -383,8 +383,9 @@
383
, $GLOBALS['tables']['template']
384
, $title
385
));
386
- $messages = '<div class="actionresult alert alert-info">';
+
387
if ($exists[0]) {
388
+ $messages = '<div class="actionresult alert alert-warning">';
389
$messages .= s('This default template already exists');
390
$messages .= '</div>';
391
echo $messages;
@@ -398,6 +399,7 @@
398
399
if ($title === 'System Template') {
400
saveConfig('systemmessagetemplate', $newid);
401
}
402
+ $messages = '<div class="actionresult alert alert-success">';
403
$messages .= s('The selected default template has been added as template with ID') . ' ' . $newid . ' ';
404
405
0 commit comments