M
M
midarovrk2019-10-28 12:17:13
DLE
midarovrk, 2019-10-28 12:17:13

How to remove file name truncation in upload.php?

Hello.
Version dle 13.2
Help remove file name truncation in upload.php.
When you add news from the site (not from the admin panel) and upload pictures to the additional image gallery field, a log of actions is kept just below, so to speak, the file name, file weight, whether the file was successfully loaded or not is displayed there.
So, for some reason, the file name is cut off in the middle and an ellipsis is put down, like this:

<span class="qq-upload-file">Amazing Spider-Man ...AnPymGold.jpg</span>

Although the full name of the file looks like this Amazing Spider-Man 331-000AnPymGold.jpg
Screenshot for clarity
5db6b1dc5e98b807047108.png
I need the full name to be displayed. Where do you need to dig? I tried to make changes in the engine/ajax/upload.php file, but there is no result.
This file has a line:
<span class="qq-upload-file">&nbsp;'+fileName+'</span>

For the test, I tried to add the word test both to the class and before '+fileName+', but the changes do not occur, or am I digging in the wrong place?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mills, 2019-10-28
@mills

You need to look at the whole file. Either in this file but in a different location, or in another file.
What you wrote is nothing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question