Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

improved extension page

  • Loading branch information...
commit 488d0e72baaf22e7ac1343675fc331600287fcb8 1 parent 2d8840f
Denis authored
View
11 inc/handler_exception.inc
@@ -56,6 +56,17 @@ function exception_handler($e)
error_log("----------------------------",0);
error_log(" ",0);
error_log("MSG:".$e->getMessage(), 0);
+ error_log(" ",0);
+ error_log(" ",0);
+ error_log(" ",0);
+ error_log(" ",0);
+ error_log(" ",0);
+ error_log("TRC:".$e->getTraceAsString(), 0);
+ error_log(" ",0);
+ error_log(" ",0);
+ error_log(" ",0);
+ error_log(" ",0);
+ error_log(" ",0);
error_log("SQL:".$e->sql, 0);
error_log(" ",0);
error_log("----------------------------",0);
View
2  mod/admin/tpls/act_Extensions.php
@@ -9,7 +9,7 @@
</tr>
<?php
global $conf;
- $lines = file($conf['extension'].'/extensions.list',FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
+ $lines = file($conf['extension'].'/extensions.list?host='.$_SERVER['HTTP_HOST'],FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
foreach ($lines as $line_num => $line) {
echo "<tr><td>". $line ."</td></tr><br />\n";
}
View
6 mod/admin/tpls/sec_mod_menu.php
@@ -1,6 +1,10 @@
<div id='admin_menu'>
<div id='admin_menu_wrap'>
<ul>
+ <?php
+ global $conf;
+ if(!isset($conf['extension'])){
+ ?>
<li><a href='<?php get_url('admin','field_customization' ) ?>'><?php echo _t('FORM_CUSTOMIZATION')?></a>
<ul>
<li><a href="<?php get_url('admin','field_customization')?>"><?php echo _t('EXISTING_FIELDS')?></a></li>
@@ -10,7 +14,9 @@
--></ul>
</li>
+
<li><a href="<?php get_url('admin','mt_customization')?>"><?php echo _t('MICRO_THESAURI')?></a></li>
+ <?php } ?>
<li>
<a href="<?php get_url('admin','user_management')?>"><?php echo _t('USER_MANAGEMENT')?></a>
<ul>
View
2  mod/person/personModule.class.php
@@ -281,7 +281,7 @@ function act_browse()
//iterate through the search fields, checking input values
foreach($entity_type_form_results as $field_name => $x){
// Generates the view's Label list
- $htmlFields[$field_name] = $entity_fields_html[$field_name] ;
+ $htmlFields[$field_name] = $entity_fields_html[$field_name];
}
$this->result_pager = Browse::getExecuteSql($sqlStatement);
$this->columnValues = $this->result_pager->get_page_data();
View
4 tpls/sec_menu.php
@@ -44,11 +44,11 @@
<?php
if('admin' == $module ){
$active = 'class="active"';
- $breadcrumbs->pushCrumb(array('name'=>_t('ADMIN'),'mod'=>'admin','act'=>'field_customization'),0);
+ $breadcrumbs->pushCrumb(array('name'=>_t('ADMIN'),'mod'=>'admin','act'=>'user_management'),0);
}
else $active = '';
?>
- <li <?php echo $active ?>><a href="<?php get_url('admin','field_customization') ?>"><?php echo _t('ADMIN') ?></a></li>
+ <li <?php echo $active ?>><a href="<?php get_url('admin','user_management') ?>"><?php echo _t('ADMIN') ?></a></li>
<?php } ?>
</ul>
<div style="clear:both"></div>
Please sign in to comment.
Something went wrong with that request. Please try again.