summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-24 16:25:54 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-24 16:25:54 +0000
commited204e1ff3d951f3d7c9c6e930e2622114bfcc6d (patch)
tree3c00cbca4db0e5684e17019b1f7b78d608b93554
parent86e2b120396073ff81d74ff45e700ac24f4ea6da (diff)
Styled category search
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@223 7be80a69-a1ef-0310-a953-fb0f7c49ff36
-rw-r--r--wp-inst/wp-admin/admin-header.php2
-rw-r--r--wp-inst/wp-admin/wpmu-edit.php4
2 files changed, 2 insertions, 4 deletions
diff --git a/wp-inst/wp-admin/admin-header.php b/wp-inst/wp-admin/admin-header.php
index 4dd69d8..8f1acc0 100644
--- a/wp-inst/wp-admin/admin-header.php
+++ b/wp-inst/wp-admin/admin-header.php
@@ -135,8 +135,6 @@ function newCatAddIn() {
searchResult.style.overflow = 'auto';
searchResult.style.border = '1px solid #ccc';
searchResult.style.background = '#eee';
- searchResult.style.margin = '5px';
- searchResult.style.padding = '5px';
ajaxcat.appendChild(newcat);
diff --git a/wp-inst/wp-admin/wpmu-edit.php b/wp-inst/wp-admin/wpmu-edit.php
index 72950cf..0b34467 100644
--- a/wp-inst/wp-admin/wpmu-edit.php
+++ b/wp-inst/wp-admin/wpmu-edit.php
@@ -34,8 +34,8 @@ switch( $_GET[ 'action' ] ) {
$query = "SELECT cat_name FROM " . $wpdb->sitecategories . " WHERE cat_name LIKE '%" . $search . "%' limit 0,10";
$cats = $wpdb->get_results( $query );
if( is_array( $cats ) ) {
- print "<table>";
- print "<tr><td>ESC to cancel</td></tr>";
+ print "<table cellpadding=2 cellspacing=0 border=0>";
+ print "<tr><td style='padding: 5px; background: #dfe8f1' >ESC to cancel</td></tr>";
while( list( $key, $val ) = each( $cats ) )
{
print '<tr><td><span onclick="javascript:return update_AJAX_search_box(\'' . $val->cat_name . '\');"><a>' . $val->cat_name . '</a></span></td></tr>';