| 1 |
<?php |
<?php |
| 2 |
// $Id: template.php,v 1.36.2.35 2009/09/11 16:41:57 sign Exp $ |
// $Id: template.php,v 1.36.2.36 2009/09/11 18:26:20 sign Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 114 |
} |
} |
| 115 |
|
|
| 116 |
// add a class to li |
// add a class to li |
| 117 |
$class = ' class="'. implode($arg, '-') .'"'; |
$class = ""; |
| 118 |
|
if (is_array($arg)) { |
| 119 |
|
$class = ' class="'. implode($arg, '-') .'"'; |
| 120 |
|
} |
| 121 |
|
|
| 122 |
$output .= '<li'. $id . $class .'><a href="'. url($item['href']) .'">'. $icon . $item['title'] .'</a>'; |
$output .= '<li'. $id . $class .'><a href="'. url($item['href']) .'">'. $icon . $item['title'] .'</a>'; |
| 123 |
$output .= '</li>'; |
$output .= '</li>'; |