#26 EXPERIMENTAL support for right-to-left text direction

merge-requests/2/head
Mike Koch 10 years ago
parent 820276c402
commit 19fb152ba5

@ -72,7 +72,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
echo '
<div class="panel panel-default">
<div class="panel-heading">
<h4>'.$hesklang['open_tickets'].' <span style="float: right; margin-top: -7px;"><a href="new_ticket.php" class="btn btn-success">'.$hesklang['nti'].'</a></span></h4>
<h4>'.$hesklang['open_tickets'].' <span class="nu-floatRight" style="margin-top: -7px;"><a href="new_ticket.php" class="btn btn-success">'.$hesklang['nti'].'</a></span></h4>
</div>'; // The rest of the panel will be printed by print_tickets.inc.php
}

@ -103,7 +103,7 @@ if ( defined('HESK_DEMO') )
<div class="panel-heading"><?php echo $hesklang['check_status']; ?></div>
<div class="panel-body">
<table>
<tr><td style="text-align: right">
<tr><td class="text-right">
<?php echo $hesklang['v']; ?>:
</td>
<td style="padding-left: 10px">
@ -141,20 +141,20 @@ if ( defined('HESK_DEMO') )
?>
</td></tr>
<tr>
<td style="text-align: right">
<td class="text-right">
<?php echo $hesklang['nuModsVersion']; ?>:
</td>
<td style="padding-left: 10px">
<?php echo $nuMods_settings['version']; ?>
</td>
</tr>
<tr><td style="text-align: right">
<tr><td class="text-right">
<?php echo $hesklang['phpv']; ?>:
</td><td style="padding-left: 10px">
<?php echo defined('HESK_DEMO') ? $hesklang['hdemo'] : PHP_VERSION . ' ' . (function_exists('mysqli_connect') ? '(MySQLi)' : '(MySQL)'); ?>
</td></tr>
<tr>
<td style="text-align: right">
<td class="text-right">
/hesk_settings.inc.php
</td>
<td style="padding-left: 10px">
@ -169,7 +169,7 @@ if ( defined('HESK_DEMO') )
</td>
</tr>
<tr>
<td style="text-align: right">
<td class="text-right">
/<?php echo $hesk_settings['attach_dir']; ?>
</td>
<td style="padding-left: 10px">
@ -1515,11 +1515,11 @@ if ( defined('HESK_DEMO') )
</div>
<table border="0" width="100%">
<tr>
<td style="text-align:right" width="200"></td>
<td class="text-right" width="200"></td>
<td></td>
</tr>
<tr>
<td style="text-align:right" width="200">&nbsp;</td>
<td class="text-right" width="200">&nbsp;</td>
<td></td>
</tr>
</table>
@ -1632,7 +1632,7 @@ if ( defined('HESK_DEMO') )
</div>
<table border="0" width="100%">
<tr>
<td style="text-align:right;vertical-align:top" width="200"></td>
<td class="text-right" style="vertical-align:top" width="200"></td>
<td></td>
</tr>
</table>
@ -2052,7 +2052,7 @@ function hesk_cacheLatestVersion($latest)
function hesk_testLanguage($return_options = 0)
{
global $hesk_settings, $hesklang;
global $hesk_settings, $hesklang, $nuMods_settings;
/* Get a list of valid emails */
include_once(HESK_PATH . 'inc/email_functions.inc.php');
@ -2209,7 +2209,7 @@ function hesk_testLanguage($return_options = 0)
background:#fff;
color: black;
font : 68.8%/1.5 Verdana, Geneva, Arial, Helvetica, sans-serif;
text-align:left;
text-align: <?php if ($nuMods_settings['rtl']) { echo 'right'; } else { echo 'left'; } ?>;
}
p

