Plugin Directory

Changeset 711717


Ignore:
Timestamp:
05/12/2013 11:42:10 AM (13 years ago)
Author:
uberweb
Message:
  • add language support
Location:
uber-login-logo/trunk
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • uber-login-logo/trunk/uber-login-logo.php

    r704679 r711717  
    1414Plugin Name: Uber Login Logo
    1515Plugin URI: http://www.uberweb.com.au/uber-login-logo-wordpress-plugin/
    16 Description: Change login logo.
     16Description: Change your login logo.
    1717Version: 1.0
    1818Author: UberWeb
    1919Author URI: http://www.uberweb.com.au/
     20Text Domain: uber-login-logo
     21Domain Path: /languages/
    2022License: GPLv2 or later
    2123*/
     
    6769    public static function init()
    6870    {
     71        load_plugin_textdomain('uber-login-logo', false, dirname(plugin_basename(__FILE__)) . '/languages/');
    6972        add_action('admin_menu', array('UberLoginLogo', 'registerAdminMenu'));
    7073        add_filter('plugin_action_links', array('UberLoginLogo', 'registerPluginSettingsLink'),10,2);
     
    131134    /**
    132135     * Generate the HTML to display the plugin settings page
     136     *
     137     * @TODO seperate presentation logic
    133138     */
    134139    public static function showOptionsPage()
     
    202207                $img_data['height'] = $img[2];
    203208
    204                 update_option(uber_login_logo, $img_data);
     209                update_option('uber_login_logo', $img_data);
    205210
    206211                $returnval = json_encode(array('src' => $img_data['src'], 'id' => $img_data['id']));
Note: See TracChangeset for help on using the changeset viewer.