data/TWiki/PatternSkinWebCreateNewTopicTemplate.txt
changeset 0 414e01d06fd5
child 1 e2915a7cbdfa
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/PatternSkinWebCreateNewTopicTemplate.txt	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,68 @@
     1.4 +%META:TOPICINFO{author="TWikiContributor" date="1131431859" format="1.1" version="1"}%
     1.5 +%TMPL:INCLUDE{"WebCreateNewTopic"}%
     1.6 +
     1.7 +%TMPL:DEF{"script:topictemplate"}%<script type="text/javascript" src="%PUBURL%/%SYSTEMWEB%/TWikiJavascripts/twikiString.js"></script>
     1.8 +<script type="text/javascript" src="%PUBURLPATH%/%SYSTEMWEB%/TWikiJavascripts/unicode_chars.js"></script>
     1.9 +<script type="text/javascript">
    1.10 +//<![CDATA[
    1.11 +function openTemplateWindow () {
    1.12 +	var window = twiki.Window.openPopup(
    1.13 +		"%SCRIPTURL{view}%/",
    1.14 +			{
    1.15 +    			topic:"WebTemplateTopics",
    1.16 +    			web:"%SYSTEMWEB%",
    1.17 +    			template:"viewplain",
    1.18 +    			attributes:"resizable=1,scrollbars=1,status=1,toolbar=1",
    1.19 +    			urlparams:"web=%BASEWEB%"
    1.20 +    		}
    1.21 +    	);
    1.22 +	return false;
    1.23 +}
    1.24 +function getQueryUrl() {
    1.25 +	return "%SCRIPTURLPATH{view}%/%BASEWEB%/%BASETOPIC%?%QUERYSTRING%;pickparent=1"
    1.26 +}
    1.27 +/* Localized texts */
    1.28 +var TEXT_FEEDBACK_HEADER = "%MAKETEXT{"Topic will be named: "}%";
    1.29 +/* Url params */
    1.30 +var URL_PICK_PARENT = "%URLPARAM{"pickparent"}%";
    1.31 +var URL_TEMPLATE = "%URLPARAM{"template"}%";
    1.32 +//]]>
    1.33 +</script>
    1.34 +<script type="text/javascript" src="%PUBURLPATH%/%SYSTEMWEB%/PatternSkin/webtopiccreator.js"></script>%TMPL:END%
    1.35 +
    1.36 +%TMPL:DEF{"formstartstep"}%%TMPL:P{"formstart"}%
    1.37 +<div class="twikiFormSteps">%TMPL:END%
    1.38 +
    1.39 +%TMPL:DEF{"formendstep"}%</div><!--/twikiFormSteps-->
    1.40 +%TMPL:P{"formend"}%%TMPL:END%
    1.41 +
    1.42 +%TMPL:DEF{"titlestep"}%<div class="twikiFormStep">
    1.43 +---++ %MAKETEXT{"Create New Topic in [_1] Web" args="<nop>%BASEWEB%"}%
    1.44 +</div><!--/twikiFormStep-->%TMPL:END%
    1.45 +
    1.46 +%TMPL:DEF{"topicnamestep"}%<div class="twikiFormStep">
    1.47 +---+++ %MAKETEXT{"Topic name:"}%
    1.48 +<p>
    1.49 +%TMPL:P{"topicname"}% <span id="webTopicCreatorFeedback" class="twikiGrayText"><!--generated name will be put here--></span>
    1.50 +</p>%TMPL:P{"nonwikiword"}%
    1.51 +</div><!--/twikiFormStep-->%TMPL:END%
    1.52 +
    1.53 +%TMPL:DEF{"topicparentstep"}%<div class="twikiFormStep">
    1.54 +---+++ %MAKETEXT{"Topic parent:"}%
    1.55 +<p>
    1.56 +%TMPL:P{"topicparent"}%
    1.57 +</p>
    1.58 +</div><!--/twikiFormStep-->%TMPL:END%
    1.59 +
    1.60 +%TMPL:DEF{"topictemplatestep"}%<div class="twikiFormStep">
    1.61 +---+++ %MAKETEXT{"Use template:"}%
    1.62 +<p>
    1.63 +%TMPL:P{"topictemplate"}%
    1.64 +</p>
    1.65 +</div><!--/twikiFormStep-->%TMPL:END%
    1.66 +
    1.67 +%TMPL:DEF{"submitstep"}%<div class="twikiFormStep">
    1.68 +<p>
    1.69 +%TMPL:P{"submit"}%
    1.70 +</p>
    1.71 +</div><!--/twikiFormStep-->%TMPL:END%