parent
61071e8c6c
commit
830a783fa1
|
@ -1,7 +1,7 @@
|
||||||
<div class="menu-box">
|
<div class="menu-box">
|
||||||
<div class="menu-title">
|
<div class="menu-title">
|
||||||
<img src="/admin/images/lang.png" alt="<?php __("Langues"); ?>" /> <?php __("Langues"); ?></div>
|
<img src="/admin/images/lang.png" alt="<?php __("Langues"); ?>" /> <a href="javascript:menulang_show();"><?php __("Langues"); ?></a></div>
|
||||||
<div class="menu-content" id="menu-lang">
|
<div class="menu-content" id="menu-lang">
|
||||||
<ul>
|
<ul>
|
||||||
<?php foreach($locales as $l) { ?>
|
<?php foreach($locales as $l) { ?>
|
||||||
<li><a href="/admin/login.php?setlang=<?php echo $l; ?>" target="_top"><?php __($l); ?></a></li>
|
<li><a href="/admin/login.php?setlang=<?php echo $l; ?>" target="_top"><?php __($l); ?></a></li>
|
||||||
|
@ -9,4 +9,9 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$("#menu-lang").hide();
|
||||||
|
function menulang_show() {
|
||||||
|
$("#menu-lang").show();
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLCertificateFile /etc/alternc/apache.pem
|
SSLCertificateFile /etc/alternc/apache.pem
|
||||||
SSLCaCertificatePath /etc/ssl/certs
|
SSLCaCertificatePath /etc/ssl/certs
|
||||||
DocumentRoot /var/alternc/bureau
|
DocumentRoot /var/alternc/bureau
|
||||||
Include /etc/alternc/bureau.conf
|
Include /etc/alternc/bureau.conf
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
DocumentRoot /var/alternc/bureau
|
DocumentRoot /var/alternc/bureau
|
||||||
ServerName %%fqdn%%
|
ServerName %%fqdn%%
|
||||||
|
RedirectMatch ^/$ /admin/
|
||||||
|
|
||||||
alias /admin/sql /usr/share/phpmyadmin
|
alias /admin/sql /usr/share/phpmyadmin
|
||||||
alias /webmail /usr/share/squirrelmail
|
alias /webmail /usr/share/squirrelmail
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
DocumentRoot /var/alternc/bureau
|
DocumentRoot /var/alternc/bureau
|
||||||
ServerName %%fqdn%%
|
ServerName %%fqdn%%
|
||||||
|
RedirectMatch ^/$ /admin/
|
||||||
|
|
||||||
alias /admin/sql /usr/share/phpmyadmin
|
alias /admin/sql /usr/share/phpmyadmin
|
||||||
alias /webmail /usr/share/squirrelmail
|
alias /webmail /usr/share/squirrelmail
|
||||||
|
|
Loading…
Reference in New Issue