Clean up WS, more linking and examples

This commit is contained in:
pete_morgan
2005-06-05 19:46:19 +00:00
parent 37f610db85
commit 85e9427ea8
8 changed files with 170 additions and 62 deletions

View File

@@ -69,7 +69,9 @@ $smarty->assign('Contacts',
array('fax' => '555-222-9876',
'email' => 'zaphod@slartibartfast.com',
'phone' => array('home' => '555-444-3333',
'cell' => '555-111-1234')));
'cell' => '555-111-1234')
)
);
$smarty->display('index.tpl');
?>
]]>
@@ -110,7 +112,6 @@ zaphod@slartibartfast.com<br />
<programlisting role="php">
<![CDATA[
<?php
$smarty->assign('Contacts', array(
'555-222-9876',
'zaphod@slartibartfast.com',
@@ -118,7 +119,6 @@ $smarty->assign('Contacts', array(
'555-111-1234')
));
$smarty->display('index.tpl');
?>
]]>
</programlisting>