Plugins can now use stylesheets

This commit is contained in:
Marc MAURICE 2010-12-12 23:46:57 +01:00
parent 909133b1b0
commit 7fd7065683

View file

@ -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>