upload.php File Reference

Go to the source code of this file.

Functions

 set_locale ()
 load the translations of the messages
 T_ ($msgid)
 translate a message
 check_upload_status ($file)
 Check the error status of the given file and return an appropriate message.
 move_file ($tmp_file, $dest_file)
 Move the temporary file to the destination file.

Variables

 $upload_source = $_POST['upload_source']
 exit


Function Documentation

set_locale (  ) 

load the translations of the messages

Definition at line 49 of file upload.php.

References $domain.

T_ ( msgid  ) 

translate a message

Definition at line 60 of file upload.php.

Referenced by add(), edit_menu::add_books_rs(), add_subitem(), add_subnode(), add_tag(), add_user(), apply(), cancel(), change_id(), change_id_validate(), change_passwd(), change_title(), main::check_book_id(), check_upload_status(), commit(), copy_to_cb(), create(), data_not_valid(), del(), del_book(), del_tag(), delete_mitem(), delete_node(), empty_cb(), edit_content::error_on_save(), get_date_str(), import_file(), move_file(), approve::msg_book_fixed_to_tag(), userEdit::on_add(), edit::on_add_subnode(), user_data::on_change_passwd(), userList::on_delete(), userEdit::on_delete(), uList::on_delete(), edit::on_delete(), main::on_docbook(), import_doc::on_import(), docbook::on_set_mode(), tags::on_set_tag(), admin::on_update_downloadables(), admin::on_update_search_index(), main::on_xref(), admin::onParse(), main::onRender(), edit::onRender(), docbook::onRender(), approve::onRender(), paste_from_cb(), popup_window(), rename_mitem(), revert(), save_rev(), tags::set_revision(), show_cb(), transform_index(), update(), update_downloadables(), update_search_index(), upload(), and upload_file().

check_upload_status ( file  ) 

Check the error status of the given file and return an appropriate message.

If the upload is OK, an empty message is returned. It is called by the function upload_files().

Definition at line 70 of file upload.php.

References T_().

Referenced by upload_files().

move_file ( tmp_file,
dest_file 
)

Move the temporary file to the destination file.

Returns a message about the status of the operation. It is called by the function upload_files().

Definition at line 109 of file upload.php.

References shell(), and T_().

Referenced by upload_files().


Variable Documentation

$upload_source = $_POST['upload_source']

Definition at line 35 of file upload.php.

exit

Definition at line 42 of file upload.php.

Referenced by authenticate(), admin::on_update_downloadables(), and admin::on_update_search_index().


Generated on Wed Jan 9 08:27:32 2008 for DokBookWiki by  doxygen 1.5.2