Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Upload Notification  (Read 2546 times)

0 Members and 1 Guest are viewing this topic.

bmgaspard

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Upload Notification
« on: June 15, 2006, 12:42:19 am »

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
Logged

Nibbler

  • Guest
Re: Upload Notification
« Reply #1 on: June 15, 2006, 01:56:43 am »

Edit upload.php

find

Code: [Select]
// 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

Code: [Select]
// 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.
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Upload Notification
« Reply #2 on: June 15, 2006, 01:30:39 pm »

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

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Upload Notification
« Reply #3 on: June 15, 2006, 01:50:08 pm »

good idea  ;)
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 15 queries.