Skip to content

Commit

Permalink
Version 8.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
openSISAdmin committed Aug 12, 2021
1 parent c9d5126 commit 0a2d61f
Show file tree
Hide file tree
Showing 127 changed files with 27,853 additions and 6,340 deletions.
4 changes: 2 additions & 2 deletions Ajax.php
Expand Up @@ -122,7 +122,7 @@
'students/GoalReport.php',
'students/EnrollmentReport.php',
// For Scheduling
'scheduling/Schedule.php',
// 'scheduling/Schedule.php',
'scheduling/ViewSchedule.php',
'scheduling/Requests.php',
// 'scheduling/MassSchedule.php',
Expand Down Expand Up @@ -156,7 +156,7 @@
// For Students
'students/Student.php',
// For Scheduling
'scheduling/Schedule.php',
// 'scheduling/Schedule.php',
'scheduling/ViewSchedule.php',
'scheduling/Requests.php',
// For Grades
Expand Down
6 changes: 5 additions & 1 deletion ForgotPass.php
Expand Up @@ -34,6 +34,7 @@
include("functions/ProperDateFnc.php");
require_once("functions/PragRepFnc.php");
include("lang/language.php");
include("functions/langFnc.php");


function DateInputAY($value, $name, $counter = 1, $placeholder = _enterDate) {
Expand Down Expand Up @@ -278,9 +279,12 @@ function db_show_error($sql, $failnote, $additional = '') {
}

$log_msg = DBGet(DBQuery("SELECT MESSAGE FROM login_message WHERE DISPLAY='Y'"));

$dir = '';
if(langDirection()=='rtl') { $dir="rtl"; }else{ $dir="ltr"; }
?>
<!DOCTYPE html>
<html lang="en">
<html lang="en" dir="<?php echo $dir; ?>">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down
4 changes: 2 additions & 2 deletions Modules.php
Expand Up @@ -106,7 +106,7 @@
echo '<link href="assets/css/core.css?v=' . rand(0000, 99999) . '" rel="stylesheet" type="text/css">';
echo '<link href="assets/js/plugins/pickers/bootstrap-datepicker/css/bootstrap-datepicker.css?v=' . rand(0000, 99999) . '" rel="stylesheet" type="text/css">';
echo '<link href="assets/js/plugins/pickers/clockpicker/bootstrap-clockpicker.min.css" rel="stylesheet" type="text/css">';
echo '<link href="assets/css/components.css?v=1.1" rel="stylesheet" type="text/css">';
echo '<link href="assets/css/components.css?v=1.2" rel="stylesheet" type="text/css">';
echo '<link href="assets/css/colors.css?v=' . rand(0000, 99999) . '" rel="stylesheet" type="text/css">';
echo '<link href="assets/css/custom.css?v=' . rand(0000, 99999) . '" rel="stylesheet" type="text/css">';
echo '<link href="assets/css/extras/css-checkbox-switch.css?v=' . rand(0000, 99999) . '" rel="stylesheet" type="text/css">';
Expand Down Expand Up @@ -146,7 +146,7 @@
echo '<script type="text/javascript" src="assets/js/pages/form_select2.js"></script>';
echo '<script type="text/javascript" src="assets/js/pages/picker_date.js"></script>';
echo '<script type="text/javascript" src="assets/js/pages/form_checkboxes_radios.js"></script>';
echo '<script type="text/javascript" src="js/custom.js?v=' . rand(0000, 99999) . '"></script>';
echo '<script type="text/javascript" src="js/Custom.js?v=' . rand(0000, 99999) . '"></script>';
echo '<script type="text/javascript">
$(function () {
$(\'#loading-image\').hide();
Expand Down
34 changes: 34 additions & 0 deletions RedirectModulesInc.php
@@ -0,0 +1,34 @@
<?php
#**************************************************************************
# openSIS is a free student information system for public and non-public
# schools from Open Solutions for Education, Inc. web: www.os4ed.com
#
# openSIS is web-based, open source, and comes packed with features that
# include student demographic info, scheduling, grade book, attendance,
# report cards, eligibility, transcripts, parent portal,
# student portal and more.
#
# Visit the openSIS web site at http://www.opensis.com to learn more.
# If you have question regarding this system or the license, please send
# an email to info@os4ed.com.
#
# This program is released under the terms of the GNU General Public License as
# published by the Free Software Foundation, version 2 of the License.
# See license.txt.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#***************************************************************************************
session_start();
if((!$_SESSION['STAFF_ID'] || !$_SESSION['STUDENT_ID']) && strpos($_SERVER['PHP_SELF'],'index.php')===false)
{
header('Location: ../../index.php');
exit;
}
?>
2 changes: 1 addition & 1 deletion Warehouse.php
Expand Up @@ -65,7 +65,7 @@ function Warehouse($mode, $extra = '') {

switch ($mode) {
case 'header':
echo "<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\">";
echo "<!DOCTYPE html><html lang=\"en\" ".((langDirection()=='rtl')?'dir="rtl"':'dir="ltr')."><head><meta charset=\"utf-8\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\">";
echo "<title>" . Config('TITLE') . "</title><link rel=\"shortcut icon\" href=\"favicon.ico\">";
//echo '<link href="assets/css/export_print.css" rel="stylesheet" type="text/css">';

Expand Down
111 changes: 99 additions & 12 deletions assets/css/components.css
Expand Up @@ -137,21 +137,40 @@ a.badge,
-o-transition: -webkit-transform ease-in-out 0.15s;
transition: -webkit-transform ease-in-out 0.15s;
}
.navbar-right:dir(rtl) {
html[dir="rtl"] .navbar-right {
float: left !important;
}
.navbar-header:dir(rtl) {
html[dir="rtl"] .navbar-header {
float: right;
}
.navbar-nav > li:dir(rtl) {
html[dir="rtl"] .navbar-nav > li {
float: right;
}
.navbar-brand:dir(rtl) {
html[dir="rtl"] .navbar-brand {
float: right;
}
.navbar-text.pull-right:dir(rtl) {
html[dir="rtl"] .navbar-text.pull-right {
float: left !important;
}

@media (min-width: 1025px) {
/* COmmon RTL Styles */
html[dir="rtl"] .col-md-1,
html[dir="rtl"] .col-md-2,
html[dir="rtl"] .col-md-3,
html[dir="rtl"] .col-md-4,
html[dir="rtl"] .col-md-5,
html[dir="rtl"] .col-md-6,
html[dir="rtl"] .col-md-7,
html[dir="rtl"] .col-md-8,
html[dir="rtl"] .col-md-9,
html[dir="rtl"] .col-md-10,
html[dir="rtl"] .col-md-11,
html[dir="rtl"] .col-md-1 {
float: right;
}
}

/* ------------------------------------------------------------------------------
*
* # Sidebar layouts
Expand All @@ -177,14 +196,13 @@ a.badge,
.sidebar {
display: block;
float: left;
vertical-align: top;
width: 280px;
padding-right: 20px;
}
.sidebar:dir(rtl) {
float: right;
padding-left: 20px;
padding-right: 0;
html[dir="rtl"] .sidebar {
float: right !important;
padding-left: 20px !important;
padding-right: 0 !important;
}
}
.sidebar-main {
Expand Down Expand Up @@ -413,6 +431,11 @@ a.badge,
-o-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out;
}
html[dir="rtl"] .navigation li a > i {
float: right;
margin-right: 0;
margin-left: 15px;
}
.navigation li a > i.pull-right {
margin-right: 0;
margin-left: 15px;
Expand All @@ -431,6 +454,12 @@ a.badge,
padding-right: 36px;
z-index: 2;
}
html[dir="rtl"] .navigation li > .has-ul {
position: relative;
padding-left: 36px;
padding-right: 20px;
z-index: 2;
}
.navigation li > .has-ul:after {
content: "\e9c7";
font-family: "icomoon";
Expand All @@ -451,6 +480,19 @@ a.badge,
-o-transition: -webkit-transform 0.2s ease-in-out;
transition: -webkit-transform 0.2s ease-in-out;
}
html[dir="rtl"] .navigation li > .has-ul:after {
right: auto;
left: 20px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
-webkit-transition: -webkit-transform 0.2s ease-in-out;
-o-transition: -webkit-transform 0.2s ease-in-out;
transition: -webkit-transform 0.2s ease-in-out;
}
.navigation li.active > .has-ul:after {
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
Expand Down Expand Up @@ -825,6 +867,11 @@ a.badge,
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
html[dir="rtl"] .sidebar-xs .sidebar-main .navigation > li > a > span {
right: auto;
left: -260px;
text-align: right;
}
.sidebar-xs .sidebar-main .navigation > li > a > span .label,
.sidebar-xs .sidebar-main .navigation > li > a > span .badge {
background-color: transparent;
Expand Down Expand Up @@ -878,6 +925,10 @@ a.badge,
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
z-index: 2;
}
html[dir="rtl"] .sidebar-xs .sidebar-main .navigation > li > ul {
left: -260px;
right: auto;
}
.sidebar-xs .sidebar-main .navigation > li > ul > li > a {
padding-left: 20px;
padding-right: 20px;
Expand Down Expand Up @@ -1183,7 +1234,7 @@ a.badge,
width: calc(100% - 280px);
float: right;
}
.content-wrapper:dir(rtl) {
html[dir="rtl"] .content-wrapper {
float: left;
}
.sidebar-xs .content-wrapper {
Expand Down Expand Up @@ -2799,6 +2850,10 @@ label.checkbox-switch.checkbox-inline {
white-space: nowrap;
text-align: right;
}
html[dir="rtl"] .select2-selection--single .select2-selection__rendered{
padding-left: 16px;
padding-right: 0;
}
.select2-selection--single .select2-selection__rendered > i {
margin-right: 16px;
}
Expand Down Expand Up @@ -2842,6 +2897,10 @@ label.checkbox-switch.checkbox-inline {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html[dir="rtl"] .select2-selection--single .select2-selection__arrow:after {
left: 0;
right: auto;
}
.select2-container--open .select2-selection--single .select2-selection__arrow:after {
content: '\e9c6';
}
Expand Down Expand Up @@ -17061,16 +17120,40 @@ thead .htCollapseButton:after {
.dataTables_paginate .paginate_button:first-child {
margin-left: 0;
}
.opensis-dataTable .dataTables_paginate .paginate_button:hover,
.opensis-dataTable .dataTables_paginate .paginate_button:focus {
background-color: #f5f5f5;
color: #333333 !important;
}
.opensis-dataTable .dataTables_paginate .paginate_button:active{
background: #f5f5f5;
color: #333333 !important;
box-shadow: none;
}
.opensis-dataTable .dataTables_filter > label:after{
color: #2196F3;
right: 1px;
font-size: 13px;
}
.opensis-dataTable .dataTables_filter input:focus{
border-bottom-color: #2196F3;
box-shadow: 0 1px 0 #2196F3;
}
.dataTables_paginate .paginate_button:hover,
.dataTables_paginate .paginate_button:focus {
background-color: #f5f5f5;
}
.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:hover,
.dataTables_paginate .paginate_button.current:focus {
color: #fff;
color: #ffffff;
background-color: #5090C1;
}
.opensis-dataTable .dataTables_paginate .paginate_button.current:active{
color: #ffffff;
background: #5090C1;
box-shadow: none;
}
.dataTables_paginate .paginate_button.disabled,
.dataTables_paginate .paginate_button.disabled:hover,
.dataTables_paginate .paginate_button.disabled:focus {
Expand Down Expand Up @@ -19270,6 +19353,10 @@ thead .htCollapseButton:after {
height: 38px;
margin-top: -19px;
}
html[dir="rtl"] .heading-elements {
left: 0;
right: auto;
}
@media (max-width: 768px) {
.heading-elements {
position: relative;
Expand Down
28 changes: 26 additions & 2 deletions assets/css/core.css
Expand Up @@ -1276,6 +1276,9 @@ fieldset[disabled] .form-control {
box-shadow: none;
text-align: left;
}
html[dir="rtl"] .form-control[readonly] {
text-align: right;
}
.form-control-unstyled {
padding: 0;
border: 0;
Expand Down Expand Up @@ -1624,6 +1627,9 @@ select[multiple].input-xs {
overflow-wrap: break-word;
font-size: 13px;
}
html[dir="rtl"] .form-horizontal .control-label {
text-align: left;
}
@media (min-width: 1025px) {
.help-inline {
display: inline-block;
Expand Down Expand Up @@ -2743,6 +2749,11 @@ select[multiple].input-group-xs > .input-group-btn > .btn {
.input-group-addon {
padding-left: 0;
}

html[dir="rtl"] .input-group-addon {
padding-left: 16px;
}

.input-group-addon:last-child {
padding-right: 0;
}
Expand Down Expand Up @@ -3702,7 +3713,13 @@ select[multiple].input-group-xs > .input-group-btn > .btn {
.navbar-collapse {
text-align: left;
margin-left: -20px;
width: calc(100% + 40px);
/* width: calc(100% + 40px); */
}
html[dir="rtl"] .navbar-collapse {
text-align: unset;
margin-left: 0;
padding-left: 0;
width: 100%;
}
}
.navbar-fixed-bottom,
Expand Down Expand Up @@ -3950,6 +3967,10 @@ select[multiple].input-group-xs > .input-group-btn > .btn {
.navbar-nav {
margin-left: 20px;
}
html[dir="rtl"] .navbar-nav {
margin-left: 0;
margin-right: 20px;
}
}
.navbar-form {
padding: 15px 20px;
Expand Down Expand Up @@ -5059,7 +5080,7 @@ ul.dropdown-menu .dropdown-content-heading:first-child {
float: left;
margin-right: 0;
}
.breadcrumb-line .breadcrumb:dir(rtl) {
html[dir="rtl"] .breadcrumb-line .breadcrumb {
float: right;
}
}
Expand Down Expand Up @@ -6093,6 +6114,9 @@ a.thumbnail.active {
-webkit-box-shadow: none;
box-shadow: none;
}
html[dir="rtl"] .progress-bar {
float: right;
}
.progress-rounded,
.progress-rounded > .progress-bar {
border-radius: 100px;
Expand Down

0 comments on commit 0a2d61f

Please sign in to comment.