xref: /web-master/include/email-templates.inc (revision f14e88a6)
1<?php // vim: et ts=4 sw=4
2/* Mail Templates */
3
4function mt_approve_user($userinfo, $mailtext) {
5    $message =
6"Your VCS account ($userinfo[username]) was created.
7
8If you ever forget your password, you can reset it at:
9    https://master.php.net/forgot.php
10
11To change your password, or other information about you please login on:
12    https://master.php.net/manage/users.php?username=$userinfo[username]
13
14Your profile page will be created shortly and can be found at:
15    https://people.php.net/$userinfo[username]
16
17The $userinfo[username]@php.net forward to $userinfo[email] should
18be active within the next 24 hours.
19
20
21Please note: Before you can push to our repositories, please add your
22SSH Key on master (using the URL above).
23
24All our git repositories are listed at:
25    https://github.com/php/
26
27SVN is still used by certain projects (most notably docs):
28    http://svn.php.net/
29
30
31Welcome to the PHP development team! If you encounter any problems
32with your VCS account, feel free to send us a note at $mailtext.
33";
34    return $message;
35}
36
37function mt_remove_user($userinfo) {
38    $message =
39"Your VCS account ($userinfo[username]) was deleted.
40
41Feel free to send us a note at group@php.net to find out why this
42was done.";
43
44    return $message;
45}
46
47function mt_deny_user($userinfo) {
48    $message =
49"Your VCS account request ($userinfo[username]) was denied.
50
51The most likely reason is that you did not read the reasons for
52which VCS accounts are granted, and your request failed to meet
53the list of acceptable criteria.
54
55We urge you to make another appeal for a VCS account, but first
56it helps to write the appropriate list and:
57
58 * Introduce yourself
59 * Explain what you want to work on
60 * And show what work you've already done (patches)
61
62Choose a list that relates to your request:
63
64 * Internals:     internals@lists.php.net
65 * Documentation: phpdoc@lists.php.net
66 * PECL:          pecl-dev@lists.php.net
67 * PEAR:          pear-group@lists.php.net
68 * Other:         group@php.net
69
70PHP accounts are granted to developers who have earned the trust
71of existing PHP developers through patches, and have demonstrated
72the ability to work with others.
73";
74
75    return $message;
76}
77
78