alecpl
2012-03-09 3cbdbd9bb772619e38b7715190ffd8ea8a1863e6
- Improve logo handling in default skin (#1488385)


6 files modified
23 ■■■■■ changed files
program/include/html.php 2 ●●● patch | view | raw | blame | history
skins/default/common.css 12 ●●●●● patch | view | raw | blame | history
skins/default/includes/header.html 3 ●●●● patch | view | raw | blame | history
skins/default/print.css 2 ●●● patch | view | raw | blame | history
skins/default/templates/error.html 2 ●●● patch | view | raw | blame | history
skins/default/templates/messageprint.html 2 ●●● patch | view | raw | blame | history
program/include/html.php
@@ -157,7 +157,7 @@
            $attr = array('src' => $attr);
        }
        return self::tag('img', $attr + array('alt' => ''), null, array_merge(self::$common_attrib,
        array('src','alt','width','height','border','usemap')));
            array('src','alt','width','height','border','usemap','onclick')));
    }
    /**
skins/default/common.css
@@ -154,14 +154,10 @@
  left: 20px;
}
body > #header
body > #logo
{
  position: absolute;
  top: 8px;
  left: 19px;
  width: 170px;
  height: 40px;
  z-index: 100;
  margin-left: 12px;
  cursor: pointer;
}
#taskbar
@@ -170,7 +166,7 @@
  top: 0px;
  right: 0px;
  height: 24px;
  width: 100%;
  left: 250px;
  background: url(images/taskbar.png) top right no-repeat;
  padding: 10px 6px 5px 0px;
  text-align: right;
skins/default/includes/header.html
@@ -1,3 +1,2 @@
<div id="header"><a href="./?_page=1"><roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" alt="Logo" /></a></div>
<roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" onclick="location.href='./?_page=1'" />
<roundcube:object name="message" id="message" />
skins/default/print.css
@@ -25,7 +25,7 @@
  color: #000000;
}
#header
body > #logo
{
  float: right;
  margin: 0 5mm 3mm 5mm;
skins/default/templates/error.html
@@ -6,7 +6,7 @@
</head>
<body>
<div id="header"><roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" alt="Logo" /></div>
<roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" />
<div style="width:400px; margin:60px auto;">
$__page_content
skins/default/templates/messageprint.html
@@ -7,7 +7,7 @@
</head>
<body>
<div id="header"><roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" alt="Logo" /></div>
<roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" />
<div id="printmessageframe">
<roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" />