Advertisement:

Author Topic: Yeni Sanal Klavye  (Read 7575 times)

Offline !!kaos!!

  • Full Member
  • ***
  • Posts: 627
  • Gender: Male
  • ∂єαтн ωαℓк αηтιχ ραтяσηяαℓα ѕαуgı göѕтєя
    • ..................................
Yeni Sanal Klavye
« on: August 17, 2009, 10:16:37 AM »
Anlatım 1.1.x Serileri içindir..

Demo: Ekte resimde verilmiştir

index.template.php de bul:
Code: [Select]
    // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
    else
    {
        echo '                </span>
                                <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>

                                <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" class="middletext" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, '' . $context['session_id'] . '');"' : '', '>
                                    <input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />

Değiştir:
Code: [Select]
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo '<!-- begin of security-keypad -->
      <div id="security-keypad" onmouseover="keys.usePad();">

        <br /><br /><br /><br /><br /><div class="security-keypad-cover-tr"></div>
        <div class="security-keypad-inner">
          <div class="security-keypad-header">
            <div class="close-keypad"><a href="javascript:;" onclick="keys.hide(true);"><img src="'.$settings['default_theme_url'], '/js/security-keypad-close.gif"></a></div>
            <!--<input type="text" onblur="this.value==\'\' ? this.value=\'Ara...\' : this.value=this.value;" onfocus="this.value==\'Ara...\' ? this.value=\'\' : this.value=this.value;" value="Ara..." class="frmsearchname" name="k"/>-->
          </div>

          <div class="security-keypad-conteiner clearfix">
            <div class="security-keypad-req">Güvenliğiniz için lütfen şifrenizi sanal klavyeyi <br /> kullanarak giriniz</div>
            <div class="security-keypad-btn-top">
              <input class="btn bg2SG" type="button" value="1" id="_n_1"/>
              <input class="btn bg2SG" type="button" value="2" id="_n_2"/>

              <input class="btn bg2SG" type="button" value="3" id="_n_3"/>
              <input class="btn bg2SG" type="button" value="4" id="_n_4"/>
              <input class="btn bg2SG" type="button" value="5" id="_n_5"/>
              <input class="btn bg2SG" type="button" value="6" id="_n_6"/>
              <input class="btn bg2SG" type="button" value="7" id="_n_7"/>
              <input class="btn bg2SG" type="button" value="8" id="_n_8"/>
              <input class="btn bg2SG" type="button" value="9" id="_n_9"/>
              <input class="btn bg2SG" type="button" value="0" id="_n_0"/>
              <input class="btn bg3NO" type="button" value="Sil" id="_bkspc_"/>

              <input class="btn bg2SW" type="button" value="A" id="_a_1"/>
              <input class="btn bg2SW" type="button" value="B" id="_a_2"/>
              <input class="btn bg2SW" type="button" value="C" id="_a_3"/>
              <input class="btn bg2SW" type="button" value="D" id="_a_4"/>
              <input class="btn bg2SW" type="button" value="E" id="_a_5"/>
              <input class="btn bg2SW" type="button" value="F" id="_a_6"/>
              <input class="btn bg2SW" type="button" value="G" id="_a_7"/>
              <input class="btn bg2SW" type="button" value="H" id="_a_8"/>
              <input class="btn bg2SW" type="button" value="I" id="_a_9"/>

              <input class="btn bg2SW" type="button" value="J" id="_a_10"/>
              <input class="btn bg2SW" type="button" value="K" id="_a_11"/>
              <input class="btn bg2SW" type="button" value="L" id="_a_12"/>
              <input class="btn bg2SW" type="button" value="M" id="_a_13"/>
              <input class="btn bg2SW" type="button" value="N" id="_a_14"/>
              <input class="btn bg2SW" type="button" value="O" id="_a_15"/>
              <input class="btn bg2SW" type="button" value="P" id="_a_16"/>
              <input class="btn bg2SW" type="button" value="Q" id="_a_17"/>
              <input class="btn bg2SW" type="button" value="R" id="_a_18"/>

              <input class="btn bg2SW" type="button" value="S" id="_a_19"/>
              <input class="btn bg2SW" type="button" value="T" id="_a_20"/>
              <input class="btn bg2SW" type="button" value="U" id="_a_21"/>
              <input class="btn bg2SW" type="button" value="V" id="_a_22"/>
              <input class="btn bg2SW" type="button" value="W" id="_a_23"/>
              <input class="btn bg2SW" type="button" value="X" id="_a_24"/>
              <input class="btn bg2SW" type="button" value="Y" id="_a_25"/>
              <input class="btn bg2SW" type="button" value="Z" id="_a_26"/>
              <div class="security-keypad-btn-bottom clearfix">

                <input id="_title_down_" type="hidden" value="Küçük Harf" />
                <input id="_toggle_" class="btn bg3LW" type="button" value="Küçük Harf" onmouseup=\'keys.caseKeyPressed();\'/>
                <input id="_title_up_"  type="hidden" value="Büyük Harf" />
               
                <input type="hidden" value="Karıştır" id="_title_scramble_" />
                <input class="btn bg3LW" type="button" value="Karıştır" id="_scramble_" onmouseup="keys.scrambleKeyPressed();"/>
                <input type="hidden" value="Sırala" id="_title_reorder_" />
               
              </div>
            </div>
          </div>

        </div>
      </div>
    </div>
    <!-- end of #security-keypad -->
</span>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>

<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" class="middletext" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<input type="text" name="user" size="10" /> <input class=textField id=IDToken2
onblur=keys.hide(false); offFocus="keys.show(\'IDToken2\');" type="password" name="passwrd" size="10" />


bul:
Code: [Select]
</form>';
Değiştir:
Code: [Select]
                                       <br><form name="agreeform" onSubmit="return defaultagree(this)">
                                                     Sanal Klavyeyi Aç/Kapat<br>
                                                     <input class=textField id=IDToken2
                                                     onblur=keys.hide(false); onFocus="keys.show(\'IDToken2\');" name="agreecheck" type="checkbox" onClick="agreesubmit(this)"><b>Aç</b>
                                                     <input class=textField id=IDToken2
                                                     onblur=keys.hide(false); offFocus="keys.show(\'IDToken2\');" name="agreecheck" type="checkbox" onClick="agreesubmit(this)"><b>Kapat</b>
                                                     </form>';

bul:
Code: [Select]
</head>
<body>';

Değiştir:
Code: [Select]
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/js/jquery.js"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/js/keypad.js"></script>
</head>
<body>';

Login.template.php de bul:
Code: [Select]
<input type="password" name="passwrd" value="', $context['default_password'], '" size="20" />
Değiştir:
Code: [Select]
<!-- begin of security-keypad -->
      <div id="security-keypad" onmouseover="keys.usePad();">

        <br /><br /><br /><br /><br /><div class="security-keypad-cover-tr"></div>
        <div class="security-keypad-inner">
          <div class="security-keypad-header">
            <div class="close-keypad"><a href="javascript:;" onclick="keys.hide(true);"><img src="'.$settings['default_theme_url'], '/js/security-keypad-close.gif"></a></div>
            <!--<input type="text" onblur="this.value==\'\' ? this.value=\'Ara...\' : this.value=this.value;" onfocus="this.value==\'Ara...\' ? this.value=\'\' : this.value=this.value;" value="Ara..." class="frmsearchname" name="k"/>-->
          </div>

          <div class="security-keypad-conteiner clearfix">
            <div class="security-keypad-req">Güvenliğiniz için lütfen şifrenizi sanal klavyeyi <br /> kullanarak giriniz</div>
            <div class="security-keypad-btn-top">
              <input class="btn bg2SG" type="button" value="1" id="_n_1"/>
              <input class="btn bg2SG" type="button" value="2" id="_n_2"/>

              <input class="btn bg2SG" type="button" value="3" id="_n_3"/>
              <input class="btn bg2SG" type="button" value="4" id="_n_4"/>
              <input class="btn bg2SG" type="button" value="5" id="_n_5"/>
              <input class="btn bg2SG" type="button" value="6" id="_n_6"/>
              <input class="btn bg2SG" type="button" value="7" id="_n_7"/>
              <input class="btn bg2SG" type="button" value="8" id="_n_8"/>
              <input class="btn bg2SG" type="button" value="9" id="_n_9"/>
              <input class="btn bg2SG" type="button" value="0" id="_n_0"/>
              <input class="btn bg3NO" type="button" value="Sil" id="_bkspc_"/>

              <input class="btn bg2SW" type="button" value="A" id="_a_1"/>
              <input class="btn bg2SW" type="button" value="B" id="_a_2"/>
              <input class="btn bg2SW" type="button" value="C" id="_a_3"/>
              <input class="btn bg2SW" type="button" value="D" id="_a_4"/>
              <input class="btn bg2SW" type="button" value="E" id="_a_5"/>
              <input class="btn bg2SW" type="button" value="F" id="_a_6"/>
              <input class="btn bg2SW" type="button" value="G" id="_a_7"/>
              <input class="btn bg2SW" type="button" value="H" id="_a_8"/>
              <input class="btn bg2SW" type="button" value="I" id="_a_9"/>

              <input class="btn bg2SW" type="button" value="J" id="_a_10"/>
              <input class="btn bg2SW" type="button" value="K" id="_a_11"/>
              <input class="btn bg2SW" type="button" value="L" id="_a_12"/>
              <input class="btn bg2SW" type="button" value="M" id="_a_13"/>
              <input class="btn bg2SW" type="button" value="N" id="_a_14"/>
              <input class="btn bg2SW" type="button" value="O" id="_a_15"/>
              <input class="btn bg2SW" type="button" value="P" id="_a_16"/>
              <input class="btn bg2SW" type="button" value="Q" id="_a_17"/>
              <input class="btn bg2SW" type="button" value="R" id="_a_18"/>

              <input class="btn bg2SW" type="button" value="S" id="_a_19"/>
              <input class="btn bg2SW" type="button" value="T" id="_a_20"/>
              <input class="btn bg2SW" type="button" value="U" id="_a_21"/>
              <input class="btn bg2SW" type="button" value="V" id="_a_22"/>
              <input class="btn bg2SW" type="button" value="W" id="_a_23"/>
              <input class="btn bg2SW" type="button" value="X" id="_a_24"/>
              <input class="btn bg2SW" type="button" value="Y" id="_a_25"/>
              <input class="btn bg2SW" type="button" value="Z" id="_a_26"/>
              <div class="security-keypad-btn-bottom clearfix">

                <input id="_title_down_" type="hidden" value="Küçük Harf" />
                <input id="_toggle_" class="btn bg3LW" type="button" value="Küçük Harf" onmouseup=\'keys.caseKeyPressed();\'/>
                <input id="_title_up_"  type="hidden" value="Büyük Harf" />
               
                <input type="hidden" value="Karıştır" id="_title_scramble_" />
                <input class="btn bg3LW" type="button" value="Karıştır" id="_scramble_" onmouseup="keys.scrambleKeyPressed();"/>
                <input type="hidden" value="Sırala" id="_title_reorder_" />
               
              </div>
            </div>
          </div>

        </div>
      </div>
    </div>
    <!-- end of #security-keypad -->
<input class=textField id=IDToken1
onblur=keys.hide(false); onFocus="keys.show(\'IDToken1\');" type="password" name="passwrd" value="', $context['default_password'], '" size="20" />

Style.css Son satırına ekle:
Code: [Select]
#security-keypad {
   DISPLAY: none; Z-INDEX: 9999; LEFT: 260px! important; WIDTH: 409px; POSITION: absolute; TOP: -70px! important; HEIGHT: 216px
}
.security-keypad-cover {
   Z-INDEX: 100; BACKGROUND: url(i/security_keypad.jpg) no-repeat; LEFT: 0px; WIDTH: 409px; POSITION: absolute; HEIGHT: 216px
}
.security-keypad-cover-en {
   Z-INDEX: 100; BACKGROUND: url(i/security_keypad_en.jpg) no-repeat; LEFT: 0px; WIDTH: 409px; POSITION: absolute; HEIGHT: 216px
}
.security-keypad-cover-tr {
   Z-INDEX: 100; BACKGROUND: url(i/security_keypad_tr.jpg) no-repeat; LEFT: 0px; WIDTH: 409px; POSITION: absolute; HEIGHT: 216px
}
.security-keypad-inner {
   PADDING-RIGHT: 1px; PADDING-LEFT: 28px; Z-INDEX: 999; PADDING-BOTTOM: 20px; WIDTH: 380px; PADDING-TOP: 23px; POSITION: relative; HEIGHT: 147px; voice-family: inherit
}
.security-keypad-header {
   RIGHT: 15px; POSITION: absolute; TOP: 9px
}
.close-keypad {
   MARGIN-BOTTOM: 0px
}
.security-keypad-conteiner {
   CLEAR: both; PADDING-RIGHT: 5px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 17px; TEXT-ALIGN: left
}
.security-keypad-req {
   FONT-WEIGHT: 700; MARGIN-BOTTOM: 10px; COLOR: #4d4c4c; LINE-HEIGHT: 14px
}
#security-keypad .btn {
   DISPLAY: inline; FONT-SIZE: 13px; FLOAT: left; MARGIN-BOTTOM: 5px; COLOR: #181818; LINE-HEIGHT: 22px; MARGIN-RIGHT: 6px
}
.security-keypad-btn-bottom {
   CLEAR: both; MARGIN: 0px auto; WIDTH: 220px; POSITION: relative; TOP: 11px; TEXT-ALIGN: center
}
#security-keypad .bg2SW.btn {
   BACKGROUND: url(i/keypad-white-btn.gif) no-repeat; WIDTH: 22px; HEIGHT: 22px
}
#security-keypad .bg2SG.btn {
   BACKGROUND: url(i/keypad-gray-btn.gif) no-repeat; WIDTH: 22px; HEIGHT: 22px
}
#security-keypad .bg3LW.btn {
   BACKGROUND: url(i/keypad-white-96x22-btn.gif) no-repeat; WIDTH: 96px; HEIGHT: 22px
}
#security-keypad .bg3NO.btn {
   BACKGROUND: url(i/keypad-orange-51x22-btn.gif) no-repeat; WIDTH: 78px; HEIGHT: 22px
}
#security-keypad .bg3SO.btn {
   BACKGROUND: url(i/keypad-orange-btn.gif) no-repeat; WIDTH: 22px; HEIGHT: 22px
}

