Merge branch 'master' of git.beeznest.com:minedu-chamilo

skala
Julio Montoya 11 years ago
commit a1c1a03dc3
  1. 1
      main/css/base.css
  2. 538
      main/css/digedd/dataTable.css
  3. 191
      main/css/digedd/default.css
  4. 983
      main/css/digedd/frames.css
  5. BIN
      main/css/digedd/images/2leftarrow.gif
  6. BIN
      main/css/digedd/images/2rightarrow.gif
  7. BIN
      main/css/digedd/images/background_message.png
  8. BIN
      main/css/digedd/images/bar_1.gif
  9. BIN
      main/css/digedd/images/bar_1m.gif
  10. BIN
      main/css/digedd/images/bar_1r.gif
  11. BIN
      main/css/digedd/images/bar_1u.gif
  12. BIN
      main/css/digedd/images/bg-button.gif
  13. BIN
      main/css/digedd/images/bg-footer.gif
  14. BIN
      main/css/digedd/images/bg-header1.gif
  15. BIN
      main/css/digedd/images/bg-header4.png
  16. BIN
      main/css/digedd/images/bg-main.png
  17. BIN
      main/css/digedd/images/bg-menu.png
  18. BIN
      main/css/digedd/images/bgmenusup.png
  19. BIN
      main/css/digedd/images/bullet.gif
  20. BIN
      main/css/digedd/images/button_accept.gif
  21. BIN
      main/css/digedd/images/button_add.gif
  22. BIN
      main/css/digedd/images/button_back.gif
  23. BIN
      main/css/digedd/images/button_back.jpg
  24. BIN
      main/css/digedd/images/button_delete.gif
  25. BIN
      main/css/digedd/images/button_login.gif
  26. BIN
      main/css/digedd/images/button_minus.gif
  27. BIN
      main/css/digedd/images/button_next.gif
  28. BIN
      main/css/digedd/images/button_plus.gif
  29. BIN
      main/css/digedd/images/button_refresh.gif
  30. BIN
      main/css/digedd/images/button_search.gif
  31. BIN
      main/css/digedd/images/button_upload.gif
  32. BIN
      main/css/digedd/images/dataTable/Sorting icons.psd
  33. BIN
      main/css/digedd/images/dataTable/back_disabled.jpg
  34. BIN
      main/css/digedd/images/dataTable/back_enabled.jpg
  35. BIN
      main/css/digedd/images/dataTable/favicon.ico
  36. BIN
      main/css/digedd/images/dataTable/forward_disabled.jpg
  37. BIN
      main/css/digedd/images/dataTable/forward_enabled.jpg
  38. BIN
      main/css/digedd/images/dataTable/sort_asc.png
  39. BIN
      main/css/digedd/images/dataTable/sort_asc_disabled.png
  40. BIN
      main/css/digedd/images/dataTable/sort_both.png
  41. BIN
      main/css/digedd/images/dataTable/sort_desc.png
  42. BIN
      main/css/digedd/images/dataTable/sort_desc_disabled.png
  43. BIN
      main/css/digedd/images/fondoFooter.jpg
  44. BIN
      main/css/digedd/images/fondoHeader2.jpg
  45. BIN
      main/css/digedd/images/fondoHeader3.jpg
  46. BIN
      main/css/digedd/images/fondoNav.jpg
  47. BIN
      main/css/digedd/images/footer.jpg
  48. BIN
      main/css/digedd/images/header-logo.png
  49. BIN
      main/css/digedd/images/help2.png
  50. BIN
      main/css/digedd/images/loading.gif
  51. BIN
      main/css/digedd/images/logoMouse.jpg
  52. BIN
      main/css/digedd/images/portal.png
  53. BIN
      main/css/digedd/images/refresh.png
  54. BIN
      main/css/digedd/images/salir.gif
  55. BIN
      main/css/digedd/images/shadow.gif
  56. BIN
      main/css/digedd/images/systemenouvelles.jpg
  57. BIN
      main/css/digedd/images/tab.png
  58. BIN
      main/css/digedd/images/tab_center-active.gif
  59. BIN
      main/css/digedd/images/tab_center.gif
  60. BIN
      main/css/digedd/images/tab_left-active.gif
  61. BIN
      main/css/digedd/images/tab_left-hover-active.gif
  62. BIN
      main/css/digedd/images/tab_left-hover.gif
  63. BIN
      main/css/digedd/images/tab_left.gif
  64. BIN
      main/css/digedd/images/tab_right-active.gif
  65. BIN
      main/css/digedd/images/tab_right-hover.gif
  66. BIN
      main/css/digedd/images/tab_right.gif
  67. BIN
      main/css/digedd/images/tab_right.jpg
  68. BIN
      main/css/digedd/images/tab_rigth.gif
  69. 218
      main/css/digedd/learnpath.css
  70. 943
      main/css/digedd/print.css
  71. 213
      main/css/digedd/scorm.css
  72. 82
      main/css/digedd/scormfs.css
  73. 4
      main/exercice/exercise.class.php
  74. 4
      main/exercice/testcategory.class.php
  75. 2
      main/inc/lib/exercise.lib.php
  76. 6
      main/inc/lib/javascript/keyboard/jquery.keyboard.js
  77. 4
      main/inc/lib/template.lib.php
  78. 5
      main/locale/exercice/es.po
  79. 6
      main/locale/trad4all/es.po
  80. 9
      src/ChamiloLMS/Controller/IndexController.php
  81. 166
      vendor/ezyang/htmlpurifier/docs/ref-html-modularization.txt
  82. 44
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt
  83. 119
      vendor/ezyang/htmlpurifier/smoketests/printDefinition.php
  84. 44
      vendor/realityking/pchart/Example1.php
  85. 33
      vendor/realityking/pchart/Example10.php
  86. 49
      vendor/realityking/pchart/Example11.php
  87. 44
      vendor/realityking/pchart/Example12.php
  88. 31
      vendor/realityking/pchart/Example13.php
  89. 32
      vendor/realityking/pchart/Example14.php
  90. 67
      vendor/realityking/pchart/Example15.php
  91. 41
      vendor/realityking/pchart/Example16.php
  92. 47
      vendor/realityking/pchart/Example17.php
  93. 54
      vendor/realityking/pchart/Example18.php
  94. 43
      vendor/realityking/pchart/Example19.php
  95. 42
      vendor/realityking/pchart/Example2.php
  96. 43
      vendor/realityking/pchart/Example20.php
  97. 52
      vendor/realityking/pchart/Example21.php
  98. 49
      vendor/realityking/pchart/Example22.php
  99. 48
      vendor/realityking/pchart/Example23.php
  100. 52
      vendor/realityking/pchart/Example24.php
  101. Some files were not shown because too many files have changed in this diff Show More

@ -5312,6 +5312,7 @@ i.size-32.icon-new-work {
.question_no_title {
text-align: center;
font-size: larger;
}
.main_question .media .media-object {

@ -0,0 +1,538 @@
/*
* File: demo_table.css
* CVS: $Id$
* Description: CSS descriptions for DataTables demo pages
* Author: Allan Jardine
* Created: Tue May 12 06:47:22 BST 2009
* Modified: $Date$ by $Author$
* Language: CSS
* Project: DataTables
*
* Copyright 2009 Allan Jardine. All Rights Reserved.
*
* ***************************************************************************
* DESCRIPTION
*
* The styles given here are suitable for the demos that are used with the standard DataTables
* distribution (see www.datatables.net). You will most likely wish to modify these styles to
* meet the layout requirements of your site.
*
* Common issues:
* 'full_numbers' pagination - I use an extra selector on the body tag to ensure that there is
* no conflict between the two pagination types. If you want to use full_numbers pagination
* ensure that you either have "example_alt_pagination" as a body class name, or better yet,
* modify that selector.
* Note that the path used for Images is relative. All images are by default located in
* images/dataTable/ - relative to this CSS file.
*/
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* DataTables features
*/
.dataTables_wrapper {
position: relative;
min-height: 302px;
clear: both;
_height: 302px;
zoom: 1; /* Feeling sorry for IE */
}
.dataTables_processing {
position: absolute;
top: 50%;
left: 50%;
width: 250px;
height: 30px;
margin-left: -125px;
margin-top: -15px;
padding: 14px 0 2px 0;
border: 1px solid #ddd;
text-align: center;
color: #999;
font-size: 14px;
background-color: white;
}
.dataTables_length {
width: 40%;
float: left;
}
.dataTables_filter {
width: 50%;
float: right;
text-align: right;
}
.dataTables_info {
width: 60%;
float: left;
}
.dataTables_paginate {
width: 44px;
* width: 50px;
float: right;
text-align: right;
}
/* Pagination nested */
.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
height: 19px;
width: 19px;
margin-left: 3px;
float: left;
}
.paginate_disabled_previous {
background-image: url('images/dataTale/back_disabled.jpg');
}
.paginate_enabled_previous {
background-image: url('images/dataTable/back_enabled.jpg');
}
.paginate_disabled_next {
background-image: url('images/dataTable/forward_disabled.jpg');
}
.paginate_enabled_next {
background-image: url('images/dataTable/forward_enabled.jpg');
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* DataTables display
*/
table.display {
margin: 0 auto;
clear: both;
width: 100%;
/* Note Firefox 3.5 and before have a bug with border-collapse
* ( https://bugzilla.mozilla.org/show%5Fbug.cgi?id=155955 )
* border-spacing: 0; is one possible option. Conditional-css.com is
* useful for this kind of thing
*
* Further note IE 6/7 has problems when calculating widths with border width.
* It subtracts one px relative to the other browsers from the first column, and
* adds one to the end...
*
* If you want that effect I'd suggest setting a border-top/left on th/td's and
* then filling in the gaps with other borders.
*/
}
table.display thead th {
padding: 3px 18px 3px 10px;
border-bottom: 1px solid black;
font-weight: bold;
cursor: pointer;
* cursor: hand;
}
table.display tfoot th {
padding: 3px 18px 3px 10px;
border-top: 1px solid black;
font-weight: bold;
}
table.display tr.heading2 td {
border-bottom: 1px solid #aaa;
}
table.display td {
padding: 3px 10px;
}
table.display td.center {
text-align: center;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* DataTables sorting
*/
.sorting_asc {
background: url('images/dataTable/sort_asc.png') no-repeat center right;
}
.sorting_desc {
background: url('images/dataTable/sort_desc.png') no-repeat center right;
}
.sorting {
background: url('images/dataTable/sort_both.png') no-repeat center right;
}
.sorting_asc_disabled {
background: url('images/dataTable/sort_asc_disabled.png') no-repeat center right;
}
.sorting_desc_disabled {
background: url('images/dataTable/sort_desc_disabled.png') no-repeat center right;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* DataTables row classes
*/
table.display tr.odd.gradeA {
background-color: #ddffdd;
}
table.display tr.even.gradeA {
background-color: #eeffee;
}
table.display tr.odd.gradeC {
background-color: #ddddff;
}
table.display tr.even.gradeC {
background-color: #eeeeff;
}
table.display tr.odd.gradeX {
background-color: #ffdddd;
}
table.display tr.even.gradeX {
background-color: #ffeeee;
}
table.display tr.odd.gradeU {
background-color: #ddd;
}
table.display tr.even.gradeU {
background-color: #eee;
}
tr.odd {
background-color: #E2E4FF;
}
tr.even {
background-color: white;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Misc
*/
.dataTables_scroll {
clear: both;
}
.dataTables_scrollBody {
*margin-top: -1px;
}
.top, .bottom {
padding: 15px;
background-color: #F5F5F5;
border: 1px solid #CCCCCC;
}
.top .dataTables_info {
float: none;
}
.clear {
clear: both;
}
.dataTables_empty {
text-align: center;
}
tfoot input {
margin: 0.5em 0;
width: 100%;
color: #444;
}
tfoot input.search_init {
color: #999;
}
td.group {
background-color: #d1cfd0;
border-bottom: 2px solid #A19B9E;
border-top: 2px solid #A19B9E;
}
td.details {
background-color: #d1cfd0;
border: 2px solid #A19B9E;
}
.example_alt_pagination div.dataTables_info {
width: 40%;
}
.paging_full_numbers {
width: 400px;
height: 22px;
line-height: 22px;
}
.paging_full_numbers span.paginate_button,
.paging_full_numbers span.paginate_active {
border: 1px solid #aaa;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
padding: 2px 5px;
margin: 0 3px;
cursor: pointer;
*cursor: hand;
}
.paging_full_numbers span.paginate_button {
background-color: #ddd;
}
.paging_full_numbers span.paginate_button:hover {
background-color: #ccc;
}
.paging_full_numbers span.paginate_active {
background-color: #99B3FF;
}
table.display tr.even.row_selected td {
background-color: #B0BED9;
}
table.display tr.odd.row_selected td {
background-color: #9FAFD1;
}
/*
* Sorting classes for columns
*/
/* For the standard odd/even */
tr.odd td.sorting_1 {
background-color: #D3D6FF;
}
tr.odd td.sorting_2 {
background-color: #DADCFF;
}
tr.odd td.sorting_3 {
background-color: #E0E2FF;
}
tr.even td.sorting_1 {
background-color: #EAEBFF;
}
tr.even td.sorting_2 {
background-color: #F2F3FF;
}
tr.even td.sorting_3 {
background-color: #F9F9FF;
}
/* For the Conditional-CSS grading rows */
/*
Colour calculations (based off the main row colours)
Level 1:
dd > c4
ee > d5
Level 2:
dd > d1
ee > e2
*/
tr.odd.gradeA td.sorting_1 {
background-color: #c4ffc4;
}
tr.odd.gradeA td.sorting_2 {
background-color: #d1ffd1;
}
tr.odd.gradeA td.sorting_3 {
background-color: #d1ffd1;
}
tr.even.gradeA td.sorting_1 {
background-color: #d5ffd5;
}
tr.even.gradeA td.sorting_2 {
background-color: #e2ffe2;
}
tr.even.gradeA td.sorting_3 {
background-color: #e2ffe2;
}
tr.odd.gradeC td.sorting_1 {
background-color: #c4c4ff;
}
tr.odd.gradeC td.sorting_2 {
background-color: #d1d1ff;
}
tr.odd.gradeC td.sorting_3 {
background-color: #d1d1ff;
}
tr.even.gradeC td.sorting_1 {
background-color: #d5d5ff;
}
tr.even.gradeC td.sorting_2 {
background-color: #e2e2ff;
}
tr.even.gradeC td.sorting_3 {
background-color: #e2e2ff;
}
tr.odd.gradeX td.sorting_1 {
background-color: #ffc4c4;
}
tr.odd.gradeX td.sorting_2 {
background-color: #ffd1d1;
}
tr.odd.gradeX td.sorting_3 {
background-color: #ffd1d1;
}
tr.even.gradeX td.sorting_1 {
background-color: #ffd5d5;
}
tr.even.gradeX td.sorting_2 {
background-color: #ffe2e2;
}
tr.even.gradeX td.sorting_3 {
background-color: #ffe2e2;
}
tr.odd.gradeU td.sorting_1 {
background-color: #c4c4c4;
}
tr.odd.gradeU td.sorting_2 {
background-color: #d1d1d1;
}
tr.odd.gradeU td.sorting_3 {
background-color: #d1d1d1;
}
tr.even.gradeU td.sorting_1 {
background-color: #d5d5d5;
}
tr.even.gradeU td.sorting_2 {
background-color: #e2e2e2;
}
tr.even.gradeU td.sorting_3 {
background-color: #e2e2e2;
}
/*
* Row highlighting example
*/
.ex_highlight #example tbody tr.even:hover, #example tbody tr.even td.highlighted {
background-color: #ECFFB3;
}
.ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted {
background-color: #E6FF99;
}
.ex_highlight_row #example tr.even:hover {
background-color: #ECFFB3;
}
.ex_highlight_row #example tr.even:hover td.sorting_1 {
background-color: #DDFF75;
}
.ex_highlight_row #example tr.even:hover td.sorting_2 {
background-color: #E7FF9E;
}
.ex_highlight_row #example tr.even:hover td.sorting_3 {
background-color: #E2FF89;
}
.ex_highlight_row #example tr.odd:hover {
background-color: #E6FF99;
}
.ex_highlight_row #example tr.odd:hover td.sorting_1 {
background-color: #D6FF5C;
}
.ex_highlight_row #example tr.odd:hover td.sorting_2 {
background-color: #E0FF84;
}
.ex_highlight_row #example tr.odd:hover td.sorting_3 {
background-color: #DBFF70;
}
/*
* KeyTable
*/
table.KeyTable td {
border: 3px solid transparent;
}
table.KeyTable td.focus {
border: 3px solid #3366FF;
}
table.display tr.gradeA {
background-color: #eeffee;
}
table.display tr.gradeC {
background-color: #ddddff;
}
table.display tr.gradeX {
background-color: #ffdddd;
}
table.display tr.gradeU {
background-color: #ddd;
}
div.box {
height: 100px;
padding: 10px;
overflow: auto;
border: 1px solid #8080FF;
background-color: #E5E5FF;
}

