mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added 'Edit page title'
SVN revision: 1456
This commit is contained in:
parent
03872e679d
commit
bce0813228
@ -913,6 +913,13 @@ used by most browsers for bookmark names. The string can contain substitutions
|
|||||||
as described unter the "<I>Subst <attribute></I>" option.
|
as described unter the "<I>Subst <attribute></I>" option.
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
|
<LI><b><code>Edit Page title = <string></code></b>
|
||||||
|
<br>
|
||||||
|
The string specified here is used for the title of the entry form. It is also
|
||||||
|
used by most browsers for bookmark names. The string can contain substitutions
|
||||||
|
as described unter the "<I>Subst <attribute></I>" option.
|
||||||
|
<p>
|
||||||
|
|
||||||
<LI><b><code>List display = <list></code></b>
|
<LI><b><code>List display = <list></code></b>
|
||||||
<br>
|
<br>
|
||||||
Specified the display and order of items in a message listing page or a search
|
Specified the display and order of items in a message listing page or a search
|
||||||
|
|||||||
13
src/elogd.c
13
src/elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.727 2005/07/26 18:21:27 ritt
|
||||||
|
Added 'Edit page title'
|
||||||
|
|
||||||
Revision 1.726 2005/07/26 18:15:19 ritt
|
Revision 1.726 2005/07/26 18:15:19 ritt
|
||||||
Added 'reply comment'
|
Added 'reply comment'
|
||||||
|
|
||||||
@ -9266,7 +9269,15 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* header */
|
/* header */
|
||||||
show_html_header(lbs, FALSE, "ELOG", FALSE, FALSE, cookie);
|
|
||||||
|
if (getcfg(lbs->name, "Edit Page Title", str, sizeof(str))) {
|
||||||
|
i = build_subst_list(lbs, (char (*)[NAME_LENGTH]) slist, (char (*)[NAME_LENGTH]) svalue, NULL, TRUE);
|
||||||
|
strsubst(str, sizeof(str), (char (*)[NAME_LENGTH]) slist, (char (*)[NAME_LENGTH]) svalue, i);
|
||||||
|
strip_html(str);
|
||||||
|
} else
|
||||||
|
sprintf(str, "ELOG %s", lbs->name);
|
||||||
|
|
||||||
|
show_html_header(lbs, FALSE, str, FALSE, FALSE, cookie);
|
||||||
|
|
||||||
/* java script for checking required attributes and to check for cancelled edits */
|
/* java script for checking required attributes and to check for cancelled edits */
|
||||||
rsprintf("<script type=\"text/javascript\">\n");
|
rsprintf("<script type=\"text/javascript\">\n");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user