Changeset 180
- Timestamp:
- 07/02/08 02:06:12 (5 months ago)
- Location:
- trunk/buddypress-theme/default
- Files:
-
- 2 added
- 6 modified
-
comments.php (modified) (1 diff)
-
images/notice_back.gif (added)
-
messages/compose.php (modified) (1 diff)
-
messages/index.php (modified) (4 diffs)
-
messages/notices.php (added)
-
messages/sentbox.php (modified) (3 diffs)
-
messages/view.php (modified) (1 diff)
-
style.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/buddypress-theme/default/comments.php
r175 r180 97 97 <!--<p><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></p>--> 98 98 99 <p><textarea name="comment" id="comment" cols=" 50" rows="10" tabindex="4"></textarea></p>99 <p><textarea name="comment" id="comment" cols="38" rows="10" tabindex="4"></textarea></p> 100 100 101 101 <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /> -
trunk/buddypress-theme/default/messages/compose.php
r176 r180 6 6 7 7 <div id="content"> 8 <?php bp_get_callback_message() ?> 8 <?php do_action( 'template_notices' ) ?> 9 9 10 <?php bp_compose_message_form() ?> 10 11 </div> -
trunk/buddypress-theme/default/messages/index.php
r176 r180 1 1 <?php get_header(); ?> 2 3 <form action="<?php bp_messages_form_action() ?>" method="post" id="messages-form"> 2 4 3 5 <div class="content-header"> 4 X New Messages 6 <div class="pagination-links"> 7 <?php bp_messages_pagination() ?> 8 </div> 9 10 <div class="messages-options"> 11 <?php bp_messages_options() ?> 12 </div> 5 13 </div> 6 14 7 15 <div id="content"> 16 <?php do_action( 'template_notices' ) ?> 17 18 <?php bp_message_get_notices(); ?> 8 19 9 20 <?php if ( bp_has_message_threads() ) : ?> … … 11 22 <table id="message-threads"> 12 23 <?php while ( bp_message_threads() ) : bp_message_thread(); ?> 13 <tr<?php if ( bp_message_thread_has_unread() ) : ?> class="unread"<?php endif; ?>> 14 <td> 15 <?php if ( bp_message_thread_has_unread() ) : ?> 16 <?php bp_message_thread_unread_count() ?> 17 <?php endif; ?> 24 <tr id="m-<?php bp_message_thread_id() ?>"<?php if ( bp_message_thread_has_unread() ) : ?> class="unread"<?php else: ?> class="read"<?php endif; ?>> 25 <td width="1%"> 26 <span class="unread-count"><?php bp_message_thread_unread_count() ?></span> 18 27 </td> 19 <td ><?php bp_message_thread_avatar() ?></td>20 <td >28 <td width="1%"><?php bp_message_thread_avatar() ?></td> 29 <td width="27%"> 21 30 <p>From: <?php bp_message_thread_from() ?></p> 22 31 <p class="date"><?php bp_message_thread_last_post_date() ?></p> 23 32 </td> 24 <td >33 <td width="40%"> 25 34 <p><a href="<?php bp_message_thread_view_link() ?>" title="View Message"><?php bp_message_thread_subject() ?></a></p> 26 35 <p><?php bp_message_thread_excerpt() ?></p> 36 </td> 37 <td width="10%"> 38 <a href="<?php bp_message_thread_delete_link() ?>" title="Delete Message" class="delete">Delete</a> 39 <input type="checkbox" name="message_ids[]" value="<?php bp_message_thread_id() ?>" /> 27 40 </td> 28 41 </tr> … … 32 45 <?php else: ?> 33 46 34 <p><?php _e('No Messages!'); ?></p> 47 <div id="message" class="error"> 48 <p>You have no messages in your inbox.</p> 49 </div> 35 50 36 51 <?php endif;?> … … 38 53 </div> 39 54 55 </form> 56 40 57 <?php get_footer() ?> -
trunk/buddypress-theme/default/messages/sentbox.php
r176 r180 2 2 3 3 <div class="content-header"> 4 X New Messages 4 <div class="pagination-links"> 5 <?php bp_messages_pagination() ?> 6 </div> 5 7 </div> 6 8 7 9 <div id="content"> 10 <?php do_action( 'template_notices' ) ?> 8 11 9 12 <?php if ( bp_has_message_threads() ) : ?> … … 11 14 <table id="message-threads"> 12 15 <?php while ( bp_message_threads() ) : bp_message_thread(); ?> 13 <tr<?php if ( bp_message_thread_has_unread() ) : ?> class="unread"<?php endif; ?>> 14 <td> 15 <?php if ( bp_message_thread_has_unread() ) : ?> 16 <?php bp_message_thread_unread_count() ?> 17 <?php endif; ?> 16 <tr> 17 <td width="1%"> 18 18 </td> 19 <td ><?php bp_message_thread_avatar() ?></td>20 <td >21 <p> From: <?php bp_message_thread_to() ?></p>19 <td width="1%"><?php bp_message_thread_avatar() ?></td> 20 <td width="27%"> 21 <p>To: <?php bp_message_thread_to() ?></p> 22 22 <p class="date"><?php bp_message_thread_last_post_date() ?></p> 23 23 </td> 24 <td >24 <td width="40%"> 25 25 <p><a href="<?php bp_message_thread_view_link() ?>" title="View Message"><?php bp_message_thread_subject() ?></a></p> 26 26 <p><?php bp_message_thread_excerpt() ?></p> 27 </td> 28 <td width="4%"> 29 <a href="<?php bp_message_thread_delete_link() ?>" title="Delete Message">Delete</a> 30 <input type="checkbox" name="" value="" /> 27 31 </td> 28 32 </tr> … … 32 36 <?php else: ?> 33 37 34 <p><?php _e('No Messages!'); ?></p> 35 38 <div id="message" class="error"> 39 <p>You have no sent messages.</p> 40 </div> 41 36 42 <?php endif;?> 37 43 -
trunk/buddypress-theme/default/messages/view.php
r176 r180 2 2 3 3 <div class="content-header"> 4 X New Messages4 5 5 </div> 6 6 7 7 <div id="content"> 8 <?php do_action( 'template_notices' ) ?> 9 8 10 <?php bp_message_thread_view() ?> 9 11 </div> -
trunk/buddypress-theme/default/style.css
r176 r180 493 493 } 494 494 495 .form-table { display: none; }496 497 495 .avatar-box { 498 496 float: left; … … 567 565 margin-top: 1.5em; 568 566 } 567 568 a.delete { 569 overflow: hidden; 570 text-indent: -999px; 571 display: block; 572 float: left; 573 margin-top: 2px; 574 background: url(images/error_icon.gif) top left no-repeat; 575 width: 12px; 576 height: 13px; 577 } 578 579 span.unread-count { 580 background: #c2582b; 581 border: 2px solid #c2582b; 582 padding: 0 0.5em; 583 color: #fff; 584 font-size: 0.8em; 585 font-weight: bold; 586 -moz-border-radius: 3px; 587 -webkit-border-radius: 3px; 588 } 589 .read .unread-count { display: none; } 590 591 .pagination-links { 592 float: left; 593 padding: 0 0 0 3em; 594 } 595 .pagination-links .page-numbers { 596 padding: 0.65em 0.7em; 597 height: 24px; 598 } 599 a.page-numbers:hover { background: #e1e1e1; } 600 601 .pagination-links .current { 602 background: #d5d5d5; 603 border-bottom: 2px solid #f28935; 604 padding: 0.5em 0.7em !important; 605 } 606 607 .messages-options { 608 float: right; 609 padding: 0 3em 0 0; 610 font: normal 0.9em "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif !important; 611 text-transform: none; 612 color: #888; 613 margin-top: -2px; 614 } 615 .messages-options a { color: #888; } 616 617 .notices td { vertical-align: top; } 618 .notice { 619 position: relative; 620 background: url(images/notice_back.gif) top left repeat-x; 621 padding: 1.2em; 622 } 623 .notice a#close-notice { 624 position: absolute; 625 top: 1em; 626 right: 1.2em; 627 } 628 .notice h5 { 629 font: normal 1.4em Georgia, Times, serif; 630 margin: 0 0 0.8em 0; 631 } 632 .notice a { color: #0051FF;} 633 569 634 570 635 /**************************
