- Preview |
+ lang['EDIT_IMAGESET']; ?> |
img_lang, $$imgname)) . ' vspace="5" />' : ''; ?> |
- Parameter |
- Value |
+ lang['IMAGE_PARAMETER']; ?> |
+ lang['IMAGE_VALUE']; ?> |
- Image: |
+ lang['IMAGE']; ?>: |
|
- Dimensions: Dimensions are optional, set to zero to ignore. |
+ lang['DIMENSIONS']; ?>: lang['DIMENSIONS_EXPLAIN']; ?> |
X |
@@ -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']; ?>
- |