Пример #1
0
 function post_avatar_meta($post, $class, $avatarprefix = null, $metaprefix = null, $metaseparator = '<br/>')
 {
     if (qa_opt('it_layout_lists') == 'qlist') {
         qa_html_theme_base::post_avatar_meta($post, $class, $avatarprefix, $metaprefix, $metaseparator);
         return;
     }
     // check if it's a question list or question item
     if ($class != 'qa-q-item') {
         //if (!( ($this->template=='qa') or ($this->template=='questions') ))
         qa_html_theme_base::post_avatar_meta($post, $class, $avatarprefix, $metaprefix, $metaseparator);
     } else {
         $this->post_avatar($post, $class, $avatarprefix);
     }
 }
Пример #2
0
 function q_item_main($q_item)
 {
     $this->output('<DIV CLASS="qa-q-item-main">');
     $this->q_item_title($q_item);
     $this->q_item_content($q_item);
     qa_html_theme_base::post_avatar_meta($q_item, 'qa-q-item');
     $this->post_tags($q_item, 'qa-q-item');
     $this->q_item_buttons($q_item);
     $this->output('</DIV>');
 }