|
From: FlorinCB <ory...@us...> - 2009-10-23 07:47:12
|
Update of /cvsroot/mxbb/core/admin In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv23497/core/admin Modified Files: admin_mx_meta.php Log Message: some fixed here and there not comitted Index: admin_mx_meta.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_meta.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** admin_mx_meta.php 4 Feb 2008 15:44:44 -0000 1.19 --- admin_mx_meta.php 23 Oct 2009 07:46:32 -0000 1.20 *************** *** 49,60 **** $author = $mx_request_vars->post('author', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); $copyright = $mx_request_vars->post('copyright', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); $keywords = $mx_request_vars->post('keywords', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); $description = $mx_request_vars->post('description', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); ! $langcode = $mx_request_vars->post('langcode', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); ! $rating = $mx_request_vars->post('rating', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); ! $index = $mx_request_vars->post('index', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); ! $follow = $mx_request_vars->post('follow', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); ! $pragma = $mx_request_vars->post('pragma', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); ! $icon = $mx_request_vars->post('icon', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); // --- 49,62 ---- $author = $mx_request_vars->post('author', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); $copyright = $mx_request_vars->post('copyright', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); + $imagetoolbar = $mx_request_vars->post('imagetoolbar', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), 'no'); + $distribution = $mx_request_vars->post('distribution', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), 'global'); $keywords = $mx_request_vars->post('keywords', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); $description = $mx_request_vars->post('description', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), ''); ! $langcode = $mx_request_vars->post('langcode', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), 'en-gb'); ! $rating = $mx_request_vars->post('rating', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), 'general'); ! $index = $mx_request_vars->post('index', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), 'follow'); ! $follow = $mx_request_vars->post('follow', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), 'index'); ! $pragma = $mx_request_vars->post('pragma', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), '7'); ! $icon = $mx_request_vars->post('icon', (MX_TYPE_NO_TAGS | MX_TYPE_NO_STRIP), 'favicon.ico'); // *************** *** 64,70 **** $config_data = '<?php'; ! $config_data .= "\n" . ' $title = "' . $title . '";'; $config_data .= "\n" . ' $author = "' . $author . '";'; $config_data .= "\n" . ' $copyright = "' . $copyright . '";'; $config_data .= "\n" . ' $keywords = "' . $keywords . '";'; $config_data .= "\n" . ' $description = "' . $description . '";'; --- 66,74 ---- $config_data = '<?php'; ! $config_data .= "\n" . ' $title = "' . str_replace("\'", "`", htmlspecialchars(trim($title))) . '";'; $config_data .= "\n" . ' $author = "' . $author . '";'; $config_data .= "\n" . ' $copyright = "' . $copyright . '";'; + $config_data .= "\n" . ' $imagetoolbar = "' . $imagetoolbar . '";'; + $config_data .= "\n" . ' $distribution = "' . $distribution . '";'; $config_data .= "\n" . ' $keywords = "' . $keywords . '";'; $config_data .= "\n" . ' $description = "' . $description . '";'; *************** *** 76,80 **** $config_data .= "\n" . ' $icon = "' . $icon . '";'; $config_data .= "\n" . ' $header = "' . $header . '";'; ! $config_data .= "\n" . '?>'; // Done this to prevent highlighting editors getting confused! // --- 80,84 ---- $config_data .= "\n" . ' $icon = "' . $icon . '";'; $config_data .= "\n" . ' $header = "' . $header . '";'; ! $config_data .= "\n" . '?>'; // Done this to prevent highlighting editors getting confused // *************** *** 121,124 **** --- 125,130 ---- 'L_AUTHOR' => $lang['Meta_Author'], 'L_COPYRIGHT' => $lang['Meta_Copyright'], + 'L_IMAGETOOLBAR' => $lang['Meta_ImageToolBar'], + 'L_DISTRIBUTION' => $lang['Meta_Distribution'], 'L_KEYWORDS' => $lang['Meta_Keywords'], 'L_KEYWORDS_EXPLAIN' => $lang['Meta_Keywords_explain'], *************** *** 135,138 **** --- 141,146 ---- 'AUTHOR' => $author, 'COPYRIGHT' => $copyright, + 'IMAGETOOLBAR' => $imagetoolbar, + 'DISTRIBUTION' => $distribution, 'KEYWORDS' => $keywords, 'DESCRIPTION' => $description, |