diff --git a/templates/columns_definitions/column_comment.phtml b/templates/columns_definitions/column_comment.phtml index 52ab5886de..6008a74e68 100644 --- a/templates/columns_definitions/column_comment.phtml +++ b/templates/columns_definitions/column_comment.phtml @@ -3,8 +3,8 @@ name="field_comments[]" size="12" maxlength="= 50503 ? 1024 : 255; ?>" - value="" + value="" class="textfield" /> diff --git a/templates/columns_definitions/column_definitions_form.phtml b/templates/columns_definitions/column_definitions_form.phtml index 22a1aece13..737ddb67a0 100644 --- a/templates/columns_definitions/column_definitions_form.phtml +++ b/templates/columns_definitions/column_definitions_form.phtml @@ -7,35 +7,39 @@ use PMA\libraries\StorageEngine; action="" class="_form ajax lock-page"> + + + + value=""> + value=""> + value=""> + value=""> + value="">
@@ -46,7 +50,7 @@ use PMA\libraries\StorageEngine; name="table" size="40" maxlength="64" - value="" + value="" class="textfield" autofocus required /> diff --git a/templates/columns_definitions/column_name.phtml b/templates/columns_definitions/column_name.phtml index aa077ec8a1..b5cc26ba5b 100644 --- a/templates/columns_definitions/column_name.phtml +++ b/templates/columns_definitions/column_name.phtml @@ -29,8 +29,7 @@ if (empty($title)) { class="textfield" title="" size="10" - value="" /> + value="" /> ]" id="field__" - > + + disabled="disabled" + > diff --git a/templates/columns_definitions/transformation_option.phtml b/templates/columns_definitions/transformation_option.phtml index b046d12c07..598f0e6472 100644 --- a/templates/columns_definitions/transformation_option.phtml +++ b/templates/columns_definitions/transformation_option.phtml @@ -4,9 +4,6 @@ name="field_[]" size="16" class="textfield" - value="" /> + value="" /> diff --git a/templates/database/structure/show_create.phtml b/templates/database/structure/show_create.phtml index 5dd5d1d166..c14d3467cd 100644 --- a/templates/database/structure/show_create.phtml +++ b/templates/database/structure/show_create.phtml @@ -12,28 +12,24 @@ } ?> - render( - array( - 'db' => $db, - 'title' => __('Tables'), - 'raw_title' => 'Table', - 'db_objects' => $tables - ) - ); - ?> + render( + array( + 'db' => $db, + 'title' => __('Tables'), + 'raw_title' => 'Table', + 'db_objects' => $tables + ) + ) ?> - render( + render( array( 'db' => $db, 'title' => __('Views'), 'raw_title' => 'View', 'db_objects' => $views ) - ); - ?> + ) ?>
diff --git a/templates/database/structure/structure_table_row.phtml b/templates/database/structure/structure_table_row.phtml index 409cd1ee7c..aec7e78e2e 100644 --- a/templates/database/structure/structure_table_row.phtml +++ b/templates/database/structure/structure_table_row.phtml @@ -1,4 +1,4 @@ - - diff --git a/templates/list/item.phtml b/templates/list/item.phtml index 863bf20ec7..54b66edb82 100644 --- a/templates/list/item.phtml +++ b/templates/list/item.phtml @@ -12,38 +12,30 @@ * - title - optional string - Title of link */ ?> -> - +
  • + > + + - - - > - + + + - + + + +
  • diff --git a/templates/list/unordered.phtml b/templates/list/unordered.phtml index 32198c7ce5..9f71914154 100644 --- a/templates/list/unordered.phtml +++ b/templates/list/unordered.phtml @@ -9,21 +9,19 @@ * $content - mandatory string - Content to display if $item is empty */ ?> -> - $item); - } - echo PMA\libraries\Template::get('list/item') - ->render($item); - endforeach; - elseif (!empty($content)) : - echo $content; - endif; - ?> - \ No newline at end of file + + > + + + + + $item) ?> + + render($item) + ?> + + + + + diff --git a/templates/prefs_autoload.phtml b/templates/prefs_autoload.phtml index 860bdd3d40..2308b1668c 100644 --- a/templates/prefs_autoload.phtml +++ b/templates/prefs_autoload.phtml @@ -4,12 +4,10 @@ - + ) ?>
    / diff --git a/templates/server/variables/link_template.phtml b/templates/server/variables/link_template.phtml index 306d22434a..73b8774c7b 100644 --- a/templates/server/variables/link_template.phtml +++ b/templates/server/variables/link_template.phtml @@ -4,10 +4,8 @@ - 'display:none', 'id' => 'docImage') -); -?> +) ?> diff --git a/templates/server/variables/variable_row.phtml b/templates/server/variables/variable_row.phtml index a6d7e4bfb0..064e42d37d 100644 --- a/templates/server/variables/variable_row.phtml +++ b/templates/server/variables/variable_row.phtml @@ -11,10 +11,9 @@ - '; + ' ?> diff --git a/templates/table/chart/tbl_chart.phtml b/templates/table/chart/tbl_chart.phtml index e00f01bbed..c01b9c0efe 100644 --- a/templates/table/chart/tbl_chart.phtml +++ b/templates/table/chart/tbl_chart.phtml @@ -83,19 +83,20 @@ - -
    @@ -120,10 +121,12 @@ diff --git a/templates/table/gis_visualization/gis_visualization.phtml b/templates/table/gis_visualization/gis_visualization.phtml index 5663374444..36c358b10d 100644 --- a/templates/table/gis_visualization/gis_visualization.phtml +++ b/templates/table/gis_visualization/gis_visualization.phtml @@ -32,7 +32,9 @@ /> + + checked="checked" + /> diff --git a/templates/table/index_form.phtml b/templates/table/index_form.phtml index bf9ddf9a92..90c4ecef28 100644 --- a/templates/table/index_form.phtml +++ b/templates/table/index_form.phtml @@ -162,7 +162,9 @@ || in_array($field_type, $spatial_types))): ?> @@ -174,7 +176,10 @@ + value="getChoice() != 'SPATIAL') ? + $column->getSubPart() + : '' + ?>" /> @@ -202,7 +207,7 @@ } ?> - + () diff --git a/templates/table/relation/foreign_key_row.phtml b/templates/table/relation/foreign_key_row.phtml index 3623359cf3..f777e301a7 100644 --- a/templates/table/relation/foreign_key_row.phtml +++ b/templates/table/relation/foreign_key_row.phtml @@ -79,8 +79,10 @@ if ($foreign_db) { diff --git a/templates/table/search/fields_table.phtml b/templates/table/search/fields_table.phtml index 69903422c7..a5f725b74e 100644 --- a/templates/table/search/fields_table.phtml +++ b/templates/table/search/fields_table.phtml @@ -1,4 +1,6 @@ -> +
    + id="tableFieldsId" + > render(array( 'geomColumnFlag' => $geomColumnFlag @@ -9,7 +11,7 @@ ->render(array( 'self' => $self, 'columnNames' => $columnNames - )); ?> + )) ?> render(array( @@ -18,7 +20,7 @@ 'columnNames' => $columnNames, 'columnTypes' => $columnTypes, 'columnCollations' => $columnCollations - )); ?> + )) ?>
    diff --git a/templates/table/search/input_box.phtml b/templates/table/search/input_box.phtml index 26f4602e1e..1503472697 100644 --- a/templates/table/search/input_box.phtml +++ b/templates/table/search/input_box.phtml @@ -5,11 +5,11 @@ if ($_foreigners && PMA_searchColumnInForeigners($_foreigners, $column_name)): ?> /> + href=" $db, 'table' => $table)) + , ('&field=') , urlencode($column_name) + , ('&fieldkey=') , $column_index + , ('&fromsearch=1') + ?>"> + diff --git a/templates/table/search/selection_form.phtml b/templates/table/search/selection_form.phtml index cf8ba5c224..e33556015d 100644 --- a/templates/table/search/selection_form.phtml +++ b/templates/table/search/selection_form.phtml @@ -19,12 +19,13 @@ 'columnNames' => $columnNames, 'columnTypes' => $columnTypes, 'columnCollations' => $columnCollations - )); - echo PMA\libraries\Template::get('table/search/options_zoom') + )) + ?> + render(array( 'dataLabel' => $dataLabel, 'columnNames' => $columnNames - )); ?> + )) ?> @@ -71,7 +72,9 @@
    + + id="inputFormSubmitId" + value="" />
    diff --git a/templates/table/search/zoom_result_form.phtml b/templates/table/search/zoom_result_form.phtml index a6d17f2cbc..a6580f351d 100644 --- a/templates/table/search/zoom_result_form.phtml +++ b/templates/table/search/zoom_result_form.phtml @@ -73,8 +73,7 @@ - render(array( + render(array( 'str' => '', 'column_type' => $_columnTypes[$column_index], 'column_id' => ($_columnTypes[$column_index]) ? 'edit_fieldID_' : 'fieldID_', diff --git a/templates/table/structure/actions_in_table_structure.phtml b/templates/table/structure/actions_in_table_structure.phtml index f8bff5365f..89e970f974 100644 --- a/templates/table/structure/actions_in_table_structure.phtml +++ b/templates/table/structure/actions_in_table_structure.phtml @@ -1,9 +1,8 @@
      - - echo PMA\libraries\Template::get('table/structure/action_row_in_structure_table')->render( + render( array( 'type' => $type, 'tbl_storage_engine' => $tbl_storage_engine, @@ -19,11 +18,10 @@ 'row' => $row, 'isPrimary' => true ) - ); + ) ?> - render( + render( array( 'type' => $type, 'tbl_storage_engine' => $tbl_storage_engine, @@ -39,11 +37,10 @@ 'row' => $row, 'isPrimary' => false ) - ); + ) ?> - render( + render( array( 'type' => $type, 'tbl_storage_engine' => $tbl_storage_engine, @@ -59,16 +56,16 @@ 'row' => $row, 'isPrimary' => false ) - ); + ) ?> - render( + ?> + render( array( 'type' => $type, 'tbl_storage_engine' => $tbl_storage_engine, @@ -84,7 +81,7 @@ 'row' => $row, 'isPrimary' => false ) - ); + ) ?>
    • diff --git a/templates/table/structure/check_all_table_column.phtml b/templates/table/structure/check_all_table_column.phtml index c8d1cc257d..454e23226c 100644 --- a/templates/table/structure/check_all_table_column.phtml +++ b/templates/table/structure/check_all_table_column.phtml @@ -1,35 +1,33 @@ diff --git a/templates/table/structure/table_structure_header.phtml b/templates/table/structure/table_structure_header.phtml index fbec6dced8..e5c41dde4d 100644 --- a/templates/table/structure/table_structure_header.phtml +++ b/templates/table/structure/table_structure_header.phtml @@ -2,9 +2,9 @@ # - - echo __('Name'); ?> +