source: pmb4.2/trunk/fuentes/pmb/cms/cms_articles/cms_article_edit.inc.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 638 bytes
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2011 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: cms_article_edit.inc.php,v 1.3 2015-05-11 08:10:40 dgoron Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9require_once($class_path."/cms/cms_article.class.php");
10
11if($id != "new"){
12        $article = new cms_article($id);
13}else if ($num_parent) {
14        $article = new cms_article(0,$num_parent);
15}else{
16        $article = new cms_article();
17}
18
19print $article->get_form("cms_article_edit","cms_article_edit", "");
Note: See TracBrowser for help on using the repository browser.