Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
89bbabd7
Commit
89bbabd7
authored
12 years ago
by
Frank Karlitschek
Browse files
Options
Downloads
Patches
Plain Diff
a bit more polish. We are getting there.
parent
f85106b6
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
settings/css/settings.css
+3
-0
3 additions, 0 deletions
settings/css/settings.css
settings/help.php
+6
-0
6 additions, 0 deletions
settings/help.php
settings/templates/help.php
+3
-2
3 additions, 2 deletions
settings/templates/help.php
with
12 additions
and
2 deletions
settings/css/settings.css
+
3
−
0
View file @
89bbabd7
...
...
@@ -68,3 +68,6 @@ span.securitywarning {color:#C33; font-weight:bold; }
span
.connectionwarning
{
color
:
#933
;
font-weight
:
bold
;
}
input
[
type
=
radio
]
{
width
:
1em
;
}
table
.shareAPI
td
{
padding-bottom
:
0.8em
;
}
/* HELP */
.pressed
{
background-color
:
#DDD
;}
This diff is collapsed.
Click to expand it.
settings/help.php
+
6
−
0
View file @
89bbabd7
...
...
@@ -15,8 +15,12 @@ OC_App::setActiveNavigationEntry( "help" );
if
(
isset
(
$_GET
[
'mode'
])
and
$_GET
[
'mode'
]
==
'admin'
)
{
$url
=
OC_Helper
::
linkToAbsolute
(
'core'
,
'docu/admin'
);
$style1
=
''
;
$style2
=
' pressed'
;
}
else
{
$url
=
OC_Helper
::
linkToAbsolute
(
'core'
,
'docu/user'
);
$style1
=
' pressed'
;
$style2
=
''
;
}
$url1
=
OC_Helper
::
linkToRoute
(
"settings_help"
)
.
'?mode=user'
;
...
...
@@ -27,4 +31,6 @@ $tmpl->assign( "admin", OC_Group::inGroup(OC_User::getUser(), 'admin') );
$tmpl
->
assign
(
"url"
,
$url
);
$tmpl
->
assign
(
"url1"
,
$url1
);
$tmpl
->
assign
(
"url2"
,
$url2
);
$tmpl
->
assign
(
"style1"
,
$style1
);
$tmpl
->
assign
(
"style2"
,
$style2
);
$tmpl
->
printPage
();
This diff is collapsed.
Click to expand it.
settings/templates/help.php
+
3
−
2
View file @
89bbabd7
<div
id=
"controls"
>
<a
class=
"button newquestion"
href=
"
<?php
echo
(
$_
[
'url1'
]);
?>
"
>
<?php
echo
$l
->
t
(
'User Documentation'
);
?>
</a>
<?php
if
(
$_
[
'admin'
])
{
?>
<a
class=
"button newquestion"
href=
"
<?php
echo
(
$_
[
'url2'
]);
?>
"
>
<?php
echo
$l
->
t
(
'Administrator Documentation'
);
?>
</a>
<?php
}
?>
<?php
if
(
$_
[
'admin'
])
{
?>
<a
class=
"button newquestion
<?php
echo
(
$_
[
'style1'
]);
?>
"
href=
"
<?php
echo
(
$_
[
'url1'
]);
?>
"
>
<?php
echo
$l
->
t
(
'User Documentation'
);
?>
</a>
<?php
}
?>
<?php
if
(
$_
[
'admin'
])
{
?>
<a
class=
"button newquestion
<?php
echo
(
$_
[
'style2'
]);
?>
"
href=
"
<?php
echo
(
$_
[
'url2'
]);
?>
"
>
<?php
echo
$l
->
t
(
'Administrator Documentation'
);
?>
</a>
<?php
}
?>
<a
class=
"button newquestion"
href=
"http://owncloud.org/support"
target=
"_blank"
>
<?php
echo
$l
->
t
(
'Online Documentation'
);
?>
</a>
<a
class=
"button newquestion"
href=
"http://forum.owncloud.org"
target=
"_blank"
>
<?php
echo
$l
->
t
(
'Forum'
);
?>
</a>
<a
class=
"button newquestion"
href=
"https://github.com/owncloud/core/issues"
target=
"_blank"
>
<?php
echo
$l
->
t
(
'Bugtracker'
);
?>
</a>
<a
class=
"button newquestion"
href=
"http://owncloud.com"
target=
"_blank"
>
<?php
echo
$l
->
t
(
'Commercial Support'
);
?>
</a>
</div>
<br
/><br
/>
<iframe
src=
"
<?php
echo
(
$_
[
'url'
]);
?>
"
width=
"100%"
id=
"ifm"
></iframe>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment