server/apps/contacts/templates/index.php

27 lines
617 B
PHP
Raw Normal View History

2011-08-06 20:32:06 +00:00
<?php // Include Style and Script
OC_Util::addScript('contacts','interface');
OC_Util::addStyle('contacts','styles');
OC_Util::addStyle('contacts','formtastic');
2011-08-06 20:32:06 +00:00
?>
2011-09-08 21:36:47 +00:00
<div id="controls">
<form>
<input type="button" id="contacts_newcontact" value="<?php echo $l->t('Add Contact'); ?>">
</form>
</div>
2011-08-11 08:08:02 +00:00
<div id="leftcontent" class="leftcontent">
2011-08-06 20:32:06 +00:00
<ul>
2011-08-09 11:53:58 +00:00
<?php echo $this->inc("part.contacts"); ?>
2011-08-06 20:32:06 +00:00
</ul>
</div>
2011-08-11 08:08:02 +00:00
<div id="rightcontent" class="rightcontent" data-id="<?php echo $_['id']; ?>">
<?php
if ($_['id']){
echo $this->inc("part.details");
}
else{
echo $this->inc("part.addcardform");
}
?>
2011-08-06 20:32:06 +00:00
</div>