Currently, SYP does not allow
+Custom CSS
+----------
+You can define your own css rules by creating custom css files:
+- `media/syp_custom.css` for user interface
+- `media/admin_custom.css` for admin interface
+Those files are sourced after all other css files. So, rules defined in those
+custom files will override other rules.
+
server API
----------
Client/server communication follows an API. This allow for example creation of
<link rel="stylesheet" href="./media/admin.css" type="text/css">
<link rel="stylesheet" href="./openlayers/theme/default/style.css" type="text/css">
+<?php
+ if (file_exists ("./media/admin_custom.css")) {
+ printf(" <link rel=\"stylesheet\" href=\"./media/admin_custom.css\" type=\"text/css\">\n");
+ }
+?>
+
<script type="text/javascript">
var SypStrings = {
AddItem: "<?php ptrans('add a place')?>",
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="news.php">
<link rel="stylesheet" href="./openlayers/theme/default/style.css" type="text/css">
<link rel="stylesheet" href="./media/syp.css" type="text/css">
+
<style type="text/css">
.olPopup {
<?php printf("_width: expression(Math.min(parseInt(this.scrollWidth) + 7, %d) + 'px');\n", ($thumbsmaxsize + 30))?>
}
</style>
+<?php
+ if (file_exists ("./media/syp_custom.css")) {
+ printf(" <link rel=\"stylesheet\" href=\"./media/syp_custom.css\" type=\"text/css\">\n");
+ }
+?>
+
<script type="text/javascript">
var SypStrings = {
language: "<?php echo $lang ?>",