Commit 45753072 authored by sikeda's avatar sikeda
Browse files

[-dev] Removing unneccessary codes in CSS/HTML and added missing translation strings.

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@11832 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent f92b341c
......@@ -10,7 +10,7 @@
<input class="MainMenuLinks" type="submit" name="action_restore_list" value="[%|loc%]Restore List[%END%]" onClick="return request_confirm('[% FILTER escape_quote %][%|loc(list)%]Are you sure you wish to restore list %1?[%END%][%END%]');"/> [%|loc%]This list is currently closed. Clicking this button will make it active again.[%END%]
<input type="hidden" name="list" value="[% list %]"/>
[% ELSE %]
<input class="MainMenuLinks" type="submit" name="action_close_list" value="Close List" onClick="return request_confirm('[% FILTER escape_quote %][%|loc(list)%]Are you sure you wish to close list %1?[%END%][%END%]');"/>
<input class="MainMenuLinks" type="submit" name="action_close_list" value="[%|loc%]Close List[%END%]" onClick="return request_confirm('[% FILTER escape_quote %][%|loc(list)%]Are you sure you wish to close list %1?[%END%][%END%]');"/>
<input type="hidden" name="list" value="[% list %]"/>
[% END %]
</fieldset>
......@@ -33,11 +33,11 @@
<form name="manage_shared_status" action="[% path_cgi %]" method="post">
<fieldset>
[% IF shared == 'none' %]
<input class="MainMenuLinks" type="submit" name="action_d_admin" value="Create Shared Content"/> [%|loc%]Initializes the shared document web space.[%END%]
<input class="MainMenuLinks" type="submit" name="action_d_admin" value="[%|loc%]Create Shared Content[%END%]"/> [%|loc%]Initializes the shared document web space.[%END%]
<input type="hidden" name="list" value="[% list %]"/>
<input type="hidden" name="d_admin" value="create"/>
[% ELSIF shared == 'exist' %]
<input class="MainMenuLinks" type="submit" name="action_d_admin" value="Delete Shared Documents" onClick="return request_confirm('[% FILTER escape_quote %][%|loc(listname)%]Are you sure you wish to delete the shared documents for list %1?[%END%][%END%]');"/></li>
<input class="MainMenuLinks" type="submit" name="action_d_admin" value="[%|loc%]Delete Shared Documents[%END%]" onClick="return request_confirm('[% FILTER escape_quote %][%|loc(listname)%]Are you sure you wish to delete the shared documents for list %1?[%END%][%END%]');"/></li>
<input type="hidden" name="list" value="[% list %]"/>
<input type="hidden" name="d_admin" value="delete"/>
[% ELSIF shared == 'deleted' %]
......
......@@ -38,10 +38,6 @@
[% PROCESS javascript.tt2 %]
<!--<link rel="stylesheet" type="text/css" href="/hub/res/bar.css" />
<script type="text/javascript" src="/hub/res/bar.js"></script>-->
<script src="/static-sympa/external/modernizr.custom.js"></script>
[% IF base %] <base href="[% base %]" /> [% END %]
</head>
......
......@@ -17,6 +17,7 @@
[% IF template.value.selected || loop.size == 1 %]
checked="checked"
[% END %]
id="template.[% template.key %]"
/>
[% PROCESS $template.value.comment %]
</li>
......@@ -26,6 +27,7 @@
[% IF template.value.selected %]
checked="checked"
[% END %]
id="template.[% template.key %]"
/> [% template.key %]
</li>
[% END %]
......@@ -104,4 +106,21 @@
[% END %]
</div>
[%# Initialize toggle. #%]
<script>
<!--
$('#list_copy').hide();
$('a[href="#list_copy"], a[href="#list_create"]').on('click', function(e) {
e.stopPropagation();
e.preventDefault();
id = $(this).attr('href').substr(1);
$('#list_copy, #list_create').hide();
$('#' + id).show();
return false;
});
//-->
</script>
<!-- end create_list_request.tt2 -->
......@@ -684,10 +684,6 @@ ul#MainMenuLinks li {
padding-right: 3px;
}
#list_copy {
display: none;
}
td.adminmenu {
text-align: center;
}
......
......@@ -53,7 +53,7 @@
[% END %]
[% IF single_topic != "" %]
<ul class="mailing_lists_menu">
<li><a href="[% path_cgi %]/lists"><strong>[%|loc%]List of lists[%END%]</strong></a></li>
<li><a href="[% path_cgi %]/lists" onclick="show('loading'); hide('content-inner');"><strong>[%|loc%]List of lists[%END%]</strong></a></li>
</ul>
[% ELSE %]
<ul class="mailing_lists_menu">
......@@ -61,17 +61,17 @@
[% FOREACH topic = topics %]
[% IF topic.id == 'other' || topic.id == 'topicsless' %]
[% UNLESS topic_other %]
<li><a href="[% path_cgi %]/lists/[% topic.id %]"><strong>[% IF topic.current_title %][% topic.current_title %][% ELSE %][%|loc%]Others[%END%][% END %]</strong></a></li>
<li><a href="[% path_cgi %]/lists/[% topic.id %]" onclick="show('loading'); hide('content-inner');"><strong>[% IF topic.current_title %][% topic.current_title %][% ELSE %][%|loc%]Others[%END%][% END %]</strong></a></li>
[% SET topic_other = 1 %]
[% END %]
[% ELSE %]
<li><a href="[% path_cgi %]/lists/[% topic.id %]"><strong>[% topic.current_title %]</strong></a></li>
<li><a href="[% path_cgi %]/lists/[% topic.id %]" onclick="show('loading'); hide('content-inner');"><strong>[% topic.current_title %]</strong></a></li>
[% END %]
[% IF topic.sub.size %]
<ul class="no_style">
[% FOREACH subtopic = topic.sub %]
<li class="smaller"><a href="[% path_cgi %]/lists/[% topic.id %]/[% subtopic.key %]">[% subtopic.value.current_title %]</a></li>
<li class="smaller"><a href="[% path_cgi %]/lists/[% topic.id %]/[% subtopic.key %]" onclick="show('loading'); hide('content-inner');">[% subtopic.value.current_title %]</a></li>
[% END %]
</ul>
[% END %]
......
......@@ -5,11 +5,6 @@ So this may be used for locale-specific customization.
-%]
/* begin ja/css.tt2 */
@media screen { }
[%# Enlarge fonts. %]
body {
font-size: 110%;
line-height: 1.5;
}
[%#
Overriding font families. Problems such as below will be solved:
......@@ -26,8 +21,7 @@ ignored by Safari), MacOS classic (if any), Windows (Vista or later, then
XP/2000 or earlier), Red Hat/Fedora, Debian/Ubuntu, and others if any.
-%]
[%# Overriding default font family. %]
body,
.nav .navtoogle {
body {
font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ヒラギノ 角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "Yu Gothic", "メイリオ", Meiryo, "MS Pゴ シック", "VL Pゴシック", "VL PGothic", "TakaoExゴシック", TakaoExGothic, "IPAex ゴシック", IPAexGothic, "IPA Pゴシック", IPAPGothic, sans-serif;
}
[%# Overriding "monospace, serif" %]
......
......@@ -6,8 +6,7 @@ So this may be used for locale-specific customization.
/* begin ko/css.tt2 */
@media screen { }
[%# Overriding default font family. %]
body,
.nav .navtoogle {
body {
font-family:"Apple SD Gothic Neo Medium", AppleGothic, "맑은 고딕", "Malgun Gothic", "돋움 Regular", Dotum, UnDotum, "백묵 돋움", "Baekmuk Dotum", "은 돋움 Regular", "Un Dotum", sans-serif;
}
[%# Overriding "monospace, serif". %]
......
......@@ -53,10 +53,6 @@
[% PROCESS javascript.tt2 %]
<!--<link rel="stylesheet" type="text/css" href="/hub/res/bar.css" />
<script type="text/javascript" src="/hub/res/bar.js"></script>-->
<script src="/static-sympa/external/modernizr.custom.js"></script>
[% IF base %] <base href="[% base %]" /> [% END %]
</head>
......
......@@ -16,7 +16,7 @@
[% END %]
[% IF action == 'lists' %][% SET class = 'MainMenuLinksCurrentPage' %][% ELSE %][% SET class = 'MainMenuLinks' %][% END %]
<li><a class="[% class %]" href="[% path_cgi %]/lists" onclick="document.getElementById('loadingText').innerHTML='[%|loc%]Generating index...[%END%]'; show('loading'); hide('content-inner');">[%|loc%]Index of Lists[%END%]</a></li>
<li><a class="[% class %]" href="[% path_cgi %]/lists" onclick="show('loading'); hide('content-inner');">[%|loc%]Index of Lists[%END%]</a></li>
<li><a href="[% path_cgi %]/search_list_request">[%|loc%]Search for List(s)[%END%]</a></li>
......
......@@ -14,10 +14,9 @@
[%|loc%]You will receive an email that will allow you to choose your password.[%END%]
[% ELSE %]
[% IF requestpasswd_context == 'firstpasswd' %]
<h3>[%|loc%]Registration: Non-Massey Users[%END%]</h3>
<p>[%|loc%]Please enter your email address to begin the registration process.[%END%]</p>
[% ELSE %]
[%|loc%]You forgot your password, so you have to renew it.[%END%]
<p>[%|loc%]You forgot your password, so you have to renew it.[%END%]</p>
[% END %]
[% END %]
[% IF SAFE_TO_REVEAL_EMAIL %]
......
......@@ -60,8 +60,8 @@
<input type="hidden" name="list" value="[% list %]" />
<input type="hidden" name="action" value="search" />
<div class="form_row">
<label for="filter">[%|loc%]Search user by e-mail: [%END%]</label>
<input alt="[%|loc%]Search user by email[%END%]" type="text" size="18" id="filter" name="filter" value="[% filter %]" />
<label for="filter">[%|loc%]Search for a user by email address, name or part of them: [%END%]</label>
<input alt="[%|loc%]Search for a user[%END%]" type="text" size="18" id="filter" name="filter" value="[% filter %]" />
</div>
<div class="form_row"><input class="MainMenuLinks" type="submit" name="action_search" value="[%|loc%]Search[%END%]" /></div>
<br />
......
......@@ -108,7 +108,7 @@
<label for="list"></label><input id="list" type="text" name="list" size="20" /><div style="padding-top:1.0em; padding-bottom:0.25em; float:clear;"><input class="MainMenuLinks" type="submit" name="action_rebuildarc" value="[%|loc%]Rebuild archive[%END%]" /></div>
<h3>[%|loc%]Rebuild archives for all lists[%END%]</h3>
<p><b>Note:</b> [%|loc%]As this option may take a long time to complete, it is recommended (if possible) to use this option during non-busy times.[%END%]
<p><b>[%|loc%]Note:[%END%]</b> [%|loc%]As this option may take a long time to complete, it is recommended (if possible) to use this option during non-busy times.[%END%]
<div style="padding-bottom: 1.0em; float:clear;"> <input class="MainMenuLinks" type="submit" name="action_rebuildallarc" value="[%|loc%]Rebuild all[%END%]" /></div>
</fieldset>
</form>
......
......@@ -72,7 +72,7 @@
<p>[%|loc%]You can bulk suspend or revoke your memberships by selecting relevant lists and using the buttons below. The suspend option prevents delivery of emails, this can be useful if you are out of the office for some time.[%END%]</p>
<input class="MainMenuLinks" type="button" value="Toggle selection" onclick="toggle_selection(document.suspend_request.listname)" />
<input class="MainMenuLinks" type="button" value="[%|loc%]Toggle selection[%END%]" onclick="toggle_selection(document.suspend_request.listname)" />
<br />
<input type="hidden" name="action" value="suspend_request_action"/>
......
......@@ -38,10 +38,6 @@
[% PROCESS javascript.tt2 %]
<!--<link rel="stylesheet" type="text/css" href="/hub/res/bar.css" />
<script type="text/javascript" src="/hub/res/bar.js"></script>-->
<script src="/static-sympa/external/modernizr.custom.js"></script>
[% IF base %] <base href="[% base %]" /> [% END %]
</head>
......
......@@ -5,14 +5,8 @@ So this may be used for locale-specific customization.
-%]
/* begin zh-CN/css.tt2 */
@media screen { }
[%# Enlarge fonts. %]
body {
font-size: 110%;
line-height: 1.5;
}
[%# Overriding default font family. %]
body,
.nav .navtoogle {
body {
font-family:"儷黑 Pro", "LiHei Pro Medium", "华文黑体", STHeiti, Hei, "微软雅黑", "Microsoft YaHei", "MS Hei", "黑体", SimHei, "文泉驿微米黑", "WenQuanYi Micro Hei", sans-serif;
}
[%# Overriding "monospace, serif". %]
......
......@@ -5,14 +5,8 @@ So this may be used for locale-specific customization.
-%]
/* begin zh-TW/css.tt2 */
@media screen { }
[%# Enlarge fonts. %]
body {
font-size: 110%;
line-height: 1.5;
}
[%# Overriding default font family. %]
body,
.nav .navtoogle {
body {
font-family:"儷黑 Pro", "LiHei Pro", "Apple LiGothic", "微軟正黑體", "Microsoft JhengHei", sans-serif;
}
[%# Overriding "monospace, serif" %]
......
......@@ -60,17 +60,6 @@ function hide(div) {
$('#' + div).hide();
}
$(function() {
$('a[href="#list_copy"], a[href="#list_create"]').on('click',function(e){
e.stopPropagation();
e.preventDefault();
id = $(this).attr('href').substr(1);
$('#list_copy, #list_create').hide();
$('#' + id).show();
return false;
});
});
function hideError() {
$('#ErrorBlock').remove();
$('#ErrorMsg').remove();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment