move controller definition on top of main.pt
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2216 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
189cc0ba84
commit
6c854db208
1 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
|||
<metal:block define-macro="page"
|
||||
tal:define="dummy view/setupSubviews"
|
||||
tal:define="controller nocall:view/@@controller;
|
||||
dummy view/setupSubviews"
|
||||
tal:condition="view/update"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
|
||||
i18n:domain="zope"
|
||||
tal:define="controller nocall:view/@@controller;
|
||||
resourceBase controller/resourceBase;
|
||||
tal:define="resourceBase controller/resourceBase;
|
||||
body view/pageBody">
|
||||
|
||||
<head metal:define-macro="head">
|
||||
|
|
Loading…
Add table
Reference in a new issue