예제 #1
0
    max-width: 500px;
  }

  #footer {
    font-size: x-small;
    color: #999;
  }
  </style>
</head>
<body>
  <div id="contents">
  <div class="container">
  <div id="header">
   <h1><img style="width: 340px; height: 25px;"
 src="<?php 
echo data_url('../../../../img/thunderbird/start/whats-new.png', 'image/png');
?>
"
 alt="What’s New in Thunderbird" /></h1>
<p>Thanks for choosing Thunderbird 3 Release Candidate 1</p>
</div>
<p><strong>What's New in Thunderbird 3</strong></p>
<p>We hope you enjoy the new features in Thunderbird. We have new search tools, tabbed email, message archiving, and hundreds of add-ons to make Thunderbird 3 all yours. </p>
<p><strong>Better Search with New Search Tools</strong></p>
<p>Type in your search term in the Global Search Bar and we will open your search results in a new tab. You can pinpoint what you're looking for with Thunderbird's new filtering and timeline tools. </p>
<p><strong>Tabbed Email</strong></p>
<p>If you like Firefox’s tabbed browsing, you’re going to love tabbed email. Double-click or hit enter on a mail message to open messages in a new tab window. You can right-click on messages or folders to open them in a tab background.</p>
<p><strong>Message Archiving</strong></p>
<p> Clicking the Archive button or  the ‘A’ key will archive your email. Archiving mail moves email from your inbox into the new archive folder system.</p>
<p><strong>More New Features to Explore</strong>:</p>
<ul><li>Smart Folders</li>
예제 #2
0
파일: base64.php 프로젝트: rahulcn/wink
 */
