2012-11-09 13:08 UTC+0100 Viktor Szakats (vszakats syenar.net)
* contrib/xhb/hbcompat.ch
* contrib/xhb/htmutil.prg
* contrib/xhb/stream.prg
* contrib/xhb/tedit.prg
* contrib/xhb/tfile.prg
* contrib/xhb/tframe.prg
* contrib/xhb/thtm.prg
* contrib/xhb/trpc.prg
* contrib/xhb/ttable.prg
* contrib/xhb/xcstr.prg
* contrib/xhb/xdbmodst.prg
* contrib/xhb/xthrow.c
* extras/httpsrv/modules/cookie.prg
* extras/httpsrv/modules/info.prg
* extras/httpsrv/modules/showcounter.prg
* extras/httpsrv/modules/tableservletdb.prg
* src/rdd/usrrdd/rdds/arrayrdd.prg
* cleanups
This commit is contained in:
@@ -50,13 +50,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
MEMVAR _REQUEST
|
||||
|
||||
#xcommand TEXT INTO <v> => #pragma __cstream|<v>+=%s
|
||||
// #pragma escapedstrings = on
|
||||
|
||||
FUNCTION HRBMAIN()
|
||||
|
||||
LOCAL cHtml := ""
|
||||
@@ -70,7 +65,7 @@ FUNCTION HRBMAIN()
|
||||
hb_default( @cAction, "" )
|
||||
|
||||
// Sample page embedded
|
||||
TEXT INTO cHtml
|
||||
#pragma __cstream | cHtml += %s
|
||||
<!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">
|
||||
<head>
|
||||
@@ -95,7 +90,7 @@ Pressing button you will redirect to /info page. Look at COOKIE values.
|
||||
|
||||
</body>
|
||||
</html>
|
||||
ENDTEXT
|
||||
#pragma __endtext
|
||||
|
||||
IF Empty( cAction )
|
||||
// Set a simple cookie
|
||||
|
||||
Reference in New Issue
Block a user