* fix bug: remove undefined warning.

This commit is contained in:
xia0ta0
2014-04-28 09:35:09 +08:00
parent c10aa876e4
commit 5b40041c13
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class docModel extends model
$currentModule = $this->app->getModuleName();
$currentMethod = $this->app->getMethodName();
$selectHtml .= "<div class='dropdown'>" . html::a('javascript:;', $libs[$libID] . " <span class='caret'></span>", '', "data-toggle='dropdown'") . "<ul class='dropdown-menu'>";
$selectHtml = "<div class='dropdown'>" . html::a('javascript:;', $libs[$libID] . " <span class='caret'></span>", '', "data-toggle='dropdown'") . "<ul class='dropdown-menu'>";
foreach ($libs as $key => $value)
{
$class = $libID == $key ? 'active' : '';
+1 -1
View File
@@ -24,7 +24,7 @@
<tbody>
<?php foreach($productStats as $product):?>
<tr class='text-center'>
<td class='text-left'><?php echo html::a($this->createLink('product', 'view', 'product=' . $product->id), $product->name, '', "title=$product->name");?></td>
<td class='text-left'><?php echo html::a($this->createLink('product', 'browse', 'productID=' . $product->id), $product->name, '', "title=$product->name");?></td>
<td><?php echo $product->stories['active']?></td>
<td><?php echo $product->stories['changed']?></td>
<td><?php echo $product->stories['draft']?></td>