Changeset 608 for trunk/admin
- Timestamp:
- 01/14/09 16:26:13 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/inc/class.uiconfig.inc.php
r597 r608 160 160 $dir = $GLOBALS['phpgw']->common->get_app_dir($appname) . "/inc"; 161 161 $options = ' '; 162 if (is_dir($dir)) { 163 if ($dh = opendir($dir)) { 164 while (($file = readdir($dh)) !== false) { 162 if (is_dir($dir)) 163 { 164 if ($dh = opendir($dir)) 165 { 166 while (($file = readdir($dh)) !== false) 167 { 165 168 $temp = explode(".",$file); 166 if((substr($temp[1],0,5)=='login') && ($temp[0]=='class')) { 169 if( (substr($temp[1],0,5) =='login') && ($temp[0] == 'class') ) 170 { 167 171 $options .= "<option value='".$temp[1]."'"; 168 172 if($current_config['expressoAdmin_loginGenScript'] == $temp[1]) … … 181 185 if($appname=="admin") { 182 186 /* 183 * FCK editor para o termo de aceite187 * FCK editor to agree term 184 188 */ 185 189 include_once("news_admin/inc/fckeditor.php"); 186 $texto_termo_aceite = isset($GLOBALS['phpgw_info']['server']['agree_term']) ? $GLOBALS['phpgw_info']['server']['agree_term'] : '';187 190 $oFCKeditor = new FCKeditor('newsettings[agree_term]');//CreateObject('news_admin.fckeditor','newsettings[agree_term]'); 188 191 $oFCKeditor->BasePath = 'news_admin/templates/celepar/fckeditor/'; 189 192 $oFCKeditor->ToolbarSet = 'Basic'; 190 $oFCKeditor->Value = $texto_termo_aceite;193 $oFCKeditor->Value = isset($GLOBALS['phpgw_info']['server']['agree_term']) ? $GLOBALS['phpgw_info']['server']['agree_term'] : ''; 191 194 $t->set_var('agree_term_input',$oFCKeditor->Create()); 192 195 }
Note: See TracChangeset
for help on using the changeset viewer.