Author: sevein
Date: Tue Sep  6 11:23:20 2011
New Revision: 9668

Log:
Use @ to supress error and s/row++/++row, like r9667

Modified:
   trunk/apps/qubit/modules/user/templates/editInformationObjectAclSuccess.php
   trunk/apps/qubit/modules/user/templates/listSuccess.php

Modified: 
trunk/apps/qubit/modules/user/templates/editInformationObjectAclSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/user/templates/editInformationObjectAclSuccess.php 
Tue Sep  6 11:19:30 2011        (r9667)
+++ trunk/apps/qubit/modules/user/templates/editInformationObjectAclSuccess.php 
Tue Sep  6 11:23:20 2011        (r9668)
@@ -45,7 +45,7 @@
       $row = 0;
       foreach ($basicActions as $key => $value)
       {
-        $tableTemplate .= '<tr class="'.((0 == $row++ % 2) ? 'even' : 
'odd').'">';
+        $tableTemplate .= '<tr class="'.((0 == @++$row % 2) ? 'even' : 
'odd').'">';
         $tableTemplate .= '<td>'.__($value).'</th>';
         $tableTemplate .= '<td><ul class="radio inline">';
         $tableTemplate .= '<li><input type="radio" 
name="acl['.$key.'_{objectId}]" 
value="'.QubitAcl::GRANT.'"/>'.__('Grant').'</li>';
@@ -132,4 +132,4 @@
 
   </div>
 
-</form>
\ No newline at end of file
+</form>

Modified: trunk/apps/qubit/modules/user/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/user/templates/listSuccess.php     Tue Sep  6 
11:19:30 2011        (r9667)
+++ trunk/apps/qubit/modules/user/templates/listSuccess.php     Tue Sep  6 
11:23:20 2011        (r9668)
@@ -13,7 +13,7 @@
     </tr>
   </thead><tbody>
     <?php foreach ($users 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($item->username, array($item, 'module' => 
'user')) ?>
         </td><td>

-- 
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.

Reply via email to