Topic says it all
When you click on the util-accounts button in the menu, the url isn't right
This only happens when "Alternative URLs" is enabled in Roster
Moderator: mdeshane
// --[ Build faction select box ]--
$baseaddon = 'guild-'.$addon['basename'];
$choiceForm = "<form action=".makelink()." method='GET'>"
.$roster->locale->act['faction_filter']
." <select name='f' onchange='top.location.href=this.options[this.selectedIndex].value'>"
." <option value=".makelink($baseaddon).">".$roster->locale->act['SelectFaction']."\n";
while($row_fct = $roster->db->fetch($result_fct))
{
if( isset($_REQUEST['f']) && stripslashes($_REQUEST['f']) == ($row_fct['faction']) )
{
$choiceForm .= '<option value="'.makelink($baseaddon.'&f='.$row_fct['faction'],true).'" selected="selected">'.$row_fct['faction']."</option>\n";
}
else
{
$choiceForm .= '<option value="'.makelink($baseaddon.'&f='.$row_fct['faction'],true).'">'.$row_fct['faction']."</option>\n";
}
}
$choiceForm .= ' </select>';
$choiceForm .= '</form><br />';
$roster->db->free_result($result_fct);
Users browsing this forum: No registered users and 0 guests