67 $this->_position = $position;
92 $this->_delimiter = $delimiter;
107 $item[
'title'] = $title;
108 $item[
'link'] =
$link;
109 $item[
'icon'] = $icon;
110 $item[
'extra'] = $extra;
111 $this->_items[] = $item;
123 switch ($this->_position) {
126 $ret =
"<div class=\"floatright\">\n";
130 $ret =
"<div class=\"floatleft\">\n";
134 $ret =
"<div class=\"aligncenter\">\n";
136 $ret .=
"<div class=\"xo-buttons\">\n";
137 foreach ($this->_items as $item) {
138 $ret .=
"<a class='ui-corner-all tooltip' href='" . $item[
'link'] .
"' title='" . $item[
'title'] .
"'>";
139 $ret .=
"<img src='" .
$path . $item[
'icon'] .
"' title='" . $item[
'title'] .
"' />" . $item[
'title'] .
' ' . $item[
'extra'];
143 $ret .=
"</div>\n</div>\n";
144 $this->tpl->assign(
'dummy_content', $ret);