mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Remove references to master.php.net
This commit is contained in:
@@ -277,21 +277,21 @@ VOTEDIV;
|
||||
$admin = "\n <span class=\"admin\">\n " .
|
||||
|
||||
make_popup_link(
|
||||
'https://master.php.net/manage/user-notes.php?action=edit+' . $id,
|
||||
'https://main.php.net/manage/user-notes.php?action=edit+' . $id,
|
||||
'<img src="/images/notes-edit@2x.png" height="12" width="12" alt="edit note">',
|
||||
'admin',
|
||||
'scrollbars=yes,width=650,height=400'
|
||||
) . "\n " .
|
||||
|
||||
make_popup_link(
|
||||
'https://master.php.net/manage/user-notes.php?action=reject+' . $id,
|
||||
'https://main.php.net/manage/user-notes.php?action=reject+' . $id,
|
||||
'<img src="/images/notes-reject@2x.png" height="12" width="12" alt="reject note">',
|
||||
'admin',
|
||||
'scrollbars=no,width=300,height=200'
|
||||
) . "\n " .
|
||||
|
||||
make_popup_link(
|
||||
'https://master.php.net/manage/user-notes.php?action=delete+' . $id,
|
||||
'https://main.php.net/manage/user-notes.php?action=delete+' . $id,
|
||||
'<img src="/images/notes-delete@2x.png" height="12" width="12" alt="delete note">',
|
||||
'admin',
|
||||
'scrollbars=no,width=300,height=200'
|
||||
|
||||
@@ -64,9 +64,9 @@ if (isset($_POST['maillist'])) {
|
||||
}
|
||||
$remote_addr = i2c_realip();
|
||||
|
||||
// Get in contact with master server to [un]subscribe the user
|
||||
// Get in contact with main server to [un]subscribe the user
|
||||
$result = posttohost(
|
||||
"http://master.php.net/entry/subscribe.php",
|
||||
"http://main.php.net/entry/subscribe.php",
|
||||
array(
|
||||
"request" => $request,
|
||||
"email" => $_POST['email'],
|
||||
|
||||
@@ -115,8 +115,8 @@ if ($process) {
|
||||
}
|
||||
|
||||
if (isset($_POST['action']) && $_POST['action'] === 'Submit' && empty($errors)) {
|
||||
// Submit to master.php.net
|
||||
$result = posttohost("http://master.php.net/entry/event.php", $_POST);
|
||||
// Submit to main.php.net
|
||||
$result = posttohost("http://main.php.net/entry/event.php", $_POST);
|
||||
if ($result) {
|
||||
$errors[] = "There was an error processing your submission: $result";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user