Skip to content

Commit 6e95fc6

Browse files
author
medeish
committed
we_clearblue 1.0.4
1 parent c84c6e4 commit 6e95fc6

24 files changed

+113
-182
lines changed

contrib/buttons_l10n_pl.psd

-663 KB
Binary file not shown.

imageset/imageset.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# General Information about this style
2020
name = we_clearblue
2121
copyright = Inventia
22-
version = 1.0.2
22+
version = 1.0.4
2323

2424
# Images
2525
img_site_logo =

style.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
# General Information about this style
2020
name = we_clearblue
2121
copyright = Inventia
22-
version = 1.0.2
22+
version = 1.0.4

template/editor.js

+7-4
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,10 @@ function insert_text(text, spaces, popup)
151151
{
152152
text = ' ' + text + ' ';
153153
}
154-
155-
if (!isNaN(textarea.selectionStart))
154+
155+
// Since IE9, IE also has textarea.selectionStart, but it still needs to be treated the old way.
156+
// Therefore we simply add a !is_ie here until IE fixes the text-selection completely.
157+
if (!isNaN(textarea.selectionStart) && !is_ie)
156158
{
157159
var sel_start = textarea.selectionStart;
158160
var sel_end = textarea.selectionEnd;
@@ -216,11 +218,12 @@ function addquote(post_id, username, l_wrote)
216218
}
217219

218220
// Get text selection - not only the post content :(
219-
if (window.getSelection)
221+
// IE9 must use the document.selection method but has the *.getSelection so we just force no IE
222+
if (window.getSelection && !is_ie)
220223
{
221224
theSelection = window.getSelection().toString();
222225
}
223-
else if (document.getSelection)
226+
else if (document.getSelection && !is_ie)
224227
{
225228
theSelection = document.getSelection();
226229
}

template/forum_fn.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ function selectCode(a)
200200
// Get ID of code block
201201
var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];
202202

