From 42fba5f57c333ff70f0cd64e48eafc3ecdf05d09 Mon Sep 17 00:00:00 2001 From: vargenau Date: Sun, 3 Aug 2008 17:25:41 +0000 Subject: [PATCH] Add message: "No file selected. Please select one." git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@6134 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/plugin/UpLoad.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/plugin/UpLoad.php b/lib/plugin/UpLoad.php index 543537303..3f6c8261d 100644 --- a/lib/plugin/UpLoad.php +++ b/lib/plugin/UpLoad.php @@ -1,5 +1,5 @@ pushContent($err_header); $message->pushContent(HTML::br(),_("Uploading failed."),HTML::br()); } + } else { + $message->pushContent(HTML::br(),_("No file selected. Please select one."),HTML::br()); } - /*else { - $message->pushContent(HTML::br(),HTML::br()); - }*/ //$result = HTML::div( array( 'class' => 'wikiaction' ) ); $result = HTML(); @@ -291,6 +290,9 @@ ws[cfh]"); } // $Log: not supported by cvs2svn $ +// Revision 1.29 2008/08/03 17:06:32 vargenau +// Add Open Document Format suffixes: odg, odp, ods, odt +// // Revision 1.28 2008/08/03 15:14:55 vargenau // Add slash to file_dir // -- 2.45.0