Changeset 841024


Ignore:
Timestamp:
05/20/15 12:55:58 (2 years ago)
Author:
pierre-alain <pierre-alain@…>
Branches:
master
Children:
b77712
Parents:
a230e1
git-author:
pierre-alain <pierre-alain@…> (05/20/15 12:55:58)
git-committer:
pierre-alain <pierre-alain@…> (05/20/15 12:55:58)
Message:

adding new paragraph for post image, improving display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OWR/Includes/Themes/Original/tpl/blocks/post_content.html

    r7c60cc r841024  
    1414                if('image' === $type[0]) 
    1515                { 
    16                     echo '<img src="'.htmlspecialchars($enclosure['attributes']['url'], ENT_COMPAT, 'UTF-8').'" alt="'.$this->_utilities->_('Enclosure').'"/>&nbsp;'; 
     16                    echo '<p><img src="'.htmlspecialchars($enclosure['attributes']['url'], ENT_COMPAT, 'UTF-8').'" alt="'.$this->_utilities->_('Enclosure').'"/></p>'; 
    1717                } 
    1818                elseif('video' === $type[0] || 'application/ogg' === $enclosure['attributes']['type']) 
     
    9292                    if('image' === $type[0]) 
    9393                    { 
    94                         echo '<img src="'.htmlspecialchars($link['attributes']['href'], ENT_COMPAT, 'UTF-8').'" alt="'.$this->_utilities->_('Enclosure').'"/>&nbsp;'; 
     94                        echo '<p><img src="'.htmlspecialchars($link['attributes']['href'], ENT_COMPAT, 'UTF-8').'" alt="'.$this->_utilities->_('Enclosure').'"/></p>'; 
    9595                    } 
    9696                    elseif('video' === $type[0] || 'application/ogg' === $link['attributes']['type']) 
Note: See TracChangeset for help on using the changeset viewer.