미디어위키:Common.js: 두 판 사이의 차이
Resultofunion (토론 | 기여) 편집 요약 없음 |
Resultofunion (토론 | 기여) 편집 요약 없음 |
||
| 316번째 줄: | 316번째 줄: | ||
} | } | ||
}); | }); | ||
// 데스크탑 언어 | |||
var langDiv = document.getElementById('right-navigation'); | |||
if(langDiv){ | |||
var navHTML = '<nav id="p-cactions" class="mw-portlet mw-portlet-cactions vector-menu-dropdown-noicon vector-menu vector-menu-dropdown" aria-labelledby="p-cactions-label" role="navigation">' + | |||
'<input type="checkbox" id="p-cactions-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-cactions" class="vector-menu-checkbox" aria-labelledby="p-cactions-label">' + | |||
'<label id="p-cactions-label" aria-label="" class="vector-menu-heading">' + | |||
'<span class="select-language"></span>' + | |||
'<span class="vector-menu-heading-label">Language</span>' + | |||
'</label>' + | |||
'<div class="vector-menu-content">' + | |||
'<ul class="vector-menu-content-list">' + | |||
'<li class="mw-list-item"><a href="https://churchofgod.wiki" title="하나님의 교회 지식사전"><span>Korean</span></a></li>' + | |||
'<li class="mw-list-item"><a href="https://en.churchofgod.wiki" title="Church of God Knowledge Encyclopedia"><span>English</span></a></li>' + | |||
'<li class="mw-list-item"><a href="https://es.churchofgod.wiki" title="ChurchEnciclopedia de conocimiento de la Iglesia de Dios"><span>Spanish</span></a></li>' + | |||
'<li class="mw-list-item"><a href="https://vi.churchofgod.wiki" title="Từ điển tri thức Hội Thánh của Đức Chúa Trời"><span>Vietnamese</span></a></li>' + | |||
'<li class="mw-list-item"><a href="https://ne.churchofgod.wiki" title="नेपाली"><span>Nepali</span></a></li>' + | |||
'<li class="mw-list-item"><a href="https://pt.churchofgod.wiki" title="ENCICLOPÉDIA DO CONHECIMENTO DA IGREJA DE DEUS"><span>português</span></a></li>' + | |||
'</ul>' + | |||
'</div>' + | |||
'</nav>'; | |||
langDiv.insertAdjacentHTML('afterbegin', navHTML); | |||
} | |||