Plugins can now use stylesheets
[bizou.git] / index.php
index b464e04..b2c2dde 100644 (file)
--- a/index.php
+++ b/index.php
@@ -189,6 +189,9 @@ a {
        left: 0;
 }
 </style>
+<?php foreach ($plugins as $p) if (is_file("plugins/$p/style.css")) { ?>
+       <link rel="stylesheet" type="text/css" href="<?php echo dirname($scriptUrlPath)."/plugins/$p/style.css" ?>" />
+<?php } ?>
 </head>
 <body>