Dotclear


Ignore:
Timestamp:
03/20/08 12:39:43 (16 years ago)
Author:
bruno
Message:

Started rethinking plugin.

  • User can now connect from public page (through widget), and can see offline posts directly on his blog, if connected.
  • Added templates EntryIfOffline? to provide specific css style (same usage as EntryIfOdd?, ...)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/previewpost/_admin.php

    r356 r361  
    2121# 
    2222# ***** END LICENSE BLOCK ***** 
     23require dirname(__FILE__).'/_widgets.php'; 
    2324 
    2425$core->addBehavior('adminPostHeaders',array('previewBehaviors','postHeaders')); 
     
    2930     { 
    3031          global $post_url,$core; 
    31           return '<script type="text/javascript" src="index.php?pf=previewpost/js/post.js"></script>'. 
     32          return '<script type="text/javascript" src="index.php?pf=preview/js/post.js"></script>'. 
    3233          '<script type="text/javascript">'."\n". 
    3334          "//<![CDATA[\n". 
Note: See TracChangeset for help on using the changeset viewer.

Sites map