- Renamed layout asset to page.
- CS Post reply URLs are now shortened to an incremented reply number. - Added a Rich Editor Configuration asset.
This commit is contained in:
parent
923e99ccf2
commit
959872102e
8 changed files with 226 additions and 66 deletions
|
|
@ -39,6 +39,12 @@ our @ISA = qw(WebGUI::Asset);
|
|||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub canAdd {
|
||||
my $class = shift;
|
||||
$class->SUPER::canAdd(undef,'7');
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub canEdit {
|
||||
my $self = shift;
|
||||
|
|
@ -640,6 +646,7 @@ sub processPropertiesFromFormPost {
|
|||
isHidden => 1,
|
||||
dateSubmitted=>time()
|
||||
);
|
||||
$data{url} = $self->fixUrl($self->getThread->get("url")."/1") if ($self->isReply);
|
||||
if ($self->getThread->getParent->canModerate) {
|
||||
$self->getThread->lock if ($session{form}{'lock'});
|
||||
$self->getThread->stick if ($session{form}{stick});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue