Author: sevein
Date: Tue Sep 6 11:19:30 2011
New Revision: 9667
Log:
Supress PHP error when $row does not exist:
find . -name *.php | xargs -IF sed -i "s/++\$row/@++\$row/g" F;
Modified:
trunk/apps/qubit/modules/actor/templates/browseSuccess.php
trunk/apps/qubit/modules/actor/templates/listSuccess.php
trunk/apps/qubit/modules/contactinformation/templates/_edit.php
trunk/apps/qubit/modules/default/templates/moveSuccess.php
trunk/apps/qubit/modules/digitalobject/templates/listSuccess.php
trunk/apps/qubit/modules/function/templates/browseSuccess.php
trunk/apps/qubit/modules/informationobject/templates/_relatedEvents.php
trunk/apps/qubit/modules/informationobject/templates/browseSuccess.php
trunk/apps/qubit/modules/informationobject/templates/listSuccess.php
trunk/apps/qubit/modules/informationobject/templates/physicalObjectsSuccess.php
trunk/apps/qubit/modules/menu/templates/listSuccess.php
trunk/apps/qubit/modules/physicalobject/templates/autocompleteSuccess.php
trunk/apps/qubit/modules/physicalobject/templates/boxListSuccess.php
trunk/apps/qubit/modules/repository/templates/browseSuccess.php
trunk/apps/qubit/modules/repository/templates/listSuccess.php
trunk/apps/qubit/modules/right/templates/_edit.php
trunk/apps/qubit/modules/rightsholder/templates/browseSuccess.php
trunk/apps/qubit/modules/rightsholder/templates/listSuccess.php
trunk/apps/qubit/modules/search/templates/descriptionUpdatesSuccess.php
trunk/apps/qubit/modules/search/templates/indexSuccess.php
trunk/apps/qubit/modules/staticpage/templates/listSuccess.php
trunk/apps/qubit/modules/taxonomy/templates/browseSuccess.php
trunk/apps/qubit/modules/taxonomy/templates/indexSuccess.php
trunk/apps/qubit/modules/taxonomy/templates/listSuccess.php
trunk/apps/qubit/modules/term/templates/browseTermSuccess.php
trunk/apps/qubit/modules/user/templates/indexActorAclSuccess.php
trunk/apps/qubit/modules/user/templates/indexInformationObjectAclSuccess.php
trunk/apps/qubit/modules/user/templates/indexTermAclSuccess.php
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexActorAclSuccess.php
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexInformationObjectAclSuccess.php
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexTermAclSuccess.php
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/listSuccess.php
trunk/plugins/qtAccessionPlugin/modules/accession/templates/_relatedDonor.php
trunk/plugins/qtAccessionPlugin/modules/accession/templates/browseSuccess.php
trunk/plugins/qtAccessionPlugin/modules/accession/templates/listSuccess.php
trunk/plugins/qtAccessionPlugin/modules/donor/templates/browseSuccess.php
trunk/plugins/qtAccessionPlugin/modules/donor/templates/listSuccess.php
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_event.php
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_relatedAuthorityRecord.php
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/fileListSuccess.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
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/pluginsSuccess.php
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/themesSuccess.php
Modified: trunk/apps/qubit/modules/actor/templates/browseSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/actor/templates/browseSuccess.php Tue Sep 6
10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/actor/templates/browseSuccess.php Tue Sep 6
11:19:30 2011 (r9667)
@@ -59,7 +59,7 @@
</tr>
</thead><tbody>
<?php foreach ($pager->getResults() as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'actor')) ?>
</td><td>
Modified: trunk/apps/qubit/modules/actor/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/actor/templates/listSuccess.php Tue Sep 6
10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/actor/templates/listSuccess.php Tue Sep 6
11:19:30 2011 (r9667)
@@ -21,7 +21,7 @@
</tr>
</thead><tbody>
<?php foreach ($actors as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'actor')) ?>
</td><td>
Modified: trunk/apps/qubit/modules/contactinformation/templates/_edit.php
==============================================================================
--- trunk/apps/qubit/modules/contactinformation/templates/_edit.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/contactinformation/templates/_edit.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -27,7 +27,7 @@
</tr>
</thead><tbody>
<?php foreach ($resource->contactInformations as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'contactinformation')) ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'contactinformation')) ?>">
<td>
<?php echo $item->contactPerson ?>
</td><td>
Modified: trunk/apps/qubit/modules/default/templates/moveSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/default/templates/moveSuccess.php Tue Sep 6
10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/default/templates/moveSuccess.php Tue Sep 6
11:19:30 2011 (r9667)
@@ -38,7 +38,7 @@
</tr>
</thead><tbody>
<?php foreach ($results as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to_if($resource->lft > $item->lft || $resource->rgt
< $item->rgt, render_title($item), array($resource, 'action' => 'move',
'parent' => url_for(array($item, 'module' => 'informationobject')))) ?>
</td>
Modified: trunk/apps/qubit/modules/digitalobject/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/digitalobject/templates/listSuccess.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/digitalobject/templates/listSuccess.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -11,7 +11,7 @@
</tr>
</thead><tbody>
<?php foreach ($terms as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<div style="padding-left: 17px;">
<?php echo link_to($item->getName(array('cultureFallback'=>true)),
array('module' => 'digitalobject', 'action' => 'browse', 'mediatype' =>
$item->id)) ?>
Modified: trunk/apps/qubit/modules/function/templates/browseSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/function/templates/browseSuccess.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/function/templates/browseSuccess.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -68,7 +68,7 @@
</tr>
</thead><tbody>
<?php foreach ($pager->getResults() as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'function')) ?>
Modified:
trunk/apps/qubit/modules/informationobject/templates/_relatedEvents.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/_relatedEvents.php
Tue Sep 6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/informationobject/templates/_relatedEvents.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -15,7 +15,7 @@
</tr>
</thead><tbody>
<?php foreach ($resource->events as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'event')) ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'event')) ?>">
<td>
<div>
<?php if (isset($item->actor)): ?>
Modified: trunk/apps/qubit/modules/informationobject/templates/browseSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/browseSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/informationobject/templates/browseSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -88,7 +88,7 @@
</tr>
</thead><tbody>
<?php foreach ($pager->getResults() as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'informationobject')) ?><?php if (QubitTerm::PUBLICATION_STATUS_DRAFT_ID ==
$item->getPublicationStatus()->status->id): ?> <span
class="publicationStatus"><?php echo $item->getPublicationStatus()->status
?></span><?php endif; ?>
</td><td>
Modified: trunk/apps/qubit/modules/informationobject/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/listSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/informationobject/templates/listSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -19,7 +19,7 @@
</tr>
</thead><tbody>
<?php foreach ($informationObjects as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'informationobject')) ?><?php if (QubitTerm::PUBLICATION_STATUS_DRAFT_ID ==
$item->getPublicationStatus()->status->id): ?> <span
class="publicationStatus"><?php echo $item->getPublicationStatus()->status
?></span><?php endif; ?>
</td><td>
Modified:
trunk/apps/qubit/modules/informationobject/templates/physicalObjectsSuccess.php
==============================================================================
---
trunk/apps/qubit/modules/informationobject/templates/physicalObjectsSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/apps/qubit/modules/informationobject/templates/physicalObjectsSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -15,7 +15,7 @@
</tr>
</thead><tbody>
<?php foreach ($physicalObjects as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'physicalobject')) ?>
</td><td>
Modified: trunk/apps/qubit/modules/menu/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/menu/templates/listSuccess.php Tue Sep 6
10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/menu/templates/listSuccess.php Tue Sep 6
11:19:30 2011 (r9667)
@@ -11,7 +11,7 @@
</tr>
</thead><tbody>
<?php foreach ($menuTree as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td<?php if (QUbitMenu::ROOT_ID == $item['parentId']): ?>
style="font-weight: bold"<?php endif; ?>>
<?php echo str_repeat(' ', ($item['depth'] - 1)) ?>
Modified:
trunk/apps/qubit/modules/physicalobject/templates/autocompleteSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/physicalobject/templates/autocompleteSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/physicalobject/templates/autocompleteSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -1,7 +1,7 @@
<table>
<tbody>
<?php foreach ($physicalObjects as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'physicalobject')) ?>
</td>
Modified: trunk/apps/qubit/modules/physicalobject/templates/boxListSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/physicalobject/templates/boxListSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/physicalobject/templates/boxListSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -23,7 +23,7 @@
</tr>
</thead><tbody>
<?php foreach ($informationObjects as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php $isad = new sfIsadPlugin($item); echo
render_value($isad->referenceCode) ?>
</td><td>
Modified: trunk/apps/qubit/modules/repository/templates/browseSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/repository/templates/browseSuccess.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/repository/templates/browseSuccess.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -68,7 +68,7 @@
</tr>
</thead><tbody>
<?php foreach ($pager->getResults() as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'repository')) ?>
</td>
Modified: trunk/apps/qubit/modules/repository/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/repository/templates/listSuccess.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/repository/templates/listSuccess.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -23,7 +23,7 @@
</tr>
</thead><tbody>
<?php foreach ($repositories as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'repository')) ?>
</td><td>
Modified: trunk/apps/qubit/modules/right/templates/_edit.php
==============================================================================
--- trunk/apps/qubit/modules/right/templates/_edit.php Tue Sep 6 10:31:56
2011 (r9666)
+++ trunk/apps/qubit/modules/right/templates/_edit.php Tue Sep 6 11:19:30
2011 (r9667)
@@ -31,7 +31,7 @@
</tr>
</thead><tbody>
<?php foreach ($rights as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo
url_for(array($item->object, 'module' => 'right')) ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo
url_for(array($item->object, 'module' => 'right')) ?>">
<td>
<?php echo $item->object->act ?>
</td><td>
Modified: trunk/apps/qubit/modules/rightsholder/templates/browseSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/rightsholder/templates/browseSuccess.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/rightsholder/templates/browseSuccess.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -39,7 +39,7 @@
</tr>
</thead><tbody>
<?php foreach ($pager->getResults() as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'rightsholder')) ?>
</td>
Modified: trunk/apps/qubit/modules/rightsholder/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/rightsholder/templates/listSuccess.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/rightsholder/templates/listSuccess.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -19,7 +19,7 @@
</tr>
</thead><tbody>
<?php foreach ($rightsHolders as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), $item) ?>
</td>
Modified:
trunk/apps/qubit/modules/search/templates/descriptionUpdatesSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/search/templates/descriptionUpdatesSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/search/templates/descriptionUpdatesSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -60,7 +60,7 @@
</thead><tbody>
<?php foreach ($pager->getResults() as $result): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php if ('QubitInformationObject' == $className): ?>
Modified: trunk/apps/qubit/modules/search/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/search/templates/indexSuccess.php Tue Sep 6
10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/search/templates/indexSuccess.php Tue Sep 6
11:19:30 2011 (r9667)
@@ -17,7 +17,7 @@
<div class="section">
<?php foreach ($pager->getResults() as $hit): ?>
<?php $doc = $hit->getDocument(); ?>
- <div class="clearfix search-results <?php echo 0 == ++$row % 2 ? 'even'
: 'odd' ?>">
+ <div class="clearfix search-results <?php echo 0 == @++$row % 2 ? 'even'
: 'odd' ?>">
<?php if ($doc->digitalObject): ?>
<?php if (null == $doc->do_mediaTypeId): ?>
Modified: trunk/apps/qubit/modules/staticpage/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/staticpage/templates/listSuccess.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/staticpage/templates/listSuccess.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -11,7 +11,7 @@
</tr>
</thead><tbody>
<?php foreach ($pager->getResults() as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item->title), array($item, 'module'
=> 'staticpage')) ?>
</td><td>
Modified: trunk/apps/qubit/modules/taxonomy/templates/browseSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/taxonomy/templates/browseSuccess.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/taxonomy/templates/browseSuccess.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -33,7 +33,7 @@
</tr>
</thead><tbody>
<?php foreach ($terms as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'term', 'action' => 'browseTerm')) ?>
</td><td>
Modified: trunk/apps/qubit/modules/taxonomy/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/taxonomy/templates/indexSuccess.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/taxonomy/templates/indexSuccess.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -11,7 +11,7 @@
</tr>
</thead><tbody>
<?php foreach ($terms as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php if ($item->isProtected()): ?>
Modified: trunk/apps/qubit/modules/taxonomy/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/taxonomy/templates/listSuccess.php Tue Sep 6
10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/taxonomy/templates/listSuccess.php Tue Sep 6
11:19:30 2011 (r9667)
@@ -11,7 +11,7 @@
</tr>
</thead><tbody>
<?php foreach ($taxonomies as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'taxonomy')) ?>
</td><td>
Modified: trunk/apps/qubit/modules/term/templates/browseTermSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/term/templates/browseTermSuccess.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/term/templates/browseTermSuccess.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -4,7 +4,7 @@
<div class="section">
<?php foreach ($informationObjects as $item): ?>
- <div class="clearfix <?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <div class="clearfix <?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<?php if (isset($item->digitalObjects[0]) && null !==
$item->digitalObjects[0]->thumbnail): ?>
<?php echo
link_to(image_tag(public_path($item->digitalObjects[0]->thumbnail->getFullPath()),
array('alt' => render_title($item))), array($item, 'module' =>
'informationobject')) ?>
Modified: trunk/apps/qubit/modules/user/templates/indexActorAclSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/user/templates/indexActorAclSuccess.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/user/templates/indexActorAclSuccess.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -31,7 +31,7 @@
</tr>
<?php $row = 0; ?>
<?php foreach ($actions as $action => $groupPermission): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td> </td>
<td>
<?php if ('' != $action): ?>
Modified:
trunk/apps/qubit/modules/user/templates/indexInformationObjectAclSuccess.php
==============================================================================
---
trunk/apps/qubit/modules/user/templates/indexInformationObjectAclSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/apps/qubit/modules/user/templates/indexInformationObjectAclSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -34,7 +34,7 @@
</tr>
<?php $row = 0; ?>
<?php foreach ($actions as $action => $groupPermission): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td> </td>
<td>
<?php if ('' != $action): ?>
Modified: trunk/apps/qubit/modules/user/templates/indexTermAclSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/user/templates/indexTermAclSuccess.php Tue Sep
6 10:31:56 2011 (r9666)
+++ trunk/apps/qubit/modules/user/templates/indexTermAclSuccess.php Tue Sep
6 11:19:30 2011 (r9667)
@@ -33,7 +33,7 @@
</tr>
<?php $row = 0; ?>
<?php foreach ($actions as $action => $groupPermission): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td> </td>
<td>
<?php if ('' != $action): ?>
Modified:
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexActorAclSuccess.php
==============================================================================
---
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexActorAclSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexActorAclSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -30,7 +30,7 @@
<?php $row = 0; ?>
<?php foreach ($actions as $action => $groupPermission): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td> </td>
<td>
<?php if ('' != $action): ?>
Modified:
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexInformationObjectAclSuccess.php
==============================================================================
---
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexInformationObjectAclSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexInformationObjectAclSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -33,7 +33,7 @@
<?php $row = 0; ?>
<?php foreach ($actions as $action => $groupPermission): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td> </td>
<td>
<?php if ('' != $action): ?>
Modified:
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexTermAclSuccess.php
==============================================================================
---
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexTermAclSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexTermAclSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -30,7 +30,7 @@
<?php $row = 0; ?>
<?php foreach ($actions as $action => $groupPermission): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td> </td>
<td>
<?php if ('' != $action): ?>
Modified: trunk/plugins/qbAclPlugin/modules/aclGroup/templates/listSuccess.php
==============================================================================
--- trunk/plugins/qbAclPlugin/modules/aclGroup/templates/listSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++ trunk/plugins/qbAclPlugin/modules/aclGroup/templates/listSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -11,7 +11,7 @@
</tr>
</thead><tbody>
<?php foreach ($pager->getResults() as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php if ($item->isProtected()): ?>
<?php echo link_to($item->getName(array('cultureFallback' =>
true)), array($item, 'module' => 'aclGroup'), array('class' => 'readOnly')) ?>
Modified:
trunk/plugins/qtAccessionPlugin/modules/accession/templates/_relatedDonor.php
==============================================================================
---
trunk/plugins/qtAccessionPlugin/modules/accession/templates/_relatedDonor.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/plugins/qtAccessionPlugin/modules/accession/templates/_relatedDonor.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -20,7 +20,7 @@
</tr>
</thead><tbody>
<?php foreach ($relatedDonorRecord as $item): ?>
- <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'accession', 'action' => 'relatedDonor')) ?>">
+ <tr class="<?php echo 0 == @@++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'accession', 'action' => 'relatedDonor')) ?>">
<td>
<?php echo render_title($item->object) ?>
</td><td style="text-align: center">
Modified:
trunk/plugins/qtAccessionPlugin/modules/accession/templates/browseSuccess.php
==============================================================================
---
trunk/plugins/qtAccessionPlugin/modules/accession/templates/browseSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/plugins/qtAccessionPlugin/modules/accession/templates/browseSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -39,7 +39,7 @@
</tr>
</thead><tbody>
<?php foreach ($pager->getResults() as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'accession')) ?>
</td>
Modified:
trunk/plugins/qtAccessionPlugin/modules/accession/templates/listSuccess.php
==============================================================================
--- trunk/plugins/qtAccessionPlugin/modules/accession/templates/listSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++ trunk/plugins/qtAccessionPlugin/modules/accession/templates/listSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -21,7 +21,7 @@
</tr>
</thead><tbody>
<?php foreach ($accessions as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'accession')) ?>
</td><td>
Modified:
trunk/plugins/qtAccessionPlugin/modules/donor/templates/browseSuccess.php
==============================================================================
--- trunk/plugins/qtAccessionPlugin/modules/donor/templates/browseSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++ trunk/plugins/qtAccessionPlugin/modules/donor/templates/browseSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -39,7 +39,7 @@
</tr>
</thead><tbody>
<?php foreach ($pager->getResults() as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'donor')) ?>
</td>
Modified:
trunk/plugins/qtAccessionPlugin/modules/donor/templates/listSuccess.php
==============================================================================
--- trunk/plugins/qtAccessionPlugin/modules/donor/templates/listSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++ trunk/plugins/qtAccessionPlugin/modules/donor/templates/listSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -19,7 +19,7 @@
</tr>
</thead><tbody>
<?php foreach ($donors as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php echo link_to(render_title($item), array($item, 'module' =>
'donor')) ?>
</td>
Modified: trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_event.php
==============================================================================
--- trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_event.php
Tue Sep 6 10:31:56 2011 (r9666)
+++ trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_event.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -27,7 +27,7 @@
</tr>
</thead><tbody>
<?php foreach ($resource->getEvents() as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'event')) ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'event')) ?>">
<td>
<?php echo render_title($item->informationObject) ?>
</td><td>
Modified:
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_relatedAuthorityRecord.php
==============================================================================
---
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_relatedAuthorityRecord.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_relatedAuthorityRecord.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -29,7 +29,7 @@
</tr>
</thead><tbody>
<?php foreach ($resource->getActorRelations() as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'relation')) ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'relation')) ?>">
<td>
<?php if ($resource->id == $item->objectId): ?>
<?php echo render_title($item->subject) ?>
Modified:
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/fileListSuccess.php
==============================================================================
---
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/fileListSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/fileListSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -17,7 +17,7 @@
</tr>
</thead><tbody>
<?php foreach ($informationObjects as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php $isad = new sfIsadPlugin($item); echo
render_value($isad->referenceCode) ?>
</td><td>
Modified:
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedAuthorityRecord.php
==============================================================================
---
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedAuthorityRecord.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedAuthorityRecord.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -27,7 +27,7 @@
</tr>
</thead><tbody>
<?php foreach ($isdf->relatedAuthorityRecord as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'relation')) ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'relation')) ?>">
<td>
<?php echo render_title($item->object) ?>
</td><td>
Modified:
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedFunction.php
==============================================================================
---
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedFunction.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedFunction.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -29,7 +29,7 @@
</tr>
</thead><tbody>
<?php foreach ($isdf->relatedFunction as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'relation')) ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'relation')) ?>">
<td>
<?php if ($resource->id == $item->objectId): ?>
<?php echo render_title($item->subject) ?>
Modified:
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedResource.php
==============================================================================
---
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedResource.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedResource.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -27,7 +27,7 @@
</tr>
</thead><tbody>
<?php foreach ($isdf->relatedResource as $item): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'relation')) ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'relation')) ?>">
<td>
<?php echo render_title($item->object) ?>
</td><td>
Modified:
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/pluginsSuccess.php
==============================================================================
---
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/pluginsSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/pluginsSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -17,7 +17,7 @@
</tr>
</thead><tbody>
<?php foreach ($plugins as $name => $plugin): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php if (file_exists($plugin->getRootDir().'/images/image.png')):
?>
<?php echo image_tag('/plugins/'.$name.'/images/image',
array('alt' => $name)) ?>
Modified:
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/themesSuccess.php
==============================================================================
---
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/themesSuccess.php
Tue Sep 6 10:31:56 2011 (r9666)
+++
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/themesSuccess.php
Tue Sep 6 11:19:30 2011 (r9667)
@@ -43,7 +43,7 @@
</tr>
</thead><tbody>
<?php foreach ($plugins as $name => $plugin): ?>
- <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+ <tr class="<?php echo 0 == @++$row % 2 ? 'even' : 'odd' ?>">
<td>
<?php if (file_exists($plugin->getRootDir().'/images/image.png')):
?>
<?php echo image_tag('/plugins/'.$name.'/images/image',
array('alt' => $name)) ?>
--
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.