* fix bug: remove undefined warning.
This commit is contained in:
@@ -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' : '';
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user