Author: jablko
Date: Thu Oct 21 21:14:08 2010
New Revision: 8359
Log:
Identify resources with URLs
Modified:
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_event.php
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_relatedAuthorityRecord.php
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedAuthorityRecord.php
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedFunction.php
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedResource.php
Modified: trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_event.php
==============================================================================
--- trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_event.php
Thu Oct 21 21:12:26 2010 (r8358)
+++ trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_event.php
Thu Oct 21 21:14:08 2010 (r8359)
@@ -43,7 +43,7 @@
<?php echo Qubit::renderDate($item->endDate) ?>
<?php endif; ?>
</td><td style="text-align: right">
- <input class="multiDelete" name="deleteEvents[]" type="checkbox"
value="<?php echo $item->id ?>"/>
+ <input class="multiDelete" name="deleteEvents[]" type="checkbox"
value="<?php echo url_for(array($item, 'module' => 'event')) ?>"/>
</td>
</tr>
<?php endforeach; ?>
Modified:
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_relatedAuthorityRecord.php
==============================================================================
---
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_relatedAuthorityRecord.php
Thu Oct 21 21:12:26 2010 (r8358)
+++
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_relatedAuthorityRecord.php
Thu Oct 21 21:14:08 2010 (r8359)
@@ -49,7 +49,7 @@
</td><td>
<?php echo
$item->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID) ?>
</td><td style="text-align: center">
- <input class="multiDelete" name="deleteRelations[]"
type="checkbox" value="<?php echo $item->id ?>"/>
+ <input class="multiDelete" name="deleteRelations[]"
type="checkbox" value="<?php echo url_for(array($item, 'module' => 'relation'))
?>"/>
</td>
</tr>
<?php endforeach; ?>
Modified: trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php
==============================================================================
--- trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php
Thu Oct 21 21:12:26 2010 (r8358)
+++ trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php
Thu Oct 21 21:14:08 2010 (r8359)
@@ -29,7 +29,7 @@
<tr class="date related_obj_<?php echo $item->id ?>">
<td>
<div class="animateNicely">
- <input name="<?php echo
$form->getWidgetSchema()->generateName('id') ?>" type="hidden" value="<?php
echo $item->id ?>"/>
+ <input name="<?php echo
$form->getWidgetSchema()->generateName('id') ?>" type="hidden" value="<?php
echo url_for(array($item, 'module' => 'event')) ?>"/>
<?php echo $form->getWidgetSchema()->renderField('type',
url_for(array($item->type, 'module' => 'term'))) ?>
</div>
</td><td>
@@ -46,7 +46,7 @@
</div>
</td><td style="text-align: right">
<div class="animateNicely">
- <input class="multiDelete" name="deleteEvents[]" type="checkbox"
value="<?php echo $item->id ?>"/>
+ <input class="multiDelete" name="deleteEvents[]" type="checkbox"
value="<?php echo url_for($item, 'module' => 'event')) ?>"/>
</div>
</td>
</tr>
Modified:
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedAuthorityRecord.php
==============================================================================
---
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedAuthorityRecord.php
Thu Oct 21 21:12:26 2010 (r8358)
+++
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedAuthorityRecord.php
Thu Oct 21 21:14:08 2010 (r8359)
@@ -41,7 +41,7 @@
<?php echo Qubit::renderDate(array_shift($dateArray)) ?>
<?php endif; ?>
</td><td style="text-align: center">
- <input class="multiDelete" name="deleteRelations[]"
type="checkbox" value="<?php echo $item->id ?>"/>
+ <input class="multiDelete" name="deleteRelations[]"
type="checkbox" value="<?php echo url_for(array($item, 'module' => 'relation'))
?>"/>
</td>
</tr>
<?php endforeach; ?>
Modified:
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedFunction.php
==============================================================================
---
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedFunction.php
Thu Oct 21 21:12:26 2010 (r8358)
+++
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedFunction.php
Thu Oct 21 21:14:08 2010 (r8359)
@@ -49,7 +49,7 @@
<?php echo Qubit::renderDate(array_shift($dateArray)) ?>
<?php endif; ?>
</td><td style="text-align: center">
- <input class="multiDelete" name="deleteRelations[]"
type="checkbox" value="<?php echo $item->id ?>"/>
+ <input class="multiDelete" name="deleteRelations[]"
type="checkbox" value="<?php echo url_for($item, 'module' => 'relation')) ?>"/>
</td>
</tr>
<?php endforeach; ?>
Modified:
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedResource.php
==============================================================================
---
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedResource.php
Thu Oct 21 21:12:26 2010 (r8358)
+++
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedResource.php
Thu Oct 21 21:14:08 2010 (r8359)
@@ -41,7 +41,7 @@
<?php echo Qubit::renderDate(array_shift($dateArray)) ?>
<?php endif; ?>
</td><td style="text-align: center">
- <input class="multiDelete" name="deleteRelations[]"
type="checkbox" value="<?php echo $item->id ?>"/>
+ <input class="multiDelete" name="deleteRelations[]"
type="checkbox" value="<?php echo url_for($item, 'module' => 'relation')) ?>"/>
</td>
</tr>
<?php endforeach; ?>
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.