Aleksander Machniak
2013-07-05 eabc0564cd09a5ce77c00777e34cc1bfc7ee56d4
Help plugin: CSS fixes, content frame scrollbar fix, about page (classic skin) fix
6 files modified
23 ■■■■ changed files
plugins/help/help.php 3 ●●●● patch | view | raw | blame | history
plugins/help/skins/classic/help.css 2 ●●● patch | view | raw | blame | history
plugins/help/skins/classic/templates/help.html 6 ●●●● patch | view | raw | blame | history
plugins/help/skins/larry/help.css 1 ●●●● patch | view | raw | blame | history
skins/classic/templates/about.html 7 ●●●●● patch | view | raw | blame | history
skins/larry/templates/about.html 4 ●●●● patch | view | raw | blame | history
plugins/help/help.php
@@ -82,7 +82,8 @@
                if (is_readable($this->home . '/content/about.html')) {
                    return @file_get_contents($this->home . '/content/about.html');
                }
                $src = $rcmail->config->get('help_about_url', $rcmail->url(array('_task' => 'settings', '_action' => 'about')));
                $default = $rcmail->url(array('_task' => 'settings', '_action' => 'about', '_framed' => 1));
                $src     = $rcmail->config->get('help_about_url', $default);
                break;
            case 'license':
plugins/help/skins/classic/help.css
@@ -7,7 +7,7 @@
.help-box
{
  overflow: auto;
  overflow: auto;
  background-color: #F2F2F2;
}
plugins/help/skins/classic/templates/help.html
@@ -7,9 +7,9 @@
<script type="text/javascript">
function help_init_settings_tabs()
{
    var action, tab = '#helptabdefault';
    var action, tab = '#helptabindex';
    if (window.rcmail && (action = rcmail.env.action)) {
        tab = '#helptab' + (action ? action : 'default');
        tab = '#helptab' + (action ? action : 'index');
    }
    $(tab).addClass('tablink-selected');
}
@@ -21,7 +21,7 @@
<roundcube:include file="/includes/header.html" />
<div id="tabsbar">
<span id="helptabdefault" class="tablink"><roundcube:button name="helpdefault" href="?_task=help" type="link" label="help.help" title="help.help" /></span>
<span id="helptabindex" class="tablink"><roundcube:button name="helpindex" href="?_task=help" type="link" label="help.help" title="help.help" /></span>
<span id="helptababout" class="tablink"><roundcube:button name="helpabout" href="?_task=help&amp;_action=about" type="link" label="help.about" title="help.about" class="tablink" /></span>
<span id="helptablicense" class="tablink"><roundcube:button name="helplicense" href="?_task=help&amp;_action=license" type="link" label="help.license" title="help.license" class="tablink" /></span>
<roundcube:container name="helptabs" id="helptabsbar" />
plugins/help/skins/larry/help.css
@@ -39,7 +39,6 @@
    background: url(help.png) center -130px no-repeat;
}
.iframebox.help_about,
.iframebox.help_license {
    overflow: auto;
}
skins/classic/templates/about.html
@@ -7,11 +7,15 @@
</head>
<body>
<roundcube:if condition="!request:_framed" />
<roundcube:include file="/includes/taskbar.html" />
<roundcube:include file="/includes/header.html" />
<roundcube:include file="/includes/settingstabs.html" />
<div id="mainscreen" class="box darkbg crop">
<roundcube:endif />
<div class="readtext">
<div id="license">
<roundcube:object name="aboutcontent" />
@@ -29,7 +33,10 @@
<roundcube:object name="pluginlist" id="pluginlist" class="records-table" cellspacing="0" />
</div>
<roundcube:if condition="!request:_framed" />
</div>
<roundcube:endif />
</body>
</html>
skins/larry/templates/about.html
@@ -4,7 +4,11 @@
<title><roundcube:object name="pagetitle" /></title>
<roundcube:include file="/includes/links.html" />
</head>
<roundcube:if condition="request:_framed" />
<body class="iframe fullheight">
<roundcube:else />
<body class="ui-widget-content">
<roundcube:endif />
<div class="readtext">
<roundcube:object name="aboutcontent" />