Skip to content

Commit

Permalink
Merge pull request #1667 from Spuds/fii
Browse files Browse the repository at this point in the history
Few rtl updates and a honeypot
  • Loading branch information
emanuele45 committed Jun 27, 2014
2 parents 83b59fd + e57e99d commit 0e3eefd
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 22 deletions.
2 changes: 2 additions & 0 deletions themes/default/Register.template.php
Expand Up @@ -568,6 +568,7 @@ function template_admin_register()
</div>';

echo '
<input type="password" name="autofill_honey_pot" style="display:none" />
<div class="flow_auto">
<dl class="register_form" id="admin_register_form">
<dt>
Expand All @@ -582,6 +583,7 @@ function template_admin_register()
<span class="smalltext">', $txt['admin_register_email_desc'], '</span>
</dt>
<dd>
<input type="email" name="email" id="email_input" tabindex="', $context['tabindex']++, '" size="30" class="input_text" />
</dd>
<dt>
Expand Down
4 changes: 2 additions & 2 deletions themes/default/css/_besocial/rtl_besocial.css
Expand Up @@ -205,11 +205,11 @@ legend {
/* ------------------------------------------------------- */
/* our buddies &laquo; &raquo; */
.small_pagelinks:before {
content: '\00BB';
content: '\00AB';
float: right;
}
.small_pagelinks:after {
content: '\00AB';
content: '\00BB';
float: right;
}

Expand Down
4 changes: 2 additions & 2 deletions themes/default/css/_light/rtl_light.css
Expand Up @@ -288,11 +288,11 @@ legend {
}
/* our buddies &laquo; &raquo; */
.small_pagelinks:before {
content: '\00BB';
content: '\00AB';
float: right;
}
.small_pagelinks:after {
content: '\00AB';
content: '\00BB';
float: right;
}

Expand Down
5 changes: 4 additions & 1 deletion themes/default/css/index.css
Expand Up @@ -1732,7 +1732,10 @@ dl.settings label {
}

#sort_by {
margin-bottom: -4px;
margin-bottom: -6px;
}
#sort_by .input_check {
margin-bottom: 0;
}
.topic_sorting:hover #sortby, #sortby:hover, #sortby {
width: 11em;
Expand Down
26 changes: 12 additions & 14 deletions themes/default/css/rtl.css
Expand Up @@ -497,7 +497,7 @@ dl.settings img {
padding: 2px 0 0 6px;
float: right;
}
.board_description, .moderators {
.board_info .board_description, .board_info .moderators {
margin: 0 56px 0 0;
}
.board_stats {
Expand Down Expand Up @@ -549,15 +549,15 @@ dl.settings img {
}
.topic_icons {
float: right;
padding: 6px 0 0 16px;
padding: 6px 0 0;
text-align: inherit;
}
.fred {
left: auto;
right: 50%;
margin: 0 -2px 0 0;
}
.topic_name, .topic_starter {
margin: 0 -50px 0 0;
margin: 0 50px;
}
.topic_name h4 {
padding-right: 0;
Expand All @@ -583,17 +583,15 @@ dl.settings img {
.qaction_row {
text-align: left;
}
.sticky_row .topic_info {
background: url(../images/icons/quick_sticky.png) no-repeat 2% 4px;
}
.locked_row.sticky_row .topic_info {
background: url(../images/icons/quick_sticky_lock.png) no-repeat 2% 4px;
}
/* @todo - Extra classes for search results, etc. See if I can clean them up. */

.locked_row .topic_info, .locked_row .topic_details {
background: url(../images/icons/quick_lock.png) no-repeat 2% 4px;
.sticky_row .topic_info:before, .locked_row .topic_info:before,
.sticky_row .topic_details:before, .locked_row .topic_details:before,
.locked_row.sticky_row .topic_info:before {
float: left;
margin-left: 16px;
}

/* @todo - Extra classes for search results, etc. See if I can clean them up. */
/* Search results need some help as well */
/* @todo - Sort markup so this can call above classes. *//*
.search_results_posts .lockedbg {
Expand Down Expand Up @@ -1304,4 +1302,4 @@ div.labels {
padding-right: 0 !important;
padding-left: 5px;
float: right !important;
}
}
4 changes: 1 addition & 3 deletions themes/default/scripts/script_elk.js
Expand Up @@ -1411,11 +1411,9 @@ function disableAutoComplete()

/**
* Once DOMContentLoaded is triggered, find text and password fields in the forms
* turn autocomplete off and sempty the value.
* turn autocomplete off and empty the value.
*/
function disableAutoCompleteNow()
{
$("input[type=text]").attr("autocomplete", "off").val('');
$("input[type=email]").attr("autocomplete", "off").val('');
$("input[type=password]").attr("autocomplete", "off").val('');
}

0 comments on commit 0e3eefd

Please sign in to comment.