Skip to content

Commit

Permalink
Item113: reverting private extensions
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/FormQueryPlugin@1194 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
ArthurClemens authored and ArthurClemens committed Dec 7, 2008
1 parent fafb91f commit ece8a30
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/TWiki/Plugins/FormQueryPlugin.pm
Expand Up @@ -77,7 +77,7 @@ sub _moan {
my $whinge = $moan || 'on';
$whinge = $attrs->{moan} if defined $attrs->{moan};
if( lc( $whinge ) eq 'on' ) {
return CGI::span({class => 'foswikiAlert'},
return CGI::span({class => 'twikiAlert'},
'%<nop>'.$tag.'{'.$attrs->stringify()."}% :$mess");
}
return '';
Expand Down
8 changes: 4 additions & 4 deletions lib/TWiki/Plugins/FormQueryPlugin/TableFormat.pm
Expand Up @@ -152,7 +152,7 @@ sub getTextPattern {
sub formatTable {
my ( $this, $entries, $theSeparator, $newLine, $sr, $rc, $topic, $web, $user, $installWeb ) = @_;

return CGI::span({class=>'foswikiAlert'},'Empty table')
return CGI::span({class=>'twikiAlert'},'Empty table')
if ( $entries->size() == 0 );

my $mixedAlpha = $TWiki::regex{mixedAlpha};
Expand Down Expand Up @@ -302,7 +302,7 @@ sub _expandField {
if ( !defined( $ret )) {
if ( $this->{help_undefined} ) {
$ret = CGI::span(
{class=>'foswikiAlert'},
{class=>'twikiAlert'},
"Undefined field <nop>$vbl").
" (defined fields are: ".
CGI::code(join( ', <nop>',
Expand All @@ -321,7 +321,7 @@ sub _expandTable {
if ( !defined( $table )) {
if ( $this->{help_undefined} ) {
return CGI::span(
{class=>'foswikiAlert'},
{class=>'twikiAlert'},
"Undefined field <nop>$vbl"),
" (defined fields are: ".
CGI::code(join( ', <nop>',
Expand Down Expand Up @@ -350,7 +350,7 @@ sub toTable {
my ( $this, $entries, $sr, $rc, $topic, $web, $user, $installWeb ) = @_;
return CGI::span({class=>'foswikiAlert'},'Empty table')
return CGI::span({class=>'twikiAlert'},'Empty table')
if ( $entries->size() == 0 );
# Initialize SpreadSheetPlugin
Expand Down
2 changes: 1 addition & 1 deletion lib/TWiki/Plugins/FormQueryPlugin/WebDB.pm
Expand Up @@ -477,7 +477,7 @@ sub getTopicInfo {
if (defined($ti)) {
return $ti->toString($limit);
}
return CGI::span({class=>'foswikiAlert'}, $topic.' not known');
return CGI::span({class=>'twikiAlert'}, $topic.' not known');
} else {
return $this->toString();
}
Expand Down

0 comments on commit ece8a30

Please sign in to comment.