8 <h2><?php echo
Rights::t(
'core',
'Generate items'); ?></h2>
10 <p><?php echo
Rights::t(
'core',
'Please select which items you wish to generate.'); ?></p>
14 <?php
$form = $this->beginWidget(
'CActiveForm'); ?>
18 <table
class=
"items generate-item-table" border=
"0" cellpadding=
"0" cellspacing=
"0">
22 <tr
class=
"application-heading-row">
23 <th colspan=
"3"><?php echo
Rights::t(
'core',
'Application'); ?></th>
26 <?php $this->renderPartial(
'_generateItems', array(
30 'existingItems' => $existingItems,
31 'displayModuleHeadingRow' =>
true,
32 'basePathLength' => strlen(Yii::app()->basePath),
43 <?php echo CHtml::link(
Rights::t(
'core',
'Select all'),
'#', array(
44 'onclick' =>
"jQuery('.generate-item-table').find(':checkbox').attr('checked', 'checked'); return false;",
45 'class' =>
'selectAllLink', )); ?>
47 <?php echo CHtml::link(
Rights::t(
'core',
'Select none'),
'#', array(
48 'onclick' =>
"jQuery('.generate-item-table').find(':checkbox').removeAttr('checked'); return false;",
49 'class' =>
'selectNoneLink', )); ?>
55 <?php echo CHtml::submitButton(
Rights::t(
'core',
'Generate')); ?>
59 <?php $this->endWidget(); ?>