Location: PHPKode > projects > MobiLog! Mobile Weblogging Tool > mobilog-mobile-weblogging-tool/themes/oceanic/theme.inc
#############################################
# Summary Theme Elements
#############################################

<[['tmpl']['summary']['main']]>
<div style='background: #EEFFFF;'>
	<div style='background: #CCCCEE; height: 3px; margin-bottom: 3px;'></div>
	<div style='font-family: Verdana, Tahoma, Arial; padding: 3px;'>
		__SUMMARY_CONTENT__
	</div>
	<div style='font-family: Verdana, Tahoma, Arial; font-size: 9px; text-align: center;'>
		__ARCHIVES_LINK__<br />
		__FEED_LINK_ATOM__<br />
		<br />
		__POWERED_BY__<br />
	</div>
	<div style='background: #CCCCEE; height: 3px; margin-top: 3px;'></div>
</div>
<[/]>

<[['tmpl']['summary']['entry']['text']]>
	<div style='padding-left: 5px; padding-bottom: 8px; font-family: Verdana, Tahoma, Arial; font-size: 9px;'>
		<b><a href='__BASE_URL__index.php?m=e__ENTRY_ID__'>__ENTRY_SUBJECT__</a></b><br />
		<i>__ENTRY_DATETIME__</i><br />
		<div style='margin-left: 5px;'>__ENTRY_TEXT__</div>
	</div>
<[/]>

<[['tmpl']['summary']['entry']['image']]>
	<div style='padding-left: 5px; padding-bottom: 8px; font-family: Verdana, Tahoma, Arial; font-size: 9px;'>
		<b><a href='__BASE_URL__index.php?m=e__ENTRY_ID__'>__ENTRY_SUBJECT__</a></b><br />
		<i>__ENTRY_DATETIME__</i><br />
		<div style='margin-left: 5px;'>__ENTRY_TEXT__</div>
		<br />
		<div style='margin-left: 5px;'><a href='__BASE_URL__index.php?m=e__ENTRY_ID__'><img src='__ENTRY_ATTACHMENT_URL__' alt='Entry #__ENTRY_ID__ image...' width='__ENTRY_THUMBNAIL_WIDTH__' height='__ENTRY_THUMBNAIL_HEIGHT__'  style='border: solid 1px #333333;' /></a></div>
	</div>
<[/]>

#############################################
# Primary Theme Elements
#############################################

<[['tmpl']['primary']['main']]>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
		<head>
			<meta name="generator" content="__MOBILOG_GENERATOR__" />
			<title>__MOBILOG_TITLE__</title>
			<link rel="stylesheet" type="text/css" href="themes/oceanic/theme.css" media="all" />
			<link rel="alternate" type="application/atom+xml" href="files/mobilog-atom.xml" />
		</head>
		<body>
			<h1 id='ml_header'>
				__MOBILOG_TITLE__
			</h1>
			__MOBILOG_NAV__
			__MOBILOG_CONTENT__
			<br /><br />
			<div id='ml_powered-by'>__POWERED_BY__</div>
			<br /><br />
		 	<div style='position: absolute; top: 12px; right: 20px;' align='center'>
				<a href='index.php?m=admin'>Admin</a>
			</div>
		</body>
	</html>
<[/]>

<[['tmpl']['primary']['navigation']]>
	<div id='ml_nav' style='position: relative;'>
		<a href='index.php?m=map'>Entry Map</a>
		&nbsp;|&nbsp;
		Navigate: <form action='index.php'>__NAV_SELECT__ <input type='submit' value='OK' /></form>
	</div>
<[/]>

<[['tmpl']['primary']['text']]>
	<div class='ml_entry_text ml_contentbox' style='position: relative;'>
		<span class='ml_entry_text_subject'>__ENTRY_SUBJECT__</span><br />
		<span class='ml_entry_text_datetime'>__ENTRY_DATETIME__</span><br />
		<div class='ml_entry_text_content'>__ENTRY_TEXT__</div>
		<div align='right'><a href='index.php?m=e__ENTRY_ID__'>#</a></div>
	</div>
<[/]>

