1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-02 14:24:10 +01:00
OwncloudContactsOfficial/templates/index.php

28 lines
775 B
PHP
Raw Normal View History

<script type='text/javascript'>
2011-12-16 17:42:07 +01:00
var totalurl = '<?php echo OC_Helper::linkTo('contacts', 'carddav.php', null, true); ?>/addressbooks';
</script>
2011-09-08 23:36:47 +02:00
<div id="controls">
<form>
<input type="button" id="contacts_newcontact" value="<?php echo $l->t('Add Contact'); ?>">
<input type="button" id="chooseaddressbook" value="<?php echo $l->t('Addressbooks'); ?>">
2011-09-08 23:36:47 +02:00
</form>
</div>
2011-08-11 10:08:02 +02:00
<div id="leftcontent" class="leftcontent">
<ul id="contacts">
2011-08-09 13:53:58 +02:00
<?php echo $this->inc("part.contacts"); ?>
2011-08-06 22:32:06 +02:00
</ul>
</div>
2011-08-11 10:08:02 +02: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 22:32:06 +02:00
</div>
<!-- Dialogs -->
<div id="dialog_holder"></div>
<!-- End of Dialogs -->