Skip to content

Commit ae0afa8

Browse files
committed
Change tracker project key to start with PHPBB-
1 parent 20a96b1 commit ae0afa8

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

language/en/common.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@
8484
'STATUS' => 'Status',
8585

8686
'TICKET' => 'Ticket',
87-
'TICKET_ERROR' => 'Ticket ID must be of the format “PHPBB3-#####”.',
87+
'TICKET_ERROR' => 'Ticket ID must be of the format “PHPBB-#####” or “PHPBB3-#####”.',
8888
'TICKET_ERROR_DUP' => 'You must click on an idea title from the live search results. To delete the duplicate, clear the field and press ENTER. To exit this field press ESC.',
89-
'TOP' => 'Top',
89+
'TOP' => 'Top',
9090
'TOP_IDEAS' => 'Top Ideas',
9191
'TOTAL_IDEAS' => [
9292
1 => '%d idea',

styles/prosilver/template/idea_body.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ <h3>{{ lang('STATUS') }}</h3>
5353
{% if IDEA_TICKET or S_CAN_EDIT %}
5454
<div class="status-item flex-box flex-align-end">
5555
{{ lang('TICKET') ~ lang('COLON') }}
56-
<label for="ticketeditinput"><a id="ticketlink" {% if IDEA_TICKET %}href="https://tracker.phpbb.com/browse/PHPBB3-{{ IDEA_TICKET }}">PHPBB3-{{ IDEA_TICKET }}{% else %}style="display:none">{% endif %}</a></label>
56+
<label for="ticketeditinput"><a id="ticketlink" {% if IDEA_TICKET %}href="https://tracker.phpbb.com/browse/PHPBB-{{ IDEA_TICKET }}">PHPBB-{{ IDEA_TICKET }}{% else %}style="display:none">{% endif %}</a></label>
5757
{% if S_CAN_EDIT %}
5858
<a href="{{ U_EDIT_TICKET }}" id="ticketedit" data-l-add="{{ lang('ADD') }}" data-l-edit="{{ lang('EDIT') }}">{% if IDEA_TICKET %}<i class="icon fa-fw fa-pencil"></i>{{ lang('EDIT') }}{% else %}<i class="icon fa-fw fa-plus-circle"></i>{{ lang('ADD') }}{% endif %}</a>
59-
<input type="text" id="ticketeditinput" class="ideainput"{% if IDEA_TICKET %} value="PHPBB3-{{ IDEA_TICKET }}"{% endif %} placeholder="PHPBB3-#####" data-l-err="{{ lang('ERROR') }}" data-l-msg="{{ lang('TICKET_ERROR') }}">
59+
<input type="text" id="ticketeditinput" class="ideainput"{% if IDEA_TICKET %} value="PHPBB-{{ IDEA_TICKET }}"{% endif %} placeholder="PHPBB-#####" data-l-err="{{ lang('ERROR') }}" data-l-msg="{{ lang('TICKET_ERROR') }}">
6060
{% endif %}
6161
</div>
6262
{% endif %}

styles/prosilver/template/ideas.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,13 @@
224224
value = $this.val(),
225225
info;
226226

227-
if (value && !(info = /^PHPBB3-(\d{1,6})$/.exec(value))) {
227+
if (value && !(info = /^PHPBB3?-(\d{1,6})$/.exec(value))) {
228228
phpbb.alert($this.attr('data-l-err'), $this.attr('data-l-msg'));
229229
return;
230230
}
231231

232232
if (value) {
233-
value = 'PHPBB3-' + info[1];
233+
value = 'PHPBB-' + info[1];
234234
}
235235

236236
showLoadingIndicator();

0 commit comments

Comments
 (0)