';
$text .= "
';
if(vartrue($pref['e_latest_list']))
@@ -815,6 +815,17 @@ class admin_shortcodes
$obj = e107::getDateConvert();
$install_date = $obj->convert_date($pref['install_date'], 'long');
+ if(is_readable(THEME."theme.xml"))
+ {
+ $xml = e107::getXml();
+ $data = $xml->loadXMLfile(THEME."theme.xml",true);
+
+ $themename = $data['@attributes']['name'];
+ $themeversion = $data['@attributes']['version'];
+ $themedate = $data['@attributes']['date'];
+ $themeauthor = $data['author']['@attributes']['name'];
+ }
+
$text = "
".FOOTLAN_1."
".
SITENAME."
@@ -886,7 +897,7 @@ class admin_shortcodes
$comments = $sql -> db_Count('comments');
- $unver = ($unverified ? "
".ADLAN_111."" : ADLAN_111);
+ $unver = ($unverified ? "
".ADLAN_111."" : ADLAN_111);
$text = "
@@ -1223,12 +1234,15 @@ class admin_shortcodes
}
// MAIN LINK
- $menu_vars = array();
- $menu_vars['adminhome']['text'] = ADLAN_151;
- $menu_vars['adminhome']['link'] = e_ADMIN_ABS.'admin.php';
- $menu_vars['adminhome']['image'] = "

";
- $menu_vars['adminhome']['image_src'] = ADLAN_151;
- $menu_vars['adminhome']['perm'] = '';
+ if($parm != 'no-main')
+ {
+ $menu_vars = array();
+ $menu_vars['adminhome']['text'] = ADLAN_151;
+ $menu_vars['adminhome']['link'] = e_ADMIN_ABS.'admin.php';
+ $menu_vars['adminhome']['image'] = "

";
+ $menu_vars['adminhome']['image_src'] = ADLAN_151;
+ $menu_vars['adminhome']['perm'] = '';
+ }
//ALL OTHER ROOT LINKS - temporary data transformation - data structure will be changed in the future and this block will be removed
diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php
index 445a94f30..48701c93f 100644
--- a/e107_handlers/form_handler.php
+++ b/e107_handlers/form_handler.php
@@ -851,7 +851,7 @@ class e_form
{
$options = $this->format_options('radio', $name, $options);
$options['checked'] = $checked; //comes as separate argument just for convenience
- $options['class'] = 'inline';
+ // $options['class'] = 'inline';
return "
get_attributes($options, $name, $value)." />";
}
@@ -899,7 +899,7 @@ class e_form
function label($text, $name = '', $value = '')
{
$for_id = $this->_format_id('', $name, $value, 'for');
- return "
";
+ return "
";
}
function help($text)
@@ -1354,7 +1354,7 @@ class e_form
break;
case 'radio':
- $def_options['class'] = 'radio';
+ $def_options['class'] = 'radio inline';
unset($def_options['size'], $def_options['selected']);
break;