<[['tmpl']['primary']['image']]>
	<div class='ml_entry_image ml_contentbox' style='position: relative;'>
		<span class='ml_entry_image_subject'>__ENTRY_SUBJECT__</span><br />
		<span class='ml_entry_image_datetime'>__ENTRY_DATETIME__</span><br />
		<div class='ml_entry_image_content'>__ENTRY_TEXT__</div>
		<div style='text-align: center; overflow: hidden;'><img src='__ENTRY_ATTACHMENT_URL__' alt='Entry #__ENTRY_ID__ image' class='ml_entry_image_image' /></div>
		<div align='right'><a href='index.php?m=e__ENTRY_ID__'>#</a></div>
	</div>
<[/]>

<[['tmpl']['primary']['individual_entry']]>
	<br />
	<table border='0' cellpadding='3' align='center'>
		<tr>
			<td><div class='ml_button'>&lt; __GO_TO_PREV__ &nbsp;</div></td>
			<td><div class='ml_button'>&nbsp; __GO_TO_NEXT__ &gt;</div></td>
		</tr>
	</table>
	__ENTRY_CONTENT__
	<table border='0' cellpadding='3' align='center'>
		<tr>
			<td><div class='ml_button'>&lt; __GO_TO_PREV__ &nbsp;</div></td>
			<td><div class='ml_button'>&nbsp; __GO_TO_NEXT__ &gt;</div></td>
		</tr>
	</table>
<[/]>

<[['tmpl']['primary']['month']]>
	<div class='ml_month_header ml_contentbox'>
		__ENTRY_MONTH__
	</div>
	<table border='0' cellpadding='3' align='center'>
		<tr>
			<td><div class='ml_button'>&lt; __GO_TO_PREV__ &nbsp;</div></td>
			<td><div class='ml_button'>&nbsp; __GO_TO_NEXT__ &gt;</div></td>
		</tr>
	</table>
	__ENTRY_CONTENT__
	<table border='0' cellpadding='3' align='center'>
		<tr>
			<td><div class='ml_button'>&lt; __GO_TO_PREV__ &nbsp;</div></td>
			<td><div class='ml_button'>&nbsp; __GO_TO_NEXT__ &gt;</div></td>
		</tr>
	</table>
<[/]>

<[['tmpl']['primary']['map']['listing']]>
	<div class='ml_map_header ml_contentbox'>
		Entry Map
	</div>
	<div class='ml_map ml_contentbox'>
		<table border='0' cellpadding='3' align='center' width='100%'>
			<tr>
				<td style='padding: 1px; white-space: nowrap; border-bottom: dashed 1px #AAAAAA; font-weight: bold;'>Title</td>
				<td style='padding: 1px; white-space: nowrap; width: 150px; border-bottom: dashed 1px #AAAAAA; font-weight: bold;'>Date/Time</td>
				<td style='padding: 1px; white-space: nowrap; width: 120px; border-bottom: dashed 1px #AAAAAA; font-weight: bold;'>Has Attachment</td>
			</tr>
			__ENTRY_MAP_ITEMS__
		</table>
	</div>
<[/]>

<[['tmpl']['primary']['map']['item']]>
	<tr>
		<td style='padding: 1px; white-space: nowrap;'><a href='index.php?m=e__ENTRY_ID__'>__ENTRY_SUBJECT__</a></td>
		<td style='padding: 1px; white-space: nowrap; width: 150px;'>__ENTRY_DATETIME__</td>
		<td style='padding: 1px; white-space: nowrap; width: 120px;'>__ENTRY_HAS_ATTACHMENT__</td>
	</tr>
<[/]>

