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

@ -23,6 +23,7 @@
- Removed start/end dates from assets in favor of the workflow system.
- Readded the purge option to the trash manager.
- Added an advertising management system.
- Added a field set grouping mechanism to HTMLForm and TabForm.
- Added archive/unarchive options to CS threads.
- Increased the performance of CS Thread viewing by 500%.
- Added a database cache option as an alternative to memcached.

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.");
}
#-------------------------------------------------