summaryrefslogtreecommitdiff
path: root/actions/invite.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-23 14:21:29 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-23 14:21:29 -0500
commiteb2f9c98ac115ce67e9a740b200c832153ffa05c (patch)
tree562e524f12420a97fc66a5c9db0ccd6a1f9aea09 /actions/invite.php
parentedbc0c665cc65875b4d14b79939233b1c9c06bb6 (diff)
replace NULL with null
Another global search-and-replace update. Here, I've replaced the PHP keyword 'NULL' with its lowercase version. This is another PEAR code standards change. darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
Diffstat (limited to 'actions/invite.php')
-rw-r--r--actions/invite.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/actions/invite.php b/actions/invite.php
index e5cc6ad01..feef94d0f 100644
--- a/actions/invite.php
+++ b/actions/invite.php
@@ -85,49 +85,49 @@ class InviteAction extends Action {
common_show_header(_('Invitation(s) sent'));
if ($already) {
- common_element('p', NULL, _('You are already subscribed to these users:'));
+ common_element('p', null, _('You are already subscribed to these users:'));
common_element_start('ul');
foreach ($already as $other) {
- common_element('li', NULL, sprintf(_('%s (%s)'), $other->nickname, $other->email));
+ common_element('li', null, sprintf(_('%s (%s)'), $other->nickname, $other->email));
}
common_element_end('ul');
}
if ($subbed) {
- common_element('p', NULL, _('These people are already users and you were automatically subscribed to them:'));
+ common_element('p', null, _('These people are already users and you were automatically subscribed to them:'));
common_element_start('ul');
foreach ($subbed as $other) {
- common_element('li', NULL, sprintf(_('%s (%s)'), $other->nickname, $other->email));
+ common_element('li', null, sprintf(_('%s (%s)'), $other->nickname, $other->email));
}
common_element_end('ul');
}
if ($sent) {
- common_element('p', NULL, _('Invitation(s) sent to the following people:'));
+ common_element('p', null, _('Invitation(s) sent to the following people:'));
common_element_start('ul');
foreach ($sent as $other) {
- common_element('li', NULL, $other);
+ common_element('li', null, $other);
}
common_element_end('ul');
- common_element('p', NULL, _('You will be notified when your invitees accept the invitation and register on the site. Thanks for growing the community!'));
+ common_element('p', null, _('You will be notified when your invitees accept the invitation and register on the site. Thanks for growing the community!'));
}
common_show_footer();
}
- function show_top($error=NULL) {
+ function show_top($error=null) {
if ($error) {
common_element('p', 'error', $error);
} else {
common_element_start('div', 'instructions');
- common_element('p', NULL,
+ common_element('p', null,
_('Use this form to invite your friends and colleagues to use this service.'));
common_element_end('div');
}
}
- function show_form($error=NULL) {
+ function show_form($error=null) {
global $config;
- common_show_header(_('Invite new users'), NULL, $error, array($this, 'show_top'));
+ common_show_header(_('Invite new users'), null, $error, array($this, 'show_top'));
common_element_start('form', array('method' => 'post',
'id' => 'invite',