sub DoDeletePage { ... - if ($ConfirmDel && !&GetParam('confirm', 0)) { + if ($ConfirmDel && !&GetParam('confirm', 0) && ($id ne $HomePage)) {
sub GetAdminBar { ... $result .= &GetPageLockLink($id, 1, T('Lock page')); } + if ($id eq $HomePage) { + $result .= " | " . Ts('Page non-deletable') + } else { $result .= " | " . &GetDeleteLink($id, T('Delete this page'), 0); + }I put this in 'Possible Bugs' but it can also to be considered just another design question, then it would go to 'Not A Bug, or Will Not Fix'.
The only reasoning is to save some clicks. --JuanmaMP