text=$t;
}
public function SetGlyph($g)
{
$this->text='';
}
public function SetStyle($bs)
{
if($bs==null)
$this->style='class="btn"';
else
$this->style='class="btn btn-'.$bs.'"';
}
public function SetCircleStyle($bs)
{
if($bs==null)
$this->style='class="btn btn-circle"';
else
$this->style='class="btn btn-'.$bs.' btn-circle"';
}
public function SetOnClick($js)
{
$this->onclick='onclick="'.$js.'"';
}
public function SetOpenWindow($link)
{
$this->onclick='onclick="javascript:window.open(\''.$link.'\')"';
}
public function SetLocalLink($link)
{
$this->onclick='onclick="javascript:location.href=\''.$link.'\'"';
}
public function out_html()
{
echo '';
}
};//class UIButton
function create_js_button($text,$js_func)
{
echo '';
}
?>