Change Ajax Click here to upload Script

sukhman21

Member
YetiShare User
YetiShare Supporter
Jan 26, 2015
508
3
18
what site is the screenshot from? maybe i can help.
i just need to see if they provide remote URL upload or how their uploading works.
 

adminitmehal6054

New Member
YetiShare User
Jul 11, 2016
29
0
0
sukhman21 said:
what site is the screenshot from? maybe i can help.
i just need to see if they provide remote URL upload or how their uploading works.
yes u can see filesgator.com
 

sukhman21

Member
YetiShare User
YetiShare Supporter
Jan 26, 2015
508
3
18
i see. you can edit the _header.inc.php file under your theme/templates/partial folder
its the line# 239 or close by.
here is the code:
Code:
<a href="#" class="slider-btn slider-btn-upload" onClick="<?php if (UserPeer::getAllowedToUpload() == false): ?>window.location = '<?php echo coreFunctions::getCoreSitePath(); ?>/register.<?php echo SITE_CONFIG_PAGE_EXTENSION; ?>';<?php else: ?>showUploaderPopup(); return false;<?php endif; ?>"><?php echo strtoupper(t('upload_account', 'Upload')); ?> &nbsp;<i class="fa fa-upload"></i></a>
Change this to whatever. in your case, replace <?php echo strtoupper(t('upload_account', 'Upload')); ?> &nbsp;<i class="fa fa-upload"></i> with "Click here to upload" and do the css on this text..