27 header(
'Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
28 header(
'Pragma: no-cache');
29 header(
'Expires: '.gmdate(
'D, d M Y H:i:s', time()-3600).
' GMT');
31 include(dirname(__FILE__).
'/header.php');
33 <script language=
"JavaScript" type=
"text/javascript">
35 function popup_init() {
37 var data = owner.bodycopy_current_edit[
"data"][
"attributes"];
38 var f = document.main_form;
40 f.height.value = (data[
'height'] == null) ?
"" : data[
'height'];
41 f.bgcolor.value = (data[
'bgcolor'] == null) ?
"" : data[
'bgcolor'];
42 f.dir.value = (data[
'dir'] == null) ?
"" : data[
'dir'];
46 function save_props(f) {
47 var data =
new Object();
48 data[
"height"] = owner.form_element_value(f.height);
49 data[
"bgcolor"] = owner.form_element_value(f.bgcolor);
50 data[
"dir"] = owner.form_element_value(f.dir);
51 owner.bodycopy_save_table_row_properties(data);
55 <div
class=
"title"><?php echo translate(
'table_row_properties'); ?></div>
57 <form name=
"main_form">
58 <table width=
"100%" border=
"0" class=
"bodycopy-popup-table">
62 <legend><?php echo translate(
'properties'); ?></legend>
63 <table border=
"0" cellpadding=
"0" cellspacing=
"4">
65 <td
class=
"label"><?php echo translate(
'height'); ?>:</td>
66 <td><input type=
"text" name=
"height" value=
"" size=
"5"></td>
69 <td
class=
"label"><?php echo translate(
'background_colour'); ?>:</td>
70 <td><?php colour_box(
'bgcolor',
'', TRUE,
'*',TRUE, FALSE, FALSE);?></td>
79 <legend><?php echo translate(
'text_direction'); ?></legend>
80 <table border=
"0" cellpadding=
"0" cellspacing=
"4">
82 <td
class=
"label"><?php echo translate(
'bodycopy_direction'); ?></td>
85 <option value=
""><?php echo translate(
'content_type_no_change'); ?></option>
86 <option value=
"ltr"><?php echo translate(
'bodycopy_left_to_right'); ?></option>
87 <option value=
"rtl"><?php echo translate(
'bodycopy_right_to_left'); ?></option>
97 <div style=
"text-align: right;">
98 <button type=
"button" name=
"ok" onClick=
"javascript: save_props(this.form)"><?php echo translate(
'ok'); ?></button>
100 <button type=
"button" name=
"cancel" onClick=
"javascript: popup_close();"><?php echo translate(
'cancel'); ?></button>
106 <?php include(dirname(__FILE__).
'/footer.php'); ?>