WordPress.org

Plugin Directory

Changeset 544337


Ignore:
Timestamp:
05/15/12 03:07:28 (2 years ago)
Author:
xhanch_studio
Message:
 
Location:
xhanch-my-prayer-time/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • xhanch-my-prayer-time/trunk/js.js

    r220358 r544337  
    319319    tbl = tbl.getElementsByTagName("tbody")[0]; 
    320320     
    321     row = document.createElement("tr"); 
    322      
    323     for(tmp_atr in atr){ 
    324         if(tmp_atr == "class") 
    325             row.className = atr[tmp_atr]; 
    326         else 
    327             row.setAttribute(tmp_atr, atr[tmp_atr]); 
    328     } 
     321    var row = document.createElement("tr"); 
     322     
     323    try{ 
     324        for(tmp_atr in atr){         
     325            if(tmp_atr == "class") 
     326                row.className = atr[tmp_atr]; 
     327            else 
     328                row.setAttribute(tmp_atr, atr[tmp_atr]); 
     329        } 
     330    }catch(err){} 
    329331     
    330332    for(xmpt_ti=0;xmpt_ti<col_def.length;xmpt_ti++){ 
  • xhanch-my-prayer-time/trunk/xhanch_my_prayer_time.php

    r220894 r544337  
    9898                </div> 
    9999                <script type="text/javascript">xhanch_my_prayer_time_page_time_load();</script> 
    100                 <div class="credit"><a href="http://xhanch.com/wp-plugin-my-prayer-time/" rel="section" title="My Prayer Time - A free WordPress plugin to display your Moslem Prayer Timr for your visitor">My Prayer Time</a>, <a href="http://xhanch.com/" rel="section" title="Developed by Xhanch Studio">by Xhanch</a></div> 
    101100            </div> 
    102101        ';   
     102        /*      <div class="credit"><a href="http://xhanch.com/wp-plugin-my-prayer-time/" rel="section" title="My Prayer Time - A free WordPress plugin to display your Moslem Prayer Timr for your visitor">My Prayer Time</a>, <a href="http://xhanch.com/" rel="section" title="Developed by Xhanch Studio">by Xhanch</a></div>*/ 
    103103 
    104104        return str_ireplace($keyword, $replacement, $content); 
     
    223223            </table> 
    224224            <br/> 
    225             <?php xhanch_my_prayer_time_ajax_sct('xhanch_my_prayer_time_widget_time', 'widget_xhanch_my_prayer_time_table_ajax', $xhanch_my_prayer_time); ?> 
    226              
    227             <div class="credit"><a href="http://xhanch.com/wp-plugin-my-prayer-time/" rel="section" title="My Prayer Time - A free WordPress plugin to display your Moslem Prayer Timr for your visitor">My Prayer Time</a>, <a href="http://xhanch.com/" rel="section" title="Developed by Xhanch Studio">by Xhanch</a></div> 
     225            <?php xhanch_my_prayer_time_ajax_sct('xhanch_my_prayer_time_widget_time', 'widget_xhanch_my_prayer_time_table_ajax', $xhanch_my_prayer_time); ?>         
    228226        </div> 
    229227<?php        
     228        /*  <div class="credit"><a href="http://xhanch.com/wp-plugin-my-prayer-time/" rel="section" title="My Prayer Time - A free WordPress plugin to display your Moslem Prayer Timr for your visitor">My Prayer Time</a>, <a href="http://xhanch.com/" rel="section" title="Developed by Xhanch Studio">by Xhanch</a></div>*/ 
     229 
    230230        echo $after_widget; 
    231231        echo '<script language="javascript">xhanch_my_prayer_time_widget_time_load();</script>';     
Note: See TracChangeset for help on using the changeset viewer.