Plugin Directory

Changeset 1715448


Ignore:
Timestamp:
08/18/2017 06:08:32 PM (9 years ago)
Author:
canvasflow
Message:

Add an error message when a publication don't have any styles

Location:
canvasflow/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • canvasflow/trunk/README.md

    r1714764 r1715448  
    5555
    5656#### Changelog
     57##### 0.9.5
     58* Add error message when there are no styles in a publication
    5759
    5860##### 0.9.4
    59 * Change plugin base_url from http://api.canvasflow.webhop.net/ to http://api.canvasflow.io/
    6061* Upload pages to Canvasflow
    6162
     
    7475
    7576#### Upgrade Notice
     77##### 0.9.5
     78Add a message when there are no styles in a publication
     79
    7680##### 0.9.4
    7781This version let the user post pages as article in Canvasflow.
  • canvasflow/trunk/includes/canvasflow-settings.php

    r1714764 r1715448  
    216216                $body = $response['body'];
    217217                if($http_response_code == 200){
     218                    if($body == "[]"){
     219                        $message = "There are no styles for this publication";
     220                        echo "<div class=\"error-message\"><div><b>{$message}</b></div></div>";
     221                    }
    218222                    return json_decode($body, true);
    219223                } else {
  • canvasflow/trunk/readme.txt

    r1714764 r1715448  
    7070
    7171== Changelog ==
     72= 0.9.5 =
     73* Add a message when a publication don't have any styles
    7274
    7375= 0.9.4 =
    74 * Change plugin base_url from http://api.canvasflow.webhop.net/ to http://api.canvasflow.io/
    7576* Users can now upload pages to Canvasflow
    7677
Note: See TracChangeset for help on using the changeset viewer.