2011-12-04 20:25:46 +01:00
|
|
|
<script type='text/javascript'>
|
|
|
|
var totalurl = '<?php echo OC_Helper::linkTo('apps/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'); ?>">
|
2011-12-04 20:25:46 +01:00
|
|
|
<input type="button" id="chooseaddressbook" value="<?php echo $l->t('Address Books'); ?>">
|
2011-09-08 23:36:47 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
2011-08-11 10:08:02 +02:00
|
|
|
<div id="leftcontent" class="leftcontent">
|
2011-12-09 15:10:51 +01:00
|
|
|
<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']; ?>">
|
2011-12-06 22:33:20 +01:00
|
|
|
<?php
|
|
|
|
if ($_['id']){
|
|
|
|
echo $this->inc("part.details");
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
echo $this->inc("part.addcardform");
|
|
|
|
}
|
|
|
|
?>
|
2011-08-06 22:32:06 +02:00
|
|
|
</div>
|
2011-12-04 20:25:46 +01:00
|
|
|
<!-- Dialogs -->
|
|
|
|
<div id="dialog_holder"></div>
|
|
|
|
<div id="parsingfail_dialog" title="Parsing Fail">
|
|
|
|
<?php echo $l->t("There was a fail, while parsing the file."); ?>
|
|
|
|
</div>
|
|
|
|
<!-- End of Dialogs -->
|