WordPress.org

Make WordPress Core

Changeset 134


Ignore:
Timestamp:
06/01/03 11:43:03 (12 years ago)
Author:
saxmatt
Message:

Removed background from input fields.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/b2bookmarklet.php

    r119 r134  
    22/* <Bookmarklet> */ 
    33 
    4 $mode = "bookmarklet"; 
     4$mode = 'bookmarklet'; 
    55 
    66$standalone = 1; 
    7 require("b2header.php"); 
     7require('b2header.php'); 
    88 
    99if ($user_level == 0) 
    10 die ("Cheatin' uh ?"); 
     10    die ("Cheatin' uh?"); 
    1111 
    12 if ($a=="b") { 
     12if ('b' == $a) { 
    1313 
    1414?><html> 
    1515<head> 
    16 <script language="javascript"> 
     16<script language="javascript" type="text/javascript"> 
    1717<!-- 
    1818window.close() 
     
    3232<script type="text/javascript" language="javascript"> 
    3333<!-- 
    34 function preview(form) { 
    35     var preview_date = "<?php echo date("Y-m-d H:i:s"); ?>"; 
    36     var preview_userid = "<?php echo $user_ID ?>"; 
    37     var preview_title = form.post_title.value; 
    38     var preview_category = form.post_category.value; 
    39     var preview_content = form.content.value; 
    40     preview_date = escape(preview_date); 
    41     preview_userid = escape(preview_userid); 
    42     preview_title = escape(preview_title); 
    43     preview_category = escape(preview_category); 
    44     preview_content = escape(preview_content); 
    45     window.open ("<?php echo "$siteurl/$blogfilename" ?>?preview=1&preview_date="+preview_date +"&preview_userid="+preview_userid +"&preview_title="+preview_title +"&preview_category="+preview_category +"&preview_content="+preview_content,"Preview", "location=0,menubar=1,resizable=1,scrollbars=yes,status=1,toolbar=0"); 
    46 } 
    47  
    4834function launchupload() { 
    4935    window.open ("b2upload.php", "b2upload", "width=380,height=360,location=0,menubar=0,resizable=1,scrollbars=yes,status=1,toolbar=0"); 
     
    5541<!-- 
    5642body { 
    57     background-image: url('<?php 
    58 if ($is_gecko || $is_IE) { 
    59 ?>../b2-img/bgbookmarklet3.gif<?php 
    60 } else { 
    61 ?>../b2-img/bgbookmarklet3.gif<?php 
    62 } 
    63 ?>'); 
     43    background-image: url('../b2-img/bgbookmarklet3.gif'); 
    6444    background-repeat: no-repeat; 
    6545} 
    66 <?php 
    67 if (!$is_NS4) { 
    68 ?> 
     46 
    6947textarea,input,select { 
    7048    background-color: transparent; 
    71 <?php if ($is_gecko || $is_macIE) { ?> 
    72     background-image: url('../b2-img/bgbookmarklet3.gif'); 
    73 <?php } elseif ($is_winIE) { ?> 
    7449    background-color: #cccccc; 
    7550    filter: alpha(opacity:80); 
    76 <?php } ?> 
     51    -moz-opacity: .8; 
    7752    border-width: 1px; 
    7853    border-color: #cccccc; 
     
    8156    margin: 1px; 
    8257} 
    83 <?php if (!$is_gecko) { ?> 
     58 
    8459.checkbox { 
    8560    background-color: #ffffff; 
     
    8863    margin: 0px; 
    8964} 
    90 <?php } ?> 
    91 <?php 
    92 } 
    93 ?> 
     65 
    9466textarea { 
    9567    font-family: Verdana, Geneva, Arial, Helvetica; 
Note: See TracChangeset for help on using the changeset viewer.