@@ -226,7 +228,7 @@ class DisplayGradebook
$header .= '
';
if (!$selectcat == '0') {
- $header .= ''.Display::return_icon('back.png',get_lang('BackTo').' '.get_lang('RootCat')).get_lang('BackTo').' '.get_lang('RootCat').' | ';
+ $header .= ''.Display::return_icon('back.png',get_lang('BackTo').' '.get_lang('RootCat'),'','32').' | ';
}
$header .= '' . get_lang('CurrentCategory') . ' | ' .
@@ -263,7 +265,7 @@ class DisplayGradebook
//$header .= ' ' . get_lang('FlatView') . '';
}
} else {
- $header .= ' | ' . get_lang('ExportPDF') . '';
+ $header .= ' | ' . get_lang('ExportPDF') . '';
}
$header .= ' |
';
}
@@ -293,28 +295,28 @@ class DisplayGradebook
$my_api_cidreq='cidReq='.$my_category['course_code'];
}
if ($show_add_link && !$message_resource) {
- $header .= '
'.Display::return_icon('filenew.gif', get_lang('NewEvaluation')).' ' . get_lang('NewEvaluation') . ' ';
+ $header .= ' | '.Display::return_icon('new_evaluation.png', get_lang('NewEvaluation'),'','32').'';
$cats= Category :: load($selectcat);
if ($cats[0]->get_course_code() != null && !$message_resource) {
//$header .= ' | ' . get_lang('MakeLink') . '';
- $header .= ' | '.Display::return_icon('link.gif', get_lang('MakeLink')).' ' . get_lang('MakeLink') . ' ';
+ $header .= ' | '.Display::return_icon('link.png', get_lang('MakeLink'),'','32').'';
} else {
- $header .= ' | '.Display::return_icon('link.gif', get_lang('MakeLink')).' ' . get_lang('MakeLink') . ' ';
+ $header .= ' | '.Display::return_icon('link.png', get_lang('MakeLink'),'','32').'';
}
}
if (!$message_resource) {
$myname=$catobj->shows_all_information_an_category($catobj->get_id());
- $header .= ' | '.Display::return_icon('statistics.gif', get_lang('EditAllWeights')).' ' . get_lang('EditAllWeights') . '';
+ $header .= ' | '.Display::return_icon('percentage.png', get_lang('EditAllWeights'),'','32').'';
$my_course_id=api_get_course_id();
$my_file= substr($_SESSION['gradebook_dest'],0,5);
if (api_is_allowed_to_edit(null, true)) {
- $header .= ' | '.Display::return_icon('acces_tool.gif', get_lang('ScoreEdit')).' ' . get_lang('ScoreEdit') . '';
- $header .= ' | '.Display::return_icon('stats_access.gif', get_lang('FlatView')).' ' . get_lang('FlatView') . '';
- $header .= ' | '.Display::return_icon('certificate.png', get_lang('AttachCertificate')).' ' . get_lang('AttachCertificate') . '';
- $header .= ' | '.Display::return_icon('gradebook_eval_not_empty.gif', get_lang('GradebookSeeListOfStudentsCertificates')).' ' . get_lang('GradebookSeeListOfStudentsCertificates') . '';
+ $header .= ' | '.Display::return_icon('settings.png', get_lang('ScoreEdit'),'','32').'';
+ $header .= ' | '.Display::return_icon('stats.png', get_lang('FlatView'),'','32').'';
+ $header .= ' | '.Display::return_icon('certificate.png', get_lang('AttachCertificate'),'','32').'';
+ $header .= ' | '.Display::return_icon('certificate_list.png', get_lang('GradebookSeeListOfStudentsCertificates'),'','32').'';
}
}
@@ -348,12 +350,12 @@ class DisplayGradebook
$header = '';
if ($is_course_admin) {
- $header .= ' '.Display::return_icon('stats_access.gif', get_lang('FlatView')).' '. get_lang('FlatView') . '';
- $header .= ' '.Display::return_icon('acces_tool.gif', get_lang('ScoreEdit')).' ' . get_lang('ScoreEdit') . '';
+ $header .= ' '.Display::return_icon('stats.png', get_lang('FlatView'),'','32').'';
+ $header .= ' '.Display::return_icon('settings.png', get_lang('ScoreEdit'),'','32').'';
} elseif (!(isset ($_GET['studentoverview']))) {
$header .= ' '.Display::return_icon('view_list.gif', get_lang('FlatView')).' ' . get_lang('FlatView') . '';
} else {
- $header .= ' '.Display::return_icon('file_pdf.gif', get_lang('ExportPDF')).' ' . get_lang('ExportPDF') . '';
+ $header .= ' '.Display::return_icon('pdf.png', get_lang('ExportPDF'),'','32').'';
}
$header.=' ';
echo $header;
diff --git a/main/gradebook/lib/gradebook_functions.inc.php b/main/gradebook/lib/gradebook_functions.inc.php
index b6c5b0e641..ca9187d1be 100755
--- a/main/gradebook/lib/gradebook_functions.inc.php
+++ b/main/gradebook/lib/gradebook_functions.inc.php
@@ -141,13 +141,13 @@ function build_type_icon_tag($kind) {
function get_icon_file_name ($type) {
switch ($type) {
case 'cat':
- $icon = 'gradebook.gif';
+ $icon = 'icons/22/gradebook.png';
break;
case 'evalempty':
- $icon = 'empty.gif';
+ $icon = 'icons/22/empty_evaluation.png';
break;
case 'evalnotempty':
- $icon = 'gradebook_eval_not_empty.gif';
+ $icon = 'icons/22/no_empty_evaluation.png';
break;
case 'exercise':
case LINK_EXERCISE:
@@ -155,7 +155,7 @@ function get_icon_file_name ($type) {
break;
case 'learnpath':
case LINK_LEARNPATH:
- $icon = '/icons/22/learnpath.png';
+ $icon = 'icons/22/learnpath.png';
break;
case 'studentpublication':
case LINK_STUDENTPUBLICATION:
diff --git a/main/gradebook/user_stats.php b/main/gradebook/user_stats.php
index 507bf3a6d4..786a9920fc 100755
--- a/main/gradebook/user_stats.php
+++ b/main/gradebook/user_stats.php
@@ -84,7 +84,7 @@ $actions = '';
Display :: display_header(get_lang('ResultsPerUser'));
diff --git a/main/img/icons/22/empty_evaluation.png b/main/img/icons/22/empty_evaluation.png
new file mode 100644
index 0000000000..b19b83f627
Binary files /dev/null and b/main/img/icons/22/empty_evaluation.png differ
diff --git a/main/img/icons/22/gradebook.png b/main/img/icons/22/gradebook.png
new file mode 100644
index 0000000000..bf1e5c79da
Binary files /dev/null and b/main/img/icons/22/gradebook.png differ
diff --git a/main/img/icons/22/gradebook_na.png b/main/img/icons/22/gradebook_na.png
new file mode 100644
index 0000000000..eaca319d41
Binary files /dev/null and b/main/img/icons/22/gradebook_na.png differ
diff --git a/main/img/icons/22/no_empty_evaluation.png b/main/img/icons/22/no_empty_evaluation.png
new file mode 100644
index 0000000000..1b985ab5a8
Binary files /dev/null and b/main/img/icons/22/no_empty_evaluation.png differ
diff --git a/main/img/icons/22/scorms.gif b/main/img/icons/22/scorms.gif
new file mode 100644
index 0000000000..cd96858f84
Binary files /dev/null and b/main/img/icons/22/scorms.gif differ
diff --git a/main/img/icons/22/scorms_na.gif b/main/img/icons/22/scorms_na.gif
new file mode 100644
index 0000000000..1136dc6a7b
Binary files /dev/null and b/main/img/icons/22/scorms_na.gif differ
diff --git a/main/img/icons/22/scorms_na.png b/main/img/icons/22/scorms_na.png
new file mode 100644
index 0000000000..1136dc6a7b
Binary files /dev/null and b/main/img/icons/22/scorms_na.png differ
diff --git a/main/img/icons/32/certificate.png b/main/img/icons/32/certificate.png
new file mode 100644
index 0000000000..cd4387b22f
Binary files /dev/null and b/main/img/icons/32/certificate.png differ
diff --git a/main/img/icons/32/certificate_list.png b/main/img/icons/32/certificate_list.png
new file mode 100644
index 0000000000..e8753baeb3
Binary files /dev/null and b/main/img/icons/32/certificate_list.png differ
diff --git a/main/img/icons/32/delete.png b/main/img/icons/32/delete.png
new file mode 100644
index 0000000000..2d5e260a5f
Binary files /dev/null and b/main/img/icons/32/delete.png differ
diff --git a/main/img/icons/32/empty_evaluation.png b/main/img/icons/32/empty_evaluation.png
new file mode 100644
index 0000000000..1d91855f2b
Binary files /dev/null and b/main/img/icons/32/empty_evaluation.png differ
diff --git a/main/img/icons/32/export_evaluation.png b/main/img/icons/32/export_evaluation.png
new file mode 100644
index 0000000000..d2ecc98461
Binary files /dev/null and b/main/img/icons/32/export_evaluation.png differ
diff --git a/main/img/icons/32/gradebook.png b/main/img/icons/32/gradebook.png
new file mode 100644
index 0000000000..ec1fcd660e
Binary files /dev/null and b/main/img/icons/32/gradebook.png differ
diff --git a/main/img/icons/32/import_evaluation.png b/main/img/icons/32/import_evaluation.png
new file mode 100644
index 0000000000..5aac1bbfa3
Binary files /dev/null and b/main/img/icons/32/import_evaluation.png differ
diff --git a/main/img/icons/32/new_evaluation.png b/main/img/icons/32/new_evaluation.png
new file mode 100644
index 0000000000..ae37dbac0e
Binary files /dev/null and b/main/img/icons/32/new_evaluation.png differ
diff --git a/main/img/icons/32/pdf.png b/main/img/icons/32/pdf.png
new file mode 100644
index 0000000000..79622266d1
Binary files /dev/null and b/main/img/icons/32/pdf.png differ
diff --git a/main/img/icons/32/percentage.png b/main/img/icons/32/percentage.png
new file mode 100644
index 0000000000..b63c13631f
Binary files /dev/null and b/main/img/icons/32/percentage.png differ
diff --git a/main/img/icons/32/printer.png b/main/img/icons/32/printer.png
new file mode 100644
index 0000000000..16b7f8f589
Binary files /dev/null and b/main/img/icons/32/printer.png differ
diff --git a/main/img/icons/32/statistics.png b/main/img/icons/32/statistics.png
new file mode 100644
index 0000000000..42dc708b0e
Binary files /dev/null and b/main/img/icons/32/statistics.png differ
diff --git a/main/img/icons/32/stats.png b/main/img/icons/32/stats.png
new file mode 100644
index 0000000000..943b8bd106
Binary files /dev/null and b/main/img/icons/32/stats.png differ
diff --git a/main/img/icons/48/sum.txt b/main/img/icons/48/_sum.txt
similarity index 75%
rename from main/img/icons/48/sum.txt
rename to main/img/icons/48/_sum.txt
index 9665a5789a..a4890e9bcd 100644
--- a/main/img/icons/48/sum.txt
+++ b/main/img/icons/48/_sum.txt
@@ -51,7 +51,8 @@ learnpath_section modif nuvola (16 px lp_dokeos_chapter.png and lp_dir.png into
view_left_right nuvola
move_learnpath modif nuvola
move_learnpath_na modif nuvola
-scorms nuvola
+scorms nuvola (and 22 px gif version for home page)
+scorms_na modif nuvola (and 22 px gif version for home page)
view_remove.png nuvola
view_remove_na.png modif nuvola
export_scorm modif nuvola
@@ -71,4 +72,17 @@ settings_na modif nuvola
export_excel modif mix crystal
exercice_check modif mix nuvola crystal
exercice_uncheck modif mix nuvola crystal
+--------
+statistics crystal
+percentage nuvola
+pdf crystal
+printer nuvola
+gradebook crystal (and 22 px gif version for home page)
+gradebook_na modif crystal (and 22 px gif version for home page)
+empty_evaluation crystal
+no_empty_evaluation modif crystal
+new_evaluation modif crystal
+delete nuvola
+import_evaluation modif crystal
+export_evaluation modif crystal
diff --git a/main/img/icons/48/certificate.png b/main/img/icons/48/certificate.png
new file mode 100644
index 0000000000..715f124ccd
Binary files /dev/null and b/main/img/icons/48/certificate.png differ
diff --git a/main/img/icons/48/certificate_list.png b/main/img/icons/48/certificate_list.png
new file mode 100644
index 0000000000..5cce5b25d7
Binary files /dev/null and b/main/img/icons/48/certificate_list.png differ
diff --git a/main/img/icons/48/delete.png b/main/img/icons/48/delete.png
new file mode 100644
index 0000000000..6b4497d5ef
Binary files /dev/null and b/main/img/icons/48/delete.png differ
diff --git a/main/img/icons/48/empty_evaluation.png b/main/img/icons/48/empty_evaluation.png
new file mode 100644
index 0000000000..800c8aa5d1
Binary files /dev/null and b/main/img/icons/48/empty_evaluation.png differ
diff --git a/main/img/icons/48/export_evaluation.png b/main/img/icons/48/export_evaluation.png
new file mode 100644
index 0000000000..39dfba4d96
Binary files /dev/null and b/main/img/icons/48/export_evaluation.png differ
diff --git a/main/img/icons/48/gradebook.png b/main/img/icons/48/gradebook.png
new file mode 100644
index 0000000000..ab6e9e92cf
Binary files /dev/null and b/main/img/icons/48/gradebook.png differ
diff --git a/main/img/icons/48/gradebook_na.png b/main/img/icons/48/gradebook_na.png
new file mode 100644
index 0000000000..2d37356012
Binary files /dev/null and b/main/img/icons/48/gradebook_na.png differ
diff --git a/main/img/icons/48/import_evaluation.png b/main/img/icons/48/import_evaluation.png
new file mode 100644
index 0000000000..37e82e8abc
Binary files /dev/null and b/main/img/icons/48/import_evaluation.png differ
diff --git a/main/img/icons/48/new_evaluation.png b/main/img/icons/48/new_evaluation.png
new file mode 100644
index 0000000000..c25c0cedb0
Binary files /dev/null and b/main/img/icons/48/new_evaluation.png differ
diff --git a/main/img/icons/48/no_empty_evaluation.png b/main/img/icons/48/no_empty_evaluation.png
new file mode 100644
index 0000000000..4d51222693
Binary files /dev/null and b/main/img/icons/48/no_empty_evaluation.png differ
diff --git a/main/img/icons/48/pdf.png b/main/img/icons/48/pdf.png
new file mode 100644
index 0000000000..34f1b26c0e
Binary files /dev/null and b/main/img/icons/48/pdf.png differ
diff --git a/main/img/icons/48/percentage.png b/main/img/icons/48/percentage.png
new file mode 100644
index 0000000000..3ba9bf2982
Binary files /dev/null and b/main/img/icons/48/percentage.png differ
diff --git a/main/img/icons/48/printer.png b/main/img/icons/48/printer.png
new file mode 100644
index 0000000000..1e160cd7ff
Binary files /dev/null and b/main/img/icons/48/printer.png differ
diff --git a/main/img/icons/48/scorms_na.png b/main/img/icons/48/scorms_na.png
new file mode 100644
index 0000000000..74b38287cd
Binary files /dev/null and b/main/img/icons/48/scorms_na.png differ
diff --git a/main/img/icons/48/statistics.png b/main/img/icons/48/statistics.png
new file mode 100644
index 0000000000..6aea1be8e8
Binary files /dev/null and b/main/img/icons/48/statistics.png differ
diff --git a/main/img/icons/48/stats.png b/main/img/icons/48/stats.png
new file mode 100644
index 0000000000..280131bd78
Binary files /dev/null and b/main/img/icons/48/stats.png differ
diff --git a/main/inc/lib/add_course.lib.inc.php b/main/inc/lib/add_course.lib.inc.php
index f4ab1c873f..b35bcb0b49 100755
--- a/main/inc/lib/add_course.lib.inc.php
+++ b/main/inc/lib/add_course.lib.inc.php
@@ -2144,7 +2144,7 @@ function fill_Db_course($course_db_name, $course_repository, $language, $default
Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_COURSE_DESCRIPTION . "','course_description/','info.gif','".string2binary(api_get_setting('course_create_active_tools', 'course_description')) . "','0','squaregrey.gif','NO','_self','authoring','0')");
Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_CALENDAR_EVENT . "','calendar/agenda.php','agenda.gif','".string2binary(api_get_setting('course_create_active_tools', 'agenda')) . "','0','squaregrey.gif','NO','_self','interaction','0')");
Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_DOCUMENT . "','document/document.php','folder_document.gif','".string2binary(api_get_setting('course_create_active_tools', 'documents')) . "','0','squaregrey.gif','NO','_self','authoring','0')");
- Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_LEARNPATH . "','newscorm/lp_controller.php','icons/22/scorms.png','".string2binary(api_get_setting('course_create_active_tools', 'learning_path')) . "','0','squaregrey.gif','NO','_self','authoring','0')");
+ Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_LEARNPATH . "','newscorm/lp_controller.php','icons/22/scorms.gif','".string2binary(api_get_setting('course_create_active_tools', 'learning_path')) . "','0','squaregrey.gif','NO','_self','authoring','0')");
Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_LINK . "','link/link.php','links.gif','".string2binary(api_get_setting('course_create_active_tools', 'links')) . "','0','squaregrey.gif','NO','_self','authoring','0')");
Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_QUIZ . "','exercice/exercice.php','quiz.gif','".string2binary(api_get_setting('course_create_active_tools', 'quiz')) . "','0','squaregrey.gif','NO','_self','authoring','0')");
Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_ANNOUNCEMENT . "','announcements/announcements.php','valves.gif','".string2binary(api_get_setting('course_create_active_tools', 'announcements')) . "','0','squaregrey.gif','NO','_self','authoring','0')");
@@ -2156,7 +2156,7 @@ function fill_Db_course($course_db_name, $course_repository, $language, $default
Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_STUDENTPUBLICATION . "','work/work.php','works.gif','".string2binary(api_get_setting('course_create_active_tools', 'student_publications')) . "','0','squaregrey.gif','NO','_self','interaction','0')");
Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_SURVEY."','survey/survey_list.php','survey.gif','".string2binary(api_get_setting('course_create_active_tools', 'survey')) . "','0','squaregrey.gif','NO','_self','interaction','0')");
Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_WIKI ."','wiki/index.php','wiki.gif','".string2binary(api_get_setting('course_create_active_tools', 'wiki')) . "','0','squaregrey.gif','NO','_self','interaction','0')");
- Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_GRADEBOOK."','gradebook/index.php','gradebook.gif','".string2binary(api_get_setting('course_create_active_tools', 'gradebook')). "','0','squaregrey.gif','NO','_self','authoring','0')");
+ Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_GRADEBOOK."','gradebook/index.php','icons/22/gradebook.gif','".string2binary(api_get_setting('course_create_active_tools', 'gradebook')). "','0','squaregrey.gif','NO','_self','authoring','0')");
Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_GLOSSARY."','glossary/index.php','glossary.gif','".string2binary(api_get_setting('course_create_active_tools', 'glossary')). "','0','squaregrey.gif','NO','_self','authoring','0')");
Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_NOTEBOOK."','notebook/index.php','notebook.gif','".string2binary(api_get_setting('course_create_active_tools', 'notebook'))."','0','squaregrey.gif','NO','_self','interaction','0')");
Database::query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (NULL, '" . TOOL_ATTENDANCE."','attendance/index.php','attendance.gif','".string2binary(api_get_setting('course_create_active_tools', 'attendances'))."','0','squaregrey.gif','NO','_self','authoring','0')");
diff --git a/main/install/db_main.sql b/main/install/db_main.sql
index 10d5a418b4..cf010f735c 100755
--- a/main/install/db_main.sql
+++ b/main/install/db_main.sql
@@ -280,13 +280,13 @@ INSERT INTO course_module VALUES
(17,'AddedLearnpath','','scormbuilder.gif',0,0,'external'),
(18,'conference','conference/index.php?type=conference','conf.gif',0,0,'external'),
(19,'conference','conference/index.php?type=classroom','conf.gif',0,0,'external'),
-(20,'learnpath','newscorm/lp_controller.php','icons/22/scorms.png',5,1,'basic'),
+(20,'learnpath','newscorm/lp_controller.php','icons/22/scorms.gif',5,1,'basic'),
(21,'blog','blog/blog.php','blog.gif',1,2,'basic'),
(22,'blog_management','blog/blog_admin.php','blog_admin.gif',1,2,'courseadmin'),
(23,'course_maintenance','course_info/maintenance.php','backup.gif',2,3,'courseadmin'),
(24,'survey','survey/survey_list.php','survey.gif',2,1,'basic'),
(25,'wiki','wiki/index.php','wiki.gif',2,3,'basic'),
-(26,'gradebook','gradebook/index.php','gradebook.gif',2,2,'basic'),
+(26,'gradebook','gradebook/index.php','icons/22/gradebook.gif',2,2,'basic'),
(27,'glossary','glossary/index.php','glossary.gif',2,1,'basic'),
(28,'notebook','notebook/index.php','notebook.gif',2,1,'basic'),
(29,'attendance','attendance/index.php','attendance.gif',2,1,'basic'),
|