Plugin Directory

Changeset 1352963


Ignore:
Timestamp:
02/17/2016 09:51:36 PM (10 years ago)
Author:
jituzu_wp
Message:

Can select option for transparent background

Location:
jituzu-tools/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • jituzu-tools/trunk/css/public.css

    r1275650 r1352963  
    1111  position: relative;
    1212  width: 100%;
     13}
     14div.jtools_frame.transparent {
     15  background-color: transparent;
    1316}
    1417div.jtools_frame iframe {
     
    2528  width: 100%;
    2629}
    27 
    2830div.jtools_frame.error {
    2931  background: red !important;
  • jituzu-tools/trunk/functions/frame.php

    r1275650 r1352963  
    1414    'search_color' => str_replace('#', '%23', $jtools->search_color),
    1515    'date_color' => str_replace('#', '%23', $jtools->date_color),
    16     'urgent_color' => str_replace('#', '%23', $jtools->urgent_color)
     16    'urgent_color' => str_replace('#', '%23', $jtools->urgent_color),
     17    'transparent_background' => $jtools->transparent_background
    1718  ), $atts));
    1819
    19   $class = !!$jtools->full_screen ? ' fullscreen' : '';
    20 
     20 
     21  $fullscreen = !!$jtools->full_screen ? ' fullscreen' : '';
     22  $transparent = !!$jtools->transparent_background ? ' transparent' : '';
     23  $class = "{$fullscreen}{$transparent}";
     24 
     25 
    2126  if (!!$width || !!$height) {
    2227    $style = ' style="';
  • jituzu-tools/trunk/functions/init.php

    r1275650 r1352963  
    1818    'use_css' => true,
    1919    'full_screen' => false,
     20    'transparent_background' => false,
    2021    'highlight_color' => '',
    2122    'search_color' => '',
  • jituzu-tools/trunk/functions/page_config.php

    r1275650 r1352963  
    8787        </tr>
    8888        <tr valign="top">
    89           <th scope="row">Urgent Color</th>
     89          <th scope="row">Transparent Background</th>
    9090          <td>
    91             <input type="text" value="<?php echo $jtools->urgent_color; ?>"
    92               placeholder="#F1D0CF" class="short-text jtools_color"
    93               name="settings[urgent_color]"/>
    94             <p class="description">
    95               For urgent emails within the list of messages.
    96             </p>
    97           </td>
     91            <label>
     92                <input type="hidden" name="settings[transparent_background]" value="0"/>
     93                <input type="checkbox" name="settings[transparent_background]" value="1"
     94                  <?php if (!!$jtools->transparent_background) echo 'checked="checked"' ?>/>
     95                Turn off the default Jituzu background color and use the background color
     96                of the WordPress site.
     97            </label>
     98           </td>
    9899        </tr>
    99100      </table>
  • jituzu-tools/trunk/jituzu-tools.php

    r1341538 r1352963  
    33 Plugin Name: Jituzu Tools
    44 Description: Embed Jituzu into your WordPress site with template tags and shortcodes.
    5  Version: 1.2.0
     5 Version: 1.3.0
    66 Author: Jituzu
    77 Author URI: https://www.jituzu.com/
  • jituzu-tools/trunk/readme.txt

    r1341538 r1352963  
    44Tags: HIPAA, scheduling, client portal, calendar, appointment reminders, jituzu, appointment booking, sms reminders, Jituzu Tools
    55Requires at least: 3.0.1
    6 Tested up to: 4.4.1
     6Tested up to: 4.4.2
    77Stable tag: trunk
    88License: GPLv2 or later
     
    105105* Tested on WordPress 4.4.1
    106106
     107= 1.3.0 =
     108* 2016-02-18
     109* Added option to choose transparent background
     110* Tested on WordPress 4.4.2
     111
    107112
    108113== Upgrade Notice ==
     
    112117* Initial release
    113118
    114 
     119= 1.3 =
     120* 2016-02-18
     121* Tested on WordPress 4.4.2
     122* Added option to choose a transparent background
Note: See TracChangeset for help on using the changeset viewer.