Login   Register  
PHP Classes
elePHPant
Icontem

File: tmpl/admin.update.content.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of invitro  >  Navelo CMS  >  tmpl/admin.update.content.tpl  >  Download  
File: tmpl/admin.update.content.tpl
Role: Auxiliary data
Content type: text/plain
Description: Admin update content template
Class: Navelo CMS
A complete Content Management System
Author: By
Last change:
Date: 2004-08-04 07:22
Size: 3,086 bytes
 

Contents

Class file image Download
<table>
	<tr><td><strong>Navelo Content Management System</strong></td></tr>
	<tr><td>&nbsp;</td></tr>
	<tr>
		<td>
		[ <a href="?action=" title="View category list">Category List</a> ]
		[ <a href="?action=ViewTitle&cid={$category_id}" title="View content list">Content List</a> ]
		[ <a href="?action=FormAddCategory&url=action|" title="Create new category">Create New Category</a> ]
		[ <a href="?action=FormAddContent&url=action|ViewTitle,cid|{$category_id}" title="Create new content">Create New Content</a> ]
		</td>
	</tr>
	<tr><td>&nbsp;</td></tr>
</table>

<script type="text/javascript" src="../libs/built/editor/fck1.6/fckeditor.js"></script>
<script type="text/javascript">
	{* instanceName, width, height, toolbarSet, value *}
	{literal}
	window.onload = function()
	{
		BasePath				= '../libs/built/editor/fck1.6/';
		
		var oFCKeditor1			= new FCKeditor( 'sum', '540', '100%', 'Basic' ) ;
		oFCKeditor1.BasePath 	= BasePath;
		oFCKeditor1.ReplaceTextarea();
		
		var oFCKeditor2			= new FCKeditor( 'pc', '540', '240', 'Accessibility' ) ;
		oFCKeditor2.BasePath 	= BasePath;
		oFCKeditor2.ReplaceTextarea();
	}
	
	function ResetEditor()
	{
		{/literal}location.href = '{$smarty.server.PHP_SELF}?{$smarty.server.QUERY_STRING}';{literal}
	}
	{/literal}

	function jump( what )
	{literal}
	{
	{/literal}
		var selectedopt = what.options[what.selectedIndex]
		if ( document.getElementById && selectedopt.getAttribute("target") == "newwin" )
			window.open( selectedopt.value )
		else
			window.location = '?action=FormUpdatePage&tid={$smarty.get.tid}&pid=' + selectedopt.value
	{literal}
	}
	{/literal}
</script>
{input name="flag"}
{input name="parent_id"}
{input name="id"}
{input name="u"}
<table>
	{if $error_form ne ""}
	<tr><td colspan="3">{include file="admin.form.error.tpl"}</td></tr>
	<tr><td colspan="3">&nbsp;</td></tr>
	{/if}
	<tr>
		<td>{label for="mt"}</td>
		<td align="center" width="10">:</td>
		<td>{input name="mt"}&nbsp;{if isset($verify.mt)}{$mark}{/if}</td>
	</tr>
	<tr>
		<td>{label for="st"}</td>
		<td align="center" width="10">:</td>
		<td>{input name="st"}</td>
	</tr>
	<tr>
		<td>{label for="c"}</td>
		<td align="center" width="10">:</td>
		<td>{input name="c"}&nbsp;{if isset($verify.c)}{$mark}{/if}</td>
	</tr>
	<tr>
		<td></td>
		<td align="center" width="10"></td>
		<td>{input name="s"}&nbsp;{label for="s"}</td>
	</tr>
	<tr>
		<td valign="top">{label for="sum"}</td>
		<td valign="top" align="center" width="10">:</td>
		<td>{input name="sum"}&nbsp;{if isset($verify.sum)}{$mark}{/if}</td>
	</tr>
	<tr><td colspan="3">&nbsp;</td></tr>
	<tr>
		<td></td>
		<td align="center" width="10"></td>
		<td>
		{input name="reset"}
		&nbsp;&nbsp;
		{input name="submit"}
		&nbsp;&nbsp;
		{input name="cancel"}
		</td>
	</tr>
	<tr><td colspan="3"><hr size="1" noshade width="100%" color="#000000" /></td></tr>
	<tr>
		<td>{label for="p"}</td>
		<td align="center" width="10">:</td>
		<td>{input name="p"}&nbsp;{input name="edit"}</td>
	</tr>
</table>