Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r288 - in registry/trunk/app: View/CoEnrollmentAttributes View/CoEnrollmentFlows View/CoExtendedAttributes View/CoGroupMembers View/CoGroups View/CoInvites View/CoNsfDemographics View/CoPeople View/CoPersonRoles View/CoPetitions View/Cos View/Cous View/Elements View/EmailAddresses View/Identifiers View/Layouts View/OrgIdentities View/Organizations View/Standard View/TelephoneNumbers webroot/css

Subject: COmanage Developers List

List archive

[comanage-dev] r288 - in registry/trunk/app: View/CoEnrollmentAttributes View/CoEnrollmentFlows View/CoExtendedAttributes View/CoGroupMembers View/CoGroups View/CoInvites View/CoNsfDemographics View/CoPeople View/CoPersonRoles View/CoPetitions View/Cos View/Cous View/Elements View/EmailAddresses View/Identifiers View/Layouts View/OrgIdentities View/Organizations View/Standard View/TelephoneNumbers webroot/css


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r288 - in registry/trunk/app: View/CoEnrollmentAttributes View/CoEnrollmentFlows View/CoExtendedAttributes View/CoGroupMembers View/CoGroups View/CoInvites View/CoNsfDemographics View/CoPeople View/CoPersonRoles View/CoPetitions View/Cos View/Cous View/Elements View/EmailAddresses View/Identifiers View/Layouts View/OrgIdentities View/Organizations View/Standard View/TelephoneNumbers webroot/css
  • Date: Thu, 19 Apr 2012 02:27:18 -0400

Author: marie
Date: 2012-04-19 02:27:18 -0400 (Thu, 19 Apr 2012)
New Revision: 288

Added:
registry/trunk/app/View/Elements/pageTitle.ctp
registry/trunk/app/webroot/css/body.css
Modified:
registry/trunk/app/View/CoEnrollmentAttributes/index.ctp
registry/trunk/app/View/CoEnrollmentFlows/index.ctp
registry/trunk/app/View/CoEnrollmentFlows/select.ctp
registry/trunk/app/View/CoExtendedAttributes/index.ctp
registry/trunk/app/View/CoGroupMembers/select.ctp
registry/trunk/app/View/CoGroups/index.ctp
registry/trunk/app/View/CoInvites/reply.ctp
registry/trunk/app/View/CoInvites/send.ctp
registry/trunk/app/View/CoNsfDemographics/index.ctp
registry/trunk/app/View/CoPeople/index.ctp
registry/trunk/app/View/CoPeople/invite.ctp
registry/trunk/app/View/CoPersonRoles/index.ctp
registry/trunk/app/View/CoPetitions/index.ctp
registry/trunk/app/View/Cos/index.ctp
registry/trunk/app/View/Cos/select.ctp
registry/trunk/app/View/Cous/index.ctp
registry/trunk/app/View/EmailAddresses/index.ctp
registry/trunk/app/View/Identifiers/index.ctp
registry/trunk/app/View/Layouts/default.ctp
registry/trunk/app/View/OrgIdentities/addvialdap.ctp
registry/trunk/app/View/OrgIdentities/find.ctp
registry/trunk/app/View/OrgIdentities/index.ctp
registry/trunk/app/View/Organizations/index.ctp
registry/trunk/app/View/Standard/add.ctp
registry/trunk/app/View/Standard/edit.ctp
registry/trunk/app/View/Standard/view.ctp
registry/trunk/app/View/TelephoneNumbers/index.ctp
Log:
co221 body theme part 1

Modified: registry/trunk/app/View/CoEnrollmentAttributes/index.ctp
===================================================================
--- registry/trunk/app/View/CoEnrollmentAttributes/index.ctp 2012-04-19
03:02:02 UTC (rev 287)
+++ registry/trunk/app/View/CoEnrollmentAttributes/index.ctp 2012-04-19
06:27:18 UTC (rev 288)
@@ -22,9 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php echo $title_for_layout; ?></h1>
+<?php
+ $params = array('title' => $title_for_layout);
+ print $this->element("pageTitle", $params);

