From: andi <bin...@li...> - 2001-10-02 13:11:25
|
andi Tue Oct 2 06:11:14 2001 EDT Modified files: /r2/binarycloud/user/htdocs compilertest.html /r2/binarycloud/user/bcdev/htdocs compilertest.html Log: Added some comments Index: r2/binarycloud/user/htdocs/compilertest.html diff -u r2/binarycloud/user/htdocs/compilertest.html:1.4 r2/binarycloud/user/htdocs/compilertest.html:1.5 --- r2/binarycloud/user/htdocs/compilertest.html:1.4 Wed Sep 26 07:46:15 2001 +++ r2/binarycloud/user/htdocs/compilertest.html Tue Oct 2 06:11:14 2001 @@ -1,7 +1,7 @@ <?php // {{{ Header /* - * -File $Id: compilertest.html,v 1.4 2001/09/26 14:46:15 andi Exp $ + * -File $Id: compilertest.html,v 1.5 2001/10/02 13:11:14 andi Exp $ * -License LGPL (http://www.gnu.org/copyleft/lesser.html) * -Copyright 2001, The Turing Studio, Inc. * -Author alex black, en...@tu... @@ -33,7 +33,11 @@ ); $Init->Startup(); ?> - +<!-- a binarycloud system tag --> +<bc:global> + <page>true</page> +</bc:global> +<!-- a binarycloud system tag --> <html> <head> <title>Test</title> @@ -44,6 +48,7 @@ <b> blah </b> +<!-- a binary cloud static module --> <bc:module> <id>moo</id> <name>HelloWorld</name> @@ -58,27 +63,48 @@ <another_param_name>another_value</another_param_name> </params> </bc:module> +<!-- /binarycloud static module --> + +<!-- a binarycloud module output tag --> +<bc:module> + <group>content</group> + <index>1</index> +</bc:module> +<!-- /binarycloud module output tag --> +<!-- a binarycloud group output tag --> +<bc:module> + <group>content</group> +</bc:module> +<!-- /binarycloud group output tag --> + +<!-- a binarycloud image tag --> <bc:img> <id>abcimg</id> </bc:img> +<!-- /binarycloud image tag --> +<!-- a binarycloud javascript tag --> <bc:js> <id>moo</id> <inline>true</true> </bc:js> +<!-- a binarycloud javascript tag --> +<!-- a binarycloud stylesheet tag --> <bc:css> <id>moo</id> <inline>false</inline> </bc:css> +<!-- a binarycloud stylesheet tag --> +<!-- a binarycloud link tag --> <bc:href> <id>somelink</id> <href>/archive/mp3/any_document.mp3</href> <usedocroot>true</usedocroot> </bc:href> - +<!-- a binarycloud link tag --> </body> </html> Index: r2/binarycloud/user/bcdev/htdocs/compilertest.html diff -u r2/binarycloud/user/bcdev/htdocs/compilertest.html:1.1 r2/binarycloud/user/bcdev/htdocs/compilertest.html:1.2 --- r2/binarycloud/user/bcdev/htdocs/compilertest.html:1.1 Tue Sep 25 11:18:08 2001 +++ r2/binarycloud/user/bcdev/htdocs/compilertest.html Tue Oct 2 06:11:14 2001 @@ -1,3 +1,43 @@ +<?php +// {{{ Header +/* + * -File $Id: compilertest.html,v 1.2 2001/10/02 13:11:14 andi Exp $ + * -License LGPL (http://www.gnu.org/copyleft/lesser.html) + * -Copyright 2001, The Turing Studio, Inc. + * -Author alex black, en...@tu... + */ +// }}} +include_once('./prepend.php'); +import('binarycloud.init.Init'); +$Init = new Init(); +$gPageDef = array( + 'title' => "binarycloud page title", + 'cache' => array( + 'expires' => '30', + ), + 'init' => array( + 'ini' => true, + 'auth' => false, + 'perm' => false, + 'sess' => true, + 'lang' => true, + 'cache' => true, + ), + 'templates' => array( + 'default' => array( + 'name' => "static_example", + 'package' => "html.masters", + 'type' => "html", + ), + ), +); +$Init->Startup(); +?> +<!-- a binarycloud system tag --> +<bc:global> + <page>true</page> +</bc:global> +<!-- a binarycloud system tag --> <html> <head> <title>Test</title> @@ -8,18 +48,87 @@ <b> blah </b> -<bc:module id="moo" name="HelloWorld" package="hello_world"> - <cache expires="30" use_uri="true" var="$moo"/> +<!-- a binary cloud static module --> +<bc:module> + <id>moo</id> + <name>HelloWorld</name> + <package>hello_world</package> + <cache> + <expires>30</expires> + <use_uri>true</use_uri> + <var>$moo</var> + </cache> <params> <param_name>value</param_name> <another_param_name>another_value</another_param_name> </params> </bc:module> +<!-- /binarycloud static module --> -<bc:img id="abcimg" /> -<bc:js id="moo" inline="true" /> -<bc:css id="moo" inline="false" /> -<bc:href id="href" href="/archive/mp3/any_document.mp3" usedocroot="true" /> +<!-- a binarycloud module output tag --> +<bc:module> + <group>content</group> + <index>1</index> +</bc:module> +<!-- /binarycloud module output tag --> + +<!-- a binarycloud group output tag --> +<bc:module> + <group>content</group> +</bc:module> +<!-- /binarycloud group output tag --> + +<!-- a binarycloud image tag --> +<bc:img> + <id>abcimg</id> +</bc:img> +<!-- /binarycloud image tag --> +<!-- a binarycloud javascript tag --> +<bc:js> + <id>moo</id> + <inline>true</true> +</bc:js> +<!-- a binarycloud javascript tag --> + +<!-- a binarycloud stylesheet tag --> +<bc:css> + <id>moo</id> + <inline>false</inline> +</bc:css> +<!-- a binarycloud stylesheet tag --> + +<!-- a binarycloud link tag --> +<bc:href> + <id>somelink</id> + <href>/archive/mp3/any_document.mp3</href> + <usedocroot>true</usedocroot> +</bc:href> +<!-- a binarycloud link tag --> </body> </html> + + + + + + + + + + + + + + + + + + + + + + + + + |