| 1 |
<?php |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
$id = htmlspecialchars(@$_GET['id']); |
| 7 |
|
| 8 |
|
| 9 |
?> |
| 10 |
<div data-dojo-type="dijit/layout/BorderContainer" |
| 11 |
id="<?php echo $id?>BorderContainer" |
| 12 |
<?php |
| 13 |
if(@$_GET['sized']){ |
| 14 |
print "style='width: 300px; height: 300px;'"; |
| 15 |
} |
| 16 |
?> |
| 17 |
> |
| 18 |
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='region:"left", style:"width: 200px;"'> |
| 19 |
This file contains a single top-level BorderContainer layout widget. |
| 20 |
</div> |
| 21 |
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='region:"center", onLoad:myOnLoad'> |
| 22 |
But it also has some nested layout widgets, and when this file is loaded the TabContainer and |
| 23 |
BorderContainer below should get resize() called on them |
| 24 |
<div data-dojo-type="dijit/layout/TabContainer" id="<?php echo $id?>InnerTabContainer" |
| 25 |
data-dojo-props='style:"width: 300px; height: 300px;","aria-label":"<?php echo $id ?>"'> |
| 26 |
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='title:"Tab 1"'><?php echo $id?> tab1</div> |
| 27 |
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='title:"Tab 2"'><?php echo $id?> tab2</div> |
| 28 |
</div> |
| 29 |
<div data-dojo-type="dijit/layout/BorderContainer" id="<?php echo $id?>InnerBorderContainer" |
| 30 |
data-dojo-props='style:"width: 300px; height: 300px;","aria-label":"<?php echo $id ?>"'> |
| 31 |
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='region:"center"'>inner border container</div> |
| 32 |
</div> |
| 33 |
</div> |
| 34 |
</div> |