Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Figueroa <amenadiel@gmail.com>2018-03-15 03:18:43 +0300
committerFelipe Figueroa <amenadiel@gmail.com>2018-03-15 03:18:43 +0300
commit1eb1d45690e3a88c33ad7e9247e3d3f9b4de0ab6 (patch)
treee5cce2580b1937ce2f6f8b4edf5f3eb178e7a6ec /src/controllers/MaterializedviewpropertiesController.php
parent2f3fc300fe7d73c492e75cde7ac550a18083b65d (diff)
fixes wrong parameter tpe
Diffstat (limited to 'src/controllers/MaterializedviewpropertiesController.php')
-rw-r--r--src/controllers/MaterializedviewpropertiesController.php38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/controllers/MaterializedviewpropertiesController.php b/src/controllers/MaterializedviewpropertiesController.php
index c359456e..3b68c819 100644
--- a/src/controllers/MaterializedviewpropertiesController.php
+++ b/src/controllers/MaterializedviewpropertiesController.php
@@ -29,7 +29,7 @@ class MaterializedviewpropertiesController extends BaseController
return $this->doTree();
}
- $this->printHeader($lang['strviews'].' - '.$_REQUEST['matview']);
+ $this->printHeader($lang['strviews'] . ' - ' . $_REQUEST['matview']);
$this->printBody();
switch ($action) {
@@ -70,7 +70,7 @@ class MaterializedviewpropertiesController extends BaseController
break;
case 'confirm_alter':
- doAlter(true);
+ $this->doAlter(true);
break;
case 'drop':
@@ -123,13 +123,13 @@ class MaterializedviewpropertiesController extends BaseController
}
$columns = [
- 'column' => [
+ 'column' => [
'title' => $lang['strcolumn'],
'field' => Decorator::field('attname'),
- 'url' => "colproperties.php?subject=column&amp;{$this->misc->href}&amp;view=".urlencode($_REQUEST['matview']).'&amp;',
+ 'url' => "colproperties.php?subject=column&amp;{$this->misc->href}&amp;view=" . urlencode($_REQUEST['matview']) . '&amp;',
'vars' => ['column' => 'attname'],
],
- 'type' => [
+ 'type' => [
'title' => $lang['strtype'],
'field' => Decorator::field('+type'),
],
@@ -168,7 +168,7 @@ class MaterializedviewpropertiesController extends BaseController
$navlinks = [
'browse' => [
- 'attr' => [
+ 'attr' => [
'href' => [
'url' => 'display.php',
'urlvars' => [
@@ -184,7 +184,7 @@ class MaterializedviewpropertiesController extends BaseController
'content' => $lang['strbrowse'],
],
'select' => [
- 'attr' => [
+ 'attr' => [
'href' => [
'url' => 'materializedviews.php',
'urlvars' => [
@@ -198,8 +198,8 @@ class MaterializedviewpropertiesController extends BaseController
],
'content' => $lang['strselect'],
],
- 'drop' => [
- 'attr' => [
+ 'drop' => [
+ 'attr' => [
'href' => [
'url' => 'materializedviews.php',
'urlvars' => [
@@ -213,8 +213,8 @@ class MaterializedviewpropertiesController extends BaseController
],
'content' => $lang['strdrop'],
],
- 'alter' => [
- 'attr' => [
+ 'alter' => [
+ 'attr' => [
'href' => [
'url' => 'materializedviewproperties.php',
'urlvars' => [
@@ -242,8 +242,8 @@ class MaterializedviewpropertiesController extends BaseController
$columns = $data->getTableAttributes($_REQUEST['matview']);
$attrs = [
- 'text' => Decorator::field('attname'),
- 'action' => Decorator::actionurl(
+ 'text' => Decorator::field('attname'),
+ 'action' => Decorator::actionurl(
'colproperties.php',
$reqvars,
[
@@ -267,7 +267,7 @@ class MaterializedviewpropertiesController extends BaseController
),
]
),
- 'toolTip' => Decorator::field('comment'),
+ 'toolTip' => Decorator::field('comment'),
];
return $this->printTree($columns, $attrs, 'viewcolumns');
@@ -311,7 +311,7 @@ class MaterializedviewpropertiesController extends BaseController
$_POST['formComment'] = $viewdata->fields['relcomment'];
}
- echo '<form action="'.\SUBFOLDER."/src/views/materializedviewproperties.php\" method=\"post\">\n";
+ echo '<form action="' . \SUBFOLDER . "/src/views/materializedviewproperties.php\" method=\"post\">\n";
echo "<table style=\"width: 100%\">\n";
echo "\t<tr>\n\t\t<th class=\"data left required\">{$lang['strdefinition']}</th>\n";
echo "\t\t<td class=\"data1\"><textarea style=\"width: 100%;\" rows=\"20\" cols=\"50\" name=\"formDefinition\">",
@@ -348,7 +348,7 @@ class MaterializedviewpropertiesController extends BaseController
$this->printTabs('matview', 'export');
$this->printMsg($msg);
- echo '<form action="'.\SUBFOLDER."/src/views/dataexport.php\" method=\"post\">\n";
+ echo '<form action="' . \SUBFOLDER . "/src/views/dataexport.php\" method=\"post\">\n";
echo "<table>\n";
echo "<tr><th class=\"data\">{$lang['strformat']}</th><th class=\"data\" colspan=\"2\">{$lang['stroptions']}</th></tr>\n";
// Data only
@@ -426,7 +426,7 @@ class MaterializedviewpropertiesController extends BaseController
}
$this->printNavLinks(['alter' => [
- 'attr' => [
+ 'attr' => [
'href' => [
'url' => 'materializedviewproperties.php',
'urlvars' => [
@@ -463,7 +463,7 @@ class MaterializedviewpropertiesController extends BaseController
$this->printTitle($lang['stralter'], 'pg.column.alter');
$this->printMsg($msg);
- echo '<form action="'.\SUBFOLDER."/src/views/materializedviewproperties.php\" method=\"post\">\n";
+ echo '<form action="' . \SUBFOLDER . "/src/views/materializedviewproperties.php\" method=\"post\">\n";
// Output view header
echo "<table>\n";
@@ -569,7 +569,7 @@ class MaterializedviewpropertiesController extends BaseController
$_POST['comment'] = $view->fields['relcomment'];
}
- echo '<form action="'.\SUBFOLDER."/src/views/materializedviewproperties.php\" method=\"post\">\n";
+ echo '<form action="' . \SUBFOLDER . "/src/views/materializedviewproperties.php\" method=\"post\">\n";
echo "<table>\n";
echo "<tr><th class=\"data left required\">{$lang['strname']}</th>\n";
echo '<td class="data1">';