diff options
author | cash <cash.costello@gmail.com> | 2011-06-19 20:18:03 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-06-19 20:18:03 -0400 |
commit | 79075fb578b1ba9834594c867530be43bc886101 (patch) | |
tree | 1e387b6ef1fd51063003f1b73d253745da1b16bc /mod/file | |
parent | 48f628e2901b4ddda87399aada6d7272ee6172dc (diff) | |
download | elgg-79075fb578b1ba9834594c867530be43bc886101.tar.gz elgg-79075fb578b1ba9834594c867530be43bc886101.tar.bz2 |
we "upload" new files and "save" old ones
Diffstat (limited to 'mod/file')
-rw-r--r-- | mod/file/views/default/forms/file/upload.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/file/views/default/forms/file/upload.php b/mod/file/views/default/forms/file/upload.php index 001e66674..b8a7a1668 100644 --- a/mod/file/views/default/forms/file/upload.php +++ b/mod/file/views/default/forms/file/upload.php @@ -16,8 +16,10 @@ $ajax = elgg_extract('ajax', $vars, FALSE); if ($guid) { $file_label = elgg_echo("file:replace"); + $submit_label = elgg_echo('save'); } else { $file_label = elgg_echo("file:file"); + $submit_label = elgg_echo('upload'); } ?> @@ -63,7 +65,7 @@ if ($guid) { echo elgg_view('input/hidden', array('name' => 'file_guid', 'value' => $guid)); } -echo elgg_view('input/submit', array('value' => elgg_echo("save"))); +echo elgg_view('input/submit', array('value' => $submit_label)); ?> </div> |