diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-06 23:00:36 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-06 23:00:36 +0200 |
commit | 1945cd694636def02a2b2d4fb36720b3f0aeeb10 (patch) | |
tree | ee041bce0aaa57f99a6680c2138c8fef00129869 /apps/contacts/templates/part.contact.php | |
parent | 5d55c709dddad44984446efa49ceb7084fc16b3f (diff) | |
download | nextcloud-server-1945cd694636def02a2b2d4fb36720b3f0aeeb10.tar.gz nextcloud-server-1945cd694636def02a2b2d4fb36720b3f0aeeb10.zip |
ported the oc_template class
Diffstat (limited to 'apps/contacts/templates/part.contact.php')
-rwxr-xr-x | apps/contacts/templates/part.contact.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/contacts/templates/part.contact.php b/apps/contacts/templates/part.contact.php index 4c23dac783b..74522be37c4 100755 --- a/apps/contacts/templates/part.contact.php +++ b/apps/contacts/templates/part.contact.php @@ -55,7 +55,7 @@ $id = isset($_['id']) ? $_['id'] : ''; <input type="checkbox" class="contacts_property tip" name="parameters[TYPE][]" value="PREF" title="<?php echo $l->t('Preferred'); ?>" /> <input type="email" required="required" class="nonempty contacts_property" name="value" value="" x-moz-errormessage="<?php echo $l->t('Please specify a valid email address.'); ?>" placeholder="<?php echo $l->t('Enter email address'); ?>" /> <select class="hidden" multiple="multiple" name="parameters[TYPE][]"> - <?php echo html_select_options($_['email_types'], array()) ?> + <?php echo OCP\html_select_options($_['email_types'], array()) ?> </select> <span class="listactions"><a class="action mail" title="<?php echo $l->t('Mail to address'); ?>"></a> <a role="button" class="action delete" title="<?php echo $l->t('Delete email address'); ?>"></a></span></li> @@ -69,7 +69,7 @@ $id = isset($_['id']) ? $_['id'] : ''; <input type="checkbox" class="contacts_property tip" name="parameters[TYPE][]" value="PREF" title="<?php echo $l->t('Preferred'); ?>" /> <input type="text" required="required" class="nonempty contacts_property" name="value" value="" placeholder="<?php echo $l->t('Enter phone number'); ?>" /> <select multiple="multiple" name="parameters[TYPE][]"> - <?php echo html_select_options($_['phone_types'], array()) ?> + <?php echo OCP\html_select_options($_['phone_types'], array()) ?> </select> <a role="button" class="action delete" title="<?php echo $l->t('Delete phone number'); ?>"></a></li> </ul> |