Icy Phoenix

     
 

Mirror Adding In Downloads/PafieldDB

Category: General
Version Icy Phoenix 2.0 (PHP 5.x - MySQL 5.x)
Description
spydie
Sat 20 Oct, 2012 23:45
When I try to add mirrors for any file in ACP > Downloads > Manage Files > Edit, a window pops up but it only shows my homepage instead of whatever it should be.

pafiledbbug

It has defenitly nothing to do with wrong translations or similar, tested in english and spanish.
Reply
TheSteffen
Mon 12 Nov, 2012 13:17
Try this:

OPEN templates/common/acp/pa_admin_file_edit.tpl
FIND
Code: [Hide] [Select]
if({ADD_MIRRORS})
{
new_window('{U_MIRRORS_PAGE}', 'fileupload', '600','450', 'center', 'front');
}

function checkAddForm()
{
if(mirror_mode)
{
new_window('{U_MIRRORS_PAGE}', 'fileupload', '600','450', 'center', 'front');
return false;
}

REPLACE WITH
Code: [Hide] [Select]
if({ADD_MIRRORS})
{
redirect_url = '{U_MIRRORS_PAGE}';
redirect_url = redirect_url.replace(/&/g, '&');
new_window(redirect_url, 'fileupload', '600', '450', 'center', 'front');
}

function checkAddForm()
{
if(mirror_mode)
{
redirect_url = '{U_MIRRORS_PAGE}';
redirect_url = redirect_url.replace(/&/g, '&');
new_window(redirect_url, 'fileupload', '600', '450', 'center', 'front');
return false;
}
Details Assigned To: Mighty Gorgon
Priority: Low
Status: Fixed
Fixed: Yes
 


 



Messages

Posted by spydie • Sun 04 Nov, 2012 15:06


Edit:

just found out that it work´s well in IE9, but in all other browsers there´s only portal page showing up







  
Page 1 of 1




 

  cron