aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-10-24 22:53:57 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-10-26 22:00:23 +0300
commit64e26e8c71c4f5d59e421c293f1bd6a17d13e341 (patch)
treedb2c4dfd933880a38e98c88e78182b3970462586 /phpBB/adm/style
parent12c5997471ffbc6a94c6f6efcf42a6d047c054a5 (diff)
downloadforums-64e26e8c71c4f5d59e421c293f1bd6a17d13e341.tar
forums-64e26e8c71c4f5d59e421c293f1bd6a17d13e341.tar.gz
forums-64e26e8c71c4f5d59e421c293f1bd6a17d13e341.tar.bz2
forums-64e26e8c71c4f5d59e421c293f1bd6a17d13e341.tar.xz
forums-64e26e8c71c4f5d59e421c293f1bd6a17d13e341.zip
[ticket/11957] Remove menu toggle
PHPBB3-11957
Diffstat (limited to 'phpBB/adm/style')
-rw-r--r--phpBB/adm/style/admin.css30
-rw-r--r--phpBB/adm/style/overall_header.html57
2 files changed, 0 insertions, 87 deletions
diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css
index bbd2844689..87f430c077 100644
--- a/phpBB/adm/style/admin.css
+++ b/phpBB/adm/style/admin.css
@@ -326,36 +326,6 @@ li {
/* Sub-navigation Menu
---------------------------------------- */
-/* Toggle */
-#toggle {
- padding: 5px;
- width: 5%;
- height: 100px;
- position: absolute;
- left: 15%;
- top: 28px;
- margin-left: 2px;
-}
-
-.rtl #toggle {
- left: 75%;
- margin-right: 0;
- margin-left: 6px;
-}
-
-#toggle-handle {
- display: block;
- width: 18px;
- height: 19px;
- float: right;
- background-image: url(../images/toggle.gif);
-}
-
-.rtl #toggle-handle {
- background-image: url(../images/toggle.gif);
- background-position: 100% 50%;
-}
-
/* Menu */
#menu {
float: left;
diff --git a/phpBB/adm/style/overall_header.html b/phpBB/adm/style/overall_header.html
index d091e6ad07..0636f9bb26 100644
--- a/phpBB/adm/style/overall_header.html
+++ b/phpBB/adm/style/overall_header.html
@@ -15,9 +15,6 @@ var on_page = '{ON_PAGE}';
var per_page = '{PER_PAGE}';
var base_url = '{BASE_URL|e('js')}';
-var menu_state = 'shown';
-
-
/**
* Jump to page
*/
@@ -104,56 +101,6 @@ function popup(url, width, height, name)
return false;
}
-/**
-* Hiding/Showing the side menu
-*/
-function switch_menu()
-{
- var menu = document.getElementById('menu');
- var main = document.getElementById('main');
- var toggle = document.getElementById('toggle');
- var handle = document.getElementById('toggle-handle');
-
- switch (menu_state)
- {
- // hide
- case 'shown':
- main.style.width = '93%';
- menu_state = 'hidden';
- menu.style.display = 'none';
- toggle.style.width = '20px';
- handle.style.backgroundImage = 'url(images/toggle.gif)';
- handle.style.backgroundRepeat = 'no-repeat';
-
- <!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
- handle.style.backgroundPosition = '0% 50%';
- toggle.style.left = '96%';
- <!-- ELSE -->
- handle.style.backgroundPosition = '100% 50%';
- toggle.style.left = '0';
- <!-- ENDIF -->
- break;
-
- // show
- case 'hidden':
- main.style.width = '76%';
- menu_state = 'shown';
- menu.style.display = 'block';
- toggle.style.width = '5%';
- handle.style.backgroundImage = 'url(images/toggle.gif)';
- handle.style.backgroundRepeat = 'no-repeat';
-
- <!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
- handle.style.backgroundPosition = '100% 50%';
- toggle.style.left = '75%';
- <!-- ELSE -->
- handle.style.backgroundPosition = '0% 50%';
- toggle.style.left = '15%';
- <!-- ENDIF -->
- break;
- }
-}
-
// ]]>
</script>
<!-- EVENT acp_overall_header_head_append -->
@@ -179,10 +126,6 @@ function switch_menu()
<div id="acp">
<div id="content">
- <!-- IF not S_USER_NOTICE -->
- <div id="toggle">
- <a id="toggle-handle" accesskey="m" title="{L_MENU_TOGGLE}" onclick="switch_menu(); return false;" href="#"></a></div>
- <!-- ENDIF -->
<div id="menu">
<p>{L_LOGGED_IN_AS}<br /><strong>{USERNAME}</strong> [&nbsp;<a href="{U_LOGOUT}">{L_LOGOUT}</a>&nbsp;][&nbsp;<a href="{U_ADM_LOGOUT}">{L_ADM_LOGOUT}</a>&nbsp;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<ul>