mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-04 15:24:35 +01:00
17 lines
663 B
PHP
17 lines
663 B
PHP
<?php
|
|
$categories = isset($_['categories'])?$_['categories']:array();
|
|
?>
|
|
<div id="edit_categories_dialog" title="<?php echo $l->t('Edit categories'); ?>">
|
|
<!-- ?php print_r($types); ? -->
|
|
<form method="post" id="categoryform">
|
|
<div class="scrollarea">
|
|
<ul id="categorylist">
|
|
<?php foreach($categories as $category) { ?>
|
|
<li><input type="checkbox" name="categories[]" value="<?php echo $category; ?>" /><?php echo $category; ?></li>
|
|
<?php } ?>
|
|
</ul>
|
|
</div>
|
|
<div class="bottombuttons"><input type="text" id="category_addinput" name="category" /><button id="category_addbutton" disabled="disabled"><?php echo $l->t('Add'); ?></button></div>
|
|
</form>
|
|
</div>
|