Thanks to a suggestion by Martin published categories are printed with class="published" and unpublished ones with class="unpublished".
This commit is contained in:
@@ -313,8 +313,7 @@ class quiz_category_object {
|
||||
global $USER;
|
||||
$fill = str_repeat($this->tab, $depth);
|
||||
|
||||
$linkcss = $category->publish ? '' : ''; // This could be used to give different formatting
|
||||
// to the name of published categories. Not currently used.
|
||||
$linkcss = $category->publish ? ' class="published"' : ' class="unpublished"';
|
||||
|
||||
/// Each section below adds a data cell to this table row
|
||||
$this->edittable->align["$category->id.course"] = "left";
|
||||
|
||||
Reference in New Issue
Block a user