@@ -229,7 +236,7 @@ EOF;
EOF;
}
- if (!empty($tinyib_uploads) && ($raw_post || !in_array('file', $hide_fields))) {
+ if (!empty($tinyib_uploads) && ($staff_post || !in_array('file', $hide_fields))) {
if (TINYIB_MAXKB > 0) {
$max_file_size_input_html = '
';
$max_file_size_rules_html = '
' . sprintf(__('Maximum file size allowed is %s.'), TINYIB_MAXKBDESC) . '';
@@ -255,7 +262,7 @@ EOF;
EOF;
}
- $embeds_enabled = (!empty($tinyib_embeds) || TINYIB_UPLOADVIAURL) && ($raw_post || !in_array('embed', $hide_fields));
+ $embeds_enabled = (!empty($tinyib_embeds) || TINYIB_UPLOADVIAURL) && ($staff_post || !in_array('embed', $hide_fields));
if ($embeds_enabled) {
$txt_embed = __('Embed');
$txt_embed_help = '';
@@ -304,7 +311,7 @@ EOF;
$input_extra
EOF;
- if ($raw_post || !in_array('name', $hide_fields)) {
+ if ($staff_post || !in_array('name', $hide_fields)) {
$txt_name = __('Name');
$output .= <<
@@ -318,7 +325,7 @@ EOF;
EOF;
}
- if ($raw_post || !in_array('email', $hide_fields)) {
+ if ($staff_post || !in_array('email', $hide_fields)) {
$txt_email = __('E-mail');
$output .= <<
@@ -332,7 +339,7 @@ EOF;
EOF;
}
- if ($raw_post || !in_array('subject', $hide_fields)) {
+ if ($staff_post || !in_array('subject', $hide_fields)) {
$txt_subject = __('Subject');
$output .= <<
@@ -346,7 +353,7 @@ EOF;
EOF;
}
- if ($raw_post || !in_array('message', $hide_fields)) {
+ if ($staff_post || !in_array('message', $hide_fields)) {
$txt_message = __('Message');
$output .= <<
@@ -365,7 +372,7 @@ EOF;
$file_input_html
$embed_input_html
EOF;
- if ($raw_post || !in_array('password', $hide_fields)) {
+ if ($staff_post || !in_array('password', $hide_fields)) {
$txt_password = __('Password');
$txt_password_help = __('(for post and file deletion)');
$output .= <<] [';
}
- $output .= '' . __('Raw Post') . '] [';
+ $output .= '' . __('Staff Post') . '] [';
if ($isadmin) {
$output .= '' . __('Rebuild All') . '] [';
$output .= '' . __('Reports') . '] [';
@@ -916,7 +923,7 @@ function manageOnLoad($page) {
return ' onload="document.tinyib.text.focus();"';
case 'moderate':
return ' onload="document.tinyib.moderate.focus();"';
- case 'rawpost':
+ case 'staffpost':
return ' onload="document.tinyib.message.focus();"';
}
}