mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +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
|
* e107 Main
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/e107_class.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_handlers/e107_class.php,v $
|
||||||
* $Revision: 1.81 $
|
* $Revision: 1.82 $
|
||||||
* $Date: 2009-11-22 14:10:07 $
|
* $Date: 2009-11-23 11:51:01 $
|
||||||
* $Author: e107coders $
|
* $Author: e107coders $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1443,7 +1443,7 @@ class e107
|
|||||||
*/
|
*/
|
||||||
public function set_eUrls()
|
public function set_eUrls()
|
||||||
{
|
{
|
||||||
global $PLUGINS_DIRECTORY,$ADMIN_DIRECTORY;
|
global $PLUGINS_DIRECTORY,$ADMIN_DIRECTORY, $eplug_admin;
|
||||||
|
|
||||||
$pref = $this->getConfig()->getPref();
|
$pref = $this->getConfig()->getPref();
|
||||||
$page = substr(strrchr($_SERVER['PHP_SELF'], '/'), 1);
|
$page = substr(strrchr($_SERVER['PHP_SELF'], '/'), 1);
|
||||||
|
@@ -9,9 +9,9 @@
|
|||||||
* Form Handler
|
* Form Handler
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
|
||||||
* $Revision: 1.89 $
|
* $Revision: 1.90 $
|
||||||
* $Date: 2009-11-21 11:15:28 $
|
* $Date: 2009-11-23 11:51:02 $
|
||||||
* $Author: secretr $
|
* $Author: e107coders $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -425,7 +425,15 @@ class e_form
|
|||||||
{
|
{
|
||||||
$option_array = array(1=>LAN_YES,0=>LAN_NO);
|
$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())
|
function uc_select($name, $current_value, $uc_options, $select_options = array(), $opt_options = array())
|
||||||
|
Reference in New Issue
Block a user