aboutsummaryrefslogtreecommitdiffstats
path: root/extensions/Mageia/template
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Mageia/template')
-rw-r--r--extensions/Mageia/template/en/default/bug/create/comment-guided.txt.tmpl10
-rw-r--r--extensions/Mageia/template/en/default/bug/create/create-guided.html.tmpl299
-rw-r--r--extensions/Mageia/template/en/default/global/banner.html.tmpl11
-rw-r--r--extensions/Mageia/template/en/default/hook/README5
-rw-r--r--extensions/Mageia/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl23
-rw-r--r--extensions/Mageia/template/en/default/hook/account/prefs/account-field.html.tmpl10
-rw-r--r--extensions/Mageia/template/en/default/hook/admin/sanitycheck/messages-statuses.html.tmpl27
-rw-r--r--extensions/Mageia/template/en/default/hook/bug/comments-a_comment-end.html.tmpl79
-rw-r--r--extensions/Mageia/template/en/default/hook/bug/field-start_field_column.html.tmpl12
-rw-r--r--extensions/Mageia/template/en/default/hook/global/header-start.html.tmpl10
-rw-r--r--extensions/Mageia/template/en/default/hook/global/setting-descs-settings.none.tmpl9
-rw-r--r--extensions/Mageia/template/en/default/hook/global/variables-end.none.tmpl9
-rw-r--r--extensions/Mageia/template/en/default/hook/index-additional_links.html.tmpl14
-rw-r--r--extensions/Mageia/template/en/default/mageia/README16
14 files changed, 534 insertions, 0 deletions
diff --git a/extensions/Mageia/template/en/default/bug/create/comment-guided.txt.tmpl b/extensions/Mageia/template/en/default/bug/create/comment-guided.txt.tmpl
new file mode 100644
index 000000000..7b5018e6d
--- /dev/null
+++ b/extensions/Mageia/template/en/default/bug/create/comment-guided.txt.tmpl
@@ -0,0 +1,10 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% USE Bugzilla %]
+[% Bugzilla.cgi.param("comment") %]
diff --git a/extensions/Mageia/template/en/default/bug/create/create-guided.html.tmpl b/extensions/Mageia/template/en/default/bug/create/create-guided.html.tmpl
new file mode 100644
index 000000000..c672a4cf5
--- /dev/null
+++ b/extensions/Mageia/template/en/default/bug/create/create-guided.html.tmpl
@@ -0,0 +1,299 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[%# INTERFACE:
+ # This template has the same interface as create.html.tmpl
+ #%]
+
+[% PROCESS global/header.html.tmpl
+ title = "Enter $terms.ABug"
+ onload = "PutDescription()"
+ style_urls = ['skins/standard/bug.css']
+ javascript_urls = ['js/util.js', 'js/field.js']
+ yui = ['autocomplete']
+ %]
+
+[% defaultcontent = "Description of problem:\n\n\n" _
+ "Version-Release number of selected component (if applicable):\n\n\n" _
+ "How reproducible:\n\n\nSteps to Reproduce:\n1.\n2.\n3.\n" %]
+
+[%# This script displays the descriptions for selected components. %]
+<script type="text/javascript">
+var descriptions = [
+[% FOREACH c = product.components %]
+ [% NEXT IF NOT c.is_active %]
+ '[% c.description FILTER js %]',
+[% END %]
+];
+
+function PutDescription() {
+ var description = document.getElementById('description');
+ var componentIndex = document.getElementById('component').selectedIndex;
+ YAHOO.util.Dom.removeClass("description", "bz_default_hidden");
+ if (componentIndex != -1) {
+ description.innerHTML = descriptions[componentIndex];
+ }
+}
+
+function CheckDetails(e) {
+ if (e.form.comment.value == '[% defaultcontent FILTER js FILTER html %]') {
+ alert('Please enter some details about this [% terms.bug %].');
+ e.form.comment.focus();
+ return false;
+ }
+ return true;
+}
+</script>
+
+<p>
+ Submit [% terms.abug %] using the
+ <a href="enter_bug.cgi?product=[% product.name FILTER html %]&amp;normal=1">expert [% terms.bug %] form</a>.
+</p>
+
+<form id="guided_form" method="post" action="post_bug.cgi">
+ <input type="hidden" name="format" value="guided">
+ <input type="hidden" name="priority" value="[% default.priority FILTER html %]">
+ <input type="hidden" name="token" value="[% token FILTER html %]">
+
+<table>
+ <tr>
+ [% INCLUDE "bug/field-label.html.tmpl" field = bug_fields.product %]
+ <td>
+ <input type="hidden" name="product" value="[% product.name FILTER html %]">
+ [% product.name FILTER html %]
+ </td>
+ </tr>
+
+ <tr>
+ [% INCLUDE "bug/field-label.html.tmpl" field = bug_fields.component editable = 1 %]
+ <td>
+ <select name="component" id="component" size="5" onchange="PutDescription()"
+ aria-required="true" class="required" required>
+ [% IF NOT default.component_ %]
+ [% default.component_ = "RPM Packages" %]
+ [% END %]
+ [% FOREACH c = product.components %]
+ [% NEXT IF NOT c.is_active %]
+ <option value="[% c.name FILTER html %]"
+ [%+ 'selected="selected"' IF c.name == default.component_ %]>
+ [% c.name FILTER html %]
+ </option>
+ [% END %]
+ </select>
+
+ <div id="description" class="comment bz_default_hidden">
+ Select a component to see its description here.
+ </div>
+
+ <p>
+ The area where the problem occurs.
+ To pick the right component, you could use the same one as
+ similar [% terms.bugs %] you found in your search, or read the full list of
+ <a href="describecomponents.cgi?product=[% product.name FILTER uri %]"
+ target="_blank" >component descriptions</a> (opens in new window) if
+ you need more help.
+ </p>
+ </td>
+ </tr>
+
+ <tr>
+ [% INCLUDE "bug/field-label.html.tmpl" field = bug_fields.version editable = 1 %]
+ <td>
+ <select name="version" id="version" size="5" aria-required="true" class="required" required>
+ [% FOREACH v = version %]
+ [% NEXT IF NOT v.is_active %]
+ <option value="[% v.name FILTER html %]"
+ [% ' selected="selected"' IF v.name == default.version %]>[% v.name FILTER html -%]
+ </option>
+ [% END %]
+ </select>
+
+ <p>
+ The version in which the problem occurs.
+ </p>
+ </td>
+ </tr>
+
+ <tr>
+ [% INCLUDE bug/field.html.tmpl
+ bug = default, field = bug_fields.rep_platform, editable = 1,
+ value = default.rep_platform %]
+ </tr>
+
+ <tr>
+ [% INCLUDE "bug/field-label.html.tmpl" field = bug_fields.cf_rpmpkg editable = 1 %]
+ <td>
+ <input size="80" name="cf_rpmpkg" id="cf_rpmpkg" value="[% default.cf_rpmpkg FILTER html %]">
+ <p>
+ This is where you can identify exactly which RPM package is involved in
+ this [% terms.bug %] report. For instance, if you know the problem you
+ are having is with the program <tt>mysqld</tt>, then execute
+ <tt>rpm -qif /usr/sbin/mysqld</tt>. This will tell you the name and version
+ of the RPM package (i.e. mariadb-core-10.1.24-1.mga6) as well as other
+ information. In particular, you are looking for the "Source RPM" field
+ (i.e. mariadb-10.1.24-1.mga6.src.rpm) -- this is the information you should
+ provide here. Alternatively, you may use
+ <tt>rpm -qf /usr/sbin/mysqld --qf '%{SOURCERPM}\n'</tt> to obtain the
+ information. If you do not know the location of the program in question,
+ use <tt>rpm -qif `which mysqld`</tt>. Please enter that information above.
+ </p>
+ </td>
+ </tr>
+
+ <tr>
+ [% INCLUDE "bug/field-label.html.tmpl" field = bug_fields.bug_file_loc editable = 1 %]
+ <td>
+ <input id="bug_file_loc" name="bug_file_loc" placeholder="https://" size="80"
+ [% IF bug_file_loc != "http://" %] value="[% bug_file_loc FILTER html %]"[% END %]>
+ <p>
+ URL that demonstrates the problem you are submitting (optional).
+ </p>
+ </td>
+ </tr>
+
+ <tr>
+ [% INCLUDE "bug/field-label.html.tmpl" field = bug_fields.short_desc editable = 1 %]
+ <td>
+ <input name="short_desc" id="short_desc" size="80" maxlength="255"
+ value="[% short_desc FILTER html %]" spellcheck="true"
+ aria-required="true" class="required" required>
+ <p>
+ A sentence which summarizes the problem.
+ Please be descriptive and use lots of keywords.
+ </p>
+ <p>
+ <kbd>
+ <span class="bad">Bad example</span>: mail crashed
+ </kbd>
+ <br>
+ <kbd>
+ <span class="good">Good example</span>:
+ crash in Evolution while checking for new POP mail
+ </kbd>
+ </p>
+ </td>
+ </tr>
+
+ <tr>
+ <th id="field_label_details" class="field_label required">Details</th>
+ <td>
+ [% INCLUDE global/textarea.html.tmpl
+ id = 'comment'
+ name = 'comment'
+ minrows = 13
+ cols = constants.COMMENT_COLS
+ mandatory = 1
+ defaultcontent = comment || defaultcontent
+ %]
+
+ [% IF user.is_insider %]
+ <br>
+ <input type="checkbox" id="comment_is_private" name="comment_is_private"
+ [% ' checked="checked"' IF comment_is_private %]
+ onClick="updateCommentTagControl(this, 'comment')">
+ <label for="comment_is_private">
+ Initial description is private (visible only to members
+ of the <strong>[% Param('insidergroup') FILTER html %]</strong> group)
+ </label>
+ <script>
+ updateCommentTagControl(document.getElementById('comment_is_private'), 'comment');
+ </script>
+ [% END %]
+ <p>
+ Expand on the Summary. Please be as specific as possible about what is wrong.
+ </p>
+ <p>
+ <kbd>
+ <span class="bad">Bad example</span>: I can't seem to login to the system. Please help!
+ </kbd>
+ <br>
+ <kbd>
+ <span class="good">Good example</span>: Description of problem:
+ <br><br>
+ I'm unable to login to the system via ssh. The /var/log/messages log
+ indicates there is a problem with the pam module pam_ldap, but the
+ /etc/pam.d/system-auth file doesn't contain that module and I'm not
+ using LDAP. I looked at /etc/pam.d/sshd and it does contain that module
+ but I'm not sure how it got there, unless it was due to the super-spiffy
+ super-ldap-mojo package I installed yesterday.
+ <br><br>
+ Version-Release number of selected component (if applicable):
+ <br><br>
+ openldap-2.4.45-2.mga6, pam-1.3.0-5.mga6
+ <br><br>
+ How reproducible:
+ <br><br>
+ Every time I attempt to login.
+ <br><br>
+ Steps to Reproduce:<br>
+ 1. ssh user@host<br>
+ 2. see the rejection
+ </kbd>
+ </p>
+ </td>
+ </tr>
+
+ <tr>
+ [% INCLUDE "bug/field-label.html.tmpl" field = bug_fields.bug_severity editable = 1 %]
+ <td>
+ <select name="bug_severity">
+ <option name="critical" value="critical">
+ Critical: The software crashes, hangs, or causes you to
+ lose data.
+ </option>
+ <option name="major" value="major">
+ Major: A major feature is broken.
+ </option>
+ <option name="normal" value="normal" selected="selected">
+ Normal: It's [% terms.abug %] that should be fixed.
+ </option>
+ <option name="minor" value="minor">
+ Minor: Minor loss of function, and there's an easy workaround.
+ </option>
+ <option name="enhancement" value="enhancement">
+ Enhancement: Request for new feature or enhancement.
+ </option>
+ </select>
+ <p>
+ Indicate how serious the problem is, or if your [% terms.bug %] is a
+ request for a new feature.
+ </p>
+ </td>
+ </tr>
+
+ <tr>
+ [% INCLUDE "bug/field-label.html.tmpl" field = bug_fields.assigned_to editable = 1 %]
+ <td>
+ [% INCLUDE global/userselect.html.tmpl
+ id => "assigned_to"
+ name => "assigned_to"
+ value => assigned_to
+ disabled => assigned_to_disabled
+ size => 30
+ emptyok => 1
+ %]
+ <p>Leave blank to assign to the default component owner.</p>
+ </td>
+ </tr>
+
+ [% Hook.process('form') %]
+</table>
+
+<p>
+ <input type="submit" id="report" value="Submit [% terms.Bug %] Report"
+ onclick="var res = CheckDetails(this); return res">
+</p>
+
+<p>
+ That's it! Thanks very much. You'll be notified by email about any progress
+ that is made on fixing your [% terms.bug %]. Thank you for choosing Mageia!
+</p>
+
+</form>
+
+[% PROCESS global/footer.html.tmpl %]
diff --git a/extensions/Mageia/template/en/default/global/banner.html.tmpl b/extensions/Mageia/template/en/default/global/banner.html.tmpl
new file mode 100644
index 000000000..76f1d123e
--- /dev/null
+++ b/extensions/Mageia/template/en/default/global/banner.html.tmpl
@@ -0,0 +1,11 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+<script src="https://nav.mageia.org/js/" type="text/javascript"></script>
+
+<div id="banner"></div>
diff --git a/extensions/Mageia/template/en/default/hook/README b/extensions/Mageia/template/en/default/hook/README
new file mode 100644
index 000000000..e6c4add58
--- /dev/null
+++ b/extensions/Mageia/template/en/default/hook/README
@@ -0,0 +1,5 @@
+Template hooks go in this directory. Template hooks are called in normal
+Bugzilla templates like [% Hook.process('some-hook') %].
+More information about them can be found in the documentation of
+Bugzilla::Extension. (Do "perldoc Bugzilla::Extension" from the main
+Bugzilla directory to see that documentation.) \ No newline at end of file
diff --git a/extensions/Mageia/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl b/extensions/Mageia/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl
new file mode 100644
index 000000000..675af49f1
--- /dev/null
+++ b/extensions/Mageia/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl
@@ -0,0 +1,23 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% UNLESS user.id %]
+ [% UNLESS Param('createemailregexp') AND user.authorizer.user_can_create_account %]
+ <li id="new_account_container[% qs_suffix FILTER html %]">
+ <span class="separator">| </span>
+ <a href="https://identity.mageia.org/register">New&nbsp;Account</a>
+ </li>
+ [% END %]
+
+ [% UNLESS user.authorizer.can_change_password %]
+ <li id="forgot_container[% qs_suffix FILTER html %]">
+ <span class="separator">| </span>
+ <a href="https://identity.mageia.org/forgot_password">Forgot Password</a>
+ </li>
+ [% END %]
+[% END %]
diff --git a/extensions/Mageia/template/en/default/hook/account/prefs/account-field.html.tmpl b/extensions/Mageia/template/en/default/hook/account/prefs/account-field.html.tmpl
new file mode 100644
index 000000000..700f06a69
--- /dev/null
+++ b/extensions/Mageia/template/en/default/hook/account/prefs/account-field.html.tmpl
@@ -0,0 +1,10 @@
+[% IF Param('user_verify_class') == "LDAP" %]
+ <tr>
+ <th></th>
+ <td>(Changes will be undone when you log out. Use the link below for permanent changes.)</td>
+ </tr>
+ <tr>
+ <th>Edit account (email address, password, real name):</th>
+ <td><a href="https://identity.mageia.org" target="_blank">Visit identity.mageia.org</a></td>
+ </tr>
+[% END %]
diff --git a/extensions/Mageia/template/en/default/hook/admin/sanitycheck/messages-statuses.html.tmpl b/extensions/Mageia/template/en/default/hook/admin/sanitycheck/messages-statuses.html.tmpl
new file mode 100644
index 000000000..19155048b
--- /dev/null
+++ b/extensions/Mageia/template/en/default/hook/admin/sanitycheck/messages-statuses.html.tmpl
@@ -0,0 +1,27 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% IF san_tag == "ldap_check_group_membership" %]
+ Checking group membership for LDAP groups.
+[% ELSIF san_tag == "ldap_repair_start" %]
+ OK, now fixing Bugzilla group memberships based on LDAP groups.
+[% ELSIF san_tag == "ldap_repair_end" %]
+ Bugzilla group memberships synchronization completed.
+[% ELSIF san_tag == "ldap_sync_alert" %]
+ LDAP error: [% ldap_error FILTER html %]
+[% ELSIF san_tag == "ldap_sync_group_mismatch_alert" %]
+ Group [% group FILTER html %] is out of sync:<br>
+ - [% old_users.size %] users are no longer in this group and should be removed:
+ [%+ old_users.join(", ") FILTER html %].<br>
+ - [% new_users.size %] users are not yet in this group and should be added:
+ [%+ new_users.join(", ") FILTER html %].
+[% ELSIF san_tag == "ldap_sync_repair_link" %]
+ <a href="sanitycheck.cgi?sync_ldap_groups=1&amp;token=
+ [%- issue_hash_token(['sanitycheck']) FILTER uri %]">Synchronize Bugzilla groups
+ with LDAP groups (LDAP -> Bugzilla).</a>
+[% END %]
diff --git a/extensions/Mageia/template/en/default/hook/bug/comments-a_comment-end.html.tmpl b/extensions/Mageia/template/en/default/hook/bug/comments-a_comment-end.html.tmpl
new file mode 100644
index 000000000..668c3e8e9
--- /dev/null
+++ b/extensions/Mageia/template/en/default/hook/bug/comments-a_comment-end.html.tmpl
@@ -0,0 +1,79 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% RETURN IF user.setting('mga_inline_history') == 'off' %]
+
+[% FOREACH activity = comment.inline_history %]
+ [% IF activity.after %]
+ </div>
+ <div class="bz_comment bz_inline_history">
+ <div class="bz_comment_head">
+ <span class="bz_comment_user">
+ [%# No need to recreate the exact same template if we already have it. %]
+ [% who_id = activity.who.id %]
+ [% UNLESS user_cache.$who_id %]
+ [% user_cache.$who_id = BLOCK %]
+ [% INCLUDE global/user.html.tmpl who = activity.who %]
+ [% END %]
+ [% END %]
+ [% user_cache.$who_id FILTER none %]
+ </span>
+
+ <span class="bz_comment_user_images">
+ [% FOREACH group = activity.who.groups_with_icon %]
+ <img src="[% group.icon_url FILTER html %]"
+ alt="[% group.name FILTER html %]"
+ title="[% group.name FILTER html %] - [% group.description FILTER html %]">
+ [% END %]
+ </span>
+
+ <span class="bz_comment_time">
+ [%+ activity.when FILTER time %]
+ </span>
+ </div>
+ [% ELSE %]
+ <hr>
+ [% END %]
+
+ <p class="bz_inline_history">
+ [% FOREACH change = activity.changes %]
+ [% IF change.attachid AND field_descs.${change.fieldname}.match('^Attachment') %]
+ <a href="attachment.cgi?id=[% change.attachid FILTER html %]&amp;action=edit">
+ [% field_descs.${change.fieldname}.replace('^Attachment', "Attachment ${change.attachid}</a>") FILTER none %]:
+ [% ELSIF activity.comment_id AND field_descs.${change.fieldname}.match('^Comment') %]
+ [% comment_num = change.comment.count %]
+ <a href="show_bug.cgi?id=[% bug.id FILTER html %]#c[% comment_num FILTER html %]"
+ onclick="document.getElementById('c[% comment_num FILTER html %]').classList.add('bz_comment_hilite')">
+ [% field_descs.${change.fieldname}.replace('^Comment', "Comment $comment_num</a>") FILTER none %]:
+ [% ELSE %]
+ [% field_descs.${change.fieldname} FILTER html %]:
+ [% END %]
+ <span class="change_removed">[% PROCESS format_field_value value = change.removed %]</span> =>
+ <span class="change_added">[% PROCESS format_field_value value = change.added %]</span><br>
+ [% END %]
+ </p>
+[% END %]
+
+[% BLOCK format_field_value %]
+ [% IF value.length %]
+ [% IF change.fieldname == 'assigned_to' ||
+ change.fieldname == 'reporter' ||
+ change.fieldname == 'qa_contact' ||
+ change.fieldname == 'cc' ||
+ change.fieldname == 'flagtypes.name' %]
+ [% display_value(change.fieldname, value) FILTER email FILTER html %]
+ [% ELSIF change.fieldname == 'cf_cve' %]
+ [%# Split long lists of CVE's on multiple lines %]
+ [% display_value(change.fieldname, value.replace(',', ', ')) FILTER html FILTER html_line_break %]
+ [% ELSE %]
+ [% display_value(change.fieldname, value) FILTER html FILTER html_line_break %]
+ [% END %]
+ [% ELSE %]
+ (none)
+ [% END %]
+[% END %]
diff --git a/extensions/Mageia/template/en/default/hook/bug/field-start_field_column.html.tmpl b/extensions/Mageia/template/en/default/hook/bug/field-start_field_column.html.tmpl
new file mode 100644
index 000000000..d4dd4ee60
--- /dev/null
+++ b/extensions/Mageia/template/en/default/hook/bug/field-start_field_column.html.tmpl
@@ -0,0 +1,12 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[%# Split long lists of CVE's on multiple lines %]
+[% IF field.name == 'cf_cve' AND NOT editable %]
+ [% SET value = value.replace(',', ', ') %]
+[% END %]
diff --git a/extensions/Mageia/template/en/default/hook/global/header-start.html.tmpl b/extensions/Mageia/template/en/default/hook/global/header-start.html.tmpl
new file mode 100644
index 000000000..01fab7fab
--- /dev/null
+++ b/extensions/Mageia/template/en/default/hook/global/header-start.html.tmpl
@@ -0,0 +1,10 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% favicon_url = "https://www.mageia.org/g/favicon.png" %]
+[% style_urls.push("extensions/Mageia/web/style.css") %]
diff --git a/extensions/Mageia/template/en/default/hook/global/setting-descs-settings.none.tmpl b/extensions/Mageia/template/en/default/hook/global/setting-descs-settings.none.tmpl
new file mode 100644
index 000000000..5b1da08aa
--- /dev/null
+++ b/extensions/Mageia/template/en/default/hook/global/setting-descs-settings.none.tmpl
@@ -0,0 +1,9 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% setting_descs.mga_inline_history = "Display inline history in $terms.bug reports" %]
diff --git a/extensions/Mageia/template/en/default/hook/global/variables-end.none.tmpl b/extensions/Mageia/template/en/default/hook/global/variables-end.none.tmpl
new file mode 100644
index 000000000..4f651a5ae
--- /dev/null
+++ b/extensions/Mageia/template/en/default/hook/global/variables-end.none.tmpl
@@ -0,0 +1,9 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% terms.Bugzilla = "Mageia Bugzilla" %]
diff --git a/extensions/Mageia/template/en/default/hook/index-additional_links.html.tmpl b/extensions/Mageia/template/en/default/hook/index-additional_links.html.tmpl
new file mode 100644
index 000000000..3c2585887
--- /dev/null
+++ b/extensions/Mageia/template/en/default/hook/index-additional_links.html.tmpl
@@ -0,0 +1,14 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% UNLESS user.id %]
+ <p id="create_account">
+ Don't have an account on [% terms.Bugzilla %]?
+ <a href="https://identity.mageia.org/register">Create one</a>.
+ </p>
+[% END %]
diff --git a/extensions/Mageia/template/en/default/mageia/README b/extensions/Mageia/template/en/default/mageia/README
new file mode 100644
index 000000000..099d1a41a
--- /dev/null
+++ b/extensions/Mageia/template/en/default/mageia/README
@@ -0,0 +1,16 @@
+Normal templates go in this directory. You can load them in your
+code like this:
+
+use Bugzilla::Error;
+my $template = Bugzilla->template;
+$template->process('mageia/some-template.html.tmpl')
+ or ThrowTemplateError($template->error());
+
+That would be how to load a file called some-template.html.tmpl that
+was in this directory.
+
+Note that you have to be careful that the full path of your template
+never conflicts with a template that exists in Bugzilla or in
+another extension, or your template might override that template. That's why
+we created this directory called 'mageia' for you, so you
+can put your templates in here to help avoid conflicts. \ No newline at end of file