Example #1
0
<?
echo compiletpl("scripts/show/tabs", array("view"=>"edit"), $object);
echo compiletpl("title/big", array("left"=>img(geticon($object->getIcon()))."&nbsp;".$object->getName()), $object);
?>
<div class="main">
	<div class="container">
		<?php 
echo ucf(i18n("class")) . ": " . ucw(str_replace("_", " ", $object->getClassName()));
?>
	</div>
</div>
<form name="sEdit" id="sEdit" action="javascript:void(null);" onsubmit="Post('edit','sEdit');">
	<input class="hidden" type="hidden" name="action" value="save"/>
	<input class="hidden" type="hidden" name="node_id" value="<?php 
echo $object->getNodeId();
?>
"/>
	<div class="main">
		<div class="container">
			<table class="top_edit_table">
				<tr>
					<td>
						<?php 
echo ucf(i18n("name"));
?>
: <input class="input" type="text" name="name" value="<?php 
echo $object->getName();
?>
">
					</td>
					<td>
Example #2
0
?>
"/>
				<br/>
				<br/>
				<?php 
echo ucf(i18n("class"));
?>
				<br/>
				<select class="form" name="class_name">
				<?
					echo "<option value=\"\">".ucf(i18n("all classes"))."</option>";
					$classlist = getClassList();
					foreach ($classlist as $class_name)
					{
						$selected = $class_name == $args['class'] ? "selected" : "";
						echo "<option $selected value=\"$class_name\">".ucw(str_replace("_", " ", $class_name))."</option>";
					}
				?>
				</select>
				<br/>
				<br/>
				<input class="submit" type="submit" value="<?php 
echo ucf(i18n("search"));
?>
"/>
			</form>
		</center>
	</div>
</div>
<?
for ($n = 0; $n < count($args['objects']); $n++)
echo ucf(i18n("file")) . " {$n} " . i18n("of") . " " . count($family);
?>
				</td>
				<td style="vertical-align: top; text-align: center;">
				<?
					if ($next !== false)
					{
					?>
						<div class="show_item_wrapper">
							<?php 
echo compiletpl("scripts/show/item", array(), $next);
?>
							<div class="clear"></div>
						</div>
						<div style="font-weight: bold; text-align: center;"><?php 
echo ucw(i18n("next"));
?>
</div>
					<?
					}
					else
					{
					?>
						<div class="show_item_wrapper">
							<div class="show_item">&nbsp;</div>
							<div class="clear"></div>
						</div>
						<div style="font-weight: bold; text-align: center;"><?php 
echo ucf(i18n("no more files"));
?>
</div>
Example #4
0
?>
?input_id=remote_node_id&form_id=linkForm','PopUpWindow','width=300,height=300,scrollbars=1,status=0'); popWin.opener = self; popWin.focus(); popWin.moveTo(150,50); return false">[<?php 
echo ucf(i18n("browse"));
?>
]</a>
			<br/><br/>
			
			<?php 
echo ucf(i18n("type"));
?>
			<select class="form" name="type">
			<?
				$link_types = getLinkTypes();
				foreach ($link_types as $key => $name)
				{
					echo "<option ".($key == "sub" ? "selected" : "")." value=\"$key\">".ucw(str_replace("_", " ", $name))."</option>";
				}
			?>
			</select>
			<br/><br/>
			
			<input class="submit" type="submit" value="<?php 
echo ucf(i18n("create"));
?>
"/>
			<?php 
echo $args['message'];
?>
		</form>
	</fieldset><br/>
<?