Skip to content

Commit

Permalink
Merge pull request #53 from Cu8eR/Cu8eR-CSS
Browse files Browse the repository at this point in the history
Fixes #43 - CSS part 3
  • Loading branch information
Eldenroot committed Apr 25, 2015
2 parents 2de99db + 971b5ac commit 502364f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions inc/plugins/thankyoulike.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ function thankyoulike_activate()
</head>');

find_replace_templatesets("postbit_classic","#".preg_quote('<div class="post_controls">')."#i","<div style=\"{\$post['tyl_display']}\" id=\"tyl_{\$post['pid']}\">{\$post['thankyoulike_data']}</div>\n<div class=\"post_controls\">");
find_replace_templatesets("postbit","#".preg_quote(' </div>')."\n".preg_quote('</div>')."\n".preg_quote('</div>')."#i"," </div>\n</div>\n<div style=\"{\$post['tyl_display']}\" id=\"tyl_{\$post['pid']}\">{\$post['thankyoulike_data']}</div>\n</div>");
find_replace_templatesets("postbit","#".preg_quote('<div class="post_controls">')."#i","<div style=\"{\$post['tyl_display']}\" id=\"tyl_{\$post['pid']}\">{\$post['thankyoulike_data']}</div>\n<div class=\"post_controls\">");
find_replace_templatesets("postbit", "#".preg_quote('{$post[\'button_edit\']}')."#i", '{$post[\'button_tyl\']}{$post[\'button_edit\']}');
find_replace_templatesets("postbit_classic", "#".preg_quote('{$post[\'button_edit\']}')."#i", '{$post[\'button_tyl\']}{$post[\'button_edit\']}');
find_replace_templatesets("postbit_author_user", "#".preg_quote(' {$lang->postbit_threads} {$post[\'threadnum\']}<br />')."#i", ' {$lang->postbit_threads} {$post[\'threadnum\']}<br />
Expand Down Expand Up @@ -434,11 +434,16 @@ function thankyoulike_activate()
}
.tyllist{
background-color: #f5f5f5;
border-top: 1px dotted #ccc;
border-bottom: 1px dotted #ccc;
padding: 2px 5px;
}
.tyllist_classic{
border-bottom: 1px dotted #ffffff;
border-top: 1px dotted #ffffff;
background-color: #f5f5f5;
border-top: 1px dotted #ccc;
border-bottom: 1px dotted #ccc;
padding: 2px 5px;
}
Expand Down

0 comments on commit 502364f

Please sign in to comment.