Plugin Directory

Changeset 1378565


Ignore:
Timestamp:
03/25/2016 07:56:16 AM (10 years ago)
Author:
pushwoosh
Message:

Firefox icon and title support

Location:
push-notifications/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • push-notifications/trunk/html/pushwoosh.html

    r1225048 r1378565  
    11<div >
    2 <b>Chrome/Safari Title:</b>
     2<b>Title:</b>
    33    <br/>
    44<input id="pushwoosh_safari_title" maxlength="32" name="safari_title" value='%s' type="text" placeholder="%s" />
  • push-notifications/trunk/pushwoosh.php

    r1229905 r1378565  
    33    /**
    44     * @package Pushwoosh
    5      * @version 2.3.18
     5     * @version 2.3.19
    66     */
    77
     
    1212    * Author: Pushwoosh, Inc
    1313    * Author URI: https://www.pushwoosh.com/
    14     * Version: 2.3.18
     14    * Version: 2.3.19
    1515    *
    1616    * Copyright 2014 Arello Mobile (email: support@arello-mobile.com)
     
    100100        $checkbox_label = sprintf('Send a push notification when the %s is published', htmlentities($post_type));
    101101        $textArea_placeholder = 'Input text of the push here, otherwise, the post title will be used.';
    102         $safari_title_placeholder = 'Chrome/Safari title';
     102        $safari_title_placeholder = 'Title';
    103103        $checkbox_checked = 'checked="checked"';
    104104        $message_content = '';
     
    145145        }
    146146        $options['chrome_title'] = $options['safari_title'];
     147        $options['firefox_title'] = $options['safari_title'];
    147148        $chrome_icon = $chrome_icon['text_string'];
    148         if ($chrome_icon)
     149        if ($chrome_icon) {
    149150            $options['chrome_icon'] = $chrome_icon;
     151            $options['firefox_icon'] = $chrome_icon;
     152        }
    150153
    151154        $pushwoosh  = new Pushwoosh(array('auth' => $api_token['text_string']));
  • push-notifications/trunk/readme.txt

    r1229905 r1378565  
    7979* Fix bug: do not send push on every post editing
    8080
     81= 2.3.19 =
     82* Firefox icon and title support
     83
    8184== Installation ==
    82851. Download the Pushwoosh plugin.
  • push-notifications/trunk/settings.php

    r1225048 r1378565  
    2727                    ),
    2828                'chrome_default_icon' => array(
    29                     'label' => 'Chrome Icon',
     29                    'label' => 'Chrome/Firefox Icon',
    3030                    'description' => 'Full URL to icon',
    3131                ),
    3232                'safari_title' => array(
    33                     'label' => 'Chrome/Safari Title',
    34                     'description' => 'If you do not wish to manually input Chrome/Safari Title every time, you can specify
    35                     the default title here. If you publish a post with a blank Chrome/Safari Title field,
     33                    'label' => 'Title',
     34                    'description' => 'If you do not wish to manually input Chrome/Firefox/Safari Title every time, you can specify
     35                    the default title here. If you publish a post with a blank Chrome/Firefox/Safari Title field,
    3636                    the URL of your website is used as default title.'
    3737                    ),
Note: See TracChangeset for help on using the changeset viewer.