From 068987935e08d8878797fe235c52239cb9aa97cf Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Thu, 7 Aug 2003 14:39:29 +0000 Subject: [PATCH] Change hardcoded lang strings for vars git-svn-id: file:///svn/phpbb/trunk@4349 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/admin_styles.php | 157 ++++++++++++++++++++----------------- 1 file changed, 86 insertions(+), 71 deletions(-) diff --git a/phpBB/adm/admin_styles.php b/phpBB/adm/admin_styles.php index aa2a7d05c1..005ea788fe 100644 --- a/phpBB/adm/admin_styles.php +++ b/phpBB/adm/admin_styles.php @@ -602,7 +602,7 @@ switch ($mode)
"> - + - + - + - + - + - + - - + + - - + + ">
Edit Stylelang['EDIT_STYLE']; ?>
Style Name:lang['STYLE_NAME']; ?>:
Style Copyright:lang['STYLE_COPYRIGHT']; ?>: ' . $style_copyright . '' : ''; @@ -631,7 +631,7 @@ switch ($mode) ?>
Template set:lang['STYLE_TEMPLATE']; ?>: $template_name" : ''; @@ -639,7 +639,7 @@ switch ($mode) ?>
Theme set:lang['STYLE_THEME']; ?>: $theme_name" : ''; @@ -647,7 +647,7 @@ switch ($mode) ?>
Imageset:lang['STYLE_IMAGESET']; ?>: $imageset_name" : ''; @@ -655,8 +655,8 @@ switch ($mode) ?>
Active: /> Yes   /> Nolang['STYLE_ACTIVE']; ?>: /> lang['YES']; ?>   /> lang['NO']; ?>
Make default style: /> Yes   /> Nolang['STYLE_DEFAULT']; ?>: /> lang['YES']; ?>   /> lang['NO']; ?>
- - - + + + - + " width="100%">"> - - - + + + - + - + - + - +
Style nameUsed byOptionslang['STYLE_NAME']; ?>lang['STYLE_USED_BY']; ?>lang['OPTIONS']; ?>
Installed styleslang['INSTALLED_STYLE']; ?>
 ">lang['STYLE_' . strtoupper($stylevis)]; ?>  ">Delete  ">Export  Preview  ">lang['DELETE']; ?>  ">lang['EXPORT']; ?>  lang['PREVIEW']; ?> 
Uninstalled styleslang['UNINSTALLED_STYLE']; ?>
">Install">lang['INSTALL']; ?>
No uninstalled themes detectedlang['NO_UNINSTALLED_STYLE']; ?>
Create new style: lang['CREATE_STYLE']; ?>:
$img_ary) @@ -985,21 +985,21 @@ switch ($mode) - + - - + + - + - + @@ -1413,7 +1413,7 @@ function viewsource(url) break; case 'edit': - $tplcols = (isset($_POST['tplcols'])) ? max(20, intval($_POST['tplcols'])) : 76; + $tplcols = (isset($_POST['tplcols'])) ? max(20, intval($_POST['tplcols'])) : 80; $tplrows = (isset($_POST['tplrows'])) ? max(5, intval($_POST['tplrows'])) : 20; $tplname = (isset($_POST['tplname'])) ? $_POST['tplname'] : ''; $tpldata = (!empty($_POST['tpldata'])) ? stripslashes($_POST['tpldata']) : ''; // NB : STRIPSLASHED! @@ -1474,7 +1474,7 @@ function viewsource(url) @unlink("{$phpbb_root_path}cache/tpl_{$template_name}_$tplname.$phpEx"); $error[] = $user->lang['TEMPLATE_UPDATED']; - add_log('admin', 'LOG_EDIT_TEMPLATE', $template_name); + add_log('admin', 'LOG_EDIT_TEMPLATE', $template_name, $tplname); } $test_ary = array(); @@ -1564,20 +1564,35 @@ function viewsource(url)

lang['EDIT_TEMPLATE_EXPLAIN']; ?>

-">
Previewlang['EDIT_IMAGESET']; ?>
img_lang, $$imgname)) . ' vspace="5" />' : ''; ?>
ParameterValuelang['IMAGE_PARAMETER']; ?>lang['IMAGE_VALUE']; ?>
Image:lang['IMAGE']; ?>:
Dimensions:
Dimensions are optional, set to zero to ignore.
lang['DIMENSIONS']; ?>:
lang['DIMENSIONS_EXPLAIN']; ?>
X
+">
-
lang['SELECT_TEMPLATE']; ?>:  
+
- + - + + - + + + + + @@ -1938,7 +1953,7 @@ function csspreview() ?> -

