diff options
| author | David Drury <david@drury.me.uk> | 2013-10-26 15:18:03 +0100 |
|---|---|---|
| committer | David Drury <david@drury.me.uk> | 2013-10-27 19:20:16 +0000 |
| commit | 16c6984666bae98823a841f77e3a72de85571e22 (patch) | |
| tree | 8c4cbf8626d768e8f19f5b4184fe8ccc107aa461 /modules_v3 | |
| parent | 516d5639474527e297fc446af9d1edf1657744fe (diff) | |
| download | webtrees-16c6984666bae98823a841f77e3a72de85571e22.tar.gz webtrees-16c6984666bae98823a841f77e3a72de85571e22.tar.bz2 webtrees-16c6984666bae98823a841f77e3a72de85571e22.zip | |
Added styling for Stories tab
Diffstat (limited to 'modules_v3')
| -rw-r--r-- | modules_v3/stories/module.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules_v3/stories/module.php b/modules_v3/stories/module.php index 894a340b4c..153702018d 100644 --- a/modules_v3/stories/module.php +++ b/modules_v3/stories/module.php @@ -113,11 +113,11 @@ class stories_WT_Module extends WT_Module implements WT_Module_Block, WT_Module_ // Only show this block for certain languages $languages=get_block_setting($block_id, 'languages'); if (!$languages || in_array(WT_LOCALE, explode(',', $languages))) { - $html.='<div class="news_title center">'.get_block_setting($block_id, 'title').'</div>'; - $html.='<div>'.get_block_setting($block_id, 'story_body').'</div><br>'; + $html.='<div class="story_title descriptionbox center rela">'.get_block_setting($block_id, 'title').'</div>'; + $html.='<div class="story_body optionbox">'.get_block_setting($block_id, 'story_body').'</div>'; if (WT_USER_CAN_EDIT) { - $html.='<div><a href="module.php?mod='.$this->getName().'&mod_action=admin_edit&block_id='.$block_id.'">'; - $html.=WT_I18N::translate('Edit story').'</a></div><br>'; + $html.='<div class="story_edit"><a href="module.php?mod='.$this->getName().'&mod_action=admin_edit&block_id='.$block_id.'">'; + $html.=WT_I18N::translate('Edit story').'</a></div>'; } } } |
