Lines Matching refs:code
110 $code = '<div class="flattr_'.$this->_xmlEntities($params['align']).'">';
113 $code .= $this->getStaticEmbedCode($params);
116 $code .= $this->getJsEmbedCode($params);
119 $code .= '</div>';
121 return $code;
148 $code = '<a class="FlattrButton" style="display:none;" ';
149 $code .= 'title="'.hsc($params['title']).'" ';
150 $code .= 'href="'.hsc($params['url']).'" ';
151 $code .= 'rev="flattr;';
153 $code .= hsc($key . ':' . $value . ';');
155 $code .= '">';
156 $code .= str_replace("\n", "<br />", hsc($params['description']));
157 $code .= '</a>';
159 return $code;
167 … $code = '<a href="https://flattr.com/thing/'.$this->_xmlEntities($params['thing']).'">'.DOKU_LF;
168 $code .= '<img src="'.DOKU_URL.'/lib/plugins/flattr/button-static.png" />'.DOKU_LF;
169 $code .= '</a>'.DOKU_LF;
171 return $code;