Fossil

Diff
Login

Differences From Artifact [7dcde67735]:

To Artifact [4e8cafc457]:


131
132
133
134
135
136
137






138
139
140

141
142
143
144
145
146
147

/*
** WEBPAGE: index
** WEBPAGE: home
** WEBPAGE: not_found
*/
void page_index(void){






  style_header("Main Title Page");
  @ This will become the title page
  style_footer();

}

/*
** WEBPAGE: test_env
*/
void page_test_env(void){
  style_header("Environment Test");







>
>
>
>
>
>
|
|
|
>







131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154

/*
** WEBPAGE: index
** WEBPAGE: home
** WEBPAGE: not_found
*/
void page_index(void){
  char *zHome = db_get("homepage", 0);
  if( zHome ){
    g.zExtra = zHome;
    g.okRdWiki = 1;
    wiki_page();
  }else{
    style_header("Main Title Page");
    @ No homepage configured for this server
    style_footer();
  }
}

/*
** WEBPAGE: test_env
*/
void page_test_env(void){
  style_header("Environment Test");