From 1ccfd3f86239951515258313db3bb2c11bccdc91 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 15 Jul 2003 22:34:59 +0000 Subject: [PATCH] last play for tonight git-svn-id: file:///svn/phpbb/trunk@4268 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/admin_styles.php | 224 ++++++++++++++++++++++++++----------- 1 file changed, 156 insertions(+), 68 deletions(-) diff --git a/phpBB/adm/admin_styles.php b/phpBB/adm/admin_styles.php index ac3905dc41..b14c06cdee 100644 --- a/phpBB/adm/admin_styles.php +++ b/phpBB/adm/admin_styles.php @@ -265,11 +265,11 @@ switch ($mode)

lang['MANAGE_STYLE_EXPLAIN']; ?>

-
"> +">
- + sql_fetchrow($result)); } - else - { - } $db->sql_freeresult($result); @@ -337,6 +334,36 @@ switch ($mode) switch ($action) { + case 'add': + case 'details': + + + adm_page_header($user->lang['EDIT_IMAGESET']); + +?> +">
Style name Used by Options
+ + + +
+ + + + + + + + + + + + +
ParameterValue
Imageset name:
Copyright:
+lang['EDIT_IMAGESET_EXPLAIN']; ?>

"> - @@ -506,10 +515,10 @@ switch ($mode)

lang['MANAGE_IMAGESET_EXPLAIN']; ?>

-">
lang['SELECT_CLASS']; ?>:  
+">
- + + @@ -534,15 +544,12 @@ switch ($mode) } while ($row = $db->sql_fetchrow($result)); } - else - { - } $db->sql_freeresult($result); ?> - +
Imageset name Options
"> ">Details   ">Delete   ">Export 
 Create new imageset:
lang['EDIT_TEMPLATE']); + +?> + +

lang['EDIT_TEMPLATE']; ?>

+ +

lang['EDIT_TEMPLATE_EXPLAIN']; ?>

+ +
" onsubmit="return csspreview()"> + + + +
+ + + + + + + + + + + + + + + +
ParameterValue
Template name:
Copyright:
  
+lang['EDIT_TEMPLATE_EXPLAIN']; ?>

-
"> +">
@@ -752,10 +787,10 @@ switch ($mode)

lang['MANAGE_TEMPLATE_EXPLAIN']; ?>

-">
lang['SELECT_TEMPLATE']; ?>:  
+">
- - + + + + @@ -790,7 +827,7 @@ switch ($mode) ?> - +
Template name Template nameOptions
">  ">BBCode  ">Cache  ">Details   ">Delete   ">Export   ">Preview 
 Create new template:
@@ -817,6 +854,48 @@ switch ($mode) case 'preview': break; + case 'add': + case 'details': + + // Output the page + adm_page_header($user->lang['EDIT_THEME']); + +?> + +

lang['EDIT_THEME']; ?>

+ +

lang['EDIT_THEME_EXPLAIN']; ?>

+ +
" onsubmit="return csspreview()"> + + + +
+ + + + + + + + + + + + + + + +
ParameterValue
Theme name:
Copyright:
  
+
" onsubmit="return csspreview()"> - @@ -1488,10 +1549,10 @@ function csspreview()

lang['THEMES_EXPLAIN']; ?>

-">
lang['SELECT_CLASS']; ?>:  
+">
- + ', $row['theme_name'], ''); ?> + @@ -1523,15 +1585,41 @@ function csspreview() } while ($row = $db->sql_fetchrow($result)); } - else - { - } $db->sql_freeresult($result); ?> - + + +
Theme name Options
 ">Details   ">Delete   ">Export   ">Preview 
Create new theme: Create new theme:
+ +

If you have uploaded a new theme to your themes/ folder it will be listed here. Before it can be used you need to install it using the form below.

+ +
"> + + + + + + + + + +
Install theme
No new themes detected
+ +

You may upload additional themes using the form below. Once uploaded the theme will immediately be available for use, editing, etc.

+ +
"> + + + + + + + + +
Upload Theme
Theme file:
File types: .zip, .tar.gz