chrissy6930
Karma: 27
|
Re:removing fields in the upload page - 2007/07/20 19:26
in v-classes/remositoryAddFileHTML.php comment out or delete
to remove License
| Code: | $this->fileInputArea(_DOWN_LICENSE, _DOWN_DESC_MAX, 'license', $file->license, 4, 50, false);
$this->tickBoxField($file, 'licenseagree', _DOWN_LICENSE_AGREE);
|
to remove File Version
| Code: | $this->fileInputBox(_DOWN_FILE_VER,'fileversion',$file->fileversion,25);
|
to remove File Homepage
| Code: | $this->fileInputBox(_DOWN_FILE_HOMEPAGE,'filehomepage',$file->filehomepage,50);
|
to remove Short Description
| Code: | $this->fileInputArea(_DOWN_DESC_SMALL, _DOWN_DESC_SMALL_MAX, 'smalldesc', $file->smalldesc, 3, 50, false);
$this->autoShortHandling($file);
|
to remove file size. the code is also in v-classes/remositoryAddFileHTML.php
| Code: | $this->fileInputBox(_DOWN_FILE_SIZE,'filesize',$file->filesize,25);
|
but instead of deleting it or commenting it out you should rather check your settings. since the code is located inside the curly braces of
it looks like in config - permissions tab - you have set 'Allow users to submit remote files:' to 'yes'. set it to 'no' and the filesize should disappear
Post edited by: chrissy6930, at: 2007/07/20 18:40
|