$image = 'no image defined';
function data_url($file)
{
    // Fetch the content
    $contents = file_get_contents($file);
    // Check if the content is empty
    if ($contents == '') {
        return 'the image cannot be found';
    }
    // Encode the content
    $base64 = base64_encode($contents);
    return $base64;
}
if (isset($_GET['image']) && $_GET['image'] != '') {
    $image = data_url($_GET['image']);
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<title>Base64 images encoding</title>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	</head>
	<body>
		<div>
			<?php 
echo $image;
?>
		</div>
예제 #3
0
.column1 {
    width: 180px;
    background-image: url('<?php 
echo data_url(dirname(__FILE__) . '/../../img/tb5/whatsnew/logo.png', 'image/png');
?>
');
    height: 286px;
    padding: 0 10px;
}

.column2 {
    width: 540px;
    padding: 0 40px;
    background-color: #fff;
    background-image: url('<?php 
echo data_url(dirname(__FILE__) . '/../../img/tb5/whatsnew/border.png', 'image/png');
?>
');
    background-repeat: no-repeat;
}

h1 {
    font-size: 24px;
    font-weight: normal;
    font-style: italic;
    margin: 0 0 21px 0;
}

h2 {
    font-size: 16px;
    font-weight: normal;
예제 #4
0
  @font-face {
	font-family: 'MetaWebPro-Bold';
	src: local('☺'), url('../../../../img/fonts/metawebpro.woff') format('woff');
	font-style: normal;
  }
  
  a:link    { color: #0a4e96; }
  a:visited { color: #0a4e96; }
  a:hover   { color: #333; }
  a:active  { color: #000; }

  #contents {
    margin: 0;
    padding: 1em 250px 1em 2em;
    background: url(<?php 
echo data_url('../../../../img/thunderbird/start/main-feature.jpg', 'image/jpeg');
?>
) top right no-repeat;
  }

  #header h1 {
    font-family: MetaWebPro-Bold;
    font-size: 27px;
    color: #0A4E96;
    margin: 0;
    padding: 20px 0 0 0;
  }

  #header p {
    font-weight: bold;
    margin: 0;
예제 #5
0
}

p,
ul {
  max-width: 450px;
  font-size: 110%;
}

ul {
  margin-left: -10px;
  padding-left: 0;
}

ul li {
  background-image: url(<?php 
echo data_url("{$config['file_root']}/img/content/bullet.png", 'image/png');
?>
);
  background-position: 0 12px;
  background-repeat: no-repeat;
  list-style-type: none;
  padding: 2px 0 4px 10px;
}

#footer {
  font-size: x-small;
  color: #999;
}

a#lanikai-promo {
    float: right;
예제 #6
0
function fetch_plugin($name, $os, $arch, $tulip)
{
    header('Location: ' . data_url($name, $os, $arch, $tulip));
}
예제 #7
0
 function format_image($value, $field_name, $a, $b, $params)
 {
     if (empty($value)) {
         return '';
     }
     if (!empty($params)) {
         $size = @getimagesize(data_url($value));
         if (!$size) {
             return '';
         }
         if ($size[0] > $size[1]) {
             $w = $params[0];
             $h = round($params[0] * $size[1] / $size[0]);
         } else {
             $h = $params[1];
             $w = round($params[1] * $size[0] / $size[1]);
         }
     }
     if (!empty($h) && !empty($w)) {
         return '<a href="' . data_url($value) . '" class="image-popup"><img class="preview_image" src="' . data_url($value) . '" width="' . $w . '" height="' . $h . '" /></a>';
     } else {
         return '<img class="preview_image" src="' . data_url($value) . '" />';
     }
 }
예제 #8
0
  @font-face {
	font-family: 'MetaWebPro-Bold';
	src: local('☺'), url('../../../../img/fonts/metawebpro.woff') format('woff');
	font-style: normal;
  }
  
  a:link    { color: #0a4e96; }
  a:visited { color: #0a4e96; }
  a:hover   { color: #333; }
  a:active  { color: #000; }

  #contents {
    margin: 0;
    padding: 1em 250px 1em 2em;
    background: url(<?php 
echo data_url('../../../../img/template/header/tile-small.jpg', 'image/jpeg');
?>
) top repeat-x;
  }

  #header h1 {
    font-family: MetaWebPro-Bold;
    font-size: 27px;
    color: #0A4E96;
    margin: 0;
    padding: 20px 0 0 0;
  }

  #header p {
    font-weight: bold;
    margin: 0;
예제 #9
0
    ?>
/searchsuggest.php?q={searchTerms}" />
	<Contact><?php 
    echo $SITEEMAIL;
    ?>
</Contact>
	<Tags>Torrents <?php 
    echo PROJECTNAME;
    ?>
</Tags>
	<LongName><?php 
    echo $SITENAME;
    ?>
 Torrents Search</LongName>
	<Image height="32" width="32" type="image/x-icon"><?php 
    echo data_url('favicon.ico', 'image/x-icon');
    ?>
</Image>
	<Image height="32" width="32" type="image/x-icon"><?php 
    echo $url;
    ?>
/favicon.ico</Image>
	<moz:SearchForm><?php 
    echo $url;
    ?>
/torrents.php</moz:SearchForm>
	<Query role="example" searchTerms="batman" />
	<Developer><?php 
    echo $SITENAME;
    ?>
 Staff</Developer>
예제 #10
0
    font-family: "segoe ui", tahoma, sans-serif;
    font-size: small;
    line-height: 1.5;
    min-width: 500px;
  }

  a:link    { color: #0a4e96; }
  a:visited { color: #0a4e96; }
  a:hover   { color: #333; }
  a:active  { color: #000; }

  #contents {
    margin: 0;
    padding: 1em 250px 1em 2em;
    background: url(<?php 
echo data_url($config['file_root'] . '/img/thunderbird/start/main-feature.jpg', 'image/jpeg');
?>
) top right no-repeat;
  }

  #header h1 {
    margin: 0;
    padding: 20px 0 0 0;
  }

  #header p {
    font-weight: bold;
    margin: 0;
    padding: 0 0 40px 0;
    max-width: 500px;
  }