form_set_error('nodecss_template_folder',t('The template file does not exist. <br />Please copy the file from @d to the relevant location in your files directory.',array('@d'=>drupal_get_path('module','nodecss').'/template/css.tpl.php')));
form_set_error('nodecss_use_custom',t('The default module template file does not exist. Please either use a custom template file or restore it from the original module.'));
}
}
/*
* Flush the theme cache so the correct template file is used.
drupal_set_message(t("CSS was not generated because you don't have @link to.",array('@link'=>l('permission','admin/people/permissions',array('fragment'=>'module-nodecss')))));
}
}
/**
@@ -249,7 +266,7 @@ function nodecss_save_file($css, $filename) {
}
}
else{// Drupal couldn't create/save to directory.
drupal_set_message(t("@directory does not exist or is not writeable please check the folder permissions",array('@directory'=>$directory),'error'));
drupal_set_message(t("@directory does not exist or is not writeable please check the folder permissions",array('@directory'=>$directory)),'error');