Upload Notification Upload Notification
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Upload Notification

Started by bmgaspard, June 15, 2006, 12:42:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bmgaspard

I have searched for this, and must be looking for the wrong subject. I have a few ppl on my site that either continue to hit the continue button for uploading or refresh the screen while uploading because there is nothing telling them to please wait, or a progress bar allowing them to se the progress of their uploads. Is there a fix/hack for this, or is it a theme specific thing.

Thanks in advance

Nibbler

Edit upload.php

find


// Create the submit button and close the form.
echo <<<EOT
        <tr>
                <td colspan="2" align="center" class="tablef">
                        <input type="submit" value="{$button_value}" class="button" />
                </td>

        </tr>

EOT;


change to


// Create the submit button and close the form.
echo <<<EOT
        <tr>
                <td colspan="2" align="center" class="tablef">
                        <input type="submit" value="{$button_value}" class="button" onclick="this.disabled=disabled;this.value='Uploading...'"/>
                </td>

        </tr>

EOT;


It means nothing really but it should do the job.

Abbas Ali

Will it be useful if we put this in core code?
Chief Geek at Ranium Systems

Sami

‍I don't answer to PM with support question
Please post your issue to related board