Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Main
Synchronet
Commits
037bf8a8
Commit
037bf8a8
authored
20 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
"just some help file stuff." - RuneMaster
parent
75628338
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/uedit/uedit.c
+14
-10
14 additions, 10 deletions
src/sbbs3/uedit/uedit.c
with
14 additions
and
10 deletions
src/sbbs3/uedit/uedit.c
+
14
−
10
View file @
037bf8a8
...
...
@@ -1628,7 +1628,7 @@ int edit_user(scfg_t *cfg, int usernum)
if
(
user
.
misc
&
INACTIVE
)
strcpy
(
opt
[
i
++
],
"Activate"
);
else
strcpy
(
opt
[
i
++
],
"Deactivate"
);
strcpy
(
opt
[
i
++
],
"Deactivate"
);
strcpy
(
opt
[
i
++
],
"Personal"
);
strcpy
(
opt
[
i
++
],
"Security"
);
strcpy
(
opt
[
i
++
],
"Statistics"
);
...
...
@@ -1740,7 +1740,6 @@ int getuser(scfg_t *cfg, user_t *user, char* str)
{
int
i
,
j
,
last
;
ushort
un
;
/* char* str ; */
struct
user_list
**
opt
;
int
done
=
0
;
...
...
@@ -1749,7 +1748,6 @@ int getuser(scfg_t *cfg, user_t *user, char* str)
for
(
i
=
0
;
i
<
(
MAX_OPTS
+
1
);
i
++
)
opt
[
i
]
=
NULL
;
/* strcpy(str, username); */
/* User List */
done
=
0
;
while
(
!
done
)
{
...
...
@@ -2075,8 +2073,13 @@ int main(int argc, char** argv) {
strcpy
(
mopt
[
2
],
"User List"
);
mopt
[
3
][
0
]
=
0
;
uifc
.
helpbuf
=
"`User Editor:`
\n
"
"
\n
ToDo: Add Help"
;
uifc
.
helpbuf
=
"`User Editor
\n
"
"`-----------
\n\n
"
"`New User : `Add a new user. This will created a default user using
\n
"
" some default entries that you can then edit.
\n
"
"`Find User : `Find a user using full or partial search name
\n
"
"`User List : `Display the complete User List. Users can be edited from
\n
"
" this list by highlighting a user and pressing Enter"
;
while
(
1
)
{
j
=
uifc
.
list
(
WIN_L2R
|
WIN_ESC
|
WIN_ACT
|
WIN_DYN
|
WIN_ORG
|
WIN_EXTKEYS
,
0
,
5
,
0
,
&
main_dflt
,
&
main_bar
...
...
@@ -2087,17 +2090,17 @@ int main(int argc, char** argv) {
if
(
j
==-
8
)
{
/* CTRL-F */
/* Find User */
continue
;
finduser
(
&
cfg
,
&
user
)
;
}
if
(
j
<=
-
2
)
continue
;
if
(
j
==-
1
)
{
uifc
.
helpbuf
=
"`Exit Synchronet User Editor
:`
\n
"
"
\n
"
"
\n
If you want to exit the Synchronet user editor,"
"
\n
select `Yes`. Otherwise, select `No` or hit ~ ESC ~."
;
uifc
.
helpbuf
=
"`Exit Synchronet User Editor
\n
"
"
`---------------------------
\n
\n
"
"If you want to exit the Synchronet user editor,
\n
"
"select `Yes`. Otherwise, select `No` or hit ~ ESC ~."
;
if
(
confirm
(
"Exit Synchronet User Editor"
)
==
1
)
bail
(
0
);
continue
;
...
...
@@ -2139,3 +2142,4 @@ int main(int argc, char** argv) {
}
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