- 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
|
@ -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 = ' <img src="' . theme('image', 'arrow-' . $ts['sort'] . '.gif') . '" alt="'. t('sort icon') .'" />';
|
||||
$image = ' <img src="' . theme('image', 'arrow-' . $ts['sort'] . '.png') . '" alt="'. t('sort icon') .'" />';
|
||||
$title = ($ts['sort'] == 'asc' ? t('sort ascending') : t('sort descending'));
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -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>";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Before Width: | Height: | Size: 60 B |
After Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 61 B |
After Width: | Height: | Size: 119 B |
BIN
misc/blog.gif
Before Width: | Height: | Size: 77 B |
After Width: | Height: | Size: 109 B |
|
@ -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;
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 143 B |
After Width: | Height: | Size: 200 B |
Before Width: | Height: | Size: 899 B |
After Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 943 B |
After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 942 B |
After Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 893 B |
After Width: | Height: | Size: 175 B |
After Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 53 B |
After Width: | Height: | Size: 108 B |
Before Width: | Height: | Size: 826 B |
After Width: | Height: | Size: 106 B |
Before Width: | Height: | Size: 829 B |
After Width: | Height: | Size: 108 B |
BIN
misc/xml.gif
Before Width: | Height: | Size: 429 B |
After Width: | Height: | Size: 396 B |
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=\"\" />";
|
||||
}
|
||||
|
|
|
@ -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=\"\" />";
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"))
|
||||
));
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|