WordPress.org

Plugin Directory

Changeset 566000


Ignore:
Timestamp:
07/01/12 09:55:07 (22 months ago)
Author:
ramiy
Message:

hide unused js files and add line brake before "powered by" (for larger resolutions).

Location:
treato/trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • treato/trunk/treato.php

    r547349 r566000  
    159159    private function register_scripts_and_styles() { 
    160160        if(is_admin()) { 
    161             $this->load_file(PLUGIN_NAME, '/' . PLUGIN_SLUG . '/js/admin.js', true); 
     161            //$this->load_file(PLUGIN_NAME, '/' . PLUGIN_SLUG . '/js/admin.js', true); 
    162162            $this->load_file(PLUGIN_NAME, '/' . PLUGIN_SLUG . '/css/admin.css', false); 
    163163        } else {  
    164             $this->load_file(PLUGIN_NAME, '/' . PLUGIN_SLUG . '/js/widget.js', true); 
    165             $this->load_file(PLUGIN_NAME, '/' . PLUGIN_SLUG . '/css/widget.css', false); 
    166         } // end if/else 
     164            //$this->load_file(PLUGIN_NAME, '/' . PLUGIN_SLUG . '/js/widget.js', true); 
     165            //$this->load_file(PLUGIN_NAME, '/' . PLUGIN_SLUG . '/css/widget.css', false); 
     166        } 
    167167    } // end register_scripts_and_styles 
    168168     
  • treato/trunk/views/widget.php

    r547338 r566000  
    1919<?php 
    2020    if ( $treato_poweredby == true ) { 
     21        echo '<br />'; 
    2122        _e( 'Powered by <a href="http://treato.com/">Treato.com</a>', treato ); 
    2223    } 
Note: See TracChangeset for help on using the changeset viewer.