Advertisement
DrupalCustom

dtdf

Aug 15th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.66 KB | None | 0 0
  1. <html>
  2.     <head>
  3.         <title>$action.getText("title.export.space")</title>
  4.        
  5.     </head>
  6.  
  7.     #if ($exportType == "TYPE_FREEWAY")
  8.         #set($mode = "exportxmlFreeway")
  9.     #end
  10.  
  11.     #applyDecorator("root")
  12.         #decoratorParam("helper" $action.helper)
  13.         #decoratorParam("context" "space-operations")
  14.         #decoratorParam("mode"  "view-space-operations")
  15.  
  16.         <body>
  17.             #applyDecorator ("root")
  18.                 #decoratorParam ("context" "spacecontentpanel")
  19.                 #decoratorParam ("selection" $mode)
  20.                 #decoratorParam ("title" $action.getText("action.name"))
  21.                 #decoratorParam ("selectedTab" "content")
  22.                 #decoratorParam("helper" $action.helper)
  23.                
  24.                 <p class="stepdesc">
  25.                           This page lists the contents that can be chosen for translation using Freeway.
  26.                 </p>
  27.  
  28.                 #set ($formAction = "exportspacexmlFreeway.action?key=${key}" )
  29.                 #if ($actionErrors.size() == 0)
  30.                     #set ($displayTree = "true")
  31.                 #end
  32.                
  33.                 ## Decide on what sub-part to include based on the action mapping that brought us here
  34.                 #if ($exportType == "TYPE_HTML")
  35.                     #parse ( "/importexport/includes/export-html.vm" )
  36.                 #elseif ($exportType == "TYPE_XML")
  37.                     #parse ( "/importexport/includes/export-xml.vm" )
  38.                 #elseif ($exportType == "TYPE_FREEWAY")
  39.                     #parse ( "/templates/example/export-xml-freeway.vm" )  
  40.                 #end
  41.             #end
  42.         </body>
  43.     #end
  44. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement