aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/LocalFilesEditor/admin.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-03-17 15:27:14 +0000
committerpatdenice <patdenice@piwigo.org>2010-03-17 15:27:14 +0000
commit3c10b3da9feaf945c68f4c698bf0e341b0e8e557 (patch)
tree83d304a4d703875e67a26a3598594efcad3bd488 /plugins/LocalFilesEditor/admin.php
parent595a87ac7e5aa7fad3260849be0a9f11edd665fe (diff)
[LocalFiles Editor]
Update editarea to 0.8.2. Remove CSS tab. Fix jQuery path. git-svn-id: http://piwigo.org/svn/trunk@5160 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/LocalFilesEditor/admin.php32
1 files changed, 0 insertions, 32 deletions
diff --git a/plugins/LocalFilesEditor/admin.php b/plugins/LocalFilesEditor/admin.php
index 088d6f84c..149bae919 100644
--- a/plugins/LocalFilesEditor/admin.php
+++ b/plugins/LocalFilesEditor/admin.php
@@ -39,9 +39,6 @@ $tabsheet = new tabsheet();
$tabsheet->add('localconf',
l10n('locfiledit_onglet_localconf'),
$my_base_url.'&amp;tab=localconf');
-$tabsheet->add('css',
- l10n('locfiledit_onglet_css'),
- $my_base_url.'&amp;tab=css');
$tabsheet->add('tpl',
l10n('locfiledit_onglet_tpl'),
$my_base_url.'&amp;tab=tpl');
@@ -141,35 +138,6 @@ switch ($page['tab'])
$editarea_options['syntax'] = 'php';
break;
- case 'css':
- $template_dir = PHPWG_ROOT_PATH . 'template';
- $selected = 0;
- $options[] = l10n('locfiledit_choose_file');
- $options[] = '----------------------';
- $value = PHPWG_ROOT_PATH . "template-common/local-layout.css";
- $options[$value] = 'template-common / local-layout.css';
- if ($edited_file == $value) $selected = $value;
-
- foreach (get_dirs($template_dir) as $pwg_template)
- {
- $options[] = '----------------------';
- $value = $template_dir . '/' . $pwg_template . '/local-layout.css';
- $options[$value] = $pwg_template . ' / local-layout.css';
- if ($edited_file == $value) $selected = $value;
- $options[] = '----------------------';
- foreach (get_dirs($template_dir.'/'.$pwg_template.'/theme') as $theme)
- {
- $value = $template_dir.'/'.$pwg_template.'/theme/'.$theme.'/theme.css';
- $options[$value] = $pwg_template . ' / ' . $theme . ' / theme.css';
- if ($edited_file == $value) $selected = $value;
- }
- }
- $template->assign('css_lang_tpl', array(
- 'OPTIONS' => $options,
- 'SELECTED' => $selected));
- $editarea_options['syntax'] = 'css';
- break;
-
case 'tpl':
// New file form creation
if ($newfile_page and !is_adviser())