Skip to content
Snippets Groups Projects
Commit f294e124 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Display list of file recipients ("Uploaded to") when relevant

for the user-to-user file transfer directory
parent e0a055f1
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1936 passed
......@@ -66,6 +66,8 @@ void sbbs_t::showfileinfo(file_t* f, bool show_extdesc)
char* p = f->hdr.attr&MSG_ANONYMOUS ? text[UNKNOWN_USER] : f->from;
if(p != NULL && *p != '\0')
bprintf(P_TRUNCATE, text[FiUploadedBy], p);
if(f->to_list != NULL && *f->to_list != '\0')
bprintf(P_TRUNCATE, text[FiUploadedTo], f->to_list);
bprintf(P_TRUNCATE, text[FiDateUled],timestr(f->hdr.when_imported.time));
if(getfiletime(&cfg, f) > 0)
bprintf(P_TRUNCATE, text[FiFileDate],timestr(f->time));
......
......@@ -337,7 +337,7 @@ enum {
,FiTimesDled
,FiTransferTime
,FiTags
,Unused327
,FiUploadedTo
,FiChecksum
,HappyBirthday
,TimeToChangePw
......
......@@ -519,7 +519,7 @@ const char * const text_defaults[TOTAL_TEXT]={
,"\x0d\x0a\x01\x6e\x01\x67\x54\x69\x6d\x65\x73\x20\x64\x6f\x77\x6e\x6c\x6f\x61\x64\x65\x64\x20\x3a\x01\x68\x20\x25\x75" // 324 FiTimesDled
,"\x0d\x0a\x01\x6e\x01\x67\x54\x69\x6d\x65\x20\x74\x6f\x20\x64\x6f\x77\x6e\x6c\x6f\x61\x64\x20\x3a\x01\x68\x20\x25\x73" // 325 FiTransferTime
,"\x0d\x0a\x01\x6e\x01\x67\x54\x61\x67\x73\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3a\x01\x68\x20\x25\x73" // 326 FiTags
,"\x55\x4e\x55\x53\x45\x44\x33\x32\x37" // 327 Unused327
,"\x0d\x0a\x01\x6e\x01\x67\x55\x70\x6c\x6f\x61\x64\x65\x64\x20\x74\x6f\x20\x20\x20\x20\x20\x20\x3a\x01\x68\x20\x25\x73" // 327 FiUploadedTo
,"\x0d\x0a\x01\x6e\x01\x67\x46\x69\x6c\x65\x20\x25\x2d\x36\x2e\x36\x73\x20\x20\x20\x20\x20\x20\x3a\x01\x68\x20\x25\x73" // 328 FiChecksum
,"\x07\x07\x0d\x0a\x01\x68\x01\x72\x48\x01\x62\x61\x01\x67\x70\x01\x79\x70\x01\x63\x79\x20\x01\x6d\x42\x01\x77\x69\x01\x72\x72\x01"
"\x67\x74\x01\x62\x68\x01\x63\x64\x01\x6d\x61\x01\x79\x79\x20\x01\x77\x74\x01\x72\x6f\x20\x01\x67\x79\x01\x62\x6f\x01\x63\x75\x0d"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment