Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function theme_preprocess_search_api_page_result(&$variables) {
- global $user;
- if ($variables['item']->author == $user->uid) {
- $variables['classes_array'][] = 'node-author';
- }
- }
- .node-author {
- border: 1px solid black;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement