Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gnu-social
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
194
Issues
194
List
Boards
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gnu.io
gnu-social
Commits
9a6ee5e8
Commit
9a6ee5e8
authored
Apr 03, 2011
by
Siebrand Mazeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update translator documentation.
parent
18185b22
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
31 additions
and
0 deletions
+31
-0
actions/avatarsettings.php
actions/avatarsettings.php
+1
-0
actions/cancelsubscription.php
actions/cancelsubscription.php
+1
-0
actions/deleteapplication.php
actions/deleteapplication.php
+1
-0
actions/deletenotice.php
actions/deletenotice.php
+1
-0
actions/editapplication.php
actions/editapplication.php
+1
-0
actions/emailsettings.php
actions/emailsettings.php
+1
-0
actions/favor.php
actions/favor.php
+1
-0
actions/geocode.php
actions/geocode.php
+1
-0
actions/groupblock.php
actions/groupblock.php
+1
-0
actions/groupunblock.php
actions/groupunblock.php
+1
-0
actions/imsettings.php
actions/imsettings.php
+1
-0
actions/invite.php
actions/invite.php
+1
-0
actions/makeadmin.php
actions/makeadmin.php
+1
-0
actions/newapplication.php
actions/newapplication.php
+1
-0
actions/newmessage.php
actions/newmessage.php
+1
-0
actions/newnotice.php
actions/newnotice.php
+1
-0
actions/nudge.php
actions/nudge.php
+1
-0
actions/oauthconnectionssettings.php
actions/oauthconnectionssettings.php
+1
-0
actions/passwordsettings.php
actions/passwordsettings.php
+1
-0
actions/pluginenable.php
actions/pluginenable.php
+1
-0
actions/register.php
actions/register.php
+1
-0
actions/remotesubscribe.php
actions/remotesubscribe.php
+1
-0
actions/repeat.php
actions/repeat.php
+1
-0
actions/showapplication.php
actions/showapplication.php
+1
-0
actions/smssettings.php
actions/smssettings.php
+1
-0
actions/subedit.php
actions/subedit.php
+1
-0
actions/tagother.php
actions/tagother.php
+1
-0
actions/unsubscribe.php
actions/unsubscribe.php
+1
-0
actions/urlsettings.php
actions/urlsettings.php
+1
-0
actions/userauthorization.php
actions/userauthorization.php
+1
-0
lib/designsettings.php
lib/designsettings.php
+1
-0
No files found.
actions/avatarsettings.php
View file @
9a6ee5e8
...
...
@@ -277,6 +277,7 @@ class AvatarsettingsAction extends SettingsAction
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/cancelsubscription.php
View file @
9a6ee5e8
...
...
@@ -71,6 +71,7 @@ class CancelsubscriptionAction extends Action
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/deleteapplication.php
View file @
9a6ee5e8
...
...
@@ -99,6 +99,7 @@ class DeleteapplicationAction extends Action
// CSRF protection
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token.'
));
return
;
}
...
...
actions/deletenotice.php
View file @
9a6ee5e8
...
...
@@ -174,6 +174,7 @@ class DeletenoticeAction extends Action
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/editapplication.php
View file @
9a6ee5e8
...
...
@@ -128,6 +128,7 @@ class EditApplicationAction extends OwnerDesignAction
// CSRF protection
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token.'
));
return
;
}
...
...
actions/emailsettings.php
View file @
9a6ee5e8
...
...
@@ -289,6 +289,7 @@ class EmailsettingsAction extends SettingsAction
// CSRF protection
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
show_form
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/favor.php
View file @
9a6ee5e8
...
...
@@ -72,6 +72,7 @@ class FavorAction extends Action
$notice
=
Notice
::
staticGet
(
$id
);
$token
=
$this
->
trimmed
(
'token-'
.
$notice
->
id
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token. Try again, please.'
));
return
;
}
...
...
actions/geocode.php
View file @
9a6ee5e8
...
...
@@ -52,6 +52,7 @@ class GeocodeAction extends Action
parent
::
prepare
(
$args
);
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
}
...
...
actions/groupblock.php
View file @
9a6ee5e8
...
...
@@ -62,6 +62,7 @@ class GroupblockAction extends RedirectingAction
}
$token
=
$this
->
trimmed
(
'token'
);
if
(
empty
(
$token
)
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token. Try again, please.'
));
return
;
}
...
...
actions/groupunblock.php
View file @
9a6ee5e8
...
...
@@ -62,6 +62,7 @@ class GroupunblockAction extends Action
}
$token
=
$this
->
trimmed
(
'token'
);
if
(
empty
(
$token
)
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token. Try again, please.'
));
return
;
}
...
...
actions/imsettings.php
View file @
9a6ee5e8
...
...
@@ -240,6 +240,7 @@ class ImsettingsAction extends SettingsAction
// CSRF protection
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/invite.php
View file @
9a6ee5e8
...
...
@@ -57,6 +57,7 @@ class InviteAction extends CurrentUserDesignAction
// CSRF protection
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. Try again, please.'
));
return
;
}
...
...
actions/makeadmin.php
View file @
9a6ee5e8
...
...
@@ -64,6 +64,7 @@ class MakeadminAction extends RedirectingAction
}
$token
=
$this
->
trimmed
(
'token'
);
if
(
empty
(
$token
)
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token. Try again, please.'
));
return
;
}
...
...
actions/newapplication.php
View file @
9a6ee5e8
...
...
@@ -109,6 +109,7 @@ class NewApplicationAction extends OwnerDesignAction
// CSRF protection
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token.'
));
return
;
}
...
...
actions/newmessage.php
View file @
9a6ee5e8
...
...
@@ -137,6 +137,7 @@ class NewmessageAction extends Action
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/newnotice.php
View file @
9a6ee5e8
...
...
@@ -101,6 +101,7 @@ class NewnoticeAction extends Action
// CSRF protection
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
}
...
...
actions/nudge.php
View file @
9a6ee5e8
...
...
@@ -78,6 +78,7 @@ class NudgeAction extends Action
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token. Try again, please.'
));
return
;
}
...
...
actions/oauthconnectionssettings.php
View file @
9a6ee5e8
...
...
@@ -132,6 +132,7 @@ class OauthconnectionssettingsAction extends SettingsAction
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/passwordsettings.php
View file @
9a6ee5e8
...
...
@@ -143,6 +143,7 @@ class PasswordsettingsAction extends SettingsAction
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/pluginenable.php
View file @
9a6ee5e8
...
...
@@ -84,6 +84,7 @@ class PluginEnableAction extends Action
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token.'
.
' Try again, please.'
));
return
false
;
...
...
actions/register.php
View file @
9a6ee5e8
...
...
@@ -160,6 +160,7 @@ class RegisterAction extends Action
if
(
Event
::
handle
(
'StartRegistrationTry'
,
array
(
$this
)))
{
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/remotesubscribe.php
View file @
9a6ee5e8
...
...
@@ -74,6 +74,7 @@ class RemotesubscribeAction extends Action
/* Use a session token for CSRF protection. */
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/repeat.php
View file @
9a6ee5e8
...
...
@@ -76,6 +76,7 @@ class RepeatAction extends Action
$token
=
$this
->
trimmed
(
'token-'
.
$id
);
if
(
empty
(
$token
)
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token. Try again, please.'
));
return
false
;
}
...
...
actions/showapplication.php
View file @
9a6ee5e8
...
...
@@ -113,6 +113,7 @@ class ShowApplicationAction extends OwnerDesignAction
// CSRF protection
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token.'
));
return
;
}
...
...
actions/smssettings.php
View file @
9a6ee5e8
...
...
@@ -246,6 +246,7 @@ class SmssettingsAction extends SettingsAction
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/subedit.php
View file @
9a6ee5e8
...
...
@@ -37,6 +37,7 @@ class SubeditAction extends Action
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
false
;
...
...
actions/tagother.php
View file @
9a6ee5e8
...
...
@@ -153,6 +153,7 @@ class TagotherAction extends Action
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/unsubscribe.php
View file @
9a6ee5e8
...
...
@@ -66,6 +66,7 @@ class UnsubscribeAction extends Action
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
clientError
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/urlsettings.php
View file @
9a6ee5e8
...
...
@@ -167,6 +167,7 @@ class UrlsettingsAction extends SettingsAction
// CSRF protection
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
actions/userauthorization.php
View file @
9a6ee5e8
...
...
@@ -50,6 +50,7 @@ class UserauthorizationAction extends Action
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
$srv
=
$this
->
getStoredParams
();
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
$srv
->
getRemoteUser
(),
_
(
'There was a problem '
.
'with your session token. Try again, '
.
'please.'
));
...
...
lib/designsettings.php
View file @
9a6ee5e8
...
...
@@ -119,6 +119,7 @@ class DesignSettingsAction extends SettingsAction
// CSRF protection
$token
=
$this
->
trimmed
(
'token'
);
if
(
!
$token
||
$token
!=
common_session_token
())
{
// TRANS: Client error displayed when the session token does not match or is not given.
$this
->
showForm
(
_
(
'There was a problem with your session token. '
.
'Try again, please.'
));
return
;
...
...
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