My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
# ***** BEGIN LICENSE BLOCK *****
# This file is part of DotClear Preview plugin.
# Copyright (c) 2008 Bruno Hondelatte, and contributors.
# Many, many thanks to Olivier Meunier and the Dotclear Team.
# All rights reserved.
#
# Preview plugin for DC2 is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# DotClear is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with DotClear; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# ***** END LICENSE BLOCK *****
if (!defined('DC_RC_PATH')) { return; }

$GLOBALS['core']->url->register('preview','preview','^preview/(.+)$',array('urlPreview','post'));
$GLOBALS['core']->url->register('public_auth','public_auth','^login$',array('urlPreview','login'));

?>
Show details Hide details

Change log

r240 by digimag on Jun 27, 2008   Diff
Ajout des vérifications pour éviter
l'exécution des plugins en dehors de
Dotclear
Go to: 
Project members, sign in to write a code review

Older revisions

r116 by d...@morefnu.org on Mar 20, 2008   Diff
Started rethinking plugin.

* User can now connect from public
page (through widget), and can see
offline posts directly on his blog, if
...
r111 by d...@morefnu.org on Mar 19, 2008   Diff
Ajout plugin previewpost 0.2

All revisions of this file

File info

Size: 1214 bytes, 28 lines
Hosted by Google Code