Tons of additions

This commit is contained in:
Andrew Nagy 2013-06-02 20:58:03 -04:00 committed by root
parent b100a20f2d
commit 983f6870ad
2 changed files with 10 additions and 2 deletions

View File

@ -24,11 +24,12 @@ $variables = array(
'astmanconnected' => $astman->connected(), 'astmanconnected' => $astman->connected(),
'listcommands' => $astman->ListCommands(), 'listcommands' => $astman->ListCommands(),
'astdatabase' => $astman->database_show(), 'astdatabase' => $astman->database_show(),
'ds' => drawselects('',1,false,false) 'ds' => drawselects('',1,false,false),
'amp_conf' => $amp_conf
); );
$html = load_view(dirname(__FILE__).'/views/main.tpl', $variables); $html = load_view(dirname(__FILE__).'/views/main.tpl', $variables);
echo $html; echo $html;
$astman->database_put('family','key','valuer'); $astman->database_put('family','key','valuer');
$out = $astman->database_get('family','key'); $out = $astman->database_get('family','key');
echo $out; //echo $out;

View File

@ -15,3 +15,10 @@
<?php echo $family?>=><?php echo $value . "\n"?> <?php echo $family?>=><?php echo $value . "\n"?>
<?php } ?> <?php } ?>
</textarea> </textarea>
<h5>Available AMP Configuration Globals?<hr></h5>
<textarea rows="20" cols="180">
<?php foreach($amp_conf as $command => $description) {?>
<?php echo $command?>=><?php echo $description . "\n"?>
<?php } ?>
</textarea>