+ finish the extension of lang and config.

This commit is contained in:
wangchunsheng
2010-03-19 03:19:51 +00:00
parent 85ac46f114
commit a48fdb3b05
7 changed files with 15 additions and 3 deletions
+2
View File
@@ -0,0 +1,2 @@
<?php
$config->misc->key1 = 'value1';
+2
View File
@@ -0,0 +1,2 @@
<?php
$config->misc->key2 = 'value2';
+2
View File
@@ -0,0 +1,2 @@
<?php
$lang->misc->item1 = 'item1';
+2
View File
@@ -0,0 +1,2 @@
<?php
$lang->misc->item2 = 'item2';
@@ -1,3 +1,5 @@
<script language="Javascript">
$('#topbar').css('color', 'red');
</script>
<br />
output from the hook file.
+4 -2
View File
@@ -1,2 +1,4 @@
<?php include '../../view/getsid.html.php';?>
<?php echo $test;?>
<?php include '../../view/getsid.html.php';?> <br />
output from the ext view file: <?php echo $test;?><br />
ext config:<?php a($config->misc);?>
ext lang:<?php a($lang->misc);?>
+1 -1
View File
@@ -1,2 +1,2 @@
<?php include '../../common/view/header.html.php';?>
main view file:<?php echo $sid;?>
Output from the main view file: <?php echo $sid;?>