changed quotes

This commit is contained in:
Jan-Christoph Borchardt 2011-08-11 13:53:25 +02:00
parent 511c193631
commit 568fd0df83
1 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
<fieldset> <fieldset>
<legend>Your Shared Files</legend> <legend>Your Shared Files</legend>
<table id='itemlist'> <table id="itemlist">
<thead> <thead>
<tr> <tr>
<th>Item</th> <th>Item</th>
@ -10,19 +10,19 @@
</thead> </thead>
<tbody> <tbody>
<?php foreach($_['shared_items'] as $item):?> <?php foreach($_['shared_items'] as $item):?>
<tr class='item'> <tr class="item">
<td class='source'><?php echo substr($item['source'], strlen("/".$_SESSION['user_id']."/files/"));?></td> <td class="source"><?php echo substr($item['source'], strlen("/".$_SESSION['user_id']."/files/"));?></td>
<td class='uid_shared_with'><?php echo $item['uid_shared_with'];?></td> <td class="uid_shared_with"><?php echo $item['uid_shared_with'];?></td>
<td class='permissions'><?php echo "Read"; echo($item['permissions'] & OC_SHARE::WRITE ? ", Edit" : ""); echo($item['permissions'] & OC_SHARE::DELETE ? ", Delete" : "");?></td> <td class="permissions"><?php echo "Read"; echo($item['permissions'] & OC_SHARE::WRITE ? ", Edit" : ""); echo($item['permissions'] & OC_SHARE::DELETE ? ", Delete" : "");?></td>
<td><button class='delete fancybutton' data-source='<?php echo $item['source'];?>' data-uid_shared_with='<?php echo $item['uid_shared_with'];?>'>Delete</button></td> <td><button class="delete" data-source="<?php echo $item['source'];?>" data-uid_shared_with="<?php echo $item['uid_shared_with'];?>">Delete</button></td>
</tr> </tr>
<?php endforeach;?> <?php endforeach;?>
<tr id='share_item_row'> <tr id="share_item_row">
<form action='#' id='share_item'> <form action="#" id="share_item">
<td class='source'><input placeholder='Item' id='source'/></td> <td class="source"><input placeholder="Item" id="source" /></td>
<td class='uid_shared_with'><input placeholder='Share With' id='uid_shared_with'/></td> <td class="uid_shared_with"><input placeholder="Share With" id="uid_shared_with" /></td>
<td class='permissions'><input placeholder='Permissions' id='permissions'/></td> <td class="permissions"><input placeholder="Permissions" id="permissions" /></td>
<td><input type='submit' value='Share'/></td> <td><input type="submit" value="Share" /></td>
</form> </form>
</tr> </tr>
</tbody> </tbody>