- Patch #8617 by TDobes: changes all gifs to pngs for better consistency (and

to get of proprietary formats).

- Added forum-sticky.png.  Made by Steven.
4.5.x
Dries Buytaert 2004-06-20 20:04:28 +00:00
parent c2d7419f23
commit b713e3d489
39 changed files with 24 additions and 24 deletions

View File

@ -29,7 +29,7 @@ function tablesort_header($cell, $header, $ts) {
if ($cell['data'] == $ts['name']) {
$ts['sort'] = (($ts['sort'] == 'asc') ? 'desc' : 'asc');
$cell['class'] = 'active';
$image = '&nbsp;<img src="' . theme('image', 'arrow-' . $ts['sort'] . '.gif') . '" alt="'. t('sort icon') .'" />';
$image = '&nbsp;<img src="' . theme('image', 'arrow-' . $ts['sort'] . '.png') . '" alt="'. t('sort icon') .'" />';
$title = ($ts['sort'] == 'asc' ? t('sort ascending') : t('sort descending'));
}
else {

View File

@ -461,7 +461,7 @@ function theme_error($message) {
* @return a string containing the @a output.
*/
function theme_xml_icon($url) {
return "<div class=\"xml-icon\"><a href=\"$url\"><img src=\"misc/xml.gif\" width=\"36\" height=\"14\" alt=\"". t('XML feed') ."\" /></a></div>";
return "<div class=\"xml-icon\"><a href=\"$url\"><img src=\"misc/xml.png\" width=\"36\" height=\"14\" alt=\"". t('XML feed') ."\" /></a></div>";
}
/**

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 B

BIN
misc/arrow-asc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 B

BIN
misc/arrow-desc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 B

BIN
misc/blog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 B

View File

@ -61,19 +61,19 @@ tr td.active {
}
li.expanded {
list-style-type: circle;
list-style-image: url(menu-expanded.gif);
list-style-image: url(menu-expanded.png);
padding: 0.2em 0.5em 0 0;
margin: 0;
}
li.collapsed {
list-style-type: disc;
list-style-image: url(menu-collapsed.gif);
list-style-image: url(menu-collapsed.png);
padding: 0.2em 0.5em 0 0;
margin: 0;
}
li.leaf {
list-style-type: square;
list-style-image: url(menu-leaf.gif);
list-style-image: url(menu-leaf.png);
padding: 0.2em 0.5em 0 0;
margin: 0;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

BIN
misc/druplicon-small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

BIN
misc/forum-closed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 899 B

BIN
misc/forum-default.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 943 B

BIN
misc/forum-hot-new.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 942 B

BIN
misc/forum-hot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 893 B

BIN
misc/forum-new.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

BIN
misc/forum-sticky.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 B

BIN
misc/menu-collapsed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 826 B

BIN
misc/menu-expanded.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 829 B

BIN
misc/menu-leaf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 429 B

BIN
misc/xml.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

View File

@ -997,7 +997,7 @@ function theme_aggregator_block_item($item, $feed = 0) {
global $user;
if ($user->uid && module_exist('blog') && user_access('maintain personal blog')) {
$output .= '<div class="icon">'. l('<img src="'. theme('image', 'blog.gif') .'" alt="'. t('blog it') .'" title="'. t('blog it') .'" />', 'node/add/blog', array('title' => t('Comment on this news item in your personal blog.'), 'class' => 'blog-it'), "iid=$item->iid") .'</div>';
$output .= '<div class="icon">'. l('<img src="'. theme('image', 'blog.png') .'" alt="'. t('blog it') .'" title="'. t('blog it') .'" />', 'node/add/blog', array('title' => t('Comment on this news item in your personal blog.'), 'class' => 'blog-it'), "iid=$item->iid") .'</div>';
}
// external link

View File

@ -997,7 +997,7 @@ function theme_aggregator_block_item($item, $feed = 0) {
global $user;
if ($user->uid && module_exist('blog') && user_access('maintain personal blog')) {
$output .= '<div class="icon">'. l('<img src="'. theme('image', 'blog.gif') .'" alt="'. t('blog it') .'" title="'. t('blog it') .'" />', 'node/add/blog', array('title' => t('Comment on this news item in your personal blog.'), 'class' => 'blog-it'), "iid=$item->iid") .'</div>';
$output .= '<div class="icon">'. l('<img src="'. theme('image', 'blog.png') .'" alt="'. t('blog it') .'" title="'. t('blog it') .'" />', 'node/add/blog', array('title' => t('Comment on this news item in your personal blog.'), 'class' => 'blog-it'), "iid=$item->iid") .'</div>';
}
// external link

View File

@ -703,7 +703,7 @@ function _forum_icon($new_posts, $num_posts = 0, $comment_mode = 0) {
}
// default
$file = $base_path ."/forum-$icon.gif";
$file = $base_path ."/forum-$icon.png";
$output = "<img src=\"$file\" alt=\"\" title=\"\" />";
}

View File

@ -703,7 +703,7 @@ function _forum_icon($new_posts, $num_posts = 0, $comment_mode = 0) {
}
// default
$file = $base_path ."/forum-$icon.gif";
$file = $base_path ."/forum-$icon.png";
$output = "<img src=\"$file\" alt=\"\" title=\"\" />";
}

View File

@ -11,7 +11,7 @@ a:visited {
}
body {
padding: 5em 0 0 3em;
background-image: url(background.gif);
background-image: url(background.png);
background-repeat: repeat-x;
font-family: trebuchet ms, tahoma, verdana, arial, helvetica;
border-top: 10px solid gray;

View File

@ -165,7 +165,7 @@ td#home a:hover img {
#main {
/* padding in px not ex because IE messes up 100% width tables otherwise */
padding: 30px 35px 50px 35px;
background: transparent url(background.gif) center center no-repeat;
background: transparent url(background.png) center center no-repeat;
}
#mission, .node .content, .comment .content {
line-height: 1.4;
@ -303,7 +303,7 @@ table#footer-menu {
font-weight: bold;
padding: 10px 5px 10px 30px;
margin-bottom: .25em;
background: transparent url(icon-block.gif) left center no-repeat;
background: transparent url(icon-block.png) left center no-repeat;
}
.block .content {
padding: 5px 5px 5px 5px;
@ -338,7 +338,7 @@ table#footer-menu {
.comment .title {
font-size: 1em;
padding: 10px 0px 12px 19px;
background: transparent url(icon-comment.gif) left center no-repeat;
background: transparent url(icon-comment.png) left center no-repeat;
}
.comment .new {
font-weight: bold;
@ -367,27 +367,27 @@ table#footer-menu {
}
.nav .links .next a:link {
padding: 15px 20px 16px 0;
background: transparent url(arrow-next.gif) right center no-repeat;
background: transparent url(arrow-next.png) right center no-repeat;
}
.nav .links .next a:hover {
padding: 15px 20px 16px 0;
background: transparent url(arrow-next-hover.gif) right center no-repeat;
background: transparent url(arrow-next-hover.png) right center no-repeat;
}
.nav .links .prev a:link {
padding: 15px 0 16px 20px;
background: transparent url(arrow-prev.gif) left center no-repeat;
background: transparent url(arrow-prev.png) left center no-repeat;
}
.nav .links .prev a:hover {
padding: 15px 0 16px 20px;
background: transparent url(arrow-prev-hover.gif) left center no-repeat;
background: transparent url(arrow-prev-hover.png) left center no-repeat;
}
.nav .links .up a:link {
padding: 12px 0 20px 0;
background: transparent url(arrow-up.gif) center top no-repeat;
background: transparent url(arrow-up.png) center top no-repeat;
}
.nav .links .up a:hover {
padding: 12px 0 20px 0;
background: transparent url(arrow-up-hover.gif) center top no-repeat;
background: transparent url(arrow-up-hover.png) center top no-repeat;
}
/*
@ -470,7 +470,7 @@ table#footer-menu {
#forum td.container a {
color: #e4e9eb;
padding: 20px 0 20px 35px;
background: transparent url(forum-link.gif) left center no-repeat;
background: transparent url(forum-link.png) left center no-repeat;
}
#forum td.container a:visited {
color: #e4e9eb;

View File

@ -12,7 +12,7 @@
<table id="primary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td id="home" width="10%"><a href="./" title="Home"><img src="{directory}/logo.gif" alt="Home" width="144" height="63" border="0" /></a></td>
<td id="home" width="10%"><a href="./" title="Home"><img src="{directory}/logo.png" alt="Home" width="144" height="63" border="0" /></a></td>
<td class="primary-links" width="90%" align="center" valign="middle">{primary_links}</td>
</tr>
</table>

View File

@ -25,7 +25,7 @@ function xtemplate_settings() {
$group = form_select(t('Template'), 'xtemplate_template', variable_get('xtemplate_template', 'default'), $files, t('Selecting a different template will change the look and feel of your site. To create a new template, create a new directory under <code>themes/xtemplate</code> and copy the contents of an existing template (e.g. <code>themes/xtemplate/default</code>) into it. The new template will automatically become available in the selection menu and will be identified by its directory name.'));
$output = form_group(t('Template selection'), $group);
$group = form_textarea(t('Logo'), 'xtemplate_logo', variable_get('xtemplate_logo', "<img src=\"themes/xtemplate/$template_directory/logo.gif\" alt=\"Logo\" />"), 70, 4, t('The HTML code for displaying the logo.'));
$group = form_textarea(t('Logo'), 'xtemplate_logo', variable_get('xtemplate_logo', "<img src=\"themes/xtemplate/$template_directory/logo.png\" alt=\"Logo\" />"), 70, 4, t('The HTML code for displaying the logo.'));
$group .= form_textarea(t('Primary links'), 'xtemplate_primary_links', variable_get('xtemplate_primary_links', l('edit primary links', 'admin/themes/xtemplate')), 70, 8, t('The HTML code for the primary links.'));
$group .= form_textarea(t('Secondary links'), 'xtemplate_secondary_links', variable_get('xtemplate_secondary_links', l('edit secondary links', 'admin/themes/xtemplate')), 70, 8, t('The HTML code for the secondary links.'));
$group .= form_textarea(t('Message on front page'), 'xtemplate_mission', variable_get('xtemplate_mission', 'edit mission'), 70, 6, t('This text will be displayed on the front page. It can be used to display a mission statement, announcement or site description..'));
@ -143,7 +143,7 @@ function xtemplate_page($content, $title = NULL, $breadcrumb = NULL) {
"head" => drupal_get_html_head(),
"directory" => "themes/xtemplate/$template_directory",
"onload_attributes" => theme_onload_attribute(),
"logo" => variable_get('xtemplate_logo', "<img src=\"themes/xtemplate/$template_directory/logo.gif\" alt=\"Logo\" />"),
"logo" => variable_get('xtemplate_logo', "<img src=\"themes/xtemplate/$template_directory/logo.png\" alt=\"Logo\" />"),
"primary_links" => variable_get("xtemplate_primary_links", l("edit primary links", "admin/themes/xtemplate")),
"secondary_links" => variable_get("xtemplate_secondary_links", l("edit secondary links", "admin/themes/xtemplate"))
));

View File

@ -45,7 +45,7 @@ function update_page_header($title) {
</style>
EOF;
$output .= "</head><body>";
$output .= "<div id=\"logo\"><a href=\"http://drupal.org/\"><img src=\"misc/druplicon-small.gif\" alt=\"Druplicon - Drupal logo\" title=\"Druplicon - Drupal logo\" /></a></div>";
$output .= "<div id=\"logo\"><a href=\"http://drupal.org/\"><img src=\"misc/druplicon-small.png\" alt=\"Druplicon - Drupal logo\" title=\"Druplicon - Drupal logo\" /></a></div>";
$output .= "<div id=\"update\"><h1>$title</h1>";
return $output;
}