Now editing: <?phpechobasename($companion_edit_file);?><br/>
<?php}else{?>
Now Viewing: style.css<br/>
<?php}?>
<?php
if(!$original){
if($is_iis7){
if(win_is_writable($companion_edit_file)){
echo'WIN: File exists and is writable.<br />';
}else{
wp_mkdir_p(dirname($companion_edit_file));
echo'<i>WIN: File '.basename($companion_edit_file).' does *not* exist or is not writable, try to save the file. If you still get this error check permissions.</i><br />';
}
}else{
if(is_writable($companion_edit_file)){
echo'NIX: File Exists and is writable.<br />';
}else{
wp_mkdir_p(dirname($companion_edit_file));
echo'<i>NIX: File '.basename($companion_edit_file).' does *not* exist or is not writable, try to save the file. If you still get this error check permissions.</i><br />';
}
}
}else{
echo'Loading Original Style.CSS, it is NOT writable, you are to use the custom editor area to add changes that you want to make, and only changes.<br />';
}
$base=admin_url();
?>
[<ahref="<?phpecho$base;?>themes.php?page=companion&file=original">Show Original Style.CSS</a>] | [<ahref="<?phpecho$base;?>themes.php?page=companion&file=custom">Edit Custom Style</a>]