From fa184df35517a261dc2eb70136566f8be2da5984 Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" Date: Wed, 11 Oct 2006 06:14:41 +0000 Subject: [PATCH] Correct some grammar, fix favicon display, and include a correction from Ryan for an issue with invites that was found by fligtar. git-svn-id: svn://10.0.0.236/trunk@213487 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/partytool/controllers/parties_controller.php | 4 ++-- mozilla/webtools/partytool/views/layouts/default.thtml | 4 ++-- mozilla/webtools/partytool/views/parties/invited.thtml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mozilla/webtools/partytool/controllers/parties_controller.php b/mozilla/webtools/partytool/controllers/parties_controller.php index dd74d31bf3d..0c11ccca2b0 100644 --- a/mozilla/webtools/partytool/controllers/parties_controller.php +++ b/mozilla/webtools/partytool/controllers/parties_controller.php @@ -243,8 +243,8 @@ class PartiesController extends AppController { $this->pageTitle = "Invite a Guest"; if (is_numeric($id)) { $party = $this->Party->findById($id); - if (empty($party['Party']['id']) && - $party['Party']['owner'] !== $_SESSION['User']['id']) + if (empty($party['Party']['id']) || + $party['Party']['owner'] != $_SESSION['User']['id']) $this->redirect('/parties/view/all'); else { diff --git a/mozilla/webtools/partytool/views/layouts/default.thtml b/mozilla/webtools/partytool/views/layouts/default.thtml index e78d0658f7d..5386ce2ee61 100755 --- a/mozilla/webtools/partytool/views/layouts/default.thtml +++ b/mozilla/webtools/partytool/views/layouts/default.thtml @@ -4,7 +4,7 @@ <?php echo APP_NAME." - ".$title_for_layout?> - + @@ -37,4 +37,4 @@ - \ No newline at end of file + diff --git a/mozilla/webtools/partytool/views/parties/invited.thtml b/mozilla/webtools/partytool/views/parties/invited.thtml index edbf108d8e0..4ee03b344d3 100755 --- a/mozilla/webtools/partytool/views/parties/invited.thtml +++ b/mozilla/webtools/partytool/views/parties/invited.thtml @@ -5,7 +5,7 @@

New User

-

Simply register for an account and you'll be added as a guest as soon as you finish. +

Simply register for an account, and you'll be added as a guest as soon as you finish. Create account »

@@ -33,4 +33,4 @@ if (isset($party) && isset($confirm_only)): ?>

You've been invited to attend . To join this party, click here, or cancel this invitation by clicking here.

- \ No newline at end of file +