Author: sevein
Date: Sun Oct 10 14:37:57 2010
New Revision: 8054

Log:
Add title attribute for consistency with other places where it is used.

Modified:
   trunk/apps/qubit/modules/function/templates/indexIsdfSuccess.php
   trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/editSuccess.php
   trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/indexSuccess.php
   trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php
   
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/indexSuccess.php

Modified: trunk/apps/qubit/modules/function/templates/indexIsdfSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/function/templates/indexIsdfSuccess.php    Sun Oct 
10 12:07:50 2010        (r8053)
+++ trunk/apps/qubit/modules/function/templates/indexIsdfSuccess.php    Sun Oct 
10 14:37:57 2010        (r8054)
@@ -357,13 +357,13 @@
     <div class="content">
       <ul class="clearfix links">
         <?php if (QubitAcl::check($func, 'update')): ?>
-          <li><?php echo link_to(__('Edit'), array($func, 'module' => 
'function', 'action' => 'edit'), array('title' => __('Edit this function'))) 
?></li>
+          <li><?php echo link_to(__('Edit'), array($func, 'module' => 
'function', 'action' => 'edit'), array('title' => __('Edit'))) ?></li>
         <?php endif; ?>
         <?php if (QubitAcl::check($func, 'delete')): ?>
-          <li><?php echo link_to(__('Delete'), array($func, 'module' => 
'function', 'action' => 'delete'), array('title' => __('Delete this 
function'))) ?></li>
+          <li><?php echo link_to(__('Delete'), array($func, 'module' => 
'function', 'action' => 'delete'), array('title' => __('Delete'))) ?></li>
         <?php endif; ?>
         <?php if (QubitAcl::check($func, 'create')): ?>
-          <li><?php echo link_to(__('Add new'), array('module' => 'function', 
'action' => 'create'), array('title' => __('Add new function'))) ?></li>
+          <li><?php echo link_to(__('Add new'), array('module' => 'function', 
'action' => 'create'), array('title' => __('Add new'))) ?></li>
         <?php endif; ?>
       </ul>
     </div>

Modified: 
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/editSuccess.php
==============================================================================
--- trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/editSuccess.php 
Sun Oct 10 12:07:50 2010        (r8053)
+++ trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/editSuccess.php 
Sun Oct 10 14:37:57 2010        (r8054)
@@ -582,11 +582,11 @@
       <ul class="clearfix links">
 
         <?php if (0 < strlen($next = $form->next->getValue())): ?>
-          <li><?php echo link_to(__('Cancel'), $next) ?>
+          <li><?php echo link_to(__('Cancel'), $next, array('title' => 
__('Cancel'))) ?>
         <?php elseif (isset($sf_request->id)): ?>
-          <li><?php echo link_to(__('Cancel'), array($resource, 'module' => 
'actor')) ?></li>
+          <li><?php echo link_to(__('Cancel'), array($resource, 'module' => 
'actor'), array('title' => __('Cancel'))) ?></li>
         <?php else: ?>
-          <li><?php echo link_to(__('Cancel'), array('module' => 'actor', 
'action' => 'list')) ?></li>
+          <li><?php echo link_to(__('Cancel'), array('module' => 'actor', 
'action' => 'list'), array('title' => __('Cancel'))) ?></li>
         <?php endif; ?>
 
         <?php if (isset($sf_request->getAttribute('sf_route')->resource)): ?>

Modified: 
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/indexSuccess.php
==============================================================================
--- 
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/indexSuccess.php    
    Sun Oct 10 12:07:50 2010        (r8053)
+++ 
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/indexSuccess.php    
    Sun Oct 10 14:37:57 2010        (r8054)
@@ -195,15 +195,15 @@
       <ul class="clearfix links">
 
         <?php if (QubitAcl::check($resource, 'update')): ?>
-          <li><?php echo link_to(__('Edit'), array($resource, 'module' => 
'actor', 'action' => 'edit'), array('title' => __(''))) ?></li>
+          <li><?php echo link_to(__('Edit'), array($resource, 'module' => 
'actor', 'action' => 'edit'), array('title' => __('Edit'))) ?></li>
         <?php endif; ?>
 
         <?php if (QubitAcl::check($resource, 'delete')): ?>
-          <li><?php echo link_to(__('Delete'), array($resource, 'module' => 
'actor', 'action' => 'delete'), array('title' => __(''))) ?></li>
+          <li><?php echo link_to(__('Delete'), array($resource, 'module' => 
'actor', 'action' => 'delete'), array('title' => __('Delete'))) ?></li>
         <?php endif; ?>
 
         <?php if (QubitAcl::check($resource, 'create')): ?>
-          <li><?php echo link_to(__('Add new'), array('module' => 'actor', 
'action' => 'create'), array('title' => __(''))) ?></li>
+          <li><?php echo link_to(__('Add new'), array('module' => 'actor', 
'action' => 'create'), array('title' => __('Add new'))) ?></li>
         <?php endif; ?>
 
       </ul>

Modified: 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php
==============================================================================
--- 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php   
    Sun Oct 10 12:07:50 2010        (r8053)
+++ 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php   
    Sun Oct 10 14:37:57 2010        (r8054)
@@ -317,10 +317,10 @@
     <div class="content">
       <ul class="clearfix links">
         <?php if (isset($sf_request->id)): ?>
-          <li><?php echo link_to(__('Cancel'), array($resource, 'module' => 
'repository')) ?></li>
+          <li><?php echo link_to(__('Cancel'), array($resource, 'module' => 
'repository'), array('title' => __('Cancel'))) ?></li>
           <li><input class="form-submit" type="submit" value="<?php echo 
__('Save') ?>"/></li>
         <?php else: ?>
-          <li><?php echo link_to(__('Cancel'), array('module' => 'repository', 
'action' => 'list')) ?></li>
+          <li><?php echo link_to(__('Cancel'), array('module' => 'repository', 
'action' => 'list'), array('title' => __('Cancel'))) ?></li>
           <li><input class="form-submit" type="submit" value="<?php echo 
__('Create') ?>"/></li>
         <?php endif; ?>
       </ul>

Modified: 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/indexSuccess.php
==============================================================================
--- 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/indexSuccess.php  
    Sun Oct 10 12:07:50 2010        (r8053)
+++ 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/indexSuccess.php  
    Sun Oct 10 14:37:57 2010        (r8054)
@@ -135,9 +135,9 @@
 
     <div class="content">
       <ul class="clearfix links">
-        <li><?php echo link_to(__('Edit'), array($repository, 'module' => 
'repository', 'action' => 'edit'), array('title' => __(''))) ?></li>
-        <li><?php echo link_to(__('Delete'), array($repository, 'module' => 
'repository', 'action' => 'delete'), array('title' => __(''))) ?></li>
-        <li><?php echo link_to(__('Add new'), array('module' => 'repository', 
'action' => 'create'), array('title' => __(''))) ?></li>
+        <li><?php echo link_to(__('Edit'), array($repository, 'module' => 
'repository', 'action' => 'edit'), array('title' => __('Edit'))) ?></li>
+        <li><?php echo link_to(__('Delete'), array($repository, 'module' => 
'repository', 'action' => 'delete'), array('title' => __('Delete'))) ?></li>
+        <li><?php echo link_to(__('Add new'), array('module' => 'repository', 
'action' => 'create'), array('title' => __('Add new'))) ?></li>
       </ul>
     </div>
 

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