Page 1 of 1

[bug] Description Form always shows up in ucp

Posted: 20 Jun 2009, 12:30
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>
    

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

Posted: 23 Jun 2009, 23:05
by Jan
ok, thank you for this info, I will fix it in the next version.

Jan