setting $session->user now changes the id for the session as it should

continued adding ad management system
added field sets to htmlform and tab form
This commit is contained in:
JT Smith 2006-04-06 22:28:13 +00:00
parent f9b8582426
commit ae8f3d87f6
13 changed files with 565 additions and 14 deletions

View file

@ -105,6 +105,12 @@ sub addAdManager {
renderedAd text
)");
$session->db->write("alter table advertisement add index adSpaceId_isActive (adSpaceId, isActive)");
my $macros = $session->config->get("macros");
$macros->{AdSpace} = "AdSpace";
$session->config->set("macros",$macros);
my $group = WebGUI::Group->new($session, "new", "pbgroup000000000000017");
$group->name("Ad Manager");
$group->description("These users will be able to manage advertisements.");
}
#-------------------------------------------------