Changeset 881
- Timestamp:
- 12/28/07 19:21:38 (4 years ago)
- Location:
- trunk/www
- Files:
-
- 3 edited
-
macros/macro_calendar.php (modified) (1 diff)
-
static/css/screen.css (modified) (4 diffs)
-
views/textblock_diff.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/macros/macro_calendar.php
r879 r881 59 59 $html .= '<div class="event">'; 60 60 $html .= '»'; 61 $html .= $event['link'] . (!$event['is_last'] ? ', ' : '');61 $html .= $event['link']; 62 62 $html .= '</div>'; 63 63 } -
trunk/www/static/css/screen.css
r879 r881 147 147 width: 191px; 148 148 float: left; 149 border-right: 1px solid #d0d0d0; 149 150 } 150 151 … … 692 693 display: block; 693 694 } 694 695 695 696 .diff .added { 696 697 background-color: #DDFFDD; … … 699 700 } 700 701 701 .diff span { 702 .diff .normal { 703 display: block; 704 } 705 .diff pre { 702 706 margin: .2em .2em; 707 white-space: pre-wrap; /* css-3 */ 708 white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ 709 white-space: -pre-wrap; /* Opera 4-6 */ 710 white-space: -o-pre-wrap; /* Opera 7 */ 711 word-wrap: break-word; /* Internet Explorer 5.5+ */ 703 712 } 704 713 … … 711 720 background-color: #99EE99; 712 721 text-decoration: none; 722 713 723 } 714 724 -
trunk/www/views/textblock_diff.php
r878 r881 16 16 echo '<div class="diff">'; 17 17 foreach ($block as $op) { 18 echo '< spanclass="'.$op['type'].'">';18 echo '<pre class="'.$op['type'].'">'; 19 19 foreach ($op['lines'] as $line) { 20 20 $output = ""; … … 34 34 } 35 35 36 // make sure we display whitespace correctly37 $output = str_replace( ' ', ' ', $output);38 echo $output. '<br/>';36 $output = str_replace("\n", '', $output); 37 $output = str_replace("\r", '', $output); 38 echo $output."\n"; 39 39 } 40 echo '</ span>';40 echo '</pre>'; 41 41 } 42 42 echo '</div>';
Note: See TracChangeset
for help on using the changeset viewer.
![[infoarena] development](/chrome/site/logo.png)