2010-08-29 Raúu Mateos <raulofpandora@gmail.com>
* godmode/agentes/fields_manager.php: Added code to show text if no fields defined, instead the table header. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5a21d5b2e3
commit
64e83fa9e3
|
@ -1,3 +1,8 @@
|
|||
2010-08-29 Raúl Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* godmode/agentes/fields_manager.php: Added code to show text if no
|
||||
fields defined, instead the table header.
|
||||
|
||||
2010-08-27 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* godmode/agents/module_manager_editor.php: Changed if() statements
|
||||
|
@ -392,7 +397,7 @@
|
|||
* godmode/setup/setup_auth.php: Added to repository. Authentication
|
||||
scheme setup options.
|
||||
|
||||
010-08-10 Ramon Novoa <rnovoa@artica.es>
|
||||
2010-08-10 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* include/auth/mysql.php, include/functions_config.php,
|
||||
include/config_process.php, pandora_console.spec,
|
||||
|
|
|
@ -85,19 +85,22 @@ if ($delete_field) {
|
|||
echo "<h3 class='suc'>".__('Field successfully deleted')."</h3>";
|
||||
}
|
||||
|
||||
|
||||
$table->width = '65%';
|
||||
$table->head = array ();
|
||||
$table->head[0] = __('Field');
|
||||
$table->head[1] = __('Display on front').print_help_tip (__('The fields with display on front enabled will be displayed into the agent details'), true);
|
||||
$table->head[2] = __('Actions');
|
||||
$table->align = array ();
|
||||
$table->align[1] = 'center';
|
||||
$table->align[2] = 'center';
|
||||
$table->data = array ();
|
||||
|
||||
$fields = get_db_all_fields_in_table('tagent_custom_fields');
|
||||
|
||||
if ($fields) {
|
||||
$table->width = '65%';
|
||||
$table->head = array ();
|
||||
$table->head[0] = __('Field');
|
||||
$table->head[1] = __('Display on front').print_help_tip (__('The fields with display on front enabled will be displayed into the agent details'), true);
|
||||
$table->head[2] = __('Actions');
|
||||
$table->align = array ();
|
||||
$table->align[1] = 'center';
|
||||
$table->align[2] = 'center';
|
||||
$table->data = array ();
|
||||
} else {
|
||||
echo '<div class="nf">'. __('No fields defined') .'</div>';
|
||||
}
|
||||
|
||||
if($fields === false) $fields = array();
|
||||
|
||||
foreach ($fields as $field) {
|
||||
|
|
Loading…
Reference in New Issue