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
f2a21398
Commit
f2a21398
authored
13 years ago
by
Jan-Christoph Borchardt
Browse files
Options
Downloads
Patches
Plain Diff
more info in personal, WebDAV, OpenID
parent
4f43b0a7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
apps/user_openid/templates/settings.php
+5
-4
5 additions, 4 deletions
apps/user_openid/templates/settings.php
core/js/js.js
+1
-0
1 addition, 0 deletions
core/js/js.js
settings/templates/personal.php
+24
-17
24 additions, 17 deletions
settings/templates/personal.php
with
30 additions
and
21 deletions
apps/user_openid/templates/settings.php
+
5
−
4
View file @
f2a21398
<form
id=
"openidform"
>
<fieldset>
<legend>
<?php
echo
$l
->
t
(
'OpenID'
);
?>
</legend>
<input
type=
"text"
name=
'identity'
id=
'identity'
value=
"
<?php
echo
$_
[
'identity'
];
?>
"
placeholder=
"OpenID for
<?php
echo
OC_User
::
getUser
();
?>
"
/>
<fieldset
class=
"personalblock"
>
<p><strong>
OpenID
</strong>
<?php
echo
((
isset
(
$_SERVER
[
"HTTPS"
])
&&
$_SERVER
[
"HTTPS"
]
==
'on'
)
?
'https'
:
'http'
)
.
'://'
.
$_SERVER
[
'HTTP_HOST'
]
.
$WEBROOT
.
'/?'
;
echo
OC_User
::
getUser
();
?>
</p>
<label
for=
"identity"
>
Authorized
</label>
<input
type=
"text"
name=
"identity"
id=
"identity"
value=
"
<?php
echo
$_
[
'identity'
];
?>
"
placeholder=
"OpenID provider"
title=
"Wordpress, Identi.ca, Launchpad, …"
/>
</fieldset>
</form>
\ No newline at end of file
</form>
This diff is collapsed.
Click to expand it.
core/js/js.js
+
1
−
0
View file @
f2a21398
...
...
@@ -302,6 +302,7 @@ $(document).ready(function(){
if
(
$
(
'
.action
'
).
attr
(
'
title
'
))
$
(
'
.action
'
).
tipsy
({
gravity
:
'
s
'
,
fade
:
true
,
live
:
true
});
$
(
'
.selectedActions a
'
).
tipsy
({
gravity
:
'
n
'
,
fade
:
true
,
live
:
true
});
$
(
'
.selectedActions a.delete
'
).
tipsy
({
gravity
:
'
ne
'
,
fade
:
true
,
live
:
true
});
$
(
'
input#identity
'
).
tipsy
({
gravity
:
'
w
'
,
fade
:
true
});
});
if
(
!
Array
.
prototype
.
map
){
...
...
This diff is collapsed.
Click to expand it.
settings/templates/personal.php
+
24
−
17
View file @
f2a21398
<div
id=
"quota"
class=
"personalblock"
><div
style=
"width:
<?php
echo
$_
[
'usage_relative'
]
?>
%;"
>
<p>
<?php
echo
$l
->
t
(
'You use'
);
?>
<strong>
<?php
echo
$_
[
'usage'
]
?>
</strong>
<?php
echo
$l
->
t
(
'of the available'
);
?>
<?php
echo
$_
[
'total_space'
]
?>
</p>
<p>
<?php
echo
$l
->
t
(
'You use'
);
?>
<strong>
<?php
echo
$_
[
'usage'
]
?>
</strong>
<?php
echo
$l
->
t
(
'of the available'
);
?>
<?php
echo
$_
[
'total_space'
]
?>
</p>
</div></div>
<form
id=
"passwordform"
>
<fieldset
class=
"personalblock"
>
<div
id=
"passwordchanged"
>
<?php
echo
$l
->
t
(
'Your password got changed'
);
?>
</div>
<div
id=
"passwordchanged"
>
<?php
echo
$l
->
t
(
'Your password got changed'
);
?>
</div>
<div
id=
"passworderror"
></div>
<input
type=
"password"
id=
"pass1"
name=
"oldpassword"
placeholder=
"
<?php
echo
$l
->
t
(
'Current password'
);
?>
"
/>
<input
type=
"password"
id=
"pass2"
name=
"password"
placeholder=
"
<?php
echo
$l
->
t
(
'New password'
);
?>
"
data-typetoggle=
"#show"
/>
<input
type=
"checkbox"
id=
"show"
name=
"show"
/><label
for=
"show"
>
<?php
echo
$l
->
t
(
'show'
);
?>
</label>
<input
id=
"passwordbutton"
type=
"submit"
value=
"
<?php
echo
$l
->
t
(
'Change password'
);
?>
"
/>
<input
type=
"password"
id=
"pass1"
name=
"oldpassword"
placeholder=
"
<?php
echo
$l
->
t
(
'Current password'
);
?>
"
/>
<input
type=
"password"
id=
"pass2"
name=
"password"
placeholder=
"
<?php
echo
$l
->
t
(
'New password'
);
?>
"
data-typetoggle=
"#show"
/>
<input
type=
"checkbox"
id=
"show"
name=
"show"
/><label
for=
"show"
>
<?php
echo
$l
->
t
(
'show'
);
?>
</label>
<input
id=
"passwordbutton"
type=
"submit"
value=
"
<?php
echo
$l
->
t
(
'Change password'
);
?>
"
/>
</fieldset>
</form>
<div
class=
"personalblock"
>
<label
for=
"languageinput"
>
<?php
echo
$l
->
t
(
'Language'
);
?>
</label>
<select
id=
"languageinput"
name=
'lang'
>
<?php
foreach
(
$_
[
'languages'
]
as
$language
)
:
?>
<option
value=
'
<?php
echo
$language
;
?>
'
>
<?php
echo
$language
;
?>
</option>
<?php
endforeach
;
?>
</select>
<form>
<fieldset
class=
"personalblock"
>
<strong><label
for=
"languageinput"
>
<?php
echo
$l
->
t
(
'Language'
);
?>
</label></strong>
<select
id=
"languageinput"
name=
'lang'
>
<?php
foreach
(
$_
[
'languages'
]
as
$language
)
:
?>
<option
value=
"
<?php
echo
$language
;
?>
"
>
<?php
echo
$language
;
?>
</option>
<?php
endforeach
;
?>
</select>
<a
href=
"https://www.transifex.net/projects/p/owncloud/"
>
<?php
echo
$l
->
t
(
'Help translating'
);
?>
</a>
</fieldset>
</form>
<p
class=
"personalblock"
>
<strong>
WebDAV
</strong>
<?php
echo
((
isset
(
$_SERVER
[
"HTTPS"
])
&&
$_SERVER
[
"HTTPS"
]
==
'on'
)
?
'https'
:
'http'
)
.
'://'
.
$_SERVER
[
'HTTP_HOST'
]
.
$WEBROOT
.
'/files/webdav.php'
;
?>
</p>
<?php
foreach
(
$_
[
'forms'
]
as
$form
){
echo
$form
;
};
?>
</div>
<?php
foreach
(
$_
[
'forms'
]
as
$form
){
echo
$form
;
};
?>
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