Dear Antonio,
where do we find information about "views" and structured programming applied
to HTML.
Are there rules how to format the source code.
Thank you in advance
Otto
{{View("head")}}
{{View("body")}}
<html>
<head>
</head>
<body>
</body>
</html>
<body>
{{View("menu")}}
{{View("browse")}}
</body>
</html>
function View( cName )
local cData
if File( hb_GetEnv( "PRGPATH" ) + "/views/" + cName + ".view" )
cData = MemoRead( hb_GetEnv( "PRGPATH" ) + "/views/" + cName + ".view" )
while ReplaceBlocks( @cData, "{{", "}}" )
end
else
cData = "<h2>" + cName + " not found!</h2>"
endif
return cData
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: nageswaragunupudi, Silvio.Falconi and 55 guests