-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
232 lines (215 loc) · 16.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="alooshi,ziab_balooshi@yahoo.com'"/>
<meta name="copyright" content="Custom Google Translate"/>
<meta name='language' content='ES'>
<meta name='designer' content='Pawan Meena'>
<meta name='reply-to' content='pawanmeenazee@gmail.com'>
<meta name='directory' content='submission'>
<meta name='coverage' content='Worldwide'>
<meta name='distribution' content='Global'>
<meta name='rating' content='General'>
<meta name='target' content='all'>
<meta name='blogcatalog'>
<title>Custom Google Translate</title>
<!---------------ongmetatags-------->
<meta name='subtitle' content=''>
<meta name="description" content=""/>
<meta name="keywords" content=",google-translate ,custom-translate"/>
<meta name='og:description' content='custom-google-translate'>
<meta name='og:title' content=''>
<meta name='og:type' content='Website'>
<meta name='og:site_name' content='Pawan Meena'>
<meta name='og:image' content='https://pawan-meena.github.io/paypal-payment-html//favicon.png'>
<meta name='og:country-name' content='india'>
<meta name='og:region' content='asia'>
<meta name='og:locality' content='dubai'>
<link rel="shortcut icon" href="https://pawan-meena.github.io/paypal-payment-html//favicon.png">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- country flag -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.5.0/css/flag-icon.min.css" rel="stylesheet" type="text/css" />
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/css/bootstrap-select.min.css">
<!-- Jquery v3 -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- Fontawesome -->
<script src="https://kit.fontawesome.com/bd43ee06c8.js"></script>
<!-- Popper JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/js/bootstrap-select.min.js"></script>
<!-- customcss -->
<link rel="stylesheet" href="css/style.css">
</head>
<body><br>
<ul class="socialIcons">
<li class="linkedin"><a href="https://www.linkedin.com/in/pawan-meena/" target="_pawan"><i class="fa fa-fw fa-linkedin"></i>Linkedin</a></li>
<li class="instagram"><a href="https://www.instagram.com/pawansattawan_/" target="_pawan"><i class="fa fa-fw fa-instagram"></i>Instagram</a></li>
<li class="github"><a href="https://github.com/pawan-meena" target="_pawan"><i class="fa fa-fw fa-github"></i>Github</a></li>
<li class="facebook"><a href="https://www.facebook.com/pawanmeena.in" target="_pawan"><i class="fa fa-fw fa-facebook"></i>Facebook</a></li>
<li class="twitter"><a href="https://twitter.com/PawanSattawan" target="_pawan"><i class="fa fa-fw fa-twitter"></i>Twitter</a></li>
</ul>
<div class="shadow-none text-center" style="border-radius:4px;" href="javascript:void(0)">
<select class="selectpicker langlg" data-width="fit" onchange="doGTranslate(this);">
<option data-content='<i class="fa fa-globe" aria-hidden="true"></i> Language'>Language</option>
<option data-content='<span class="flag-icon flag-icon-af"></span> Afrikaans' value="en|af">Afrikaans</option>
<option data-content='<span class="flag-icon flag-icon-al"></span> Albanian' value="en|sq">Albanian</option>
<option data-content='<span class="flag-icon flag-icon-ar"></span> Arabic' value="en|ar">Arabic</option>
<option data-content='<span class="flag-icon flag-icon-am"></span> Armenian' value="en|hy">Armenian</option>
<option data-content='<span class="flag-icon flag-icon-az"></span> Azerbaijani' value="en|az">Azerbaijani</option>
<option data-content='<span class="flag-icon flag-icon-eu"></span> Basque' value="en|eu">Basque</option>
<option data-content='<span class="flag-icon flag-icon-be"></span> Belarusian' value="en|be">Belarusian</option>
<option data-content='<span class="flag-icon flag-icon-bg"></span> Bulgarian' value="en|bg">Bulgarian</option>
<option data-content='<span class="flag-icon flag-icon-cu"></span> Catalan' value="en|ca">Catalan</option>
<option data-content='<span class="flag-icon flag-icon-cn"></span> Chinese (Simplified)' value="en|zh-CN">Chinese (Simplified)</option>
<option data-content='<span class="flag-icon flag-icon-tw"></span> Chinese (Traditional)' value="en|zh-TW">Chinese (Traditional)</option>
<option data-content='<span class="flag-icon flag-icon-cz"></span> Czech' value="en|cs">Czech</option>
<option data-content='<span class="flag-icon flag-icon-dk"></span> Danish' value="en|da">Danish</option>
<option data-content='<span class="flag-icon flag-icon-nl"></span> Dutch' value="en|nl">Dutch</option>
<option data-content='<span class="flag-icon flag-icon-us"></span> English' value="en|en">English</option>
<option data-content='<span class="flag-icon flag-icon-et"></span> Estonian' value="en|et">Estonian</option>
<option data-content='<span class="flag-icon flag-icon-fi"></span> Finnish' value="en|fi">Finnish</option>
<option data-content='<span class="flag-icon flag-icon-fr"></span> French' value="en|fr">French</option>
<option data-content='<span class="flag-icon flag-icon-gl"></span> Galician' value="en|gl" >Galician</option>
<option data-content='<span class="flag-icon flag-icon-ge"></span> Georgian' value="en|ka">Georgian</option>
<option data-content='<span class="flag-icon flag-icon-de"></span> German' value="en|de">German</option>
<option data-content='<span class="flag-icon flag-icon-gr"></span> Greek' value="en|el">Greek</option>
<option data-content='<span class="flag-icon flag-icon-ht"></span> Haitian Creole' value="en|ht">Haitian Creole</option>
<option data-content='<span class="flag-icon flag-icon-il"></span> Hebrew' value="en|iw" >Hebrew</option>
<option data-content='<span class="flag-icon flag-icon-in"></span> Hindi' value="en|hi">Hindi</option>
<option data-content='<span class="flag-icon flag-icon-hu"></span> Hungarian' value="en|hu">Hungarian</option>
<option data-content='<span class="flag-icon flag-icon-is"></span> Icelandic' value="en|is">Icelandic</option>
<option data-content='<span class="flag-icon flag-icon-id"></span> Indonesian' value="en|id">Indonesian</option>
<option data-content='<span class="flag-icon flag-icon-ga"></span> Irish' value="en|ga" >Irish</option>
<option data-content='<span class="flag-icon flag-icon-it"></span> Italian' value="en|it">Italian</option>
<option data-content='<span class="flag-icon flag-icon-lv"></span> Latvian' value="en|lv">Latvian</option>
<option data-content='<span class="flag-icon flag-icon-lt"></span> Lithuanian' value="en|lt">Lithuanian</option>
<option data-content='<span class="flag-icon flag-icon-mk"></span> Macedonian' value="en|mk">Macedonian</option>
<option data-content='<span class="flag-icon flag-icon-ms"></span> Malay' value="en|ms">Malay</option>
<option data-content='<span class="flag-icon flag-icon-mt"></span> Maltese' value="en|mt">Maltese</option>
<option data-content='<span class="flag-icon flag-icon-no"></span> Norwegian' value="en|no">Norwegian</option>
<option data-content='<span class="flag-icon flag-icon-ro"></span> Romanian' value="en|ro">Romanian</option>
<option data-content='<span class="flag-icon flag-icon-ru"></span> Russian' value="en|ru">Russian</option>
<option data-content='<span class="flag-icon flag-icon-sr"></span> Serbian' value="en|sr">Serbian</option>
<option data-content='<span class="flag-icon flag-icon-es"></span> Spanish' value="en|es">Spanish</option>
<option data-content='<span class="flag-icon flag-icon-sv"></span> Swedish' value="en|sv">Swedish</option>
<option data-content='<span class="flag-icon flag-icon-th"></span> Thai' value="en|th">Thai</option>
<option data-content='<span class="flag-icon flag-icon-tr"></span> Turkish' value="en|tr">Turkish</option>
<option data-content='<span class="flag-icon flag-icon-ua"></span> Ukrainian' value="en|uk">Ukrainian</option>
<option data-content='<span class="flag-icon flag-icon-pk"></span> Urdu' value="en|ur">Urdu</option>
<option data-content='<span class="flag-icon flag-icon-vi"></span> Vietnamese' value="en|vi">Vietnamese</option>
<option data-content='<span class="flag-icon flag-icon-cy"></span> Welsh' value="en|cy">Welsh</option>
</select>
<div id="google_translate_element2" style="display:none"></div>
</div>
<div class="container text-center pt-5">
<div class="row">
<div class="col"><p style="border:2px solid #0077b5;" class="p-2">
Morpht upgraded the Australian Law Reform Commission (ALRC) from Drupal 6 to Drupal 7, making it responsive and porting across custom functionality from the legacy site.
For people running a Drupal 6 site there is a dilemma: keep with the current Drupal 6 implementation and possibly risk it not being supported, or upgrade the site to Drupal 7 or possibly even Drupal 8. The decision is both easy and hard. On one hand Drupal 6 is rapidly becoming outdated. Many contributed modules are no longer back porting changes and the support path fro Drupal 6 is unclear as the community looks forward to Drupal 8. However, the decision is also difficult as a choice has to be made between Drupal 7, which is stable and well tested, and Drupal 8, which will have new features and improvements but does not yet have full release.
This was the decision which faced the ALRC as they contemplated an upgrade. In the end the decision was made to go with Drupal 7 - the battle tested, current version, of Drupal. The upgrade was to take a light touch and covert the look, feel and functionality of the site into the new version. The main improvement which was made to the site was to be a responsive design so that the site would work well in a variety of browsers, including mobile.
The process itself was divided into a number of stages. Firstly we had to deal with the upgrade of core and contributed modules. We had to do this in such a way that all upgrades could be scripted and rerun on the database if required. This meant that we had a completely automated way of updated the code and database in one go, with no need for human intervention. Secondly we had to port a number of custom modules over to Drupal 7. We also had to swap in some new contrib modules where legcay modules were no longer in use.
All up the project went very well. The ALRC website was converted across to Drupal 7 with very little disruption to the user experience and the data collection requirements of the ALRC. The main bonus was a responsive site which will future proof the site.
</p></div>
</div>
</div>
<footer>
<p><img src="https://pawan-meena.github.io/paypal-payment-html/favicon.png" style="width:30px;border-radius:13px;margin:0px 12px;border: 3px solid #00b9ff;">Made By <a href="https://docs.google.com/forms/d/17Fcv36a7qdKUcbcVu_5nUBEww7J9yUaJbVuZ8FNmcNM/" target="_pawan">Pawan Meena</a></p>
</footer>
<!-- ===================javascript google trna.......===========
if(langlastItem=="en|af"
||langlastItem=="en|sq"
||langlastItem=="en|ar"
||langlastItem=="en|hy"
||langlastItem=="en|az"
||langlastItem=="en|eu"
||langlastItem=="en|be"
||langlastItem=="en|bg"
||langlastItem=="en|ca"
||langlastItem=="en|zh-on"
||langlastItem=="en|zh-ion"
||langlastItem=="en|cs"
||langlastItem=="en|da"
||langlastItem=="en|nl"
||langlastItem=="en|en"
||langlastItem=="en|et"
||langlastItem=="en|fi"
||langlastItem=="en|fr"
||langlastItem=="en|gl"
||langlastItem=="en|ka"
||langlastItem=="en|de"
||langlastItem=="en|el"
||langlastItem=="en|ht"
||langlastItem=="en|iw"
||langlastItem=="en|hi"
||langlastItem=="en|hu"
||langlastItem=="en|is"
||langlastItem=="en|id"
||langlastItem=="en|ga"
||langlastItem=="en|it"
||langlastItem=="en|lv"
||langlastItem=="en|lt"
||langlastItem=="en|mk"
||langlastItem=="en|ms"
||langlastItem=="en|mt"
||langlastItem=="en|no"
||langlastItem=="en|ro"
||langlastItem=="en|ru"
||langlastItem=="en|sr"
||langlastItem=="en|es"
||langlastItem=="en|sv"
||langlastItem=="en|th"
||langlastItem=="en|tr"
||langlastItem=="en|uk"
||langlastItem=="en|ur"
||langlastItem=="en|vi"
||langlastItem=="en|cy"){
doGTranslate(langlastItem);
}
<script type="text/javascript">
$(document).ready(function() {
setTimeout(function() {
var pathname = window.location.pathname;
let langseturl = pathname.split("/");
let langlastItem = 'en|'+langseturl[langseturl.length - 1]
doGTranslate(langlastItem);
}, 1000);
});
function setlang() {
let v = $('#langvalue').val();
doGTranslate(v);
let url = v.split("|");
history.pushState(url[1], url[1], './'+url[1])
}
function googleTranslateElementInit2() {
new google.translate.TranslateElement({pageLanguage: 'en',autoDisplay: false}, 'google_translate_element2');}
</script>
<script type="text/javascript" src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit2"></script>
<script type="text/javascript">
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('6 7(a,b){n{4(2.9){3 c=2.9("o");c.p(b,f,f);a.q(c)}g{3 c=2.r();a.s(\'t\'+b,c)}}u(e){}}6 h(a){4(a.8)a=a.8;4(a==\'\')v;3 b=a.w(\'|\')[1];3 c;3 d=2.x(\'y\');z(3 i=0;i<d.5;i++)4(d[i].A==\'B-C-D\')c=d[i];4(2.j(\'k\')==E||2.j(\'k\').l.5==0||c.5==0||c.l.5==0){F(6(){h(a)},G)}g{c.8=b;7(c,\'m\');7(c,\'m\')}}',43,43,'||document|var|if|length|function|GTranslateFireEvent|value|createEvent||||||true|else|doGTranslate||getElementById|google_translate_element2|innerHTML|change|try|HTMLEvents|initEvent|dispatchEvent|createEventObject|fireEvent|on|catch|return|split|getElementsByTagName|select|for|className|goog|te|combo|null|setTimeout|500'.split('|'),0,{}))
$(function(){
// $('.selectpicker').selectpicker();
});
</script>
===================javascript google trna.......=========== -->
<!-- ===================javascript google trna.......=========== -->
<script type="text/javascript">
function googleTranslateElementInit2() {
new google.translate.TranslateElement({pageLanguage: 'en',autoDisplay: false}, 'google_translate_element2');}
</script>
<script type="text/javascript" src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit2"></script>
<script type="text/javascript">
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('6 7(a,b){n{4(2.9){3 c=2.9("o");c.p(b,f,f);a.q(c)}g{3 c=2.r();a.s(\'t\'+b,c)}}u(e){}}6 h(a){4(a.8)a=a.8;4(a==\'\')v;3 b=a.w(\'|\')[1];3 c;3 d=2.x(\'y\');z(3 i=0;i<d.5;i++)4(d[i].A==\'B-C-D\')c=d[i];4(2.j(\'k\')==E||2.j(\'k\').l.5==0||c.5==0||c.l.5==0){F(6(){h(a)},G)}g{c.8=b;7(c,\'m\');7(c,\'m\')}}',43,43,'||document|var|if|length|function|GTranslateFireEvent|value|createEvent||||||true|else|doGTranslate||getElementById|google_translate_element2|innerHTML|change|try|HTMLEvents|initEvent|dispatchEvent|createEventObject|fireEvent|on|catch|return|split|getElementsByTagName|select|for|className|goog|te|combo|null|setTimeout|500'.split('|'),0,{}))
$(function(){
$('.selectpicker').selectpicker();
});
</script>
<!-- ===================javascript google trna.......=========== -->
</body>
</html>