Location: PHPKode > projects > EXtensible Production Suite (XPS) > xpsdev/core/templates/inc_widget_generator.tpl
<!--START {$widget_id} WIDGET-->
	{if $smarty.session.username != ''}
		<div class="block" id="{$widget_id}">
			<div class="active_handle header">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td style="text-align:left;">
							{$widget.name}
						</td>
						<td style="text-align:right;">
							<span class="widget_admin_icons clickable">
								<a href="#" class="toggle_widget_content">toggle</a>
								<a href="#" class="toggle_widget_settings">edit</a>
							</span>
						</td>
					</tr>
				</table>
			</div>
			<div id="{$widget_id}_tpl">
				{$widget.content}
			</div>
		</div>
	{else}
		<div class="block" id="{$widget_id}">
			<div class="inactive_handle header">
				{$widget.name}
			</div>
			<div id="{$widget_id}_tpl">
				{$widget.content}
			</div>
		</div>
	{/if}
<!--END {$widget_id} WIDGET-->
Return current item: EXtensible Production Suite (XPS)