@@ -33,12 +47,12 @@ case "${PATH_INFO}" in *) return 1;; esac -l10n_movepage 2>&1 >/dev/null \ +l10n_movepage >/dev/null 2>&1 \ || l10n_movepage(){ # TRANSLATION cat <<-EOF
Move Page
$(HTML "${page}")
- +- A page with the same name must not already exist at the new location.
- You must have permission to create new pages at this location. @@ -49,12 +63,12 @@ l10n_movepage 2>&1 >/dev/null \ EOF } -l10n_renamepage 2>&1 >/dev/null \ +l10n_renamepage >/dev/null 2>&1 \ || l10n_renamepage(){ # TRANSLATION cat <<-EOF
- A page with the new name must not already exist.
- You must have permission to create new pages at this location. @@ -65,32 +79,59 @@ l10n_renamepage 2>&1 >/dev/null \ EOF } -l10n_deletepage 2>&1 >/dev/null \ +l10n_deletepage >/dev/null 2>&1 \ || l10n_deletepage(){ # TRANSLATION cat <<-EOF
- Past revisions of the page text (including the current one) will remain accessible and can be restored. -
- Attachments will be deleted completely, and cannot be restored. -
- Subpages will not be affected and can still be accessed normally. + EOF + [ "$REV_PAGES" = true ] \ + && printf '
- Past revisions of the page text (including the current one) will remain accessible and can be restored. ' + [ "$REV_PAGES" = true -a "$REV_ATTACHMENTS" = true ] \ + && printf '
- Attachments can be restored as well. ' \ + || printf '
- Attachments will be deleted completely, and cannot be restored. ' + cat <<-EOF +
- Subpages will not be affected and can still be accessed normally.
Rename Page
$(HTML "${page}")
- +Delete Page
$(HTML "${page}")
This page and its attachments will be deleted
+-
-