1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

content: small fix to admin create category

This commit is contained in:
lia
2007-04-18 21:13:23 +00:00
parent f92d94c2e9
commit 91d45d6eb3
2 changed files with 25 additions and 25 deletions

View File

@@ -1315,7 +1315,7 @@ if($show['enddate']===true){
SC_END
SC_BEGIN CATFORM_UPLOAD
global $row, $show;
global $row, $show, $content_pref;
if($show['uploadicon']===true){
$text='';
if(!FILE_UPLOADS){
@@ -1335,7 +1335,7 @@ if($show['uploadicon']===true){
SC_END
SC_BEGIN CATFORM_ICON
global $row, $rs, $show, $fl;
global $row, $rs, $show, $fl, $content_pref;
if($show['selecticon']===true){
$rejectlist = array('$.','$..','/','CVS','thumbs.db','Thumbs.db','*._$', 'index', 'null*');
$iconlist = $fl->get_files($content_pref['content_cat_icon_path_large'],"",$rejectlist);

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/handlers/content_form_class.php,v $
| $Revision: 1.15 $
| $Date: 2007-04-18 20:46:04 $
| $Revision: 1.16 $
| $Date: 2007-04-18 21:13:23 $
| $Author: lisa_ $
+---------------------------------------------------------------+
*/
@@ -1308,7 +1308,7 @@ class contentform{
function show_create_category(){
global $qs, $plugintable, $plugindir, $sql, $ns, $rs, $aa, $fl, $pref, $tp, $content_shortcodes, $row, $message;
global $show, $CONTENT_ADMIN_CAT_CREATE, $CONTENT_ADMIN_FORM_TARGET, $CONTENT_ADMIN_BUTTON, $CATFORM_CATEGORY;
global $months, $current_year, $ne_day, $ne_month, $ne_year, $end_day, $end_month, $end_year;
global $months, $current_year, $ne_day, $ne_month, $ne_year, $end_day, $end_month, $end_year, $content_pref;
$months = array(CONTENT_ADMIN_DATE_LAN_0, CONTENT_ADMIN_DATE_LAN_1, CONTENT_ADMIN_DATE_LAN_2, CONTENT_ADMIN_DATE_LAN_3, CONTENT_ADMIN_DATE_LAN_4, CONTENT_ADMIN_DATE_LAN_5, CONTENT_ADMIN_DATE_LAN_6, CONTENT_ADMIN_DATE_LAN_7, CONTENT_ADMIN_DATE_LAN_8, CONTENT_ADMIN_DATE_LAN_9, CONTENT_ADMIN_DATE_LAN_10, CONTENT_ADMIN_DATE_LAN_11);