karma - fix some markup for 2.0
I am pretty sure there is some more and I even did not check for pre 2.0 sources
This commit is contained in:
@ -1641,8 +1641,8 @@ END_IMG_CSS;
|
|||||||
<div class='form_select'>
|
<div class='form_select'>
|
||||||
<label for='serendipity_sort_ordermode'>".SORT_ORDER."</label>
|
<label for='serendipity_sort_ordermode'>".SORT_ORDER."</label>
|
||||||
<select id='serendipity_sort_ordermode' name='serendipity[sort][ordermode]'>
|
<select id='serendipity_sort_ordermode' name='serendipity[sort][ordermode]'>
|
||||||
<option value='DESC'".($desc?"selected='selected'":'').">".SORT_ORDER_DESC."</option>
|
<option value='DESC'".($desc?" selected='selected'":'').">".SORT_ORDER_DESC."</option>
|
||||||
<option value='ASC'".($desc?'':"selected='selected'").">".SORT_ORDER_ASC."</option>
|
<option value='ASC'".($desc?'':" selected='selected'").">".SORT_ORDER_ASC."</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1843,12 +1843,16 @@ END_IMG_CSS;
|
|||||||
// We will be wrapped in a <tr><td colspan="2">
|
// We will be wrapped in a <tr><td colspan="2">
|
||||||
$this->select_html .= "
|
$this->select_html .= "
|
||||||
<strong>" . PLUGIN_KARMA_IMAGE . "</strong><br />
|
<strong>" . PLUGIN_KARMA_IMAGE . "</strong><br />
|
||||||
<span style='color: rgb(94, 122, 148); font-size: 8pt;'> ".PLUGIN_KARMA_IMAGE_DESC."</span>
|
<span style='color: rgb(94, 122, 148); font-size: 8pt;'> ".PLUGIN_KARMA_IMAGE_DESC."</span>";
|
||||||
|
if ($serendipity['version'][0] < 2) {
|
||||||
|
$this->select_html .= "
|
||||||
</td>
|
</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan='2'>
|
<td colspan='2'>\n";
|
||||||
|
}
|
||||||
|
$this->select_html .= "
|
||||||
<table border='1' class='serendipity_karmaVote_selectorTable'>";
|
<table border='1' class='serendipity_karmaVote_selectorTable'>";
|
||||||
// Add the 'text-only' selection and its CSS
|
// Add the 'text-only' selection and its CSS
|
||||||
if ($cursel == '0') {
|
if ($cursel == '0') {
|
||||||
@ -1949,8 +1953,11 @@ END_IMG_CSS;
|
|||||||
|
|
||||||
// End the table, with a config-item bottom-border separator
|
// End the table, with a config-item bottom-border separator
|
||||||
$this->select_html .=
|
$this->select_html .=
|
||||||
"</tr>\n</table>
|
"</tr>\n</table>\n";
|
||||||
<tr><td colspan='2' style='border-bottom: 1px solid #000000; vertical-align: top'> <td></tr>\n";
|
if ($serendipity['version'][0] < 2) {
|
||||||
|
$this->select_html .=
|
||||||
|
"<tr><td colspan='2' style='border-bottom: 1px solid #000000; vertical-align: top'> <td></tr>\n";
|
||||||
|
}
|
||||||
// The config item and row are closed by the core code
|
// The config item and row are closed by the core code
|
||||||
|
|
||||||
return $this->select_html;
|
return $this->select_html;
|
||||||
|
Reference in New Issue
Block a user