Skip to content

Commit

Permalink
Item12481: allow an empty separator for %USERACTIONS
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/NatSkinPlugin@17708 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed May 28, 2014
1 parent 34cde78 commit 3235dee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/NatSkinPlugin.pm
Expand Up @@ -30,8 +30,8 @@ use Foswiki::Plugins::NatSkinPlugin::WebComponent ();
our $baseWeb;
our $baseTopic;

our $VERSION = '3.99_008';
our $RELEASE = '3.99_008';
our $VERSION = '3.99_009';
our $RELEASE = '3.99_009';
our $NO_PREFS_IN_TOPIC = 1;
our $SHORTDESCRIPTION = 'Support plugin for <nop>NatSkin';
our $themeEngine;
Expand Down
3 changes: 2 additions & 1 deletion lib/Foswiki/Plugins/NatSkinPlugin/UserActions.pm
Expand Up @@ -76,7 +76,8 @@ sub render {
$actionParams->{menu_footer} = $params->{menu_footer};
$actionParams->{hiderestricted} = Foswiki::Func::isTrue($params->{hiderestricted}, 0);
$actionParams->{mode} = $params->{mode} || 'short';
$actionParams->{sep} = $params->{sep} || $params->{separator} || '<span class="natSep"> | </span>';
$actionParams->{sep} = $params->{sep} || $params->{separator};
$actionParams->{sep} = '<span class="natSep"> | </span>' unless defined $actionParams->{sep};

# get restrictions
my $restrictedActions = $params->{restrictedactions};
Expand Down

0 comments on commit 3235dee

Please sign in to comment.