openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 72e35b7bdd3197abb7a912430f3afc7d1d740409
parent 23acd585847a90ea6bd1eed026b86179ab7bf365
Author: dankert <devnull@localhost>
Date:   Thu, 11 Sep 2008 21:04:39 +0200

Korrektur Rueckmeldung.

Diffstat:
actionClasses/FileAction.class.php | 3+--
actionClasses/FolderAction.class.php | 5++++-
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/actionClasses/FileAction.class.php b/actionClasses/FileAction.class.php @@ -597,8 +597,7 @@ class FileAction extends ObjectAction { $this->file->publish(); $this->file->publish->close(); - - $this->addNotice('file',$this->file->fullFilename,'PUBLISHED',$this->file->publish->ok?OR_NOTICE_OK:OR_NOTICE_ERROR,array(),$this->file->publish->log); + $this->addNotice('file',$this->file->fullFilename,'PUBLISHED'.($this->file->publish->ok?'':'_ERROR'),$this->file->publish->ok,array(),$this->file->publish->log); $this->callSubaction('pub'); } diff --git a/actionClasses/FolderAction.class.php b/actionClasses/FolderAction.class.php @@ -20,6 +20,9 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // --------------------------------------------------------------------------- // $Log$ +// Revision 1.47 2008-09-11 19:04:39 dankert +// Korrektur Rueckmeldung. +// // Revision 1.46 2007-12-23 16:05:00 dankert // Anzeigen der Ordner-Eigenschaften verbessert. // @@ -1268,7 +1271,7 @@ class FolderAction extends ObjectAction $list[] = $o['full_filename']; if ( !$publish->ok ) - $this->addNotice('folder',$this->folder->name,'ERROR',OR_NOTICE_ERROR,array(),$publish->log); + $this->addNotice('folder',$this->folder->name,'PUBLISHED_ERROR',OR_NOTICE_ERROR,array(),$publish->log); else $this->addNotice('folder',$this->folder->name,'PUBLISHED',OR_NOTICE_OK,array(),$list);