203-
// Not IE
203+
// Not IE and IE9+
204204
if (window.getSelection)
205205
{
206206
var s = window.getSelection();

template/jumpbox.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<!-- ENDIF -->
1111

1212
<!-- IF S_DISPLAY_JUMPBOX -->
13-
<form method="post" id="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
13+
<form method="post" id="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(this.f.value == -1){return false;}">
1414

1515
<!-- IF $CUSTOM_FIELDSET_CLASS -->
1616
<fieldset class="{$CUSTOM_FIELDSET_CLASS}">

template/mcp_approve.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="inner"><span class="corners-top"><span></span></span>
77

88
<h2>{MESSAGE_TITLE}</h2>
9-
<!-- IF ADDITIONAL_MSG --><p>{ADDITIONAL_MSG}</p><!-- ENDIF -->
9+
<!-- IF ADDITIONAL_MSG --><p class="error">{ADDITIONAL_MSG}</p><!-- ENDIF -->
1010
<p>{MESSAGE_TEXT}</p>
1111

1212
<fieldset>

template/mcp_front.html

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ <h3>{L_LATEST_UNAPPROVED}</h3>
2626
<tr class="row<!-- IF unapproved.S_ROW_COUNT is odd --> bg2<!-- ELSE --> bg1<!-- ENDIF -->">
2727
<td class="topic">
2828
<h4><a href="{unapproved.U_POST_DETAILS}" class="topictitle">{unapproved.SUBJECT}</a> {unapproved.ATTACH_ICON_IMG}</h4>
29-
<!-- IF report.PAGINATION --><p><strong class="pagination"><span>{report.PAGINATION}</span></strong><p><!-- ENDIF -->
3029
<p>{L_POSTED} {L_POST_BY_AUTHOR} {unapproved.AUTHOR_FULL} &raquo; {unapproved.POST_TIME}</p>
3130
</td>
3231
<td class="bg2">

template/mcp_post.html

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ <h3><a href="{U_VIEW_POST}">{POST_SUBJECT}</a></h3>
7474
<p class="rules">
7575
<input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" /> &nbsp;
7676
<input class="button1" type="submit" value="{L_APPROVE}" name="action[approve]" />
77+
<!-- IF not S_FIRST_POST --><input type="hidden" name="mode" value="unapproved_posts" /><!-- ENDIF -->
7778
<input type="hidden" name="post_id_list[]" value="{POST_ID}" />
7879
{S_FORM_TOKEN}
7980
</p>

template/memberlist_body.html

+5-28
Original file line numberDiff line numberDiff line change
@@ -23,34 +23,11 @@ <h2>{PAGE_TITLE}<!-- IF SEARCH_WORDS -->: <a href="{U_SEARCH_WORDS}">{SEARCH_WOR
2323
<ul class="linklist">
2424
<li>
2525
<!-- IF U_FIND_MEMBER and not S_SEARCH_USER --><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a> &bull; <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP --><a href="{U_HIDE_FIND_MEMBER}">{L_HIDE_MEMBER_SEARCH}</a> &bull; <!-- ENDIF -->
26-
<strong style="font-size: 0.95em;"><a href="{S_MODE_ACTION}&amp;first_char=">{L_ALL}</a>&nbsp;
27-
<a href="{S_MODE_ACTION}&amp;first_char=a#memberlist">A</a>&nbsp;
28-
<a href="{S_MODE_ACTION}&amp;first_char=b#memberlist">B</a>&nbsp;
29-
<a href="{S_MODE_ACTION}&amp;first_char=c#memberlist">C</a>&nbsp;
30-
<a href="{S_MODE_ACTION}&amp;first_char=d#memberlist">D</a>&nbsp;
31-
<a href="{S_MODE_ACTION}&amp;first_char=e#memberlist">E</a>&nbsp;
32-
<a href="{S_MODE_ACTION}&amp;first_char=f#memberlist">F</a>&nbsp;
33-
<a href="{S_MODE_ACTION}&amp;first_char=g#memberlist">G</a>&nbsp;
34-
<a href="{S_MODE_ACTION}&amp;first_char=h#memberlist">H</a>&nbsp;
35-
<a href="{S_MODE_ACTION}&amp;first_char=i#memberlist">I</a>&nbsp;
36-
<a href="{S_MODE_ACTION}&amp;first_char=j#memberlist">J</a>&nbsp;
37-
<a href="{S_MODE_ACTION}&amp;first_char=k#memberlist">K</a>&nbsp;
38-
<a href="{S_MODE_ACTION}&amp;first_char=l#memberlist">L</a>&nbsp;
39-
<a href="{S_MODE_ACTION}&amp;first_char=m#memberlist">M</a>&nbsp;
40-
<a href="{S_MODE_ACTION}&amp;first_char=n#memberlist">N</a>&nbsp;
41-
<a href="{S_MODE_ACTION}&amp;first_char=o#memberlist">O</a>&nbsp;
42-
<a href="{S_MODE_ACTION}&amp;first_char=p#memberlist">P</a>&nbsp;
43-
<a href="{S_MODE_ACTION}&amp;first_char=q#memberlist">Q</a>&nbsp;
44-
<a href="{S_MODE_ACTION}&amp;first_char=r#memberlist">R</a>&nbsp;
45-
<a href="{S_MODE_ACTION}&amp;first_char=s#memberlist">S</a>&nbsp;
46-
<a href="{S_MODE_ACTION}&amp;first_char=t#memberlist">T</a>&nbsp;
47-
<a href="{S_MODE_ACTION}&amp;first_char=u#memberlist">U</a>&nbsp;
48-
<a href="{S_MODE_ACTION}&amp;first_char=v#memberlist">V</a>&nbsp;
49-
<a href="{S_MODE_ACTION}&amp;first_char=w#memberlist">W</a>&nbsp;
50-
<a href="{S_MODE_ACTION}&amp;first_char=x#memberlist">X</a>&nbsp;
51-
<a href="{S_MODE_ACTION}&amp;first_char=y#memberlist">Y</a>&nbsp;
52-
<a href="{S_MODE_ACTION}&amp;first_char=z#memberlist">Z</a>&nbsp;
53-
<a href="{S_MODE_ACTION}&amp;first_char=other">#</a></strong>
26+
<strong style="font-size: 0.95em;">
27+
<!-- BEGIN first_char -->
28+
<a href="{first_char.U_SORT}">{first_char.DESC}</a>&nbsp;
29+
<!-- END first_char -->
30+
</strong>
5431
</li>
5532
<li class="rightside pagination">
5633
{TOTAL_USERS} &bull;

template/memberlist_view.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h2>{PAGE_TITLE}</h2>
2828
<!-- ENDIF -->
2929
<!-- IF S_USER_INACTIVE --><dt>{L_USER_IS_INACTIVE}:</dt> <dd>{USER_INACTIVE_REASON}</dd><!-- ENDIF -->
3030
<!-- IF LOCATION --><dt>{L_LOCATION}:</dt> <dd>{LOCATION}</dd><!-- ENDIF -->
31-
<!-- IF AGE --><dt>{L_AGE}:</dt> <dd>{AGE}</dd><!-- ENDIF -->
31+
<!-- IF AGE !== '' --><dt>{L_AGE}:</dt> <dd>{AGE}</dd><!-- ENDIF -->
3232
<!-- IF OCCUPATION --><dt>{L_OCCUPATION}:</dt> <dd>{OCCUPATION}</dd><!-- ENDIF -->
3333
<!-- IF INTERESTS --><dt>{L_INTERESTS}:</dt> <dd>{INTERESTS}</dd><!-- ENDIF -->
3434
<!-- IF S_GROUP_OPTIONS --><dt>{L_USERGROUPS}:</dt> <dd><select name="g">{S_GROUP_OPTIONS}</select> <input type="submit" name="submit" value="{L_GO}" class="button2" /></dd><!-- ENDIF -->
@@ -89,8 +89,8 @@ <h3>{L_USER_FORUM}</h3>
8989
<!-- IF POSTS_IN_QUEUE and U_MCP_QUEUE --><br />(<a href="{U_MCP_QUEUE}">{L_POSTS_IN_QUEUE}</a>)<!-- ELSEIF POSTS_IN_QUEUE --><br />({L_POSTS_IN_QUEUE})<!-- ENDIF -->
9090
</dd>
9191
<!-- IF S_SHOW_ACTIVITY and POSTS -->
92-
<dt>{L_ACTIVE_IN_FORUM}:</dt> <dd><!-- IF ACTIVE_FORUM --><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
93-
<dt>{L_ACTIVE_IN_TOPIC}:</dt> <dd><!-- IF ACTIVE_TOPIC --><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
92+
<dt>{L_ACTIVE_IN_FORUM}:</dt> <dd><!-- IF ACTIVE_FORUM != '' --><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
93+
<dt>{L_ACTIVE_IN_TOPIC}:</dt> <dd><!-- IF ACTIVE_TOPIC != '' --><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
9494
<!-- ENDIF -->
9595
</dl>
9696
</div>

template/message_body.html

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
<!-- INCLUDE overall_header.html -->
1+
<!-- IF S_SIMPLE_MESSAGE -->
2+
<!-- INCLUDE simple_header.html -->
3+
<!-- ELSE -->
4+
<!-- INCLUDE overall_header.html -->
5+
<!-- ENDIF -->
26

37
<div class="panel" id="message">
48
<div class="inner"><span class="corners-top"><span></span></span>
@@ -8,4 +12,8 @@ <h2>{MESSAGE_TITLE}</h2>
812
<span class="corners-bottom"><span></span></span></div>
913
</div>
1014

11-
<!-- INCLUDE overall_footer.html -->
15+
<!-- IF S_SIMPLE_MESSAGE -->
16+
<!-- INCLUDE simple_footer.html -->
17+
<!-- ELSE -->
18+
<!-- INCLUDE overall_footer.html -->
19+
<!-- ENDIF -->

template/overall_header.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@
7272
{
7373
eval(onload_functions[i]);
7474
}
75-
}
75+
};
7676

