author | Lars Hjemli <hjemli@gmail.com> | 2008-06-26 11:53:30 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-06-26 11:53:30 (UTC) |
commit | de5e9281719809c5b07051faa88e95bd16e8d485 (patch) (unidiff) | |
tree | 30c6f6bc74c067ebad78e45e5602011006332f8b /cgit.h | |
parent | 29b37e9781ce1bb04e558c7490d2c29eb1a477e5 (diff) | |
download | cgit-de5e9281719809c5b07051faa88e95bd16e8d485.zip cgit-de5e9281719809c5b07051faa88e95bd16e8d485.tar.gz cgit-de5e9281719809c5b07051faa88e95bd16e8d485.tar.bz2 |
Add support for including a footer on all pages
The new cgitrc option `footer` can be used to include a html-file which
replaces the standard 'generated by cgit' message at the bottom of each
page.
Suggested-by: Peter Danenberg <pcd@wikitex.org>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -104,48 +104,49 @@ struct reflist { | |||
104 | }; | 104 | }; |
105 | 105 | ||
106 | struct cgit_query { | 106 | struct cgit_query { |
107 | int has_symref; | 107 | int has_symref; |
108 | int has_sha1; | 108 | int has_sha1; |
109 | char *raw; | 109 | char *raw; |
110 | char *repo; | 110 | char *repo; |
111 | char *page; | 111 | char *page; |
112 | char *search; | 112 | char *search; |
113 | char *grep; | 113 | char *grep; |
114 | char *head; | 114 | char *head; |
115 | char *sha1; | 115 | char *sha1; |
116 | char *sha2; | 116 | char *sha2; |
117 | char *path; | 117 | char *path; |
118 | char *name; | 118 | char *name; |
119 | char *mimetype; | 119 | char *mimetype; |
120 | int ofs; | 120 | int ofs; |
121 | }; | 121 | }; |
122 | 122 | ||
123 | struct cgit_config { | 123 | struct cgit_config { |
124 | char *agefile; | 124 | char *agefile; |
125 | char *cache_root; | 125 | char *cache_root; |
126 | char *clone_prefix; | 126 | char *clone_prefix; |
127 | char *css; | 127 | char *css; |
128 | char *footer; | ||
128 | char *index_header; | 129 | char *index_header; |
129 | char *index_info; | 130 | char *index_info; |
130 | char *logo; | 131 | char *logo; |
131 | char *logo_link; | 132 | char *logo_link; |
132 | char *module_link; | 133 | char *module_link; |
133 | char *repo_group; | 134 | char *repo_group; |
134 | char *robots; | 135 | char *robots; |
135 | char *root_title; | 136 | char *root_title; |
136 | char *root_desc; | 137 | char *root_desc; |
137 | char *root_readme; | 138 | char *root_readme; |
138 | char *script_name; | 139 | char *script_name; |
139 | char *virtual_root; | 140 | char *virtual_root; |
140 | int cache_size; | 141 | int cache_size; |
141 | int cache_dynamic_ttl; | 142 | int cache_dynamic_ttl; |
142 | int cache_max_create_time; | 143 | int cache_max_create_time; |
143 | int cache_repo_ttl; | 144 | int cache_repo_ttl; |
144 | int cache_root_ttl; | 145 | int cache_root_ttl; |
145 | int cache_static_ttl; | 146 | int cache_static_ttl; |
146 | int enable_index_links; | 147 | int enable_index_links; |
147 | int enable_log_filecount; | 148 | int enable_log_filecount; |
148 | int enable_log_linecount; | 149 | int enable_log_linecount; |
149 | int max_repo_count; | 150 | int max_repo_count; |
150 | int max_commit_count; | 151 | int max_commit_count; |
151 | int max_lock_attempts; | 152 | int max_lock_attempts; |