*
* This program is open source software. You can redistribute it and/or
* modify it under the terms of the GNU General Public License, version 3.
- *
- *
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
- *
- *
- *
*/
#include "webcit.h"
if ( (StrLength(Buf)==3) &&
!strcmp(ChrPtr(Buf), "000"))
Done = 1;
- else
+ else {
StrBufAppendBuf(BioBuf, Buf, 0);
+ StrBufAppendBufPlain(BioBuf, HKEY("\n"), 0);
+ }
}
StrBufAppendTemplate(Target, TP, BioBuf, 1);
FreeStrBuf(&BioBuf);
display_edituser(NULL, 0);
}
-void showuser(void)
-{
- output_headers(1, 0, 0, 0, 1, 0);
- do_template("user_show");
- end_burst();
-}
-
-
void
InitModule_USEREDIT
(void)
{
- WebcitAddUrlHandler(HKEY("showuser"), "", 0, showuser, 0);
WebcitAddUrlHandler(HKEY("select_user_to_edit"), "", 0, _select_user_to_edit, 0);
WebcitAddUrlHandler(HKEY("display_edituser"), "", 0, _display_edituser, 0);
WebcitAddUrlHandler(HKEY("edituser"), "", 0, edituser, 0);