- admin/cat_options page added : manage options for the whole categories

tree (uploadable, commentable). status and visible will be soon added

- admin.php : $conf_link var to avoid lines longer than 79 characters

- config.upload_available configuration parameter disappear : it's simpler
  to manage with cat_options

- config.show_comments idem : new column categories.commentable, each
  categories can be commentable or not

- categories.site_id becomes a nullable column : a virtual category does
  belong to no site

- function display_select_categories has a new argument : $CSS_classes array
  to optionnaly assign a CSS class to each category in the select field

- added informations in include/config.inc.php for setting default value of :

  - categories.visible
  - categories.status
  - categories.uploadable
  - categories.commentable

- 2 new indexes images_i3(average_rate) and images_i4(hit) : optimizes best
  rated and most visited categories


git-svn-id: http://piwigo.org/svn/trunk@602 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2004-11-13 13:43:53 +00:00
parent 234b746352
commit 88e4e1e60a
19 changed files with 129 additions and 63 deletions
+32
View File
@@ -424,4 +424,36 @@ div.remoteLocal {
/* for debugging purpose */
pre {
text-align:left;
}
.confMenu {
background-color:#444444;
text-align:center;
}
.confMenu a {
padding:2px;
border:1px solid gray;
background-color:#505050;
color:#fff48e;
color:lightgray;
}
.confMenu a:hover {
color:orange;
text-decoration:none;
}
.confMenu a.opened {
background-color:gray;
color:white;
text-decoration:none;
}
.optionTrue {
color:lightgreen;
}
.optionFalse {
color:#ffe1e1;
}