Vaughan - 2008-08-26

Logged In: YES
user_id=1140548
Originator: NO

$maxfilebytes is not set anywhere, but do we need to upload files or know file upload size on the search page? maybe this is left in code that hasn't been removed???

also

/**
* Criando a barra de navegao caso tenha muitos amigos
*/
$barra_navegacao = new XoopsPageNav($nb_tribes,$xoopsModuleConfig['tribesperpage'],$start_all,'start_all','tribe_keyword='.$tribe_keyword.'&start_my='.$start_my);
$barrinha = $barra_navegacao->renderImageNav(2);

defines $barrinha but there isn't 1 for $barrinha_my, again i think this is code that doesn't need to be there anymore. altho i'm not familiar with the usage of the module, i'm just guessing on what i can see.

we have no defines either for $tribes or $my_tribes, again is this code meant to be here or should it be removed. or do we need to add the tribes define in as below??

$tribe_id = intval($_GET['tribe_id']);
$criteria= new criteria('tribe_id',$tribe_id);
$tribes = $controler->tribes_factory->getObjects($criteria);
$tribe = $tribes[0];