Si style-custom.css existe, le charge

This commit is contained in:
Alan Garcia 2013-07-22 17:15:03 +00:00
parent 930ce6e3c2
commit 1edfd1cff9
2 changed files with 11 additions and 0 deletions

View File

@ -33,6 +33,11 @@ if (!$charset) $charset="UTF-8";
<link rel="stylesheet" href="js/jquery_ui/css/redmond/jquery-ui-1.10.3.custom.min.css" type="text/css" />
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<?php
if (file_exists("styles/style-custom.css") ) {
echo '<link rel="stylesheet" href="styles/style-custom.css" type="text/css" />';
}
?>
<link rel="stylesheet" href="styles/style-empty.css" type="text/css" title="Default - Desktop TNG"/>
<link rel="alternate stylesheet" href="styles/style-bluedesktop10.css" type="text/css" title="Blue Desktop 1.0" />

View File

@ -45,6 +45,12 @@ if (!$charset) $charset="UTF-8";
<head>
<title>AlternC Desktop</title>
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<?php
if (file_exists("styles/style-custom.css") ) {
echo '<link rel="stylesheet" href="styles/style-custom.css" type="text/css" />';
}
?>
<script type="text/javascript" src="js/alternc.js"></script>
<script src="js/jquery.min.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />