alecpl
2008-04-14 a901aa564a73e85d37eda6b53c21c0638d435169
- Added sections (fieldset+label) in Settings interface


7 files modified
32 ■■■■ changed files
CHANGELOG 4 ●●●● patch | view | raw | blame | history
program/localization/en_GB/labels.inc 2 ●●●●● patch | view | raw | blame | history
program/localization/en_US/labels.inc 2 ●●●●● patch | view | raw | blame | history
program/localization/pl/labels.inc 2 ●●●●● patch | view | raw | blame | history
program/steps/settings/func.inc 8 ●●●●● patch | view | raw | blame | history
skins/default/settings.css 12 ●●●●● patch | view | raw | blame | history
skins/default/templates/settings.html 2 ●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,6 +1,10 @@
CHANGELOG RoundCube Webmail
---------------------------
2008/04/14 (alec)
----------
- Added sections (fieldset+label) in Settings interface
2008/04/12 (alec)
----------
- Fixed and optimized 'read_when_deleted': mark as read on server side
program/localization/en_GB/labels.inc
@@ -197,6 +197,8 @@
$labels['previewpane'] = 'Show preview pane';
$labels['logoutclear'] = 'Clear Trash on logout';
$labels['logoutcompact'] = 'Compact Inbox on logout';
$labels['uisettings'] = 'User Interface';
$labels['serversettings'] = 'Server Settings';
$labels['autosavedraft'] = 'Automatically save draft';
$labels['everynminutes'] = 'every $n minutes';
$labels['never'] = 'never';
program/localization/en_US/labels.inc
@@ -252,6 +252,8 @@
$labels['previewpane'] = 'Show preview pane';
$labels['logoutclear'] = 'Clear Trash on logout';
$labels['logoutcompact'] = 'Compact Inbox on logout';
$labels['uisettings'] = 'User Interface';
$labels['serversettings'] = 'Server Settings';
$labels['autosavedraft']  = 'Automatically save draft';
$labels['everynminutes']  = 'every $n minutes';
program/localization/pl/labels.inc
@@ -201,6 +201,8 @@
$labels['previewpane'] = 'Pokaż podgląd';
$labels['logoutclear'] = 'Przy wylogowaniu opróżnij Kosz';
$labels['logoutcompact'] = 'Przy wylogowaniu porządkuj folder Odebrane';
$labels['uisettings'] = 'Interfejs użytkownika';
$labels['serversettings'] = 'Ustawienia serwera';
$labels['autosavedraft'] = 'Automatyczny zapis tworzonej wiadomości';
$labels['everynminutes'] = 'co $n minut';
$labels['never'] = 'nigdy';
program/steps/settings/func.inc
@@ -40,8 +40,8 @@
  // allow the following attributes to be added to the <table> tag
  $attrib_str = create_attrib_string($attrib, array('style', 'class', 'id', 'cellpadding', 'cellspacing', 'border', 'summary'));
  // return the complete edit form as table
  $out = "$form_start<table" . $attrib_str . ">\n\n";
  // return the complete edit form as tables
  $out = "$form_start<fieldset><legend>" . Q(rcube_label('uisettings')) . "</legend>\n<table" . $attrib_str . ">\n\n";
  // show language selection
  if (!isset($no_override['language']))
@@ -180,6 +180,8 @@
                    Q(rcube_label('previewpane')),
                    $input_preview->show($CONFIG['preview_pane']?1:0));
    }
  $out .= "</table></fieldset>\n<fieldset><legend>" . Q(rcube_label('serversettings')) . "</legend>\n<table" . $attrib_str . ">\n\n";
                  
  if (!empty($CONFIG['drafts_mbox']) && !isset($no_override['draft_autosave']))
    {
@@ -217,7 +219,7 @@
                    $input_expunge->show($CONFIG['logout_expunge']?1:0));
    }
  $out .= "\n</table>$form_end";
  $out .= "\n</table></fieldset>$form_end";
  return $out;  
  }
skins/default/settings.css
@@ -197,3 +197,15 @@
{
  width: 90px;
}
fieldset
{
  margin-bottom: 0.5em;
  border: 1px solid #999999;
}
legend
{
  color: #999999;
}
skins/default/templates/settings.html
@@ -17,7 +17,7 @@
<div style="padding:15px">
<roundcube:object name="userprefs">
<p><br /><roundcube:button command="save" type="input" class="button" label="save" /></p>
<p><roundcube:button command="save" type="input" class="button" label="save" /></p>
</div>
</div>