- Timestamp:
- 12/22/09 19:58:35 (2 years ago)
- Location:
- trunk/www
- Files:
-
- 3 edited
-
controllers/round.php (modified) (2 diffs)
-
format/format.php (modified) (2 diffs)
-
static/css/screen.css (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/controllers/round.php
r1086 r1090 293 293 $options = pager_init_options(); 294 294 295 $textblock_list = textblock_grep('%"'.$round_id.'"%', '%', false, $options['first_entry'], 296 $options['display_entries']); 295 // This regexp tries to search for the round id inside of a macro 296 // and makes sure that it is preceded and succeded by a character 297 // which is not valid for a round identifier to avoid problems 298 // with ids that are included in each other 299 $regexp = "==[^\n]*[^a-z0-9_.-]".preg_quote($round_id)."[^a-z0-9_.-][^\n]*=="; 300 $textblock_list = textblock_grep( 301 $regexp, '%', true, 302 $options['first_entry'], $options['display_entries'] 303 ); 304 $entries = textblock_grep_count($regexp, '%', true); 297 305 298 306 for ($i = 0; $i < count ($textblock_list); ++$i) { … … 313 321 $view['form_values'] = $values; 314 322 $view['form_errors'] = $errors; 315 $entries = textblock_grep_count('%"'.$round_id.'"%', '%', false);316 323 $view['total_entries'] = $entries['cnt']; 317 324 $view['first_entry'] = $options['first_entry']; -
trunk/www/format/format.php
r1080 r1090 164 164 165 165 $result = ""; 166 $result .= "< divclass=\"tiny-user\">";166 $result .= "<span class=\"tiny-user\">"; 167 167 $result .= format_link($user_url, 168 168 format_user_avatar($user_name, 16, 16, false).$user_fullname, … … 172 172 .format_link($user_url, $user_name) 173 173 ."</span> "; 174 $result .= "</ div>";174 $result .= "</span>"; 175 175 176 176 return $result; -
trunk/www/static/css/screen.css
r1083 r1090 69 69 background-color: #B7D285; 70 70 -moz-border-radius: 10px; 71 -webkit-border-radius: 10px; 71 72 } 72 73 … … 403 404 clear: right; 404 405 padding-left: 0.5em; 405 -moz-border-radius-bottomleft:8px; 406 -moz-border-radius-bottomright:8px; 407 -moz-border-radius-topleft:8px; 408 -moz-border-radius-topright:8px; 406 -moz-border-radius: 8px; 407 -webkit-border-radius: 8px; 409 408 } 410 409 … … 476 475 background: #f6f6f6 url(../images/documents_16.gif) no-repeat 5px center ; 477 476 font-size:11px; 478 -moz-border-radius-bottomleft:8px; 479 -moz-border-radius-bottomright:8px; 480 -moz-border-radius-topleft:8px; 481 -moz-border-radius-topright:8px; 477 -moz-border-radius: 8px; 478 -webkit-border-radius: 8px; 482 479 color:#555; 483 480 line-height: 1.5em; … … 789 786 margin: .5em; 790 787 line-height: 2em; 791 width: 9 5%; /* IE FIX */788 width: 99%; /* IE FIX */ 792 789 } 793 790 … … 878 875 padding: .5em; 879 876 background-color: #f0f0f0; 880 -moz-border-radius-bottomleft:8px; 881 -moz-border-radius-bottomright:8px; 882 -moz-border-radius-topleft:8px; 883 -moz-border-radius-topright:8px; 877 -moz-border-radius: 8px; 878 -webkit-border-radius: 8px; 884 879 } 885 880 … … 900 895 .vmenu li a { 901 896 display: block; 902 width: 9 5%;897 width: 98%; 903 898 padding-left: .4em; 904 899 } … … 1074 1069 margin: 0; 1075 1070 -moz-border-radius: 10px; 1071 -webkit-border-radius: 10px; 1076 1072 } 1077 1073 … … 1157 1153 1158 1154 /* User badges */ 1159 div.tiny-user {1155 .tiny-user { 1160 1156 height: 24px; 1161 display:inline; 1162 } 1163 1164 div.tiny-user a { 1157 } 1158 1159 .tiny-user a { 1165 1160 text-decoration: none; 1166 1161 } 1167 1162 1168 div.tiny-user .username {1163 .tiny-user .username { 1169 1164 font-weight:bold; 1170 1165 } 1171 1166 1172 div.tiny-user img {1167 .tiny-user img { 1173 1168 border:1px solid #D8D6CB; 1174 1169 background:#fff; … … 1198 1193 /* monitor */ 1199 1194 table.monitor { 1200 width: 9 5%; /* Fix IE */1201 margin: .5em 0 2em 0;1195 width: 99%; /* Fix IE */ 1196 margin: .5em auto 2em auto; 1202 1197 } 1203 1198 … … 1294 1289 1295 1290 table.registered-users { 1296 width: 9 5%;1291 width: 99%; 1297 1292 } 1298 1293 … … 1350 1345 line-height: 1.2em; 1351 1346 -moz-border-radius: 7px; 1347 -webkit-border-radius: 7px; 1352 1348 } 1353 1349 … … 1411 1407 padding: .2em; 1412 1408 -moz-border-radius: 7px; 1409 -webkit-border-radius: 7px; 1413 1410 } 1414 1411 … … 1427 1424 background-color: #f6f6f6; 1428 1425 -moz-border-radius: 5px; 1426 -webkit-border-radius: 5px; 1429 1427 } 1430 1428 … … 1438 1436 padding: 0.3em; 1439 1437 display: table; 1440 width: 9 5%;1438 width: 99%; 1441 1439 margin: 0em auto; 1442 1440 text-align: center; 1443 1441 line-height: 2em; 1444 1442 -moz-border-radius: 7px; 1443 -webkit-border-radius: 7px; 1445 1444 } 1446 1445
Note: See TracChangeset
for help on using the changeset viewer.
![[infoarena] development](/chrome/site/logo.png)