Note

+

lang['SHOW_RAW_CSS_NOTE']; ?>

lang['SHOW_RAW_CSS_EXPLAIN']; ?>

- + - - + + - + - - + + - + - + - + - - + + - + - + - + - + - + - +
Columns:  Rows:   lang['TEXT_COLUMNS']; ?>:  lang['TEXT_ROWS']; ?>:  
Raw HTMLlang['RAW_HTML']; ?>
', $error); ?>
  
Raw CSSlang['RAW_CSS']; ?>
ParameterValuelang['CSS_PARAMETER']; ?>lang['CSS_VALUE']; ?>
Backgroundlang['BACKGROUND']; ?>
Color:
This is a hex-triplet of the form RRGGBB
Web-safe Colour Swatch
 
lang['BACKGROUND_COLOUR']; ?>:
lang['COLOUR_EXPLAIN']; ?>
    [ lang['COLOUR_SWATCH']; ?> ]
Image:lang['BACKGROUND_IMAGE']; ?>:
Repeat background:lang['BACKGROUND_REPEAT']; ?>:
Foregroundlang['FOREGROUND']; ?>
Color:
This is a hex-triplet of the form RRGGBB
Web-safe Colour Swatch
 
lang['FONT_COLOUR']; ?>:
lang['COLOUR_EXPLAIN']; ?> lang['COLOUR_SWATCH']; ?>
    [ lang['COLOUR_SWATCH']; ?> ]
Font:
You can specify multiple fonts seperated by commas
lang['FONT_FACE']; ?>:
lang['FONT_FACE_EXPLAIN']; ?>
Size:lang['FONT_SIZE']; ?>:
Bold:lang['BOLD']; ?>: /> lang['YES']; ?>   /> lang['NO']; ?>   /> lang['UNSET']; ?>
Italic:lang['ITALIC']; ?>: /> lang['YES']; ?>   /> lang['NO']; ?>   /> lang['UNSET']; ?>
Underline:lang['UNDERLINE']; ?>: /> lang['YES']; ?>   /> lang['NO']; ?>   /> lang['UNSET']; ?>
Line spacing:lang['LINE_SPACING']; ?>:
-

Custom Class

+

lang['CUSTOM_CLASS']; ?>

-

You can add additional classes to this theme if you wish. You must provide the actual CSS class name below, it must be the same as that you have or will use in your template. Please remember that class names may contain only alphanumeric characters, periods (.), colons (:) and number/hash/pound (#). The new class will be added to the Custom Class category in the select box above.

+

lang['CUSTOM_CLASS_EXPLAIN']; ?>

- + @@ -3080,7 +3095,7 @@ function details($type, $mode, $action, $id) ?> - + No import' . $store_options; + $store_options = '' . $store_options; $sql = "SELECT {$type}_id, {$type}_name FROM $table"; $result = $db->sql_query($sql); - $basis_options = ''; + $basis_options = ''; while ($row = $db->sql_fetchrow($result)) { $selected = (!empty($_POST['basis']) && $_POST['basis'] == $row[$type . '_id']) ? ' selected="selected"' : '';
- - + @@ -2202,11 +2217,11 @@ function front($type, $options) ">
Add Custom Class + lang['CUSTOM_CLASS']; ?>
CSS class name:lang['CSS_CLASS_NAME']; ?>:
- - + + - + - + - + - + - +
Theme nameOptionslang[$l_prefix . '_NAME']; ?>lang['OPTIONS']; ?>
Installed themeslang['INSTALLED_' . $l_prefix]; ?>
Uninstalled themeslang['UNINSTALLED_' . $l_prefix]; ?>
">Install">lang['INSTALL']; ?>
No uninstalled themes detectedlang['NO_UNINSTALLED_' . $l_prefix]; ?>
Create new theme: lang['CREATE_' . $l_prefix]; ?>:
@@ -2425,7 +2440,7 @@ function remove($type, $id, $name, $path, $storedb = false) ?>
Update XXXXXX to:
Select XXXXXX to replace this one if used by styles.
lang['REPLACE_' . $l_prefix]; ?>:
lang['REPLACE_' . $l_prefix . '_EXPLAIN']; ?>
lang[$l_type . '_LOCATION']; ?>:
lang[$l_type . '_LOCATION_EXPLAIN']; ?>
/> Filesystem   />Database /> lang['STORE_FILESYSTEM']; ?>   /> lang['STORE_DATABASE']; ?>