mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
added missing colour swatch to prosilver - #8657 language changes - #10387, #10375, #10373, #10353, #10279 line-height for font size (still not ideal) - #10317 Search load setting checked in sessions.php along with limit_load and also reset if not possible to determine load - #10383 Fix editing issues - #9660 git-svn-id: file:///svn/phpbb/trunk@7451 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
<!-- BEGIN color --><span style="color: {COLOR}">{TEXT}</span><!-- END color -->
|
||||
|
||||
<!-- BEGIN size --><span style="font-size: {SIZE}%;">{TEXT}</span><!-- END size -->
|
||||
<!-- BEGIN size --><span style="font-size: {SIZE}%; line-height: 116%;">{TEXT}</span><!-- END size -->
|
||||
|
||||
<!-- BEGIN img --><img src="{URL}" alt="{L_IMAGE}" /><!-- END img -->
|
||||
|
||||
|
@@ -64,7 +64,7 @@ function bbstyle(bbnumber)
|
||||
else
|
||||
{
|
||||
insert_text('[*]');
|
||||
document.forms[form_name].elements[text_name].focus();
|
||||
document.forms[form_name].elements[text_name].focus();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,9 +118,8 @@ function bbfontstyle(bbopen, bbclose)
|
||||
// IE
|
||||
else if (document.selection)
|
||||
{
|
||||
|
||||
var range = textarea.createTextRange();
|
||||
range.move("character", new_pos);
|
||||
range.move("character", new_pos);
|
||||
range.select();
|
||||
storeCaret(textarea);
|
||||
}
|
||||
@@ -157,18 +156,17 @@ function insert_text(text, spaces, popup)
|
||||
mozWrap(textarea, text, '')
|
||||
textarea.selectionStart = sel_start + text.length;
|
||||
textarea.selectionEnd = sel_end + text.length;
|
||||
}
|
||||
|
||||
}
|
||||
else if (textarea.createTextRange && textarea.caretPos)
|
||||
{
|
||||
if (baseHeight != textarea.caretPos.boundingHeight)
|
||||
{
|
||||
textarea.focus();
|
||||
storeCaret(textarea);
|
||||
}
|
||||
}
|
||||
|
||||
var caret_pos = textarea.caretPos;
|
||||
caret_pos.text = caret_pos.text.charAt(caret_pos.text.length - 1) == ' ' ? caret_pos.text + text + ' ' : caret_pos.text + text;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -177,8 +175,7 @@ function insert_text(text, spaces, popup)
|
||||
if (!popup)
|
||||
{
|
||||
textarea.focus();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -329,7 +326,7 @@ function colorPalette(dir, width, height)
|
||||
{
|
||||
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
|
||||
document.write('<td bgcolor="#' + color + '">');
|
||||
document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;" onmouseover="helpline(\'s\');" onmouseout="helpline(\'tip\');"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');
|
||||
document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');
|
||||
document.writeln('</td>');
|
||||
}
|
||||
|
||||
|
@@ -50,7 +50,7 @@
|
||||
<dl>
|
||||
<dt><label for="banlength">{L_BAN_LENGTH}:</label></dt>
|
||||
<dd><label for="banlength"><select name="banlength" id="banlength" onchange="if(this.value==-1){document.getElementById('banlengthother').style.display = 'block';}else{document.getElementById('banlengthother').style.display='none';}">{S_BAN_END_OPTIONS}</select></label></dd>
|
||||
<dd id="banlengthother" style="display: none;"><label><input type="text" name="banlengthother" class="inputbox" /><br /><span>(YYYY-MM-DD)</span></label></dd>
|
||||
<dd id="banlengthother" style="display: none;"><label><input type="text" name="banlengthother" class="inputbox" /><br /><span>{L_YEAR_MONTH_DAY}</span></label></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="banreason">{L_BAN_REASON}:</label></dt>
|
||||
|
@@ -99,10 +99,24 @@
|
||||
<div class="headerbar">
|
||||
<div class="inner"><span class="corners-top"><span></span></span>
|
||||
|
||||
<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
|
||||
<h1>{SITENAME}</h1>
|
||||
<p>{SITE_DESCRIPTION}</p>
|
||||
<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
|
||||
<div id="site-description">
|
||||
<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
|
||||
<h1>{SITENAME}</h1>
|
||||
<p>{SITE_DESCRIPTION}</p>
|
||||
<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
|
||||
</div>
|
||||
|
||||
<!-- IF not S_IN_SEARCH -->
|
||||
<div id="search-box">
|
||||
<form action="{U_SEARCH}" method="get" id="search">
|
||||
<fieldset>
|
||||
<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" accesskey="s" />
|
||||
<input class="button2" value="{L_SEARCH}" type="submit" /><br />
|
||||
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_HIDDEN_FIELDS}
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<span class="corners-bottom"><span></span></span></div>
|
||||
</div>
|
||||
@@ -147,16 +161,6 @@
|
||||
<span class="corners-bottom"><span></span></span></div>
|
||||
</div>
|
||||
|
||||
<div id="search-box">
|
||||
<form action="{U_SEARCH}" method="get" id="search">
|
||||
<fieldset>
|
||||
<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" accesskey="s" />
|
||||
<input class="button2" value="{L_SEARCH}" type="submit" /><br />
|
||||
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_HIDDEN_FIELDS}
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<a name="start_here"></a>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
var form_name = 'postform';
|
||||
@@ -58,6 +59,33 @@
|
||||
<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
|
||||
|
||||
<!-- IF S_BBCODE_ALLOWED -->
|
||||
<div id="colour_palette" style="display: none;">
|
||||
<dl style="clear: left;">
|
||||
<dt><label>{L_FONT_COLOR}:</label></dt>
|
||||
<dd><script type="text/javascript">
|
||||
<!--
|
||||
function change_palette()
|
||||
{
|
||||
dE('colour_palette');
|
||||
e = document.getElementById('colour_palette');
|
||||
|
||||
if (e.style.display == 'block')
|
||||
{
|
||||
document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
|
||||
}
|
||||
}
|
||||
|
||||
colorPalette('h', 15, 5);
|
||||
//-->
|
||||
</script>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<div id="format-buttons">
|
||||
<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" />
|
||||
<input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" />
|
||||
@@ -85,8 +113,9 @@
|
||||
<option value="150">{L_FONT_LARGE}</option>
|
||||
<option value="200">{L_FONT_HUGE}</option>
|
||||
</select>
|
||||
<input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
|
||||
<!-- BEGIN custom_tags -->
|
||||
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
|
||||
<!-- END custom_tags -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
|
@@ -118,7 +118,7 @@
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF BBCODE_STATUS -->
|
||||
<hr />
|
||||
<!-- IF .smiley --><hr /><!-- ENDIF -->
|
||||
{BBCODE_STATUS}<br />
|
||||
<!-- IF S_BBCODE_ALLOWED -->
|
||||
{IMG_STATUS}<br />
|
||||
|
@@ -128,6 +128,7 @@ p.right {
|
||||
float: left;
|
||||
width: auto;
|
||||
padding: 10px 13px 0 10px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
a#logo:hover {
|
||||
@@ -138,14 +139,22 @@ a#logo:hover {
|
||||
--------------------------------------------- */
|
||||
#search-box {
|
||||
color: #FFFFFF;
|
||||
position: absolute;
|
||||
right: 35px;
|
||||
top: 35px;
|
||||
width: 17em;
|
||||
position: relative;
|
||||
margin-top: 30px;
|
||||
margin-right: 5px;
|
||||
display: block;
|
||||
float: right;
|
||||
text-align: right;
|
||||
white-space: nowrap; /* For Opera */
|
||||
}
|
||||
|
||||
.rtl #search-box {
|
||||
float: left;
|
||||
text-align: left;
|
||||
margin-right: 0;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
#search-box #keywords {
|
||||
width: 95px;
|
||||
background-color: #FFF;
|
||||
@@ -170,6 +179,16 @@ a#logo:hover {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
/* Site description and logo */
|
||||
#site-description {
|
||||
float: left;
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.rtl #site-description {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Round cornered boxes and backgrounds
|
||||
---------------------------------------- */
|
||||
.headerbar {
|
||||
|
@@ -73,7 +73,6 @@ a.topictitle:active {
|
||||
|
||||
/* Post body links */
|
||||
.postlink {
|
||||
text-decoration: none;
|
||||
color: #d2d2d2;
|
||||
border-bottom: 1px solid #d2d2d2;
|
||||
padding-bottom: 0;
|
||||
|
@@ -52,4 +52,13 @@ dl.icon {
|
||||
min-height: 35px;
|
||||
height: auto !important;
|
||||
height: 35px;
|
||||
}
|
||||
|
||||
* html #search-box {
|
||||
margin-right: 35px;
|
||||
}
|
||||
|
||||
* html .rtl #search-box {
|
||||
margin-right: 0;
|
||||
margin-left: 35px;
|
||||
}
|
Reference in New Issue
Block a user