7777
window.onunload = function()
7878
{
7979
for (var i = 0; i < onunload_functions.length; i++)
8080
{
8181
eval(onunload_functions[i]);
8282
}
83-
}
83+
};
8484

8585
// ]]>
8686
</script>

template/posting_buttons.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
a: '{LA_BBCODE_A_HELP}',
2626
s: '{LA_BBCODE_S_HELP}',
2727
f: '{LA_BBCODE_F_HELP}',
28-
e: '{LA_BBCODE_E_HELP}',
28+
y: '{LA_BBCODE_Y_HELP}',
2929
d: '{LA_BBCODE_D_HELP}'
3030
<!-- BEGIN custom_tags -->
3131
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
@@ -79,7 +79,7 @@
7979
<input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" />
8080
<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" />
8181
<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" />
82-
<input type="button" class="button2" accesskey="y" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
82+
<input type="button" class="button2" accesskey="y" name="addlistitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
8383
<!-- IF S_BBCODE_IMG -->
8484
<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" />
8585
<!-- ENDIF -->

template/template.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# General Information about this template
2020
name = we_clearblue
2121
copyright = Inventia
22-
version = 1.0.2
22+
version = 1.0.4
2323

2424
# Defining a different template bitfield
2525
template_bitfield = lNg=

template/ucp_groups_manage.html

+14-5
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,21 @@ <h3>{L_GROUP_SETTINGS_SAVE}</h3>
145145
</tr>
146146
<!-- ENDIF -->
147147
<!-- BEGINELSE -->
148-
<tr>
149-
<td class="bg1" colspan="5"><p>{L_GROUPS_NO_MEMBERS}</p></td>
150-
</tr>
148+
<div class="forums-wrapper">
149+
<table class="forums">
150+
<thead>
151+
<tr>
152+
<th class="name">{L_MEMBERS}</th>
153+
</tr>
154+
</thead>
155+
<tbody>
156+
<tr>
157+
<td class="bg2"><p>{L_GROUPS_NO_MEMBERS}</p></td>
158+
</tr>
151159
<!-- END member -->
152-
</tbody>
153-
</table>
160+
</tbody>
161+
</table>
162+
</div>
154163
</div>
155164

156165
<ul class="linklist">

0 commit comments

Comments
 (0)