@ -973,7 +973,7 @@ function hesk_getAdminButtonsInTicket($reply=0,$white=1)
{
global $hesk_settings, $hesklang, $ticket, $reply, $trackingID, $can_edit, $can_archive, $can_delete;
$options = '<div class="btn-group" style="width: 70%; text-align: right; margin-left: auto; margin-right: auto">';
$options = '<div class="btn-group text-right" style="width: 70%; margin-left: auto; margin-right: auto">';
/* Style and mousover/mousout */
$tmp = $white ? 'White' : 'Blue';
@ -1156,7 +1156,7 @@ function hesk_printReplyForm() {
?>
<!-- START REPLY FORM -->
<h3 style="text-align: left"><?php echo $hesklang['add_reply']; ?></h3>
<h3 class="text-left"><?php echo $hesklang['add_reply']; ?></h3>
<div class="footerWithBorder"></div>
<div class="blankSpace"></div>
@ -1182,7 +1182,7 @@ function hesk_printReplyForm() {
<div class="col-sm-6">
<input type="text" class="form-control" name="time_worked" id="time_worked" size="10" value="<?php echo ( isset($_SESSION['time_worked']) ? hesk_getTime($_SESSION['time_worked']) : '00:00:00'); ?>" />
</div>
<div class="col-sm-3" style="text-align: right">
<div class="col-sm-3 text-right">
<input type="button" class="btn btn-success" onclick="ss()" id="startb" value="<?php echo $hesklang['start']; ?>" />
<input type="button" class="btn btn-danger" onclick="r()" value="<?php echo $hesklang['reset']; ?>" />
</div>

@ -407,11 +407,6 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
<p style="text-align:center"></p>
<p>&nbsp;</p>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();

@ -455,7 +455,7 @@ function show_message()
</tr>
</table>
</td>
<td style="text-align:right; vertical-align:top;">
<td class="text-right" style="vertical-align:top;">
<?php
$folder = '&amp;folder=outbox';

@ -288,7 +288,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
<div class="form-group">
<div class="col-sm-12" style="text-align: right">
<div class="col-sm-12 text-right">
<input type="hidden" name="a" value="new" />
<input type="hidden" name="token" value="<?php hesk_token_echo(); ?>" />
<input type="submit" class="btn btn-default" value="<?php echo $hesklang['create_user']; ?>" />

@ -0,0 +1 @@
1410138724|2.5.5

File diff suppressed because one or more lines are too long

@ -18,6 +18,14 @@
$questionMarkColor = $nuMods_settings['questionMarkColor'];
?>
.nu-rtlFloatLeft {
/* Don't do anything; the pager looks good already */
}
.nu-floatRight {
float: right;
}
.tabPadding {
padding: 10px;
}

@ -0,0 +1,346 @@
<?php
header("Content-type: text/css; charset: UTF-8");
require_once('../nuMods_settings.inc.php');
$navbarBackgroundColor = $nuMods_settings['navbarBackgroundColor'];
$navbarBrandColor = $nuMods_settings['navbarBrandColor'];
$navbarBrandHoverColor = $nuMods_settings['navbarBrandHoverColor'];
$navbarItemTextColor = $nuMods_settings['navbarItemTextColor'];
$navbarItemTextHoverColor = $nuMods_settings['navbarItemTextHoverColor'];
$navbarItemTextSelectedColor = $nuMods_settings['navbarItemTextSelectedColor'];
$navbarItemSelectedBackgroundColor = $nuMods_settings['navbarItemSelectedBackgroundColor'];
$dropdownItemTextColor = $nuMods_settings['dropdownItemTextColor'];
$dropdownItemTextHoverColor = $nuMods_settings['dropdownItemTextHoverColor'];
$dropdownItemTextHoverBackgroundColor = $nuMods_settings['dropdownItemTextHoverBackgroundColor'];
$questionMarkColor = $nuMods_settings['questionMarkColor'];
?>
.nu-rtlFloatLeft {
float: left;
}
.nu-floatRight {
float: left;
}
.tabPadding {
padding: 10px;
}
@media (max-width:991px) {
.close-ticket {
text-align: right;
}
}
@media (min-width:992px) {
.close-ticket {
text-align: left;
}
}
@media (max-width:991px) {
.ticket-cell {
border-bottom: solid 1px #ddd;
border-left: 0;
padding-top: 5px;
}
}
@media (max-width:991px) {
.ticket-cell-admin {
border-bottom: solid 1px #ddd;
border-left: 0;
padding-top: 5px;
height: 125px;
}
}
@media (min-width:992px) {
.ticket-cell {
border-bottom: 0;
border-left: solid 1px #ddd;
margin-top: 1px;
height: 90px;
padding-top: 10px;
}
}
@media (min-width:992px) {
.ticket-cell-admin {
border-bottom: 0;
border-left: solid 1px #ddd;
margin-top: 1px;
height: 125px;
padding-top: 10px;
}
}
.row {
margin-right: 0px;
margin-left: 0px;
}
.navbar {
margin-bottom: 0;
}
.navbar-default {
background-color: <?php echo $navbarBackgroundColor; ?>;
background-image: none;
filter: none;
}
.navbar-default .navbar-brand {
color: <?php echo $navbarBrandColor; ?>;
}
.navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover {
color: <?php echo $navbarBrandHoverColor; ?>;
background-color: transparent;
}
.navbar-default .navbar-nav>li>a {
color: <?php echo $navbarItemTextColor; ?>;
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
color: <?php echo $navbarItemTextHoverColor; ?>;
background-color: transparent;
}
.dropdown-menu>li>a {
color: <?php echo $dropdownItemTextColor; ?>;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
color: <?php echo $dropdownItemTextHoverColor; ?>;
text-decoration: none;
background-color: <?php echo $dropdownItemTextHoverBackgroundColor; ?>;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
color: <?php echo $navbarItemTextSelectedColor; ?>;
background-color: <?php echo $navbarItemSelectedBackgroundColor; ?>;
}
.settingsquestionmark {
color: <?php echo $questionMarkColor; ?>;
font-size: 14px;
}
.settingsquestionmark:hover {
text-decoration: underline;
}
.h3questionmark {
color: <?php echo $questionMarkColor; ?>;
font-size: 14px;
}
.h3questionmark:hover {
text-decoration: underline;
}
.form-signin {
max-width: 330px;
padding: 15px;
margin: 0 auto;
}
.loginError {
width: 40%;
padding: 20px;
margin-right: auto;
margin-left: auto;
}
.kbContent {
padding-top: 10px;
text-align: right;
}
.withBorder {
border-bottom: 1px solid #ddd;
}
.ticketMessageContainer {
background-color: #ededef;
border: 1px solid #ddd;
margin-bottom: 20px;
}
.ticketName {
font-size: 20px;
font-weight: 300;
color: #000;
margin-top: 5px;
}
.ticketEmail {
font-size: 14px;
color: #888;
}
.ticketMessageTop {
padding-top: 10px;
padding-right: 10px;
padding-left: 10px;
margin-left: -15px;
color: #888;
background-color: #fff;
}
.pushMargin {
margin-top: -10px;
margin-bottom: -10px;
}
.pushMarginLeft {
margin-right: -15px;
margin-left: -15px;
padding-left: 0;
}
.ticketMessageBottom {
padding-right: 10px;
padding-left: 10px;
margin-left: -15px;
word-wrap: break-word;
font-size: 15px;
background-color: #fff;
}
.ticketMessageBottom > p.message {
margin-bottom: 0px;
}
.ticketMessage {
margin-right: 238px;
background: #fff;
height: 100%;
position: relative;
}
.ticketPropertyTitle {
color: rgba(255, 255, 255, .75);
font-size: 11px;
text-transform: uppercase;
}
.ticketPropertyText {
font-size: 16px;
line-height: 1em;
color: #fff;
}
.criticalPriority {
background-color: red;
}
.highPriority {
background-color: #ff6a00;
}
.medLowPriority {
background-color: #8BB467;
}
div.blankSpace {
padding-top: 20px;
}
div.footerWithBorder {
border-top: 1px solid #cfd4d6;
}
.blockRow > a:hover {
text-decoration: none;
}
.block {
height: 114px;
width: 114px;
display: inline-block;
border: 1px solid #c9cfd7;
background-color: #fff;
border-radius: 4px;
font-size: .83em;
margin-left: 5px;
vertical-align: top;
}
.block > .upper {
height:57px;
padding-top:10px;
}
.block > .upper > img {
padding-top:5px;
padding-bottom:5px;
padding-right:41px;
}
.block > .lower {
height:57px;
text-align:center;
}
.block > .lower > p:hover {
text-decoration: underline;
}
div.block:hover {
background-color: #e9ecef;
}
div.rightSideDash {
padding-right: 18px;
padding-left: 18px;
}
div.enclosing {
background-color: #fff;
color: #4a5571;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
width: 100%}
div.headersm {
width: 100%;
color: #fff;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: right;
background-color: #424b5c;
background-repeat: repeat-x;
padding: 12px 20px 8px;
margin: 0;
font-weight: 700;
padding-right: 20px;
}
div.installWarning {
width: 70%;
height: 52px;
margin-top: 10px;
margin-right: auto;
margin-left: auto;
}
div.setupContainer {
margin: 50px;
text-align: center;
}
div.setupLogo {
vertical-align: middle;
border: 0;
margin-top: -2px;
}
div.setupButtons {
text-decoration: none;
border: 4px solid #eee;
background: #fff;
border-radius: 5px;
color: #61718c;
-webkit-box-shadow: rgba(0, 0, 0, .1)0 0 3px;
-moz-box-shadow: rgba(0, 0, 0, .1)0 0 3px;
text-align: center;
margin: 20px 0;
padding: 10px 0;
}
.agreementBox {
position: relative;
background-color: #fff;
overflow: auto;
padding: 20px;
display: block;
height: 206px;
box-shadow: inset 0 0 4px #bbb, inset 0 0 20px #eee;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.summaryList {
border-style: solid;
border-width: 1px;
border-color: #ddd;
border-top-color: transparent;
}
.installRequirements {
margin-right: auto;
margin-left: auto;
width: 90%;
}

@ -0,0 +1,745 @@
body {
background-color: #f3fef4;
color: black;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
margin-right:0;
margin-left:0;
margin-top:0;
margin-bottom:0;
}
table.enclosing {
background-color:#FFFFFF;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
width: 770px;
}
td {
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: right;
}
a img {
vertical-align: bottom;
border : none;
}
td.white {
background-color: #FFFFFF;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
td.admin_white {
background-color: #FFFFFF;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
border: #d1dceb 1px solid;
padding: 1px;
}
td.admin_gray {
background-color: #f5fffa;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
border: #d1dceb 1px solid;
padding: 1px;
}
td.notes {
background-color: #fffbf2;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
border: #ffe6b8 1px solid;
}
th.tDetailsHead {
background-color: #F7F7F7;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
text-align: center;
}
td.tDetailsBody {
background-color: #FFFFFF;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
border: #F7F7F7 1px solid;
text-align: center;
}
.small {
font-size: 11px;
}
.smaller {
font-size: 10px;
}
a {
color : Blue;
text-decoration : underline;
}
a:hover {
color : Red;
text-decoration : none;
}
table.white {
background-color: #ffffff ;
color : #23559C;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
border-collapse: collapse;
}
table.white th {
background-color: #ffffff;
color : #23559C;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
border: #b2babd 1px solid;
border-collapse: collapse;
background-image: url(img/tableheader.jpg);
background-repeat: no-repeat;
background-position: right top;
}
table.white th a {
color : #23559C;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
}
table.white td {
height: 25px;
padding-right: 5px;
}
.noborder {
border: none;
}
h3 {
color : #74804e;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
margin: 0px;
}
.important {
color: Red;
}
.medium {
color: #FF9900;
}
input {
font-size: 12px;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
color:#000000;
}
input.button {
font-size: 12px;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
color:#000000;
background-color:#FFFFFF;
}
select {
font-size: 12px;
height: 20px;
}
header a img {border: none; text-decoration: none !important;}
.open {color : #FF0000;}
.waitingreply {color : #FF9933;}
.replied {color : #0000FF;}
.resolved {color : #008000;}
.allbutresolved {color : #000000;}
.success {color : #008000;}
.error {color : #FF0000;}
.notice {color : #FF9900}
#ok {
border: 1px solid #679800;
}
#error {
border: 1px solid #ba3225;
}
.rate {
color: #666666;
text-align: left;
font-style: italic;
}
a.article {
color : Black;
text-decoration: none;
font-size: 11px;
}
a.article:hover {
color : Red;
text-decoration : none;
}
.article_list {
font-size: 11px;
}
fieldset {
margin-bottom: 6px;
border: 1px SOLID #267DDC;
padding: 4px;
background-color:white;
position:relative;
display:block;
padding: 0px 10px 10px 10px;
margin:20px 0px 20px 0px;
}
legend {
background-image: url(img/bluebtn.png);
background-repeat: no-repeat;
color: #172901;
border: 1px solid #267DDC;
height: 10px;
font-size: 10px;
font-weight:bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
display:block;
width: auto;
padding:4px 5px;
margin:0px 0px 10px 0px;
position:relative;
top: -12px;
width:130px;
}
/*newly introduced styles (version 2.0)*/
.header {
width: 100%;
background-color: #74a62b;
color : #ffffff;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: center;
background-image: url(img/header.png);
background-repeat: repeat-x;
height: 57px;
padding: 0px;
margin: 0px;
}
.header td {
text-align: center;
vertical-align: middle;
color:#FFFFFF;
}
.header a, .header a:link, .header a:active, .header a:visited {
color : #ffffff;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: center;
}
.header a:hover {}
.headersm {
width: 100%;
background-color: #669933;
color : #ffffff;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: right;
background-image: url(img/headerbgsm.jpg);
background-repeat: repeat-x;
height: 25px;
padding: 0px;
margin: 0px;
font-weight:bold;
padding-right: 20px;
}
hr {
border: none;
border-bottom: 1px dotted #adbac3;
width: 100%;
padding-top: 10px;
margin-bottom: 10px;
height: 1px;
}
.greenbutton {
background-image: url(img/greenbtn.jpg);
background-repeat: no-repeat;
text-align: center;
color: #FFFFFF;
border: 1px solid #527234;
font-size: 10px;
font-weight:bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
height: 19px;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
margin-left: 2px
}
.greenbuttonover {
background-image: url(img/greenbtnover.gif);
background-repeat: no-repeat;
text-align: center;
color: #FFFFFF;
border: 1px solid #527234;
font-size: 10px;
font-weight:bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
height: 19px;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
margin-left: 2px
}
.orangebutton {
background-image: url(img/orangebtn.jpg);
background-repeat: no-repeat;
text-align: center;
color: #660000;
border: 1px solid #bf6628;
height: 20px;
font-size: 10px;
font-weight:bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
margin-left: 2px;
text-decoration: none;
margin-top: 0px;
}
.orangebuttonover {
background-image: url(img/orangebtnover.gif);
background-repeat: no-repeat;
text-align: center;
color: #660000;
border: 1px solid #bf6628;
height: 20px;
font-size: 10px;
font-weight:bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
margin-left: 2px;
text-decoration: none;
margin-top: 0px;
}
.bluebutton {
background-image: url(img/bluebtn.png);
background-repeat: no-repeat;
text-align: center;
color: #660000;
border: 1px solid #5b79a3;
height: 20px;
font-size: 10px;
font-weight:bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
text-decoration: none;
margin-left: 2px;
padding-top: 2px;
}
/*styles for roundcorners tables*/
.roundcornersleft {
width: 7px;
background-image: url(img/roundcornerslm.jpg);
background-repeat: repeat-y;
background-position: right;
}
.roundcornersright {
width: 7px;
background-image: url(img/roundcornersrm.jpg);
background-repeat: repeat-y;
background-position: left;
}
.roundcornerstop {
height: 7px;
background-image: url(img/roundcornerst.jpg);
background-repeat: repeat-x;
background-position: top;
}
.roundcornersbottom {
height: 7px;
background-image: url(img/roundcornersb.jpg);
background-repeat: repeat-x;
background-position: bottom;
}
.ticketrow {
background-color: #f5fffa;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
border: #748aaf 1px dotted;
padding: 6px;
}
.ticketalt {
background-color: #ffffff;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
padding: 6px;
}
.tickettd {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
.subheaderrow {
background-color: #ffffff;
color : #23559C;
border: #23559C solid 1px;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
border-collapse: collapse;
background-image: url(img/tableheader.jpg);
background-repeat: no-repeat;
background-position: right top;
height: 25px;
padding-right: 20px;
padding-left: 20px;
padding-top: 5px;
}
.homepageh3, .section {
color: #74804e;
font-weight: bold;
}
/*newly introduced styles (version 2.2)*/
.large {
font-size:14px;
}
.largebold {
font-size:14px;
font-weight:bold;
}
.assignedyou {
color: red;
}
.assignedother {
color: green;
}
div.error {
border: 1px solid #cd0a0a;
background: #fef1ec;
color: #cd0a0a;
padding: 10px;
}
div.success {
border: 1px solid #18760f;
background: #e9ffdb;
color: #363636;
padding: 10px;
}
div.notice {
border: 1px solid #fcefa1;
background: #fbf9ee;
color: #363636;
padding: 10px;
vertical-align: middle;
}
.admin_green {
background-color: #e3ffd0;
font-weight: bold;
}
.admin_red {
background-color: #fef1ec;
font-weight: bold;
}
.borderBottom {
border-bottom: silver 1px dashed;
}
.borderTop {
border-top: silver 1px dashed;
}
.alignTop {
vertical-align: top;
}
.alignMiddle {
vertical-align: middle;
}
.alignBottom {
vertical-align: bottom;
}
hr.dashed {
border: none 0;
border-top: 1px dashed silver;
height: 1px;
}
/* newly introduced styles (version 2.3) */
h1 {
color : #74804e;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
margin: 0px;
}
.critical {
color: #9400d3;
font-weight: bold;
}
td.admin_critical {
background-color: #fff0ff;
color : #000000;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
border: 1px solid #ff66ff;
border-top: 2px dashed #ff66ff;
padding: 1px;
}
.isError {
color: black;
background-color: #fff9f7;
border: 1px solid red;
}
.isNotice {
color: black;
border: 1px solid orange;
background: #fbf9ee;
}
.optionWhiteON{
padding:2px;
border:1px dotted silver;
background-color: #b0e0e6;
}
.optionWhiteOFF {
padding:2px;
border:1px dotted silver;
background-color: white;
}
.optionBlueON {
padding:2px;
border:1px dotted gray;
background-color: #b0e0e6;
}
.optionBlueOFF {
padding:2px;
border:1px dotted gray;
background-color: #f5fffa;
}
.optionWhiteNbON{
border: none;
background-color: #b0e0e6;
vertical-align: text-bottom;
}
.optionWhiteNbOFF {
border: none;
background-color: white;
vertical-align: text-bottom;
}
.kbCatListON {
background-color: #fcefa1;
}
.kbCatListOFF {
background-color: white;
}
div.progress-container {
border: 1px solid #ccc;
width: 100px;
margin: 2px 0 2px 5px;
padding: 1px;
float: right;
background: white;
}
div.progress-container > div {
background-color: #ACE97C;
height: 12px
}
.black {color: black;}
.inprogress {color : #006400;}
.onhold {color : #000000;}
div.online {
border: 1px solid #e5e8ff;
background: #ffffff;
color: #000000;
padding: 0px;
vertical-align: middle;
}
span.online {
font-size: 10px;
white-space:nowrap;
}
/* newly introduced styles (version 2.4) */
.orangebuttonsec {
background-image: url(img/orangebtnsec.jpg);
background-repeat: no-repeat;
text-align: center;
color: #660000;
border: 1px solid #bf6628;
height: 20px;
font-size: 10px;
font-weight:normal;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
margin-left: 2px;
text-decoration: none;
margin-top: 0px;
}
.orangebuttonsecover {
background-image: url(img/orangebtnover.gif);
background-repeat: no-repeat;
text-align: center;
color: #660000;
border: 1px solid #bf6628;
height: 20px;
font-size: 10px;
font-weight:normal;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
margin-left: 2px;
text-decoration: none;
margin-top: 0px;
}
td.admin_yellow {
background-color: #ffffe0;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
border: #d1dceb 1px solid;
padding: 1px;
}
/* New styles in HESK version 2.5 */
.kb_published {
color: #009900;
}
.kb_private {
color: #4a5571;
}
.kb_draft {
color: #cc9933;
}
.searchbutton {
cursor:pointer;
width:70px;
height:27px;
text-indent:-999px;
text-transform: capitalize;
color: transparent;
background: url(img/ico-search.png) no-repeat #4d90fe center;
border: 1px solid #3079ED;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
.searchbutton:hover {
background: url(img/ico-search.png) no-repeat center #357AE8;
border: 1px solid #2F5BB7;
}
.searchfield {
width:400px;
height:21px;
font-size:14px;
text-indent:2px;
vertical-align: bottom;
}
.sbsmall {
width:50px;
height:22px;
margin-top:2px;
}
.sfsmall {
width:200px;
height:16px;
font-size:12px;
margin-top:2px;
}

@ -34,6 +34,7 @@
/* Check if this is a valid include */
if (!defined('IN_SCRIPT')) {die('Invalid attempt');}
require(HESK_PATH . 'nuMods_settings.inc.php');
?>
<!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" xml:lang="en" lang="en">
@ -41,10 +42,19 @@ if (!defined('IN_SCRIPT')) {die('Invalid attempt');}
<title><?php echo (isset($hesk_settings['tmp_title']) ? $hesk_settings['tmp_title'] : $hesk_settings['hesk_title']); ?></title>
<meta http-equiv="Content-Type" content="text/html;charset=<?php echo $hesklang['ENCODING']; ?>" />
<meta name="viewport" content="width=device-width, user-scalable=no">
<?php if ($nuMods_settings['rtl']) { ?>
<link href="<?php echo HESK_PATH; ?>hesk_style_v25RTL.css" type="text/css" rel="stylesheet" />
<?php } else { ?>
<link href="<?php echo HESK_PATH; ?>hesk_style_v25.css" type="text/css" rel="stylesheet" />
<?php } ?>
<link href="<?php echo HESK_PATH; ?>css/bootstrap.css" type="text/css" rel="stylesheet" />
<link href="<?php echo HESK_PATH; ?>css/bootstrap-theme.css" type="text/css" rel="stylesheet" />
<link href="<?php echo HESK_PATH; ?>css/hesk_newStyle.php" type="text/css" rel="stylesheet" />
<?php if ($nuMods_settings['rtl']) { ?>
<link href="<?php echo HESK_PATH; ?>css/bootstrap-rtl.min.css" type="text/css" rel="stylesheet" />
<link href="<?php echo HESK_PATH; ?>css/hesk_newStyleRTL.php" type="text/css" rel="stylesheet" />
<?php } else { ?>
<link href="<?php echo HESK_PATH; ?>css/hesk_newStyle.php" type="text/css" rel="stylesheet" />
<?php } ?>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<script src="<?php echo HESK_PATH; ?>js/jquery-1.10.2.min.js"></script>
<script language="Javascript" type="text/javascript" src="<?php echo HESK_PATH; ?>hesk_javascript_v25.js"></script>

@ -34,6 +34,7 @@
/* Check if this is a valid include */
if (!defined('IN_SCRIPT')) {die('Invalid attempt');}
require(HESK_PATH . 'nuMods_settings.inc.php');
?>
<!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" xml:lang="en" lang="en">
@ -41,10 +42,19 @@ if (!defined('IN_SCRIPT')) {die('Invalid attempt');}
<title><?php echo (isset($hesk_settings['tmp_title']) ? $hesk_settings['tmp_title'] : $hesk_settings['hesk_title']); ?></title>
<meta http-equiv="Content-Type" content="text/html;charset=<?php echo $hesklang['ENCODING']; ?>" />
<meta name="viewport" content="width=device-width, user-scalable=no">
<?php if ($nuMods_settings['rtl']) { ?>
<link href="<?php echo HESK_PATH; ?>hesk_style_v25RTL.css" type="text/css" rel="stylesheet" />
<?php } else { ?>
<link href="<?php echo HESK_PATH; ?>hesk_style_v25.css" type="text/css" rel="stylesheet" />
<?php } ?>
<link href="<?php echo HESK_PATH; ?>css/bootstrap.css" type="text/css" rel="stylesheet" />
<link href="<?php echo HESK_PATH; ?>css/bootstrap-theme.css" type="text/css" rel="stylesheet" />
<link href="<?php echo HESK_PATH; ?>css/hesk_newStyle.php" type="text/css" rel="stylesheet" />
<?php if ($nuMods_settings['rtl']) { ?>
<link href="<?php echo HESK_PATH; ?>css/bootstrap-rtl.min.css" type="text/css" rel="stylesheet" />
<link href="<?php echo HESK_PATH; ?>css/hesk_newStyleRTL.php" type="text/css" rel="stylesheet" />
<?php } else { ?>
<link href="<?php echo HESK_PATH; ?>css/hesk_newStyle.php" type="text/css" rel="stylesheet" />
<?php } ?>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<script src="<?php echo HESK_PATH; ?>js/jquery-1.10.2.min.js"></script>
<script language="Javascript" type="text/javascript" src="<?php echo HESK_PATH; ?>hesk_javascript_v25.js"></script>

@ -91,7 +91,7 @@ function hesk_kbTopArticles($how_many, $index = 1)
?>
<h4 style="text-align: left"><?php echo $hesklang['popart']; ?></h4>
<h4 class="text-left"><?php echo $hesklang['popart']; ?></h4>
<div class="footerWithBorder blankSpace"></div>
<table border="0" width="100%">
@ -107,7 +107,7 @@ function hesk_kbTopArticles($how_many, $index = 1)
/* Show number of views? */
if ($hesk_settings['kb_views'] && hesk_dbNumRows($res) != 0)
{
echo '<td style="text-align:right"><i>' . $hesklang['views'] . '</i></td>';
echo '<td class="text-right"><i>' . $hesklang['views'] . '</i></td>';
}
?>
@ -124,7 +124,7 @@ function hesk_kbTopArticles($how_many, $index = 1)
/* If no results found end here */
if (hesk_dbNumRows($res) == 0)
{
echo '<p style="text-align: left;"><i>'.$hesklang['noa'].'</i><br />&nbsp;</p>';
echo '<p class="text-left"><i>'.$hesklang['noa'].'</i><br />&nbsp;</p>';
return true;
}
@ -147,7 +147,7 @@ function hesk_kbTopArticles($how_many, $index = 1)
if ($hesk_settings['kb_views'])
{
echo '<td valign="top" style="text-align:right" width="200">' . $article['views'] . '</td>';
echo '<td valign="top" class="text-right" width="200">' . $article['views'] . '</td>';
}
echo '
@ -201,7 +201,7 @@ function hesk_kbLatestArticles($how_many, $index = 1)
}
?>
<h4 style="text-align: left"><?php echo $hesklang['latart']; ?></h4>
<h4 class="text-left"><?php echo $hesklang['latart']; ?></h4>
<div class="footerWithBorder blankSpace"></div>
<table border="0" width="100%">
@ -216,7 +216,7 @@ function hesk_kbLatestArticles($how_many, $index = 1)
/* Show number of views? */
if ($hesk_settings['kb_date'] && hesk_dbNumRows($res) != 0)
{
echo '<td style="text-align:right"><i>' . $hesklang['dta'] . '</i></td>';
echo '<td class="text-right"><i>' . $hesklang['dta'] . '</i></td>';
}
?>
@ -233,7 +233,7 @@ function hesk_kbLatestArticles($how_many, $index = 1)
/* If no results found end here */
if (hesk_dbNumRows($res) == 0)
{
echo '<p style="text-align: left"><i>'.$hesklang['noa'].'</i><br />&nbsp;</p>';
echo '<p class="text-left"><i>'.$hesklang['noa'].'</i><br />&nbsp;</p>';
return true;
}
@ -256,7 +256,7 @@ function hesk_kbLatestArticles($how_many, $index = 1)
if ($hesk_settings['kb_date'])
{
echo '<td valign="top" style="text-align:right" width="200">' . hesk_date($article['dt'], true) . '</td>';
echo '<td valign="top" class="text-right" width="200">' . hesk_date($article['dt'], true) . '</td>';
}
echo '
@ -333,7 +333,7 @@ function hesk_kbSearchSmall()
}
?>
<td style="text-align:right" valign="top" width="300">
<td class="text-right" valign="top" width="300">
<div style="display:inline;margin-left:auto;margin-right:auto">
<form action="knowledgebase.php" method="get" class="form-inline" style="display: inline; margin: 0;">
<input type="text" name="search" class="form-control" />

@ -323,11 +323,11 @@ $more2 = empty($_GET['more2']) ? 0 : 1;
<table class="table" style="width: auto" border="0" cellpadding="3" cellspacing="0">
<tr>
<td style="text-align:left; border-top: 0px">
<td class="text-left" style="border-top: 0px">
<b style="color: #000"><?php echo $hesklang['s_for']; ?></b><br />
<input class="form-control" type="text" name="q" size="30" <?php if (isset($q)) {echo 'value="'.$q.'"';} ?> />
</td>
<td style="text-align:left; border-top: 0px">
<td class="text-left" style="border-top: 0px">
<b style="color: #000"><?php echo $hesklang['s_in']; ?></b><br />
<select class="form-control" name="what">
<option value="trackid" <?php if ($what=='trackid') {echo 'selected="selected"';} ?> ><?php echo $hesklang['trackID']; ?></option>
@ -414,7 +414,7 @@ if ($can_view_unassigned)
</tr>
<tr>
<td><b><?php echo $hesklang['display']; ?></b>: &nbsp; </td>
<td><div class="col-md-2" style="padding-left: 0px; padding-right: 0px; text-align:right"><input class="form-control" type="text" name="limit" value="<?php echo $maxresults; ?>" size="4" /></div><div class="col-md-10" style="line-height: 40px"><?php echo $hesklang['results_page']; ?></div></td>
<td><div class="col-md-2 text-right" style="padding-left: 0px; padding-right: 0px;"><input class="form-control" type="text" name="limit" value="<?php echo $maxresults; ?>" size="4" /></div><div class="col-md-10" style="line-height: 40px"><?php echo $hesklang['results_page']; ?></div></td>
</tr>
</table>

@ -122,7 +122,7 @@ if ($total > 0)
/* List pages */
echo '<div class="row">
<div class="col-md-6 col-sm-12" style="text-align: right;">
<div class="col-md-6 col-sm-12 text-right nu-rtlFloatLeft">
<ul class="pagination" style="margin: 0">';
if ($pages > 7)
{
@ -166,7 +166,7 @@ if ($total > 0)
}
echo ' </ul>
</div>
<div class="col-md-6 col-sm-12" style="text-align: left">
<div class="col-md-6 col-sm-12 text-left">
<div class="form-inline">'.$hesklang['jump_page'].'
<select class="form-control" name="myHpage" id="myHpage" onchange="javascript:window.location=\''.$href.'?'.$query.'\'+document.getElementById(\'myHpage\').value">';
for ($i=1;$i<=$pages;$i++)
@ -441,7 +441,7 @@ EOC;
</div>
</div>
</td>
<td width="50%" style="text-align:right;vertical-align:top">
<td width="50%" class="text-right" style="vertical-align:top">
<select class="form-control" name="a">
<option value="close" selected="selected"><?php echo $hesklang['close_selected']; ?></option>
<?php

@ -272,9 +272,9 @@ function hesk_show_kb_article($artid)
hesk_dbQuery("UPDATE `".hesk_dbEscape($hesk_settings['db_pfix'])."kb_articles` SET `views`=`views`+1 WHERE `id`='".intval($artid)."' LIMIT 1");
}
echo '<h3 style="text-align: left">'.$article['subject'].'</h3>
echo '<h3 class="text-left">'.$article['subject'].'</h3>
<div class="footerWithBorder blankSpace"></div>
<h4 style="text-align: left">'.$hesklang['as'].'</h4>
<h4 class="text-left">'.$hesklang['as'].'</h4>
<div class="kbContent">'
. $article['content'].'</div>';
@ -311,8 +311,8 @@ function hesk_show_kb_article($artid)
?>
<h4 style="text-align: left"><?php echo $hesklang['ad']; ?></h4>
<div style="text-align: left">
<h4 class="text-left"><?php echo $hesklang['ad']; ?></h4>
<div class="text-left">
<p><?php echo $hesklang['aid']; ?>: <?php echo $article['id']; ?></p>
<p><?php echo $hesklang['category']; ?>: <a href="<?php echo $link; ?>"><?php echo $article['cat_name']; ?></a></p>
@ -375,8 +375,8 @@ function hesk_show_kb_category($catid, $is_search = 0) {
if ($thiscat['parent'])
{
$link = ($thiscat['parent'] == 1) ? 'knowledgebase.php' : 'knowledgebase.php?category='.$thiscat['parent'];
echo '<h3 style="text-align: left">'.$hesklang['kb_cat'].': '.$thiscat['name'].' </h3>
<p align="left"><a href="javascript:history.go(-1)" title="'.$hesklang['back'].'"><span class="glyphicon glyphicon-circle-arrow-left"></span> Go back</a></p>
echo '<h3 class="text-left">'.$hesklang['kb_cat'].': '.$thiscat['name'].' </h3>
<p class="text-left"><a href="javascript:history.go(-1)" title="'.$hesklang['back'].'"><span class="glyphicon glyphicon-circle-arrow-left"></span> Go back</a></p>
<div class="footerWithBorder blankSpace"></div>
<div class="blankSpace"></div>
';
@ -387,7 +387,7 @@ function hesk_show_kb_category($catid, $is_search = 0) {
{
?>
<h4 style="text-align: left"><?php echo $hesklang['kb_cat_sub']; ?></h4>
<h4 class="text-left"><?php echo $hesklang['kb_cat_sub']; ?></h4>
<div class="footerWithBorder blankSpace"></div>
<table border="0" cellspacing="1" cellpadding="3" width="100%">
@ -477,7 +477,7 @@ function hesk_show_kb_category($catid, $is_search = 0) {
} // END if NumRows > 0
?>
<h4 style="text-align: left"><?php echo $hesklang['ac']; ?></h4>
<h4 class="text-left"><?php echo $hesklang['ac']; ?></h4>
<div class="footerWithBorder blankSpace"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">

@ -13,5 +13,8 @@ $nuMods_settings['dropdownItemTextHoverColor'] = '#262626';
$nuMods_settings['dropdownItemTextHoverBackgroundColor'] = '#f5f5f5';
$nuMods_settings['questionMarkColor'] = '#000000';
//-- Set this to 1 for right-to-left text. EXPERIMENTAL!
$nuMods_settings['rtl'] = 0;
/* DO NOT EDIT ANYTHING BELOW THIS LINE */
$nuMods_settings['version']='1.2.4';

@ -37,6 +37,7 @@ define('HESK_PATH','./');
/* Get all the required files and functions */
require(HESK_PATH . 'hesk_settings.inc.php');
require(HESK_PATH . 'nuMods_settings.inc.php');
require(HESK_PATH . 'inc/common.inc.php');
hesk_load_database_functions();
@ -110,7 +111,7 @@ hr
background-color: #9e9e9e;
height: 1px;
width: 100%;
text-align: left;
text-align: <?php if ($nuMods_settings['rtl']) {echo 'right';} else {echo 'left';} ?>;
}
</style>
</head>

@ -520,7 +520,7 @@ function hesk_printCustomerReplyForm($reopen=0)
?>
<h3 style="text-align:left"><?php echo $hesklang['add_reply']; ?></h3>
<h3 class="text-left"><?php echo $hesklang['add_reply']; ?></h3>
<div class="footerWithBorder"></div>
<div class="blankSpace"></div>
@ -538,7 +538,7 @@ function hesk_printCustomerReplyForm($reopen=0)
?>
<div class="form-group">
<label for="attachments" class="col-sm-3 control-label"><?php echo $hesklang['attachments']; ?>:</label>
<div class="col-sm-9" style="text-align: left">
<div class="col-sm-9 text-left">
<?php
for ($i=1;$i<=$hesk_settings['attachments']['max_number'];$i++)
{

Loading…
Cancel
Save