WordPress.org

Plugin Directory

Changeset 686237


Ignore:
Timestamp:
03/23/13 13:34:40 (13 months ago)
Author:
liedekef
Message:

added the possibility to use a print stylesheet called eme_print.css in your theme style dir

Location:
events-made-easy/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • events-made-easy/trunk/eme_people.php

    r678686 r686237  
    203203         <title>Bookings for <?php echo eme_trans_sanitize_html($event['event_name']);?></title> 
    204204          <link rel="stylesheet" href="<?php echo $stylesheet; ?>" type="text/css" media="screen" /> 
     205          <?php 
     206            $file_name= get_stylesheet_directory()."/eme.css"; 
     207            if (file_exists($file_name)) 
     208               echo "<link rel='stylesheet' href='".get_stylesheet_directory_uri()."/eme.css' type='text/css' media='screen' />\n"; 
     209            $file_name= get_stylesheet_directory()."/eme_print.css"; 
     210            if (file_exists($file_name)) 
     211               echo "<link rel='stylesheet' href='".get_stylesheet_directory_uri()."/eme_print.css' type='text/css' media='print' />\n"; 
     212          ?> 
    205213      </head> 
    206214      <body id="printable"> 
  • events-made-easy/trunk/readme.txt

    r686230 r686237  
    114114 
    115115= 1.0.19 = 
     116* Feature: added the possibility to use a print stylesheet called eme_print.css in your theme style dir 
    116117* Feature: shortcode events_ical_link now has 3 extra options: scope, author and contact_person 
    117118* Feature: the creation and modif date can now be shown for the bookings list (when using #_BOOKINGS) via 2 new placeholders: #_BOOKINGCREATIONDATE and #_BOOKINGMODIFDATE 
Note: See TracChangeset for help on using the changeset viewer.