Skip to content

Commit

Permalink
Item109: Rename TWikiForms to DataForms
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/ClassificationPlugin@604 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
KennethLavrsen authored and KennethLavrsen committed Nov 13, 2008
1 parent f4119af commit f664cd9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data/Applications/ClassificationApp/TWikiForm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See also: [[%FORMFIELD{"Target"}%]]

%META:FORM{name="Applications.TopicStub"}%
%META:FIELD{name="TopicType" attributes="" title="TopicType" value="TopicStub, TopicType"}%
%META:FIELD{name="Summary" attributes="" title="Summary" value="Tool to create TWikiForms"}%
%META:FIELD{name="Summary" attributes="" title="Summary" value="Tool to create DataForms"}%
%META:FIELD{name="TWikiApplication" attributes="" title="TWikiApplication" value="TWikiWorkbench"}%
%META:FIELD{name="Target" attributes="" title="Target" value="Applications.TWikiForm"}%
%META:FIELD{name="Section" attributes="" title="Section" value=""}%
2 changes: 1 addition & 1 deletion data/Applications/ClassificationApp/WebPreferences.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ TopicFunctions to generate html page header information:
</verbatim>

---+++ Misc
Definition of TWikiForms:
Definition of DataForms:
* Set WEBFORMS = Applications.TWikiTopic, Applications.TopicStub
* Set FINALPREFERENCES = ATTACHFILESIZELIMIT, WIKIWEBMASTER, WEBCOPYRIGHT, WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, WEBDB

Expand Down
2 changes: 1 addition & 1 deletion data/TWiki/ClassificationPlugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
---++ Description
The ClassificationPlugin is a building block for <nop>TWikiApplications in need of
tagging and hierarchies. The contained <nop>ClassificationApp is a basic
categorization and tagging solution for TWiki based on TWikiForms.
categorization and tagging solution for TWiki based on DataForms.


---++ Syntax Rules
Expand Down
4 changes: 2 additions & 2 deletions lib/TWiki/Plugins/ClassificationPlugin/Hierarchy.pm
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ sub getCatFields {
}
#writeDebug("looking up form definition for $topicType in web $this->{web}");

# looup form definition -> ASSUMPTION: TopicTypes must be TWikiForms too
# looup form definition -> ASSUMPTION: TopicTypes must be DataForms too
my $db = TWiki::Plugins::DBCachePlugin::Core::getDB($this->{web});
my $formDef = $db->fastget($topicType);
next unless $formDef;
Expand Down Expand Up @@ -915,7 +915,7 @@ sub getTagFields {
}
#writeDebug("looking up form definition for $topicType");

# looup form definition -> ASSUMPTION: TopicTypes must be TWikiForms too
# looup form definition -> ASSUMPTION: TopicTypes must be DataForms too
my $db = TWiki::Plugins::DBCachePlugin::Core::getDB($this->{web});
my $formDef = $db->fastget($topicType);
next unless $formDef;
Expand Down

0 comments on commit f664cd9

Please sign in to comment.