Skip to content

Commit

Permalink
Item536: When creating a topic, the new topic name is pre-filled wit…
Browse files Browse the repository at this point in the history
…h WebCreateNewTopic what is not the default behavior ( and also not usefull at all ).

git-svn-id: http://svn.foswiki.org/trunk@1489 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
EugenMayer authored and EugenMayer committed Dec 21, 2008
1 parent b19b192 commit bea86da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/data/System/WebCreateNewTopicTemplate.txt
Expand Up @@ -56,7 +56,7 @@
<input type="hidden" name="onlynewtopic" value="on" />%TMPL:END%


%TMPL:DEF{"topicname"}%<input type="text" class="foswikiInputField" name="topic" id="topic" size="40" %IF{"'%PREFILLTOPIC%'='1'" then="value=\"%BASETOPIC%\""}% %IF{"'%URLPARAM{"newtopic"}%'" then="value=\"%URLPARAM{"newtopic"}%\"" else="value=\"%BASETOPIC%\""}% />%TMPL:END%
%TMPL:DEF{"topicname"}%<input type="text" class="foswikiInputField" name="topic" id="topic" size="40" %IF{"'%PREFILLTOPIC%'='1'" then="value=\"%BASETOPIC%\""}% %IF{"'%URLPARAM{"newtopic"}%'" then="value=\"%URLPARAM{"newtopic"}%\"" else="value=\"\""}% />%TMPL:END%


%TMPL:DEF{"topicparent"}%%IF{"defined pickparent" then="<select name='topicparent' size='10' class='foswikiSelect'>$percntTOPICLIST{$quot<option $marker value='$name'>$name</option>$quot marker=$quotselected$quot separator=$quot$quot selection=$quot$percntURLPARAM{ $quottopicparent$quot default=$quot%MAKETEXT{"(no parent, orphaned topic)"}%$quot }$percnt$quot}$percnt<option value=$quot$quot>$percntMAKETEXT{$quot(no parent, orphaned topic)$quot}$percnt</option></select>" else="<input type='text' size='40' name='topicparent' class='foswikiInputField' value='%URLPARAM{topicparent}%' />&nbsp;<span class='foswikiUnvisited'><a id='pickparent' href='$percntSCRIPTURLPATH{view}$percnt/$percntBASEWEB$percnt/$percntBASETOPIC$percnt?pickparent=1;$percntQUERYSTRING$percnt;#NewTopic'>%MAKETEXT{"Pick from a list"}%</a></span>"}%%TMPL:END%
Expand Down

0 comments on commit bea86da

Please sign in to comment.