mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
re-write of admin->links + some form-handler option fixes.
This commit is contained in:
1467
e107_admin/links.php
1467
e107_admin/links.php
File diff suppressed because it is too large
Load Diff
@@ -9,8 +9,8 @@
|
||||
* e107 Main
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/e107_class.php,v $
|
||||
* $Revision: 1.81 $
|
||||
* $Date: 2009-11-22 14:10:07 $
|
||||
* $Revision: 1.82 $
|
||||
* $Date: 2009-11-23 11:51:01 $
|
||||
* $Author: e107coders $
|
||||
*/
|
||||
|
||||
@@ -1443,7 +1443,7 @@ class e107
|
||||
*/
|
||||
public function set_eUrls()
|
||||
{
|
||||
global $PLUGINS_DIRECTORY,$ADMIN_DIRECTORY;
|
||||
global $PLUGINS_DIRECTORY,$ADMIN_DIRECTORY, $eplug_admin;
|
||||
|
||||
$pref = $this->getConfig()->getPref();
|
||||
$page = substr(strrchr($_SERVER['PHP_SELF'], '/'), 1);
|
||||
|
@@ -9,9 +9,9 @@
|
||||
* Form Handler
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
|
||||
* $Revision: 1.89 $
|
||||
* $Date: 2009-11-21 11:15:28 $
|
||||
* $Author: secretr $
|
||||
* $Revision: 1.90 $
|
||||
* $Date: 2009-11-23 11:51:02 $
|
||||
* $Author: e107coders $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -425,7 +425,15 @@ class e_form
|
||||
{
|
||||
$option_array = array(1=>LAN_YES,0=>LAN_NO);
|
||||
}
|
||||
return $this->select_open($name, $options)."\n".$this->option_multi($option_array, $selected)."\n".$this->select_close();
|
||||
$text = $this->select_open($name, $options)."\n";
|
||||
|
||||
if(vartrue($options['default']))
|
||||
{
|
||||
$text .= $this->option($options['default'],'');
|
||||
}
|
||||
|
||||
$text .= $this->option_multi($option_array, $selected)."\n".$this->select_close();
|
||||
return $text;
|
||||
}
|
||||
|
||||
function uc_select($name, $current_value, $uc_options, $select_options = array(), $opt_options = array())
|
||||
|
Reference in New Issue
Block a user