Revision 1819
Added by Dietmar almost 12 years ago
setparameter.php | ||
---|---|---|
123 | 123 |
if (isset($pathsettings[$safepath]['height'])){ $cur_height = $pathsettings[$safepath]['height'];} |
124 | 124 |
$cur_width = ($cur_width ? (int)$cur_width : ''); |
125 | 125 |
$cur_height = ($cur_height ? (int)$cur_height : ''); |
126 |
// |
|
126 |
// check for user homefolder
|
|
127 | 127 |
$bPathCanEdit = (preg_match('/'.$currentHome.'/i', $safepath)) ? true : false; |
128 | 128 |
|
129 | 129 |
// if($row_bg_color == 'DEDEDE') $row_bg_color = 'EEEEEE'; |
... | ... | |
132 | 132 |
|
133 | 133 |
$template->set_var(array( |
134 | 134 |
'ADMIN_URL' => ADMIN_URL, |
135 |
'THEME_URL' => THEME_URL, |
|
135 | 136 |
'PATH_NAME' => $relative, |
136 | 137 |
'WIDTH' => $TEXT['WIDTH'], |
137 | 138 |
'HEIGHT' => $TEXT['HEIGHT'], |
138 | 139 |
'FIELD_NAME_W' => $safepath.'-w', |
139 | 140 |
'FIELD_NAME_H' => $safepath.'-h', |
140 | 141 |
'CAN_EDIT_CLASS' => ($bPathCanEdit==false) ? '' : 'bold', |
142 |
'SHOW_EDIT_CLASS' => ($bPathCanEdit==false) ? 'hide' : '', |
|
141 | 143 |
'READ_ONLY_DIR' => ($bPathCanEdit==false) ? ' readonly="readonly"' : '', |
142 | 144 |
'CUR_HEIGHT' => $cur_height, |
143 | 145 |
'CUR_WIDTH' => $cur_width, |
Also available in: Unified diff
- removed obselete resize_img.php