Hey,
I have on my Download page as the Title just "Download" without the filename.
I was seachring for it but cant find the code wich is handle the title.
(i think i deleted it but cant remember lol)
anybody knwos where to search ?
normal title tag Download "Filename"
XFileSharing Pro - Download1.htm Title Tag
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
This code responsible for title on Download page in Download1 function:
Code: Select all
my @fn = grep{length($_)>2 && $_!~/(www|net|ddl)/i}split(/[\s\.]+/, $fname);
$ses->{page_title} = $ses->{lang}->{lang_download}." ".join(' ',@fn);
ok found itPilgrimX182 wrote:This code responsible for title on Download page in Download1 function:Code: Select all
my @fn = grep{length($_)>2 && $_!~/(www|net|ddl)/i}split(/[\s\.]+/, $fname); $ses->{page_title} = $ses->{lang}->{lang_download}." ".join(' ',@fn);
my @fn = grep{length($_)>2 && $_!~/(www|net|ddl)/i}split(/[\s\.]+/, $fname);
$ses->{page_title} = "Download ".join(' ',@fn);
bt when i replace it with your code its jsut showing the url in the title
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Oh, faced this problem once.
Try this: comment the line in index.cgi starting with
Try this: comment the line in index.cgi starting with
Code: Select all
$ses->message("This server is in maintenance mode.
i dont have this line in index.cgiPilgrimX182 wrote:Oh, faced this problem once.
Try this: comment the line in index.cgi starting withCode: Select all
$ses->message("This server is in maintenance mode.