Plugin Directory

Changeset 1156841


Ignore:
Timestamp:
05/09/2015 12:31:03 PM (10 years ago)
Author:
Matthieu20
Message:

improvements of the plugin

Location:
aweber-dev-facile
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • aweber-dev-facile/tags/0.2/classes/admin/main.php

    r1156827 r1156841  
    257257                <th scope="row">'.__( 'step-1', DEV_NAME ).'</th>
    258258                <td><a target="_blank"
    259                     href="https://auth.aweber.com/1.0/oauth/authorize_app/'.$this->APP_ID.'">'.__( 'get-authorization-code', DEV_NAME ).'</a>
     259                    href="https://auth.aweber.com/1.0/oauth/authorize_app/'.$this->APP_ID.'">'.__( 'get-authorization-code', DEV_NAME ).'</a></td>
    260260                </tr>
    261261
     
    263263                <th scope="row">'.__( 'step-2', DEV_NAME ).' '.__( 'paste-authorization-code', DEV_NAME ).'</th>
    264264                <td><input type="text" size="69" name="'.$this->adminOauthID.'"/></td>
     265                </tr>
     266               
    265267                </table>
    266268                <p class="submit">
    267                     <input type="hidden" name="_wp_http_referer" value="'.admin_url('options-general.php?page=api-AW-devfacile.php').'" />
    268269                    <input type="submit" id="aweber-settings-button" class="button-primary" value="'.__( 'btn-make-connection', DEV_NAME ).'" />
    269270                </p>';
  • aweber-dev-facile/tags/0.2/classes/settings.php

    r1156131 r1156841  
    5757    {   
    5858
    59         if ( ! $this->pluginAdminOptions['content_infos'])
     59        if ( !$this->pluginAdminOptions['content_infos'])
    6060        {
    6161            $oDataInfos = new AWeberDevFacile_dataInfos(-9, 0);
     
    118118
    119119        // create an array with infos
    120         if ( ! $this->pluginAdminOptions['content_infos'])
     120        if ( !$this->pluginAdminOptions['content_infos'])
    121121        {
    122122            $aCountLists[0] = array();
     
    148148    {
    149149
    150         if ( ! $this->pluginAdminOptions['content_infos'])
     150        if ( !$this->pluginAdminOptions['content_infos'])
    151151        {
    152152            return 1;// no infos, add it
  • aweber-dev-facile/trunk/classes/admin/main.php

    r1156827 r1156841  
    257257                <th scope="row">'.__( 'step-1', DEV_NAME ).'</th>
    258258                <td><a target="_blank"
    259                     href="https://auth.aweber.com/1.0/oauth/authorize_app/'.$this->APP_ID.'">'.__( 'get-authorization-code', DEV_NAME ).'</a>
     259                    href="https://auth.aweber.com/1.0/oauth/authorize_app/'.$this->APP_ID.'">'.__( 'get-authorization-code', DEV_NAME ).'</a></td>
    260260                </tr>
    261261
     
    263263                <th scope="row">'.__( 'step-2', DEV_NAME ).' '.__( 'paste-authorization-code', DEV_NAME ).'</th>
    264264                <td><input type="text" size="69" name="'.$this->adminOauthID.'"/></td>
     265                </tr>
     266               
    265267                </table>
    266268                <p class="submit">
    267                     <input type="hidden" name="_wp_http_referer" value="'.admin_url('options-general.php?page=api-AW-devfacile.php').'" />
    268269                    <input type="submit" id="aweber-settings-button" class="button-primary" value="'.__( 'btn-make-connection', DEV_NAME ).'" />
    269270                </p>';
  • aweber-dev-facile/trunk/classes/settings.php

    r1156139 r1156841  
    5757    {   
    5858
    59         if ( ! $this->pluginAdminOptions['content_infos'])
     59        if ( !$this->pluginAdminOptions['content_infos'])
    6060        {
    6161            $oDataInfos = new AWeberDevFacile_dataInfos(-9, 0);
     
    118118
    119119        // create an array with infos
    120         if ( ! $this->pluginAdminOptions['content_infos'])
     120        if ( !$this->pluginAdminOptions['content_infos'])
    121121        {
    122122            $aCountLists[0] = array();
     
    148148    {
    149149
    150         if ( ! $this->pluginAdminOptions['content_infos'])
     150        if ( !$this->pluginAdminOptions['content_infos'])
    151151        {
    152152            return 1;// no infos, add it
Note: See TracChangeset for help on using the changeset viewer.