Skip to:
Content

Changeset 2349


Ignore:
Timestamp:
08/12/09 05:38:07 (5 years ago)
Author:
sambauers
Message:

Better looking move topic form. Fixes #1164.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/functions.bb-template.php

    r2323 r2349  
    15241524        return; 
    15251525 
    1526     $r = $before . '<form id="topic-move" method="post" action="' . bb_get_uri( 'bb-admin/topic-move.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_ADMIN ) . '">' . "\n"; 
    1527     $r .= '<fieldset>' . "\n"; 
    1528     $r .= '<div>' . "\n"; 
     1526    $r = $before . '<form id="topic-move" method="post" action="' . bb_get_uri( 'bb-admin/topic-move.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_ADMIN ) . '"><fieldset><div>' . "\n"; 
    15291527    $r .= '<input type="hidden" name="topic_id" value="' . $topic->topic_id . '" />' . "\n"; 
    15301528    $r .= '<label for="forum-id">'. __( 'Move to' ) . '</label>' . "\n"; 
     
    15321530    $r .= bb_nonce_field( 'move-topic_' . $topic->topic_id, '_wpnonce', true , false ); 
    15331531    $r .= '<input type="submit" name="Submit" value="' . __( 'Move' ) . '" />' . "\n"; 
    1534     $r .= '</div>' . "\n"; 
    1535     $r .= '</fieldset>' . "\n"; 
    1536     $r .= '</form>' . $after; 
     1532    $r .= '</div></fieldset></form>' . $after; 
    15371533 
    15381534    return $r; 
  • trunk/bb-templates/kakumei-blue/style.css

    r2177 r2349  
    2323#thread li.pingback { background-color: #d8dcf2; border-color: #d8dcf2; } 
    2424#thread li.pingback .threadpost { background-color: #d8dcf2; } 
     25#topic-move input { color: #32689b; } 
     26#topic-move input:hover { color: #001364; } 
    2527#latest tr:hover, #forumlist tr:hover, #favorites tr:hover { background: #d8dcf2; } 
    2628#profile-menu li a:hover { background: #d8dcf2; } 
  • trunk/bb-templates/kakumei/style.css

    r2287 r2349  
    645645} 
    646646 
    647 #topic-move { margin-top: 1em; } 
     647#topic-move, 
     648#topic-move fieldset, 
     649#topic-move fieldset div { 
     650    display: inline; 
     651} 
     652 
     653#topic-move input { 
     654    font-family: inherit; 
     655    background: none; 
     656    border: none; 
     657    cursor: pointer; 
     658    color: #2e6e15; 
     659    font-size: 1em; 
     660} 
     661 
     662#topic-move input:hover { color: #006400; } 
    648663 
    649664/* Other 
Note: See TracChangeset for help on using the changeset viewer.