2011-08-07 00:32:06 +04:00
|
|
|
<?php // Include Style and Script
|
|
|
|
OC_Util::addScript('contacts','interface');
|
2011-12-17 23:05:54 +04:00
|
|
|
OC_Util::addScript('contacts','jquery.inview');
|
2011-08-07 00:32:06 +04:00
|
|
|
OC_Util::addStyle('contacts','styles');
|
2011-10-22 21:22:01 +04:00
|
|
|
OC_Util::addStyle('contacts','formtastic');
|
2011-08-07 00:32:06 +04:00
|
|
|
?>
|
|
|
|
|
2011-12-04 23:25:46 +04:00
|
|
|
<script type='text/javascript'>
|
2011-12-16 20:42:07 +04:00
|
|
|
var totalurl = '<?php echo OC_Helper::linkTo('contacts', 'carddav.php', null, true); ?>/addressbooks';
|
2011-12-04 23:25:46 +04:00
|
|
|
</script>
|
2011-09-09 01:36:47 +04:00
|
|
|
<div id="controls">
|
|
|
|
<form>
|
|
|
|
<input type="button" id="contacts_newcontact" value="<?php echo $l->t('Add Contact'); ?>">
|
2011-12-04 23:25:46 +04:00
|
|
|
<input type="button" id="chooseaddressbook" value="<?php echo $l->t('Address Books'); ?>">
|
2011-09-09 01:36:47 +04:00
|
|
|
</form>
|
|
|
|
</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>
|
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']){
|
|
|
|
echo $this->inc("part.details");
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
echo $this->inc("part.addcardform");
|
|
|
|
}
|
|
|
|
?>
|
2011-08-07 00:32:06 +04:00
|
|
|
</div>
|
2011-12-04 23:25:46 +04: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 -->
|