summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-17 11:47:01 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-17 11:47:01 -0400
commit3b14b7901c65144835d74b712279d0492c267c0c (patch)
tree9ce2b2053e00cda38030dbc0e2cba4c1db33c628 /actions
parentffc729453d487941e8a001d8a112c6509c892bc6 (diff)
fixes to make it all lint
Ran everything through php -l, found out that it didn't compile. So: fixed the am-I-running-in-Laconica check at the top of each file. Some syntax fixes in shownotice, showstream, common. darcs-hash:20080517154701-84dde-8d38da89c5b9cb3b40704adb04a4de880c204181.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/all.php2
-rw-r--r--actions/avatar.php2
-rw-r--r--actions/login.php2
-rw-r--r--actions/logout.php2
-rw-r--r--actions/newnotice.php2
-rw-r--r--actions/password.php2
-rw-r--r--actions/profilesettings.php2
-rw-r--r--actions/public.php2
-rw-r--r--actions/register.php2
-rw-r--r--actions/shownotice.php6
-rw-r--r--actions/showstream.php4
-rw-r--r--actions/subscribe.php2
-rw-r--r--actions/subscribed.php2
-rw-r--r--actions/subscriptions.php2
14 files changed, 17 insertions, 17 deletions
diff --git a/actions/all.php b/actions/all.php
index 8efaa5a82..f1a2229f0 100644
--- a/actions/all.php
+++ b/actions/all.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class AllAction extends ShowstreamAction {
diff --git a/actions/avatar.php b/actions/avatar.php
index b715e02de..2244e7c78 100644
--- a/actions/avatar.php
+++ b/actions/avatar.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class AvatarAction extends SettingsAction {
diff --git a/actions/login.php b/actions/login.php
index c37f92b79..3f096dc0c 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class LoginAction extends Action {
diff --git a/actions/logout.php b/actions/logout.php
index 3b6914411..b2f0628f2 100644
--- a/actions/logout.php
+++ b/actions/logout.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class LogoutAction extends Action {
function handle($args) {
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 40a196a23..b15232dec 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class NewnoticeAction extends Action {
diff --git a/actions/password.php b/actions/password.php
index 3fd94b66a..fb670ecc9 100644
--- a/actions/password.php
+++ b/actions/password.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class PasswordAction extends SettingsAction {
diff --git a/actions/profilesettings.php b/actions/profilesettings.php
index 95462133e..f46045dde 100644
--- a/actions/profilesettings.php
+++ b/actions/profilesettings.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class ProfilesettingsAction extends SettingsAction {
diff --git a/actions/public.php b/actions/public.php
index 8cb854fec..698f99195 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class PublicAction extends StreamAction {
diff --git a/actions/register.php b/actions/register.php
index 753c79ecb..80cc6aa7e 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class RegisterAction extends Action {
diff --git a/actions/shownotice.php b/actions/shownotice.php
index 2e14963bb..21784e4fd 100644
--- a/actions/shownotice.php
+++ b/actions/shownotice.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class ShownoticeAction extends Action {
@@ -64,8 +64,8 @@ class ShownoticeAction extends Action {
common_start_element('a', array('href' => $profile->profileurl,
'class' => 'nickname',
'title' =>
- ($profile->fullname) ? $profile->fullname :
- $profile->nickname)),
+ ($profile->fullname) ? $profile->fullname :
+ $profile->nickname),
$profile->nickname);
# FIXME: URL, image, video, audio
common_element('span', array('class' => 'content'),
diff --git a/actions/showstream.php b/actions/showstream.php
index 8272e1038..c477ae29b 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
define('SUBSCRIPTIONS_PER_ROW', 5);
define('SUBSCRIPTIONS', 80);
@@ -169,7 +169,7 @@ class ShowstreamAction extends StreamAction {
}
common_element('a', array('href' => common_local_url('subscriptions',
- array('profile' => $profile->nickname))
+ array('profile' => $profile->nickname)),
'class' => 'moresubscriptions'),
_t('All subscriptions'));
diff --git a/actions/subscribe.php b/actions/subscribe.php
index aab6c4b15..68fdd24e9 100644
--- a/actions/subscribe.php
+++ b/actions/subscribe.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class SubscribeAction extends Action {
function handle($args) {
diff --git a/actions/subscribed.php b/actions/subscribed.php
index f24470f02..d28ff237d 100644
--- a/actions/subscribed.php
+++ b/actions/subscribed.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class SubscribedAction extends Action {
diff --git a/actions/subscriptions.php b/actions/subscriptions.php
index 87b8a4e48..60ceb0c98 100644
--- a/actions/subscriptions.php
+++ b/actions/subscriptions.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
class SubscriptionsAction extends Action {