Fossil SCM
Show the menu of trouble-shooting options to administrators at the bottom of the /announce page.
Commit
c98eec22c29a4abc20fe3841b0a57b744c9f00eb462f8dec7edbf32527bca865
Parent
8266b5b3cf8b25d…
1 file changed
+13
+13
| --- src/alerts.c | ||
| +++ src/alerts.c | ||
| @@ -3642,7 +3642,20 @@ | ||
| 3642 | 3642 | @ <td><input type="submit" name="submit" value="Send Message"> |
| 3643 | 3643 | } |
| 3644 | 3644 | @ </tr> |
| 3645 | 3645 | @ </table> |
| 3646 | 3646 | @ </form> |
| 3647 | + if( g.perm.Setup ){ | |
| 3648 | + @ <hr> | |
| 3649 | + @ <p>Trouble-shooting Options:</p> | |
| 3650 | + @ <ol> | |
| 3651 | + @ <li> <a href="%R/announce">Normal Processing</a> | |
| 3652 | + @ <li> Only <a href="%R/announce/test1">show POST parameters</a> | |
| 3653 | + @ - Do not send the announcement. | |
| 3654 | + @ <li> <a href="%R/announce/test2">Show the email text</a> but do | |
| 3655 | + @ not actually send it. | |
| 3656 | + @ <li> Send the message and also <a href="%R/announce/test3">show the | |
| 3657 | + @ SMTP traffic</a> when using "relay" mode. | |
| 3658 | + @ </ol> | |
| 3659 | + } | |
| 3647 | 3660 | style_finish_page(); |
| 3648 | 3661 | } |
| 3649 | 3662 |
| --- src/alerts.c | |
| +++ src/alerts.c | |
| @@ -3642,7 +3642,20 @@ | |
| 3642 | @ <td><input type="submit" name="submit" value="Send Message"> |
| 3643 | } |
| 3644 | @ </tr> |
| 3645 | @ </table> |
| 3646 | @ </form> |
| 3647 | style_finish_page(); |
| 3648 | } |
| 3649 |
| --- src/alerts.c | |
| +++ src/alerts.c | |
| @@ -3642,7 +3642,20 @@ | |
| 3642 | @ <td><input type="submit" name="submit" value="Send Message"> |
| 3643 | } |
| 3644 | @ </tr> |
| 3645 | @ </table> |
| 3646 | @ </form> |
| 3647 | if( g.perm.Setup ){ |
| 3648 | @ <hr> |
| 3649 | @ <p>Trouble-shooting Options:</p> |
| 3650 | @ <ol> |
| 3651 | @ <li> <a href="%R/announce">Normal Processing</a> |
| 3652 | @ <li> Only <a href="%R/announce/test1">show POST parameters</a> |
| 3653 | @ - Do not send the announcement. |
| 3654 | @ <li> <a href="%R/announce/test2">Show the email text</a> but do |
| 3655 | @ not actually send it. |
| 3656 | @ <li> Send the message and also <a href="%R/announce/test3">show the |
| 3657 | @ SMTP traffic</a> when using "relay" mode. |
| 3658 | @ </ol> |
| 3659 | } |
| 3660 | style_finish_page(); |
| 3661 | } |
| 3662 |