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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
442f26ea
Commit
442f26ea
authored
12 years ago
by
Frank Karlitschek
Browse files
Options
Downloads
Patches
Plain Diff
structure the settings options a bit better.
parent
f1755528
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
settings/templates/admin.php
+5
-1
5 additions, 1 deletion
settings/templates/admin.php
with
5 additions
and
1 deletion
settings/templates/admin.php
+
5
−
1
View file @
442f26ea
...
@@ -38,7 +38,7 @@ if(!$_['htaccessworking']) {
...
@@ -38,7 +38,7 @@ if(!$_['htaccessworking']) {
</fieldset>
</fieldset>
<fieldset
class=
"personalblock"
id=
"shareAPI"
>
<fieldset
class=
"personalblock"
id=
"shareAPI"
>
<legend><strong>
<?php
echo
$l
->
t
(
'Shar
e API
'
);
?>
</strong></legend>
<legend><strong>
<?php
echo
$l
->
t
(
'Shar
ing
'
);
?>
</strong></legend>
<table
class=
"shareAPI nostyle"
>
<table
class=
"shareAPI nostyle"
>
<tr>
<tr>
<td
id=
"enable"
>
<td
id=
"enable"
>
...
@@ -46,15 +46,19 @@ if(!$_['htaccessworking']) {
...
@@ -46,15 +46,19 @@ if(!$_['htaccessworking']) {
<label
for=
"shareAPIEnabled"
>
<?php
echo
$l
->
t
(
'Enable Share API'
);
?>
</label><br
/>
<label
for=
"shareAPIEnabled"
>
<?php
echo
$l
->
t
(
'Enable Share API'
);
?>
</label><br
/>
<em>
<?php
echo
$l
->
t
(
'Allow apps to use the Share API'
);
?>
</em>
<em>
<?php
echo
$l
->
t
(
'Allow apps to use the Share API'
);
?>
</em>
</td>
</td>
</tr><tr>
<td
<?php
if
(
$_
[
'shareAPIEnabled'
]
==
'no'
)
echo
'style="display:none"'
;
?>
>
<td
<?php
if
(
$_
[
'shareAPIEnabled'
]
==
'no'
)
echo
'style="display:none"'
;
?>
>
<input
type=
"checkbox"
name=
"shareapi_allow_links"
id=
"allowLinks"
value=
"1"
<?php
if
(
$_
[
'allowLinks'
]
==
'yes'
)
echo
'checked="checked"'
;
?>
/>
<input
type=
"checkbox"
name=
"shareapi_allow_links"
id=
"allowLinks"
value=
"1"
<?php
if
(
$_
[
'allowLinks'
]
==
'yes'
)
echo
'checked="checked"'
;
?>
/>
<label
for=
"allowLinks"
>
<?php
echo
$l
->
t
(
'Allow links'
);
?>
</label><br
/>
<label
for=
"allowLinks"
>
<?php
echo
$l
->
t
(
'Allow links'
);
?>
</label><br
/>
<em>
<?php
echo
$l
->
t
(
'Allow users to share items to the public with links'
);
?>
</em>
<em>
<?php
echo
$l
->
t
(
'Allow users to share items to the public with links'
);
?>
</em>
</td>
</td>
</tr><tr>
<td
<?php
if
(
$_
[
'shareAPIEnabled'
]
==
'no'
)
echo
'style="display:none"'
;
?>
>
<td
<?php
if
(
$_
[
'shareAPIEnabled'
]
==
'no'
)
echo
'style="display:none"'
;
?>
>
<input
type=
"checkbox"
name=
"shareapi_allow_resharing"
id=
"allowResharing"
value=
"1"
<?php
if
(
$_
[
'allowResharing'
]
==
'yes'
)
echo
'checked="checked"'
;
?>
/>
<input
type=
"checkbox"
name=
"shareapi_allow_resharing"
id=
"allowResharing"
value=
"1"
<?php
if
(
$_
[
'allowResharing'
]
==
'yes'
)
echo
'checked="checked"'
;
?>
/>
<label
for=
"allowResharing"
>
<?php
echo
$l
->
t
(
'Allow resharing'
);
?>
</label><br
/>
<label
for=
"allowResharing"
>
<?php
echo
$l
->
t
(
'Allow resharing'
);
?>
</label><br
/>
<em>
<?php
echo
$l
->
t
(
'Allow users to share items shared with them again'
);
?>
</em>
<em>
<?php
echo
$l
->
t
(
'Allow users to share items shared with them again'
);
?>
</em>
</td>
</tr><tr>
<td
<?php
if
(
$_
[
'shareAPIEnabled'
]
==
'no'
)
echo
'style="display:none"'
;
?>
>
<td
<?php
if
(
$_
[
'shareAPIEnabled'
]
==
'no'
)
echo
'style="display:none"'
;
?>
>
<input
type=
"radio"
name=
"shareapi_share_policy"
id=
"sharePolicyGlobal"
value=
"global"
<?php
if
(
$_
[
'sharePolicy'
]
==
'global'
)
echo
'checked="checked"'
;
?>
/>
<input
type=
"radio"
name=
"shareapi_share_policy"
id=
"sharePolicyGlobal"
value=
"global"
<?php
if
(
$_
[
'sharePolicy'
]
==
'global'
)
echo
'checked="checked"'
;
?>
/>
<label
for=
"sharePolicyGlobal"
>
<?php
echo
$l
->
t
(
'Allow users to share with anyone'
);
?>
</label><br
/>
<label
for=
"sharePolicyGlobal"
>
<?php
echo
$l
->
t
(
'Allow users to share with anyone'
);
?>
</label><br
/>
...
...
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