%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home1/dimen328/libertysa.com.br/admin/modules/blog/app/views/pjAdminCategories/
Upload File :
Create Path :
Current File : //home1/dimen328/libertysa.com.br/admin/modules/blog/app/views/pjAdminCategories/pjActionUpdate.php

<?php
if (isset($tpl['status']))
{
	$status = __('status', true);
	switch ($tpl['status'])
	{
		case 2:
			pjUtil::printNotice(NULL, $status[2]);
			break;
	}
} else {
	
	include_once PJ_VIEWS_PATH . 'pjLayouts/elements/optmenu.php'; ?>
	
	<form action="<?php echo $_SERVER['PHP_SELF']; ?>?controller=pjAdminCategories&amp;action=pjActionUpdate" method="post" id="frmUpdateCategory" class="form pj-form">
		<input type="hidden" name="category_update" value="1" />
		<input type="hidden" name="id" value="<?php echo $tpl['arr']['id']; ?>" />
		<div class="clear_both">
			
			<p>
				<label class="title"><?php __('lblCategory'); ?>:</label>
				<span class="inline_block">
					<input type="text" id="category" name="category" class="pj-form-field w300 required" lang="<?php echo $v['id']; ?>" value="<?php echo htmlspecialchars(stripslashes($tpl['arr']['category'])); ?>" />
				</span>
			</p>
				
			<p>
				<label class="title">&nbsp;</label>
				<input type="submit" value="<?php __('btnSave'); ?>" class="pj-button" />
			</p>
		</div>
	</form>
	<script type="text/javascript">
	var myLabel = myLabel || {};
	myLabel.field_required = "<?php __('lblFieldRequired', false, true); ?>";
	myLabel.same_category = "<?php __('lblSameCategory', false, true); ?>";
	</script>
	<?php
}
?>

Zerion Mini Shell 1.0