07 Mar 2021 02:56 Yeni Konu Oluştur

Haberler:

Üye kayıt esnasında E-posta adresinizin doğru olduğuna ve Aktivasyon Mailinize bakmayı unutmayın.


sitenin yukarısına dil secimi koyma

Başlatan mavice, 20 Eyl 2015 20:05

« önceki - sonraki »

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

***

  1. 499

  2. 83

  3. 107

arkadaşlar yukarıya aşadaki resimdeki gibi dil secimi koymak istiyorum  nasıl yaparım
 
yardımlarınızı bekliyorum
hey gidi dünya..

***

  1. 499

  2. 83

  3. 107
arkadaşlar indextempal.php  yi ekte veriyorum  aşadaki yere almak istiyotum dil secimini

bide  üzerine gelince turkce  ve otekine gelince fare ile  en  diye yazmasını istiyorum nasıl yaparız
hey gidi dünya..

***

  1. 499

  2. 83

  3. 107
buruyun  dosyayı ekte verdim
kodu ekledigim degişiklik yaptıgım yer


if ($context['allow_search'])
{
echo '
     <a href="?language=turkish"><img src="http://www.replikacep.com/Themes/default/images/tr.png";; width="20" height="20" style="margin-left:15px;margin-top:5px;" /></a>
<a href="?language=english"><img src="http://www.replikacep.com/Themes/default/images/en.png" width="20" height="20"/></a>
hey gidi dünya..

*

  1. 1,102

  2. 102

  3. 300

bul
if ($context['allow_search'])
{
echo '
     <a href="?language=turkish"><img src="http://www.replikacep.com/Themes/default/images/tr.png";; width="20" height="20" style="margin-left:15px;margin-top:5px;" /></a>
<a href="?language=english"><img src="http://www.replikacep.com/Themes/default/images/en.png" width="20" height="20"/></a>

Değiş
<div style="float:right;">
     <a href="?language=turkish"><img src="http://www.replikacep.com/Themes/default/images/tr.png";; width="20" height="20" style="margin-left:15px;margin-top:5px;" /></a>
<a href="?language=english"><img src="http://www.replikacep.com/Themes/default/images/en.png" width="20" height="20"/></a>
</div>

***

  1. 499

  2. 83

  3. 107
if ($context['allow_search'])
{
echo '
      <div style="float:right;">
     <a href="?language=turkish"><img src="http://www.replikacep.com/Themes/default/images/tr.png";; width="20" height="20" style="margin-left:15px;margin-top:5px;" /></a>
<a href="?language=english"><img src="http://www.replikacep.com/Themes/default/images/en.png" width="20" height="20"/></a>
</div>

bu şekil ekledim  en başa kaydı   
hey gidi dünya..

*

  1. 1,102

  2. 102

  3. 300
20 Eyl 2015 23:31 #5 Son düzenlenme: 20 Eyl 2015 23:32 CeeMoo
Bul :
if ($context['allow_search'])
{
echo '
     <a href="?language=turkish"><img src="http://www.replikacep.com/Themes/default/images/tr.png";; width="20" height="20" style="margin-left:15px;margin-top:5px;" /></a>
<a href="?language=english"><img src="http://www.replikacep.com/Themes/default/images/en.png" width="20" height="20"/></a>
<form id="search_form" class="floatright" action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">
<input type="search" name="search" value="" class="input_text">&nbsp;';
        echo'<ul style="float: right;margin-right: 8px;border: 1px solid rgb(182, 181, 181);padding: 2.1px;border-radius: 3px;margin-top: 2.1px;background: #fff;"><li><a href="http://www.replikacep.com/google/search.html" target="_blank"> Google Arama </a></li></ul>';
// Using the quick search dropdown?
if (!empty($modSettings['search_dropdown']))
{
$selected = !empty($context['current_topic']) ? 'current_topic' : (!empty($context['current_board']) ? 'current_board' : 'all');

echo '
<select name="search_selection">
<option value="all"', ($selected == 'all' ? ' selected' : ''), '>', $txt['search_entireforum'], ' </option>';

// Can't limit it to a specific topic if we are not in one
if (!empty($context['current_topic']))
echo '
<option value="topic"', ($selected == 'current_topic' ? ' selected' : ''), '>', $txt['search_thistopic'], '</option>';

// Can't limit it to a specific board if we are not in one
if (!empty($context['current_board']))
echo '
<option value="board"', ($selected == 'current_board' ? ' selected' : ''), '>', $txt['search_thisbrd'], '</option>';
echo '
<option value="members"', ($selected == 'members' ? ' selected' : ''), '>', $txt['search_members'], ' </option>
</select>';
}

// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="', (!empty($modSettings['search_dropdown']) ? 'sd_topic' : 'topic'), '" value="', $context['current_topic'], '">';
// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="', (!empty($modSettings['search_dropdown']) ? 'sd_brd[' : 'brd['), $context['current_board'], ']"', ' value="', $context['current_board'], '">';

echo '
<input type="submit" name="search2" value="', $txt['search'], '" class="button_submit">
<input type="hidden" name="advanced" value="0">
</form>';
}

Değiş:
if ($context['allow_search'])
{
echo '
<form id="search_form" class="floatright" action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">
<input type="search" name="search" value="" class="input_text">&nbsp;';
        echo'<ul style="float: right;margin-right: 8px;border: 1px solid rgb(182, 181, 181);padding: 2.1px;border-radius: 3px;margin-top: 2.1px;background: #fff;"><li><a href="http://www.replikacep.com/google/search.html" target="_blank"> Google Arama </a></li></ul>';
// Using the quick search dropdown?
if (!empty($modSettings['search_dropdown']))
{
$selected = !empty($context['current_topic']) ? 'current_topic' : (!empty($context['current_board']) ? 'current_board' : 'all');

echo '
<select name="search_selection">
<option value="all"', ($selected == 'all' ? ' selected' : ''), '>', $txt['search_entireforum'], ' </option>';

// Can't limit it to a specific topic if we are not in one
if (!empty($context['current_topic']))
echo '
<option value="topic"', ($selected == 'current_topic' ? ' selected' : ''), '>', $txt['search_thistopic'], '</option>';

// Can't limit it to a specific board if we are not in one
if (!empty($context['current_board']))
echo '
<option value="board"', ($selected == 'current_board' ? ' selected' : ''), '>', $txt['search_thisbrd'], '</option>';
echo '
<option value="members"', ($selected == 'members' ? ' selected' : ''), '>', $txt['search_members'], ' </option>
</select>';
}

// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="', (!empty($modSettings['search_dropdown']) ? 'sd_topic' : 'topic'), '" value="', $context['current_topic'], '">';
// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="', (!empty($modSettings['search_dropdown']) ? 'sd_brd[' : 'brd['), $context['current_board'], ']"', ' value="', $context['current_board'], '">';

echo '
<input type="submit" name="search2" value="', $txt['search'], '" class="button_submit">
<input type="hidden" name="advanced" value="0">
</form>';
}

echo '
<div class="floatright">
    <a href="?language=turkish"><img src="http://www.replikacep.com/Themes/default/images/tr.png";; width="20" height="20" style="margin-left:15px;margin-top:5px;" /></a>
<a href="?language=english"><img src="http://www.replikacep.com/Themes/default/images/en.png" width="20" height="20"/></a>
</div>';

index.css bul :
#search_form {
    min-width: 30em;
    padding: 4px 0 0;
    text-align: right;
}
Değiş:
#search_form {
    padding: 4px 0 0;
    text-align: right;
}


MENU ×