示例#1
0
 public function onBing()
 {
     $header['title'] = 'Bing搜索';
     dialog::header($header);
     dialog::navbar($this->navbar(), 'bing');
     form::header(array('title' => '', 'description' => '<span class="zotop-tip">请先搜索图片,然后插入</span>'));
     dialog::add(html::iframe('images', 'about:blank', array('width' => '100%', 'style' => 'width:100%;height:200px;')));
     form::buttons(array('id' => 'UploadImages', 'type' => 'submit', 'value' => '插入图片'), array('type' => 'button', 'value' => zotop::t('取消'), 'class' => 'zotop-dialog-close'));
     form::footer();
     dialog::footer();
 }