Implemented little extra for a big advantage

autosurf

Active Member
Hi,

When in the parameters, it is defined to validate the sites manually.
When there is only 1 site left to validate, once validated, we arrive on the page:
/index.php?a=admin&b=approve with a message specifying that there is no site to validate.

Would it be possible to come back to the admin (/index.php?a=admin) ,
where there will be at least 1 thumbnail to make?
it would be more useful :)
 

Mark

Administrator
Staff member
you mean like this?

open via FTP: sources/admin/approve.php

find:
Code:
$TMPL['admin_content'] = $this->error($LNG['a_approve_none'], 'admin')
Replace with:
Code:
  $TMPL['admin_content'] = $LNG['a_approve_none'];
  $TMPL['admin_content'] .= '<meta http-equiv="refresh" content="2; url=./?a=admin">';
 

autosurf

Active Member
To continue to integrate little advantage

You can do the same in the file sources/admin/approve_edited

find:
$TMPL['admin_content'] = $this->error($LNG['a_approve_edited_none'], 'admin');
Replace with:
$TMPL['admin_content'] = $LNG['a_approve_edited_none'];
$TMPL['admin_content'] .= '<meta http-equiv="refresh" content="2; url=./?a=admin">';
 
Top