* @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ /** * This script generates an index of some template vars and their use within the templates. * It writes down all language variables used by various templates. */ // // Security message: // // This script is potentially dangerous. // Remove or comment the next line (die(".... ) to enable this script. // Do NOT FORGET to either remove this script or disable it after you have used it. // die("Please read the first lines of this script for instructions on how to enable it"); $directory = '../styles/subSilver/template/'; $ext = 'html'; $store_dir = '../store/'; $phpfiles_directories = array('../', '../includes/', '../includes/acm/', '../includes/auth/', '../includes/mcp/', '../includes/ucp/'); // Template Files beginning with this names are merged together $merge = array('gcp', 'login', 'mcp', 'memberlist', 'posting', 'ucp'); if (!is_writable($store_dir)) { die("Directory $store_dir is not writable!"); } $contents = implode('', file('../adm/subSilver.css', filesize('../adm/subSilver.css'))); $fp = fopen($store_dir . 'subSilver.css', 'w'); fwrite($fp, $contents); fclose($fp); $html_skeleton = '
File {FILENAME} |
'; $html_skeleton .= ' Back to Contents '; $html_skeleton .= ' Language Variables :: Includes :: Conditionals Remaining Vars :: phpBB File Usage :: References'; $html_skeleton .= ' Language Variables {LANGUAGE_VARIABLES}'; $html_skeleton .= ' Included Files {INCLUDES}'; $html_skeleton .= ' Used Conditionals {CONDITIONALS}'; $html_skeleton .= ' Remaining Vars used {REMAINING_VARS}'; $html_skeleton .= ' This Template File is used by the following phpBB Files {USED_BY}'; $html_skeleton .= ' References: {SEE_FILES}'; //$html_skeleton .= "\n\n"; $html_skeleton .= ' Powered by phpBB® Forum Software © phpBB Limited
|