Ekteki dosyaları default klasörüne atın

Anlatım Bana Aittir
« Last Edit: August 23, 2009, 02:17:26 PM by !!kaos!! »

My Mod | My Site | SMF Kurulumu Resimli Anlatım | My Facebook
----------------------------------------------------------------------
SimpleDestek.Com Satışa Çıkmıştır Almak İsteyenler Benimle İletişime Geçsin..

Offline Hkan

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
Re: Yeni Sanal Klavye
« Reply #1 on: August 17, 2009, 10:23:02 AM »
Ben bu kodu kullanmam. Çünkü xHTML hatasına neden olur. Çok fazla hatalı kodlama var.

Offline !!kaos!!

  • Full Member
  • ***
  • Posts: 627
  • Gender: Male
  • ∂єαтн ωαℓк αηтιχ ραтяσηяαℓα ѕαуgı göѕтєя
    • ..................................

My Mod | My Site | SMF Kurulumu Resimli Anlatım | My Facebook
----------------------------------------------------------------------
SimpleDestek.Com Satışa Çıkmıştır Almak İsteyenler Benimle İletişime Geçsin..

Offline Hkan

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
Re: Yeni Sanal Klavye
« Reply #3 on: August 17, 2009, 10:33:54 AM »
Kodlar aynı şekilde kullanılmamış. Konuda verdiğiniz kodlarda büyük harfler var. Ama o sayfada yok.

Offline Sculptor

  • Semi-Newbie
  • *
  • Posts: 31
Re: Yeni Sanal Klavye
« Reply #4 on: August 17, 2009, 03:26:58 PM »
index.temp.php hata verdi sayfa çıkmadı.

Offline !!kaos!!

  • Full Member
  • ***
  • Posts: 627
  • Gender: Male
  • ∂єαтн ωαℓк αηтιχ ραтяσηяαℓα ѕαуgı göѕтєя
    • ..................................
Re: Yeni Sanal Klavye
« Reply #5 on: August 17, 2009, 03:51:47 PM »
index.template.php dosyanı eke koyarmısın

My Mod | My Site | SMF Kurulumu Resimli Anlatım | My Facebook
----------------------------------------------------------------------
SimpleDestek.Com Satışa Çıkmıştır Almak İsteyenler Benimle İletişime Geçsin..