2011-12-04 19:25:46 +00:00
|
|
|
<script type='text/javascript'>
|
2012-05-07 18:22:55 +00:00
|
|
|
var totalurl = '<?php echo OCP\Util::linkToRemote('carddav'); ?>addressbooks';
|
2012-04-12 21:10:10 +00:00
|
|
|
var categories = <?php echo json_encode($_['categories']); ?>;
|
2012-05-02 13:54:34 +00:00
|
|
|
var lang = '<?php echo OCP\Config::getUserValue(OCP\USER::getUser(), 'core', 'lang', 'en'); ?>';
|
2011-12-04 19:25:46 +00:00
|
|
|
</script>
|
2012-06-16 21:37:24 +00:00
|
|
|
<div id="leftcontent">
|
2012-05-06 11:01:45 +00:00
|
|
|
</div>
|
2012-05-06 11:49:40 +00:00
|
|
|
<div id="bottomcontrols">
|
|
|
|
<form>
|
|
|
|
<button class="svg" id="contacts_newcontact" title="<?php echo $l->t('Add Contact'); ?>"><img class="svg" src="<?php echo OCP\Util::linkTo('contacts', 'img/contact-new.svg'); ?>" alt="<?php echo $l->t('Add Contact'); ?>" /></button>
|
|
|
|
<button class="svg" id="chooseaddressbook" title="<?php echo $l->t('Addressbooks'); ?>"><img class="svg" src="core/img/actions/settings.svg" alt="<?php echo $l->t('Addressbooks'); ?>" /></button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2011-08-11 08:08:02 +00:00
|
|
|
<div id="rightcontent" class="rightcontent" data-id="<?php echo $_['id']; ?>">
|
2011-12-06 21:33:20 +00:00
|
|
|
<?php
|
|
|
|
if ($_['id']){
|
2012-02-14 00:47:18 +00:00
|
|
|
echo $this->inc('part.contact');
|
2011-12-06 21:33:20 +00:00
|
|
|
}
|
|
|
|
else{
|
2012-02-14 00:47:18 +00:00
|
|
|
echo $this->inc('part.no_contacts');
|
2011-12-06 21:33:20 +00:00
|
|
|
}
|
|
|
|
?>
|
2011-08-06 20:32:06 +00:00
|
|
|
</div>
|
2011-12-04 19:25:46 +00:00
|
|
|
<!-- Dialogs -->
|
|
|
|
<div id="dialog_holder"></div>
|
|
|
|
<!-- End of Dialogs -->
|