TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 307
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 257
  • Total: 257

Download Manager - upload button in place of text

Started by itweb, February 25, 2007, 03:34:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

itweb

"Upload" is barely visible in Amber theme. I made a button but can't find the code (and file, the closest i got was TPdlmanager.template.php) to be edited.

Any help?

IchBin

You should be able to change those properties in the CSS file under input, button.

itweb

Just to be clear, I am talking about this:



I made upload button in same style as download. I managed to find where download button file reference is but can't figure out where "upload" text is and how to replace it with button.

How would You achieve that in CSS file?

G6Cad

Forum/Themes/Default/TPdlmanager.template.php is where the upload is defined.
You have to change the "upload" to fetch an image instead of the text.

bloc

Find this code bit in TPdlmanager.php:
'.$txt['tp-dlupload'].'
and replace with a <img> tag.

Actually..having a image there is rather nice, I think I will add that to the code.

itweb

Thanks guys.

It was Forum/Themes/Default/TPdlmanager.template.php as G6 said...

... and string: '.$txt['tp-dlupload'].' as Bloc said :D

BTW, there are more (if not all, IMHO) clickable texts that would look so much better as buttons.

bloc

It is..but then other langauges would have to come up with buttons in that language. "download" and "upload" are failry well-known though.

G6Cad

Personally i like the textlinks better then imagelinks  :)

bloc

Yes..not to mention that any theme can simply replace those with images too. ;)

This website is proudly hosted on Crocweb Cloud Website Hosting.