</table>
</p>
</div>
+
+
+<hr>
+
+<div class="profile_tables view">
+<h2><?php __('Sample');?></h2>
+<p>
+<table class="Character">
+<tbody>
+<!-- Profiles -->
+<?php
+ $profiledisp->set_profile_type4view($profile['Profile']);
+ ?>
+<tr>
+<th style="width: 100px;">
+ <?php echo $profile['Profile']['name']; ?>
+</th>
+<td colspan="3"<?php if ($profiledisp->profile_type['is_table']): ?> class="table"<?php endif; ?>>
+<?php
+ $profiledisp->disp_forms4profile_type($profile, 3, 0);
+ ?>
+</td>
+</tr>
+</tbody>
+</table>
+</div>
+
+</p>
+</div>
</table>
</p>
</div>
+
+<hr>
+
+<div class="profile_tables view">
+<h2><?php __('Sample');?></h2>
+<p>
+<table class="Character">
+<tbody>
+<!-- Profiles -->
+<?php
+ $profiledisp->set_profile_type4view($profile['Profile']);
+ ?>
+<tr>
+<th style="width: 100px;">
+ <?php echo $profile['Profile']['name']; ?>
+</th>
+<td colspan="3"<?php if ($profiledisp->profile_type['is_table']): ?> class="table"<?php endif; ?>>
+<?php
+ $profiledisp->disp_forms4profile_type($profile, 3, 0);
+ ?>
+</td>
+</tr>
+</tbody>
+</table>
+</div>
+
+</p>
+</div>
'label' => __('Profile Type', true),
);
$profiledisp->set_profile_type4view($this->data['Profile']);
- if ($profiledisp->profile_type['is_subsetting']) {
- $profile_type_select_options['after'] = $html->tag(
- 'div',
- __('If change, Profile Selects/Table Settings will be deleted.', true),
- array('class' => 'notice')
- );
- }
+ $profile_type_select_options['after'] = $html->tag(
+ 'div',
+ __('If change, Profile Selects/Table Settings or Character Profiles will be deleted.', true),
+ array('class' => 'notice')
+ );
echo $profiledisp->create_profile_type_select($profile_type, 'profile_type', $profile_type_select_options);
echo $form->input('required', array(
'label' => __('Required', true),
<?php endif; ?>
<tr>
<td colspan="6" class="actions">
-<?php if ($profiledisp->profile_type['is_select']): ?>
+<?php if ($profiledisp->profile_type['is_select'] || $profiledisp->profile_type['is_radio'] || $profiledisp->profile_type['is_checkbox']): ?>
<?php
echo $html->link(
__('Edit Items', true),