Author: peter
Date: 2008-11-05 03:15:00 -0800 (Wed, 05 Nov 2008)
New Revision: 1520

Modified:
   trunk/qubit/apps/qubit/modules/informationobject/templates/editDcSuccess.php
   
trunk/qubit/apps/qubit/modules/informationobject/templates/editIsadSuccess.php
   trunk/qubit/apps/qubit/modules/informationobject/templates/editRadSuccess.php
Log:
get rid of template parameter being appended to the cancel option link in the 
edit templates, this was a left-over from the former template switching 
mechanism

Modified: 
trunk/qubit/apps/qubit/modules/informationobject/templates/editDcSuccess.php
===================================================================
--- 
trunk/qubit/apps/qubit/modules/informationobject/templates/editDcSuccess.php    
    2008-11-05 01:55:38 UTC (rev 1519)
+++ 
trunk/qubit/apps/qubit/modules/informationobject/templates/editDcSuccess.php    
    2008-11-05 11:15:00 UTC (rev 1520)
@@ -152,7 +152,7 @@
   <div class="menu-action">
     <?php if ($informationObject->getId()): ?>
       &nbsp;<?php echo link_to(__('delete'), 
'informationobject/delete?id='.$informationObject->getId(), 
'post=true&confirm='.__('are you sure?')) ?>
-      &nbsp;<?php echo link_to(__('cancel'), 
'informationobject/showDc?id='.$informationObject->getId().'&template=0') ?>
+      &nbsp;<?php echo link_to(__('cancel'), 
'informationobject/showDc?id='.$informationObject->getId()) ?>
     <?php else: ?>
       &nbsp;<?php echo link_to(__('cancel'), 'informationobject/createDc') ?>
     <?php endif; ?>

Modified: 
trunk/qubit/apps/qubit/modules/informationobject/templates/editIsadSuccess.php
===================================================================
--- 
trunk/qubit/apps/qubit/modules/informationobject/templates/editIsadSuccess.php  
    2008-11-05 01:55:38 UTC (rev 1519)
+++ 
trunk/qubit/apps/qubit/modules/informationobject/templates/editIsadSuccess.php  
    2008-11-05 11:15:00 UTC (rev 1520)
@@ -488,7 +488,7 @@
       &nbsp;<?php echo link_to(__('delete'), 
'informationobject/delete?id='.$informationObject->getId(), 
'post=true&confirm='.$deleteWarning) ?>
       <?php endif; ?>
       
-       &nbsp;<?php echo link_to(__('cancel'), 
'informationobject/showIsad?id='.$informationObject->getId().'&template=0') ?>
+       &nbsp;<?php echo link_to(__('cancel'), 
'informationobject/showIsad?id='.$informationObject->getId()) ?>
     <?php else: ?>
       &nbsp;<?php echo link_to(__('cancel'), 'informationobject/list') ?>
     <?php endif; ?>

Modified: 
trunk/qubit/apps/qubit/modules/informationobject/templates/editRadSuccess.php
===================================================================
--- 
trunk/qubit/apps/qubit/modules/informationobject/templates/editRadSuccess.php   
    2008-11-05 01:55:38 UTC (rev 1519)
+++ 
trunk/qubit/apps/qubit/modules/informationobject/templates/editRadSuccess.php   
    2008-11-05 11:15:00 UTC (rev 1520)
@@ -560,7 +560,7 @@
       &nbsp;<?php echo link_to(__('delete'), 
'informationobject/delete?id='.$informationObject->getId(), 
'post=true&confirm='.$deleteWarning) ?>
       <?php endif; ?>
       
-       &nbsp;<?php echo link_to(__('cancel'), 
'informationobject/show?id='.$informationObject->getId().'&template=0') ?>
+       &nbsp;<?php echo link_to(__('cancel'), 
'informationobject/show?id='.$informationObject->getId()) ?>
     <?php else: ?>
       &nbsp;<?php echo link_to(__('cancel'), 'informationobject/list') ?>
     <?php endif; ?>


--~--~---------~--~----~------------~-------~--~----~
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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to