[bug] Description Form always shows up in ucp

Phoca Gallery - image gallery extension
Dirk67
Phoca Member
Phoca Member
Posts: 45
Joined: 13 May 2009, 14:53

[bug] Description Form always shows up in ucp

Post by Dirk67 »

Hi,
theres a small bug in:
../components/com_phocagallery/views/user/tmpl/default_upload.php
../administrator/components/com_phocagallery/front/views/user/tmpl/default_upload.php

wrong:

Code: Select all

if ($this->tmpl['displaytitleupload'] == 1) {
?>
    <tr>
    <td><?php echo JText::_( 'Description' ); ?>:</td>
    <td><textarea id="phocagallery-upload-description" name="phocagalleryuploaddescription" onkeyup="countCharsUpload();" cols="30" rows="10" class="comment-input"></textarea></td>
    </tr>
corrected:

Code: Select all

if ($this->tmpl['displaydescupload'] == 1) {
?>
    <tr>
    <td><?php echo JText::_( 'Description' ); ?>:</td>
    <td><textarea id="phocagallery-upload-description" name="phocagalleryuploaddescription" onkeyup="countCharsUpload();" cols="30" rows="10" class="comment-input"></textarea></td>
    </tr>
    
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [bug] Description Form always shows up in ucp

Post by Jan »

ok, thank you for this info, I will fix it in the next version.

Jan
If you find Phoca extensions useful, please support the project
Post Reply