cvs: pear /Perm_LiveUser/docs/examples/example5 admin.php
| From: | Arnaud Limbourg | Date: | Tue, 17 Feb 2004 13:24:25 +0000 |
| Subject: | cvs: pear /Perm_LiveUser/docs/examples/example5 admin.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-16619@lists.php.net to get a copy of this message | ||
arnaud Tue Feb 17 08:24:25 2004 EDT
Modified files:
/pear/Perm_LiveUser/docs/examples/example5 admin.php
Log:
* CS
http://cvs.php.net/diff.php/pear/Perm_LiveUser/docs/examples/example5/admin.php?r1=1.3&r2=1.4&ty=u
Index: pear/Perm_LiveUser/docs/examples/example5/admin.php
diff -u pear/Perm_LiveUser/docs/examples/example5/admin.php:1.3
pear/Perm_LiveUser/docs/examples/example5/admin.php:1.4
--- pear/Perm_LiveUser/docs/examples/example5/admin.php:1.3 Tue Feb 17 08:23:02 2004
+++ pear/Perm_LiveUser/docs/examples/example5/admin.php Tue Feb 17 08:24:25 2004
@@ -21,7 +21,7 @@
$db = DB::connect($dsn);
-if( DB::isError( $db ) ) {
+if (DB::isError($db)) {
echo $db->getMessage() . ' ' . $db->getUserInfo();
}
@@ -75,8 +75,8 @@
$tpl->loadTemplatefile('admin.tpl', true, true);
// assign the content to the vars
-$tpl->setVariable('USER', $usr->getHandle());
-$tpl->setVariable('NEWS', $news);
+$tpl->setVariable('USER', $usr->getHandle());
+$tpl->setVariable('NEWS', $news);
$tpl->show();