completely rewrote templates for CS.
This commit is contained in:
parent
899004d23e
commit
208816a8d9
4 changed files with 28 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
6.5.3
|
6.5.3
|
||||||
- Sorted templates into folders named after their respective namespaces
|
- Sorted templates into folders named after their respective namespaces
|
||||||
- & re-enabled the manage button next to the template dropdown [mwilson]
|
& re-enabled the manage button next to the template dropdown [mwilson]
|
||||||
- fix [ 1161457 ] Data fomr - list all entries: Logfile Error
|
- fix [ 1161457 ] Data fomr - list all entries: Logfile Error
|
||||||
- fix [ 1161461 ] Data form - Add field - wrong destination
|
- fix [ 1161461 ] Data form - Add field - wrong destination
|
||||||
- fix [ 1164382 ] User Profiling WebGUI::International::get(304,"WebGUI");
|
- fix [ 1164382 ] User Profiling WebGUI::International::get(304,"WebGUI");
|
||||||
|
|
@ -23,9 +23,14 @@
|
||||||
- fix [ 1118789 ] 6.2.11 - L_loginBox display with empty 1st param [colink]
|
- fix [ 1118789 ] 6.2.11 - L_loginBox display with empty 1st param [colink]
|
||||||
- fix [ 1165635 ] IndexedSearch - double toolbar in AdminMode [mwilson]
|
- fix [ 1165635 ] IndexedSearch - double toolbar in AdminMode [mwilson]
|
||||||
- fix [ 1165598 ] Auth module numeric comparisons against Ids
|
- fix [ 1165598 ] Auth module numeric comparisons against Ids
|
||||||
- Fixed a bunch of Collaboration System template problems.
|
|
||||||
- fix [ 1165829 ] i18n/english/Eventscalendar.pm: double entrys [mwilson]
|
- fix [ 1165829 ] i18n/english/Eventscalendar.pm: double entrys [mwilson]
|
||||||
- fix [ 1165386 ] Templates page overlap [mwilson]
|
- fix [ 1165386 ] Templates page overlap [mwilson]
|
||||||
|
- Rebuilt all of the Collaboration System templates from scratch. They were
|
||||||
|
all pretty messed up from the merging of the forum, USS, Link List, and FAQ
|
||||||
|
wobjects.
|
||||||
|
- fix [ 1165759 ] PB.com contrib. templates dont show links
|
||||||
|
- fix [ 1165439 ] No way to upload on USS template in collaboration system
|
||||||
|
- fix [ 1165438 ] Issues with Job listing template of Collaboration system
|
||||||
- fix [ 1166071 ] Create New User allows blank username [mwilson]
|
- fix [ 1166071 ] Create New User allows blank username [mwilson]
|
||||||
- fix [ 1166133 ] DataForm www_edit and www_editField's "proceed" [mwilson]
|
- fix [ 1166133 ] DataForm www_edit and www_editField's "proceed" [mwilson]
|
||||||
- fix [ 1164211 ] DataForm export tab deliniated always contains.. [mwilson]
|
- fix [ 1164211 ] DataForm export tab deliniated always contains.. [mwilson]
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -41,6 +41,7 @@ sub canSubscribe {
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
sub createSubscriptionGroup {
|
sub createSubscriptionGroup {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
return if ($self->get("subscriptionGroupId"));
|
||||||
my $group = WebGUI::Group->new("new");
|
my $group = WebGUI::Group->new("new");
|
||||||
$group->name($self->getId);
|
$group->name($self->getId);
|
||||||
$group->description("The group to store subscriptions for the thread ".$self->getId);
|
$group->description("The group to store subscriptions for the thread ".$self->getId);
|
||||||
|
|
@ -513,6 +514,7 @@ Subscribes the user to this thread.
|
||||||
|
|
||||||
sub subscribe {
|
sub subscribe {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
$self->createSubscriptionGroup;
|
||||||
WebGUI::Grouping::addUsersToGroups([$session{user}{userId}],[$self->get("subscriptionGroupId")]);
|
WebGUI::Grouping::addUsersToGroups([$session{user}{userId}],[$self->get("subscriptionGroupId")]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -829,6 +829,8 @@ sub view {
|
||||||
$var{'user.isModerator'} = $self->canModerate;
|
$var{'user.isModerator'} = $self->canModerate;
|
||||||
$var{'user.isVisitor'} = ($session{user}{userId} eq '1');
|
$var{'user.isVisitor'} = ($session{user}{userId} eq '1');
|
||||||
$var{'user.isSubscribed'} = $self->isSubscribed;
|
$var{'user.isSubscribed'} = $self->isSubscribed;
|
||||||
|
$var{'sortby.title.url'} = $self->getSortByUrl("title");
|
||||||
|
$var{'sortby.username.url'} = $self->getSortByUrl("username");
|
||||||
$var{'sortby.date.url'} = $self->getSortByUrl("dateSubmitted");
|
$var{'sortby.date.url'} = $self->getSortByUrl("dateSubmitted");
|
||||||
$var{'sortby.lastreply.url'} = $self->getSortByUrl("lastreply");
|
$var{'sortby.lastreply.url'} = $self->getSortByUrl("lastreply");
|
||||||
$var{'sortby.views.url'} = $self->getSortByUrl("views");
|
$var{'sortby.views.url'} = $self->getSortByUrl("views");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue