Source for file edit.php
Documentation is available at edit.php
* @copyright Copyright (c) 2004-2006, bitweaver.org
* All Rights Reserved. See below for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details.
require_once( "../kernel/setup_inc.php" );
require_once( TAGS_PKG_PATH. "LibertyTag.php" );
$gBitSystem->verifyPackage( 'tags' );
$gBitSystem->fatalError( 'You do not have permission to edit Tags' );
if ( $tag->loadTag ( $_REQUEST ) ){
$gBitSmarty->assign( 'tagData', $tag->mInfo );
if( !empty( $_REQUEST["save"] ) ) {
if( $tag->storeOneTag( $_REQUEST ) ) {
header ( "location: " . TAGS_PKG_URL. "index.php?tags=". $tag->mInfo['tag'] );
$gBitSystem->display( 'bitpackage:tags/edit_tag.tpl', tra( "Edit Tag" ) , array( 'display_mode' => 'edit' ));
|