From 4bbbfc36c3ad29dbb5dbbf786555c8e07b1aa347 Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Wed, 21 Mar 2012 11:01:37 +0100 Subject: [PATCH] Not finished editing -> not published --- app/Controller/EventsController.php | 2 +- app/View/Events/index.ctp | 2 +- app/View/Events/view.ctp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Controller/EventsController.php b/app/Controller/EventsController.php index c3dd18f20..b7045b184 100644 --- a/app/Controller/EventsController.php +++ b/app/Controller/EventsController.php @@ -551,7 +551,7 @@ class EventsController extends AppController { $rules= array(); - // find events that are finished + // find events that are published $events = $this->Event->findAllByAlerted(1); $classtype = 'targeted-attack'; diff --git a/app/View/Events/index.ctp b/app/View/Events/index.ctp index 5c60c43a4..44de6bc98 100755 --- a/app/View/Events/index.ctp +++ b/app/View/Events/index.ctp @@ -32,7 +32,7 @@ Form->postLink('Publish Event', array('action' => 'alert', $event['Event']['id']), null, 'Are you sure this event is complete and everyone should be alerted?'); - elseif (0 == $event['Event']['alerted']) echo 'Not finished editing'; + elseif (0 == $event['Event']['alerted']) echo 'Not published'; ?> Form->postLink('Publish Event', array('action' => 'alert', $event['Event']['id']), null, 'Are you sure this event is complete and everyone should be alerted?'); ?> - +