18 require_once SQ_CORE_PACKAGE_PATH.
'/bodycopy/bodycopy/bodycopy_edit_fns.inc';
41 parent::__construct();
59 <p>Click here
for <a href=
"#" onClick=
"javascript: var win = window.open('<?php echo sq_web_path('data')?>/asset_types/layout/popups/print_limbo_keywords.php', 'keywords', 'toolbar=0,menubar=0,location=0,status=0,scrollbars=1,resizable=1,width=580,height=520')">a list of specific asset keywords available
for use in Simple Edit Mode</a>.</p>
94 return parent::paintBodycopy($asset, $o, $prefix);
111 return parent::processBodycopy($asset, $o, $prefix);
130 $layout_display_options = $asset->
attr(
'options');
132 $show_cascade_metadata_field = FALSE;
133 if (isset($layout_display_options[
'show_cascade_metadata_field'])) {
134 $show_cascade_metadata_field = $layout_display_options[
'show_cascade_metadata_field'];
138 check_box($prefix.
'[show_cascade_metadata_field]', 1, $show_cascade_metadata_field);
139 label(translate(
'core_layout_show_cascade_metadata_field'), $prefix.
'[show_cascade_metadata_field]');
142 <img src=
"<?php echo sq_web_path('lib'); ?>/web/images/<?php echo ($show_cascade_metadata_field ? 'tick' : 'cross'); ?>.gif" width=
"15" height=
"15" />
144 echo translate(
'core_layout_show_cascade_metadata_field');
167 $layout_display_options = $asset->
attr(
'options');
170 $layout_display_options[
'show_cascade_metadata_field'] = FALSE;
172 if (isset($_POST[$prefix][
'show_cascade_metadata_field'])) {
173 $layout_display_options[
'show_cascade_metadata_field'] = (bool) $_POST[$prefix][
'show_cascade_metadata_field'];
176 $asset->
setAttrValue(
'options', $layout_display_options);