Added 'Edit page title'
SVN revision: 1456
This commit is contained in:
@@ -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.
|
||||
<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>
|
||||
<br>
|
||||
Specified the display and order of items in a message listing page or a search
|
||||
|
||||
+12
-1
@@ -6,6 +6,9 @@
|
||||
Contents: Web server program for Electronic Logbook ELOG
|
||||
|
||||
$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
|
||||
Added 'reply comment'
|
||||
|
||||
@@ -9266,7 +9269,15 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
||||
}
|
||||
|
||||
/* 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 */
|
||||
rsprintf("<script type=\"text/javascript\">\n");
|
||||
|
||||
Reference in New Issue
Block a user