1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00

Add mabola skin and ThreeCol layout plugin

Mabola skin: there are no releases or tags in the mabola repo, so have cloned the master
Threecol plugin: the v0.4 release doesn't properly allow Preview Pane location to be set, but the master does

A bit strange to me that adding $rcmail_config['plugins'] is required, but this is what allows it to work
This commit is contained in:
Brad 2016-10-01 20:38:36 +01:00 committed by GitHub
parent da5497cd1c
commit c8135f7efb

View File

@ -68,6 +68,12 @@ if [ $needs_update == 1 ]; then
# install roundcube html5_notifier plugin # install roundcube html5_notifier plugin
git_clone https://github.com/kitist/html5_notifier.git $HTML5_NOTIFIER_VERSION '' /usr/local/lib/roundcubemail/plugins/html5_notifier git_clone https://github.com/kitist/html5_notifier.git $HTML5_NOTIFIER_VERSION '' /usr/local/lib/roundcubemail/plugins/html5_notifier
# install roundcube threecol plugin
git_clone https://github.com/EstudioNexos/threecol.git '' '' /usr/local/lib/roundcubemail/plugins/threecol
# install roundcube mabola skin
git_clone https://github.com/EstudioNexos/mabola.git '' '' /usr/local/lib/roundcubemail/skins/mabola
# record the version we've installed # record the version we've installed
echo $UPDATE_KEY > /usr/local/lib/roundcubemail/version echo $UPDATE_KEY > /usr/local/lib/roundcubemail/version
fi fi
@ -102,6 +108,7 @@ cat > /usr/local/lib/roundcubemail/config/config.inc.php <<EOF;
\$config['product_name'] = '$PRIMARY_HOSTNAME Webmail'; \$config['product_name'] = '$PRIMARY_HOSTNAME Webmail';
\$config['des_key'] = '$SECRET_KEY'; \$config['des_key'] = '$SECRET_KEY';
\$config['plugins'] = array('html5_notifier', 'archive', 'zipdownload', 'password', 'managesieve', 'jqueryui', 'vacation_sieve', 'persistent_login'); \$config['plugins'] = array('html5_notifier', 'archive', 'zipdownload', 'password', 'managesieve', 'jqueryui', 'vacation_sieve', 'persistent_login');
\$rcmail_config['plugins'] = array('threecol');
\$config['skin'] = 'classic'; \$config['skin'] = 'classic';
\$config['login_autocomplete'] = 2; \$config['login_autocomplete'] = 2;
\$config['password_charset'] = 'UTF-8'; \$config['password_charset'] = 'UTF-8';