2011-08-07 00:32:06 +04:00
< ? php // Include Style and Script
OC_Util :: addScript ( 'contacts' , 'interface' );
OC_Util :: addStyle ( 'contacts' , 'styles' );
?>
2011-08-11 12:08:02 +04:00
< div id = " leftcontent " class = " leftcontent " >
2011-08-07 00:32:06 +04:00
< ul >
2011-08-09 15:53:58 +04:00
< ? php echo $this -> inc ( " part.contacts " ); ?>
2011-08-07 00:32:06 +04:00
</ ul >
2011-08-09 15:53:58 +04:00
< a id = " contacts_newcontact " >< ? php echo $l -> t ( 'Add Contact' ); ?> </a>
2011-08-07 00:32:06 +04:00
</ div >
2011-08-11 12:08:02 +04:00
< div id = " rightcontent " class = " rightcontent " data - id = " <?php echo $_['id'] ; ?> " >
2011-08-09 15:53:58 +04:00
< ? php echo $this -> inc ( " part.details " ); ?>
2011-08-07 00:32:06 +04:00
</ div >
2011-08-10 13:19:12 +04:00
< ? php if ( count ( $_ [ 'addressbooks' ]) == 1 ) : ?>
2011-08-24 13:21:27 +04:00
< ? php echo $l -> t ( 'The path to this addressbook is %s' , array ((( isset ( $_SERVER [ 'HTTPS' ]) && $_SERVER [ 'HTTPS' ] == 'on' ) ? 'https' : 'http' ) . '://' . $_SERVER [ 'HTTP_HOST' ] . OC :: $WEBROOT . '/apps/contacts/carddav.php/addressbooks/' . OC_User :: getUser () . '/' . $_ [ 'addressbooks' ][ 0 ][ 'uri' ])); ?>
2011-08-10 13:19:12 +04:00
< ? php endif ; ?>