<[['tmpl']['primary']['admin']['editor']]>
	<form action='index.php' method='post' enctype='multipart/form-data'>
		<input type='hidden' name='m' value='submitentry' />
		<input type='hidden' name='entry_id' value='__ENTRY_ID__' />
		<div class='ml_contentbox'>
			<table border='0' cellpadding='3' cellspacing='0' align='center' width='100%'>
				<tr>
					<td style='width: 80px; text-align: right; vertical-align: top; border-right: solid 1px #CCCCCC; font-weight: bold;'>Title:</td>
					<td style='width: 100%;'><input type='text' name='entry_subject' value='__ENTRY_SUBJECT__' /></td>
				</tr>
				<tr>
					<td style='width: 80px; text-align: right; vertical-align: top; border-right: solid 1px #CCCCCC; font-weight: bold;'>Password:</td>
					<td style='width: 100%;'><input type='password' name='entry_submission_password' /> <i>(password required for entry submission)</i></td>
				</tr>
				<tr>
					<td style='width: 80px; text-align: right; vertical-align: top; border-right: solid 1px #CCCCCC; font-weight: bold;'>Content:</td>
					<td style='width: 100%;'><textarea cols='40' rows='8' style='width: 100%; height: 300px;' name='entry_text'>__ENTRY_TEXT__</textarea></td>
				</tr>
				<tr>
					<td style='width: 80px; text-align: right; vertical-align: top; border-right: solid 1px #CCCCCC; font-weight: bold;'>Attachment:</td>
					<td style='width: 100%;'><input type='file' name='entry_attachment' /> Current attachment: __ENTRY_ATTACHMENT_INFO__</td>
				</tr>
				<tr>
					<td style='width: 80px; border-right: solid 1px #CCCCCC;'></td>
					<td style='text-align: right;'><input type='submit' name='delete' value='Delete' /> &nbsp; <input type='submit' value='Save' /></td>
				</tr>
			</table>
		</div>
	</form>
<[/]>

<[['tmpl']['primary']['admin']['menu']]>
	<div style='text-align: center;'><h4>Compose New Entry</h4></div>
	<form action='index.php' method='post' enctype='multipart/form-data'>
		<input type='hidden' name='m' value='submitentry' />
		<div class='ml_contentbox'>
			<table border='0' cellpadding='3' cellspacing='0' align='center' width='100%'>
				<tr>
					<td style='width: 80px; text-align: right; vertical-align: top; border-right: solid 1px #CCCCCC; font-weight: bold;'>Title:</td>
					<td style='width: 100%;'><input type='text' name='entry_subject' value='' /></td>
				</tr>
				<tr>
					<td style='width: 80px; text-align: right; vertical-align: top; border-right: solid 1px #CCCCCC; font-weight: bold;'>Password:</td>
					<td style='width: 100%;'><input type='password' name='entry_submission_password' /> <i>(password required for entry submission)</i></td>
				</tr>
				<tr>
					<td style='width: 80px; text-align: right; vertical-align: top; border-right: solid 1px #CCCCCC; font-weight: bold;'>Content:</td>
					<td style='width: 100%;'><textarea cols='40' rows='8' style='width: 100%; height: 300px;' name='entry_text'></textarea></td>
				</tr>
				<tr>
					<td style='width: 80px; text-align: right; vertical-align: top; border-right: solid 1px #CCCCCC; font-weight: bold;'>Attachment:</td>
					<td style='width: 100%;'><input type='file' name='entry_attachment' /></td>
				</tr>
				<tr>
					<td style='width: 80px; border-right: solid 1px #CCCCCC;'></td>
					<td style='text-align: right;'><input type='submit' value='Save' /></td>
				</tr>
			</table>
		</div>
	</form>
	<div style='text-align: center;'><h4>Edit Existing Entry</h4></div>
	<form action='index.php' method='get'>
		<input type='hidden' name='m' value='edit' />
		<div class='ml_map ml_contentbox' style='text-align: center;'>
			__ENTRY_EDIT_SELECT__ <input type='submit' value='Edit' />
		</div>
	</form>
<[/]>

<[['tmpl']['primary']['admin']['generating']]>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
		<head>
			<title>__MOBILOG_TITLE__</title>
			<link rel="stylesheet" type="text/css" href="themes/oceanic/theme.css" media="all" />
			<link rel="alternate" type="application/atom+xml" href="files/mobilog-atom.xml" />
		</head>
		<body>
			<br /><br /><br /><br />
			<div class='ml_contentbox' style='text-align: center;'>
				All new/updated content has been saved.
			</div>
			<table border='0' cellpadding='3' align='center'>
				<tr>
					<td><div class='ml_button' style='width: 180px;'>&nbsp; ( <a href='index.php?m=admin'>__MOBILOG_TITLE__ Admin</a> ) &nbsp;</div></td>
					<td><div class='ml_button' style='width: 180px;'>&nbsp; ( <a href='index.php'>__MOBILOG_TITLE__</a> ) &nbsp;</div></td>
				</tr>
			</table>
			<br /><br /><br /><br />
		</body>
	</html>
<[/]>
Return current item: MobiLog! Mobile Weblogging Tool