// Global text // --------------------------------------------------- ;Download Manager Download Manager ;plugin_desc A files repository for your DotClear blog ;cat Category(s) ;desc Description ;name Name ;home Home ;num_file Number of file(s) available ;err_mysql Sql command failed ;err_mkdir Cannot create folder : %s ;gestion_file Your files management ;your_files Your files // Text of index.php // --------------------------------------------------- ;plugin_h3 Files management ;img_offline offline.gif ;img_offline_attach offline_attach.gif ;submenu_install Installation / Updates ;submenu_config Configuration ;submenu_attach Attach file ;submenu_index Downloads (Main page) ;plugin_not_install_yet The download manager plugin is not installed. Click the button 'Installation / Update' on the menu bar. ;plugin_not_maj_yet The download manager plugin requires to be updated. Click the button 'Installation / Update' on the menu bar. ;title_cat Go to category : %s ;mod Modify ;mod_cat Modify category : %s ;sure_del_cat Are you sure to want to delete the category : %s ? ;sure_del_file Are you sure to want to delete the file : %s ? ;title_del_cat Delete category : %s ;file File(s) ;del Delete ;update [UPDATED!] :: V.%s ;title_mod_file Modify informations of file : %s ;title_del_file Delete file : %s ;reset_count_dl Are you sure you want to reset the download count to 0? ;dl_file Download file : %s ;mod_desc_cat Modify category : %s ;reset Reset the download count ;nbr_dl Number of downloads ;date_upload Date ;size Size ;other_functions Other functions of the plugin (clic here) // Text of class.dlmfunctions.php // --------------------------------------------------- ;err_cat Cannot create category - The name already exists at this level ;err_no_name_cat Please enter a name for the category ;create_ok Category : %s successfully created ;err_rmdir Cannot remove folder : %s ;err_mod_cat Cannot modify category - The name already exists at this level ;cat_desc_title_mod_ok Category : %s has been updated ;del_cat_ok Category : %s has been deleted ;err_update_file The file already exists. If you are trying to update a file, please use the update form under "Other functions of the plugin". ;err_upload Upload failed ;upload_ok File : %s has been uploaded ;err_update_nofile Upload failed, this file doen't exist ;update_ok File : %s has been updated ;err_no_name_up Please, enter the file name ;err_http_up Address is not valid ;err_no_size_up Please, enter the file size ;alreadyup_ok File : %s has been added ;del_file_ok File deleted! ;fill_date Please fill in all fields for the file's date ;fill_correct_date_day This day doesn't exist, please choose another one ;fill_correct_date_month This month doesn't exist, please choose another one ;fill_correct_date_year This year doesn't exist, please choose another one ;file_desc_mod_ok Informations of file : %s have been updated ;reset_ok Count reset successfull ;plugin_new_version Plugin version %1$s of DLM is now available. Go to this address to get it or download package *.pkg.gz directly ;not_see_this_msg Don't show me this message again? ;err_move_file Impossible to move the file : %s // Text of class.dlmform.php // --------------------------------------------------- ;create_new_cat Create new category ;back_cat_child « Return to category : %s ;back_cat « Return to categories list ;mod_desc_file Change informations of file : %s ;offline_cat Put this category off line? ;up_net Link to files on the web ;name_up_net File name + extension ;size_up_net File size (Mb) ;http_up_net File Address (http://) ;offline_file Put this file off line? ;move_file_in Move this file into category : ;back_file « Return to the file list ;maj_file Update an existing file ;maj_explication Upload a file here to replace an existing download with the same file name. ;file_put Select an existing file from the server ;choose_file Choose a file ;no_file_alone No file present at this level ;file_transfert Upload a file ;day Day : ;month Month : ;year Year : // Text of attach.php // --------------------------------------------------- ;order_asc Sort ascending ;order_desc Sort descending ;maj_attach  | [UPDATED!] :: V.%s ;no_file_in_this_cat There is not any file in this category // Text of class.dlmattach.php // --------------------------------------------------- ;attach_text_file Attach to : ;attach_file_to Attach file to entry : ;no_billet No entry corresponds to ID : %s ;attach_ok File is attached! ;detach_file File is unattached // Text of configuration.php // --------------------------------------------------- ;config Configuration options ;max_size_up Maximum file upload size (may be server controlled) ;color Background color ;color_hover Background color on hover (Doesn't work with IE) ;affichage Posting type on public side ;list List ;tab Table ;bloc Block ;bpimportant IMPORTANT : To modify the "Description on hover" on the summary and public page in table format, you should edit the file "wz_tooltip.js" located in "/share/dlm/" folder ;affichage_publique Apparition order for public part elements ;dossier_fichier Posting folders then files ;fichier_dossier Posting files then folders ;format_date_public Date format ;format_date_short Classic format ;format_date_long DotClear format // Text of class.dlmconfig.php // --------------------------------------------------- ;err_num The file size entered is not a number ;err_format_color The format entered for the color is not correct (Hexadecimal : #xxxxxx) ;config_ok Options saved! ;err_champ Some fields are blank! Please fill in all fields // Text of class.dlminstall.php // --------------------------------------------------- ;status_install Status of installation ;create_table_cat_ok The table 'categorie' (category) was successfully created ;create_table_file_err The table 'categorie' (category) was not created ;create_table_file_ok The table 'fichier' (file) was successfully created ;create_table_file_err The table 'fichier' (file) was not created ;mod_table_cat_ok The table 'categorie' (category) was successfully modified ;mod_table_cat_err The table 'categorie' (category) was not modified ;mod_table_file_ok The table 'fichier' (file) was successfully modified ;mod_table_file_err The table 'fichier' (file) was not modified ;create_dir_dlm_err The folder 'dlm' was not created in '/share' ;create_dir_dlm_ok The folder 'dlm' was successfully created in '/share' ;extension.ini_copy The file 'extension.ini' was successfully copied in '/share/dlm/' ;extension.ini_not_copy The file 'extension.ini' was not copied in '/share/dlm/' ;style.css_copy The file 'style.css' was successfully copied in '/share/dlm/' ;style.css_not_copy The file 'style.css' was not copied in '/share/dlm/' ;wz_tooltip.js_copy The file 'wz_tooltip.js' was successfully copied in '/share/dlm/' ;wz_tooltip.js_not_copy The file 'wz_tooltip.js' was not copied in '/share/dlm/' ;create_dir_img_ok The folder '__img__' was successfully created in '/share/dlm' ;create_dir_img_err The folder '__img__' was not created in '/share/dlm' ;img_copy The icons was successfully copied in '/share/dlm/__img__' ;img_not_copy The icons was not copied in '/share/dlm/__img__' ;statut_maj Status of update ;continue Continue // Text of install.php // --------------------------------------------------- ;statut General plugin status ;table_already_installed All required tables are already installed ;dir_dlm_already_installed '/share/dlm' folder has already been created ;dir_img_already_installed '/share/dlm/__img__' folder has already been created ;file_already_copied The files 'style.css', 'wz_tooltip.js' and 'extension.ini' are already in '/share/dlm/' ;mod_todo Modifications to do after install ;in in /themes/your_theme/ ;put_in_sidebar Paste the following code where needed in your sidebar ;find Find ;put_after Paste after ;nb_list N.B: if you use a home.php, think to apply the same modifications as in list.php ;put_in Add before dcSinglePostTitle('%s - '); ;dl Download ;perso Customization ;func_list_cat_sidebar Function list_cat_sidebar(); ;func_attache_file Function attache_file(); ;option_sidebar This function accepts 3 parameters in order to customize displayed results:
dlm::list_cat_sidebar($level,;os1 First parameter defines maximum depth of displayed results tree. It is OBLIGATORY to define it, even if you do not customize the strings.
'custom block string' or null,
'custom list items string' or null);
dlm::list_cat_sidebar(3);;os2 First string defines bloc's structure.
'Go to'%1$s<br/><ul>%2$s</ul>';os3 Second string defines list items structure.
'<li> » %s </li>';osi Calling function list_cat_sidebar() with two parameters as given above:
dlm::list_cat_sidebar(1,'Go to %1$s<br/><ul>%2$s</ul>','<li> » %s </li>');will display this bloc in the sidebar:
dlm::attache_file($ID_of_entry,;p1 First parameter is obligatory. It must be current entry's ID. ;p2 Second parameter is useful only if you want to display the number of files attached. Use then 'nb' for the function to return the value. To customize the following elements use null ;p3 Third parameter allows to customize the display of last attached files list. As with function list_cat_sidebar(), substitution string has two elements: ;p31 %1$s displays 'Attached files' ;p32 %2$s displays the list of files attached to an entry ;p4 Fourth parameter allows to customize list items: ;p41 %1$s displays file's link ;p42 %2$s displays file's name ;p43 %3$s displays files's description ;p44 %4$s displays file's size ;p45 %5$s displays file's upload date ;p46 %6$s displays file's downloads count ;p47 %7$s displays file's update information ;p5 Fifth parameter allows to customize file's download link text: ;p51 name displays file's name ;p52 desc displays files's description ;oai For example, if you use this function as follows:
'nb' or null,
'string to customize bloc' or null,
'custom list items string' or null,
'name OR desc' or null);
dlm::attache_file($ID_entry,result will be:
null,
null,
'<li><b>%1$s</b> :: <i>%3$s Mb (downloaded %5$s times)</i></li>',
'name');