@ -0,0 +1,191 @@
/*****************************************************
* MAIN - CHAMILO CSS
*****************************************************/
/* Adding default style for the chamilo_X themes */
@import url('../base_chamilo.css');
/* the following for regular <a> elements */
a {
text-decoration: none;
color :#3757f7
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
color: #f3840d;
}
a:active {
text-decoration: none;
color : #3757f7;
}
.subnav .navbar-inner {
background-color: #00AAE3; /* Old browsers */
background-repeat: repeat-x; /* Repeat the gradient */
background-image: -moz-linear-gradient(top, #028DC2 0%, #00AAE3 100%); /* FF3.6+ */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#028DC2), color-stop(100%,#00AAE3)); /* Chrome,Safari4+ */
background-image: -webkit-linear-gradient(top, #028DC2 0%, #00AAE3 100%); /* Chrome 10+,Safari 5.1+ */
background-image: -ms-linear-gradient(top, #028DC2 0%,#00AAE3 100%); /* IE10+ */
background-image: -o-linear-gradient(top, #028DC2 0%,#00AAE3 100%); /* Opera 11.10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#028DC2', endColorstr='#00AAE3',GradientType=0 ); /* IE6-9 */
background-image: linear-gradient(top, #028DC2 0%,#00AAE3 100%); /* W3C */
}
.subnav .nav > li > a {
border-left: 1px solid #0EA0D4;
border-right: 1px solid #0EA0D4;
color: white;
}
.subnav .nav > #current > a,
.subnav .nav > #current > a:hover {
color: #fff;
background-color: #028DC2;
border-right-color: #028DC2;
}
.subnav li a {
color:#fff;
}
/* Green hover */
.subnav .navbar-inner li a:hover {
background: none repeat scroll 0 0 #8ECB50;
color: #fff;
}
/*****************************************************
* FOOTER STYLES *
*****************************************************/
footer {
background-color: #037fb2;
background-image: url(images/bg-footer.gif);
background-repeat:repeat-x;
color:#ffffff;
}
/*****************************************************
* DISPLAY MESSAGES *
*****************************************************/
.normal-message {
color: #00407F;
border: 1px solid #CDE6F5;
background: url("images/background_message.png") repeat-x scroll 0 0 #EAF8FE;
}
.warning-message {
border: 1px solid #FFB30F;
color: #000;
background: url("images/background_message.png") repeat-x scroll 0 0 #FFEFA7;
}
.confirmation-message {
border: 1px solid #1F8323;
color:#1F8323;
background: url("images/background_message.png") repeat-x scroll 0 0 #CAF0C7;
}
.error-message {
border: 1px solid #FF0000;
color: #440000;
background: url("images/background_message.png") repeat-x scroll 0 0 #FFD1D1;
}
.social-menu-title {
background-color:#00AAE3;
}
#social-content-online {
background-color:#00AAE3;
}
.admin_section li {
background-image:url(images/bullet.gif);
}
.system_announcements {
background: transparent url('images/systemenouvelles.jpg') no-repeat top left;
}
.topa {
background:transparent url('images/logoa4.gif') no-repeat;
}
.topb {
background:transparent url('images/logob4.gif') no-repeat;
}
#bottomhellomindfactory {
background:transparent url('images/textologo.jpg') no-repeat;
}
/*including "login" image*/
button.login {
background-image:url(images/bg-button.gif);
}
button.login:hover {
}
/*including "save" image*/
button.save {
background-image:url(images/button_accept.gif);
}
/*including "add" image*/
button.add {
background-image:url(images/button_add.gif);
}
/*including "cancel" image*/
button.cancel {
background-image:url(images/button_delete.gif);
}
/*including "search" image*/
button.search {
background-image:url(images/bg-button.gif);
}
/*including "plus" image*/
button.plus {
background-image:url(images/button_plus.gif);
}
/*including "minus" image*/
button.minus {
background-image:url(images/button_minus.gif);
}
/*including "next" image*/
button.next {
background-image:url(images/button_next.gif) !important;
}
/*including "back" image*/
button.back {
background-image:url(images/button_back.gif);
}
/*including "refresh" image*/
button.refresh {
background-image:url(images/button_refresh.gif);
}
/*including "upload" image*/
button.upload {
background-image:url(images/button_upload.gif);
}
button.arrowr, input.arrowr {
background-image:url(images/2rightarrow.gif);
}
button.arrowl, input.arrowl {
background-image:url(images/2leftarrow.gif);
}
.refresh {
background-image:url(images/refresh.png);
}
.portal {
background-image:url(images/portal.png);
}
#logo img {
max-width: none;
}
.exercise_progress_bars_cat {
width: 220px !important;
}
.exercise_progress_bars_cat_items {
width: 710px !important;
}

@ -0,0 +1,983 @@
body {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 12px;
color: #000;
margin: 10px;
padding: 0;
background-color: #fff;
}
img {
border: none;
}
#outerframe {
position: relative; /* do not remove, fixes a bug in IE */
border: 1px solid #fff;
background-color: #fff;
}
/* Hides from IE5-mac \*/
* html #outerframe {
height: 1%;
}
/* End hide from IE5-mac */
/*****************************************************
* HEADER STYLES *
*****************************************************/
#header {
width: 100%;
padding: 0;
margin: 0;
}
/* Header 1: Containing title, portal and organization */
#header1 {
font-size: 12px;
padding: 4px;
background-color: #264269;
color: #fff;
border-bottom: 1px solid white;
}
#header1 a {
color: #ffffff;
text-decoration: none;
}
#header1 a:hover {
text-decoration: underline;
}
#sitename {
margin: 0;
font-weight: bold;
}
#institution {
float: left;
font-weight: bold;
}
#my_courses {
float: right;
font-weight: bold;
}
#logout {
float: right;
width:20%;
text-align:right;
}
/* The tool shortcuts */
#toolshortcuts {
text-align: right;
}
/*****************************************************
* FOOTER STYLES *
*****************************************************/
#footer {
padding: 8px;
border-top: 1px solid #4171B5;
background-color: #E5EDF9;
font-size: 12px;
}
#footer .copyright {
float: right;
}
/*****************************************************
* MAIN STYLES *
*****************************************************/
#main {
position: relative; /* to avoid the IE peekabo bug*/
margin: 0px auto;
margin-top: 10px;
width: 98%;
padding: 0px 10px 10px 10px;
background-color: #fff;
min-height: 320px;
}
/* for content section in main index.php file */
.maincontent {
float: left;
width: 78%;
padding: 4px;
background-color: #fff;
}
/* "menu" classes for menu/navigation section in main index.php */
.menu {
float: right;
width: 20%;
padding: 0 0 6px 0;
background-color: #E5EDF9;
border: 1px solid #4171B5;
}
.menucaption {
font-size: 12px;
font-weight: bold;
padding-left: 12px;
}
.menusection {
width: auto;
margin: 24px 6px 0 6px;
padding-left: 10px;
border: 1px solid #4171B5;
}
.menusectioncaption {
position: relative;
top: -9px;
background-color: #E5EDF9;
font-size: 12px;
padding: 0 8px 0 4px;
}
.menulist {
list-style: none;
margin: 0 0 12px 0;
padding: 0;
}
#lang_form {
text-align: left;
font-size: 12px;
margin: 2px 0 10px 0;
padding: 2px;
}
#lang_form input, #lang_form select {
font-size: 12px;
}
#loginform label {
font-size: 12px;
margin: 4px 6px;
}
#loginform input {
display: block;
font-size: 13px;
margin: 4px 6px;
}
#login_fail {
margin: 0 6px 6px 6px;
padding: 4px;
border: 1px solid #f00;
background-color: #fff;
font-size: 12px;
color: #f00;
}
/*** layout divs for course and tool pages (being tested in some pages) ****/
#contentfloatholder {/* also makes the right "sliding" tab */
/*background: url(../pics/sidebar-r.gif) repeat-y 100% 0;
background: url(../pics/bg_fountain.jpg) no-repeat 100% 0; */
float: left;
width: 100%;
position: relative;
}
#contentfloatholder:after {
/* this is for NN6 to clear floats */
content: ".";
display: block;
height: 0px;
clear: both;
visibility: hidden;
}
#centerwrap {
float: left;
width: 100%;
margin-right: -95%;/* this needs to be less than 100% for Moz/Mac which thinks
it's empty otherwise. The difference is made up by putting a
negative left margin on the left float:
Note IE/Mac doesn't like this method ~ it wants the 100% so it can
be fed in using IE only CSS below becasue IE/Win also works with the 100% method.
*/
}
#center {
margin: 0 0 0 180px;
padding: 10px 0 40px 0;
min-height: 300px;
}
#left {
float: left;
width: 180px;
padding: 20px 0 0 0;
margin-left: -5%; /* the difference to make the left colum appear flush left */
}
/* --- left navigation box menu as a definition list --- */
#leftnavbox {
margin: 0;
padding: 0;
float:left;
}
#leftnavbox dl {
width: 160px;
margin: 12px auto 4px auto;
padding: 0 0 10px 0;
background: transparent;
font-size: 12px;
text-align: center;
}
#leftnavbox dt {
margin: 0;
padding: 1px 2px;
font-weight: bold;
font-size: 12px;
text-align: center;
color: #000;
border-bottom: 1px solid #fff;
background: transparent;
}
#leftnavbox dd {
margin: 0;
padding: 0;
color: #009;
text-align: left;
border-bottom:1px solid #fff;
background: #ccf;
}
#leftnavlist a, #leftnavlist a:link {
display: block;
color: #fff;
text-decoration: none;
padding: 2px 5px 2px 10px;
background: #4171B5;
width:140px;
border: 1px solid #009;
}
#leftnavlist a:visited {
color:#eee;
text-decoration: none;
display: block;
padding: 2px 5px 2px 10px;
background: #4171B5;
color: #eee;
width:140px;
}
#leftnavlist a:hover {
background: #fff;
color:#4171B5;
display: block;
}
/* --- end of left side definition list menu section --- */
/* various sections in course-home.php file */
#toolremove {
width: 40%;
color: #f00;
font-weight: bold;
margin: 10px auto;
padding: 10px;
border: 2px solid #f00;
}
#courseintro {
clear: both;
width: 80%;
margin: 10px auto;
padding: 10px;
border-bottom: 1px solid #4171B5;
}
#courseintro_icons {
clear: both;
width: 80%;
margin: 10px auto;
}
.everybodyview {
position: relative; /* to avoid the IE peekabo bug ?*/
width: 80%;
margin: 10px auto;
padding: 10px;
}
.courseadminview, .platformadminview {
position: relative;
width: 80%;
margin: 25px auto 10px;
padding: 10px;
border: 1px solid #4171B5;
}
.viewcaption {
position: relative;
top: -20px;
font-size: 12px;
font-weight: bold;
color: #4171B5;
background-color: #fff;
padding: 0 4px;
}
/***********************************/
/* ===================================================
AGENDA STYLES
===================================================*/
/* ---------------------------------------------------
check if these are still used or not
-----------------------------------------------------*/
#agenda {
width: 100%;
margin: 0 auto;
border: 1px solid #4171B5;
border-collapse: collapse;
}
.agenda_month_divider {
background-color: #4171B5;
font-weight: bold;
font-size: 12px;
color: #fff;
text-align: center;
}
#agenda #title a {
color: #fff;
}
#agenda .agendaitem {
font-size: 12px;
}
#smallcalendar #title {
background-color: #4171B5;
font-weight: bold;
padding: 2px;
color: #fff;
text-align: center;
font-size: 11px;
}
#smallcalendar #title a {
color: #fff;
}
#agenda_select {
list-style: none;
border: 0px solid green;
margin: 30px 0 0 0;
padding: 0 0 0 10px;
}
/* ---------------------------------------------------
styles for the agenda (day, week, month view)
-----------------------------------------------------*/
#agenda_list {
width: 100%;
margin: 0 auto;
border: 1px solid #fff;
border-collapse: collapse;
}
/*The caption of the calendar (displays the month and the << and >> links*/
#agenda_list #title {
background-color: #4171B5;
font-weight: bold;
font-size: 12px;
color: #fff;
text-align: left;
padding: 2px 10px;
text-align: center;
border: 1px solid #264269;
}
#agenda_list #title a:link, #agenda_list #title a:visited {
background-color: #4171B5;
font-weight: bold;
font-size: 12px;
color: #fff;
text-align: left;
padding: 2px 10px;
text-align: center;
}
#agenda_list #title a:hover {
background-color: #4171B5;
font-weight: bold;
font-size: 12px;
color: #ff0000;
text-align: left;
padding: 2px 10px;
text-align: center;
}
/* The cells with the name of the days of the weeks (mon->sun)*/
#agenda_list .weekdays {
background-color: #D3DFF1;
text-align: center;
font-weight: bold;
border: 1px solid #264269;
border-collapse: collapse;
}
/* The cells for the days (1->31) */
#agenda_list .days_week {
height: 40px;
width: 12%;
text-align: left;
vertical-align: top;
border: 1px solid #264269;
border-collapse: collapse;
background-color: #f5f5f5;
}
#agenda_list .days_weekend {
height: 40px;
width: 12%;
text-align: left;
vertical-align: top;
border: 1px solid #264269;
border-collapse: collapse;
background-color: #e6e6e6;
}
#agenda_list .days_today {
height: 40px;
width: 12%;
text-align: left;
vertical-align: top;
border: 1px solid #264269;
border-collapse: collapse;
background-color: #FFCA8D;
color: #CC3300;
font-weight: bold;
}
/* text in the cells: display of agenda items (visible)*/
#agenda_list .data {
background-color: #eee;
text-align: left;
padding: 2px 10px;
font-weight: bold;
border: 0px solid #4171B5;
border-collapse: collapse;
}
#agenda_list .datanotbold {
background-color: #eee;
text-align: left;
padding: 2px 10px;
font-weight: normal;
border: 0px solid #4171B5;
border-collapse: collapse;
}
#agenda_list .text {
background-color: #fff;
text-align: left;
padding: 2px 10px;
font-weight: normal;
border: 0px solid #4171B5;
border-collapse: collapse;
}
/*text in the cells: display of agenda items (invisible)*/
#agenda_list .data_hidden {
background-color: #eee;
text-align: left;
padding: 2px 10px;
font-weight: bold;
border: 0px solid #4171B5;
border-collapse: collapse;
color: #999999;
}
#agenda_list .datanotbold_hidden {
background-color: #eee;
text-align: left;
padding: 2px 10px;
font-weight: normal;
border: 0px solid #4171B5;
border-collapse: collapse;
color: #999999;
}
#agenda_list .text_hidden {
background-color: #fff;
text-align: left;
padding: 2px 10px;
font-weight: normal;
border: 0px solid #4171B5;
border-collapse: collapse;
color: #999999;
}
/*text in the cells: display of agenda items (highlighted)*/
#agenda_list .datanow {
background-color: #FFCC00;
text-align: left;
padding: 2px 10px;
font-weight: bold;
border: 0px solid #4171B5;
border-collapse: collapse;
}
#agenda_list .datanotboldnow {
background-color: #FFCC00;
text-align: left;
padding: 2px 10px;
font-weight: normal;
border: 0px solid #4171B5;
border-collapse: collapse;
}
#agenda_list .textnow {
background-color: #fff;
text-align: left;
padding: 2px 10px;
font-weight: normal;
border: 0px solid #4171B5;
border-collapse: collapse;
}
/* ---------------------------------------------------
styles for the mini agenda
-----------------------------------------------------*/
#smallcalendar {
width: 100%;
margin: 0 auto;
border: 1px solid #fff;
border-collapse: collapse;
}
#smallcalendar .weekdays {
background-color: #D3DFF1;
text-align: center;
font-size: 11px;
font-weight: bold;
border: 1px solid #fff;
border-collapse: collapse;
}
#smallcalendar .days_week {
background-color: #f5f5f5;
text-align: center;
font-size: 11px;
border-collapse: collapse;
}
#smallcalendar .days_weekend {
background-color: #e6e6e6;
text-align: center;
font-size: 11px;
border: 1px solid #fff;
border-collapse: collapse;
}
#smallcalendar .days_today {
width: 12%;
text-align: center;
font-size: 11px;
border: 1px solid #FA8500;
border-collapse: collapse;
background-color: #FFCA8D;
}
/* ---------------------------------------------------
styles for the personal agenda
-----------------------------------------------------*/
.personal_agenda {
color: #008000;
}
.personal_agenda a:link, .personal_agenda a:visited {
color: #008000;
}
a.personal_agenda:link, a.personal_agenda:visited {
color: #008000;
}
.personal_agenda a:hover, .personal_agenda a:hover {
color: #666666;
}
a.personal_agenda:hover, a.personal_agenda:hover {
color: #666666;
}
/* normal and erro message-box */
.normal-message, .error-message {
position: relative;
margin: 10px auto;
margin-left: -250px;
width: 500px;
left: 50%;
right: 50%;
border-width: 1px;
border-style: solid;
padding: 5px;
}
.normal-message {
border: 1px solid #FF8001;
color: #000;
background-color: #FDC77E;
}
.error-message {
border: 1px solid #3F70AC;
color: #000;
background-color: #FDC273;
}
#message {
margin: 0 auto;
text-align: center;
}
#message select {
margin: 10px 0;
width: 220px;
}
#message textarea {
margin: 10px 0;
}
#message td {
padding: 4px;
}
/* styles from the document.php file */
.comment {
margin-left: 30px;
}
.invisible {
color: #999;
}
.invisible a:link, .invisible a:visited {
color: #999;
}
a.invisible:link, a.invisible:visited {
color: #999;
}
/* styles from the upload.php file */
dl.upload_option {
margin: 1em 0;
padding: 0;
}
.upload_option dt {
font-weight:bold;
margin:0;
}
.upload_option dd {
margin:0;
}
/* styles from dropbox.php file */
.dropbox_detail {
font-size: small
}
.dropbox_date {
font-style: italic
}
.dropbox_person {
font-weight: bold
}
.dropbox_listTitle {
color: #000000;
}
.dropbox_feedback {
font-size: x-small;
height: 50px;
width: 200px;
overflow: auto
}
.dropbox_feedbacks {
height: 250px;
width: 100%;
overflow: auto
}
/* styles for chat / conference tools */
#chat_entermessage {
background-color: #D6E5FA;
border-top: 1px solid #4171B5;
padding: 5px;
margin: 0;
}
/* styles for general formatting */
.clear {
clear: both;
line-height: 0;
height: 0;
}
p, blockquote, ol, ul {
font-size: 12px;
}
h1 {
font-size: 21px;
}
h2 {
font-size: 18px;
}
h3 {
font-size: 15px;
margin-top:0px;
padding-top:0px;
}
h4 {
font-size: 12px;
}
h5, h6 {
font-family: verdana, arial, helvetica, sans-serif;
}
/* the following for regular <a> elements */
a:link {
text-decoration: none;
font-weight : bold;
color : #4171b5;
}
a:visited {
text-decoration: none;
font-weight : bold;
color : #4171b5;
}
a:hover {
text-decoration: none;
color: red;
font-weight: bold
}
a:active {
text-decoration: none;
font-weight : bold;
color : #f00;
}
input.link_alike {
background-color: #FFFFFF;
border-width: 0px;
color: #4171b5;
font-weight: bold;
text-align: left;
padding: 0px;
margin: 0px;
}
input.link_alike:hover {
background-color: #FFFFFF;
border-width: 0px;
color: #FF0000;
font-weight: bold;
text-align: left;
padding: 0px;
margin: 0px;
}
/* the following for the greyed out elements */
a.nobold:link, a.nobold:visited, a.nobold:active {
font-weight: normal;
color: #999;
margin: 0 0 0 25px;
}
a.nobold:hover {
font-weight: normal;
color: #999;
text-decoration: underline;
margin: 0 0 0 25px;
}
.note {
margin: 6px;
font-size: 12px;
line-height: 14px;
font-family: verdana, arial, helvetica, sans-serif;
background-color: #FFF089;
color: #4171B5;
border: 1px solid #4171B5;
padding: 4px;
}
.alternativeBgLight {
background-color: #f5f5f5;
border: 1px solid #4171B5;
border-collapse: collapse;
}
.alternativeBgDark {
background-color: #ccf;
border: 1px solid #4171B5;
border-collapse: collapse;
}
.myagendatoday {
background-color: #FFCA8D;
border-collapse: collapse;
font-family: verdana, arial, helvetica, sans-serif;
color: #CC3300;
font-weight: bold;
}
/* Form elements - some general styling*/
select, textarea {
color : #000;
border: 1px solid #000;
}
input.checkbox {
border-width: 0;
}
input.mainoption {
font-weight : bold;
} /* Main submit button */
input.liteoption {
font-weight : normal;
} /* None-bold submit button */
select, input[type=checkbox], input[type=radio], input[type=button], input[type=submit] {
cursor: pointer;
font-size: 12px;
}
input[text] {
font-size: 12px;
}
/************************************************************
styles below here are not necessarily used in the current
release and the CVS files, they are from earlier versions,
and have been left untouched for anyone needing them in
their own platform ...
*************************************************************/
.topBanner a:link, .topBanner a:active, .topBanner a:visited {
text-decoration:none;
color:white;
}
.topBanner table {
text-decoration:none;
}
.topBanner a:hover {
text-decoration:underline;
}
.topBanner td {
border-top: solid White 1px;
}
.alternativeBgLight {
background-color: #f5f5f5;
}
.alternativeBgDark {
background-color: #e6e6e6
}
.forms {
letter-spacing: normal;
text-align: justify;
text-indent: 3pt;
word-spacing: normal;
padding: 2px 5px;
}
.formsTips {
text-align: justify;
text-indent: 15pt;
word-spacing: normal;
}
/*
input.forms { letter-spacing: normal; text-align: justify; text-indent: 3pt; word-spacing: normal;
padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
*/
.warn {
border: thin double Silver;
margin-left: 15px;
margin-right: 15px;
font-family: serif;
color: Red;
padding-left: 25px;
}
.small {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px
}
.xsmall {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px
}
.xxsmall {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px
}
/*****************************************************
* DATA TABLE STYLES *
*****************************************************/
.cell_header {
background-color: #EEEEFF;
font-weight:bold;
text-align:left;
padding-left:5px;
} /* header cell in data table in tools */
.data_table {
border-collapse: collapse;
width: 100%;
padding: 5px;
}
.data_table th {
padding-right: 20px;
border: 1px solid gray;
background-color: #E5EDF9;
}
.data_table tr.row_odd {
background-color: #fafafa;
}
.data_table tr.row_odd:hover, .data_table tr.row_even:hover {
background-color: #f0f0f0;
}
.data_table tr.row_even {
background-color: #fff;
}
.data_table td {
padding: 5px;
vertical-align: top;
border-bottom: 1px solid #b0b0b0;
border-right: 1px dotted #e1e1e1;
border-left: 1px dotted #e1e1e1;
}
/* admin page tool list definitions */
.tool_list dt {
font-weight: bold;
}
.tool_list dd {
margin: 0;
padding: 4px 0 0 10px;
}
/* divs for category list / platform news on home page */
.home_cats {
width: 45%;
float: left;
margin: 0;
padding: 0px;
padding-top: 8px;
background: #fff;
}
.home_news {
width: 45%;
float: right;
margin: 0;
padding: 0px;
padding-top: 8px;
background: #fff;
}
label.left {
float: left;
width: 15em;
margin: 0 0 0.5em 0;
}
form br {
clear: both;
}
/* Fix for alignment problem in IE-Win browsers */
/* Hide from IE5-mac. Only IE-win sees this. \*/
* html .label {
margin-right: 10px;
}
* html .data {
height: 1%;
margin-left: 0;
}
/* End hide from IE5/mac */
.radio, .checkbox {
margin: 0;
padding: 0;
border: none;
background-color: transparent;
}
.required {
color: #f00;
font-weight: bold;
}
/* Admin section */
div.admin_section {
width: 40%;
float: left;
padding: 5px;
margin: 10px 20px;
}
div.admin_section h4 {
margin: 0;
border-bottom: 1px solid gray;
width: 100%;
}
.user_course_category {
background-color: #efefef;
border: 1px solid #666;
font-weight: bold;
color: #666;
list-style-type: none;
margin: 5px;
padding: 5px;
}
/* Styles for the Dokeos Config Settings of the platform admin section*/
.sectiontitle {
background-color: #EFEFEF;
border: 1px solid #cccccc;
font-weight: bold;
color: #666666;
list-style-type: none;
margin: 5px;
padding: 5px;
font-size: 11px;
}
.sectioncomment {
color: #000000;
margin: 5px;
padding: 5px;
font-size: 11px;
}
.sectionvalue {
list-style-type: none;
margin: 5px;
padding: 5px;
}
/* New Announcements Tool */
.announcements_datum {
font-size: 12px;
font-weight: italic;
color: #666666;
}
/* System announcements on homepage */
div.system_announcements {
}
div.system_announcements h3 {
}
div.system_announcements ul {
list-style-type: none;
}
div.system_announcement {
margin: 5px;
}
div.system_announcement_title {
}
div.system_announcement_content {
margin-left: 20px;
border-left: 1px solid gray;
padding-left: 5px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 972 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 888 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 609 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 852 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 985 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 985 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 945 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

@ -0,0 +1,218 @@
div.text {
margin-left : 6;
margin-right : 6;
margin-top : 5;
margin-bottom : 5;
text-align : justify;
}
span.messagesmall {
font-style : italic;
color : Red;
}
/* newscorm/learnpath */
div.lp_actions {
background:#F8F8F8;
border-bottom:1px solid #999999;
padding:3px;
}
div.lp_actions img {
margin-right:5px;
}
div.lp_small_form {
background:#F8F8F8;
border:1px solid #999999;
padding:10px;
}
div.lp_small_form input {
font-size:10px;
}
div.lp_manipulate {
background:#F8F8F8;
border-bottom:1px dotted #999999;
margin-bottom:0px;
padding:3px 0 3px 10px;
}
div.lp_manipulate a {
padding-right:10px;
}
div.lp_message {
background:#FEC880;
border:1px solid #E28C15;
font-size:12px;
padding:10px;
}
div.lp_resource_header {
cursor: pointer;
background:#F0F0F0;
border:1px solid #999999;
font-weight:bold;
padding:10px;
width:350px;
}
div.lp_resource_header_end {
background:#F0F0F0;
border:1px solid #999999;
font-weight:bold;
padding:10px;
width:350px;
}
div.lp_resource_elements {
background:#FAFAFA;
border:1px solid #999999;
border-bottom:0;
display:none;
padding:5px 10px;
width:350px;
}
div.lp_resource_elements_end {
background:#FAFAFA;
border:1px solid #999999;
border-top: 0px;
display:none;
padding:5px 10px;
width:350px;
}
div.lp_resource_elements div {
padding:3px;
}
div.lp_tree {
height:100%;
padding:3px 10px 3px 0;
overflow-x : auto;
overflow-y : auto;
width:190px;
}
hr {
background:#999999;
border:0;
color:#999999;
height:1px;
margin:10px auto;
width:75%;
}
option.bottom {
border-top:1px solid #999999;
margin-top:2px;
padding-top:2px;
}
option.top {
border-bottom:1px solid #999999;
margin-bottom:2px;
padding-bottom:2px;
}
p.lp_action {
margin:5px 0;
}
p.lp_text {
margin-top:0px;
}
p.lp_title {
font-weight:bold;
margin-top:5px;
padding-left:7px;
}
table.lp_build {
font-size:12px;
height:400px;
width:100%;
}
table.lp_build td {
vertical-align:top;
}
table.lp_build td.tree {
/* border-right:1px solid #999999;*/
padding-right: 5px;
width:205px;
}
table.lp_build td.workspace {
padding: 0px;
padding-left:5px;
width:auto;
}
table.lp_form {
font-size:12px;
margin:0 10px;
width:auto;
}
table.lp_form td {
height:25px;
padding:5px;
vertical-align:top;
width:auto;
}
table.lp_form td.label {
padding-top:7px;
text-align:right;
}
table.lp_form td.radio {
width:300px;
}
table.lp_form td.exercise {
width:50px;
}
table.lp_form th {
background:#F8F8F8;
border-bottom:1px solid #999999;
border-top:1px solid #999999;
}
table.lp_overview th.exercise {
width:50px;
}
table.lp_form input, table.lp_form select, table.lp_form textarea {
/* background:#F8F8F8;
border:1px solid #999999;
font-family:Arial, Verdana, Helvetica, sans-serif;
font-size:12px;
padding:1px 2px;
width:300px;*/
}
table.lp_form td.radio input, table.lp_form td.exercise input {
width:auto;
}
table.lp_form .small_form {
background:#FFFFFF;
}
table.lp_form select {
/* padding:0;*/
}
table.lp_form input.button {
width:75px;
}
table.lp_overview {
font-size:12px;
width:100%;
}
table.lp_overview td {
border-bottom:1px solid #999999;
border-top:1px solid #999999;
height:20px;
padding:3px;
vertical-align:middle;
width:auto;
}
table.lp_overview td.title {
width:200px;
}
table.lp_overview td.actions {
text-align:center;
width:100px;
}
table.lp_overview td.move {
text-align:center;
width:50px;
}
table.lp_overview th {
background:#FFFFFF;
padding-left:3px;
text-align:center;
}
table.lp_overview tr {
background:#F8F8F8;
}
table.lp_overview tr:hover {
background:#E5EDF9;
}
table.lp_overview img {
margin-left:3px;
}

@ -0,0 +1,943 @@
/* Print Style Sheet for Dokeos (in progress ...)
first default style sheet
2004-07-18 by Wolfgang Schneider
(info@ws-webservice.de / webmaster@bibelcenter.de)
updated on 2005-02-25 by Olivier Brouckaert
(oli.brouckaert@dokeos.com)
update on 2005-03-01 by Wolfgang Schneider
update on 2005-05-27 by Patrick Cool
update to print.css on 2005-01-05 by Jeroen Coupe
*/
body {
font-family: arial, verdana, helvetica, sans-serif;
font-size: 12px;
color: #000;
margin: 0;
padding: 0;
background-color: #fff;
}
img {
border: none;
}
#outerframe {
position: relative; /* do not remove, fixes a bug in IE */
border: 1px solid #fff;
background-color: #fff;
}
/* Hides from IE5-mac \*/
* html #outerframe {
height: 1%;
}
/* End hide from IE5-mac */
/*****************************************************
* HEADER STYLES *
*****************************************************/
#my_courses {
background-color: #fff;
color: #009;
}
/*show the institution*/
#header1 {
padding: 2px;
float: right;
}
#my_courses {
display: none;
}
#header2 {
display: none;
}
.subnav {
display: none;
}
/* show the way to the printed document (breadcrumbs)*/
#header4 {
padding: 2px;
border-bottom: 1px solid #4171B5;
}
#header4 a {
color: #4171b5;
}
#toolshortcuts {
display:none;
}
/*****************************************************
* FOOTER STYLES *
*****************************************************/
#footer {
padding: 8px;
border-top: 1px solid #4171B5;
background-color: #E5EDF9;
font-size: 12px;
}
#footer .copyright {
float: right;
}
/*****************************************************
* MAIN STYLES *
*****************************************************/
#main {
position: relative; /* to avoid the IE peekabo bug*/
margin: 0px auto;
margin-top: 10px;
width: 98%;
padding: 0px 10px 10px 10px;
background-color: #fff;
min-height: 320px;
}
/* for content section in main index.php file */
.maincontent {
float: left;
width: 78%;
padding: 4px;
background-color: #fff;
}
/* "menu" doesn't show in printed version*/
.menu {
display: none;
}
#lang_form {
text-align: left;
font-size: 12px;
margin: 2px 0 10px 0;
padding: 2px;
}
#lang_form input, #lang_form select {
font-size: 12px;
}
#formLogin label {
font-size: 12px;
margin: 4px 6px;
}
#formLogin input {
font-size: 13px;
margin: 4px 6px;
}
#login_fail {
margin: 0 6px 6px 6px;
padding: 4px;
border: 1px solid #f00;
background-color: #fff;
font-size: 12px;
color: #f00;
}
/*** layout divs for course and tool pages (being tested in some pages) ****/
#contentfloatholder {/* also makes the right "sliding" tab */
/*background: url(../pics/sidebar-r.gif) repeat-y 100% 0;
background: url(../pics/bg_fountain.jpg) no-repeat 100% 0; */
float: left;
width: 100%;
position: relative;
}
#contentfloatholder:after {
/* this is for NN6 to clear floats */
content: ".";
display: block;
height: 0px;
clear: both;
visibility: hidden;
}
#centerwrap {
float: left;
width: 100%;
margin-right: -95%;/* this needs to be less than 100% for Moz/Mac which thinks
it's empty otherwise. The difference is made up by putting a
negative left margin on the left float:
Note IE/Mac doesn't like this method ~ it wants the 100% so it can
be fed in using IE only CSS below becasue IE/Win also works with the 100% method.
*/
}
/*no navigation options need to be showed in the print version */
#toolnav {
display:none;
}
/* Hide from IE5-mac. Only IE-win sees this. \*/
* html #toolnav {
margin-right: 0px;
}
* html #center {
height: 1%;
margin-left: 0;
}
/* End hide from IE5/mac */
/* various sections in course-home.php file */
#toolremove {
width: 40%;
color: #f00;
font-weight: bold;
margin: 10px auto;
padding: 10px;
border: 2px solid #f00;
}
#courseintro {
clear: both;
width: 80%;
margin: 10px auto;
padding: 10px;
border-bottom: 1px solid #4171B5;
}
#courseintro_icons {
clear: both;
width: 80%;
margin: 10px auto;
}
.everybodyview {
position: relative; /* to avoid the IE peekabo bug ?*/
width: 80%;
margin: 10px auto;
padding: 10px;
}
.courseadminview, .platformadminview {
position: relative;
width: 80%;
margin: 25px auto 10px;
padding: 10px;
border: 1px solid #4171B5;
}
.viewcaption {
position: relative;
top: -20px;
font-size: 12px;
font-weight: bold;
color: #4171B5;
background-color: #fff;
padding: 0 4px;
}
/***********************************/
/* ===================================================
AGENDA STYLES
===================================================*/
/* ---------------------------------------------------
check if these are still used or not
-----------------------------------------------------*/
#agenda {
width: 100%;
margin: 0 auto;
border: 1px solid #4171B5;
border-collapse: collapse;
}
.agenda_month_divider {
background-color: #4171B5;
font-weight: bold;
font-size: 12px;
color: #fff;
text-align: center;
}
#agenda #title a {
color: #fff;
}
#agenda .agendaitem {
font-size: 12px;
}
#smallcalendar .title {
background-color: #4171B5;
font-weight: bold;
padding: 2px;
color: #fff;
text-align: center;
font-size: 11px;
}
#smallcalendar .title a {
color: #fff;
}
/*agenda select not visible on print*/
#agenda_select {
display:none;
}
/* ---------------------------------------------------
styles for the agenda (day, week, month view)
-----------------------------------------------------*/
#agenda_list {
width: 100%;
margin: 0 auto;
border: 1px solid #fff;
border-collapse: collapse;
}
/*The caption of the calendar (displays the month and the << and >> links*/
#agenda_list #title {
background-color: #4171B5;
font-weight: bold;
font-size: 12px;
color: #fff;
text-align: left;
padding: 2px 10px;
text-align: center;
border: 1px solid #264269;
}
#agenda_list #title a:link, #agenda_list #title a:visited {
background-color: #4171B5;
font-weight: bold;
font-size: 12px;
color: #fff;
text-align: left;
padding: 2px 10px;
text-align: center;
}
#agenda_list #title a:hover {
background-color: #4171B5;
font-weight: bold;
font-size: 12px;
color: #ff0000;
text-align: left;
padding: 2px 10px;
text-align: center;
}
/* The cells with the name of the days of the weeks (mon->sun)*/
#agenda_list .weekdays {
background-color: #D3DFF1;
text-align: center;
font-weight: bold;
border: 1px solid #264269;
border-collapse: collapse;
}
/* The cells for the days (1->31) */
#agenda_list .days_week {
height: 40px;
width: 12%;
text-align: left;
vertical-align: top;
border: 1px solid #264269;
border-collapse: collapse;
background-color: #f5f5f5;
}
#agenda_list .days_weekend {
height: 40px;
width: 12%;
text-align: left;
vertical-align: top;
border: 1px solid #264269;
border-collapse: collapse;
background-color: #e6e6e6;
}
#agenda_list .days_today {
height: 40px;
width: 12%;
text-align: left;
vertical-align: top;
border: 1px solid #264269;
border-collapse: collapse;
background-color: #FFCA8D;
color: #CC3300;
font-weight: bold;
}
/* text in the cells: display of agenda items (visible)*/
#agenda_list .data {
background-color: #eee;
text-align: left;
padding: 2px 10px;
font-weight: bold;
border: 0px solid #4171B5;
border-collapse: collapse;
}
#agenda_list .datanotbold {
background-color: #eee;
text-align: left;
padding: 2px 10px;
font-weight: normal;
border: 0px solid #4171B5;
border-collapse: collapse;
}
#agenda_list .text {
background-color: #fff;
text-align: left;
padding: 2px 10px;
font-weight: normal;
border: 0px solid #4171B5;
border-collapse: collapse;
}
/*text in the cells: display of agenda items (invisible)*/
#agenda_list .data_hidden {
background-color: #eee;
text-align: left;
padding: 2px 10px;
font-weight: bold;
border: 0px solid #4171B5;
border-collapse: collapse;
color: #999999;
}
#agenda_list .datanotbold_hidden {
background-color: #eee;
text-align: left;
padding: 2px 10px;
font-weight: normal;
border: 0px solid #4171B5;
border-collapse: collapse;
color: #999999;
}
#agenda_list .text_hidden {
background-color: #fff;
text-align: left;
padding: 2px 10px;
font-weight: normal;
border: 0px solid #4171B5;
border-collapse: collapse;
color: #999999;
}
/*text in the cells: display of agenda items (highlighted)*/
#agenda_list .datanow {
background-color: #FFCC00;
text-align: left;
padding: 2px 10px;
font-weight: bold;
border: 0px solid #4171B5;
border-collapse: collapse;
}
#agenda_list .datanotboldnow {
background-color: #FFCC00;
text-align: left;
padding: 2px 10px;
font-weight: normal;
border: 0px solid #4171B5;
border-collapse: collapse;
}
#agenda_list .textnow {
background-color: #fff;
text-align: left;
padding: 2px 10px;
font-weight: normal;
border: 0px solid #4171B5;
border-collapse: collapse;
}
/* ---------------------------------------------------
styles for the mini agenda
-----------------------------------------------------*/
/* mini agenda invisible in print */
#smallcalendar {
display:none;
}
/*without this the small calendar's space isn't liberated, because the table width is hardcoded in the php*/
#layoutHulp {
display:none;
}
/* ---------------------------------------------------
styles for the personal agenda
-----------------------------------------------------*/
.personal_agenda {
color: #008000;
}
.personal_agenda a:link, .personal_agenda a:visited {
color: #008000;
}
a.personal_agenda:link, a.personal_agenda:visited {
color: #008000;
}
.personal_agenda a:hover, .personal_agenda a:hover {
color: #666666;
}
a.personal_agenda:hover, a.personal_agenda:hover {
color: #666666;
}
/* normal and erro message-box */
.normal-message, .error-message {
position: relative;
margin: 10px auto;
margin-left: -250px;
width: 500px;
left: 50%;
right: 50%;
border-width: 1px;
border-style: solid;
padding: 5px;
}
.normal-message {
border: 1px solid #FF8001;
color: #000;
background-color: #FDC77E;
}
.error-message {
border: 1px solid #3F70AC;
color: #000;
background-color: #FDC273;
}
#message {
margin: 0 auto;
text-align: center;
}
#message select {
margin: 10px 0;
width: 220px;
}
#message textarea {
margin: 10px 0;
}
#message td {
padding: 4px;
}
/* styles from the document.php file */
.comment {
margin-left: 30px;
}
.invisible {
color: #999;
}
.invisible a:link, .invisible a:visited {
color: #999;
}
a.invisible:link, a.invisible:visited {
color: #999;
}
/* styles from the upload.php file */
dl.upload_option {
margin: 1em 0;
padding: 0;
}
.upload_option dt {
font-weight:bold;
margin:0;
}
.upload_option dd {
margin:0;
}
/* styles from dropbox.php file */
.dropbox_detail {
font-size: small
}
.dropbox_date {
font-style: italic
}
.dropbox_person {
font-weight: bold
}
.dropbox_listTitle {
color: #000000;
}
.dropbox_feedback {
font-size: x-small;
height: 50px;
width: 200px;
overflow: auto
}
.dropbox_feedbacks {
height: 250px;
width: 100%;
overflow: auto
}
/* styles for chat / conference tools */
#chat_entermessage {
background-color: #D6E5FA;
border-top: 1px solid #4171B5;
padding: 5px;
margin: 0;
}
/* styles for general formatting */
.clear {
clear: both;
line-height: 0px;
height: 0;
}
p, blockquote, ol, ul {
font-size: 12px;
}
h1 {
font-size: 21px;
}
h2 {
font-size: 18px;
}
h3 {
font-size: 15px;
margin-top:0px;
padding-top:0px;
}
h4 {
font-size: 12px;
}
h5, h6 {
font-family: verdana, arial, helvetica, sans-serif;
}
/* the following for regular <a> elements */
a:link {
text-decoration: none;
font-weight : bold;
color : #4171b5;
}
a:visited {
text-decoration: none;
font-weight : bold;
color : #4171b5;
}
a:active {
text-decoration: none;
font-weight : bold;
color : #f00;
}
input.link_alike {
background-color: #FFFFFF;
border-width: 0px;
color: #4171b5;
font-weight: bold;
text-align: left;
padding: 0px;
margin: 0px;
}
input.link_alike:hover {
background-color: #FFFFFF;
border-width: 0px;
color: #FF0000;
font-weight: bold;
text-align: left;
padding: 0px;
margin: 0px;
}
/* the following for the greyed out elements */
a.nobold:link, a.nobold:visited, a.nobold:active {
font-weight: normal;
color: #999;
margin: 0 0 0 25px;
}
a.nobold:hover {
font-weight: normal;
color: #999;
text-decoration: underline;
margin: 0 0 0 25px;
}
.note {
margin: 6px;
font-size: 12px;
line-height: 14px;
font-family: verdana, arial, helvetica, sans-serif;
background-color: #FFF089;
color: #4171B5;
border: 1px solid #4171B5;
padding: 4px;
}
.alternativeBgLight {
background-color: #f5f5f5;
border: 1px solid #4171B5;
border-collapse: collapse;
}
.alternativeBgDark {
background-color: #ccf;
border: 1px solid #4171B5;
border-collapse: collapse;
}
.myagendatoday {
background-color: #FFCA8D;
border-collapse: collapse;
font-family: verdana, arial, helvetica, sans-serif;
color: #CC3300;
font-weight: bold;
}
/*****************************************************
* FORM STYLES *
*****************************************************/
div.row {
clear: both;
padding-top: 5px;
}
div.row div.form_header {
white-space: nowrap;
padding: 2px;
background-color: #E5EDF9;
border: 1px solid #4271B5;
}
div.row div.label {
display: inline;
float: left;
width: 18%;
text-align: right;
}
div.row div.formw {
display: inline;
width: 80%;
}
[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw {
float: left;
text-align: right;
}
[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw {
float: right;
text-align: left;
}
span.form_required {
color: #f00;
}
span.form_error {
color: #f00;
font-size: x-small;
margin: 2px;
}
/* Form elements - some general styling */
select, textarea {
color : #000;
border: 1px solid #000;
}
input.checkbox {
border-width: 0;
}
input.mainoption {
font-weight : bold;
} /* Main submit button */
input.liteoption {
font-weight : normal;
} /* None-bold submit button */
select, input[type=checkbox], input[type=radio], input[type=button], input[type=submit] {
cursor: pointer;
font-size: 12px;
}
input[text] {
font-size: 12px;
}
/************************************************************
styles below here are not necessarily used in the current
release and the CVS files, they are from earlier versions,
and have been left untouched for anyone needing them in
their own platform ...
*************************************************************/
.topBanner a:link, .topBanner a:active, .topBanner a:visited {
text-decoration:none;
color:white;
}
.topBanner table {
text-decoration:none;
}
.topBanner a:hover {
text-decoration:underline;
}
.topBanner td {
border-top: solid White 1px;
}
.alternativeBgLight {
background-color: #f5f5f5;
}
.alternativeBgDark {
background-color: #e6e6e6
}
.forms {
letter-spacing: normal;
text-align: justify;
text-indent: 3pt;
word-spacing: normal;
padding: 2px 5px;
}
.formsTips {
text-align: justify;
text-indent: 15pt;
word-spacing: normal;
}
/*
input.forms { letter-spacing: normal; text-align: justify; text-indent: 3pt; word-spacing: normal;
padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
*/
.warn {
border: thin double Silver;
margin-left: 15px;
margin-right: 15px;
font-family: serif;
color: Red;
padding-left: 25px;
}
.small {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px
}
.xsmall {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px
}
.xxsmall {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px
}
/*****************************************************
* DATA TABLE STYLES *
*****************************************************/
.cell_header {
background-color: #EEEEFF;
font-weight:bold;
text-align:left;
padding-left:5px;
} /* header cell in data table in tools */
.data_table {
border-collapse: collapse;
width: 100%;
padding: 5px;
}
.data_table th {
/*padding-right: 20px;*/
border: 1px solid gray;
background-color: #E5EDF9;
text-align: left;
}
.data_table tr.row_odd {
background-color: #fafafa;
}
.data_table tr.row_odd:hover, .data_table tr.row_even:hover {
background-color: #f0f0f0;
}
.data_table tr.row_even {
background-color: #fff;
}
.data_table td .highlight {
font-weight: bold;
}
.data_table td {
padding: 5px;
border-bottom: 1px solid #b0b0b0;
border-right: 1px dotted #e1e1e1;
border-left: 1px dotted #e1e1e1;
text-align: left;
}
.data_table_no_border {
border-collapse: collapse;
border-spacing: 0;
font-size: 12px;
margin-bottom: 15px;
margin-top: 8px;
text-align: left;
width: 100%;
}
.data_table_no_border td {
line-height: normal;
padding: 6px;
text-align: left;
vertical-align: middle;
}
.data_table_no_border .highlight {
font-weight: bold;
}
/* admin page tool list definitions */
.tool_list dt {
font-weight: bold;
}
.tool_list dd {
margin: 0;
padding: 4px 0 0 10px;
}
/* divs for category list / platform news on home page */
.home_cats {
width: 45%;
float: left;
position: relative;
margin: 0;
padding: 0px;
padding-top: 8px;
background: #fff;
}
.home_news {
width: 45%;
float: right;
position: relative;
margin: 0;
padding: 0px;
padding-top: 8px;
background: #fff;
}
label.left {
float: left;
width: 15em;
margin: 0 0 0.5em 0;
}
form br {
clear: both;
}
/* Fix for alignment problem in IE-Win browsers */
/* Hide from IE5-mac. Only IE-win sees this. \*/
* html .label {
margin-right: 10px;
}
* html .data {
height: 1%;
margin-left: 0;
}
/* End hide from IE5/mac */
.radio, .checkbox {
margin: 0;
padding: 0;
border: none;
background-color: transparent;
}
.required {
color: #f00;
font-weight: bold;
}
/* Admin section */
div.admin_section {
width: 40%;
float: left;
padding: 5px;
margin: 10px 20px;
}
div.admin_section h4 {
margin: 0;
border-bottom: 1px solid gray;
width: 100%;
}
.user_course_category {
background-color: #efefef;
border: 1px solid #666;
font-weight: bold;
color: #666;
list-style-type: none;
margin: 5px;
padding: 5px;
}
/* Styles for the Dokeos Config Settings of the platform admin section*/
.sectiontitle {
background-color: #EFEFEF;
border: 1px solid #cccccc;
font-weight: bold;
color: #666666;
list-style-type: none;
margin: 5px;
padding: 5px;
font-size: 11px;
}
.sectioncomment {
color: #000000;
margin: 5px;
padding: 5px;
font-size: 11px;
}
.sectionvalue {
list-style-type: none;
margin: 5px;
padding: 5px;
}
/* New Announcements Tool */
.announcements_datum {
font-size: 12px;
font-style: italic;
color: #666666;
}
/* System announcements on homepage */
div.system_announcements {
}
div.system_announcements h3 {
}
div.system_announcement {
margin: 5px;
}
div.system_announcement_title {
}
div.system_announcement_content {
margin-left: 20px;
border-left: 1px solid gray;
padding-left: 5px;
}
/*****************************************************
* special print ccs classes *
*****************************************************/
a.full_url_print:after {
content: "(" attr(href) ")";
font-size: 75%;
}
/* to make it in visible in the printed version*/
.print_invisible {
display:none;
}

@ -0,0 +1,213 @@
.scormpage {
height: 100%;
}
.scormpage .menu {
width: 180px;
float: left;
margin: 1px;
padding: 0px;
margin-top: 0px;
padding-top: 0px;
font-size: small;
}
.lp_toc {
background-color: white;
height: 380px;
width: 99%;
border-right: 1px none;
}
.inner_lp_toc {
overflow: auto;
background-color: white;
height: 210px;
}
.inner_lp_toc .scorm_item a {
font-weight: bold;
font-size: 14px;
margin-right: 1px;
padding-bottom: 2px;
text-decoration: none;
font-family: Helvetica,Arial,sans-serif;
color: #2F3E46;
}
.inner_lp_toc .scorm_item a.chapter_module {
font-weight: normal;
margin-right: 10px;
}
.inner_lp_toc .scorm_item_highlight {
border:1px solid #00516e;
background:#4b88b6;
font-weight:bold;
text-shadow:0 -1px 1px #014d68;
background-image:-webkit-gradient(linear,left top,left bottom,from(#72b0d4),to(#4b88b6));
background-image:-webkit-linear-gradient(top,#72b0d4,#4b88b6);
background-image:-moz-linear-gradient(top,#72b0d4,#4b88b6);
background-image:-ms-linear-gradient(top,#72b0d4,#4b88b6);
background-image:-o-linear-gradient(top,#72b0d4,#4b88b6);
background-image:linear-gradient(top,#72b0d4,#4b88b6);
margin-right: 0px;
padding: 10px 0px 10px 0px;
text-decoration: none;
}
.inner_lp_toc .scorm_item_highlight a {
color:#fff;
margin-right: 1px;
text-decoration: none;
font-weight: bold;
}
.inner_lp_toc .scorm_item_section {
border:1px solid #222;
background:#333;
font-weight:bold;
color:#fff;
text-shadow:0 -1px 1px #000;
background-image:-webkit-gradient(linear,left top,left bottom,from(#555),to(#333));
background-image:-webkit-linear-gradient(top,#555,#333);
background-image:-moz-linear-gradient(top,#555,#333);
background-image:-ms-linear-gradient(top,#555,#333);
background-image:-o-linear-gradient(top,#555,#333);
background-image:linear-gradient(top,#555,#333);
margin-right: 1px;
padding: 10px 0px 10px 0px;
text-decoration: none;
}
.inner_lp_toc .scorm_item {
font-size: 16px;
margin-left: 10px;
margin-right:10px;
text-decoration: none;
border-color: rgba(255, 255, 255, 0.3);
}
.inner_lp_toc .scorm_item_1 {
border-bottom: 1px solid #CCCCCC;
background:#eee;
font-weight:bold;
color:#444;
text-shadow:0 1px 1px #f6f6f6;
background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee));
background-image:-webkit-linear-gradient(top,#fdfdfd,#eee);
background-image:-moz-linear-gradient(top,#fdfdfd,#eee);
background-image:-ms-linear-gradient(top,#fdfdfd,#eee);
background-image:-o-linear-gradient(top,#fdfdfd,#eee);
background-image:linear-gradient(top,#fdfdfd,#eee);
margin-right: 1px;
padding: 10px 0px 10px 0px;
text-decoration: none;
font-weight: normal;
/* background:#FDFDFD; */
}
.inner_lp_toc .scorm_item_2 {
background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee));
background-image:-webkit-linear-gradient(top,#fdfdfd,#eee);
background-image:-moz-linear-gradient(top,#fdfdfd,#eee);
background-image:-ms-linear-gradient(top,#fdfdfd,#eee);
background-image:-o-linear-gradient(top,#fdfdfd,#eee);
background-image:linear-gradient(top,#fdfdfd,#eee);
border-bottom: 1px solid #CCCCCC;
color: #444444;
font-weight: bold;
text-shadow: 0 1px 1px #F6F6F6;
margin-right: 1px;
padding: 10px 0px 10px 0px;
text-decoration: none;
font-weight: normal;
}
.inner_lp_toc .scorm_title {
font-weight: bold;
background:#ccc;
font-size: 14px;
color: #444;
}
.inner_lp_toc .scorm_title_text {
margin-left: 10px;
}
.inner_lp_toc .scorm_status_img {
margin:0px;
margin-left: -10px;
width:10px;
}
.lp_navigation {
overflow: auto;
background-color: white;
height: 44px;
width:180px;
padding-top: 4px;
padding-bottom:0px;
border: none;
margin-top: -18px;
border-top: 1px dotted black;
border-bottom: 1px dotted black;
}
.lp_navigation_elem {
padding-left: 15px;
padding-top: 0px;
}
/*.scormpage .menu */
.lp_navigation_elem .progresstext {
margin-top: -20px;
}
/*.scormpage .menu */
.lp_navigation_elem .buttons {
margin-left: 0px;
margin-right: 0em;
margin-top: 0.4em;
}
.scormpage .menu .notification {
background-color: white;
height: 50px;
}
.scormpage .menu .notification .message {
background-color: white;
height: 50px;
width: 180px;
border: none;
}
.scormpage .content {
/*float: left;
width: 60%;*/
margin-top: 0px;
padding-top: 0px;
padding-left: 180px;
background-color: white;
}
.iframe {
border: 0px solid black;
height: 100%;
width: 95%;
margin: 0px;
padding-right: 0px;
overflow: auto;
vertical-align: top;
}
.scormpage .footer {
clear: both;
}
#image_preview {
padding-left: 17px;
}
#msg_div_id {
padding-left: 17px;
padding-top: 4px;
}
.scorm_title_text {
margin-left: 10px;
font-weight: bold;
background:#eee;
font-size: 16px;
color: #444;
width: 89%;
padding: 1px 5px 3px 8px;
}

@ -0,0 +1,82 @@
.scormpage {
}
.scormpage .menu {
width: 180px;
padding: 0px;
font-size: small;
position: absolute;
background-color: white;
}
.scormpage .menu .lp_nav {
height: 50px;
width: 160px;
padding-top: 4px;
padding-bottom:0px;
/*
margin-left: 10px;
margin-right: 10px;
*/
margin-top: 0px;
}
.lp_navigation_elem {
padding-left: 15px;
padding-top: 0px;
}
/*.scormpage .menu */
.lp_navigation_elem .progresstext {
font-size: smaller;
}
/*.scormpage .menu */
.lp_navigation_elem .buttons {
margin-left: 5px;
margin-right: 0em;
margin-top: 0.4em;
}
#msg_div_id {
padding-left: 10px;
padding-top: 4px;
}
.scormpage .menu .notification {
height: 50px;
margin-left: 15px;
margin-right: 15px;
}
.scormpage .menu .notification .message {
height: 50px;
width: 140px;
border: none;
}
.scormpage .menu .notification .lp_log {
height: 100px;
width: 180px;
border: none;
overflow: auto;
}
.scormpage .content .iframe {
/*
border: none;
height: 700px;
margin: 0px;
padding-right: 0px;
margin-right: 0%;
margin-left: 0%;
*/
/* trying the absolute mode */
position: fixed;
bottom:0;
left:0;
width: 100%;
height: 100%;
}
.scormpage .footer {
clear: both;
}
#image_preview {
padding-left: 17px;
}
#author_name {
padding-left: 5px;
padding-top: 5px;
font-size: 11px;
color:#888;
}

@ -6138,8 +6138,8 @@ class Exercise
}
}
$html .= '<div class="row">';
$html .= '<div class="span2">'.$categoryName.'</div>';
$html .= '<div class="span8">';
$html .= '<div class="span2 exercise_progress_bars_cat">'.$categoryName.'</div>';
$html .= '<div class="span8 exercise_progress_bars_cat_items">';
if (!empty($nextValue)) {
if ($wasMedia) {

@ -715,9 +715,9 @@ class Testcategory
$newCategoryList = array();
foreach ($categoriesAddedInExercise as $category) {
$categoryId = $category['category_id'];
//if (isset($categories[$categoryId])) {
if (isset($categories[$categoryId])) {
$newCategoryList[$categoryId] = $categories[$categoryId];
//}
}
}
return $newCategoryList;
}

@ -83,7 +83,7 @@ class ExerciseLib
$html .= '<div class="media">';
$html .= '<div class="pull-left">';
$html .= '<div class="media-object">';
$html .= Display::div($current_item.'. ', array('class' => 'question_no_title'));
$html .= Display::div($current_item, array('class' => 'question_no_title'));
$html .= '</div>';
$html .= '</div>';
$html .= '<div class="media-body">';

@ -1357,12 +1357,12 @@ $.keyboard = function(el, options){
// *** change keyboard language & look ***
display : {
'a' : '\u2714:Accept (Shift-Enter)', // check mark - same action as accept
'accept' : 'Accept:Accept (Shift-Enter)',
'accept' : 'Aceptar:Accept (Shift-Enter)',
'alt' : 'Alt:\u2325 AltGr', // other alternatives \u2311
'b' : '\u232b:Backspace', // Left arrow (same as &larr;)
'bksp' : 'Bksp:Backspace',
'c' : '\u2716:Cancel (Esc)', // big X, close - same action as cancel
'cancel' : 'Cancel:Cancel (Esc)',
'cancel' : 'Anular:Cancel (Esc)',
'clear' : 'C:Clear', // clear num pad
'combo' : '\u00f6:Toggle Combo Keys',
'dec' : '.:Decimal', // decimal point for num pad (optional), change '.' to ',' for European format
@ -1570,4 +1570,4 @@ $.fn.caret = function(options,opt2) {
}};
}
};
})(jQuery, 'length', 'createRange', 'duplicate');
})(jQuery, 'length', 'createRange', 'duplicate');

@ -502,11 +502,11 @@ class Template
}
if (api_get_setting('use_virtual_keyboard') == 'true') {
$js_files[] = 'keyboard/jquery.keyboard.js';
$js_files[] = $jsFolder.'keyboard/jquery.keyboard.js';
}
if (api_get_setting('disable_copy_paste') == 'true') {
$js_files[] = 'jquery.nocutcopypaste.js';
$js_files[] = $jsFolder.'jquery.nocutcopypaste.js';
}
$js_file_to_string = null;

@ -1515,7 +1515,7 @@ msgid "YouDidNotReachTheMinimumScore"
msgstr "No ha alcanzado el puntaje mínimo."
msgid "EndTest"
msgstr "Terminar ejercicio"
msgstr "Terminar prueba"
msgid "PassPercentage"
msgstr "Porcentaje de éxito"
@ -1631,3 +1631,6 @@ msgstr "Si continua, sus respuestas serán guardadas y no se permitirá ninguna
msgid "SelectAnAnswerToContinue"
msgstr "Seleccione una repuesta para continuar."
msgid "ZeroMeansNoQuestionWillBeSelectedMinusOneMeansThatAllQuestionsWillBeSelected"
msgstr "0 significa que ninguna pregunta se seleccionará, -1 significa que todaa
s las preguntas de esta categoría se seleccionarán"

@ -4169,3 +4169,9 @@ msgstr "Pregunta agregada a la lista de preguntas"
msgid "Bad credentials"
msgstr "Los datos suministrados son incorrectos"
msgid "EnterEmailUserAndWellSendYouPassword"
msgstr "Indique su DNI o correo electrónico y le enviarémos una nueva contraseña"
msgid "LostPass"
msgstr "Olvido de contraseña"

@ -296,7 +296,14 @@ class IndexController extends CommonController
'autofocus' => 'autofocus'
)
);
$form->addElement('password', 'password', get_lang('Pass'), array('class' => 'input-medium '));
$form->addElement(
'password',
'password',
get_lang('Pass'),
array(
'class' => 'input-medium virtualkey'
)
);
$form->addElement('style_submit_button', 'submitAuth', get_lang('LoginEnter'), array('class' => 'btn'));
$html = $form->return_form();
/*if (api_get_setting('openid_authentication') == 'true') {

@ -1,166 +0,0 @@
The Modularization of HTMLDefinition in HTML Purifier
WARNING: This document was drafted before the implementation of this
system, and some implementation details may have evolved over time.
HTML Purifier uses the modularization of XHTML
<http://www.w3.org/TR/xhtml-modularization/> to organize the internals
of HTMLDefinition into a more manageable and extensible fashion. Rather
than have one super-object, HTMLDefinition is split into HTMLModules,
each of which are responsible for defining elements, their attributes,
and other properties (for a more indepth coverage, see
/library/HTMLPurifier/HTMLModule.php's docblock comments). These modules
are managed by HTMLModuleManager.
Modules that we don't support but could support are:
* 5.6. Table Modules
o 5.6.1. Basic Tables Module [?]
* 5.8. Client-side Image Map Module [?]
* 5.9. Server-side Image Map Module [?]
* 5.12. Target Module [?]
* 5.21. Name Identification Module [deprecated]
These modules would be implemented as "unsafe":
* 5.2. Core Modules
o 5.2.1. Structure Module
* 5.3. Applet Module
* 5.5. Forms Modules
o 5.5.1. Basic Forms Module
o 5.5.2. Forms Module
* 5.10. Object Module
* 5.11. Frames Module
* 5.13. Iframe Module
* 5.14. Intrinsic Events Module
* 5.15. Metainformation Module
* 5.16. Scripting Module
* 5.17. Style Sheet Module
* 5.19. Link Module
* 5.20. Base Module
We will not be using W3C's XML Schemas or DTDs directly due to the lack
of robust tools for handling them (the main problem is that all the
current parsers are usually PHP 5 only and solely-validating, not
correcting).
This system may be generalized and ported over for CSS.
== General Use-Case ==
The outwards API of HTMLDefinition has been largely preserved, not
only for backwards-compatibility but also by design. Instead,
HTMLDefinition can be retrieved "raw", in which it loads a structure
that closely resembles the modules of XHTML 1.1. This structure is very
dynamic, making it easy to make cascading changes to global content
sets or remove elements in bulk.
However, once HTML Purifier needs the actual definition, it retrieves
a finalized version of HTMLDefinition. The finalized definition involves
processing the modules into a form that it is optimized for multiple
calls. This final version is immutable and, even if editable, would
be extremely hard to change.
So, some code taking advantage of the XHTML modularization may look
like this:
<?php
$config = HTMLPurifier_Config::createDefault();
$def =& $config->getHTMLDefinition(true); // reference to raw
$def->addElement('marquee', 'Block', 'Flow', 'Common');
$purifier = new HTMLPurifier($config);
$purifier->purify($html); // now the definition is finalized
?>
== Inclusions ==
One of the nice features of HTMLDefinition is that piggy-backing off
of global attribute and content sets is extremely easy to do.
=== Attributes ===
HTMLModule->elements[$element]->attr stores attribute information for the
specific attributes of $element. This is quite close to the final
API that HTML Purifier interfaces with, but there's an important
extra feature: attr may also contain a array with a member index zero.
<?php
HTMLModule->elements[$element]->attr[0] = array('AttrSet');
?>
Rather than map the attribute key 0 to an array (which should be
an AttrDef), it defines a number of attribute collections that should
be merged into this elements attribute array.
Furthermore, the value of an attribute key, attribute value pair need
not be a fully fledged AttrDef object. They can also be a string, which
signifies a AttrDef that is looked up from a centralized registry
AttrTypes. This allows more concise attribute definitions that look
more like W3C's declarations, as well as offering a centralized point
for modifying the behavior of one attribute type. And, of course, the
old method of manually instantiating an AttrDef still works.
=== Attribute Collections ===
Attribute collections are stored and processed in the AttrCollections
object, which is responsible for performing the inclusions signified
by the 0 index. These attribute collections, too, are mutable, by
using HTMLModule->attr_collections. You may add new attributes
to a collection or define an entirely new collection for your module's
use. Inclusions can also be cumulative.
Attribute collections allow us to get rid of so called "global attributes"
(which actually aren't so global).
=== Content Models and ChildDef ===
An implementation of the above-mentioned attributes and attribute
collections was applied to the ChildDef system. HTML Purifier uses
a proprietary system called ChildDef for performance and flexibility
reasons, but this does not line up very well with W3C's notion of
regexps for defining the allowed children of an element.
HTMLPurifier->elements[$element]->content_model and
HTMLPurifier->elements[$element]->content_model_type store information
about the final ChildDef that will be stored in
HTMLPurifier->elements[$element]->child (we use a different variable
because the two forms are sufficiently different).
$content_model is an abstract, string representation of the internal
state of ChildDef, while $content_model_type is a string identifier
of which ChildDef subclass to instantiate. $content_model is processed
by substituting all content set identifiers (capitalized element names)
with their contents. It is then parsed and passed into the appropriate
ChildDef class, as defined by the ContentSets->getChildDef() or the
custom fallback HTMLModule->getChildDef() for custom child definitions
not in the core.
You'll need to use these facilities if you plan on referencing a content
set like "Inline" or "Block", and using them is recommended even if you're
not due to their conciseness.
A few notes on $content_model: it's structure can be as complicated
as you want, but the pipe symbol (|) is reserved for defining possible
choices, due to the content sets implementation. For example, a content
model that looks like:
"Inline -> Block -> a"
...when the Inline content set is defined as "span | b" and the Block
content set is defined as "div | blockquote", will expand into:
"span | b -> div | blockquote -> a"
The custom HTMLModule->getChildDef() function will need to be able to
then feed this information to ChildDef in a usable manner.
=== Content Sets ===
Content sets can be altered using HTMLModule->content_sets, an associative
array of content set names to content set contents. If the content set
already exists, your values are appended on to it (great for, say,
registering the font tag as an inline element), otherwise it is
created. They are substituted into content_model.
vim: et sw=4 sts=4

@ -14,49 +14,7 @@ EXTERNAL: CSSTidy
<p>
Sample usage:
</p>
<pre><![CDATA[
<?php
header('Content-type: text/html; charset=utf-8');
echo '<?xml version="1.0" encoding="UTF-8"?>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Filter.ExtractStyleBlocks</title>
<?php
require_once '/path/to/library/HTMLPurifier.auto.php';
require_once '/path/to/csstidy.class.php';
$dirty = '<style>body {color:#F00;}</style> Some text';
$config = HTMLPurifier_Config::createDefault();
$config->set('Filter', 'ExtractStyleBlocks', true);
$purifier = new HTMLPurifier($config);
$html = $purifier->purify($dirty);
// This implementation writes the stylesheets to the styles/ directory.
// You can also echo the styles inside the document, but it's a bit
// more difficult to make sure they get interpreted properly by
// browsers; try the usual CSS armoring techniques.
$styles = $purifier->context->get('StyleBlocks');
$dir = 'styles/';
if (!is_dir($dir)) mkdir($dir);
$hash = sha1($_GET['html']);
foreach ($styles as $i => $style) {
file_put_contents($name = $dir . $hash . "_$i");
echo '<link rel="stylesheet" type="text/css" href="'.$name.'" />';
}
?>
</head>
<body>
<div>
<?php echo $html; ?>
</div>
</b]]><![CDATA[ody>
</html>
]]></pre>
<pre>Removed because flagged as security risk - refs BT#6582</pre>
<p>
<strong>Warning:</strong> It is possible for a user to mount an
imagecrash attack using this CSS. Counter-measures are difficult;

@ -1,119 +0,0 @@
<?php
require_once 'common.php'; // load library
require_once 'HTMLPurifier/Printer/HTMLDefinition.php';
require_once 'HTMLPurifier/Printer/CSSDefinition.php';
require_once 'HTMLPurifier/Printer/ConfigForm.php';
$config = HTMLPurifier_Config::loadArrayFromForm($_GET, 'config', 'HTML');
// you can do custom configuration!
if (file_exists('printDefinition.settings.php')) {
include 'printDefinition.settings.php';
}
$gen_config = HTMLPurifier_Config::createDefault();
$printer_html_definition = new HTMLPurifier_Printer_HTMLDefinition();
$printer_html_definition->prepareGenerator($gen_config);
$printer_css_definition = new HTMLPurifier_Printer_CSSDefinition();
$printer_css_definition->prepareGenerator($gen_config);
$printer_config_form = new HTMLPurifier_Printer_ConfigForm(
'config',
'http://htmlpurifier.org/live/configdoc/plain.html#%s'
);
echo '<?xml version="1.0" encoding="UTF-8" ?>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>HTML Purifier Printer Smoketest</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
.hp-config {margin-left:auto; margin-right:auto;}
.HTMLPurifier_Printer table {border-collapse:collapse;
border:1px solid #000; width:600px;
margin:1em auto;font-family:sans-serif;font-size:75%;}
.HTMLPurifier_Printer td, .HTMLPurifier_Printer th {padding:3px;
border:1px solid #000;background:#CCC; vertical-align: baseline;}
.HTMLPurifier_Printer th {text-align:left;background:#CCF;width:20%;}
.HTMLPurifier_Printer caption {font-size:1.5em; font-weight:bold;}
.HTMLPurifier_Printer .heavy {background:#99C;text-align:center;}
.HTMLPurifier_Printer .unsafe {background:#C99;}
dt {font-weight:bold;}
</style>
<link rel="stylesheet" href="../library/HTMLPurifier/Printer/ConfigForm.css" type="text/css" />
<script defer="defer" type="text/javascript" src="../library/HTMLPurifier/Printer/ConfigForm.js"></script>
</head>
<body>
<h1>HTML Purifier Printer Smoketest</h1>
<p>HTML Purifier claims to have a robust yet permissive whitelist: this
page will allow you to see precisely what HTML Purifier's internal
whitelist is. You can
also twiddle with the configuration settings to see how a directive
influences the internal workings of the definition objects.</p>
<h2>Modify configuration</h2>
<p>You can specify an array by typing in a comma-separated
list of items, HTML Purifier will take care of the rest (including
transformation into a real array list or a lookup table).</p>
<form method="get" action="" name="hp-configform">
<?php
echo $printer_config_form->render($config, 'HTML');
?>
<p>* Some configuration directives make a distinction between an empty
variable and a null variable. A whitelist, for example, will take an
empty array as meaning <em>no</em> allowed elements, while checking
Null/Disabled will mean that user whitelisting functionality is disabled.</p>
</form>
<h2>Definitions</h2>
<dl>
<dt>Parent of Fragment</dt>
<dd>HTML that HTML Purifier does not live in a void: when it's
output, it has to be placed in another element by means of
something like <code>&lt;element&gt; &lt;?php echo $html
?&gt; &lt;/element&gt;</code>. The parent in this example
is <code>element</code>.</dd>
<dt>Strict mode</dt>
<dd>Whether or not HTML Purifier's output is Transitional or
Strict compliant. Non-strict mode still actually a little strict
and converts many deprecated elements.</dd>
<dt>#PCDATA</dt>
<dd>Literally <strong>Parsed Character Data</strong>, it is regular
text. Tags like <code>ul</code> don't allow text in them, so
#PCDATA is missing.</dd>
<dt>Tag transform</dt>
<dd>A tag transform will change one tag to another. Example: <code>font</code>
turns into a <code>span</code> tag with appropriate CSS.</dd>
<dt>Attr Transform</dt>
<dd>An attribute transform changes a group of attributes based on one
another. Currently, only <code>lang</code> and <code>xml:lang</code>
use this hook, to synchronize each other's values. Pre/Post indicates
whether or not the transform is done before/after validation.</dd>
<dt>Excludes</dt>
<dd>Tags that an element excludes are excluded for all descendants of
that element, and not just the children of them.</dd>
<dt>Name(Param1, Param2)</dt>
<dd>Represents an internal data-structure. You'll have to check out
the corresponding classes in HTML Purifier to find out more.</dd>
</dl>
<h2>HTMLDefinition</h2>
<?php echo $printer_html_definition->render($config) ?>
<h2>CSSDefinition</h2>
<?php echo $printer_css_definition->render($config) ?>
</body>
</html>
<?php
// vim: et sw=4 sts=4

@ -1,44 +0,0 @@
<?php
/*
Example1 : A simple line chart
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->ImportFromCSV("Sample/bulkdata.csv",",",array(1,2,3),FALSE,0);
$DataSet->AddAllSeries();
$DataSet->SetAbsciseLabelSerie();
$DataSet->SetSerieName("January","Serie1");
$DataSet->SetSerieName("February","Serie2");
$DataSet->SetSerieName("March","Serie3");
$DataSet->SetYAxisName("Average age");
$DataSet->SetYAxisUnit("µs");
// Initialise the graph
$Test = new pChart(700,230);
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(70,30,680,200);
$Test->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);
$Test->drawRoundedRectangle(5,5,695,225,5,230,230,230);
$Test->drawGraphArea(255,255,255,TRUE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_NORMAL,150,150,150,TRUE,0,2);
$Test->drawGrid(4,TRUE,230,230,230,50);
// Draw the 0 line
$Test->setFontProperties("Fonts/tahoma.ttf",6);
$Test->drawTreshold(0,143,55,72,TRUE,TRUE);
// Draw the line graph
$Test->drawLineGraph($DataSet->GetData(),$DataSet->GetDataDescription());
$Test->drawPlotGraph($DataSet->GetData(),$DataSet->GetDataDescription(),3,2,255,255,255);
// Finish the graph
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(75,35,$DataSet->GetDataDescription(),255,255,255);
$Test->setFontProperties("Fonts/tahoma.ttf",10);
$Test->drawTitle(60,22,"example 1",50,50,50,585);
$Test->Render("example1.png");

@ -1,33 +0,0 @@
<?php
/*
Example10 : A 3D exploded pie graph
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(10,2,3,5,3),"Serie1");
$DataSet->AddPoint(array("January","February","March","April","May"),"Serie2");
$DataSet->AddAllSeries();
$DataSet->SetAbsciseLabelSerie("Serie2");
// Initialise the graph
$Test = new pChart(420,250);
$Test->drawFilledRoundedRectangle(7,7,413,243,5,240,240,240);
$Test->drawRoundedRectangle(5,5,415,245,5,230,230,230);
$Test->createColorGradientPalette(195,204,56,223,110,41,5);
// Draw the pie chart
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->AntialiasQuality = 0;
$Test->drawPieGraph($DataSet->GetData(),$DataSet->GetDataDescription(),180,130,110,PIE_PERCENTAGE_LABEL,FALSE,50,20,5);
$Test->drawPieLegend(330,15,$DataSet->GetData(),$DataSet->GetDataDescription(),250,250,250);
// Write the title
$Test->setFontProperties("Fonts/MankSans.ttf",10);
$Test->drawTitle(10,20,"Sales per month",100,100,100);
$Test->Render("example10.png");

@ -1,49 +0,0 @@
<?php
/*
Example11 : Using the pCache class
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
include("src/pCache.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(1,4,3,2,3,3,2,1,0,7,4,3,2,3,3,5,1,0,7),"Serie1");
$DataSet->AddPoint(array(1,4,2,6,2,3,0,1,5,1,2,4,5,2,1,0,6,4,2),"Serie2");
$DataSet->AddAllSeries();
$DataSet->SetAbsciseLabelSerie();
$DataSet->SetSerieName("January","Serie1");
$DataSet->SetSerieName("February","Serie2");
// Cache definition
$Cache = new pCache();
$Cache->GetFromCache("Graph1",$DataSet->GetData());
// Initialise the graph
$Test = new pChart(700,230);
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(50,30,585,200);
$Test->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);
$Test->drawRoundedRectangle(5,5,695,225,5,230,230,230);
$Test->drawGraphArea(255,255,255,TRUE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_NORMAL,150,150,150,TRUE,0,2);
$Test->drawGrid(4,TRUE,230,230,230,50);
// Draw the 0 line
$Test->setFontProperties("Fonts/tahoma.ttf",6);
$Test->drawTreshold(0,143,55,72,TRUE,TRUE);
// Draw the cubic curve graph
$Test->drawCubicCurve($DataSet->GetData(),$DataSet->GetDataDescription());
// Finish the graph
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(600,30,$DataSet->GetDataDescription(),255,255,255);
$Test->setFontProperties("Fonts/tahoma.ttf",10);
$Test->drawTitle(50,22,"Example 1",50,50,50,585);
// Render the graph
$Cache->WriteToCache("Graph1",$DataSet->GetData(),$Test);
$Test->Render("example1.png");

@ -1,44 +0,0 @@
<?php
/*
Example12 : A true bar graph
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(1,4,-3,2,-3,3,2,1,0,7,4),"Serie1");
$DataSet->AddPoint(array(3,3,-4,1,-2,2,1,0,-1,6,3),"Serie2");
$DataSet->AddPoint(array(4,1,2,-1,-4,-2,3,2,1,2,2),"Serie3");
$DataSet->AddAllSeries();
$DataSet->SetAbsciseLabelSerie();
$DataSet->SetSerieName("January","Serie1");
$DataSet->SetSerieName("February","Serie2");
$DataSet->SetSerieName("March","Serie3");
// Initialise the graph
$Test = new pChart(700,230);
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(50,30,680,200);
$Test->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);
$Test->drawRoundedRectangle(5,5,695,225,5,230,230,230);
$Test->drawGraphArea(255,255,255,TRUE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_NORMAL,150,150,150,TRUE,0,2,TRUE);
$Test->drawGrid(4,TRUE,230,230,230,50);
// Draw the 0 line
$Test->setFontProperties("Fonts/tahoma.ttf",6);
$Test->drawTreshold(0,143,55,72,TRUE,TRUE);
// Draw the bar graph
$Test->drawBarGraph($DataSet->GetData(),$DataSet->GetDataDescription(),TRUE,80);
// Finish the graph
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(596,150,$DataSet->GetDataDescription(),255,255,255);
$Test->setFontProperties("Fonts/tahoma.ttf",10);
$Test->drawTitle(50,22,"Example 12",50,50,50,585);
$Test->Render("example12.png");

@ -1,31 +0,0 @@
<?php
/*
Example13: A 2D exploded pie graph
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(10,2,3,5,3),"Serie1");
$DataSet->AddPoint(array("Jan","Feb","Mar","Apr","May"),"Serie2");
$DataSet->AddAllSeries();
$DataSet->SetAbsciseLabelSerie("Serie2");
// Initialise the graph
$Test = new pChart(300,200);
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawFilledRoundedRectangle(7,7,293,193,5,240,240,240);
$Test->drawRoundedRectangle(5,5,295,195,5,230,230,230);
// Draw the pie chart
$Test->AntialiasQuality = 0;
$Test->setShadowProperties(2,2,200,200,200);
$Test->drawFlatPieGraphWithShadow($DataSet->GetData(),$DataSet->GetDataDescription(),120,100,60,PIE_PERCENTAGE,8);
$Test->clearShadow();
$Test->drawPieLegend(230,15,$DataSet->GetData(),$DataSet->GetDataDescription(),250,250,250);
$Test->Render("example13.png");

@ -1,32 +0,0 @@
<?php
/*
Example14: A smooth flat pie graph
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(10,2,3,5,3),"Serie1");
$DataSet->AddPoint(array("Jan","Feb","Mar","Apr","May"),"Serie2");
$DataSet->AddAllSeries();
$DataSet->SetAbsciseLabelSerie("Serie2");
// Initialise the graph
$Test = new pChart(300,200);
$Test->loadColorPalette("Sample/softtones.txt");
$Test->drawFilledRoundedRectangle(7,7,293,193,5,240,240,240);
$Test->drawRoundedRectangle(5,5,295,195,5,230,230,230);
// This will draw a shadow under the pie chart
$Test->drawFilledCircle(122,102,70,200,200,200);
// Draw the pie chart
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->AntialiasQuality = 0;
$Test->drawBasicPieGraph($DataSet->GetData(),$DataSet->GetDataDescription(),120,100,70,PIE_PERCENTAGE,255,255,218);
$Test->drawPieLegend(230,15,$DataSet->GetData(),$DataSet->GetDataDescription(),250,250,250);
$Test->Render("example14.png");

@ -1,67 +0,0 @@
<?php
/*
Example15 : Playing with line style & pictures inclusion
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(10,9.4,7.7,5,1.7,-1.7,-5,-7.7,-9.4,-10,-9.4,-7.7,-5,-1.8,1.7),"Serie1");
$DataSet->AddPoint(array(0,3.4,6.4,8.7,9.8,9.8,8.7,6.4,3.4,0,-3.4,-6.4,-8.6,-9.8,-9.9),"Serie2");
$DataSet->AddPoint(array(7.1,9.1,10,9.7,8.2,5.7,2.6,-0.9,-4.2,-7.1,-9.1,-10,-9.7,-8.2,-5.8),"Serie3");
$DataSet->AddPoint(array("Jan","Jan","Jan","Feb","Feb","Feb","Mar","Mar","Mar","Apr","Apr","Apr","May","May","May"),"Serie4");
$DataSet->AddAllSeries();
$DataSet->SetAbsciseLabelSerie("Serie4");
$DataSet->SetSerieName("Max Average","Serie1");
$DataSet->SetSerieName("Min Average","Serie2");
$DataSet->SetSerieName("Temperature","Serie3");
$DataSet->SetYAxisName("Temperature");
$DataSet->SetXAxisName("Month of the year");
// Initialise the graph
$Test = new pChart(700,230);
$Test->reportWarnings("GD");
$Test->setFixedScale(-12,12,5);
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(65,30,570,185);
$Test->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);
$Test->drawRoundedRectangle(5,5,695,225,5,230,230,230);
$Test->drawGraphArea(255,255,255,TRUE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_NORMAL,150,150,150,TRUE,0,2,TRUE,3);
$Test->drawGrid(4,TRUE,230,230,230,50);
// Draw the 0 line
$Test->setFontProperties("Fonts/tahoma.ttf",6);
$Test->drawTreshold(0,143,55,72,TRUE,TRUE);
// Draw the area
$DataSet->RemoveSerie("Serie4");
$Test->drawArea($DataSet->GetData(),"Serie1","Serie2",239,238,227,50);
$DataSet->RemoveSerie("Serie3");
$Test->drawLineGraph($DataSet->GetData(),$DataSet->GetDataDescription());
// Draw the line graph
$Test->setLineStyle(1,6);
$DataSet->RemoveAllSeries();
$DataSet->AddSerie("Serie3");
$Test->drawLineGraph($DataSet->GetData(),$DataSet->GetDataDescription());
$Test->drawPlotGraph($DataSet->GetData(),$DataSet->GetDataDescription(),3,2,255,255,255);
// Write values on Serie3
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->writeValues($DataSet->GetData(),$DataSet->GetDataDescription(),"Serie3");
// Finish the graph
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(590,90,$DataSet->GetDataDescription(),255,255,255);
$Test->setFontProperties("Fonts/tahoma.ttf",10);
$Test->drawTitle(60,22,"example 15",50,50,50,585);
// Add an image
$Test->drawFromPNG("Sample/logo.png",584,35);
// Render the chart
$Test->Render("example15.png");

@ -1,41 +0,0 @@
<?php
/*
Example16 : Importing CSV data
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->ImportFromCSV("Sample/CO2.csv",",",array(1,2,3,4),TRUE,0);
$DataSet->AddAllSeries();
$DataSet->SetAbsciseLabelSerie();
$DataSet->SetYAxisName("CO2 concentrations");
// Initialise the graph
$Test = new pChart(700,230);
$Test->reportWarnings("GD");
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(60,30,680,180);
$Test->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);
$Test->drawRoundedRectangle(5,5,695,225,5,230,230,230);
$Test->drawGraphArea(255,255,255,TRUE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_NORMAL,150,150,150,TRUE,90,2);
$Test->drawGrid(4,TRUE,230,230,230,50);
// Draw the 0 line
$Test->setFontProperties("Fonts/tahoma.ttf",6);
$Test->drawTreshold(0,143,55,72,TRUE,TRUE);
// Draw the line graph
$Test->drawLineGraph($DataSet->GetData(),$DataSet->GetDataDescription());
$Test->drawPlotGraph($DataSet->GetData(),$DataSet->GetDataDescription(),3,2,255,255,255);
// Finish the graph
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(70,40,$DataSet->GetDataDescription(),255,255,255);
$Test->setFontProperties("Fonts/tahoma.ttf",10);
$Test->drawTitle(60,22,"CO2 concentrations at Mauna Loa",50,50,50,585);
$Test->Render("example16.png");

@ -1,47 +0,0 @@
<?php
/*
Example17 : Playing with axis
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(100,320,200,10,43),"Serie1");
$DataSet->AddPoint(array(23,432,43,153,234),"Serie2");
$DataSet->AddPoint(array(1217541600,1217628000,1217714400,1217800800,1217887200),"Serie3");
$DataSet->AddSerie("Serie1");
$DataSet->AddSerie("Serie2");
$DataSet->SetAbsciseLabelSerie("Serie3");
$DataSet->SetSerieName("Incoming","Serie1");
$DataSet->SetSerieName("Outgoing","Serie2");
$DataSet->SetYAxisName("Call duration");
$DataSet->SetYAxisFormat("time");
$DataSet->SetXAxisFormat("date");
// Initialise the graph
$Test = new pChart(700,230);
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(85,30,650,200);
$Test->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);
$Test->drawRoundedRectangle(5,5,695,225,5,230,230,230);
$Test->drawGraphArea(255,255,255,TRUE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_NORMAL,150,150,150,TRUE,0,2);
$Test->drawGrid(4,TRUE,230,230,230,50);
// Draw the 0 line
$Test->setFontProperties("Fonts/tahoma.ttf",6);
$Test->drawTreshold(0,143,55,72,TRUE,TRUE);
// Draw the line graph
$Test->drawLineGraph($DataSet->GetData(),$DataSet->GetDataDescription());
$Test->drawPlotGraph($DataSet->GetData(),$DataSet->GetDataDescription(),3,2,255,255,255);
// Finish the graph
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(90,35,$DataSet->GetDataDescription(),255,255,255);
$Test->setFontProperties("Fonts/tahoma.ttf",10);
$Test->drawTitle(60,22,"example 17",50,50,50,585);
$Test->Render("example17.png");

@ -1,54 +0,0 @@
<?php
/*
Example18 : Missing values
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(2,5,7,"","",5,6,4,8,4,"",2,5,6,4,5,6,7,6),"Serie1");
$DataSet->AddPoint(array(-1,-3,-1,-2,-4,-1,"",-4,-5,-3,-2,-2,-3,-3,-5,-4,-3,-1,""),"Serie2");
$DataSet->AddAllSeries();
$DataSet->SetAbsciseLabelSerie();
$DataSet->SetSerieName("Raw #1","Serie1");
$DataSet->SetSerieName("Raw #2","Serie2");
$DataSet->SetYAxisName("Response time");
$DataSet->SetXAxisName("Sample #ID");
//print_r($DataSet->GetData());
// Initialise the graph
$Test = new pChart(700,230);
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(55,30,585,185);
$Test->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);
$Test->drawRoundedRectangle(5,5,695,225,5,230,230,230);
$Test->drawGraphArea(255,255,255,TRUE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_NORMAL,150,150,150,TRUE,0,2,TRUE);
$Test->drawGrid(4,TRUE,230,230,230,50);
// Draw the 0 line
$Test->setFontProperties("Fonts/tahoma.ttf",6);
$Test->drawTreshold(0,143,55,72,TRUE,TRUE);
// Draw the line graph
$DataSet->RemoveSerie("Serie2");
$Test->drawFilledLineGraph($DataSet->GetData(),$DataSet->GetDataDescription(),60,TRUE);
// Draw the curve graph
$DataSet->RemoveSerie("Serie1");
$DataSet->AddSerie("Serie2");
$Test->setShadowProperties(2,2,200,200,200,50);
$Test->drawCubicCurve($DataSet->GetData(),$DataSet->GetDataDescription());
$Test->drawPlotGraph($DataSet->GetData(),$DataSet->GetDataDescription(),3,2,255,255,255);
$Test->clearShadow();
// Finish the graph
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(600,30,$DataSet->GetDataDescription(),255,255,255);
$Test->setFontProperties("Fonts/tahoma.ttf",10);
$Test->drawTitle(50,22,"Example 18",50,50,50,585);
$Test->Render("example18.png");

@ -1,43 +0,0 @@
<?php
/*
Example19 : Error reporting
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(10,4,3,2,3,3,2,1,0,7,4,3,2,3,3,5,1,0,7),"Serie1");
$DataSet->AddPoint(array(1,4,2,6,2,3,0,1,-5,1,2,4,5,2,1,0,6,4,30),"Serie2");
$DataSet->AddAllSeries();
$DataSet->SetAbsciseLabelSerie();
$DataSet->SetXAxisName("Samples");
$DataSet->SetYAxisName("Temperature");
$DataSet->SetSerieName("January","Serie1");
// Initialise the graph
$Test = new pChart(700,230);
$Test->reportWarnings("GD");
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(60,30,585,185);
$Test->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);
$Test->drawRoundedRectangle(5,5,695,225,5,230,230,230);
$Test->drawGraphArea(255,255,255,TRUE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_NORMAL,150,150,150,TRUE,0,2);
$Test->drawGrid(4,TRUE,230,230,230,50);
// Draw the 0 line
$Test->setFontProperties("Fonts/tahoma.ttf",6);
$Test->drawTreshold(0,143,55,72,TRUE,TRUE);
// Draw the cubic curve graph
$Test->drawCubicCurve($DataSet->GetData(),$DataSet->GetDataDescription());
// Finish the graph
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(600,30,$DataSet->GetDataDescription(),255,255,255);
$Test->setFontProperties("Fonts/tahoma.ttf",10);
$Test->drawTitle(50,22,"Example 19",50,50,50,585);
$Test->Render("example19.png");

@ -1,42 +0,0 @@
<?php
/*
Example2 : A cubic curve graph
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(1,4,3,4,3,3,2,1,0,7,4,3,2,3,3,5,1,0,7),"Serie1");
$DataSet->AddPoint(array(1,4,2,6,2,3,0,1,5,1,2,4,5,2,1,0,6,4,2),"Serie2");
$DataSet->AddAllSeries();
$DataSet->SetAbsciseLabelSerie();
$DataSet->SetSerieName("January","Serie1");
$DataSet->SetSerieName("February","Serie2");
// Initialise the graph
$Test = new pChart(700,230);
$Test->setFixedScale(-2,8);
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(50,30,585,200);
$Test->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);
$Test->drawRoundedRectangle(5,5,695,225,5,230,230,230);
$Test->drawGraphArea(255,255,255,TRUE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_NORMAL,150,150,150,TRUE,0,2);
$Test->drawGrid(4,TRUE,230,230,230,50);
// Draw the 0 line
$Test->setFontProperties("Fonts/tahoma.ttf",6);
$Test->drawTreshold(0,143,55,72,TRUE,TRUE);
// Draw the cubic curve graph
$Test->drawCubicCurve($DataSet->GetData(),$DataSet->GetDataDescription());
// Finish the graph
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(600,30,$DataSet->GetDataDescription(),255,255,255);
$Test->setFontProperties("Fonts/tahoma.ttf",10);
$Test->drawTitle(50,22,"Example 2",50,50,50,585);
$Test->Render("example2.png");

@ -1,43 +0,0 @@
<?php
/*
Example20 : A stacked bar graph
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(1,4,-3,2,-3,3,2,1,0,7,4),"Serie1");
$DataSet->AddPoint(array(3,3,-4,1,-2,2,1,0,-1,6,3),"Serie2");
$DataSet->AddPoint(array(4,1,2,-1,-4,-2,3,2,1,2,2),"Serie3");
$DataSet->AddAllSeries();
$DataSet->SetAbsciseLabelSerie();
$DataSet->SetSerieName("January","Serie1");
$DataSet->SetSerieName("February","Serie2");
$DataSet->SetSerieName("March","Serie3");
// Initialise the graph
$Test = new pChart(700,230);
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(50,30,680,200);
$Test->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);
$Test->drawRoundedRectangle(5,5,695,225,5,230,230,230);
$Test->drawGraphArea(255,255,255,TRUE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_ADDALL,150,150,150,TRUE,0,2,TRUE);
$Test->drawGrid(4,TRUE,230,230,230,50);
// Draw the 0 line
$Test->setFontProperties("Fonts/tahoma.ttf",6);
$Test->drawTreshold(0,143,55,72,TRUE,TRUE);
// Draw the bar graph
$Test->drawStackedBarGraph($DataSet->GetData(),$DataSet->GetDataDescription(),100);
// Finish the graph
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(596,150,$DataSet->GetDataDescription(),255,255,255);
$Test->setFontProperties("Fonts/tahoma.ttf",10);
$Test->drawTitle(50,22,"Example 20",50,50,50,585);
$Test->Render("example20.png");

@ -1,52 +0,0 @@
<?php
/*
Example21 : Playing with background
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(9,9,9,10,10,11,12,14,16,17,18,18,19,19,18,15,12,10,9),"Serie1");
$DataSet->AddPoint(array(10,11,11,12,12,13,14,15,17,19,22,24,23,23,22,20,18,16,14),"Serie2");
$DataSet->AddPoint(array(4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22),"Serie3");
$DataSet->AddAllSeries();
$DataSet->RemoveSerie("Serie3");
$DataSet->SetAbsciseLabelSerie("Serie3");
$DataSet->SetSerieName("January","Serie1");
$DataSet->SetSerieName("February","Serie2");
$DataSet->SetYAxisName("Temperature");
$DataSet->SetYAxisUnit("∞C");
$DataSet->SetXAxisUnit("h");
// Initialise the graph
$Test = new pChart(700,230);
$Test->drawGraphAreaGradient(132,153,172,50,TARGET_BACKGROUND);
// Graph area setup
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(60,20,585,180);
$Test->drawGraphArea(213,217,221,FALSE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_NORMAL,213,217,221,TRUE,0,2);
$Test->drawGraphAreaGradient(162,183,202,50);
$Test->drawGrid(4,TRUE,230,230,230,20);
// Draw the line chart
$Test->setShadowProperties(3,3,0,0,0,30,4);
$Test->drawLineGraph($DataSet->GetData(),$DataSet->GetDataDescription());
$Test->clearShadow();
$Test->drawPlotGraph($DataSet->GetData(),$DataSet->GetDataDescription(),4,2,-1,-1,-1,TRUE);
// Draw the legend
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(605,142,$DataSet->GetDataDescription(),236,238,240,52,58,82);
// Draw the title
$Title = "Average Temperatures during the first months of 2008 ";
$Test->drawTextBox(0,210,700,230,$Title,0,255,255,255,ALIGN_RIGHT,TRUE,0,0,0,30);
// Render the picture
$Test->addBorder(2);
$Test->Render("example21.png");

@ -1,49 +0,0 @@
<?php
/*
Example22 : Customizing plot graphs
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(60,70,90,110,100,90),"Serie1");
$DataSet->AddPoint(array(40,50,60,80,70,60),"Serie2");
$DataSet->AddPoint(array("Jan","Feb","Mar","Apr","May","Jun"),"Serie3");
$DataSet->AddSerie("Serie1");
$DataSet->AddSerie("Serie2");
$DataSet->SetAbsciseLabelSerie("Serie3");
$DataSet->SetSerieName("Company A","Serie1");
$DataSet->SetSerieName("Company B","Serie2");
$DataSet->SetYAxisName("Product sales");
$DataSet->SetYAxisUnit("k");
$DataSet->SetSerieSymbol("Serie1","Sample/Point_Asterisk.gif");
$DataSet->SetSerieSymbol("Serie2","Sample/Point_Cd.gif");
// Initialise the graph
$Test = new pChart(700,230);
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(65,30,650,200);
$Test->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);
$Test->drawRoundedRectangle(5,5,695,225,5,230,230,230);
$Test->drawGraphArea(255,255,255,TRUE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_NORMAL,150,150,150,TRUE,0,2,TRUE);
$Test->drawGrid(4,TRUE,230,230,230,50);
// Draw the title
$Test->setFontProperties("Fonts/pf_arma_five.ttf",6);
$Title = "Comparative product sales for company A & B ";
$Test->drawTextBox(65,30,650,45,$Title,0,255,255,255,ALIGN_RIGHT,TRUE,0,0,0,30);
// Draw the line graph
$Test->drawLineGraph($DataSet->GetData(),$DataSet->GetDataDescription());
$Test->drawPlotGraph($DataSet->GetData(),$DataSet->GetDataDescription(),3,2,255,255,255);
// Draw the legend
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(80,60,$DataSet->GetDataDescription(),255,255,255);
// Render the chart
$Test->Render("example22.png");

@ -1,48 +0,0 @@
<?php
/*
Example23 : Playing with background bis
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
$DataSet->AddPoint(array(9,9,9,10,10,11,12,14,16,17,18,18,19,19,18,15,12,10,9),"Serie1");
$DataSet->AddPoint(array(10,11,11,12,12,13,14,15,17,19,22,24,23,23,22,20,18,16,14),"Serie2");
$DataSet->AddPoint(array(4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22),"Serie3");
$DataSet->AddAllSeries();
$DataSet->RemoveSerie("Serie3");
$DataSet->SetAbsciseLabelSerie("Serie3");
$DataSet->SetSerieName("January","Serie1");
$DataSet->SetSerieName("February","Serie2");
$DataSet->SetYAxisName("Temperature");
$DataSet->SetYAxisUnit("∞C");
$DataSet->SetXAxisUnit("h");
// Initialise the graph
$Test = new pChart(700,230);
$Test->drawGraphAreaGradient(132,173,131,50,TARGET_BACKGROUND);
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(120,20,675,190);
$Test->drawGraphArea(213,217,221,FALSE);
$Test->drawScale($DataSet->GetData(),$DataSet->GetDataDescription(),SCALE_ADDALL,213,217,221,TRUE,0,2,TRUE);
$Test->drawGraphAreaGradient(163,203,167,50);
$Test->drawGrid(4,TRUE,230,230,230,20);
// Draw the bar chart
$Test->drawStackedBarGraph($DataSet->GetData(),$DataSet->GetDataDescription(),70);
// Draw the title
$Title = " Average Temperatures during\r\n the first months of 2008 ";
$Test->drawTextBox(0,0,50,230,$Title,90,255,255,255,ALIGN_BOTTOM_CENTER,TRUE,0,0,0,30);
// Draw the legend
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->drawLegend(610,10,$DataSet->GetDataDescription(),236,238,240,52,58,82);
// Render the picture
$Test->addBorder(2);
$Test->Render("example23.png");

@ -1,52 +0,0 @@
<?php
/*
Example24 : X versus Y chart
*/
// Standard inclusions
include("src/pData.php");
include("src/pChart.php");
// Dataset definition
$DataSet = new pData;
// Compute the points
for($i=0;$i<=360;$i=$i+10)
{
$DataSet->AddPoint(cos($i*3.14/180)*80+$i,"Serie1");
$DataSet->AddPoint(sin($i*3.14/180)*80+$i,"Serie2");
}
$DataSet->SetSerieName("Trigonometric function","Serie1");
$DataSet->AddSerie("Serie1");
$DataSet->AddSerie("Serie2");
$DataSet->SetXAxisName("X Axis");
$DataSet->SetYAxisName("Y Axis");
// Initialise the graph
$Test = new pChart(300,300);
$Test->drawGraphAreaGradient(0,0,0,-100,TARGET_BACKGROUND);
// Prepare the graph area
$Test->setFontProperties("Fonts/tahoma.ttf",8);
$Test->setGraphArea(55,30,270,230);
$Test->drawXYScale($DataSet->GetData(),$DataSet->GetDataDescription(),"Serie1","Serie2",213,217,221,TRUE,45);
$Test->drawGraphArea(213,217,221,FALSE);
$Test->drawGraphAreaGradient(30,30,30,-50);
$Test->drawGrid(4,TRUE,230,230,230,20);
// Draw the chart
$Test->setShadowProperties(2,2,0,0,0,60,4);
$Test->drawXYGraph($DataSet->GetData(),$DataSet->GetDataDescription(),"Serie1","Serie2",0);
$Test->clearShadow();
// Draw the title
$Title = "Drawing X versus Y charts trigonometric functions ";
$Test->drawTextBox(0,280,300,300,$Title,0,255,255,255,ALIGN_RIGHT,TRUE,0,0,0,30);
// Draw the legend
$Test->setFontProperties("Fonts/pf_arma_five.ttf",6);
$DataSet->RemoveSerie("Serie2");
$Test->drawLegend(160,5,$DataSet->GetDataDescription(),0,0,0,0,0,0,255,255,255,FALSE);
$Test->Render("example24.png");

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save