Total Ban

Tasklist

FS#47 - Plugin boxes not avaible in home page config

Attached to Project: Total Ban
Opened by Sylvain (hpsam) - Saturday, 07 August 2010, 15:53 GMT
Last edited by Sylvain (hpsam) - Tuesday, 21 December 2010, 23:26 GMT
Task Type Bug Report
Category Function
Status Closed
Assigned To Sylvain (hpsam)
Operating System All
Severity Low
Priority Normal
Reported Version 1.10.0
Due in Version 1.10.1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Plugin boxes are not available in dropdown menus of "homepage config".

------

Les boites du plugin ne sont pas disponibles dans les menus déroulants de "Config Accueil".
This task depends upon

Closed by  Sylvain (hpsam)
Tuesday, 21 December 2010, 23:26 GMT
Reason for closing:  Fixed
Comment by Sylvain (hpsam) - Saturday, 07 August 2010, 15:54 GMT
Dans "admin/plugins/total_ban/plugin.inc" il faut ajouter le bloc "elseif () ... }".

include(CHEMIN."admin/plugins/total_ban/lang/$lng-ban_adm.inc");
if ($pg == 'config6'){
...
} elseif ($pg == 'config3'){
// Edito boxes config page
$plugin_sidebox_name = "";
$plugin_sidebox_url = "";
// Edito boxes
for ($tb_i=1;$tb_i<=6;$tb_i++){
$editoboxeslist[] = "plugins/total_ban/tbbox".$tb_i;
$editolabelslist[] = "Total Ban ".$tb_i;
}
}

Loading...