File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 368
368
}
369
369
*/
370
370
?>
371
+ <?php
372
+ if (isset ($ globalCustomCSS ) && $ glocalCustomCSS != '' ) {
373
+ ?>
374
+ <link rel="stylesheet" href="<?php print $ globalCustomCSS ; ?> " />
375
+ <?php
376
+ }
377
+ ?>
371
378
<meta property="og:title" content="<?php print $ title ; ?> | <?php print $ globalName ; ?> "/>
372
379
<meta property="og:url" content="<?php print $ globalURL .$ _SERVER ['REQUEST_URI ' ]; ?> "/>
373
380
<meta property="og:site_name" content="<?php print $ globalName ; ?> "/>
Original file line number Diff line number Diff line change 830
830
<output id="range"><?php if (isset ($ globalAirportZoom )) echo $ globalAirportZoom ; else echo '7 ' ; ?> </output>
831
831
</div>
832
832
</p>
833
+ <br />
834
+ <p>
835
+ <label for="customcss">Custom CSS web path</label>
836
+ <input type="text" name="customcss" id="customcss" value="<?php if (isset ($ globalCustomCSS )) echo $ globalCustomCSS ; ?> " />
837
+ </p>
833
838
</fieldset>
834
839
<input type="submit" name="submit" value="Create/Update database & write setup" />
835
840
</form>
1005
1010
$ bitly = filter_input (INPUT_POST ,'bitly ' ,FILTER_SANITIZE_STRING );
1006
1011
$ settings = array_merge ($ settings ,array ('globalBitlyAccessToken ' => $ bitly ));
1007
1012
1013
+ $ customcss = filter_input (INPUT_POST ,'customcss ' ,FILTER_SANITIZE_STRING );
1014
+ $ settings = array_merge ($ settings ,array ('globalCustomCSS ' => $ customcss ));
1015
+
1008
1016
$ notamsource = filter_input (INPUT_POST ,'notamsource ' ,FILTER_SANITIZE_STRING );
1009
1017
$ settings = array_merge ($ settings ,array ('globalNOTAMSource ' => $ notamsource ));
1010
1018
$ metarsource = filter_input (INPUT_POST ,'metarsource ' ,FILTER_SANITIZE_STRING );
You can’t perform that action at this time.
0 commit comments