Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
b908e2f9
Commit
b908e2f9
authored
Sep 27, 2007
by
jepso
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include mootools and IE css fixes properly,
parent
50c4fc5c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
80 deletions
+12
-80
view.yml
website/apps/frontend/modules/manual/config/view.yml
+3
-3
manual_layout.php
website/apps/frontend/templates/manual_layout.php
+9
-1
manual_toc.js
website/web/js/manual_toc.js
+0
-76
No files found.
website/apps/frontend/modules/manual/config/view.yml
View file @
b908e2f9
default
:
stylesheets
:
[
main
,
layout
,
manual
,
manual_iefix
:
{
media
:
print
}]
javascripts
:
[
mootools.v1.11
,
manual_tree
,
manual_toc
]
layout
:
manual_layout
\ No newline at end of file
stylesheets
:
[
main
,
layout
,
manual
]
javascripts
:
[
mootools.v1.11.js
,
manual_tree
]
layout
:
manual_layout
website/apps/frontend/templates/manual_layout.php
View file @
b908e2f9
...
...
@@ -9,6 +9,14 @@
<link
rel=
"shortcut icon"
href=
"/favicon.ico"
/>
<?php
include_stylesheets
()
?>
<!--[if gte IE 5.5]>
<![if lt IE 7]>
<?php
echo
stylesheet_tag
(
'manual_iefix'
)
?>
<![endif]>
<![endif]-->
</head>
<body>
...
...
@@ -41,4 +49,4 @@
</div>
</body>
</html>
\ No newline at end of file
</html>
website/web/js/manual_toc.js
deleted
100644 → 0
View file @
50c4fc5c
function
initializeTocToggles
()
{
var
container
=
new
Element
(
'
div
'
,
{
'
id
'
:
'
toc-toggles
'
});
container
.
injectTop
(
$
(
'
table-of-contents
'
));
$
(
'
table-of-contents
'
).
setStyle
(
'
padding-top
'
,
'
0
'
);
var
hideToggle
=
new
Element
(
'
a
'
,
{
'
href
'
:
'
javascript:void(0);
'
,
'
events
'
:
{
'
click
'
:
function
()
{
var
toc
=
$E
(
'
ul
'
,
'
table-of-contents
'
);
if
(
toc
.
getStyle
(
'
display
'
)
==
'
none
'
)
{
this
.
setHTML
(
tocHideText
);
toc
.
setStyle
(
'
display
'
,
'
block
'
);
stickyToggle
.
setStyle
(
'
display
'
,
'
inline
'
);
Cookie
.
set
(
'
hidetoc
'
,
0
,
{
duration
:
1000
});
}
else
{
this
.
setHTML
(
tocShowText
);
toc
.
setStyle
(
'
display
'
,
'
none
'
);
stickyToggle
.
setStyle
(
'
display
'
,
'
none
'
);
Cookie
.
set
(
'
hidetoc
'
,
1
,
{
duration
:
1000
});
}
}
}
});
var
stickyToggle
=
new
Element
(
'
a
'
,
{
'
href
'
:
'
javascript:void(0);
'
,
'
events
'
:
{
'
click
'
:
function
()
{
var
wrap
=
$
(
'
wrap
'
);
if
(
!
wrap
.
hasClass
(
'
sticky-toc
'
))
{
this
.
setHTML
(
tocUnstickyText
);
wrap
.
addClass
(
'
sticky-toc
'
);
hideToggle
.
setStyle
(
'
display
'
,
'
none
'
);
Cookie
.
set
(
'
stickytoc
'
,
1
,
{
duration
:
1000
});
}
else
{
this
.
setHTML
(
tocStickyText
);
wrap
.
removeClass
(
'
sticky-toc
'
);
hideToggle
.
setStyle
(
'
display
'
,
'
inline
'
);
Cookie
.
set
(
'
stickytoc
'
,
0
,
{
duration
:
1000
});
}
}
}
});
hideToggle
.
setHTML
(
tocHideText
);
hideToggle
.
injectInside
(
container
);
stickyToggle
.
setHTML
(
tocStickyText
);
stickyToggle
.
injectInside
(
container
);
if
(
Cookie
.
get
(
'
hidetoc
'
)
==
1
)
{
hideToggle
.
fireEvent
(
'
click
'
);
stickyToggle
.
setStyle
(
'
display
'
,
'
none
'
);
}
if
(
Cookie
.
get
(
'
stickytoc
'
)
==
1
)
{
stickyToggle
.
fireEvent
(
'
click
'
);
hideToggle
.
setStyle
(
'
display
'
,
'
none
'
);
}
}
window
.
addEvent
(
'
domready
'
,
function
()
{
initializeTocToggles
();
});
window
.
addEvent
(
'
domready
'
,
function
()
{
new
SmoothScroll
();
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment