equal
deleted
inserted
replaced
887 $clear_text = ''; |
887 $clear_text = ''; |
888 if ( !empty($clear) ) |
888 if ( !empty($clear) ) |
889 { |
889 { |
890 $side = ( $clear == '|left' ) ? 'left' : 'right'; |
890 $side = ( $clear == '|left' ) ? 'left' : 'right'; |
891 $opposite = ( $clear == '|left' ) ? 'right' : 'left'; |
891 $opposite = ( $clear == '|left' ) ? 'right' : 'left'; |
892 $clear_text .= "float: $side; margin-$opposite: 20px;"; |
892 $clear_text .= "float: $side; margin-$opposite: 20px; width: {$r_width}px;"; |
893 $complete_tag .= 'style="' . $clear_text . '" '; |
893 $complete_tag .= 'style="' . $clear_text . '" '; |
894 } |
894 } |
895 $complete_tag .= '>'; |
895 $complete_tag .= '>'; |
896 |
896 |
897 $complete_tag .= '<a href="' . makeUrlNS('File', $filename) . '" style="display: block;">'; |
897 $complete_tag .= '<a href="' . makeUrlNS('File', $filename) . '" style="display: block;">'; |