document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. //How to make it?
  2.  
  3. //In common folder, Create a file (eg: autotext.php):
  4.  
  5. //code:
  6.  
  7. <?php
  8. $autotext= array(
  9. :haha:=> ‘HªªHªª’,
  10. :haahaa:=>=DË?â?¢Ë?=)) нªªË?°Ë?нªªË?°Ë?нªªË?°Ë? =))Ë?â?¢Ë?=D’,
  11. :hahaha:=> ‘Ħαªâ?ºÄ¦Î±Âªâ?ºÄ¦Î±Âªâ?ºâ?¦Â°Ë?â?º’,
  12. );
  13.  
  14.  
  15. //still in folder same too, Create a file (eg: autotext_page.html):
  16.  
  17. //code:
  18.  
  19. <div class="menu"><center><span style="display:block;float:left;width:40%"><font color="white">Code</font></span> <span style="display:block;float:left;width:20%"> &nbsp; &nbsp;</span> <span style="display:block;float:left;width:40%"><font color="white">Conversion</font></span></center></div>
  20. <div><center><span style="display:block;float:left;width:40%">:haha:</span> <span style="display:block;float:left;width:20%"> => </span> <span style="display:block;float:left;width:40%">HªªHªª</span></center></div>
  21. <div><center><span style="display:block;float:left;width:40%">:haahaa:</span> <span style="display:block;float:left;width:20%"> => </span><span style="display:block;float:left;width:40%">=DË?â?¢Ë?=)) нªªË?°Ë?нªªË?°Ë?нªªË?°Ë? =))Ë?â?¢Ë?=D</span></center></div>
  22. <div><center><span style="display:block;float:left;width:40%">:hahaha:</span> <span style="display:block;float:left;width:20%"> => </span><span style="display:block;float:left;width:40%">Ħαªâ?ºÄ¦Î±Âªâ?ºÄ¦Î±Âªâ?ºâ?¦Â°Ë?â?º</span></center></div>
  23.  
  24. //And edit the common/twitter.php file to add this line
  25.  
  26. //code:
  27.  
  28. <?php
  29. menu_register(array(
  30. ‘autotext’ => array(
  31. ‘security’ => true,
  32. ‘callback’ => ‘twitter_autotext_page’,
  33. ),
  34. ));
  35.  
  36. //next, go to file common/twitter.php
  37. //after:
  38. twitter_ensure_post_action();
  39. $status = twitter_url_shorten(stripslashes(trim($_POST[\'status\'])));
  40. before:
  41. if ($status) {
  42.  
  43. //Add the code
  44.  
  45. //code
  46.  
  47. require ‘autotext.php’;
  48. foreach($autotext as $kode => $emo) {
  49. $status = str_replace($kode, $emo, $status);
  50. }
  51.  
  52. //in common/twitter.php , add function autotext_page
  53.  
  54. //code
  55.  
  56. function twitter_autotext_page() {
  57. $content = theme(‘status_form’);
  58. $content .= file_get_contents(‘common/autotext_page.html’);
  59. theme(‘page’, ‘Autotext’, $content);
  60. }
  61.  
');