From 3c10b3da9feaf945c68f4c698bf0e341b0e8e557 Mon Sep 17 00:00:00 2001 From: patdenice Date: Wed, 17 Mar 2010 15:27:14 +0000 Subject: [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 --- plugins/LocalFilesEditor/admin.php | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'plugins/LocalFilesEditor/admin.php') 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.'&tab=localconf'); -$tabsheet->add('css', - l10n('locfiledit_onglet_css'), - $my_base_url.'&tab=css'); $tabsheet->add('tpl', l10n('locfiledit_onglet_tpl'), $my_base_url.'&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()) -- cgit v1.2.3