data/TWiki/PatternSkinWebCreateNewTopicTemplate.txt
changeset 0 414e01d06fd5
child 1 e2915a7cbdfa
equal deleted inserted replaced
-1:000000000000 0:414e01d06fd5
       
     1 %META:TOPICINFO{author="TWikiContributor" date="1131431859" format="1.1" version="1"}%
       
     2 %TMPL:INCLUDE{"WebCreateNewTopic"}%
       
     3 
       
     4 %TMPL:DEF{"script:topictemplate"}%<script type="text/javascript" src="%PUBURL%/%SYSTEMWEB%/TWikiJavascripts/twikiString.js"></script>
       
     5 <script type="text/javascript" src="%PUBURLPATH%/%SYSTEMWEB%/TWikiJavascripts/unicode_chars.js"></script>
       
     6 <script type="text/javascript">
       
     7 //<![CDATA[
       
     8 function openTemplateWindow () {
       
     9 	var window = twiki.Window.openPopup(
       
    10 		"%SCRIPTURL{view}%/",
       
    11 			{
       
    12     			topic:"WebTemplateTopics",
       
    13     			web:"%SYSTEMWEB%",
       
    14     			template:"viewplain",
       
    15     			attributes:"resizable=1,scrollbars=1,status=1,toolbar=1",
       
    16     			urlparams:"web=%BASEWEB%"
       
    17     		}
       
    18     	);
       
    19 	return false;
       
    20 }
       
    21 function getQueryUrl() {
       
    22 	return "%SCRIPTURLPATH{view}%/%BASEWEB%/%BASETOPIC%?%QUERYSTRING%;pickparent=1"
       
    23 }
       
    24 /* Localized texts */
       
    25 var TEXT_FEEDBACK_HEADER = "%MAKETEXT{"Topic will be named: "}%";
       
    26 /* Url params */
       
    27 var URL_PICK_PARENT = "%URLPARAM{"pickparent"}%";
       
    28 var URL_TEMPLATE = "%URLPARAM{"template"}%";
       
    29 //]]>
       
    30 </script>
       
    31 <script type="text/javascript" src="%PUBURLPATH%/%SYSTEMWEB%/PatternSkin/webtopiccreator.js"></script>%TMPL:END%
       
    32 
       
    33 %TMPL:DEF{"formstartstep"}%%TMPL:P{"formstart"}%
       
    34 <div class="twikiFormSteps">%TMPL:END%
       
    35 
       
    36 %TMPL:DEF{"formendstep"}%</div><!--/twikiFormSteps-->
       
    37 %TMPL:P{"formend"}%%TMPL:END%
       
    38 
       
    39 %TMPL:DEF{"titlestep"}%<div class="twikiFormStep">
       
    40 ---++ %MAKETEXT{"Create New Topic in [_1] Web" args="<nop>%BASEWEB%"}%
       
    41 </div><!--/twikiFormStep-->%TMPL:END%
       
    42 
       
    43 %TMPL:DEF{"topicnamestep"}%<div class="twikiFormStep">
       
    44 ---+++ %MAKETEXT{"Topic name:"}%
       
    45 <p>
       
    46 %TMPL:P{"topicname"}% <span id="webTopicCreatorFeedback" class="twikiGrayText"><!--generated name will be put here--></span>
       
    47 </p>%TMPL:P{"nonwikiword"}%
       
    48 </div><!--/twikiFormStep-->%TMPL:END%
       
    49 
       
    50 %TMPL:DEF{"topicparentstep"}%<div class="twikiFormStep">
       
    51 ---+++ %MAKETEXT{"Topic parent:"}%
       
    52 <p>
       
    53 %TMPL:P{"topicparent"}%
       
    54 </p>
       
    55 </div><!--/twikiFormStep-->%TMPL:END%
       
    56 
       
    57 %TMPL:DEF{"topictemplatestep"}%<div class="twikiFormStep">
       
    58 ---+++ %MAKETEXT{"Use template:"}%
       
    59 <p>
       
    60 %TMPL:P{"topictemplate"}%
       
    61 </p>
       
    62 </div><!--/twikiFormStep-->%TMPL:END%
       
    63 
       
    64 %TMPL:DEF{"submitstep"}%<div class="twikiFormStep">
       
    65 <p>
       
    66 %TMPL:P{"submit"}%
       
    67 </p>
       
    68 </div><!--/twikiFormStep-->%TMPL:END%