file title box issues file title box issues
 

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

file title box issues

Started by vhero, May 18, 2007, 01:29:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vhero

when uploading an image to the gallery in the box where i put the file title, the box itself is HUGE

http://i71.photobucket.com/albums/i146/Vherostar/problem-1.jpg

see the pic for example plus it only allows caps however once i submitted it does not submit in caps.. Also if i press caps it goes bold its a wierd error I cannot figure out how to fix any help please?

Nibbler

Post a link and test account with upload rights.

vhero

site - http://epicrenders.com/gallery
login - u/test  p/test123

hope that helps

Nibbler

That's an issue with the theme. It is using an id that is already used by Coppermine (title). You'd need to edit the theme or upload.php.

vhero

what would i have to edit on upload to fix?? im not too savvy with php though i'm learning

Nibbler

Try changing


    // Create a text box.
    echo <<<EOT
        <tr>
            <td width="40%" class="tableb">
                        $text  $ordinal
        </td>
        <td width="60%" class="tableb" valign="top">
                <input type="text" style="width: 100%" name="$name" maxlength="$max_length" value="$default" class="textinput" id="$name" />
                </td>
        </tr>

EOT;


to


    // Create a text box.
    echo <<<EOT
        <tr>
            <td width="40%" class="tableb">
                        $text  $ordinal
        </td>
        <td width="60%" class="tableb" valign="top">
                <input type="text" style="width: 100%" name="$name" maxlength="$max_length" value="$default" class="textinput" id="upload_$name" />
                </td>
        </tr>

EOT;


untested though.

vhero