Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r305 - registry/trunk/app/View/CoExtendedAttributes

Subject: COmanage Developers List

List archive

[comanage-dev] r305 - registry/trunk/app/View/CoExtendedAttributes


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r305 - registry/trunk/app/View/CoExtendedAttributes
  • Date: Thu, 5 Jul 2012 13:32:17 -0400

Author: benno
Date: 2012-07-05 13:32:17 -0400 (Thu, 05 Jul 2012)
New Revision: 305

Modified:
registry/trunk/app/View/CoExtendedAttributes/fields.inc
registry/trunk/app/View/CoExtendedAttributes/index.ctp
Log:
Minor clean up of CoExtendedAttributes views

Modified: registry/trunk/app/View/CoExtendedAttributes/fields.inc
===================================================================
--- registry/trunk/app/View/CoExtendedAttributes/fields.inc 2012-07-05
16:55:19 UTC (rev 304)
+++ registry/trunk/app/View/CoExtendedAttributes/fields.inc 2012-07-05
17:32:17 UTC (rev 305)
@@ -36,9 +36,9 @@

if($e)
echo $this->Html->link(_txt('op.cancel'),
- array('controller' => 'co_extended_attributes',
'action' => 'index', 'co' => $cur_co['Co']['Id']),
+ array('controller' => 'co_extended_attributes',
'action' => 'index', 'co' => $cur_co['Co']['id']),
array('class' => 'cancelbutton'));
-
+
echo '
<br />
<br />
@@ -46,7 +46,7 @@

echo $this->Form->hidden('co_id', array('default' => $cur_co['Co']['Id']))
. "\n";
?>
-<table id="<?php echo $this->action; ?>_co" class="ui-widget">
+<table id="<?php echo $this->action; ?>_co_extended_attribute"
class="ui-widget">
<tbody>
<tr class="line1">
<td>

Modified: registry/trunk/app/View/CoExtendedAttributes/index.ctp
===================================================================
--- registry/trunk/app/View/CoExtendedAttributes/index.ctp 2012-07-05
16:55:19 UTC (rev 304)
+++ registry/trunk/app/View/CoExtendedAttributes/index.ctp 2012-07-05
17:32:17 UTC (rev 305)
@@ -1,8 +1,8 @@
<!--
/**
- * COmanage Registry CO Index View
+ * COmanage Registry CO Extended Attribute Index View
*
- * Copyright (C) 2010-12 University Corporation for Advanced Internet
Development, Inc.
+ * Copyright (C) 2011-12 University Corporation for Advanced Internet
Development, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with
* the License. You may obtain a copy of the License at
@@ -30,7 +30,7 @@
echo $this->Html->link(_txt('op.add') . ' ' .
_txt('ct.co_extended_attributes.1'),
array('controller' => 'co_extended_attributes',
'action' => 'add',
- 'co' =>
$this->request->params['named']['co']),
+ 'co' => $cur_co['Co']['id']),
array('class' => 'addbutton')) . '
<br />
<br />
@@ -58,7 +58,7 @@
array('controller' =>
'co_extended_attributes',
'action' => ($permissions['edit'] ?
'edit' : ($permissions['view'] ? 'view' : '')),
$c['CoExtendedAttribute']['id'],
- 'co' =>
$this->request->params['named']['co']));
+ 'co' => $cur_co['Co']['id']));
?>
</td>
<td><?php echo
Sanitize::html($c['CoExtendedAttribute']['display_name']); ?></td>
@@ -73,11 +73,11 @@
array('controller' =>
'co_extended_attributes',
'action' => 'edit',
$c['CoExtendedAttribute']['id'],
- 'co' =>
$this->request->params['named']['co']),
+ 'co' => $cur_co['Co']['id']),
array('class' => 'editbutton')) . "\n";

if($permissions['delete'])
- echo '<button class="deletebutton" title="' . _txt('op.delete')
. '" onclick="javascript:js_confirm_delete(\'' .
_jtxt(Sanitize::html($c['CoExtendedAttribute']['name'])) . '\', \'' .
$this->Html->url(array('controller' => 'co_extended_attributes', 'action' =>
'delete', $c['CoExtendedAttribute']['id'], 'co' =>
$this->params['named']['co'])) . '\')";>' . _txt('op.delete') . '</button>';
+ echo '<button class="deletebutton" title="' . _txt('op.delete')
. '" onclick="javascript:js_confirm_delete(\'' .
_jtxt(Sanitize::html($c['CoExtendedAttribute']['name'])) . '\', \'' .
$this->Html->url(array('controller' => 'co_extended_attributes', 'action' =>
'delete', $c['CoExtendedAttribute']['id'], 'co' => $cur_co['Co']['id'])) .
'\')";>' . _txt('op.delete') . '</button>';
?>
<?php ; ?>
</td>



  • [comanage-dev] r305 - registry/trunk/app/View/CoExtendedAttributes, svnlog, 07/05/2012

Archive powered by MHonArc 2.6.16.

Top of Page