-<?php
print $this->Html->link(_txt('op.back'),
array('controller' => 'co_enrollment_flows',
'action' => ($permissions['edit'] ? 'edit' :
'view'),
@@ -88,4 +89,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>

Modified: registry/trunk/app/View/CoEnrollmentFlows/index.ctp
===================================================================
--- registry/trunk/app/View/CoEnrollmentFlows/index.ctp 2012-04-19 03:02:02
UTC (rev 287)
+++ registry/trunk/app/View/CoEnrollmentFlows/index.ctp 2012-04-19 06:27:18
UTC (rev 288)
@@ -21,9 +21,10 @@
* @license Apache License, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0)
* @version $Id$
*/-->
-<h1 class="ui-state-default"><?php echo $title_for_layout; ?></h1>
+<?php
+ $params = array('title' => $title_for_layout);
+ print $this->element("pageTitle", $params);

-<?php
if($permissions['add'])
echo $this->Html->link(_txt('op.add') . ' ' .
_txt('ct.co_enrollment_flows.1'),
array('controller' => 'co_enrollment_flows',
'action' => 'add', 'co' => $this->request->params['named']['co']),
@@ -78,4 +79,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>

Modified: registry/trunk/app/View/CoEnrollmentFlows/select.ctp
===================================================================
--- registry/trunk/app/View/CoEnrollmentFlows/select.ctp 2012-04-19
03:02:02 UTC (rev 287)
+++ registry/trunk/app/View/CoEnrollmentFlows/select.ctp 2012-04-19
06:27:18 UTC (rev 288)
@@ -21,7 +21,10 @@
* @license Apache License, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0)
* @version $Id$
*/-->
-<h1 class="ui-state-default"><?php print $title_for_layout; ?></h1>
+<?php
+ $params = array('title' => $title_for_layout);
+ print $this->element("pageTitle", $params);
+?>

<table id="cous" class="ui-widget">
<thead>
@@ -67,4 +70,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>

Modified: registry/trunk/app/View/CoExtendedAttributes/index.ctp
===================================================================
--- registry/trunk/app/View/CoExtendedAttributes/index.ctp 2012-04-19
03:02:02 UTC (rev 287)
+++ registry/trunk/app/View/CoExtendedAttributes/index.ctp 2012-04-19
06:27:18 UTC (rev 288)
@@ -22,9 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php echo $title_for_layout; ?></h1>
+<?php
+ $params = array('title' => $title_for_layout);
+ print $this->element("pageTitle", $params);

-<?php
if($permissions['add'])
echo $this->Html->link(_txt('op.add') . ' ' .
_txt('ct.co_extended_attributes.1'),
array('controller' => 'co_extended_attributes',
@@ -92,4 +93,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>

Modified: registry/trunk/app/View/CoGroupMembers/select.ctp
===================================================================
--- registry/trunk/app/View/CoGroupMembers/select.ctp 2012-04-19 03:02:02
UTC (rev 287)
+++ registry/trunk/app/View/CoGroupMembers/select.ctp 2012-04-19 06:27:18
UTC (rev 288)
@@ -22,9 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php echo _txt('op.grm.add',
array($cur_co['Co']['name'], $co_group['CoGroup']['name'])); ?></h1>
+<?php
+ $params = array('title' => _txt('op.grm.add', array($cur_co['Co']['name'],
$co_group['CoGroup']['name'])));
+ print $this->element("pageTitle", $params);

-<?php
echo $this->Html->link(_txt('op.cancel'),
array('controller' => 'co_groups',
'action' => 'edit',
@@ -87,4 +88,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>

Modified: registry/trunk/app/View/CoGroups/index.ctp
===================================================================
--- registry/trunk/app/View/CoGroups/index.ctp 2012-04-19 03:02:02 UTC (rev
287)
+++ registry/trunk/app/View/CoGroups/index.ctp 2012-04-19 06:27:18 UTC (rev
288)
@@ -22,15 +22,17 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php
- if($this->action == 'select')
- echo _txt('op.gr.memadd',
array($this->request->params['named']['copersonid']));
- else
- echo _txt('ct.co_groups.pl');
-?>
-</h1>
+<?php
+ if($this->action == 'select') {
+ $params = array('title' => _txt('op.gr.memadd',
+
array($this->request->params['named']['copersonid'])
+ )
+ );
+ } else {
+ $params = array('title' => _txt('ct.co_groups.pl'));
+ }
+ print $this->element("pageTitle", $params);

-<?php
if($permissions['add'] && $this->action != 'select')
echo $this->Html->link(_txt('op.add'),
array('controller' => 'co_groups', 'action' =>
'add', 'co' => $this->request->params['named']['co']),
@@ -153,4 +155,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>

Modified: registry/trunk/app/View/CoInvites/reply.ctp
===================================================================
--- registry/trunk/app/View/CoInvites/reply.ctp 2012-04-19 03:02:02 UTC (rev
287)
+++ registry/trunk/app/View/CoInvites/reply.ctp 2012-04-19 06:27:18 UTC (rev
288)
@@ -22,7 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default">Invitation to <?php echo $cur_co['Co']['name'];
?></h1>
+<?php
+ $params = array('title' => "Invitation to " . $cur_co['Co']['name']);
+ print $this->element("pageTitle", $params);
+?>

<p>
Invitation for <b><?php echo generateCn($invitee['Name']); ?></b>
@@ -43,4 +46,4 @@
echo $this->Html->link('Decline', $u);
?>
</li>
-</ul>
\ No newline at end of file
+</ul>

Modified: registry/trunk/app/View/CoInvites/send.ctp
===================================================================
--- registry/trunk/app/View/CoInvites/send.ctp 2012-04-19 03:02:02 UTC (rev
287)
+++ registry/trunk/app/View/CoInvites/send.ctp 2012-04-19 06:27:18 UTC (rev
288)
@@ -22,7 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default">Invitation for <?php echo
$cur_co['Co']['name']; ?> Sent to <?php echo generateCn($invitee['Name']);
?></h1>
+<?php
+ $params = array('title' => "Invitation for " . $cur_co['Co']['name'] . "
Sent to " . generateCn($invitee['Name']));
+ print $this->element("pageTitle", $params);
+?>

<p>
Email would be sent to <b><?php echo $invite['CoInvite']['mail']; ?></b>
with the URL
@@ -33,4 +36,4 @@

echo $this->Html->link($u, $u);
?>
-</p>
\ No newline at end of file
+</p>

Modified: registry/trunk/app/View/CoNsfDemographics/index.ctp
===================================================================
--- registry/trunk/app/View/CoNsfDemographics/index.ctp 2012-04-19 03:02:02
UTC (rev 287)
+++ registry/trunk/app/View/CoNsfDemographics/index.ctp 2012-04-19 06:27:18
UTC (rev 288)
@@ -22,9 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php print $title_for_layout; ?></h1>
+<?php
+ $params = array('title' => $title_for_layout);
+ print $this->element("pageTitle", $params);

-<?php
if($permissions['add'])
{
$args = array('controller' => 'co_nsf_demographics',

Modified: registry/trunk/app/View/CoPeople/index.ctp
===================================================================
--- registry/trunk/app/View/CoPeople/index.ctp 2012-04-19 03:02:02 UTC (rev
287)
+++ registry/trunk/app/View/CoPeople/index.ctp 2012-04-19 06:27:18 UTC (rev
288)
@@ -22,9 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php echo $cur_co['Co']['name']; ?> People</h1>
+<?php
+ $params = array('title' => $cur_co['Co']['name'] . " People");
+ print $this->element("pageTitle", $params);

-<?php
if($permissions['enroll'] && !empty($co_enrollment_flows)) {
print $this->Html->link(_txt('op.enroll'),
array('controller' => 'co_enrollment_flows',
'action' => 'select', 'co' => $cur_co['Co']['id']),
@@ -172,4 +173,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>

Modified: registry/trunk/app/View/CoPeople/invite.ctp
===================================================================
--- registry/trunk/app/View/CoPeople/invite.ctp 2012-04-19 03:02:02 UTC (rev
287)
+++ registry/trunk/app/View/CoPeople/invite.ctp 2012-04-19 06:27:18 UTC (rev
288)
@@ -22,9 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php echo _txt('op.inv-t',
array(Sanitize::html(generateCn($co_people[0]['Name'])),
Sanitize::html($cur_co['Co']['name']))); ?></h1>
+<?php
+ $params = array('title' => _txt('op.inv-t',
array(Sanitize::html(generateCn($co_people[0]['Name'])),
Sanitize::html($cur_co['Co']['name']))));
+ print $this->element("pageTitle", $params);

-<?php
$submit_label = _txt('op.inv.send');
echo $this->Form->create('CoPerson',
array('action' => 'add',

Modified: registry/trunk/app/View/CoPersonRoles/index.ctp
===================================================================
--- registry/trunk/app/View/CoPersonRoles/index.ctp 2012-04-19 03:02:02
UTC (rev 287)
+++ registry/trunk/app/View/CoPersonRoles/index.ctp 2012-04-19 06:27:18
UTC (rev 288)
@@ -23,9 +23,9 @@
*/

-->
-<h1 class="ui-state-default"><?php echo $cur_co['Co']['name']; ?> People</h1>
-
<?php
+ $params = array('title' => $cur_co['Co']['name'] . "People");
+ print $this->element("pageTitle", $params);

// Globals
global $cm_lang, $cm_texts;

Modified: registry/trunk/app/View/CoPetitions/index.ctp
===================================================================
--- registry/trunk/app/View/CoPetitions/index.ctp 2012-04-19 03:02:02
UTC (rev 287)
+++ registry/trunk/app/View/CoPetitions/index.ctp 2012-04-19 06:27:18
UTC (rev 288)
@@ -22,9 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php echo $cur_co['Co']['name']; ?> People</h1>
+<?php
+ $params = array('title' => $cur_co['Co']['name'] . " People");
+ print $this->element("pageTitle", $params);

-<?php
if($permissions['add']) {
print $this->Html->link(_txt('op.enroll'),
array('controller' => 'co_enrollment_flows',
'action' => 'select', 'co' => $cur_co['Co']['id']),

Modified: registry/trunk/app/View/Cos/index.ctp
===================================================================
--- registry/trunk/app/View/Cos/index.ctp 2012-04-19 03:02:02 UTC (rev
287)
+++ registry/trunk/app/View/Cos/index.ctp 2012-04-19 06:27:18 UTC (rev
288)
@@ -22,9 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php print $title_for_layout; ?></h1>
+<?php
+ $params = array('title' => $title_for_layout);
+ print $this->element("pageTitle", $params);

-<?php
if($permissions['add'])
print $this->Html->link(_txt('op.add') . ' ' . _txt('ct.cos.1'),
array('controller' => 'cos', 'action' => 'add'),
@@ -99,4 +100,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>

Modified: registry/trunk/app/View/Cos/select.ctp
===================================================================
--- registry/trunk/app/View/Cos/select.ctp 2012-04-19 03:02:02 UTC (rev
287)
+++ registry/trunk/app/View/Cos/select.ctp 2012-04-19 06:27:18 UTC (rev
288)
@@ -22,7 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php echo _txt('op.select-a',
array(_txt('ct.cos.1'))); ?></h1>
+<?php
+ $params = array('title' => _txt('op.select-a', array(_txt('ct.cos.1'))));
+ print $this->element("pageTitle", $params);
+?>

<p>
<?php echo _txt('co.select'); ?>
@@ -44,4 +47,4 @@
echo $this->Form->select('co', $a, array('empty' => false));
echo $this->Form->submit(_txt('op.select'));
echo $this->Form->end();
-?>
\ No newline at end of file
+?>

Modified: registry/trunk/app/View/Cous/index.ctp
===================================================================
--- registry/trunk/app/View/Cous/index.ctp 2012-04-19 03:02:02 UTC (rev
287)
+++ registry/trunk/app/View/Cous/index.ctp 2012-04-19 06:27:18 UTC (rev
288)
@@ -22,9 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php echo $title_for_layout; ?></h1>
+<?php
+ $params = array('title' => $title_for_layout);
+ print $this->element("pageTitle", $params);

-<?php
if($permissions['add'])
echo $this->Html->link(_txt('op.add') . ' ' . _txt('ct.cous.1'),
array('controller' => 'cous', 'action' => 'add',
'co' => $this->params['named']['co']),
@@ -89,4 +90,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>

Modified: registry/trunk/app/View/EmailAddresses/index.ctp
===================================================================
--- registry/trunk/app/View/EmailAddresses/index.ctp 2012-04-19 03:02:02
UTC (rev 287)
+++ registry/trunk/app/View/EmailAddresses/index.ctp 2012-04-19 06:27:18
UTC (rev 288)
@@ -22,7 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php echo _txt('ct.email_addresses.pl');
?></h1>
+<?php
+ $params = array('title' => _txt('ct.email_addresses.pl'));
+ print $this->element("pageTitle", $params);
+?>

<table id="email_addresses" class="ui-widget">
<thead>
@@ -97,4 +100,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>

Modified: registry/trunk/app/View/Identifiers/index.ctp
===================================================================
--- registry/trunk/app/View/Identifiers/index.ctp 2012-04-19 03:02:02
UTC (rev 287)
+++ registry/trunk/app/View/Identifiers/index.ctp 2012-04-19 06:27:18
UTC (rev 288)
@@ -22,7 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php echo _txt('ct.identifiers.pl'); ?></h1>
+<?php
+ $params = array('title' => _txt('ct.identifiers.pl'));
+ print $this->element("pageTitle", $params);
+?>

<table id="identifiers" class="ui-widget">
<thead>
@@ -106,4 +109,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>

Modified: registry/trunk/app/View/Layouts/default.ctp
===================================================================
--- registry/trunk/app/View/Layouts/default.ctp 2012-04-19 03:02:02 UTC (rev
287)
+++ registry/trunk/app/View/Layouts/default.ctp 2012-04-19 06:27:18 UTC (rev
288)
@@ -36,7 +36,7 @@
<!-- Include the gears and jquery style sheets -->
<?php print $this->Html->css('comanage'); ?>
<?php print $this->Html->css('body'); ?>
- <?php print
$this->Html->css('jquery/ui/css/start/jquery-ui-1.8.16.custom'); ?>
+ <?php print
$this->Html->css('jquery/ui/css/custom-theme/jquery-ui-1.8.18.custom'); ?>
<?php print $this->Html->css('jquery/superfish-1.4.8/css/superfish'); ?>
<?php print $this->Html->css('menubar'); ?>


Modified: registry/trunk/app/View/OrgIdentities/addvialdap.ctp
===================================================================
--- registry/trunk/app/View/OrgIdentities/addvialdap.ctp 2012-04-19
03:02:02 UTC (rev 287)
+++ registry/trunk/app/View/OrgIdentities/addvialdap.ctp 2012-04-19
06:27:18 UTC (rev 288)
@@ -19,9 +19,10 @@
*
*/
-->
-<h1 class="ui-state-default">Add a New Organizational Person</h1>
+<?php
+ $params = array('title' => "Add a New Organizational Person");
+ print $this->element("pageTitle", $params);

-<?php
// XXX this page needs I18N and maybe sanitize_html

// Assemble list of organizations
@@ -72,4 +73,4 @@

<?php
echo $this->Form->end();
-?>
\ No newline at end of file
+?>

Modified: registry/trunk/app/View/OrgIdentities/find.ctp
===================================================================
--- registry/trunk/app/View/OrgIdentities/find.ctp 2012-04-19 03:02:02
UTC (rev 287)
+++ registry/trunk/app/View/OrgIdentities/find.ctp 2012-04-19 06:27:18
UTC (rev 288)
@@ -22,7 +22,10 @@
* @version $Id$
*/
?>
-<h1 class="ui-state-default"><?php echo _txt('op.find.inv',
array(Sanitize::html($cur_co['Co']['name']))); ?></h1>
+<?php
+ $params = array('title' => _txt('op.find.inv',
array(Sanitize::html($cur_co['Co']['name']))));
+ print $this->element("pageTitle", $params);
+?>

<table id="org_identities" class="ui-widget">
<thead>

Modified: registry/trunk/app/View/OrgIdentities/index.ctp
===================================================================
--- registry/trunk/app/View/OrgIdentities/index.ctp 2012-04-19 03:02:02
UTC (rev 287)
+++ registry/trunk/app/View/OrgIdentities/index.ctp 2012-04-19 06:27:18
UTC (rev 288)
@@ -25,10 +25,9 @@
// Globals
global $cm_lang, $cm_texts;

-?>
-<h1 class="ui-state-default"><?php echo _txt('ct.org_identities.pl'); ?></h1>
+ $params = array('title' => _txt('ct.org_identities.pl'));
+ print $this->element("pageTitle", $params);

-<?php
if($permissions['add'])
print $this->Html->link(_txt('op.add.new',
array(_txt('ct.org_identities.1'))),
array('controller' => 'org_identities',

Modified: registry/trunk/app/View/Organizations/index.ctp
===================================================================
--- registry/trunk/app/View/Organizations/index.ctp 2012-04-19 03:02:02
UTC (rev 287)
+++ registry/trunk/app/View/Organizations/index.ctp 2012-04-19 06:27:18
UTC (rev 288)
@@ -19,9 +19,10 @@
*
*/
-->
-<h1 class="ui-state-default"><?php echo _txt('ct.organizations.pl'); ?></h1>
+<?php
+ $params = array('title' => _txt('ct.organizations.pl'));
+ print $this->element("pageTitle", $params);

-<?php
if($permissions['add'])
echo $this->Html->link(_txt('op.add'),
array('controller' => 'organizations', 'action'
=> 'add'),
@@ -81,4 +82,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>

Modified: registry/trunk/app/View/Standard/add.ctp
===================================================================
--- registry/trunk/app/View/Standard/add.ctp 2012-04-19 03:02:02 UTC (rev
287)
+++ registry/trunk/app/View/Standard/add.ctp 2012-04-19 06:27:18 UTC (rev
288)
@@ -47,10 +47,10 @@
elseif(isset($co_people[0]['Name']))
$h .= " (" . Sanitize::html(generateCn($co_people[0]['Name'])) . ")";
}
-?>
-<h1 class="ui-state-default"><?php print $h; ?></h1>

-<?php
+ $params = array('title' => $h);
+ print $this->element("pageTitle", $params);
+
$submit_label = _txt('op.add');

print $this->Form->create(
@@ -66,4 +66,4 @@

include(APP . "View/" . $model . "/fields.inc");
print $this->Form->end();
-?>
\ No newline at end of file
+?>

Modified: registry/trunk/app/View/Standard/edit.ctp
===================================================================
--- registry/trunk/app/View/Standard/edit.ctp 2012-04-19 03:02:02 UTC (rev
287)
+++ registry/trunk/app/View/Standard/edit.ctp 2012-04-19 06:27:18 UTC (rev
288)
@@ -51,10 +51,10 @@
$h = _txt('op.edit-a', array(Sanitize::html($d[0][$req]['name'])));
else
$h = _txt('op.edit');
-?>
-<h1 class="ui-state-default"><?php echo $h; ?></h1>

-<?php
+ $params = array('title' => $h);
+ print $this->element("pageTitle", $params);
+
$submit_label = _txt('op.save');
echo $this->Form->create($req,
array('action' => 'edit',

Modified: registry/trunk/app/View/Standard/view.ctp
===================================================================
--- registry/trunk/app/View/Standard/view.ctp 2012-04-19 03:02:02 UTC (rev
287)
+++ registry/trunk/app/View/Standard/view.ctp 2012-04-19 06:27:18 UTC (rev
288)
@@ -52,10 +52,10 @@
$h = _txt('op.view-a', array(Sanitize::html($d[0][$req]['label'])));
else
$h = _txt('op.view-a', array(Sanitize::html($d[0][$req]['name'])));
-?>
-<h1 class="ui-state-default"><?php echo $h; ?></h1>

-<?php
+ $params = array('title' => $h);
+ print $this->element("pageTitle", $params);
+
include(APP . "View/" . $model . "/fields.inc");

// If user has edit permission, offer an edit button
@@ -71,4 +71,4 @@
$a,
array('class' => 'editbutton'));
}
-?>
\ No newline at end of file
+?>

Modified: registry/trunk/app/View/TelephoneNumbers/index.ctp
===================================================================
--- registry/trunk/app/View/TelephoneNumbers/index.ctp 2012-04-19 03:02:02
UTC (rev 287)
+++ registry/trunk/app/View/TelephoneNumbers/index.ctp 2012-04-19 06:27:18
UTC (rev 288)
@@ -22,7 +22,10 @@
* @version $Id$
*/
-->
-<h1 class="ui-state-default"><?php echo _txt('ct.telephone_numbers.pl');
?></h1>
+<?php
+ $params = array('title' => _txt('ct.telephone_numbers.pl'));
+ print $this->element("pageTitle", $params);
+?>

<table id="telephone_numbers" class="ui-widget">
<thead>
@@ -97,4 +100,4 @@
</td>
</tr>
</tfoot>
-</table>
\ No newline at end of file
+</table>



  • [comanage-dev] r288 - in registry/trunk/app: View/CoEnrollmentAttributes View/CoEnrollmentFlows View/CoExtendedAttributes View/CoGroupMembers View/CoGroups View/CoInvites View/CoNsfDemographics View/CoPeople View/CoPersonRoles View/CoPetitions View/Cos View/Cous View/Elements View/EmailAddresses View/Identifiers View/Layouts View/OrgIdentities View/Organizations View/Standard View/TelephoneNumbers webroot/css, svnlog, 04/19/2012

Archive powered by MHonArc 2.6.16.

Top of Page