2011-12-04 23:25:46 +04:00
|
|
|
<script type='text/javascript'>
|
2012-02-16 22:45:00 +04:00
|
|
|
var totalurl = '<?php echo OC_Helper::linkToAbsolute('contacts', 'carddav.php'); ?>/addressbooks';
|
2012-04-13 01:10:10 +04:00
|
|
|
var categories = <?php echo json_encode($_['categories']); ?>;
|
2012-04-03 10:13:10 +04:00
|
|
|
var lang = '<?php echo OC_Preferences::getValue(OC_User::getUser(), 'core', 'lang', 'en'); ?>';
|
2011-12-04 23:25:46 +04:00
|
|
|
</script>
|
2012-04-22 02:43:47 +04:00
|
|
|
<!-- div id="controls">
|
2011-09-09 01:36:47 +04:00
|
|
|
<form>
|
|
|
|
<input type="button" id="contacts_newcontact" value="<?php echo $l->t('Add Contact'); ?>">
|
2012-01-11 23:07:15 +04:00
|
|
|
<input type="button" id="chooseaddressbook" value="<?php echo $l->t('Addressbooks'); ?>">
|
2011-09-09 01:36:47 +04:00
|
|
|
</form>
|
2012-04-22 02:43:47 +04:00
|
|
|
</div -->
|
2011-08-11 12:08:02 +04:00
|
|
|
<div id="leftcontent" class="leftcontent">
|
2011-12-17 23:05:54 +04:00
|
|
|
<ul id="contacts">
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $this->inc("part.contacts"); ?>
|
2011-08-07 00:32:06 +04:00
|
|
|
</ul>
|
|
|
|
</div>
|
2012-04-22 02:43:47 +04:00
|
|
|
<div id="bottomcontrols">
|
|
|
|
<form>
|
2012-04-22 04:09:13 +04:00
|
|
|
<img class="svg" id="contacts_newcontact" src="img/contact-new.svg" alt="<?php echo $l->t('Add Contact'); ?>" title="<?php echo $l->t('Add Contact'); ?>" />
|
2012-04-22 02:43:47 +04:00
|
|
|
<img class="svg" id="chooseaddressbook" src="../../core/img/actions/settings.svg" alt="<?php echo $l->t('Addressbooks'); ?>" title="<?php echo $l->t('Addressbooks'); ?>" />
|
|
|
|
</form>
|
|
|
|
</div>
|
2011-08-11 12:08:02 +04:00
|
|
|
<div id="rightcontent" class="rightcontent" data-id="<?php echo $_['id']; ?>">
|
2011-12-07 01:33:20 +04:00
|
|
|
<?php
|
|
|
|
if ($_['id']){
|
2012-02-14 04:47:18 +04:00
|
|
|
echo $this->inc('part.contact');
|
2011-12-07 01:33:20 +04:00
|
|
|
}
|
|
|
|
else{
|
2012-02-14 04:47:18 +04:00
|
|
|
echo $this->inc('part.no_contacts');
|
2011-12-07 01:33:20 +04:00
|
|
|
}
|
|
|
|
?>
|
2011-08-07 00:32:06 +04:00
|
|
|
</div>
|
2011-12-04 23:25:46 +04:00
|
|
|
<!-- Dialogs -->
|
|
|
|
<div id="dialog_holder"></div>
|
|
|
|
<!-- End of Dialogs -->
|