add deemand sheet download functionality

pull/1/head
ns77@siliconpin.com 2025-08-13 14:39:50 +00:00
parent 28db4e5e9a
commit ff31e61bf5
123 changed files with 322 additions and 29791 deletions

View File

@ -1,9 +1,9 @@
<?php
$GLOBALS['host']="localhost";
$GLOBALS['user']="suvo_arif";
$GLOBALS['pass']="Simple2pass";
$GLOBALS['db']="suvo_arif";
$GLOBALS['user']="suvo_arif_pd";
$GLOBALS['pass']="Bijaynagar@222";
$GLOBALS['db']="suvo_arif_pd";
$GLOBALS['arif_ac']="arif_ac";
$GLOBALS['arif_tran']="arif_tran";
$GLOBALS['arif_users']="arif_users";
?>
?>

View File

@ -0,0 +1,174 @@
<div class="container">
<div class="text-right mb-3" style="margin-bottom: 15px;">
<button id="downloadPdf" class="btn btn-primary">Download Deemand Sheet</button>
</div>
<table class="table table-striped table-bordered table-hover table-responsive" id="accountTable">
<tr>
<th>SL</th>
<th>Type</th>
<th>AC No</th>
<th>Name</th>
<th>Account Creation Date</th>
<th>Maturity Value</th>
<th>Balance</th>
<th>No Of Installment</th>
<th>No Of Paid Installment</th>
<th>Installment Amount</th>
</tr>
<?php
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); }
$agent_id = $_SESSION['user_id'];
if ($_SESSION['type'] === 'admin') {
$sql = "SELECT * FROM `" . $GLOBALS['arif_ac'] . "` WHERE `AA_BAL` < 0 ORDER BY `AA_ID` DESC";
$stmt = $conn->prepare($sql);
} elseif ($_SESSION['type'] === 'agent') {
$sql = "SELECT * FROM `" . $GLOBALS['arif_ac'] . "` WHERE `AA_BAL` < 0 AND `AA_AGENT` = ? ORDER BY `AA_ID` DESC";
$stmt = $conn->prepare($sql);
$stmt->bind_param("s", $agent_id);
}
$stmt->execute();
$result = $stmt->get_result();
$pdfData = []; // PDF এর জন্য array
if ($result->num_rows > 0) {
while ($row = $result->fetch_assoc()) {
$tt = $row["AA_ID"] - 10;
echo "
<tr>
<td>{$tt}</td>
<td>{$row["AA_ACTYPE"]},{$row["AA_TYPE"]}</td>
<td>{$row["AA_ACNO"]}</td>
<td>{$row["AA_NAME"]}</td>
<td>{$row["AA_DATE"]}</td>
<td>{$row["AA_MATURE_VALUE"]}</td>
<td>{$row["AA_BAL"]}</td>
<td>{$row["AA_NO_OF_PAYMENT"]}</td>
<td>{$row["AA_NO_OF_PAYPAID"]}</td>
<td>{$row["AA_INSTALLMENT"]}</td>
</tr>";
// PDF data push
$pdfData[] = [
$tt,
$row["AA_ACTYPE"] . "," . $row["AA_TYPE"],
$row["AA_ACNO"],
$row["AA_NAME"],
$row["AA_DATE"],
$row["AA_MATURE_VALUE"],
$row["AA_BAL"],
$row["AA_NO_OF_PAYMENT"],
$row["AA_NO_OF_PAYPAID"],
$row["AA_INSTALLMENT"]
];
}
} else {
echo "<tr><td colspan='10'>0 results</td></tr>";
}
$conn->close();
?>
</table>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf-autotable/3.5.28/jspdf.plugin.autotable.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
document.getElementById('downloadPdf').addEventListener('click', function() {
const { jsPDF } = window.jspdf;
const doc = new jsPDF('p', 'pt', 'a4');
const userType = "<?php echo $_SESSION['type']; ?>";
const userName = "<?php echo $_SESSION['user_id']; ?>";
const now = new Date();
const dateTime = now.toLocaleDateString() + " " + now.toLocaleTimeString();
let titleText = (userType === 'admin')
? "Full Demand Sheet"
: `Agent Demand Sheet (Agent ID: ${userName})`;
const tableData = <?php echo json_encode($pdfData); ?>;
function formatCurrency(value) {
// Remove commas, currency symbols, spaces
let cleaned = String(value).replace(/[,\s]/g, '');
// Ensure minus sign stays
let num = parseFloat(cleaned) || 0;
// Format with Indian locale
return (num < 0 ? '-' : '') + '₹' + Math.abs(num).toLocaleString('en-IN', {
minimumFractionDigits: 2,
maximumFractionDigits: 2
});
}
const logo = new Image();
logo.src = '/asset/images/logo.webp';
logo.onload = function() { addHeader(); };
logo.onerror = function() { addHeader(); };
function addHeader() {
try { doc.addImage(logo, 'PNG', 40, 30, 40, 40); } catch(e) {}
doc.setFontSize(16);
doc.text(titleText, 100, 50);
doc.setFontSize(10);
doc.text(`Generated on: ${dateTime}`, 40, 80);
doc.text(`User Type: ${userType}`, 40, 95);
doc.text(`User ID: ${userName}`, 40, 110);
addTable();
}
function addTable() {
const headers = ["SL", "Type", "AC No", "Name", "Creation Date", "Maturity Value", "Balance", "Inst.", "Paid", "Amount"];
let totalBalance = 0, totalInstallment = 0;
const rows = tableData.map(r => {
totalBalance += parseFloat(r[6]) || 0;
totalInstallment += parseFloat(r[9]) || 0;
return [
r[0], r[1], r[2], r[3], r[4],
r[5], r[6],
r[7], r[8],
r[9]
];
});
doc.autoTable({
head: [headers],
body: rows,
startY: 130,
styles: {
fontSize: 8,
cellPadding: { top: 6, right: 5, bottom: 6, left: 5 }, // custom padding
overflow: 'hidden'
},
headStyles: { fillColor: [233, 84, 32], textColor: 255 },
bodyStyles: { valign: 'middle' } // vertically center align
});
// let finalY = doc.lastAutoTable.finalY + 20;
// doc.setFont(undefined, 'bold');
// doc.text(`Total Accounts: ${rows.length}`, 40, finalY);
// doc.text(`Total Balance: ${totalBalance}`, 40, finalY + 15);
// doc.text(`Total Installment Amount: ${totalInstallment}`, 40, finalY + 30);
const pageCount = doc.internal.getNumberOfPages();
for (let i = 1; i <= pageCount; i++) {
doc.setPage(i);
doc.setFontSize(9);
doc.setFont(undefined, 'normal');
doc.text(`Generated by Loan Portal - Confidential`, 40, doc.internal.pageSize.height - 20);
doc.text(`Page ${i} of ${pageCount}`, doc.internal.pageSize.width - 60, doc.internal.pageSize.height - 20);
}
doc.save(`Demand_Sheet_${userType}_${userName}_${now.toISOString().slice(0,10)}.pdf`);
}
});
});
</script>

View File

@ -1,4 +1,7 @@
<div class="container">
<div class="text-right mb-3" style="margin-bottom: 15px;">
<button id="downloadPdf" class="btn btn-primary">Download Deemand Sheet</button>
</div>
<table class="table table-striped table-bordered table-hover table-responsive">
<tr>
<th>SL</th>
@ -13,14 +16,24 @@
<th>Installment Amount</th>
</tr>
<?php
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `" . $GLOBALS['arif_ac'] . "` WHERE `AA_BAL` < 0 ORDER BY `AA_ID` DESC";
$result = $conn->query($sql);
$agent_id = $_SESSION['user_id'];
if ($_SESSION['type'] === 'admin') {
$sql = "SELECT * FROM `" . $GLOBALS['arif_ac'] . "` WHERE `AA_BAL` < 0 ORDER BY `AA_ID` DESC";
$stmt = $conn->prepare($sql);
} elseif ($_SESSION['type'] === 'agent') {
$sql = "SELECT * FROM `" . $GLOBALS['arif_ac'] . "` WHERE `AA_BAL` < 0 AND `AA_AGENT` = ? ORDER BY `AA_ID` DESC";
$stmt = $conn->prepare($sql);
$stmt->bind_param("s", $agent_id);
}
$stmt->execute();
$result = $stmt->get_result();
$pdfData = [];
if ($result->num_rows > 0) {
while ($row = $result->fetch_assoc()) {
//$ID=$row["GC_ID"];
@ -38,9 +51,121 @@ if ($result->num_rows > 0) {
<td>" . $row["AA_NO_OF_PAYPAID"] . "</td>
<td>" . $row["AA_INSTALLMENT"] . "</td>
</tr>";
}
$pdfData[] = [
$tt,
$row["AA_ACTYPE"] . "," . $row["AA_TYPE"],
$row["AA_ACNO"],
$row["AA_NAME"],
$row["AA_DATE"],
$row["AA_MATURE_VALUE"],
$row["AA_BAL"],
$row["AA_NO_OF_PAYMENT"],
$row["AA_NO_OF_PAYPAID"],
$row["AA_INSTALLMENT"]
];
}
} else {
echo "0 results";
};
$conn->close();
?>
?>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf-autotable/3.5.28/jspdf.plugin.autotable.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
document.getElementById('downloadPdf').addEventListener('click', function() {
const { jsPDF } = window.jspdf;
const doc = new jsPDF('p', 'pt', 'a4');
const userType = "<?php echo $_SESSION['type']; ?>";
const userName = "<?php echo $_SESSION['user_id']; ?>";
const now = new Date();
const dateTime = now.toLocaleDateString() + " " + now.toLocaleTimeString();
let titleText = (userType === 'admin')
? "Full Demand Sheet"
: `Agent Demand Sheet (Agent ID: ${userName})`;
const tableData = <?php echo json_encode($pdfData); ?>;
function formatCurrency(value) {
// Remove commas, currency symbols, spaces
let cleaned = String(value).replace(/[,\s]/g, '');
// Ensure minus sign stays
let num = parseFloat(cleaned) || 0;
// Format with Indian locale
return (num < 0 ? '-' : '') + '₹' + Math.abs(num).toLocaleString('en-IN', {
minimumFractionDigits: 2,
maximumFractionDigits: 2
});
}
const logo = new Image();
logo.src = '/asset/images/logo.webp';
logo.onload = function() { addHeader(); };
logo.onerror = function() { addHeader(); };
function addHeader() {
try { doc.addImage(logo, 'PNG', 40, 30, 40, 40); } catch(e) {}
doc.setFontSize(16);
doc.text(titleText, 100, 50);
doc.setFontSize(10);
doc.text(`Generated on: ${dateTime}`, 40, 80);
doc.text(`User Type: ${userType}`, 40, 95);
doc.text(`User ID: ${userName}`, 40, 110);
addTable();
}
function addTable() {
const headers = ["SL", "Type", "AC No", "Name", "Creation Date", "Maturity Value", "Balance", "Inst.", "Paid", "Amount"];
let totalBalance = 0, totalInstallment = 0;
const rows = tableData.map(r => {
totalBalance += parseFloat(r[6]) || 0;
totalInstallment += parseFloat(r[9]) || 0;
return [
r[0], r[1], r[2], r[3], r[4],
r[5], r[6],
r[7], r[8],
r[9]
];
});
doc.autoTable({
head: [headers],
body: rows,
startY: 130,
styles: {
fontSize: 8,
cellPadding: { top: 6, right: 5, bottom: 6, left: 5 }, // custom padding
overflow: 'hidden'
},
headStyles: { fillColor: [233, 84, 32], textColor: 255 },
bodyStyles: { valign: 'middle' } // vertically center align
});
// let finalY = doc.lastAutoTable.finalY + 20;
// doc.setFont(undefined, 'bold');
// doc.text(`Total Accounts: ${rows.length}`, 40, finalY);
// doc.text(`Total Balance: ${totalBalance}`, 40, finalY + 15);
// doc.text(`Total Installment Amount: ${totalInstallment}`, 40, finalY + 30);
const pageCount = doc.internal.getNumberOfPages();
for (let i = 1; i <= pageCount; i++) {
doc.setPage(i);
doc.setFontSize(9);
doc.setFont(undefined, 'normal');
doc.text(`Generated by Loan Portal - Confidential`, 40, doc.internal.pageSize.height - 20);
doc.text(`Page ${i} of ${pageCount}`, doc.internal.pageSize.width - 60, doc.internal.pageSize.height - 20);
}
doc.save(`Demand_Sheet_${userType}_${userName}_${now.toISOString().slice(0,10)}.pdf`);
}
});
});
</script>

View File

@ -1,490 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* sql/query.twig */
class __TwigTemplate_2f3c79ad06e4065c4e6671b1db310a43 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/import");
echo "\" class=\"ajax lock-page\" id=\"sqlqueryform\" name=\"sqlform\"";
// line 2
echo ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : (""));
echo ">
";
// line 3
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<input type=\"hidden\" name=\"is_js_confirmed\" value=\"0\">
<input type=\"hidden\" name=\"pos\" value=\"0\">
<input type=\"hidden\" name=\"goto\" value=\"";
// line 6
echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"message_to_show\" value=\"";
echo _gettext("Your SQL query has been executed successfully.");
// line 7
echo "\">
<input type=\"hidden\" name=\"prev_sql_query\" value=\"";
// line 8
echo twig_escape_filter($this->env, ($context["query"] ?? null), "html", null, true);
echo "\">
";
// line 10
if (((($context["display_tab"] ?? null) == "full") || (($context["display_tab"] ?? null) == "sql"))) {
// line 11
echo " <a id=\"querybox\"></a>
<div class=\"card mb-3\">
<div class=\"card-header\">";
// line 14
echo ($context["legend"] ?? null);
echo "</div>
<div class=\"card-body\">
<div id=\"queryfieldscontainer\">
<div class=\"row\">
<div class=\"col\">
<div class=\"mb-3\">
<textarea class=\"form-control\" tabindex=\"100\" name=\"sql_query\" id=\"sqlquery\" cols=\"";
// line 20
echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true);
echo "\" rows=\"";
echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true);
echo "\" data-textarea-auto-select=\"";
echo ((($context["textarea_auto_select"] ?? null)) ? ("true") : ("false"));
echo "\" aria-label=\"";
echo _gettext("SQL query");
echo "\">";
// line 21
echo twig_escape_filter($this->env, ($context["query"] ?? null), "html", null, true);
// line 22
echo "</textarea>
</div>
<div id=\"querymessage\"></div>
<div class=\"btn-toolbar\" role=\"toolbar\">
";
// line 27
if ( !twig_test_empty(($context["columns_list"] ?? null))) {
// line 28
echo " <div class=\"btn-group me-2\" role=\"group\">
<input type=\"button\" value=\"SELECT *\" id=\"selectall\" class=\"btn btn-secondary button sqlbutton\">
<input type=\"button\" value=\"SELECT\" id=\"select\" class=\"btn btn-secondary button sqlbutton\">
<input type=\"button\" value=\"INSERT\" id=\"insert\" class=\"btn btn-secondary button sqlbutton\">
<input type=\"button\" value=\"UPDATE\" id=\"update\" class=\"btn btn-secondary button sqlbutton\">
<input type=\"button\" value=\"DELETE\" id=\"delete\" class=\"btn btn-secondary button sqlbutton\">
</div>
";
}
// line 36
echo "
<div class=\"btn-group me-2\" role=\"group\">
<input type=\"button\" value=\"";
echo _gettext("Clear");
// line 38
echo "\" id=\"clear\" class=\"btn btn-secondary button sqlbutton\">
";
// line 39
if (($context["codemirror_enable"] ?? null)) {
// line 40
echo " <input type=\"button\" value=\"";
echo _gettext("Format");
echo "\" id=\"format\" class=\"btn btn-secondary button sqlbutton\">
";
}
// line 42
echo " </div>
<input type=\"button\" value=\"";
echo _gettext("Get auto-saved query");
// line 44
echo "\" id=\"saved\" class=\"btn btn-secondary button sqlbutton\">
</div>
<div class=\"my-3\">
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"parameterized\" id=\"parameterized\">
<label class=\"form-check-label\" for=\"parameterized\">
";
// l10n: Bind parameters in the SQL query using :parameterName format
echo _gettext("Bind parameters");
// line 52
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-40");
echo "
</label>
</div>
</div>
<div class=\"mb-3\" id=\"parametersDiv\"></div>
</div>
";
// line 59
if ( !twig_test_empty(($context["columns_list"] ?? null))) {
// line 60
echo " <div class=\"col-xl-2 col-lg-3\">
<div class=\"mb-3\">
<label class=\"visually-hidden\" for=\"fieldsSelect\">";
echo _gettext("Columns");
// line 62
echo "</label>
<select class=\"form-select resize-vertical\" id=\"fieldsSelect\" name=\"dummy\" size=\"";
// line 63
echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true);
echo "\" ondblclick=\"Functions.insertValueQuery()\" multiple>
";
// line 64
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["columns_list"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
// line 65
echo " <option value=\"";
echo twig_escape_filter($this->env, PhpMyAdmin\Util::backquote((($__internal_compile_0 = $context["field"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["Field"] ?? null) : null)), "html", null, true);
echo "\"";
// line 66
(((( !(null === (($__internal_compile_1 = $context["field"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Field"] ?? null) : null)) && !(null === (($__internal_compile_2 = $context["field"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["Comment"] ?? null) : null))) && (twig_length_filter($this->env, (($__internal_compile_3 = $context["field"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Field"] ?? null) : null)) > 0))) ? (print (twig_escape_filter($this->env, ((" title=\"" . (($__internal_compile_4 = $context["field"]) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["Comment"] ?? null) : null)) . "\""), "html", null, true))) : (print ("")));
echo ">
";
// line 67
echo twig_escape_filter($this->env, (($__internal_compile_5 = $context["field"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["Field"] ?? null) : null), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 70
echo " </select>
</div>
<input type=\"button\" class=\"btn btn-secondary button\" id=\"insertBtn\" name=\"insert\" value=\"";
// line 74
if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) {
echo "<<";
echo "\" title=\"";
}
echo _gettext("Insert");
// line 75
echo "\">
</div>
";
}
// line 78
echo " </div>
</div>
";
// line 81
if (($context["has_bookmark"] ?? null)) {
// line 82
echo " <div class=\"row row-cols-lg-auto g-3 align-items-center\">
<div class=\"col-6\">
<label class=\"form-label\" for=\"bkm_label\">";
echo _gettext("Bookmark this SQL query:");
// line 84
echo "</label>
</div>
<div class=\"col-6\">
<input class=\"form-control\" type=\"text\" name=\"bkm_label\" id=\"bkm_label\" tabindex=\"110\" value=\"\">
</div>
<div class=\"col-12\">
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_all_users\" tabindex=\"111\" id=\"id_bkm_all_users\" value=\"true\">
<label class=\"form-check-label\" for=\"id_bkm_all_users\">";
echo _gettext("Let every user access this bookmark");
// line 93
echo "</label>
</div>
</div>
<div class=\"col-12\">
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"bkm_replace\" tabindex=\"112\" id=\"id_bkm_replace\" value=\"true\">
<label class=\"form-check-label\" for=\"id_bkm_replace\">";
echo _gettext("Replace existing bookmark of same name");
// line 100
echo "</label>
</div>
</div>
</div>
";
}
// line 105
echo " </div>
<div class=\"card-footer\">
<div class=\"row row-cols-lg-auto g-3 align-items-center\">
<div class=\"col-12\">
<div class=\"input-group me-2\">
<span class=\"input-group-text\">";
echo _gettext("Delimiter");
// line 110
echo "</span>
<label class=\"visually-hidden\" for=\"id_sql_delimiter\">";
echo _gettext("Delimiter");
// line 111
echo "</label>
<input class=\"form-control\" type=\"text\" name=\"sql_delimiter\" tabindex=\"131\" size=\"3\" value=\"";
// line 112
echo twig_escape_filter($this->env, ($context["delimiter"] ?? null), "html", null, true);
echo "\" id=\"id_sql_delimiter\">
</div>
</div>
<div class=\"col-12\">
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"show_query\" value=\"1\" id=\"checkbox_show_query\" tabindex=\"132\">
<label class=\"form-check-label\" for=\"checkbox_show_query\">";
echo _gettext("Show this query here again");
// line 119
echo "</label>
</div>
</div>
<div class=\"col-12\">
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"retain_query_box\" value=\"1\" id=\"retain_query_box\" tabindex=\"133\"";
// line 126
echo ((($context["retain_query_box"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"retain_query_box\">";
echo _gettext("Retain query box");
// line 127
echo "</label>
</div>
</div>
<div class=\"col-12\">
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"rollback_query\" value=\"1\" id=\"rollback_query\" tabindex=\"134\">
<label class=\"form-check-label\" for=\"rollback_query\">";
echo _gettext("Rollback when finished");
// line 134
echo "</label>
</div>
</div>
<div class=\"col-12\">
<div class=\"form-check\">
<input type=\"hidden\" name=\"fk_checks\" value=\"0\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\"";
// line 141
echo ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"fk_checks\">";
echo _gettext("Enable foreign key checks");
// line 142
echo "</label>
</div>
</div>
<div class=\"col-12\">
<input class=\"btn btn-primary ms-1\" type=\"submit\" id=\"button_submit_query\" name=\"SQL\" tabindex=\"200\" value=\"";
echo _gettext("Go");
// line 147
echo "\">
</div>
</div>
</div>
</div>
";
}
// line 153
echo "
";
// line 154
if (((($context["display_tab"] ?? null) == "full") && !twig_test_empty(($context["bookmarks"] ?? null)))) {
// line 155
echo " <div class=\"card mb-3\">
<div class=\"card-header\">";
echo _gettext("Bookmarked SQL query");
// line 156
echo "</div>
<div class=\"card-body\">
<div class=\"row row-cols-lg-auto g-3 align-items-center\">
<div class=\"col-6\">
<label class=\"form-label\" for=\"id_bookmark\">";
echo _gettext("Bookmark:");
// line 160
echo "</label>
</div>
<div class=\"col-6\">
<select class=\"form-select\" name=\"id_bookmark\" id=\"id_bookmark\">
<option value=\"\">&nbsp;</option>
";
// line 165
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["bookmarks"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["bookmark"]) {
// line 166
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "id", [], "any", false, false, false, 166), "html", null, true);
echo "\" data-varcount=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "variable_count", [], "any", false, false, false, 166), "html", null, true);
echo "\">
";
// line 167
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["bookmark"], "label", [], "any", false, false, false, 167), "html", null, true);
echo "
";
// line 168
if (twig_get_attribute($this->env, $this->source, $context["bookmark"], "is_shared", [], "any", false, false, false, 168)) {
// line 169
echo " (";
echo _gettext("shared");
echo ")
";
}
// line 171
echo " </option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bookmark'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 173
echo " </select>
</div>
<div class=\"form-check form-check-inline col-12\">
<input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"0\" id=\"radio_bookmark_exe\" checked>
<label class=\"form-check-label\" for=\"radio_bookmark_exe\">";
echo _gettext("Submit");
// line 178
echo "</label>
</div>
<div class=\"form-check form-check-inline col-12\">
<input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"1\" id=\"radio_bookmark_view\">
<label class=\"form-check-label\" for=\"radio_bookmark_view\">";
echo _gettext("View only");
// line 182
echo "</label>
</div>
<div class=\"form-check form-check-inline col-12\">
<input class=\"form-check-input\" type=\"radio\" name=\"action_bookmark\" value=\"2\" id=\"radio_bookmark_del\">
<label class=\"form-check-label\" for=\"radio_bookmark_del\">";
echo _gettext("Delete");
// line 186
echo "</label>
</div>
</div>
<div class=\"hide\">
";
echo _gettext("Variables");
// line 192
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faqbookmark");
echo "
<div class=\"row row-cols-auto\" id=\"bookmarkVariables\"></div>
</div>
</div>
<div class=\"card-footer text-end\">
<input class=\"btn btn-secondary\" type=\"submit\" name=\"SQL\" id=\"button_submit_bookmark\" value=\"";
echo _gettext("Go");
// line 198
echo "\">
</div>
</div>
";
}
// line 202
echo "
";
// line 203
if (($context["can_convert_kanji"] ?? null)) {
// line 204
echo " <div class=\"card mb-3\">
<div class=\"card-body\">
";
// line 206
$this->loadTemplate("encoding/kanji_encoding_form.twig", "sql/query.twig", 206)->display($context);
// line 207
echo " </div>
</div>
";
}
// line 210
echo "</form>
<div id=\"sqlqueryresultsouter\"></div>
<div class=\"modal fade\" id=\"simulateDmlModal\" tabindex=\"-1\" aria-labelledby=\"simulateDmlModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"simulateDmlModalLabel\">";
echo _gettext("Simulate query");
// line 218
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 219
echo "\"></button>
</div>
<div class=\"modal-body\">
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 224
echo "</button>
</div>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "sql/query.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 463 => 224, 455 => 219, 451 => 218, 440 => 210, 435 => 207, 433 => 206, 429 => 204, 427 => 203, 424 => 202, 418 => 198, 407 => 192, 399 => 186, 392 => 182, 385 => 178, 377 => 173, 370 => 171, 364 => 169, 362 => 168, 358 => 167, 351 => 166, 347 => 165, 340 => 160, 333 => 156, 329 => 155, 327 => 154, 324 => 153, 316 => 147, 308 => 142, 303 => 141, 294 => 134, 284 => 127, 279 => 126, 271 => 119, 260 => 112, 257 => 111, 253 => 110, 245 => 105, 238 => 100, 228 => 93, 216 => 84, 211 => 82, 209 => 81, 204 => 78, 199 => 75, 193 => 74, 188 => 70, 179 => 67, 175 => 66, 171 => 65, 167 => 64, 163 => 63, 160 => 62, 155 => 60, 153 => 59, 142 => 52, 131 => 44, 126 => 42, 120 => 40, 118 => 39, 115 => 38, 110 => 36, 100 => 28, 98 => 27, 91 => 22, 89 => 21, 80 => 20, 71 => 14, 66 => 11, 64 => 10, 59 => 8, 56 => 7, 51 => 6, 45 => 3, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "sql/query.twig", "/home/arif/public_html/pma/templates/sql/query.twig");
}
}

View File

@ -1,120 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* modals/index_dialog_modal.twig */
class __TwigTemplate_b7c71d45e736afc41b33e69c5af1baea extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"modal fade\" id=\"indexDialogModal\" tabindex=\"-1\" aria-labelledby=\"indexDialogModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"indexDialogModalLabel\">";
echo _gettext("Loading");
// line 5
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 6
echo "\"></button>
</div>
<div class=\"modal-body\"></div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-primary\" id=\"indexDialogModalGoButton\">";
echo _gettext("Go");
// line 10
echo "</button>
<button type=\"button\" class=\"btn btn-secondary\" data-bs-target=\"#indexDialogPreviewModal\" data-bs-toggle=\"modal\">";
echo _gettext("Preview SQL");
// line 11
echo "</button>
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 12
echo "</button>
</div>
</div>
</div>
</div>
<div class=\"modal fade\" id=\"indexDialogPreviewModal\" aria-hidden=\"true\" aria-labelledby=\"indexDialogPreviewModalLabel\" tabindex=\"-1\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"indexDialogPreviewModalLabel\">";
echo _gettext("Preview SQL");
// line 21
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 22
echo "\"></button>
</div>
<div class=\"modal-body\">
<div class=\"spinner-border\" role=\"status\">
<span class=\"visually-hidden\">";
echo _gettext("Loading…");
// line 26
echo "</span>
</div>
</div>
<div class=\"modal-footer\">
<button class=\"btn btn-primary\" data-bs-target=\"#indexDialogModal\" data-bs-toggle=\"modal\">";
echo _gettext("Go back");
// line 30
echo "</button>
</div>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "modals/index_dialog_modal.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 93 => 30, 86 => 26, 79 => 22, 75 => 21, 63 => 12, 59 => 11, 55 => 10, 48 => 6, 44 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "modals/index_dialog_modal.twig", "/home/arif/public_html/pma/templates/modals/index_dialog_modal.twig");
}
}

View File

@ -1,84 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* select_all.twig */
class __TwigTemplate_6c7d644ddf3fc6e6960db2a01a127b36 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<img class=\"selectallarrow\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true);
echo "\"
width=\"38\" height=\"22\" alt=\"";
echo _gettext("With selected:");
// line 2
echo "\">
<input type=\"checkbox\" id=\"";
// line 3
echo twig_escape_filter($this->env, ($context["form_name"] ?? null), "html", null, true);
echo "_checkall\" class=\"checkall_box\"
title=\"";
echo _gettext("Check all");
// line 4
echo "\">
<label for=\"";
// line 5
echo twig_escape_filter($this->env, ($context["form_name"] ?? null), "html", null, true);
echo "_checkall\">";
echo _gettext("Check all");
echo "</label>
<em class=\"with-selected\">";
echo _gettext("With selected:");
// line 6
echo "</em>
";
}
public function getTemplateName()
{
return "select_all.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 61 => 6, 54 => 5, 51 => 4, 46 => 3, 43 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "select_all.twig", "/home/arif/public_html/pma/templates/select_all.twig");
}
}

View File

@ -1,88 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* navigation/tree/state.twig */
class __TwigTemplate_e49524b29d94076f03a2a3e6ca256e4e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo ($context["quick_warp"] ?? null);
echo "
<div class=\"clearfloat\"></div>
<ul>
";
// line 6
echo ($context["fast_filter"] ?? null);
echo "
";
// line 7
echo ($context["controls"] ?? null);
echo "
</ul>
";
// line 10
echo ($context["page_selector"] ?? null);
echo "
<div id='pma_navigation_tree_content'>
<ul>
";
// line 14
echo ($context["nodes"] ?? null);
echo "
</ul>
</div>
";
}
public function getTemplateName()
{
return "navigation/tree/state.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 62 => 14, 55 => 10, 49 => 7, 45 => 6, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "navigation/tree/state.twig", "/home/arif/public_html/pma/templates/navigation/tree/state.twig");
}
}

View File

@ -1,643 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/insert/column_row.twig */
class __TwigTemplate_59f8c797b9bf17ac8335955a0783b0bd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<tr class=\"noclick\">
<td class=\"text-center\">
";
// line 3
echo twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_title", [], "any", false, false, false, 3);
echo "
<input type=\"hidden\" name=\"fields_name[multi_edit][";
// line 4
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 4), "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field", [], "any", false, false, false, 4), "html", null, true);
echo "\">
</td>
";
// line 7
if (($context["show_field_types_in_data_edit_view"] ?? null)) {
// line 8
echo " <td class=\"text-center";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "wrap", [], "any", false, false, false, 8), "html", null, true);
echo "\">
<span class=\"column_type\" dir=\"ltr\">";
// line 9
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 9), "html", null, true);
echo "</span>
</td>
";
}
// line 12
echo "
";
// line 13
if (($context["show_function_fields"] ?? null)) {
// line 14
echo " ";
if (($context["is_column_binary"] ?? null)) {
// line 15
echo " <td class=\"text-center\">";
echo _gettext("Binary");
echo "</td>
";
} elseif ((twig_in_filter("enum", twig_get_attribute($this->env, $this->source, // line 16
($context["column"] ?? null), "True_Type", [], "any", false, false, false, 16)) || twig_in_filter("set", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "True_Type", [], "any", false, false, false, 16)))) {
// line 17
echo " <td class=\"text-center\">--</td>
";
} else {
// line 19
echo " <td>
<select name=\"funcs[multi_edit][";
// line 20
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 20), "html", null, true);
echo "]\" onchange=\"return verificationsAfterFieldChange('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 20));
echo "', '";
echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null));
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 20), "html", null, true);
echo "')\" id=\"field_";
echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true);
echo "_1\">
";
// line 21
echo ($context["function_options"] ?? null);
echo "
</select>
</td>
";
}
// line 25
echo " ";
}
// line 26
echo "
<td>
";
// line 28
if (((twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Null", [], "any", false, false, false, 28)) == "YES") && !($context["read_only"] ?? null))) {
// line 29
echo " <input type=\"hidden\" name=\"fields_null_prev[multi_edit][";
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 29), "html", null, true);
echo "]\"";
echo (((($context["real_null_value"] ?? null) && !twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "first_timestamp", [], "any", false, false, false, 29))) ? (" value=\"on\"") : (""));
echo ">
<input type=\"checkbox\" class=\"checkbox_null\" name=\"fields_null[multi_edit][";
// line 30
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 30), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true);
echo "_2\" aria-label=\"";
echo _gettext("Use the NULL value for this column.");
echo "\"";
echo ((($context["real_null_value"] ?? null)) ? (" checked") : (""));
echo ">
<input type=\"hidden\" class=\"nullify_code\" name=\"nullify_code[multi_edit][";
// line 31
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 31), "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, ($context["nullify_code"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" class=\"hashed_field\" name=\"hashed_field[multi_edit][";
// line 32
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 32), "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 32), "html", null, true);
echo "\">
<input type=\"hidden\" class=\"multi_edit\" name=\"multi_edit[multi_edit][";
// line 33
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 33), "html", null, true);
echo "]\" value=\"";
echo PhpMyAdmin\Sanitize::escapeJsString((("[multi_edit][" . ($context["row_id"] ?? null)) . "]"));
echo "\">
";
}
// line 35
echo " </td>
<td data-type=\"";
// line 37
echo twig_escape_filter($this->env, ($context["type"] ?? null), "html", null, true);
echo "\" data-decimals=\"";
echo twig_escape_filter($this->env, ($context["decimals"] ?? null), "html", null, true);
echo "\">
";
// line 39
echo " <span class=\"default_value hide\">";
echo ($context["special_chars"] ?? null);
echo "</span>
";
// line 41
if ( !twig_test_empty(($context["transformed_value"] ?? null))) {
// line 42
echo " ";
echo ($context["transformed_value"] ?? null);
echo "
";
} else {
// line 44
echo " ";
if (($context["is_value_foreign_link"] ?? null)) {
// line 45
echo " ";
echo ($context["backup_field"] ?? null);
echo "
<input type=\"hidden\" name=\"fields_type[multi_edit][";
// line 46
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 46), "html", null, true);
echo "]\" value=\"foreign\">
<input type=\"text\" name=\"fields[multi_edit][";
// line 47
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 47), "html", null, true);
echo "]\" class=\"textfield\" onchange=\"return verificationsAfterFieldChange('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 47));
echo "', '";
echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null));
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 47), "html", null, true);
echo "')\" id=\"field_";
echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true);
echo "_3\" value=\"";
echo twig_escape_filter($this->env, ($context["data"] ?? null), "html", null, true);
echo "\">
<a class=\"ajax browse_foreign\" href=\"";
// line 48
echo PhpMyAdmin\Url::getFromRoute("/browse-foreigners");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "field" => twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field", [], "any", false, false, false, 48), "rownumber" => ($context["row_id"] ?? null), "data" => ($context["data"] ?? null)]);
echo "\">";
echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse foreign values"));
echo "</a>
";
} elseif ( !twig_test_empty( // line 49
($context["foreign_dropdown"] ?? null))) {
// line 50
echo " ";
echo ($context["backup_field"] ?? null);
echo "
<input type=\"hidden\" name=\"fields_type[multi_edit][";
// line 51
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 51), "html", null, true);
echo "]\" value=\"";
echo ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_binary", [], "any", false, false, false, 51)) ? ("hex") : ("foreign"));
echo "\">
<select name=\"fields[multi_edit][";
// line 52
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 52), "html", null, true);
echo "]\" class=\"textfield\" id=\"field_";
echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true);
echo "_3\" onchange=\"return verificationsAfterFieldChange('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 52));
echo "', '";
echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null));
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 52), "html", null, true);
echo "')\">
";
// line 53
echo ($context["foreign_dropdown"] ?? null);
echo "
</select>
";
} elseif (((( // line 55
($context["longtext_double_textarea"] ?? null) && twig_in_filter("longtext", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55))) || twig_in_filter("json", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55))) || twig_in_filter("text", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 55)))) {
// line 56
echo " ";
echo ($context["backup_field"] ?? null);
echo "
<textarea name=\"fields[multi_edit][";
// line 57
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 57), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true);
echo "_3\" data-type=\"";
echo twig_escape_filter($this->env, ($context["data_type"] ?? null), "html", null, true);
echo "\" dir=\"";
echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true);
echo "\" rows=\"";
echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true);
echo "\" cols=\"";
echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true);
echo "\"";
// line 58
((($context["max_length"] ?? null)) ? (print (twig_escape_filter($this->env, ((" data-maxlength=\"" . ($context["max_length"] ?? null)) . "\""), "html", null, true))) : (print ("")));
echo ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_char", [], "any", false, false, false, 58)) ? (" class=\"char charField\"") : (""));
echo " onchange=\"return verificationsAfterFieldChange('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 58));
echo "', '";
echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null));
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 58), "html", null, true);
echo "')\">";
// line 60
echo (((is_string($__internal_compile_0 = ($context["special_chars"] ?? null)) && is_string($__internal_compile_1 = "
") && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1)))) ? ("
") : (""));
echo ($context["special_chars"] ?? null);
// line 61
echo "</textarea>
";
// line 62
if ((twig_in_filter("text", twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 62)) && (twig_length_filter($this->env, ($context["special_chars"] ?? null)) > 32000))) {
// line 63
echo " </td>
<td>
";
echo _gettext("Because of its length,<br> this column might not be editable.");
// line 66
echo " ";
}
// line 67
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 67) == "enum")) {
// line 68
echo " ";
echo ($context["backup_field"] ?? null);
echo "
<input type=\"hidden\" name=\"fields_type[multi_edit][";
// line 69
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 69), "html", null, true);
echo "]\" value=\"enum\">
";
// line 70
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Type", [], "any", false, false, false, 70)) > 20)) {
// line 71
echo " <select name=\"fields[multi_edit][";
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 71), "html", null, true);
echo "]\" class=\"textfield\" id=\"field_";
echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true);
echo "_3\" onchange=\"return verificationsAfterFieldChange('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 71));
echo "', '";
echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null));
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 71), "html", null, true);
echo "')\">
<option value=\"\"></option>
";
// line 73
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "values", [], "any", false, false, false, 73));
foreach ($context['_seq'] as $context["_key"] => $context["enum_value"]) {
// line 74
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74), "html", null, true);
echo "\"";
echo (((twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74) == ($context["enum_selected_value"] ?? null))) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 74), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['enum_value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 76
echo " </select>
";
} else {
// line 78
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "values", [], "any", false, false, false, 78));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["enum_value"]) {
// line 79
echo " <input type=\"radio\" name=\"fields[multi_edit][";
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 79), "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 79), "html", null, true);
echo "\" class=\"textfield\" id=\"field_";
echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true);
echo "_3_";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 79), "html", null, true);
echo "\" onchange=\"return verificationsAfterFieldChange('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 79));
echo "', '";
echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null));
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 79), "html", null, true);
echo "')\"";
echo (((twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 79) == ($context["enum_selected_value"] ?? null))) ? (" checked") : (""));
echo ">
<label for=\"field_";
// line 80
echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true);
echo "_3_";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 80), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["enum_value"], "plain", [], "any", false, false, false, 80), "html", null, true);
echo "</label>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['enum_value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 82
echo " ";
}
// line 83
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 83) == "set")) {
// line 84
echo " ";
echo ($context["backup_field"] ?? null);
echo "
<input type=\"hidden\" name=\"fields_type[multi_edit][";
// line 85
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 85), "html", null, true);
echo "]\" value=\"set\">
<select name=\"fields[multi_edit][";
// line 86
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 86), "html", null, true);
echo "][]\" class=\"textfield\" size=\"";
echo twig_escape_filter($this->env, ($context["set_select_size"] ?? null), "html", null, true);
echo "\" id=\"field_";
echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true);
echo "_3\" onchange=\"return verificationsAfterFieldChange('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 86));
echo "', '";
echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null));
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 86), "html", null, true);
echo "')\" multiple>
";
// line 87
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["set_values"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["set_value"]) {
// line 88
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), "html", null, true);
echo "\"";
echo ((twig_in_filter(twig_get_attribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), twig_split_filter($this->env, ($context["data"] ?? null), ","))) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["set_value"], "plain", [], "any", false, false, false, 88), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['set_value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 90
echo " </select>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 91
($context["column"] ?? null), "is_binary", [], "any", false, false, false, 91) || twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 91))) {
// line 92
echo " ";
if (($context["is_column_protected_blob"] ?? null)) {
// line 93
echo " ";
echo _gettext("Binary - do not edit");
// line 94
echo " (";
echo twig_escape_filter($this->env, ($context["blob_value"] ?? null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, ($context["blob_value_unit"] ?? null), "html", null, true);
echo ")
<input type=\"hidden\" name=\"fields[multi_edit][";
// line 95
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 95), "html", null, true);
echo "]\" value=\"\">
<input type=\"hidden\" name=\"fields_type[multi_edit][";
// line 96
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 96), "html", null, true);
echo "]\" value=\"protected\">
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 97
($context["column"] ?? null), "is_blob", [], "any", false, false, false, 97) || (twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "len", [], "any", false, false, false, 97) > ($context["limit_chars"] ?? null)))) {
// line 98
echo " ";
echo ($context["backup_field"] ?? null);
echo "
<input type=\"hidden\" name=\"fields_type[multi_edit][";
// line 99
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 99), "html", null, true);
echo "]\" value=\"hex\">
<textarea name=\"fields[multi_edit][";
// line 100
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 100), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true);
echo "_3\" data-type=\"HEX\" dir=\"";
echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true);
echo "\" rows=\"";
echo twig_escape_filter($this->env, ($context["textarea_rows"] ?? null), "html", null, true);
echo "\" cols=\"";
echo twig_escape_filter($this->env, ($context["textarea_cols"] ?? null), "html", null, true);
echo "\"";
// line 101
((($context["max_length"] ?? null)) ? (print (twig_escape_filter($this->env, ((" data-maxlength=\"" . ($context["max_length"] ?? null)) . "\""), "html", null, true))) : (print ("")));
echo ((twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_char", [], "any", false, false, false, 101)) ? (" class=\"char charField\"") : (""));
echo " onchange=\"return verificationsAfterFieldChange('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 101));
echo "', '";
echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null));
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 101), "html", null, true);
echo "')\">";
// line 103
echo (((is_string($__internal_compile_2 = ($context["special_chars"] ?? null)) && is_string($__internal_compile_3 = "
") && ('' === $__internal_compile_3 || 0 === strpos($__internal_compile_2, $__internal_compile_3)))) ? ("
") : (""));
echo ($context["special_chars"] ?? null);
// line 104
echo "</textarea>
";
} else {
// line 106
echo " ";
echo ($context["backup_field"] ?? null);
echo "
<input type=\"hidden\" name=\"fields_type[multi_edit][";
// line 107
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 107), "html", null, true);
echo "]\" value=\"hex\">
";
// line 108
echo ($context["input_field_html"] ?? null);
echo "
";
}
// line 110
echo " ";
if ((($context["is_upload"] ?? null) && twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "is_blob", [], "any", false, false, false, 110))) {
// line 111
echo " <br>
";
// line 113
echo " <input type=\"file\" name=\"fields_upload[multi_edit][";
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "][";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 113), "html", null, true);
echo "]\" class=\"textfield noDragDrop\" id=\"field_";
echo twig_escape_filter($this->env, ($context["id_index"] ?? null), "html", null, true);
echo "_3\" size=\"10\" onchange=\"return verificationsAfterFieldChange('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "Field_md5", [], "any", false, false, false, 113));
echo "', '";
echo PhpMyAdmin\Sanitize::escapeJsString(($context["row_id"] ?? null));
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 113), "html", null, true);
echo "')\">
";
// line 114
echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true);
echo "
";
}
// line 116
echo " ";
echo ($context["select_option_for_upload"] ?? null);
echo "
";
} else {
// line 118
echo " ";
echo ($context["value"] ?? null);
echo "
";
}
// line 120
echo "
";
// line 121
if (twig_in_filter(twig_get_attribute($this->env, $this->source, ($context["column"] ?? null), "pma_type", [], "any", false, false, false, 121), ($context["gis_data_types"] ?? null))) {
// line 122
echo " <span class=\"open_gis_editor\" data-row-id=\"";
echo twig_escape_filter($this->env, ($context["row_id"] ?? null), "html", null, true);
echo "\">";
echo PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit/Insert")), [], "_blank");
echo "</span>
";
}
// line 124
echo " ";
}
// line 125
echo " </td>
</tr>
";
}
public function getTemplateName()
{
return "table/insert/column_row.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 619 => 125, 616 => 124, 608 => 122, 606 => 121, 603 => 120, 597 => 118, 591 => 116, 586 => 114, 571 => 113, 568 => 111, 565 => 110, 560 => 108, 554 => 107, 549 => 106, 545 => 104, 540 => 103, 530 => 101, 517 => 100, 511 => 99, 506 => 98, 504 => 97, 498 => 96, 492 => 95, 485 => 94, 482 => 93, 479 => 92, 477 => 91, 474 => 90, 461 => 88, 457 => 87, 441 => 86, 435 => 85, 430 => 84, 427 => 83, 424 => 82, 404 => 80, 383 => 79, 365 => 78, 361 => 76, 348 => 74, 344 => 73, 328 => 71, 326 => 70, 320 => 69, 315 => 68, 312 => 67, 309 => 66, 304 => 63, 302 => 62, 299 => 61, 294 => 60, 284 => 58, 269 => 57, 264 => 56, 262 => 55, 257 => 53, 243 => 52, 235 => 51, 230 => 50, 228 => 49, 220 => 48, 204 => 47, 198 => 46, 193 => 45, 190 => 44, 184 => 42, 182 => 41, 176 => 39, 170 => 37, 166 => 35, 157 => 33, 149 => 32, 141 => 31, 129 => 30, 120 => 29, 118 => 28, 114 => 26, 111 => 25, 104 => 21, 90 => 20, 87 => 19, 83 => 17, 81 => 16, 76 => 15, 73 => 14, 71 => 13, 68 => 12, 62 => 9, 57 => 8, 55 => 7, 45 => 4, 41 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/insert/column_row.twig", "/home/arif/public_html/pma/templates/table/insert/column_row.twig");
}
}

View File

@ -1,99 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* display/results/table_headers_for_columns.twig */
class __TwigTemplate_21c19d2dead2f5a4d522a66a0c8a940d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["columns"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
// line 2
echo " <th class=\"draggable position-sticky";
echo ((twig_get_attribute($this->env, $this->source, $context["column"], "is_column_numeric", [], "any", false, false, false, 2)) ? (" text-end") : (""));
echo ((twig_get_attribute($this->env, $this->source, $context["column"], "is_column_hidden", [], "any", false, false, false, 2)) ? (" hide") : (""));
// line 3
echo ((($context["is_sortable"] ?? null)) ? (" column_heading") : (""));
echo (((($context["is_sortable"] ?? null) && twig_get_attribute($this->env, $this->source, $context["column"], "is_browse_marker_enabled", [], "any", false, false, false, 3))) ? (" marker") : (""));
echo (((($context["is_sortable"] ?? null) && twig_get_attribute($this->env, $this->source, $context["column"], "is_browse_pointer_enabled", [], "any", false, false, false, 3))) ? (" pointer") : (""));
// line 4
echo ((( !($context["is_sortable"] ?? null) && twig_get_attribute($this->env, $this->source, $context["column"], "has_condition", [], "any", false, false, false, 4))) ? (" condition") : (""));
echo "\" data-column=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "column_name", [], "any", false, false, false, 4), "html", null, true);
echo "\">
";
// line 5
if (($context["is_sortable"] ?? null)) {
// line 6
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["column"], "order_link", [], "any", false, false, false, 6);
echo "
";
} else {
// line 8
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "column_name", [], "any", false, false, false, 8), "html", null, true);
echo "
";
}
// line 10
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["column"], "comments", [], "any", false, false, false, 10);
echo "
</th>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "display/results/table_headers_for_columns.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 69 => 10, 63 => 8, 57 => 6, 55 => 5, 49 => 4, 45 => 3, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "display/results/table_headers_for_columns.twig", "/home/arif/public_html/pma/templates/display/results/table_headers_for_columns.twig");
}
}

View File

@ -57,6 +57,6 @@ class __TwigTemplate_084ae912bcb5aeea7ae0888e7bb733e5 extends Template
public function getSourceContext()
{
return new Source("", "display/results/empty_display.twig", "/home/dev/web/arif.off/public_html/pma/templates/display/results/empty_display.twig");
return new Source("", "display/results/empty_display.twig", "/home/suvo/web/graffin.ns77.siliconpin.com/public_html/pma/templates/display/results/empty_display.twig");
}
}

View File

@ -471,6 +471,6 @@ echo _gettext("Last check");
public function getSourceContext()
{
return new Source("", "table/structure/display_table_stats.twig", "/home/dev/web/arif.off/public_html/pma/templates/table/structure/display_table_stats.twig");
return new Source("", "table/structure/display_table_stats.twig", "/home/suvo/web/graffin.ns77.siliconpin.com/public_html/pma/templates/table/structure/display_table_stats.twig");
}
}

View File

@ -1,86 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* modals/enum_set_editor.twig */
class __TwigTemplate_b9bd4b8f05c3916f28b7cf9944549fc6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"modal fade\" id=\"enumEditorModal\" tabindex=\"-1\" aria-labelledby=\"enumEditorModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"enumEditorModalLabel\">";
echo _gettext("ENUM/SET editor");
// line 5
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 6
echo "\"></button>
</div>
<div class=\"modal-body\"></div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" id=\"enumEditorGoButton\" data-bs-dismiss=\"modal\">";
echo _gettext("Go");
// line 10
echo "</button>
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 11
echo "</button>
</div>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "modals/enum_set_editor.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 59 => 11, 55 => 10, 48 => 6, 44 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "modals/enum_set_editor.twig", "/home/arif/public_html/pma/templates/modals/enum_set_editor.twig");
}
}

View File

@ -1,255 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* console/display.twig */
class __TwigTemplate_5395d0dbab63742bfcd8b0f06c629094 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div id=\"pma_console_container\" class=\"d-print-none\">
<div id=\"pma_console\">
";
// line 4
echo " ";
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 4)->display(twig_to_array(["parent_div_classes" => "collapsed", "content_array" => [0 => [0 => "switch_button console_switch", 1 => _gettext("Console"), "image" => // line 7
($context["image"] ?? null)], 1 => [0 => "button clear", 1 => _gettext("Clear")], 2 => [0 => "button history", 1 => _gettext("History")], 3 => [0 => "button options", 1 => _gettext("Options")], 4 => (( // line 11
($context["has_bookmark_feature"] ?? null)) ? ([0 => "button bookmarks", 1 => _gettext("Bookmarks")]) : (null)), 5 => [0 => "button debug hide", 1 => _gettext("Debug SQL")]]]));
// line 15
echo " ";
// line 16
echo " <div class=\"content\">
<div class=\"console_message_container\">
<div class=\"message welcome\">
<span id=\"instructions-0\">
";
echo _gettext("Press Ctrl+Enter to execute query");
// line 21
echo " </span>
<span class=\"hide\" id=\"instructions-1\">
";
echo _gettext("Press Enter to execute query");
// line 24
echo " </span>
</div>
";
// line 26
if ( !twig_test_empty(($context["sql_history"] ?? null))) {
// line 27
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->env, ($context["sql_history"] ?? null)));
foreach ($context['_seq'] as $context["_key"] => $context["record"]) {
// line 28
echo " <div class=\"message history collapsed hide";
// line 29
echo ((twig_matches("@^SELECT[[:space:]]+@i", (($__internal_compile_0 = $context["record"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["sqlquery"] ?? null) : null))) ? (" select") : (""));
echo "\"
targetdb=\"";
// line 30
echo twig_escape_filter($this->env, (($__internal_compile_1 = $context["record"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["db"] ?? null) : null), "html", null, true);
echo "\" targettable=\"";
echo twig_escape_filter($this->env, (($__internal_compile_2 = $context["record"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["table"] ?? null) : null), "html", null, true);
echo "\">
";
// line 31
$this->loadTemplate("console/query_action.twig", "console/display.twig", 31)->display(twig_to_array(["parent_div_classes" => "action_content", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action requery", 1 => _gettext("Requery")], 3 => [0 => "action edit", 1 => _gettext("Edit")], 4 => [0 => "action explain", 1 => _gettext("Explain")], 5 => [0 => "action profiling", 1 => _gettext("Profiling")], 6 => (( // line 40
($context["has_bookmark_feature"] ?? null)) ? ([0 => "action bookmark", 1 => _gettext("Bookmark")]) : (null)), 7 => [0 => "text failed", 1 => _gettext("Query failed")], 8 => [0 => "text targetdb", 1 => _gettext("Database"), "extraSpan" => (($__internal_compile_3 = // line 42
$context["record"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["db"] ?? null) : null)], 9 => [0 => "text query_time", 1 => _gettext("Queried time"), "extraSpan" => ((twig_get_attribute($this->env, $this->source, // line 46
$context["record"], "timevalue", [], "array", true, true, false, 46)) ? ((($__internal_compile_4 = // line 47
$context["record"]) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["timevalue"] ?? null) : null)) : (_gettext("During current session")))]]]));
// line 51
echo " <span class=\"query\">";
echo twig_escape_filter($this->env, (($__internal_compile_5 = $context["record"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["sqlquery"] ?? null) : null), "html", null, true);
echo "</span>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['record'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 54
echo " ";
}
// line 55
echo " </div><!-- console_message_container -->
<div class=\"query_input\">
<span class=\"console_query_input\"></span>
</div>
</div><!-- message end -->
";
// line 61
echo " <div class=\"mid_layer\"></div>
";
// line 63
echo " <div class=\"card\" id=\"debug_console\">
";
// line 64
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 64)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "button order order_asc", 1 => _gettext("ascending")], 1 => [0 => "button order order_desc", 1 => _gettext("descending")], 2 => [0 => "text", 1 => _gettext("Order:")], 3 => [0 => "switch_button", 1 => _gettext("Debug SQL")], 4 => [0 => "button order_by sort_count", 1 => _gettext("Count")], 5 => [0 => "button order_by sort_exec", 1 => _gettext("Execution order")], 6 => [0 => "button order_by sort_time", 1 => _gettext("Time taken")], 7 => [0 => "text", 1 => _gettext("Order by:")], 8 => [0 => "button group_queries", 1 => _gettext("Group queries")], 9 => [0 => "button ungroup_queries", 1 => _gettext("Ungroup queries")]]]));
// line 79
echo " <div class=\"content debug\">
<div class=\"message welcome\"></div>
<div class=\"debugLog\"></div>
</div> <!-- Content -->
<div class=\"templates\">
";
// line 84
$this->loadTemplate("console/query_action.twig", "console/display.twig", 84)->display(twig_to_array(["parent_div_classes" => "debug_query action_content", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action dbg_show_trace", 1 => _gettext("Show trace")], 3 => [0 => "action dbg_hide_trace", 1 => _gettext("Hide trace")], 4 => [0 => "text count hide", 1 => _gettext("Count"), "extraSpan" => ""], 5 => [0 => "text time", 1 => _gettext("Time taken"), "extraSpan" => ""]]]));
// line 95
echo " </div> <!-- Template -->
</div> <!-- Debug SQL card -->
";
// line 97
if (($context["has_bookmark_feature"] ?? null)) {
// line 98
echo " <div class=\"card\" id=\"pma_bookmarks\">
";
// line 99
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 99)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Bookmarks")], 1 => [0 => "button refresh", 1 => _gettext("Refresh")], 2 => [0 => "button add", 1 => _gettext("Add")]]]));
// line 107
echo " <div class=\"content bookmark\">
";
// line 108
echo ($context["bookmark_content"] ?? null);
echo "
</div>
<div class=\"mid_layer\"></div>
<div class=\"card add\">
";
// line 112
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 112)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Add bookmark")]]]));
// line 118
echo " <div class=\"content add_bookmark\">
<div class=\"options\">
<label>
";
echo _gettext("Label");
// line 121
echo ": <input type=\"text\" name=\"label\">
</label>
<label>
";
echo _gettext("Target database");
// line 124
echo ": <input type=\"text\" name=\"targetdb\">
</label>
<label>
<input type=\"checkbox\" name=\"shared\">";
echo _gettext("Share this bookmark");
// line 128
echo " </label>
<button class=\"btn btn-primary\" type=\"submit\" name=\"submit\">";
echo _gettext("OK");
// line 129
echo "</button>
</div> <!-- options -->
<div class=\"query_input\">
<span class=\"bookmark_add_input\"></span>
</div>
</div>
</div> <!-- Add bookmark card -->
</div> <!-- Bookmarks card -->
";
}
// line 138
echo " ";
// line 139
echo " <div class=\"card\" id=\"pma_console_options\">
";
// line 140
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 140)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Options")], 1 => [0 => "button default", 1 => _gettext("Set default")]]]));
// line 147
echo " <div class=\"content\">
<label>
<input type=\"checkbox\" name=\"always_expand\">";
echo _gettext("Always expand query messages");
// line 150
echo " </label>
<br>
<label>
<input type=\"checkbox\" name=\"start_history\">";
echo _gettext("Show query history at start");
// line 154
echo " </label>
<br>
<label>
<input type=\"checkbox\" name=\"current_query\">";
echo _gettext("Show current browsing query");
// line 158
echo " </label>
<br>
<label>
<input type=\"checkbox\" name=\"enter_executes\">
";
echo _gettext("Execute queries on Enter and insert new line with Shift+Enter. To make this permanent, view settings.");
// line 165
echo " </label>
<br>
<label>
<input type=\"checkbox\" name=\"dark_theme\">";
echo _gettext("Switch to dark theme");
// line 169
echo " </label>
<br>
</div>
</div> <!-- Options card -->
<div class=\"templates\">
";
// line 175
echo " ";
$this->loadTemplate("console/query_action.twig", "console/display.twig", 175)->display(twig_to_array(["parent_div_classes" => "query_actions", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action requery", 1 => _gettext("Requery")], 3 => [0 => "action edit", 1 => _gettext("Edit")], 4 => [0 => "action explain", 1 => _gettext("Explain")], 5 => [0 => "action profiling", 1 => _gettext("Profiling")], 6 => (( // line 184
($context["has_bookmark_feature"] ?? null)) ? ([0 => "action bookmark", 1 => _gettext("Bookmark")]) : (null)), 7 => [0 => "text failed", 1 => _gettext("Query failed")], 8 => [0 => "text targetdb", 1 => _gettext("Database"), "extraSpan" => ""], 9 => [0 => "text query_time", 1 => _gettext("Queried time"), "extraSpan" => ""]]]));
// line 190
echo " </div>
</div> <!-- #console end -->
</div> <!-- #console_container end -->
";
}
public function getTemplateName()
{
return "console/display.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 230 => 190, 228 => 184, 226 => 175, 219 => 169, 213 => 165, 206 => 158, 200 => 154, 194 => 150, 189 => 147, 187 => 140, 184 => 139, 182 => 138, 171 => 129, 167 => 128, 161 => 124, 155 => 121, 149 => 118, 147 => 112, 140 => 108, 137 => 107, 135 => 99, 132 => 98, 130 => 97, 126 => 95, 124 => 84, 117 => 79, 115 => 64, 112 => 63, 109 => 61, 102 => 55, 99 => 54, 89 => 51, 87 => 47, 86 => 46, 85 => 42, 84 => 40, 83 => 31, 77 => 30, 73 => 29, 71 => 28, 66 => 27, 64 => 26, 60 => 24, 55 => 21, 48 => 16, 46 => 15, 44 => 11, 43 => 7, 41 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "console/display.twig", "/home/arif/public_html/pma/templates/console/display.twig");
}
}

View File

@ -1,155 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* columns_definitions/column_name.twig */
class __TwigTemplate_32522f45ec8348583f504163acebabe4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context["title"] = "";
// line 2
if (twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 2)) {
// line 3
echo " ";
if ((($__internal_compile_0 = (($__internal_compile_1 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["column_status"] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["isReferenced"] ?? null) : null)) {
// line 4
echo " ";
$context["title"] = (($context["title"] ?? null) . twig_sprintf(_gettext("Referenced by %s."), twig_join_filter((($__internal_compile_2 = (($__internal_compile_3 = // line 5
($context["column_meta"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["column_status"] ?? null) : null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["references"] ?? null) : null), ",")));
// line 7
echo " ";
}
// line 8
echo " ";
if ((($__internal_compile_4 = (($__internal_compile_5 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["column_status"] ?? null) : null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["isForeignKey"] ?? null) : null)) {
// line 9
echo " ";
if ( !twig_test_empty(($context["title"] ?? null))) {
// line 10
echo " ";
$context["title"] = (($context["title"] ?? null) . "
");
// line 11
echo " ";
}
// line 12
echo " ";
$context["title"] = (($context["title"] ?? null) . _gettext("Is a foreign key."));
// line 13
echo " ";
}
}
// line 15
if (twig_test_empty(($context["title"] ?? null))) {
// line 16
echo " ";
$context["title"] = _gettext("Column");
}
// line 18
echo "
<input id=\"field_";
// line 19
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\"
";
// line 20
if ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 20) && !(($__internal_compile_6 = (($__internal_compile_7 = // line 21
($context["column_meta"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["column_status"] ?? null) : null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["isEditable"] ?? null) : null))) {
// line 22
echo " disabled=\"disabled\"
";
}
// line 24
echo " type=\"text\"
name=\"field_name[";
// line 25
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\"
maxlength=\"64\"
class=\"textfield\"
title=\"";
// line 28
echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
echo "\"
size=\"10\"
value=\"";
// line 30
((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 30)) ? (print (twig_escape_filter($this->env, (($__internal_compile_8 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["Field"] ?? null) : null), "html", null, true))) : (print ("")));
echo "\">
";
// line 32
if ((($context["has_central_columns_feature"] ?? null) && !(twig_get_attribute($this->env, $this->source, // line 33
($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 33) && !(($__internal_compile_9 = (($__internal_compile_10 = // line 34
($context["column_meta"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["column_status"] ?? null) : null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["isEditable"] ?? null) : null)))) {
// line 35
echo " <p class=\"column_name\" id=\"central_columns_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\">
<a data-maxrows=\"";
// line 36
echo twig_escape_filter($this->env, ($context["max_rows"] ?? null), "html", null, true);
echo "\"
href=\"#\"
class=\"central_columns_dialog\">
";
echo _gettext("Pick from Central Columns");
// line 40
echo " </a>
</p>
";
}
}
public function getTemplateName()
{
return "columns_definitions/column_name.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 130 => 40, 123 => 36, 116 => 35, 114 => 34, 113 => 33, 112 => 32, 107 => 30, 102 => 28, 96 => 25, 93 => 24, 89 => 22, 87 => 21, 86 => 20, 80 => 19, 77 => 18, 73 => 16, 71 => 15, 67 => 13, 64 => 12, 61 => 11, 57 => 10, 54 => 9, 51 => 8, 48 => 7, 46 => 5, 44 => 4, 41 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/column_name.twig", "/home/dev/web/arif.off/public_html/pma/templates/columns_definitions/column_name.twig");
}
}

View File

@ -1,183 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* footer.twig */
class __TwigTemplate_08988c4f1a2e9b9dfcaad85a29eb4f30 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if ( !($context["is_ajax"] ?? null)) {
// line 2
echo " </div>
";
}
// line 4
if (( !($context["is_ajax"] ?? null) && !($context["is_minimal"] ?? null))) {
// line 5
echo " ";
if ( !twig_test_empty(($context["self_url"] ?? null))) {
// line 6
echo " <div id=\"selflink\" class=\"d-print-none\">
<a href=\"";
// line 7
echo twig_escape_filter($this->env, ($context["self_url"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Open new phpMyAdmin window");
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
// line 8
if (PhpMyAdmin\Util::showIcons("TabsMode")) {
// line 9
echo " ";
echo PhpMyAdmin\Html\Generator::getImage("window-new", _gettext("Open new phpMyAdmin window"));
echo "
";
} else {
// line 11
echo " ";
echo _gettext("Open new phpMyAdmin window");
// line 12
echo " ";
}
// line 13
echo " </a>
</div>
";
}
// line 16
echo "
<div class=\"clearfloat d-print-none\" id=\"pma_errors\">
";
// line 18
echo ($context["error_messages"] ?? null);
echo "
</div>
";
// line 21
echo ($context["scripts"] ?? null);
echo "
";
// line 23
if (($context["is_demo"] ?? null)) {
// line 24
echo " <div id=\"pma_demo\" class=\"d-print-none\">
";
// line 25
ob_start(function () { return ''; });
// line 26
echo " <a href=\"";
echo PhpMyAdmin\Url::getFromRoute("/");
echo "\">";
echo _gettext("phpMyAdmin Demo Server");
echo ":</a>
";
// line 27
if ( !twig_test_empty(($context["git_revision_info"] ?? null))) {
// line 28
echo " ";
ob_start(function () { return ''; });
// line 29
echo "<a target=\"_blank\" rel=\"noopener noreferrer\" href=\"";
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL(twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "revisionUrl", [], "any", false, false, false, 29)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "revision", [], "any", false, false, false, 29), "html", null, true);
echo "</a>";
$context["revision_info"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 31
echo " ";
ob_start(function () { return ''; });
// line 32
echo "<a target=\"_blank\" rel=\"noopener noreferrer\" href=\"";
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL(twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "branchUrl", [], "any", false, false, false, 32)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["git_revision_info"] ?? null), "branch", [], "any", false, false, false, 32), "html", null, true);
echo "</a>";
$context["branch_info"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 34
echo " ";
echo twig_sprintf(_gettext("Currently running Git revision %1\$s from the %2\$s branch."), ($context["revision_info"] ?? null), ($context["branch_info"] ?? null));
echo "
";
} else {
// line 36
echo " ";
echo _gettext("Git information missing!");
// line 37
echo " ";
}
// line 38
echo " ";
$___internal_parse_34_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 25
echo $this->env->getFilter('notice')->getCallable()($___internal_parse_34_);
// line 39
echo " </div>
";
}
// line 41
echo "
";
// line 42
echo ($context["footer"] ?? null);
echo "
";
}
// line 44
if ( !($context["is_ajax"] ?? null)) {
// line 45
echo " </body>
</html>
";
}
}
public function getTemplateName()
{
return "footer.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 158 => 45, 156 => 44, 151 => 42, 148 => 41, 144 => 39, 142 => 25, 139 => 38, 136 => 37, 133 => 36, 127 => 34, 120 => 32, 117 => 31, 110 => 29, 107 => 28, 105 => 27, 98 => 26, 96 => 25, 93 => 24, 91 => 23, 86 => 21, 80 => 18, 76 => 16, 71 => 13, 68 => 12, 65 => 11, 59 => 9, 57 => 8, 51 => 7, 48 => 6, 45 => 5, 43 => 4, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "footer.twig", "/home/arif/public_html/pma/templates/footer.twig");
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,563 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/structure_table_row.twig */
class __TwigTemplate_fca2a734884de5ac3e697ac93e80f198 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<tr id=\"row_tbl_";
echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true);
echo "\"";
echo ((($context["table_is_view"] ?? null)) ? (" class=\"is_view\"") : (""));
echo " data-filter-row=\"";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, (($__internal_compile_0 = ($context["current_table"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_NAME"] ?? null) : null)), "html", null, true);
echo "\">
<td class=\"text-center d-print-none\">
<input type=\"checkbox\"
name=\"selected_tbl[]\"
class=\"";
// line 5
echo twig_escape_filter($this->env, ($context["input_class"] ?? null), "html", null, true);
echo "\"
value=\"";
// line 6
echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["current_table"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_NAME"] ?? null) : null), "html", null, true);
echo "\"
id=\"checkbox_tbl_";
// line 7
echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true);
echo "\">
</td>
<th>
<a href=\"";
// line 10
echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0]));
echo "\" title=\"";
echo twig_escape_filter($this->env, ($context["browse_table_label_title"] ?? null), "html", null, true);
echo "\">";
// line 11
echo twig_escape_filter($this->env, ($context["browse_table_label_truename"] ?? null), "html", null, true);
// line 12
echo "</a>
";
// line 13
echo ($context["tracking_icon"] ?? null);
echo "
</th>
";
// line 15
if (($context["server_replica_status"] ?? null)) {
// line 16
echo " <td class=\"text-center\">
";
// line 17
echo ((($context["ignored"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_cancel", _gettext("Not replicated"))) : (""));
echo "
";
// line 18
echo ((($context["do"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_success", _gettext("Replicated"))) : (""));
echo "
</td>
";
}
// line 21
echo "
";
// line 23
echo " ";
if ((($context["num_favorite_tables"] ?? null) > 0)) {
// line 24
echo " <td class=\"text-center d-print-none\">
";
// line 26
echo " ";
$context["fav_params"] = ["db" => // line 27
($context["db"] ?? null), "ajax_request" => true, "favorite_table" => (($__internal_compile_2 = // line 29
($context["current_table"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["TABLE_NAME"] ?? null) : null), ((( // line 30
($context["already_favorite"] ?? null)) ? ("remove") : ("add")) . "_favorite") => true];
// line 32
echo " ";
$this->loadTemplate("database/structure/favorite_anchor.twig", "database/structure/structure_table_row.twig", 32)->display(twig_to_array(["table_name_hash" => // line 33
($context["table_name_hash"] ?? null), "db_table_name_hash" => // line 34
($context["db_table_name_hash"] ?? null), "fav_params" => // line 35
($context["fav_params"] ?? null), "already_favorite" => // line 36
($context["already_favorite"] ?? null)]));
// line 38
echo " </td>
";
}
// line 40
echo "
<td class=\"text-center d-print-none\">
<a href=\"";
// line 42
echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0]));
echo "\">
";
// line 43
echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_browse", _gettext("Browse"))));
echo "
</a>
</td>
<td class=\"text-center d-print-none\">
<a href=\"";
// line 47
echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null));
echo "\">
";
// line 48
echo PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Structure"));
echo "
</a>
</td>
<td class=\"text-center d-print-none\">
<a href=\"";
// line 52
echo PhpMyAdmin\Url::getFromRoute("/table/search", ($context["table_url_params"] ?? null));
echo "\">
";
// line 53
echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Search"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_select", _gettext("Search"))));
echo "
</a>
</td>
";
// line 57
if ( !($context["db_is_system_schema"] ?? null)) {
// line 58
echo " <td class=\"insert_table text-center d-print-none\">
<a href=\"";
// line 59
echo PhpMyAdmin\Url::getFromRoute("/table/change", ($context["table_url_params"] ?? null));
echo "\">";
echo PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Insert"));
echo "</a>
</td>
";
// line 61
if (($context["table_is_view"] ?? null)) {
// line 62
echo " <td class=\"text-center d-print-none\">
<a href=\"";
// line 63
echo PhpMyAdmin\Url::getFromRoute("/view/create", ["db" => // line 64
($context["db"] ?? null), "table" => (($__internal_compile_3 = // line 65
($context["current_table"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["TABLE_NAME"] ?? null) : null)]);
// line 66
echo "\">";
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit"));
echo "</a>
</td>
";
} else {
// line 69
echo " <td class=\"text-center d-print-none\">
<a class=\"truncate_table_anchor ajax\" href=\"";
// line 70
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["sql_query" => // line 71
($context["empty_table_sql_query"] ?? null), "message_to_show" => // line 72
($context["empty_table_message_to_show"] ?? null)]), "");
// line 73
echo "\">
";
// line 74
echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Empty"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_empty", _gettext("Empty"))));
echo "
</a>
</td>
";
}
// line 78
echo " <td class=\"text-center d-print-none\">
<a class=\"ajax drop_table_anchor";
// line 80
echo (((($context["table_is_view"] ?? null) || ((($__internal_compile_4 = ($context["current_table"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["ENGINE"] ?? null) : null) == null))) ? (" view") : (""));
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
// line 81
echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["reload" => 1, "purge" => 1, "sql_query" => // line 84
($context["drop_query"] ?? null), "message_to_show" => // line 85
($context["drop_message"] ?? null)]), "");
// line 86
echo "\">
";
// line 87
echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
echo "
</a>
</td>
";
}
// line 91
echo "
";
// line 92
if ((twig_get_attribute($this->env, $this->source, ($context["current_table"] ?? null), "TABLE_ROWS", [], "array", true, true, false, 92) && (((($__internal_compile_5 = // line 93
($context["current_table"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["ENGINE"] ?? null) : null) != null) || ($context["table_is_view"] ?? null)))) {
// line 94
echo " ";
// line 95
echo " ";
$context["row_count"] = PhpMyAdmin\Util::formatNumber((($__internal_compile_6 = ($context["current_table"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["TABLE_ROWS"] ?? null) : null), 0);
// line 96
echo "
";
// line 99
echo " <td class=\"value tbl_rows font-monospace text-end\"
data-table=\"";
// line 100
echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["current_table"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["TABLE_NAME"] ?? null) : null), "html", null, true);
echo "\">
";
// line 101
if (($context["approx_rows"] ?? null)) {
// line 102
echo " <a href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ["ajax_request" => true, "db" => // line 104
($context["db"] ?? null), "table" => (($__internal_compile_8 = // line 105
($context["current_table"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["TABLE_NAME"] ?? null) : null)]);
// line 106
echo "\" class=\"ajax real_row_count\">
<bdi>
~";
// line 108
echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true);
echo "
</bdi>
</a>
";
} else {
// line 112
echo " ";
echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true);
echo "
";
}
// line 114
echo " ";
echo ($context["show_superscript"] ?? null);
echo "
</td>
";
// line 117
if ( !(($context["properties_num_columns"] ?? null) > 1)) {
// line 118
echo " <td class=\"text-nowrap\">
";
// line 119
if ( !twig_test_empty((($__internal_compile_9 = ($context["current_table"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["ENGINE"] ?? null) : null))) {
// line 120
echo " ";
echo twig_escape_filter($this->env, (($__internal_compile_10 = ($context["current_table"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["ENGINE"] ?? null) : null), "html", null, true);
echo "
";
} elseif ( // line 121
($context["table_is_view"] ?? null)) {
// line 122
echo " ";
echo _gettext("View");
// line 123
echo " ";
}
// line 124
echo " </td>
";
// line 125
if ((twig_length_filter($this->env, ($context["collation"] ?? null)) > 0)) {
// line 126
echo " <td class=\"text-nowrap\">
";
// line 127
echo ($context["collation"] ?? null);
echo "
</td>
";
}
// line 130
echo " ";
}
// line 131
echo "
";
// line 132
if (($context["is_show_stats"] ?? null)) {
// line 133
echo " <td class=\"value tbl_size font-monospace text-end\">
<a href=\"";
// line 134
echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null));
echo "#showusage\">
<span>";
// line 135
echo twig_escape_filter($this->env, ($context["formatted_size"] ?? null), "html", null, true);
echo "</span>&nbsp;<span class=\"unit\">";
echo twig_escape_filter($this->env, ($context["unit"] ?? null), "html", null, true);
echo "</span>
</a>
</td>
<td class=\"value tbl_overhead font-monospace text-end\">
";
// line 139
echo ($context["overhead"] ?? null);
echo "
</td>
";
}
// line 142
echo "
";
// line 143
if ( !(($context["show_charset"] ?? null) > 1)) {
// line 144
echo " ";
if ((twig_length_filter($this->env, ($context["charset"] ?? null)) > 0)) {
// line 145
echo " <td class=\"text-nowrap\">
";
// line 146
echo ($context["charset"] ?? null);
echo "
</td>
";
}
// line 149
echo " ";
}
// line 150
echo "
";
// line 151
if (($context["show_comment"] ?? null)) {
// line 152
echo " ";
$context["comment"] = (($__internal_compile_11 = ($context["current_table"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Comment"] ?? null) : null);
// line 153
echo " <td>
";
// line 154
if ((twig_length_filter($this->env, ($context["comment"] ?? null)) > ($context["limit_chars"] ?? null))) {
// line 155
echo " <abbr title=\"";
echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true);
echo "\">
";
// line 156
echo twig_escape_filter($this->env, twig_slice($this->env, ($context["comment"] ?? null), 0, ($context["limit_chars"] ?? null)), "html", null, true);
echo "
...
</abbr>
";
} else {
// line 160
echo " ";
echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true);
echo "
";
}
// line 162
echo " </td>
";
}
// line 164
echo "
";
// line 165
if (($context["show_creation"] ?? null)) {
// line 166
echo " <td class=\"value tbl_creation font-monospace text-end\">
";
// line 167
echo twig_escape_filter($this->env, ($context["create_time"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 170
echo "
";
// line 171
if (($context["show_last_update"] ?? null)) {
// line 172
echo " <td class=\"value tbl_last_update font-monospace text-end\">
";
// line 173
echo twig_escape_filter($this->env, ($context["update_time"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 176
echo "
";
// line 177
if (($context["show_last_check"] ?? null)) {
// line 178
echo " <td class=\"value tbl_last_check font-monospace text-end\">
";
// line 179
echo twig_escape_filter($this->env, ($context["check_time"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 182
echo "
";
} elseif ( // line 183
($context["table_is_view"] ?? null)) {
// line 184
echo " <td class=\"value tbl_rows font-monospace text-end\">-</td>
<td class=\"text-nowrap\">
";
echo _gettext("View");
// line 187
echo " </td>
<td class=\"text-nowrap\">---</td>
";
// line 189
if (($context["is_show_stats"] ?? null)) {
// line 190
echo " <td class=\"value tbl_size font-monospace text-end\">-</td>
<td class=\"value tbl_overhead font-monospace text-end\">-</td>
";
}
// line 193
echo " ";
if (($context["show_charset"] ?? null)) {
// line 194
echo " <td></td>
";
}
// line 196
echo " ";
if (($context["show_comment"] ?? null)) {
// line 197
echo " <td></td>
";
}
// line 199
echo " ";
if (($context["show_creation"] ?? null)) {
// line 200
echo " <td class=\"value tbl_creation font-monospace text-end\">-</td>
";
}
// line 202
echo " ";
if (($context["show_last_update"] ?? null)) {
// line 203
echo " <td class=\"value tbl_last_update font-monospace text-end\">-</td>
";
}
// line 205
echo " ";
if (($context["show_last_check"] ?? null)) {
// line 206
echo " <td class=\"value tbl_last_check font-monospace text-end\">-</td>
";
}
// line 208
echo "
";
} else {
// line 210
echo "
";
// line 211
if (($context["db_is_system_schema"] ?? null)) {
// line 212
echo " ";
$context["action_colspan"] = 3;
// line 213
echo " ";
} else {
// line 214
echo " ";
$context["action_colspan"] = 6;
// line 215
echo " ";
}
// line 216
echo " ";
if ((($context["num_favorite_tables"] ?? null) > 0)) {
// line 217
echo " ";
$context["action_colspan"] = (($context["action_colspan"] ?? null) + 1);
// line 218
echo " ";
}
// line 219
echo "
";
// line 220
$context["colspan_for_structure"] = (($context["action_colspan"] ?? null) + 3);
// line 221
echo " <td colspan=\"";
echo (((($context["colspan_for_structure"] ?? null) - ($context["db_is_system_schema"] ?? null))) ? (6) : (9));
echo "\"
class=\"text-center\">
";
echo _gettext("in use");
// line 224
echo " </td>
";
}
// line 226
echo "</tr>
";
}
public function getTemplateName()
{
return "database/structure/structure_table_row.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 540 => 226, 536 => 224, 529 => 221, 527 => 220, 524 => 219, 521 => 218, 518 => 217, 515 => 216, 512 => 215, 509 => 214, 506 => 213, 503 => 212, 501 => 211, 498 => 210, 494 => 208, 490 => 206, 487 => 205, 483 => 203, 480 => 202, 476 => 200, 473 => 199, 469 => 197, 466 => 196, 462 => 194, 459 => 193, 454 => 190, 452 => 189, 448 => 187, 443 => 184, 441 => 183, 438 => 182, 432 => 179, 429 => 178, 427 => 177, 424 => 176, 418 => 173, 415 => 172, 413 => 171, 410 => 170, 404 => 167, 401 => 166, 399 => 165, 396 => 164, 392 => 162, 386 => 160, 379 => 156, 374 => 155, 372 => 154, 369 => 153, 366 => 152, 364 => 151, 361 => 150, 358 => 149, 352 => 146, 349 => 145, 346 => 144, 344 => 143, 341 => 142, 335 => 139, 326 => 135, 322 => 134, 319 => 133, 317 => 132, 314 => 131, 311 => 130, 305 => 127, 302 => 126, 300 => 125, 297 => 124, 294 => 123, 291 => 122, 289 => 121, 284 => 120, 282 => 119, 279 => 118, 277 => 117, 270 => 114, 264 => 112, 257 => 108, 253 => 106, 251 => 105, 250 => 104, 248 => 102, 246 => 101, 242 => 100, 239 => 99, 236 => 96, 233 => 95, 231 => 94, 229 => 93, 228 => 92, 225 => 91, 218 => 87, 215 => 86, 213 => 85, 212 => 84, 211 => 81, 206 => 80, 203 => 78, 196 => 74, 193 => 73, 191 => 72, 190 => 71, 187 => 70, 184 => 69, 177 => 66, 175 => 65, 174 => 64, 173 => 63, 170 => 62, 168 => 61, 161 => 59, 158 => 58, 156 => 57, 149 => 53, 145 => 52, 138 => 48, 134 => 47, 127 => 43, 123 => 42, 119 => 40, 115 => 38, 113 => 36, 112 => 35, 111 => 34, 110 => 33, 108 => 32, 106 => 30, 105 => 29, 104 => 27, 102 => 26, 99 => 24, 96 => 23, 93 => 21, 87 => 18, 83 => 17, 80 => 16, 78 => 15, 73 => 13, 70 => 12, 68 => 11, 63 => 10, 57 => 7, 53 => 6, 49 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/structure_table_row.twig", "/home/dev/web/arif.off/public_html/pma/templates/database/structure/structure_table_row.twig");
}
}

View File

@ -1,72 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* config/form_display/group_header.twig */
class __TwigTemplate_7bfe25bf55dde7365125ede2b65e56fd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<tr class=\"group-header group-header-";
echo twig_escape_filter($this->env, ($context["group"] ?? null), "html", null, true);
echo "\">
<th colspan=\"";
// line 2
echo twig_escape_filter($this->env, ($context["colspan"] ?? null), "html", null, true);
echo "\">
";
// line 3
echo twig_escape_filter($this->env, ($context["header_text"] ?? null), "html", null, true);
echo "
</th>
</tr>
";
}
public function getTemplateName()
{
return "config/form_display/group_header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 46 => 3, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "config/form_display/group_header.twig", "/home/arif/public_html/pma/templates/config/form_display/group_header.twig");
}
}

View File

@ -1,261 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* sql/profiling_chart.twig */
class __TwigTemplate_05e3576c0e58a14ead990470b54ac8e2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<fieldset class=\"pma-fieldset\">
<legend>";
echo _gettext("Profiling");
// line 2
echo "</legend>
<div class=\"float-start mx-2\">
<h3>";
echo _gettext("Detailed profile");
// line 4
echo "</h3>
<table class=\"table table-sm table-striped\" id=\"profiletable\">
<thead>
<tr>
<th>
";
echo _gettext("Order");
// line 10
echo " <div class=\"sorticon\"></div>
</th>
<th>
";
echo _gettext("State");
// line 14
echo " <div class=\"sorticon\"></div>
</th>
<th>
";
echo _gettext("Time");
// line 18
echo " <div class=\"sorticon\"></div>
</th>
</tr>
</thead>
<tbody>
";
// line 23
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["profiling"] ?? null), "profile", [], "any", false, false, false, 23));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["state"]) {
// line 24
echo " <tr>
<td>";
// line 25
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 25), "html", null, true);
echo "</td>
<td>";
// line 26
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["state"], "status", [], "any", false, false, false, 26), "html", null, true);
echo "</td>
<td class=\"text-end\">
";
// line 28
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["state"], "duration", [], "any", false, false, false, 28), "html", null, true);
echo "s
<span class=\"rawvalue hide\">";
// line 29
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["state"], "duration_raw", [], "any", false, false, false, 29), "html", null, true);
echo "</span>
</td>
</tr>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['state'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 33
echo " </tbody>
</table>
</div>
<div class=\"float-start mx-2\">
<h3>";
echo _gettext("Summary by state");
// line 38
echo PhpMyAdmin\Html\MySQLDocumentation::show("general-thread-states");
echo "</h3>
<table class=\"table table-sm table-striped\" id=\"profilesummarytable\">
<thead>
<tr>
<th>
";
echo _gettext("State");
// line 44
echo " <div class=\"sorticon\"></div>
</th>
<th>
";
echo _gettext("Total Time");
// line 48
echo " <div class=\"sorticon\"></div>
</th>
<th>
";
echo _gettext("% Time");
// line 52
echo " <div class=\"sorticon\"></div>
</th>
<th>
";
echo _gettext("Calls");
// line 56
echo " <div class=\"sorticon\"></div>
</th>
<th>
";
echo _gettext("ø Time");
// line 60
echo " <div class=\"sorticon\"></div>
</th>
</tr>
</thead>
<tbody>
";
// line 65
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["profiling"] ?? null), "states", [], "any", false, false, false, 65));
foreach ($context['_seq'] as $context["name"] => $context["stats"]) {
// line 66
echo " <tr>
<td>";
// line 67
echo twig_escape_filter($this->env, $context["name"], "html", null, true);
echo "</td>
<td class=\"text-end\">
";
// line 69
echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["stats"], "total_time", [], "any", false, false, false, 69), 3, 1), "html", null, true);
echo "s
<span class=\"rawvalue hide\">";
// line 70
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["stats"], "total_time", [], "any", false, false, false, 70), "html", null, true);
echo "</span>
</td>
<td class=\"text-end\">
";
// line 73
echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber((100 * (twig_get_attribute($this->env, $this->source, $context["stats"], "total_time", [], "any", false, false, false, 73) / twig_get_attribute($this->env, $this->source, ($context["profiling"] ?? null), "total_time", [], "any", false, false, false, 73))), 0, 2), "html", null, true);
echo "%
</td>
<td class=\"text-end\">";
// line 75
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["stats"], "calls", [], "any", false, false, false, 75), "html", null, true);
echo "</td>
<td class=\"text-end\">
";
// line 77
echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber((twig_get_attribute($this->env, $this->source, $context["stats"], "total_time", [], "any", false, false, false, 77) / twig_get_attribute($this->env, $this->source, $context["stats"], "calls", [], "any", false, false, false, 77)), 3, 1), "html", null, true);
echo "s
<span class=\"rawvalue hide\">
";
// line 79
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (twig_get_attribute($this->env, $this->source, $context["stats"], "total_time", [], "any", false, false, false, 79) / twig_get_attribute($this->env, $this->source, $context["stats"], "calls", [], "any", false, false, false, 79)), 8, ".", ""), "html", null, true);
echo "
</span>
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['name'], $context['stats'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 84
echo " </tbody>
</table>
</div>
<div class='clearfloat'></div>
<div id=\"profilingChartData\" class=\"hide\">";
// line 90
echo twig_escape_filter($this->env, json_encode(twig_get_attribute($this->env, $this->source, ($context["profiling"] ?? null), "chart", [], "any", false, false, false, 90)), "html", null, true);
// line 91
echo "</div>
<div id=\"profilingchart\" class=\"hide\"></div>
<script type=\"text/javascript\">
AJAX.registerOnload('sql.js', function () {
Sql.makeProfilingChart();
Sql.initProfilingTables();
});
</script>
</fieldset>
";
}
public function getTemplateName()
{
return "sql/profiling_chart.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 229 => 91, 227 => 90, 220 => 84, 209 => 79, 204 => 77, 199 => 75, 194 => 73, 188 => 70, 184 => 69, 179 => 67, 176 => 66, 172 => 65, 165 => 60, 159 => 56, 153 => 52, 147 => 48, 141 => 44, 132 => 38, 124 => 33, 106 => 29, 102 => 28, 97 => 26, 93 => 25, 90 => 24, 73 => 23, 66 => 18, 60 => 14, 54 => 10, 46 => 4, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "sql/profiling_chart.twig", "/home/arif/public_html/pma/templates/sql/profiling_chart.twig");
}
}

View File

@ -1,428 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/privileges/index.twig */
class __TwigTemplate_d9ef32214547f05299326b1cd5ec7e88 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["is_superuser"] ?? null)) {
// line 2
echo " <form id=\"usersForm\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/server/privileges");
echo "\">
";
// line 3
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<fieldset class=\"pma-fieldset\">
<legend>
";
// line 7
echo PhpMyAdmin\Html\Generator::getIcon("b_usrcheck");
echo "
";
// line 8
echo twig_sprintf(_gettext("Users having access to \"%s\""), ((((((("<a href=\"" . ($context["table_url"] ?? null)) . PhpMyAdmin\Url::getCommon(["db" => // line 9
($context["db"] ?? null), "table" => // line 10
($context["table"] ?? null)], "&")) . "\">") . twig_escape_filter($this->env, // line 11
($context["db"] ?? null), "html")) . ".") . twig_escape_filter($this->env, ($context["table"] ?? null), "html")) . "</a>"));
echo "
</legend>
<div class=\"table-responsive-md jsresponsive\">
<table class=\"table table-striped table-hover w-auto\">
<thead>
<tr>
<th></th>
<th>";
echo _gettext("User name");
// line 19
echo "</th>
<th>";
echo _gettext("Host name");
// line 20
echo "</th>
<th>";
echo _gettext("Type");
// line 21
echo "</th>
<th>";
echo _gettext("Privileges");
// line 22
echo "</th>
<th>";
echo _gettext("Grant");
// line 23
echo "</th>
<th colspan=\"2\">";
echo _gettext("Action");
// line 24
echo "</th>
</tr>
</thead>
<tbody>
";
// line 29
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["privileges"] ?? null));
$context['_iterated'] = false;
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["privilege"]) {
// line 30
echo " ";
$context["privileges_amount"] = twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["privilege"], "privileges", [], "any", false, false, false, 30));
// line 31
echo " <tr>
<td";
// line 32
if ((($context["privileges_amount"] ?? null) > 1)) {
echo " class=\"align-middle\" rowspan=\"";
echo twig_escape_filter($this->env, ($context["privileges_amount"] ?? null), "html", null, true);
echo "\"";
}
echo ">
<input type=\"checkbox\" class=\"checkall\" name=\"selected_usr[]\" id=\"checkbox_sel_users_";
// line 33
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 33), "html", null, true);
echo "\" value=\"";
// line 34
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["privilege"], "user", [], "any", false, false, false, 34) . "&amp;#27;") . twig_get_attribute($this->env, $this->source, $context["privilege"], "host", [], "any", false, false, false, 34)), "html", null, true);
echo "\">
</td>
<td";
// line 36
if ((($context["privileges_amount"] ?? null) > 1)) {
echo " class=\"align-middle\" rowspan=\"";
echo twig_escape_filter($this->env, ($context["privileges_amount"] ?? null), "html", null, true);
echo "\"";
}
echo ">
";
// line 37
if (twig_test_empty(twig_get_attribute($this->env, $this->source, $context["privilege"], "user", [], "any", false, false, false, 37))) {
// line 38
echo " <span class=\"text-danger\">";
echo _gettext("Any");
echo "</span>
";
} else {
// line 40
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["privilege"], "user", [], "any", false, false, false, 40), "html", null, true);
echo "
";
}
// line 42
echo " </td>
<td";
// line 43
if ((($context["privileges_amount"] ?? null) > 1)) {
echo " class=\"align-middle\" rowspan=\"";
echo twig_escape_filter($this->env, ($context["privileges_amount"] ?? null), "html", null, true);
echo "\"";
}
echo ">
";
// line 44
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["privilege"], "host", [], "any", false, false, false, 44), "html", null, true);
echo "
</td>
";
// line 46
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["privilege"], "privileges", [], "any", false, false, false, 46));
foreach ($context['_seq'] as $context["_key"] => $context["priv"]) {
// line 47
echo " <td>
";
// line 48
if ((twig_get_attribute($this->env, $this->source, $context["priv"], "type", [], "any", false, false, false, 48) == "g")) {
// line 49
echo " ";
echo _gettext("global");
// line 50
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, $context["priv"], "type", [], "any", false, false, false, 50) == "d")) {
// line 51
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["priv"], "database", [], "any", false, false, false, 51) == twig_replace_filter(($context["db"] ?? null), ["_" => "\\_", "%" => "\\%"]))) {
// line 52
echo " ";
echo _gettext("database-specific");
// line 53
echo " ";
} else {
// line 54
echo " ";
echo _gettext("wildcard");
echo ": <code>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["priv"], "database", [], "any", false, false, false, 54), "html", null, true);
echo "</code>
";
}
// line 56
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, $context["priv"], "type", [], "any", false, false, false, 56) == "t")) {
// line 57
echo " ";
echo _gettext("table-specific");
// line 58
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, $context["priv"], "type", [], "any", false, false, false, 58) == "r")) {
// line 59
echo " ";
echo _gettext("routine");
// line 60
echo " ";
}
// line 61
echo " </td>
<td>
<code>
";
// line 64
if ((twig_get_attribute($this->env, $this->source, $context["priv"], "type", [], "any", false, false, false, 64) == "r")) {
// line 65
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["priv"], "routine", [], "any", false, false, false, 65), "html", null, true);
echo "
(";
// line 66
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, $context["priv"], "privileges", [], "any", false, false, false, 66), ", ")), "html", null, true);
echo ")
";
} else {
// line 68
echo " ";
echo twig_join_filter(twig_get_attribute($this->env, $this->source, $context["priv"], "privileges", [], "any", false, false, false, 68), ", ");
echo "
";
}
// line 70
echo " </code>
</td>
<td>
";
// line 73
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["priv"], "has_grant", [], "any", false, false, false, 73)) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true);
echo "
</td>
<td>
";
// line 76
if (($context["is_grantuser"] ?? null)) {
// line 77
echo " <a class=\"edit_user_anchor\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/server/privileges", ["username" => twig_get_attribute($this->env, $this->source, // line 78
$context["privilege"], "user", [], "any", false, false, false, 78), "hostname" => twig_get_attribute($this->env, $this->source, // line 79
$context["privilege"], "host", [], "any", false, false, false, 79), "dbname" => (((twig_get_attribute($this->env, $this->source, // line 80
$context["priv"], "database", [], "any", false, false, false, 80) != "*")) ? (twig_get_attribute($this->env, $this->source, $context["priv"], "database", [], "any", false, false, false, 80)) : ("")), "tablename" => (((twig_get_attribute($this->env, $this->source, // line 81
$context["priv"], "table", [], "any", true, true, false, 81) && (twig_get_attribute($this->env, $this->source, $context["priv"], "table", [], "any", false, false, false, 81) != "*"))) ? (twig_get_attribute($this->env, $this->source, $context["priv"], "table", [], "any", false, false, false, 81)) : ("")), "routinename" => (((twig_get_attribute($this->env, $this->source, // line 82
$context["priv"], "routine", [], "any", true, true, false, 82) && !(null === twig_get_attribute($this->env, $this->source, $context["priv"], "routine", [], "any", false, false, false, 82)))) ? (twig_get_attribute($this->env, $this->source, $context["priv"], "routine", [], "any", false, false, false, 82)) : (""))]);
// line 83
echo "\">
";
// line 84
echo PhpMyAdmin\Html\Generator::getIcon("b_usredit", _gettext("Edit privileges"));
echo "
</a>
";
}
// line 87
echo " </td>
<td class=\"text-center\">
<a class=\"export_user_anchor ajax\" href=\"";
// line 89
echo PhpMyAdmin\Url::getFromRoute("/server/privileges", ["username" => twig_get_attribute($this->env, $this->source, // line 90
$context["privilege"], "user", [], "any", false, false, false, 90), "hostname" => twig_get_attribute($this->env, $this->source, // line 91
$context["privilege"], "host", [], "any", false, false, false, 91), "export" => true, "initial" => ""]);
// line 94
echo "\">
";
// line 95
echo PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export"));
echo "
</a>
</td>
</tr>
";
// line 99
if ((($context["privileges_amount"] ?? null) > 1)) {
// line 100
echo " <tr class=\"noclick\">
";
}
// line 102
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['priv'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 103
echo " ";
$context['_iterated'] = true;
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
if (!$context['_iterated']) {
// line 104
echo " <tr>
<td colspan=\"7\">
";
echo _gettext("No user found.");
// line 107
echo " </td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['privilege'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 110
echo " </tbody>
</table>
</div>
<div class=\"float-start\">
<img class=\"selectallarrow\" src=\"";
// line 115
echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true);
echo "\" alt=\"";
echo _gettext("With selected:");
// line 116
echo "\" width=\"38\" height=\"22\">
<input type=\"checkbox\" id=\"usersForm_checkall\" class=\"checkall_box\" title=\"";
echo _gettext("Check all");
// line 117
echo "\">
<label for=\"usersForm_checkall\">";
echo _gettext("Check all");
// line 118
echo "</label>
<em class=\"with-selected\">";
echo _gettext("With selected:");
// line 119
echo "</em>
<button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"export\" title=\"";
echo _gettext("Export");
// line 120
echo "\">
";
// line 121
echo PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export"));
echo "
</button>
</div>
</fieldset>
</form>
";
} else {
// line 127
echo " ";
echo $this->env->getFilter('error')->getCallable()(_gettext("Not enough privilege to view users."));
echo "
";
}
// line 129
echo "
";
// line 130
if (($context["is_createuser"] ?? null)) {
// line 131
echo " <div class=\"row\">
<div class=\"col-12\">
<fieldset class=\"pma-fieldset\" id=\"fieldset_add_user\">
<legend>";
echo _pgettext("Create new user", "New");
// line 134
echo "</legend>
<a id=\"add_user_anchor\" href=\"";
// line 135
echo PhpMyAdmin\Url::getFromRoute("/server/privileges", ["adduser" => true, "dbname" => // line 137
($context["db"] ?? null), "tablename" => // line 138
($context["table"] ?? null)]);
// line 139
echo "\" rel=\"";
echo PhpMyAdmin\Url::getCommon(["checkprivsdb" => ($context["db"] ?? null), "checkprivstable" => ($context["table"] ?? null)]);
echo "\">
";
// line 140
echo PhpMyAdmin\Html\Generator::getIcon("b_usradd", _gettext("Add user account"));
echo "
</a>
</fieldset>
</div>
</div>
";
}
}
public function getTemplateName()
{
return "table/privileges/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 399 => 140, 394 => 139, 392 => 138, 391 => 137, 390 => 135, 387 => 134, 381 => 131, 379 => 130, 376 => 129, 370 => 127, 361 => 121, 358 => 120, 354 => 119, 350 => 118, 346 => 117, 342 => 116, 338 => 115, 331 => 110, 323 => 107, 318 => 104, 305 => 103, 299 => 102, 295 => 100, 293 => 99, 286 => 95, 283 => 94, 281 => 91, 280 => 90, 279 => 89, 275 => 87, 269 => 84, 266 => 83, 264 => 82, 263 => 81, 262 => 80, 261 => 79, 260 => 78, 258 => 77, 256 => 76, 250 => 73, 245 => 70, 239 => 68, 234 => 66, 229 => 65, 227 => 64, 222 => 61, 219 => 60, 216 => 59, 213 => 58, 210 => 57, 207 => 56, 199 => 54, 196 => 53, 193 => 52, 190 => 51, 187 => 50, 184 => 49, 182 => 48, 179 => 47, 175 => 46, 170 => 44, 162 => 43, 159 => 42, 153 => 40, 147 => 38, 145 => 37, 137 => 36, 132 => 34, 129 => 33, 121 => 32, 118 => 31, 115 => 30, 97 => 29, 90 => 24, 86 => 23, 82 => 22, 78 => 21, 74 => 20, 70 => 19, 58 => 11, 57 => 10, 56 => 9, 55 => 8, 51 => 7, 44 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/privileges/index.twig", "/home/arif/public_html/pma/templates/table/privileges/index.twig");
}
}

View File

@ -1,739 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* home/index.twig */
class __TwigTemplate_0266d4ce662c1d0612c9cf6ca5c023ce extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["is_git_revision"] ?? null)) {
// line 2
echo " <div id=\"is_git_revision\"></div>
";
}
// line 4
echo "
";
// line 5
echo ($context["message"] ?? null);
echo "
";
// line 7
echo ($context["partial_logout"] ?? null);
echo "
<div id=\"maincontainer\">
";
// line 10
echo ($context["sync_favorite_tables"] ?? null);
echo "
<div class=\"container-fluid\">
<div class=\"row mb-3\">
<div class=\"col-lg-7 col-12\">
";
// line 14
if (($context["has_server"] ?? null)) {
// line 15
echo " ";
if (($context["is_demo"] ?? null)) {
// line 16
echo " <div class=\"card mt-4\">
<div class=\"card-header\">
";
echo _gettext("phpMyAdmin Demo Server");
// line 19
echo " </div>
<div class=\"card-body\">
";
// line 21
ob_start(function () { return ''; });
// line 22
echo " ";
echo _gettext("You are using the demo server. You can do anything here, but please do not change root, debian-sys-maint and pma users. More information is available at %s.");
// line 25
echo " ";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 21
echo twig_sprintf($___internal_parse_0_, "<a href=\"url.php?url=https://demo.phpmyadmin.net/\" target=\"_blank\" rel=\"noopener noreferrer\">demo.phpmyadmin.net</a>");
// line 26
echo " </div>
</div>
";
}
// line 29
echo "
<div class=\"card mt-4\">
<div class=\"card-header\">
";
echo _gettext("General settings");
// line 33
echo " </div>
<ul class=\"list-group list-group-flush\">
";
// line 35
if (($context["has_server_selection"] ?? null)) {
// line 36
echo " <li id=\"li_select_server\" class=\"list-group-item\">
";
// line 37
echo PhpMyAdmin\Html\Generator::getImage("s_host");
echo "
";
// line 38
echo ($context["server_selection"] ?? null);
echo "
</li>
";
}
// line 41
echo "
";
// line 42
if ((($context["server"] ?? null) > 0)) {
// line 43
echo " ";
if (($context["has_change_password_link"] ?? null)) {
// line 44
echo " <li id=\"li_change_password\" class=\"list-group-item\">
<a href=\"";
// line 45
echo PhpMyAdmin\Url::getFromRoute("/user-password");
echo "\" id=\"change_password_anchor\" class=\"ajax\">
";
// line 46
echo PhpMyAdmin\Html\Generator::getIcon("s_passwd", _gettext("Change password"), true);
echo "
</a>
</li>
";
}
// line 50
echo "
<li id=\"li_select_mysql_collation\" class=\"list-group-item\">
<form method=\"post\" action=\"";
// line 52
echo PhpMyAdmin\Url::getFromRoute("/collation-connection");
echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\">
";
// line 53
echo PhpMyAdmin\Url::getHiddenInputs(null, null, 4, "collation_connection");
echo "
<div class=\"col-12\">
<label for=\"collationConnectionSelect\" class=\"col-form-label\">
";
// line 56
echo PhpMyAdmin\Html\Generator::getImage("s_asci");
echo "
";
echo _gettext("Server connection collation:");
// line 58
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("charset-connection");
echo "
</label>
</div>
";
// line 61
if ( !twig_test_empty(($context["charsets"] ?? null))) {
// line 62
echo " <div class=\"col-12\">
<select lang=\"en\" dir=\"ltr\" name=\"collation_connection\" id=\"collationConnectionSelect\" class=\"form-select autosubmit\">
<option value=\"\">";
echo _gettext("Collation");
// line 64
echo "</option>
<option value=\"\"></option>
";
// line 66
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 67
echo " <optgroup label=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 67), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 67), "html", null, true);
echo "\">
";
// line 68
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 68));
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
// line 69
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 69), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 69), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 69)) ? (" selected") : (""));
echo ">";
// line 70
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 70), "html", null, true);
// line 71
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 73
echo " </optgroup>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 75
echo " </select>
</div>
";
}
// line 78
echo " </form>
</li>
<li id=\"li_user_preferences\" class=\"list-group-item\">
<a href=\"";
// line 82
echo PhpMyAdmin\Url::getFromRoute("/preferences/manage");
echo "\">
";
// line 83
echo PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("More settings"), true);
echo "
</a>
</li>
";
}
// line 87
echo " </ul>
</div>
";
}
// line 90
echo "
<div class=\"card mt-4\">
<div class=\"card-header\">
";
echo _gettext("Appearance settings");
// line 94
echo " </div>
<ul class=\"list-group list-group-flush\">
";
// line 96
if ( !twig_test_empty(($context["available_languages"] ?? null))) {
// line 97
echo " <li id=\"li_select_lang\" class=\"list-group-item\">
<form method=\"get\" action=\"";
// line 98
echo PhpMyAdmin\Url::getFromRoute("/");
echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\">
";
// line 99
echo PhpMyAdmin\Url::getHiddenInputs(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
echo "
<div class=\"col-12\">
<label for=\"languageSelect\" class=\"col-form-label text-nowrap\">
";
// line 102
echo PhpMyAdmin\Html\Generator::getImage("s_lang");
echo "
";
echo _gettext("Language");
// line 104
echo " ";
if ((_gettext("Language") != "Language")) {
// line 105
echo " ";
// line 107
echo " <i lang=\"en\" dir=\"ltr\">(Language)</i>
";
}
// line 109
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq7-2");
echo "
</label>
</div>
<div class=\"col-12\">
<select name=\"lang\" class=\"form-select autosubmit w-auto\" lang=\"en\" dir=\"ltr\" id=\"languageSelect\">
";
// line 114
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["available_languages"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
// line 115
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["language"], "getCode", [], "method", false, false, false, 115)), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["language"], "isActive", [], "method", false, false, false, 115)) ? (" selected") : (""));
echo ">";
// line 116
echo twig_get_attribute($this->env, $this->source, $context["language"], "getName", [], "method", false, false, false, 116);
// line 117
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 119
echo " </select>
</div>
</form>
</li>
";
}
// line 124
echo "
";
// line 125
if (($context["has_theme_manager"] ?? null)) {
// line 126
echo " <li id=\"li_select_theme\" class=\"list-group-item\">
<form method=\"post\" action=\"";
// line 127
echo PhpMyAdmin\Url::getFromRoute("/themes/set");
echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\">
";
// line 128
echo PhpMyAdmin\Url::getHiddenInputs();
echo "
<div class=\"col-12\">
<label for=\"themeSelect\" class=\"col-form-label\">
";
// line 131
echo PhpMyAdmin\Html\Generator::getIcon("s_theme", _gettext("Theme"));
echo "
</label>
</div>
<div class=\"col-12\">
<div class=\"input-group\">
<select name=\"set_theme\" class=\"form-select autosubmit\" lang=\"en\" dir=\"ltr\" id=\"themeSelect\">
";
// line 137
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["themes"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["theme"]) {
// line 138
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["theme"], "id", [], "any", false, false, false, 138), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["theme"], "is_active", [], "any", false, false, false, 138)) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["theme"], "name", [], "any", false, false, false, 138), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['theme'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 140
echo " </select>
<button type=\"button\" class=\"btn btn-outline-secondary\" data-bs-toggle=\"modal\" data-bs-target=\"#themesModal\">
";
echo _pgettext("View all themes", "View all");
// line 143
echo " </button>
</div>
</div>
</form>
</li>
";
}
// line 149
echo " </ul>
</div>
</div>
<div class=\"col-lg-5 col-12\">
";
// line 154
if ( !twig_test_empty(($context["database_server"] ?? null))) {
// line 155
echo " <div class=\"card mt-4\">
<div class=\"card-header\">
";
echo _gettext("Database server");
// line 158
echo " </div>
<ul class=\"list-group list-group-flush\">
<li class=\"list-group-item\">
";
echo _gettext("Server:");
// line 162
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "host", [], "any", false, false, false, 162), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("Server type:");
// line 166
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "type", [], "any", false, false, false, 166), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("Server connection:");
// line 170
echo " ";
echo twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "connection", [], "any", false, false, false, 170);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("Server version:");
// line 174
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "version", [], "any", false, false, false, 174), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("Protocol version:");
// line 178
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "protocol", [], "any", false, false, false, 178), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("User:");
// line 182
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "user", [], "any", false, false, false, 182), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("Server charset:");
// line 186
echo " <span lang=\"en\" dir=\"ltr\">
";
// line 187
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "charset", [], "any", false, false, false, 187), "html", null, true);
echo "
</span>
</li>
</ul>
</div>
";
}
// line 193
echo "
";
// line 194
if (( !twig_test_empty(($context["web_server"] ?? null)) || ($context["show_php_info"] ?? null))) {
// line 195
echo " <div class=\"card mt-4\">
<div class=\"card-header\">
";
echo _gettext("Web server");
// line 198
echo " </div>
<ul class=\"list-group list-group-flush\">
";
// line 200
if ( !twig_test_empty(($context["web_server"] ?? null))) {
// line 201
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 201))) {
// line 202
echo " <li class=\"list-group-item\">
";
// line 203
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 203), "html", null, true);
echo "
</li>
";
}
// line 206
echo " <li class=\"list-group-item\" id=\"li_mysql_client_version\">
";
echo _gettext("Database client version:");
// line 208
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "database", [], "any", false, false, false, 208), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("PHP extension:");
// line 212
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "php_extensions", [], "any", false, false, false, 212));
foreach ($context['_seq'] as $context["_key"] => $context["extension"]) {
// line 213
echo " ";
echo twig_escape_filter($this->env, $context["extension"], "html", null, true);
echo "
";
// line 214
echo PhpMyAdmin\Html\Generator::showPHPDocumentation((("book." . $context["extension"]) . ".php"));
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['extension'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 216
echo " </li>
<li class=\"list-group-item\">
";
echo _gettext("PHP version:");
// line 219
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "php_version", [], "any", false, false, false, 219), "html", null, true);
echo "
</li>
";
}
// line 222
echo " ";
if (($context["show_php_info"] ?? null)) {
// line 223
echo " <li class=\"list-group-item\">
<a href=\"";
// line 224
echo PhpMyAdmin\Url::getFromRoute("/phpinfo");
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
echo _gettext("Show PHP information");
// line 226
echo " </a>
</li>
";
}
// line 229
echo " </ul>
</div>
";
}
// line 232
echo "
<div class=\"card mt-4\">
<div class=\"card-header\">
phpMyAdmin
</div>
<ul class=\"list-group list-group-flush\">
<li id=\"li_pma_version\" class=\"list-group-item";
// line 238
echo ((($context["is_version_checked"] ?? null)) ? (" jsversioncheck") : (""));
echo "\">
";
echo _gettext("Version information:");
// line 240
echo " <span class=\"version\">";
echo twig_escape_filter($this->env, ($context["phpmyadmin_version"] ?? null), "html", null, true);
echo "</span>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 243
echo PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index");
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
echo _gettext("Documentation");
// line 245
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 248
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/"), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
echo _gettext("Official Homepage");
// line 250
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 253
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/contribute/"), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
echo _gettext("Contribute");
// line 255
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 258
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/support/"), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
echo _gettext("Get support");
// line 260
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 263
echo PhpMyAdmin\Url::getFromRoute("/changelog");
echo "\" target=\"_blank\">
";
echo _gettext("List of changes");
// line 265
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 268
echo PhpMyAdmin\Url::getFromRoute("/license");
echo "\" target=\"_blank\">
";
echo _gettext("License");
// line 270
echo " </a>
</li>
</ul>
</div>
</div>
</div>
";
// line 277
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["errors"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
// line 278
echo " <div class=\"alert ";
echo (((twig_get_attribute($this->env, $this->source, $context["error"], "severity", [], "any", false, false, false, 278) == "warning")) ? ("alert-warning") : ("alert-info"));
echo "\" role=\"alert\">
";
// line 279
if ((twig_get_attribute($this->env, $this->source, $context["error"], "severity", [], "any", false, false, false, 279) == "warning")) {
// line 280
echo " ";
echo PhpMyAdmin\Html\Generator::getImage("s_attention", _gettext("Warning"));
echo "
";
} else {
// line 282
echo " ";
echo PhpMyAdmin\Html\Generator::getImage("s_notice", _gettext("Notice"));
echo "
";
}
// line 284
echo " ";
echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_get_attribute($this->env, $this->source, $context["error"], "message", [], "any", false, false, false, 284));
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 287
echo " </div>
</div>
";
// line 290
if (($context["has_theme_manager"] ?? null)) {
// line 291
echo " <div class=\"modal fade\" id=\"themesModal\" tabindex=\"-1\" aria-labelledby=\"themesModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-xl\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"themesModalLabel\">";
echo _gettext("phpMyAdmin Themes");
// line 295
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 296
echo "\"></button>
</div>
<div class=\"modal-body\">
<div class=\"spinner-border\" role=\"status\">
<span class=\"visually-hidden\">";
echo _gettext("Loading…");
// line 300
echo "</span>
</div>
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 304
echo "</button>
<a href=\"";
// line 305
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/themes/"), "html", null, true);
echo "#pma_";
echo twig_escape_filter($this->env, twig_replace_filter(($context["phpmyadmin_major_version"] ?? null), ["." => "_"]), "html", null, true);
echo "\" class=\"btn btn-primary\" rel=\"noopener noreferrer\" target=\"_blank\">
";
echo _gettext("Get more themes!");
// line 307
echo " </a>
</div>
</div>
</div>
</div>
";
}
// line 313
echo "
";
// line 314
echo ($context["config_storage_message"] ?? null);
echo "
";
}
public function getTemplateName()
{
return "home/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 715 => 314, 712 => 313, 704 => 307, 697 => 305, 694 => 304, 687 => 300, 680 => 296, 676 => 295, 669 => 291, 667 => 290, 662 => 287, 652 => 284, 646 => 282, 640 => 280, 638 => 279, 633 => 278, 629 => 277, 620 => 270, 615 => 268, 610 => 265, 605 => 263, 600 => 260, 595 => 258, 590 => 255, 585 => 253, 580 => 250, 575 => 248, 570 => 245, 565 => 243, 558 => 240, 553 => 238, 545 => 232, 540 => 229, 535 => 226, 530 => 224, 527 => 223, 524 => 222, 517 => 219, 512 => 216, 504 => 214, 499 => 213, 494 => 212, 486 => 208, 482 => 206, 476 => 203, 473 => 202, 470 => 201, 468 => 200, 464 => 198, 459 => 195, 457 => 194, 454 => 193, 445 => 187, 442 => 186, 434 => 182, 426 => 178, 418 => 174, 410 => 170, 402 => 166, 394 => 162, 388 => 158, 383 => 155, 381 => 154, 374 => 149, 366 => 143, 361 => 140, 348 => 138, 344 => 137, 335 => 131, 329 => 128, 325 => 127, 322 => 126, 320 => 125, 317 => 124, 310 => 119, 303 => 117, 301 => 116, 295 => 115, 291 => 114, 282 => 109, 278 => 107, 276 => 105, 273 => 104, 268 => 102, 262 => 99, 258 => 98, 255 => 97, 253 => 96, 249 => 94, 243 => 90, 238 => 87, 231 => 83, 227 => 82, 221 => 78, 216 => 75, 209 => 73, 202 => 71, 200 => 70, 192 => 69, 188 => 68, 181 => 67, 177 => 66, 173 => 64, 168 => 62, 166 => 61, 159 => 58, 154 => 56, 148 => 53, 144 => 52, 140 => 50, 133 => 46, 129 => 45, 126 => 44, 123 => 43, 121 => 42, 118 => 41, 112 => 38, 108 => 37, 105 => 36, 103 => 35, 99 => 33, 93 => 29, 88 => 26, 86 => 21, 83 => 25, 80 => 22, 78 => 21, 74 => 19, 69 => 16, 66 => 15, 64 => 14, 57 => 10, 51 => 7, 46 => 5, 43 => 4, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "home/index.twig", "/home/arif/public_html/pma/templates/home/index.twig");
}
}

File diff suppressed because one or more lines are too long

View File

@ -1,64 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/collation_definition.twig */
class __TwigTemplate_3e039bc1d307b818aa42ada048c5e614 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<dfn title=\"";
echo twig_escape_filter($this->env, ($context["valueTitle"] ?? null), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true);
echo "</dfn>
";
}
public function getTemplateName()
{
return "database/structure/collation_definition.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/collation_definition.twig", "/home/dev/web/arif.off/public_html/pma/templates/database/structure/collation_definition.twig");
}
}

View File

@ -1,494 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/structure/display_partitions.twig */
class __TwigTemplate_8e1846a07d1731e6a54b76c8ebb02776 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div id=\"partitions\">
<fieldset class=\"pma-fieldset\">
<legend>
";
echo _gettext("Partitions");
// line 5
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("partitioning");
echo "
</legend>
";
// line 7
if (twig_test_empty(($context["partitions"] ?? null))) {
// line 8
echo " ";
echo $this->env->getFilter('notice')->getCallable()(_gettext("No partitioning defined!"));
echo "
";
} else {
// line 10
echo " <p>
";
echo _gettext("Partitioned by:");
// line 12
echo " <code>";
echo twig_escape_filter($this->env, ($context["partition_method"] ?? null), "html", null, true);
echo "(";
echo twig_escape_filter($this->env, ($context["partition_expression"] ?? null), "html", null, true);
echo ")</code>
</p>
";
// line 14
if (($context["has_sub_partitions"] ?? null)) {
// line 15
echo " <p>
";
echo _gettext("Sub partitioned by:");
// line 17
echo " <code>";
echo twig_escape_filter($this->env, ($context["sub_partition_method"] ?? null), "html", null, true);
echo "(";
echo twig_escape_filter($this->env, ($context["sub_partition_expression"] ?? null), "html", null, true);
echo ")</code>
<p>
";
}
// line 20
echo " <table class=\"table table-striped table-hover table-sm\">
<thead>
<tr>
<th colspan=\"2\">#</th>
<th>";
echo _gettext("Partition");
// line 24
echo "</th>
";
// line 25
if (($context["has_description"] ?? null)) {
// line 26
echo " <th>";
echo _gettext("Expression");
echo "</th>
";
}
// line 28
echo " <th>";
echo _gettext("Rows");
echo "</th>
<th>";
echo _gettext("Data length");
// line 29
echo "</th>
<th>";
echo _gettext("Index length");
// line 30
echo "</th>
<th>";
echo _gettext("Comment");
// line 31
echo "</th>
<th colspan=\"";
// line 32
echo ((($context["range_or_list"] ?? null)) ? ("7") : ("6"));
echo "\">
";
echo _gettext("Action");
// line 34
echo " </th>
</tr>
</thead>
<tbody>
";
// line 38
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["partitions"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["partition"]) {
// line 39
echo " <tr class=\"noclick";
echo ((($context["has_sub_partitions"] ?? null)) ? (" table-active") : (""));
echo "\">
";
// line 40
if (($context["has_sub_partitions"] ?? null)) {
// line 41
echo " <td>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 41), "html", null, true);
echo "</td>
<td></td>
";
} else {
// line 44
echo " <td colspan=\"2\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 44), "html", null, true);
echo "</td>
";
}
// line 46
echo " <th>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getName", [], "method", false, false, false, 46), "html", null, true);
echo "</th>
";
// line 47
if (($context["has_description"] ?? null)) {
// line 48
echo " <td>
<code>";
// line 50
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getExpression", [], "method", false, false, false, 50), "html", null, true);
// line 51
echo (((twig_get_attribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 51) == "LIST")) ? (" IN (") : (" < "));
// line 52
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getDescription", [], "method", false, false, false, 52), "html", null, true);
// line 53
echo (((twig_get_attribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 53) == "LIST")) ? (")") : (""));
// line 54
echo "</code>
</td>
";
}
// line 57
echo " <td class=\"value\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getRows", [], "method", false, false, false, 57), "html", null, true);
echo "</td>
<td class=\"value\">
";
// line 59
$context["data_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 60
$context["partition"], "getDataLength", [], "method", false, false, false, 60), 3, 1);
// line 64
echo " <span>";
echo twig_escape_filter($this->env, (($__internal_compile_0 = ($context["data_length"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true);
echo "</span>
<span class=\"unit\">";
// line 65
echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["data_length"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true);
echo "</span>
</td>
<td class=\"value\">
";
// line 68
$context["index_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 69
$context["partition"], "getIndexLength", [], "method", false, false, false, 69), 3, 1);
// line 73
echo " <span>";
echo twig_escape_filter($this->env, (($__internal_compile_2 = ($context["index_length"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null), "html", null, true);
echo "</span>
<span class=\"unit\">";
// line 74
echo twig_escape_filter($this->env, (($__internal_compile_3 = ($context["index_length"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null), "html", null, true);
echo "</span>
</td>
<td>";
// line 76
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partition"], "getComment", [], "method", false, false, false, 76), "html", null, true);
echo "</td>
<td>
<a id=\"partition_action_ANALYZE\" class=\"ajax\" href=\"";
// line 79
echo PhpMyAdmin\Url::getFromRoute("/table/partition/analyze");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 80
($context["db"] ?? null), "table" => // line 81
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 82
$context["partition"], "getName", [], "method", false, false, false, 82)], "", false);
// line 83
echo "\">
";
// line 84
echo PhpMyAdmin\Html\Generator::getIcon("b_search", _gettext("Analyze"));
echo "
</a>
</td>
<td>
<a id=\"partition_action_CHECK\" class=\"ajax\" href=\"";
// line 89
echo PhpMyAdmin\Url::getFromRoute("/table/partition/check");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 90
($context["db"] ?? null), "table" => // line 91
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 92
$context["partition"], "getName", [], "method", false, false, false, 92)], "", false);
// line 93
echo "\">
";
// line 94
echo PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Check"));
echo "
</a>
</td>
<td>
<a id=\"partition_action_OPTIMIZE\" class=\"ajax\" href=\"";
// line 99
echo PhpMyAdmin\Url::getFromRoute("/table/partition/optimize");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 100
($context["db"] ?? null), "table" => // line 101
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 102
$context["partition"], "getName", [], "method", false, false, false, 102)], "", false);
// line 103
echo "\">
";
// line 104
echo PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Optimize"));
echo "
</a>
</td>
<td>
<a id=\"partition_action_REBUILD\" class=\"ajax\" href=\"";
// line 109
echo PhpMyAdmin\Url::getFromRoute("/table/partition/rebuild");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 110
($context["db"] ?? null), "table" => // line 111
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 112
$context["partition"], "getName", [], "method", false, false, false, 112)], "", false);
// line 113
echo "\">
";
// line 114
echo PhpMyAdmin\Html\Generator::getIcon("s_tbl", _gettext("Rebuild"));
echo "
</a>
</td>
<td>
<a id=\"partition_action_REPAIR\" class=\"ajax\" href=\"";
// line 119
echo PhpMyAdmin\Url::getFromRoute("/table/partition/repair");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 120
($context["db"] ?? null), "table" => // line 121
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 122
$context["partition"], "getName", [], "method", false, false, false, 122)], "", false);
// line 123
echo "\">
";
// line 124
echo PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("Repair"));
echo "
</a>
</td>
<td>
<a id=\"partition_action_TRUNCATE\" class=\"ajax\" href=\"";
// line 129
echo PhpMyAdmin\Url::getFromRoute("/table/partition/truncate");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 130
($context["db"] ?? null), "table" => // line 131
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 132
$context["partition"], "getName", [], "method", false, false, false, 132)], "", false);
// line 133
echo "\">
";
// line 134
echo PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Truncate"));
echo "
</a>
</td>
";
// line 138
if (($context["range_or_list"] ?? null)) {
// line 139
echo " <td>
<a id=\"partition_action_DROP\" class=\"ajax\" href=\"";
// line 140
echo PhpMyAdmin\Url::getFromRoute("/table/partition/drop");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 141
($context["db"] ?? null), "table" => // line 142
($context["table"] ?? null), "partition_name" => twig_get_attribute($this->env, $this->source, // line 143
$context["partition"], "getName", [], "method", false, false, false, 143)], "", false);
// line 144
echo "\">
";
// line 145
echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
echo "
</a>
</td>
";
}
// line 149
echo "
";
// line 150
if (($context["has_sub_partitions"] ?? null)) {
// line 151
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["partition"], "getSubPartitions", [], "method", false, false, false, 151));
foreach ($context['_seq'] as $context["_key"] => $context["sub_partition"]) {
// line 152
echo " <tr class=\"noclick\">
<td></td>
<td>";
// line 154
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getOrdinal", [], "method", false, false, false, 154), "html", null, true);
echo "</td>
<td>";
// line 155
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getName", [], "method", false, false, false, 155), "html", null, true);
echo "</td>
";
// line 156
if (($context["has_description"] ?? null)) {
// line 157
echo " <td></td>
";
}
// line 159
echo " <td class=\"value\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getRows", [], "method", false, false, false, 159), "html", null, true);
echo "</td>
<td class=\"value\">
";
// line 161
$context["data_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 162
$context["sub_partition"], "getDataLength", [], "method", false, false, false, 162), 3, 1);
// line 166
echo " <span>";
echo twig_escape_filter($this->env, (($__internal_compile_4 = ($context["data_length"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[0] ?? null) : null), "html", null, true);
echo "</span>
<span class=\"unit\">";
// line 167
echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["data_length"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[1] ?? null) : null), "html", null, true);
echo "</span>
</td>
<td class=\"value\">
";
// line 170
$context["index_length"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, // line 171
$context["sub_partition"], "getIndexLength", [], "method", false, false, false, 171), 3, 1);
// line 175
echo " <span>";
echo twig_escape_filter($this->env, (($__internal_compile_6 = ($context["index_length"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[0] ?? null) : null), "html", null, true);
echo "</span>
<span class=\"unit\">";
// line 176
echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["index_length"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[1] ?? null) : null), "html", null, true);
echo "</span>
</td>
<td>";
// line 178
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sub_partition"], "getComment", [], "method", false, false, false, 178), "html", null, true);
echo "</td>
<td colspan=\"";
// line 179
echo ((($context["range_or_list"] ?? null)) ? ("7") : ("6"));
echo "\"></td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sub_partition'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 182
echo " ";
}
// line 183
echo " </tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 185
echo " </tbody>
</table>
";
}
// line 188
echo " </fieldset>
<fieldset class=\"pma-fieldset tblFooters d-print-none\">
<form action=\"";
// line 190
echo PhpMyAdmin\Url::getFromRoute("/table/structure/partitioning");
echo "\" method=\"post\">
";
// line 191
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
";
// line 193
if (twig_test_empty(($context["partitions"] ?? null))) {
// line 194
echo " <input class=\"btn btn-secondary\" type=\"submit\" value=\"";
echo _gettext("Partition table");
echo "\">
";
} else {
// line 196
echo " ";
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["db" => // line 199
($context["db"] ?? null), "table" => // line 200
($context["table"] ?? null), "sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 201
($context["table"] ?? null))) . " REMOVE PARTITIONING")], _gettext("Remove partitioning"), ["class" => "btn btn-secondary ajax", "id" => "remove_partitioning"]);
// line 206
echo "
<input class=\"btn btn-secondary\" type=\"submit\" value=\"";
echo _gettext("Edit partitioning");
// line 207
echo "\">
";
}
// line 209
echo " </form>
</fieldset>
</div>
";
}
public function getTemplateName()
{
return "table/structure/display_partitions.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 469 => 209, 465 => 207, 461 => 206, 459 => 201, 458 => 200, 457 => 199, 455 => 196, 449 => 194, 447 => 193, 442 => 191, 438 => 190, 434 => 188, 429 => 185, 422 => 183, 419 => 182, 410 => 179, 406 => 178, 401 => 176, 396 => 175, 394 => 171, 393 => 170, 387 => 167, 382 => 166, 380 => 162, 379 => 161, 373 => 159, 369 => 157, 367 => 156, 363 => 155, 359 => 154, 355 => 152, 350 => 151, 348 => 150, 345 => 149, 338 => 145, 335 => 144, 333 => 143, 332 => 142, 331 => 141, 328 => 140, 325 => 139, 323 => 138, 316 => 134, 313 => 133, 311 => 132, 310 => 131, 309 => 130, 306 => 129, 298 => 124, 295 => 123, 293 => 122, 292 => 121, 291 => 120, 288 => 119, 280 => 114, 277 => 113, 275 => 112, 274 => 111, 273 => 110, 270 => 109, 262 => 104, 259 => 103, 257 => 102, 256 => 101, 255 => 100, 252 => 99, 244 => 94, 241 => 93, 239 => 92, 238 => 91, 237 => 90, 234 => 89, 226 => 84, 223 => 83, 221 => 82, 220 => 81, 219 => 80, 216 => 79, 210 => 76, 205 => 74, 200 => 73, 198 => 69, 197 => 68, 191 => 65, 186 => 64, 184 => 60, 183 => 59, 177 => 57, 172 => 54, 170 => 53, 168 => 52, 166 => 51, 164 => 50, 161 => 48, 159 => 47, 154 => 46, 148 => 44, 141 => 41, 139 => 40, 134 => 39, 130 => 38, 124 => 34, 119 => 32, 116 => 31, 112 => 30, 108 => 29, 102 => 28, 96 => 26, 94 => 25, 91 => 24, 84 => 20, 75 => 17, 71 => 15, 69 => 14, 61 => 12, 57 => 10, 51 => 8, 49 => 7, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/structure/display_partitions.twig", "/home/arif/public_html/pma/templates/table/structure/display_partitions.twig");
}
}

View File

@ -79,6 +79,6 @@ echo _gettext("With selected:");
public function getSourceContext()
{
return new Source("", "select_all.twig", "/home/dev/web/arif.off/public_html/pma/templates/select_all.twig");
return new Source("", "select_all.twig", "/home/suvo/web/graffin.ns77.siliconpin.com/public_html/pma/templates/select_all.twig");
}
}

View File

@ -1,283 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* navigation/main.twig */
class __TwigTemplate_6a614d195a2c9874a5d0ff57cb6e700d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if ( !($context["is_ajax"] ?? null)) {
// line 2
echo " <div id=\"pma_navigation\" class=\"d-print-none\" data-config-navigation-width=\"";
echo twig_escape_filter($this->env, ($context["config_navigation_width"] ?? null), "html", null, true);
echo "\">
<div id=\"pma_navigation_resizer\"></div>
<div id=\"pma_navigation_collapser\"></div>
<div id=\"pma_navigation_content\">
<div id=\"pma_navigation_header\">
";
// line 8
if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "is_displayed", [], "any", false, false, false, 8)) {
// line 9
echo " <div id=\"pmalogo\">
";
// line 10
if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "has_link", [], "any", false, false, false, 10)) {
// line 11
echo " <a href=\"";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "link", [], "any", true, true, false, 11)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "link", [], "any", false, false, false, 11), "#")) : ("#")), "html", null, true);
echo "\"";
echo twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "attributes", [], "any", false, false, false, 11);
echo ">
";
}
// line 13
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "source", [], "any", false, false, false, 13))) {
// line 14
echo " <img id=\"imgpmalogo\" src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "source", [], "any", false, false, false, 14), "html", null, true);
echo "\" alt=\"phpMyAdmin\">
";
} else {
// line 16
echo " <h1>phpMyAdmin</h1>
";
}
// line 18
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["logo"] ?? null), "has_link", [], "any", false, false, false, 18)) {
// line 19
echo " </a>
";
}
// line 21
echo " </div>
";
}
// line 23
echo "
<div id=\"navipanellinks\">
<a href=\"";
// line 25
echo PhpMyAdmin\Url::getFromRoute("/");
echo "\" title=\"";
echo _gettext("Home");
echo "\">";
// line 26
echo PhpMyAdmin\Html\Generator::getImage("b_home", _gettext("Home"));
// line 27
echo "</a>
";
// line 29
if ((($context["server"] ?? null) != 0)) {
// line 30
echo " <a class=\"logout disableAjax\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/logout");
echo "\" title=\"";
echo twig_escape_filter($this->env, (((($context["auth_type"] ?? null) == "config")) ? (_gettext("Empty session data")) : (_gettext("Log out"))), "html", null, true);
echo "\">";
// line 31
echo PhpMyAdmin\Html\Generator::getImage("s_loggoff", (((($context["auth_type"] ?? null) == "config")) ? (_gettext("Empty session data")) : (_gettext("Log out"))));
// line 32
echo "</a>
";
}
// line 34
echo "
<a href=\"";
// line 35
echo PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index");
echo "\" title=\"";
echo _gettext("phpMyAdmin documentation");
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">";
// line 36
echo PhpMyAdmin\Html\Generator::getImage("b_docs", _gettext("phpMyAdmin documentation"));
// line 37
echo "</a>
<a href=\"";
// line 39
echo PhpMyAdmin\Util::getdocuURL(($context["is_mariadb"] ?? null));
echo "\" title=\"";
echo twig_escape_filter($this->env, ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation"))), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">";
// line 40
echo PhpMyAdmin\Html\Generator::getImage("b_sqlhelp", ((($context["is_mariadb"] ?? null)) ? (_gettext("MariaDB Documentation")) : (_gettext("MySQL Documentation"))));
// line 41
echo "</a>
<a id=\"pma_navigation_settings_icon\"";
// line 43
echo (( !($context["is_navigation_settings_enabled"] ?? null)) ? (" class=\"hide\"") : (""));
echo " href=\"#\" title=\"";
echo _gettext("Navigation panel settings");
echo "\">";
// line 44
echo PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Navigation panel settings"));
// line 45
echo "</a>
<a id=\"pma_navigation_reload\" href=\"#\" title=\"";
echo _gettext("Reload navigation panel");
// line 47
echo "\">";
// line 48
echo PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Reload navigation panel"));
// line 49
echo "</a>
</div>
";
// line 52
if ((($context["is_servers_displayed"] ?? null) && (twig_length_filter($this->env, ($context["servers"] ?? null)) > 1))) {
// line 53
echo " <div id=\"serverChoice\">
";
// line 54
echo ($context["server_select"] ?? null);
echo "
</div>
";
}
// line 57
echo "
";
// line 58
echo PhpMyAdmin\Html\Generator::getImage("ajax_clock_small", _gettext("Loading…"), ["style" => "visibility: hidden; display:none", "class" => "throbber"]);
// line 61
echo "
</div>
<div id=\"pma_navigation_tree\" class=\"list_container";
// line 63
echo ((($context["is_synced"] ?? null)) ? (" synced") : (""));
echo ((($context["is_highlighted"] ?? null)) ? (" highlight") : (""));
echo ((($context["is_autoexpanded"] ?? null)) ? (" autoexpand") : (""));
echo "\">
";
}
// line 65
echo "
";
// line 66
if ( !($context["navigation_tree"] ?? null)) {
// line 67
echo " ";
echo $this->env->getFilter('error')->getCallable()(_gettext("An error has occurred while loading the navigation display"));
echo "
";
} else {
// line 69
echo " ";
echo ($context["navigation_tree"] ?? null);
echo "
";
}
// line 71
echo "
";
// line 72
if ( !($context["is_ajax"] ?? null)) {
// line 73
echo " </div>
<div id=\"pma_navi_settings_container\">
";
// line 76
if (($context["is_navigation_settings_enabled"] ?? null)) {
// line 77
echo " ";
echo ($context["navigation_settings"] ?? null);
echo "
";
}
// line 79
echo " </div>
</div>
";
// line 82
if (($context["is_drag_drop_import_enabled"] ?? null)) {
// line 83
echo " <div class=\"pma_drop_handler\">
";
echo _gettext("Drop files here");
// line 85
echo " </div>
<div class=\"pma_sql_import_status\">
<h2>
";
echo _gettext("SQL upload");
// line 89
echo " ( <span class=\"pma_import_count\">0</span> )
<span class=\"close\">x</span>
<span class=\"minimize\">-</span>
</h2>
<div></div>
</div>
";
}
// line 96
echo " </div>
";
// line 97
echo twig_include($this->env, $context, "modals/unhide_nav_item.twig");
echo "
";
// line 98
echo twig_include($this->env, $context, "modals/create_view.twig");
echo "
";
}
}
public function getTemplateName()
{
return "navigation/main.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 258 => 98, 254 => 97, 251 => 96, 242 => 89, 236 => 85, 232 => 83, 230 => 82, 225 => 79, 219 => 77, 217 => 76, 212 => 73, 210 => 72, 207 => 71, 201 => 69, 195 => 67, 193 => 66, 190 => 65, 183 => 63, 179 => 61, 177 => 58, 174 => 57, 168 => 54, 165 => 53, 163 => 52, 158 => 49, 156 => 48, 154 => 47, 149 => 45, 147 => 44, 142 => 43, 138 => 41, 136 => 40, 131 => 39, 127 => 37, 125 => 36, 120 => 35, 117 => 34, 113 => 32, 111 => 31, 105 => 30, 103 => 29, 99 => 27, 97 => 26, 92 => 25, 88 => 23, 84 => 21, 80 => 19, 77 => 18, 73 => 16, 67 => 14, 64 => 13, 56 => 11, 54 => 10, 51 => 9, 49 => 8, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "navigation/main.twig", "/home/arif/public_html/pma/templates/navigation/main.twig");
}
}

View File

@ -1,517 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/index_form.twig */
class __TwigTemplate_32ecf221300612a79b5ae2ee9d4b6839 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<form action=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/indexes");
echo "\"
method=\"post\"
name=\"index_frm\"
id=\"index_frm\"
class=\"ajax\">
";
// line 7
echo PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null));
echo "
";
// line 8
if (($context["is_from_nav"] ?? null)) {
// line 9
echo " <input type=\"hidden\" name=\"do_save_data\" value=\"1\">
";
}
// line 11
echo "
<fieldset class=\"pma-fieldset\" id=\"index_edit_fields\">
<div class=\"index_info\">
<div>
<div class=\"label\">
<strong>
<label for=\"input_index_name\">
";
echo _gettext("Index name:");
// line 19
echo " ";
echo PhpMyAdmin\Html\Generator::showHint(_gettext("\"PRIMARY\" <b>must</b> be the name of and <b>only of</b> a primary key!"));
echo "
</label>
</strong>
</div>
<input type=\"text\"
name=\"index[Key_name]\"
id=\"input_index_name\"
size=\"25\"
maxlength=\"64\"
value=\"";
// line 29
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getName", [], "method", false, false, false, 29), "html", null, true);
echo "\"
onfocus=\"this.select()\">
</div>
<div>
<div class=\"label\">
<strong>
<label for=\"select_index_choice\">
";
echo _gettext("Index choice:");
// line 38
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("ALTER_TABLE");
echo "
</label>
</strong>
</div>
<select name=\"index[Index_choice]\" id=\"select_index_choice\"";
// line 43
echo ((($context["create_edit_table"] ?? null)) ? (" disabled") : (""));
echo ">
";
// line 44
if (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 44) == "PRIMARY") || !twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "hasPrimary", [], "method", false, false, false, 44))) {
// line 45
echo " <option value=\"PRIMARY\"";
echo (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 45) == "PRIMARY")) ? (" selected") : (""));
echo ">PRIMARY</option>
";
}
// line 47
echo " <option value=\"INDEX\"";
echo (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 47) == "INDEX")) ? (" selected") : (""));
echo ">INDEX</option>
<option value=\"UNIQUE\"";
// line 48
echo (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 48) == "UNIQUE")) ? (" selected") : (""));
echo ">UNIQUE</option>
<option value=\"SPATIAL\"";
// line 49
echo (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 49) == "SPATIAL")) ? (" selected") : (""));
echo ">SPATIAL</option>
<option value=\"FULLTEXT\"";
// line 50
echo (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 50) == "FULLTEXT")) ? (" selected") : (""));
echo ">FULLTEXT</option>
</select>
</div>
";
// line 54
if ((($context["default_sliders_state"] ?? null) != "disabled")) {
// line 55
echo " <div class=\"mb-3\">
<button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#advancedOptions\" aria-expanded=\"";
// line 56
echo (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false"));
echo "\" aria-controls=\"advancedOptions\">
";
echo _gettext("Advanced options");
// line 58
echo " </button>
</div>
<div class=\"collapse mb-3";
// line 60
echo (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : (""));
echo "\" id=\"advancedOptions\">
";
}
// line 62
echo "
<div>
<div class=\"label\">
<strong>
<label for=\"input_key_block_size\">
";
echo _gettext("Key block size:");
// line 68
echo " </label>
</strong>
</div>
<input type=\"text\"
name=\"index[Key_block_size]\"
id=\"input_key_block_size\"
size=\"30\"
value=\"";
// line 76
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getKeyBlockSize", [], "method", false, false, false, 76), "html", null, true);
echo "\">
</div>
<div>
<div class=\"label\">
<strong>
<label for=\"select_index_type\">
";
echo _gettext("Index type:");
// line 85
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("ALTER_TABLE");
echo "
</label>
</strong>
</div>
<select name=\"index[Index_type]\" id=\"select_index_type\">
";
// line 91
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable([0 => "", 1 => "BTREE", 2 => "HASH"]);
foreach ($context['_seq'] as $context["_key"] => $context["index_type"]) {
// line 92
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["index_type"], "html", null, true);
echo "\"";
echo (((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getType", [], "method", false, false, false, 92) == $context["index_type"])) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, $context["index_type"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['index_type'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 94
echo " </select>
</div>
<div>
<div class=\"label\">
<strong>
<label for=\"input_parser\">
";
echo _gettext("Parser:");
// line 102
echo " </label>
</strong>
</div>
<input type=\"text\"
name=\"index[Parser]\"
id=\"input_parse\"
size=\"30\"
value=\"";
// line 110
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getParser", [], "method", false, false, false, 110), "html", null, true);
echo "\">
</div>
<div>
<div class=\"label\">
<strong>
<label for=\"input_index_comment\">
";
echo _gettext("Comment:");
// line 118
echo " </label>
</strong>
</div>
<input type=\"text\"
name=\"index[Index_comment]\"
id=\"input_index_comment\"
size=\"30\"
maxlength=\"1024\"
value=\"";
// line 127
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getComment", [], "method", false, false, false, 127), "html", null, true);
echo "\">
</div>
";
// line 130
if ((($context["default_sliders_state"] ?? null) != "disabled")) {
// line 131
echo " </div>
";
}
// line 133
echo "
<div class=\"clearfloat\"></div>
<table class=\"table align-middle\" id=\"index_columns\">
<thead>
<tr>
<th></th>
<th>
";
echo _gettext("Column");
// line 142
echo " </th>
<th>
";
echo _gettext("Size");
// line 145
echo " </th>
</tr>
</thead>
";
// line 148
$context["spatial_types"] = [0 => "geometry", 1 => "point", 2 => "linestring", 3 => "polygon", 4 => "multipoint", 5 => "multilinestring", 6 => "multipolygon", 7 => "geomtrycollection"];
// line 158
echo " <tbody>
";
// line 159
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getColumns", [], "method", false, false, false, 159));
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
// line 160
echo " <tr class=\"noclick\">
<td>
<span class=\"drag_icon\" title=\"";
echo _gettext("Drag to reorder");
// line 162
echo "\"></span>
</td>
<td>
<select name=\"index[columns][names][]\">
<option value=\"\">
-- ";
echo _gettext("Ignore");
// line 167
echo " --
</option>
";
// line 169
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["fields"] ?? null));
foreach ($context['_seq'] as $context["field_name"] => $context["field_type"]) {
// line 170
echo " ";
if ((((twig_get_attribute($this->env, $this->source, ($context["index"] ?? null), "getChoice", [], "method", false, false, false, 170) != "FULLTEXT") || twig_matches("/(char|text)/i", // line 171
$context["field_type"])) && ((twig_get_attribute($this->env, $this->source, // line 172
($context["index"] ?? null), "getChoice", [], "method", false, false, false, 172) != "SPATIAL") || twig_in_filter( // line 173
$context["field_type"], ($context["spatial_types"] ?? null))))) {
// line 174
echo "
<option value=\"";
// line 175
echo twig_escape_filter($this->env, $context["field_name"], "html", null, true);
echo "\"";
// line 176
if (($context["field_name"] == twig_get_attribute($this->env, $this->source, $context["column"], "getName", [], "method", false, false, false, 176))) {
// line 177
echo " selected=\"selected\"";
}
// line 178
echo ">
";
// line 179
echo twig_escape_filter($this->env, $context["field_name"], "html", null, true);
echo " [";
echo twig_escape_filter($this->env, $context["field_type"], "html", null, true);
echo "]
</option>
";
}
// line 182
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['field_name'], $context['field_type'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 183
echo " </select>
</td>
<td>
<input type=\"text\"
size=\"5\"
onfocus=\"this.select()\"
name=\"index[columns][sub_parts][]\"
value=\"";
// line 191
(((twig_get_attribute($this->env, $this->source, // line 190
($context["index"] ?? null), "getChoice", [], "method", false, false, false, 190) != "SPATIAL")) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, // line 191
$context["column"], "getSubPart", [], "method", false, false, false, 191), "html", null, true))) : (print ("")));
echo "\">
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 195
echo " ";
if ((($context["add_fields"] ?? null) > 0)) {
// line 196
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, ($context["add_fields"] ?? null)));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 197
echo " <tr class=\"noclick\">
<td>
<span class=\"drag_icon\" title=\"";
echo _gettext("Drag to reorder");
// line 199
echo "\"></span>
</td>
<td>
<select name=\"index[columns][names][]\">
<option value=\"\">-- ";
echo _gettext("Ignore");
// line 203
echo " --</option>
";
// line 204
$context["j"] = 0;
// line 205
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["fields"] ?? null));
foreach ($context['_seq'] as $context["field_name"] => $context["field_type"]) {
// line 206
echo " ";
if (($context["create_edit_table"] ?? null)) {
// line 207
echo " ";
$context["col_index"] = (($__internal_compile_0 = $context["field_type"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[1] ?? null) : null);
// line 208
echo " ";
$context["field_type"] = (($__internal_compile_1 = $context["field_type"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[0] ?? null) : null);
// line 209
echo " ";
}
// line 210
echo " ";
$context["j"] = (($context["j"] ?? null) + 1);
// line 211
echo " <option value=\"";
echo twig_escape_filter($this->env, ((array_key_exists("col_index", $context)) ? ( // line 212
($context["col_index"] ?? null)) : ($context["field_name"])), "html", null, true);
echo "\"";
// line 213
echo (((($context["j"] ?? null) == $context["i"])) ? (" selected=\"selected\"") : (""));
echo ">
";
// line 214
echo twig_escape_filter($this->env, $context["field_name"], "html", null, true);
echo " [";
echo twig_escape_filter($this->env, $context["field_type"], "html", null, true);
echo "]
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['field_name'], $context['field_type'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 217
echo " </select>
</td>
<td>
<input type=\"text\"
size=\"5\"
onfocus=\"this.select()\"
name=\"index[columns][sub_parts][]\"
value=\"\">
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 228
echo " ";
}
// line 229
echo " </tbody>
</table>
<div class=\"add_more\">
<div class=\"slider\"></div>
<div class=\"add_fields hide\">
<input class=\"btn btn-secondary\" type=\"submit\"
id=\"add_fields\"
value=\"";
// line 237
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Add %s column(s) to index"), 1), "html", null, true);
echo "\">
</div>
</div>
</div>
</fieldset>
";
// line 243
if ( !($context["create_edit_table"] ?? null)) {
// line 244
echo "<fieldset class=\"pma-fieldset tblFooters\">
<button class=\"btn btn-primary\" type=\"submit\">";
echo _gettext("Go");
// line 245
echo "</button>
<button class=\"btn btn-secondary\" type=\"submit\" id=\"preview_index_frm\">";
echo _gettext("Preview SQL");
// line 246
echo "</button>
</fieldset>";
}
// line 249
echo "</form>
";
// line 250
if (($context["is_from_nav"] ?? null)) {
// line 251
echo " ";
echo twig_include($this->env, $context, "modals/preview_sql_modal.twig");
echo "
";
}
}
public function getTemplateName()
{
return "table/index_form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 491 => 251, 489 => 250, 486 => 249, 482 => 246, 478 => 245, 474 => 244, 472 => 243, 464 => 237, 454 => 229, 451 => 228, 435 => 217, 424 => 214, 420 => 213, 417 => 212, 415 => 211, 412 => 210, 409 => 209, 406 => 208, 403 => 207, 400 => 206, 395 => 205, 393 => 204, 390 => 203, 383 => 199, 378 => 197, 373 => 196, 370 => 195, 360 => 191, 359 => 190, 358 => 191, 349 => 183, 343 => 182, 335 => 179, 332 => 178, 329 => 177, 327 => 176, 324 => 175, 321 => 174, 319 => 173, 318 => 172, 317 => 171, 315 => 170, 311 => 169, 307 => 167, 299 => 162, 294 => 160, 290 => 159, 287 => 158, 285 => 148, 280 => 145, 275 => 142, 264 => 133, 260 => 131, 258 => 130, 252 => 127, 241 => 118, 230 => 110, 220 => 102, 210 => 94, 197 => 92, 193 => 91, 183 => 85, 171 => 76, 161 => 68, 153 => 62, 148 => 60, 144 => 58, 139 => 56, 136 => 55, 134 => 54, 127 => 50, 123 => 49, 119 => 48, 114 => 47, 108 => 45, 106 => 44, 102 => 43, 93 => 38, 81 => 29, 67 => 19, 57 => 11, 53 => 9, 51 => 8, 47 => 7, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/index_form.twig", "/home/arif/public_html/pma/templates/table/index_form.twig");
}
}

View File

@ -1,182 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/insert/actions_panel.twig */
class __TwigTemplate_9bc61de544d2a5e749d445311bdd2e24 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<fieldset class=\"pma-fieldset\" id=\"actions_panel\">
<table class=\"table table-borderless w-auto tdblock\">
<tr>
<td class=\"text-nowrap align-middle\">
<select name=\"submit_type\" class=\"control_at_footer\">
";
// line 6
if ( !twig_test_empty(($context["where_clause"] ?? null))) {
// line 7
echo " <option value=\"save\">";
echo _gettext("Save");
echo "</option>
";
}
// line 9
echo " <option value=\"insert\">";
echo _gettext("Insert as new row");
echo "</option>
<option value=\"insertignore\">";
echo _gettext("Insert as new row and ignore errors");
// line 10
echo "</option>
<option value=\"showinsert\">";
echo _gettext("Show insert query");
// line 11
echo "</option>
</select>
</td>
<td class=\"align-middle\">
<strong>";
echo _gettext("and then");
// line 15
echo "</strong>
</td>
<td class=\"text-nowrap align-middle\">
<select name=\"after_insert\" class=\"control_at_footer\">
<option value=\"back\"";
// line 19
echo (((($context["after_insert"] ?? null) == "back")) ? (" selected") : (""));
echo ">";
echo _gettext("Go back to previous page");
echo "</option>
<option value=\"new_insert\"";
// line 20
echo (((($context["after_insert"] ?? null) == "new_insert")) ? (" selected") : (""));
echo ">";
echo _gettext("Insert another new row");
echo "</option>
";
// line 21
if ( !twig_test_empty(($context["where_clause"] ?? null))) {
// line 22
echo " <option value=\"same_insert\"";
echo (((($context["after_insert"] ?? null) == "same_insert")) ? (" selected") : (""));
echo ">";
echo _gettext("Go back to this page");
echo "</option>
";
// line 23
if ((($context["found_unique_key"] ?? null) && ($context["is_numeric"] ?? null))) {
// line 24
echo " <option value=\"edit_next\"";
echo (((($context["after_insert"] ?? null) == "edit_next")) ? (" selected") : (""));
echo ">";
echo _gettext("Edit next row");
echo "</option>
";
}
// line 26
echo " ";
}
// line 27
echo " </select>
</td>
</tr>
<tr>
<td>
";
// line 32
echo PhpMyAdmin\Html\Generator::showHint(_gettext("Use TAB key to move from value to value, or CTRL+arrows to move anywhere."));
echo "
</td>
<td colspan=\"3\" class=\"text-end align-middle\">
<input type=\"button\" class=\"btn btn-secondary preview_sql control_at_footer\" value=\"";
echo _gettext("Preview SQL");
// line 35
echo "\">
<input type=\"reset\" class=\"btn btn-secondary control_at_footer\" value=\"";
echo _gettext("Reset");
// line 36
echo "\">
<input type=\"submit\" class=\"btn btn-primary control_at_footer\" value=\"";
echo _gettext("Go");
// line 37
echo "\" id=\"buttonYes\">
</td>
</tr>
</table>
</fieldset>
<div class=\"modal fade\" id=\"previewSqlModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"previewSqlModalLabel\">";
echo _gettext("Loading");
// line 46
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 47
echo "\"></button>
</div>
<div class=\"modal-body\">
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLCloseButton\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 52
echo "</button>
</div>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "table/insert/actions_panel.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 155 => 52, 147 => 47, 143 => 46, 131 => 37, 127 => 36, 123 => 35, 116 => 32, 109 => 27, 106 => 26, 98 => 24, 96 => 23, 89 => 22, 87 => 21, 81 => 20, 75 => 19, 69 => 15, 62 => 11, 58 => 10, 52 => 9, 46 => 7, 44 => 6, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/insert/actions_panel.twig", "/home/arif/public_html/pma/templates/table/insert/actions_panel.twig");
}
}

View File

@ -1,287 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* display/results/checkbox_and_links.twig */
class __TwigTemplate_c98673b80abbb9012e1f3a371c50c363 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if ((($context["position"] ?? null) == "left")) {
// line 2
echo " ";
if (($context["has_checkbox"] ?? null)) {
// line 3
echo " <td class=\"text-center d-print-none\">
<input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete";
// line 5
echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true);
echo "_left\" name=\"rows_to_delete[";
echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" class=\"condition_array\" value=\"";
// line 6
echo twig_escape_filter($this->env, ($context["condition"] ?? null), "html", null, true);
echo "\">
</td>
";
}
// line 9
echo "
";
// line 10
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 10))) {
// line 11
echo " <td class=\"text-center d-print-none edit_row_anchor";
echo (( !twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "clause_is_unique", [], "any", false, false, false, 11)) ? (" nonunique") : (""));
echo "\">
<span class=\"text-nowrap\">
";
// line 13
echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 13), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "params", [], "any", false, false, false, 13), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "string", [], "any", false, false, false, 13));
echo "
";
// line 14
if ( !twig_test_empty(($context["where_clause"] ?? null))) {
// line 15
echo " <input type=\"hidden\" class=\"where_clause\" value=\"";
echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true);
echo "\">
";
}
// line 17
echo " </span>
</td>
";
}
// line 20
echo "
";
// line 21
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 21))) {
// line 22
echo " <td class=\"text-center d-print-none\">
<span class=\"text-nowrap\">
";
// line 24
echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 24), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "params", [], "any", false, false, false, 24), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "string", [], "any", false, false, false, 24));
echo "
";
// line 25
if ( !twig_test_empty(($context["where_clause"] ?? null))) {
// line 26
echo " <input type=\"hidden\" class=\"where_clause\" value=\"";
echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true);
echo "\">
";
}
// line 28
echo " </span>
</td>
";
}
// line 31
echo "
";
// line 32
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 32))) {
// line 33
echo " <td class=\"text-center d-print-none";
echo ((($context["is_ajax"] ?? null)) ? (" ajax") : (""));
echo "\">
<span class=\"text-nowrap\">
";
// line 35
echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 35), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "params", [], "any", false, false, false, 35), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "string", [], "any", false, false, false, 35), ["class" => ("delete_row requireConfirm" . ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")))]);
echo "
";
// line 36
if ( !twig_test_empty(($context["js_conf"] ?? null))) {
// line 37
echo " <div class=\"hide\">";
echo twig_escape_filter($this->env, ($context["js_conf"] ?? null), "html", null, true);
echo "</div>
";
}
// line 39
echo " </span>
</td>
";
}
} elseif (( // line 42
($context["position"] ?? null) == "right")) {
// line 43
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 43))) {
// line 44
echo " <td class=\"text-center d-print-none";
echo ((($context["is_ajax"] ?? null)) ? (" ajax") : (""));
echo "\">
<span class=\"text-nowrap\">
";
// line 46
echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "url", [], "any", false, false, false, 46), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "params", [], "any", false, false, false, 46), twig_get_attribute($this->env, $this->source, ($context["delete"] ?? null), "string", [], "any", false, false, false, 46), ["class" => ("delete_row requireConfirm" . ((($context["is_ajax"] ?? null)) ? (" ajax") : ("")))]);
echo "
";
// line 47
if ( !twig_test_empty(($context["js_conf"] ?? null))) {
// line 48
echo " <div class=\"hide\">";
echo twig_escape_filter($this->env, ($context["js_conf"] ?? null), "html", null, true);
echo "</div>
";
}
// line 50
echo " </span>
</td>
";
}
// line 53
echo "
";
// line 54
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 54))) {
// line 55
echo " <td class=\"text-center d-print-none\">
<span class=\"text-nowrap\">
";
// line 57
echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "url", [], "any", false, false, false, 57), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "params", [], "any", false, false, false, 57), twig_get_attribute($this->env, $this->source, ($context["copy"] ?? null), "string", [], "any", false, false, false, 57));
echo "
";
// line 58
if ( !twig_test_empty(($context["where_clause"] ?? null))) {
// line 59
echo " <input type=\"hidden\" class=\"where_clause\" value=\"";
echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true);
echo "\">
";
}
// line 61
echo " </span>
</td>
";
}
// line 64
echo "
";
// line 65
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 65))) {
// line 66
echo " <td class=\"text-center d-print-none edit_row_anchor";
echo (( !twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "clause_is_unique", [], "any", false, false, false, 66)) ? (" nonunique") : (""));
echo "\">
<span class=\"text-nowrap\">
";
// line 68
echo PhpMyAdmin\Html\Generator::linkOrButton(twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "url", [], "any", false, false, false, 68), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "params", [], "any", false, false, false, 68), twig_get_attribute($this->env, $this->source, ($context["edit"] ?? null), "string", [], "any", false, false, false, 68));
echo "
";
// line 69
if ( !twig_test_empty(($context["where_clause"] ?? null))) {
// line 70
echo " <input type=\"hidden\" class=\"where_clause\" value=\"";
echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true);
echo "\">
";
}
// line 72
echo " </span>
</td>
";
}
// line 75
echo "
";
// line 76
if (($context["has_checkbox"] ?? null)) {
// line 77
echo " <td class=\"text-center d-print-none\">
<input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete";
// line 79
echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true);
echo "_right\" name=\"rows_to_delete[";
echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" class=\"condition_array\" value=\"";
// line 80
echo twig_escape_filter($this->env, ($context["condition"] ?? null), "html", null, true);
echo "\">
</td>
";
}
} else {
// line 84
echo " ";
if (($context["has_checkbox"] ?? null)) {
// line 85
echo " <td class=\"text-center d-print-none\">
<input type=\"checkbox\" class=\"multi_checkbox checkall\" id=\"id_rows_to_delete";
// line 87
echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true);
echo "_left\" name=\"rows_to_delete[";
echo twig_escape_filter($this->env, ($context["row_number"] ?? null), "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, ($context["where_clause"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" class=\"condition_array\" value=\"";
// line 88
echo twig_escape_filter($this->env, ($context["condition"] ?? null), "html", null, true);
echo "\">
</td>
";
}
}
}
public function getTemplateName()
{
return "display/results/checkbox_and_links.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 260 => 88, 252 => 87, 249 => 85, 246 => 84, 239 => 80, 231 => 79, 228 => 77, 226 => 76, 223 => 75, 218 => 72, 212 => 70, 210 => 69, 206 => 68, 200 => 66, 198 => 65, 195 => 64, 190 => 61, 184 => 59, 182 => 58, 178 => 57, 174 => 55, 172 => 54, 169 => 53, 164 => 50, 158 => 48, 156 => 47, 152 => 46, 146 => 44, 143 => 43, 141 => 42, 136 => 39, 130 => 37, 128 => 36, 124 => 35, 118 => 33, 116 => 32, 113 => 31, 108 => 28, 102 => 26, 100 => 25, 96 => 24, 92 => 22, 90 => 21, 87 => 20, 82 => 17, 76 => 15, 74 => 14, 70 => 13, 64 => 11, 62 => 10, 59 => 9, 53 => 6, 45 => 5, 42 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "display/results/checkbox_and_links.twig", "/home/arif/public_html/pma/templates/display/results/checkbox_and_links.twig");
}
}

View File

@ -1,119 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/insert/continue_insertion_form.twig */
class __TwigTemplate_792a41a41a6a9fd2f56b8011ad6349ba extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<form id=\"continueForm\" method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/replace");
echo "\" name=\"continueForm\">
";
// line 2
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<input type=\"hidden\" name=\"goto\" value=\"";
// line 3
echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"err_url\" value=\"";
// line 4
echo twig_escape_filter($this->env, ($context["err_url"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"sql_query\" value=\"";
// line 5
echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true);
echo "\">
";
// line 7
if (($context["has_where_clause"] ?? null)) {
// line 8
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["where_clause_array"] ?? null));
foreach ($context['_seq'] as $context["key_id"] => $context["where_clause"]) {
// line 9
echo " <input type=\"hidden\" name=\"where_clause[";
echo twig_escape_filter($this->env, $context["key_id"], "html", null, true);
echo "]\" value=\"";
// line 10
echo twig_escape_filter($this->env, twig_trim_filter($context["where_clause"]), "html", null, true);
echo "\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key_id'], $context['where_clause'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 12
echo " ";
}
// line 13
echo "
";
// line 14
ob_start(function () { return ''; });
// line 15
echo " <input type=\"number\" name=\"insert_rows\" id=\"insert_rows\" value=\"";
// line 16
echo twig_escape_filter($this->env, ($context["insert_rows_default"] ?? null), "html", null, true);
echo "\" min=\"1\">
";
$context["insert_rows"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 18
echo " ";
echo twig_sprintf(_gettext("Continue insertion with %s rows"), ($context["insert_rows"] ?? null));
echo "
</form>
";
}
public function getTemplateName()
{
return "table/insert/continue_insertion_form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 93 => 18, 88 => 16, 86 => 15, 84 => 14, 81 => 13, 78 => 12, 70 => 10, 66 => 9, 61 => 8, 59 => 7, 54 => 5, 50 => 4, 46 => 3, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/insert/continue_insertion_form.twig", "/home/arif/public_html/pma/templates/table/insert/continue_insertion_form.twig");
}
}

View File

@ -1,313 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/search/input_box.twig */
class __TwigTemplate_3fd4b8b02146817fcbd06403ccd5cfd3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 2
if ((($context["foreigners"] ?? null) && $this->env->getFunction('search_column_in_foreigners')->getCallable()(($context["foreigners"] ?? null), ($context["column_name"] ?? null)))) {
// line 3
echo " ";
if (twig_test_iterable((($__internal_compile_0 = ($context["foreign_data"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["disp_row"] ?? null) : null))) {
// line 4
echo " <select name=\"criteriaValues[";
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "]\"
id=\"";
// line 5
echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true);
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "\">
";
// line 6
echo $this->env->getFunction('foreign_dropdown')->getCallable()((($__internal_compile_1 = // line 7
($context["foreign_data"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["disp_row"] ?? null) : null), (($__internal_compile_2 = // line 8
($context["foreign_data"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["foreign_field"] ?? null) : null), (($__internal_compile_3 = // line 9
($context["foreign_data"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["foreign_display"] ?? null) : null), "", // line 11
($context["foreign_max_limit"] ?? null));
// line 12
echo "
</select>
";
} elseif (((($__internal_compile_4 = // line 14
($context["foreign_data"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["foreign_link"] ?? null) : null) == true)) {
// line 15
echo " <input type=\"text\"
id=\"";
// line 16
echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true);
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "\"
name=\"criteriaValues[";
// line 17
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "]\"
id=\"field_";
// line 18
echo twig_escape_filter($this->env, ($context["column_name_hash"] ?? null), "html", null, true);
echo "[";
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "]\"
class=\"textfield\"
";
// line 20
if (twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 20)) {
// line 21
echo " value=\"";
echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["column_index"] ?? null)] ?? null) : null), "html", null, true);
echo "\"
";
}
// line 22
echo ">
<a class=\"ajax browse_foreign\" href=\"";
// line 23
echo PhpMyAdmin\Url::getFromRoute("/browse-foreigners");
echo "\" data-post=\"";
// line 24
echo PhpMyAdmin\Url::getCommon(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)], "", false);
// line 25
echo "&amp;field=";
echo twig_escape_filter($this->env, twig_urlencode_filter(($context["column_name"] ?? null)), "html", null, true);
echo "&amp;fieldkey=";
// line 26
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "&amp;fromsearch=1\">
";
// line 27
echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse foreign values"));
echo "
</a>
";
}
} elseif (twig_in_filter( // line 30
($context["column_type"] ?? null), PhpMyAdmin\Utils\Gis::getDataTypes())) {
// line 31
echo " <input type=\"text\"
name=\"criteriaValues[";
// line 32
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "]\"
size=\"40\"
class=\"textfield\"
id=\"field_";
// line 35
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "\">
";
// line 36
if (($context["in_fbs"] ?? null)) {
// line 37
echo " ";
$context["edit_str"] = PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit/Insert"));
// line 38
echo " <span class=\"open_search_gis_editor\">
";
// line 39
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/gis-data-editor"), [], ($context["edit_str"] ?? null), [], "_blank");
echo "
</span>
";
}
} elseif (((is_string($__internal_compile_6 = // line 42
($context["column_type"] ?? null)) && is_string($__internal_compile_7 = "enum") && ('' === $__internal_compile_7 || 0 === strpos($__internal_compile_6, $__internal_compile_7))) || ((is_string($__internal_compile_8 = // line 43
($context["column_type"] ?? null)) && is_string($__internal_compile_9 = "set") && ('' === $__internal_compile_9 || 0 === strpos($__internal_compile_8, $__internal_compile_9))) && ($context["in_zoom_search_edit"] ?? null)))) {
// line 44
echo " ";
$context["in_zoom_search_edit"] = false;
// line 45
echo " ";
$context["value"] = PhpMyAdmin\Util::parseEnumSetValues(($context["column_type"] ?? null));
// line 46
echo " ";
$context["cnt_value"] = twig_length_filter($this->env, ($context["value"] ?? null));
// line 47
echo " ";
// line 53
echo " ";
if ((((is_string($__internal_compile_10 = ($context["column_type"] ?? null)) && is_string($__internal_compile_11 = "enum") && ('' === $__internal_compile_11 || 0 === strpos($__internal_compile_10, $__internal_compile_11))) && !($context["in_zoom_search_edit"] ?? null)) || ((is_string($__internal_compile_12 = // line 54
($context["column_type"] ?? null)) && is_string($__internal_compile_13 = "set") && ('' === $__internal_compile_13 || 0 === strpos($__internal_compile_12, $__internal_compile_13))) && ($context["in_zoom_search_edit"] ?? null)))) {
// line 55
echo " <select name=\"criteriaValues[";
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "]\"
id=\"";
// line 56
echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true);
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "\">
";
} else {
// line 58
echo " <select name=\"criteriaValues[";
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "]\"
id=\"";
// line 59
echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true);
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "\"
multiple=\"multiple\"
size=\"";
// line 61
echo twig_escape_filter($this->env, min(3, ($context["cnt_value"] ?? null)), "html", null, true);
echo "\">
";
}
// line 63
echo " ";
// line 64
echo " <option value=\"\"></option>
";
// line 65
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, (($context["cnt_value"] ?? null) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 66
echo " ";
if (((twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 66) && twig_test_iterable((($__internal_compile_14 = // line 67
($context["criteria_values"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14[($context["column_index"] ?? null)] ?? null) : null))) && twig_in_filter((($__internal_compile_15 = // line 68
($context["value"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15[$context["i"]] ?? null) : null), (($__internal_compile_16 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16[($context["column_index"] ?? null)] ?? null) : null)))) {
// line 69
echo " <option value=\"";
echo (($__internal_compile_17 = ($context["value"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17[$context["i"]] ?? null) : null);
echo "\" selected>
";
// line 70
echo (($__internal_compile_18 = ($context["value"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[$context["i"]] ?? null) : null);
echo "
</option>
";
} else {
// line 73
echo " <option value=\"";
echo (($__internal_compile_19 = ($context["value"] ?? null)) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19[$context["i"]] ?? null) : null);
echo "\">
";
// line 74
echo (($__internal_compile_20 = ($context["value"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20[$context["i"]] ?? null) : null);
echo "
</option>
";
}
// line 77
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 78
echo " </select>
";
} else {
// line 80
echo " ";
$context["the_class"] = "textfield";
// line 81
echo " ";
if ((($context["column_type"] ?? null) == "date")) {
// line 82
echo " ";
$context["the_class"] = (($context["the_class"] ?? null) . " datefield");
// line 83
echo " ";
} elseif (((($context["column_type"] ?? null) == "datetime") || (is_string($__internal_compile_21 = ($context["column_type"] ?? null)) && is_string($__internal_compile_22 = "timestamp") && ('' === $__internal_compile_22 || 0 === strpos($__internal_compile_21, $__internal_compile_22))))) {
// line 84
echo " ";
$context["the_class"] = (($context["the_class"] ?? null) . " datetimefield");
// line 85
echo " ";
} elseif ((is_string($__internal_compile_23 = ($context["column_type"] ?? null)) && is_string($__internal_compile_24 = "bit") && ('' === $__internal_compile_24 || 0 === strpos($__internal_compile_23, $__internal_compile_24)))) {
// line 86
echo " ";
$context["the_class"] = (($context["the_class"] ?? null) . " bit");
// line 87
echo " ";
}
// line 88
echo " <input type=\"text\"
name=\"criteriaValues[";
// line 89
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "]\"
data-type=\"";
// line 90
echo twig_escape_filter($this->env, ($context["column_data_type"] ?? null), "html", null, true);
echo "\"
";
// line 91
echo ($context["html_attributes"] ?? null);
echo "
size=\"40\"
class=\"";
// line 93
echo twig_escape_filter($this->env, ($context["the_class"] ?? null), "html", null, true);
echo "\"
id=\"";
// line 94
echo twig_escape_filter($this->env, ($context["column_id"] ?? null), "html", null, true);
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "\"
";
// line 95
if (twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 95)) {
// line 96
echo " value=\"";
echo twig_escape_filter($this->env, (($__internal_compile_25 = ($context["criteria_values"] ?? null)) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25[($context["column_index"] ?? null)] ?? null) : null), "html", null, true);
echo "\"";
}
// line 97
echo ">
";
}
}
public function getTemplateName()
{
return "table/search/input_box.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 289 => 97, 284 => 96, 282 => 95, 277 => 94, 273 => 93, 268 => 91, 264 => 90, 260 => 89, 257 => 88, 254 => 87, 251 => 86, 248 => 85, 245 => 84, 242 => 83, 239 => 82, 236 => 81, 233 => 80, 229 => 78, 223 => 77, 217 => 74, 212 => 73, 206 => 70, 201 => 69, 199 => 68, 198 => 67, 196 => 66, 192 => 65, 189 => 64, 187 => 63, 182 => 61, 176 => 59, 171 => 58, 165 => 56, 160 => 55, 158 => 54, 156 => 53, 154 => 47, 151 => 46, 148 => 45, 145 => 44, 143 => 43, 142 => 42, 136 => 39, 133 => 38, 130 => 37, 128 => 36, 124 => 35, 118 => 32, 115 => 31, 113 => 30, 107 => 27, 103 => 26, 99 => 25, 97 => 24, 94 => 23, 91 => 22, 85 => 21, 83 => 20, 76 => 18, 72 => 17, 67 => 16, 64 => 15, 62 => 14, 58 => 12, 56 => 11, 55 => 9, 54 => 8, 53 => 7, 52 => 6, 47 => 5, 42 => 4, 39 => 3, 37 => 2,);
}
public function getSourceContext()
{
return new Source("", "table/search/input_box.twig", "/home/dev/web/arif.off/public_html/pma/templates/table/search/input_box.twig");
}
}

View File

@ -1,418 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* columns_definitions/column_definitions_form.twig */
class __TwigTemplate_e5dfff06f91a106740e53146df36fa61 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<form method=\"post\" action=\"";
echo twig_escape_filter($this->env, ($context["action"] ?? null), "html", null, true);
echo "\" class=\"";
// line 2
echo (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) ? ("create_table") : ("append_fields"));
// line 3
echo "_form ajax lock-page\">
";
// line 4
echo PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null));
echo "
";
// line 6
echo " ";
// line 7
echo " ";
// line 8
echo " <input type=\"hidden\" name=\"primary_indexes\" value=\"";
// line 9
(( !twig_test_empty(($context["primary_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["primary_indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
<input type=\"hidden\" name=\"unique_indexes\" value=\"";
// line 11
(( !twig_test_empty(($context["unique_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["unique_indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
<input type=\"hidden\" name=\"indexes\" value=\"";
// line 13
(( !twig_test_empty(($context["indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
<input type=\"hidden\" name=\"fulltext_indexes\" value=\"";
// line 15
(( !twig_test_empty(($context["fulltext_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["fulltext_indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
<input type=\"hidden\" name=\"spatial_indexes\" value=\"";
// line 17
(( !twig_test_empty(($context["spatial_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["spatial_indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
";
// line 19
if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) {
// line 20
echo " <div id=\"table_name_col_no_outer\">
<table id=\"table_name_col_no\" class=\"table table-borderless tdblock\">
<tr class=\"align-middle float-start\">
<td>";
echo _gettext("Table name");
// line 23
echo ":
<input type=\"text\"
name=\"table\"
size=\"40\"
maxlength=\"64\"
value=\"";
// line 28
((array_key_exists("table", $context)) ? (print (twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true))) : (print ("")));
echo "\"
class=\"textfield\" autofocus required>
</td>
<td>
";
echo _gettext("Add");
// line 33
echo " <input type=\"number\"
id=\"added_fields\"
name=\"added_fields\"
size=\"2\"
value=\"1\"
min=\"1\"
onfocus=\"this.select()\">
";
echo _gettext("column(s)");
// line 41
echo " <input class=\"btn btn-secondary\" type=\"button\"
name=\"submit_num_fields\"
value=\"";
echo _gettext("Go");
// line 43
echo "\">
</td>
</tr>
</table>
</div>
";
}
// line 49
echo " ";
if (twig_test_iterable(($context["content_cells"] ?? null))) {
// line 50
echo " ";
$this->loadTemplate("columns_definitions/table_fields_definitions.twig", "columns_definitions/column_definitions_form.twig", 50)->display(twig_to_array(["is_backup" => // line 51
($context["is_backup"] ?? null), "fields_meta" => // line 52
($context["fields_meta"] ?? null), "relation_parameters" => // line 53
($context["relation_parameters"] ?? null), "content_cells" => // line 54
($context["content_cells"] ?? null), "change_column" => // line 55
($context["change_column"] ?? null), "is_virtual_columns_supported" => // line 56
($context["is_virtual_columns_supported"] ?? null), "server_version" => // line 57
($context["server_version"] ?? null), "browse_mime" => // line 58
($context["browse_mime"] ?? null), "supports_stored_keyword" => // line 59
($context["supports_stored_keyword"] ?? null), "max_rows" => // line 60
($context["max_rows"] ?? null), "char_editing" => // line 61
($context["char_editing"] ?? null), "attribute_types" => // line 62
($context["attribute_types"] ?? null), "privs_available" => // line 63
($context["privs_available"] ?? null), "max_length" => // line 64
($context["max_length"] ?? null), "charsets" => // line 65
($context["charsets"] ?? null)]));
// line 67
echo " ";
}
// line 68
echo " ";
if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) {
// line 69
echo " <div class=\"responsivetable\">
<table class=\"table table-borderless w-auto align-middle mb-0\">
<tr class=\"align-top\">
<th>";
echo _gettext("Table comments:");
// line 72
echo "</th>
<td width=\"25\">&nbsp;</td>
<th>";
echo _gettext("Collation:");
// line 74
echo "</th>
<td width=\"25\">&nbsp;</td>
<th>
";
echo _gettext("Storage Engine:");
// line 78
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("Storage_engines");
echo "
</th>
<td width=\"25\">&nbsp;</td>
<th id=\"storage-engine-connection\">
";
echo _gettext("Connection:");
// line 83
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("federated-create-connection");
echo "
</th>
</tr>
<tr>
<td>
<input type=\"text\"
name=\"comment\"
size=\"40\"
maxlength=\"60\"
value=\"";
// line 92
((array_key_exists("comment", $context)) ? (print (twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true))) : (print ("")));
echo "\"
class=\"textfield\">
</td>
<td width=\"25\">&nbsp;</td>
<td>
<select lang=\"en\" dir=\"ltr\" name=\"tbl_collation\">
<option value=\"\"></option>
";
// line 99
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 100
echo " <optgroup label=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 100), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 100), "html", null, true);
echo "\">
";
// line 101
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 101));
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
// line 102
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 102), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 102), "html", null, true);
echo "\"";
// line 103
echo (((twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 103) == ($context["tbl_collation"] ?? null))) ? (" selected") : (""));
echo ">";
// line 104
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 104), "html", null, true);
// line 105
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 107
echo " </optgroup>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 109
echo " </select>
</td>
<td width=\"25\">&nbsp;</td>
<td>
<select class=\"form-select\" name=\"tbl_storage_engine\" aria-label=\"";
echo _gettext("Storage engine");
// line 113
echo "\">
";
// line 114
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["engine"]) {
// line 115
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 115), "html", null, true);
echo "\"";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115))) {
echo " title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115), "html", null, true);
echo "\"";
}
// line 116
echo ((((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 116)) == twig_lower_filter($this->env, ($context["tbl_storage_engine"] ?? null))) || (twig_test_empty(($context["tbl_storage_engine"] ?? null)) && twig_get_attribute($this->env, $this->source, $context["engine"], "is_default", [], "any", false, false, false, 116)))) ? (" selected") : (""));
echo ">";
// line 117
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 117), "html", null, true);
// line 118
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engine'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 120
echo " </select>
</td>
<td width=\"25\">&nbsp;</td>
<td>
<input type=\"text\"
name=\"connection\"
size=\"40\"
value=\"";
// line 127
((array_key_exists("connection", $context)) ? (print (twig_escape_filter($this->env, ($context["connection"] ?? null), "html", null, true))) : (print ("")));
echo "\"
placeholder=\"scheme://user_name[:password]@host_name[:port_num]/db_name/tbl_name\"
class=\"textfield\"
required=\"required\">
</td>
</tr>
";
// line 133
if (($context["have_partitioning"] ?? null)) {
// line 134
echo " <tr class=\"align-top\">
<th colspan=\"5\">
";
echo _gettext("PARTITION definition:");
// line 137
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("Partitioning");
echo "
</th>
</tr>
<tr>
<td colspan=\"5\">
";
// line 142
$this->loadTemplate("columns_definitions/partitions.twig", "columns_definitions/column_definitions_form.twig", 142)->display(twig_to_array(["partition_details" => // line 143
($context["partition_details"] ?? null), "storage_engines" => // line 144
($context["storage_engines"] ?? null)]));
// line 146
echo " </td>
</tr>
";
}
// line 149
echo " </table>
</div>
";
}
// line 152
echo " <fieldset class=\"pma-fieldset tblFooters\">
";
// line 153
if (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/add-field")) || (($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/structure/save")))) {
// line 154
echo " <input type=\"checkbox\" name=\"online_transaction\" value=\"ONLINE_TRANSACTION_ENABLED\" />";
echo _pgettext("Online transaction part of the SQL DDL for InnoDB", "Online transaction");
echo PhpMyAdmin\Html\MySQLDocumentation::show("innodb-online-ddl");
echo "
";
}
// line 156
echo " <input class=\"btn btn-secondary preview_sql\" type=\"button\"
value=\"";
echo _gettext("Preview SQL");
// line 157
echo "\">
<input class=\"btn btn-primary\" type=\"submit\"
name=\"do_save_data\"
value=\"";
echo _gettext("Save");
// line 160
echo "\">
</fieldset>
<div id=\"properties_message\"></div>
";
// line 163
if (($context["is_integers_length_restricted"] ?? null)) {
// line 164
echo " <div class=\"alert alert-primary\" id=\"length_not_allowed\" role=\"alert\">
";
// line 165
echo PhpMyAdmin\Html\Generator::getImage("s_notice");
echo "
";
echo _gettext("The column width of integer types is ignored in your MySQL version unless defining a TINYINT(1) column");
// line 167
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("", false, "https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-19.html");
echo "
</div>
";
}
// line 170
echo "</form>
<div class=\"modal fade\" id=\"previewSqlModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"previewSqlModalLabel\">";
echo _gettext("Loading");
// line 175
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 176
echo "\"></button>
</div>
<div class=\"modal-body\">
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLCloseButton\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 181
echo "</button>
</div>
</div>
</div>
</div>
";
// line 188
echo twig_include($this->env, $context, "modals/enum_set_editor.twig");
echo "
";
}
public function getTemplateName()
{
return "columns_definitions/column_definitions_form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 394 => 188, 386 => 181, 378 => 176, 374 => 175, 366 => 170, 359 => 167, 354 => 165, 351 => 164, 349 => 163, 344 => 160, 338 => 157, 334 => 156, 327 => 154, 325 => 153, 322 => 152, 317 => 149, 312 => 146, 310 => 144, 309 => 143, 308 => 142, 299 => 137, 294 => 134, 292 => 133, 283 => 127, 274 => 120, 267 => 118, 265 => 117, 262 => 116, 253 => 115, 249 => 114, 246 => 113, 239 => 109, 232 => 107, 225 => 105, 223 => 104, 220 => 103, 214 => 102, 210 => 101, 203 => 100, 199 => 99, 189 => 92, 176 => 83, 167 => 78, 161 => 74, 156 => 72, 150 => 69, 147 => 68, 144 => 67, 142 => 65, 141 => 64, 140 => 63, 139 => 62, 138 => 61, 137 => 60, 136 => 59, 135 => 58, 134 => 57, 133 => 56, 132 => 55, 131 => 54, 130 => 53, 129 => 52, 128 => 51, 126 => 50, 123 => 49, 115 => 43, 110 => 41, 100 => 33, 92 => 28, 85 => 23, 79 => 20, 77 => 19, 72 => 17, 68 => 15, 64 => 13, 60 => 11, 56 => 9, 54 => 8, 52 => 7, 50 => 6, 46 => 4, 43 => 3, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/column_definitions_form.twig", "/home/dev/web/arif.off/public_html/pma/templates/columns_definitions/column_definitions_form.twig");
}
}

View File

@ -1,64 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/collation_definition.twig */
class __TwigTemplate_2b8edf629b48bbbc87c881203de908c9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<dfn title=\"";
echo twig_escape_filter($this->env, ($context["valueTitle"] ?? null), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true);
echo "</dfn>
";
}
public function getTemplateName()
{
return "database/structure/collation_definition.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/collation_definition.twig", "/home/arif/public_html/pma/templates/database/structure/collation_definition.twig");
}
}

View File

@ -1,764 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* display/results/table.twig */
class __TwigTemplate_cdc60be4ddf2537d64307d0873d5e20f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
ob_start(function () { return ''; });
// line 2
echo " ";
if ( !twig_test_empty(($context["navigation"] ?? null))) {
// line 3
echo " <table class=\"navigation d-print-none\">
<tr>
<td class=\"navigation_separator\"></td>
";
// line 7
echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "move_backward_buttons", [], "any", false, false, false, 7);
echo "
";
// line 8
echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "page_selector", [], "any", false, false, false, 8);
echo "
";
// line 9
echo twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "move_forward_buttons", [], "any", false, false, false, 9);
echo "
";
// line 11
if ((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "number_total_page", [], "any", false, false, false, 11) != 1)) {
// line 12
echo " <td><div class=\"navigation_separator\">|</div></td>
";
}
// line 14
echo "
";
// line 15
if (twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "has_show_all", [], "any", false, false, false, 15)) {
// line 16
echo " <td>
<form action=\"";
// line 17
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" method=\"post\">
";
// line 18
echo PhpMyAdmin\Url::getHiddenFields(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 18), ["session_max_rows" => twig_get_attribute($this->env, $this->source, // line 19
($context["navigation"] ?? null), "session_max_rows", [], "any", false, false, false, 19), "pos" => "0"]));
// line 21
echo "
<input type=\"checkbox\" name=\"navig\" id=\"showAll_";
// line 22
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" class=\"showAllRows\" value=\"all\"";
// line 23
echo ((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 23)) ? (" checked") : (""));
echo ">
<label for=\"showAll_";
// line 24
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Show all");
echo "</label>
</form>
</td>
<td><div class=\"navigation_separator\">|</div></td>
";
}
// line 29
echo "
<td>
<div class=\"save_edited hide\">
<input class=\"btn btn-link\" type=\"submit\" value=\"";
echo _gettext("Save edited data");
// line 32
echo "\">
<div class=\"navigation_separator\">|</div>
</div>
</td>
<td>
<div class=\"restore_column hide\">
<input class=\"btn btn-link\" type=\"submit\" value=\"";
echo _gettext("Restore column order");
// line 38
echo "\">
<div class=\"navigation_separator\">|</div>
</div>
</td>
<td class=\"navigation_goto\">
<form action=\"";
// line 43
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" method=\"post\" class=\"maxRowsForm\">
";
// line 44
echo PhpMyAdmin\Url::getHiddenFields(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "hidden_fields", [], "any", false, false, false, 44), ["pos" => twig_get_attribute($this->env, $this->source, // line 45
($context["navigation"] ?? null), "pos", [], "any", false, false, false, 45), "unlim_num_rows" => // line 46
($context["unlim_num_rows"] ?? null)]));
// line 47
echo "
<label for=\"sessionMaxRowsSelect\">";
echo _gettext("Number of rows:");
// line 49
echo "</label>
<select class=\"autosubmit\" name=\"session_max_rows\" id=\"sessionMaxRowsSelect\">
";
// line 51
if (twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "is_showing_all", [], "any", false, false, false, 51)) {
// line 52
echo " <option value=\"\" disabled selected>";
echo _gettext("All");
echo "</option>
";
}
// line 54
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable([0 => "25", 1 => "50", 2 => "100", 3 => "250", 4 => "500"]);
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 55
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "\"";
echo (((twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "max_rows", [], "any", false, false, false, 55) == $context["option"])) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 57
echo " </select>
</form>
</td>
<td class=\"navigation_separator\"></td>
<td class=\"largescreenonly\">
<span>";
echo _gettext("Filter rows");
// line 62
echo ":</span>
<input type=\"text\" class=\"filter_rows\" placeholder=\"";
echo _gettext("Search this table");
// line 64
echo "\" data-for=\"";
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">
</td>
<td class=\"largescreenonly\">
";
// line 67
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 67))) {
// line 68
echo " <form action=\"";
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" method=\"post\" class=\"d-print-none\">
";
// line 69
echo PhpMyAdmin\Url::getHiddenFields(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 69), "hidden_fields", [], "any", false, false, false, 69));
echo "
";
echo _gettext("Sort by key:");
// line 71
echo " <select name=\"sql_query\" class=\"autosubmit\">
";
// line 72
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["navigation"] ?? null), "sort_by_key", [], "any", false, false, false, 72), "options", [], "any", false, false, false, 72));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 73
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 73), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 73)) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "content", [], "any", false, false, false, 73), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 75
echo " </select>
</form>
";
}
// line 78
echo " </td>
<td class=\"navigation_separator\"></td>
</tr>
</table>
";
}
$context["navigation_html"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 84
echo "
";
// line 85
echo ($context["sql_query_message"] ?? null);
echo "
";
// line 87
echo twig_escape_filter($this->env, ($context["navigation_html"] ?? null), "html", null, true);
echo "
<input class=\"save_cells_at_once\" type=\"hidden\" value=\"";
// line 89
echo twig_escape_filter($this->env, ($context["save_cells_at_once"] ?? null), "html", null, true);
echo "\">
<div class=\"common_hidden_inputs\">
";
// line 91
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
</div>
";
// line 94
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 94))) {
// line 95
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 95), "order", [], "any", false, false, false, 95)) {
// line 96
echo " <input class=\"col_order\" type=\"hidden\" value=\"";
echo twig_escape_filter($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 96), "order", [], "any", false, false, false, 96), ","), "html", null, true);
echo "\">
";
}
// line 98
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 98), "visibility", [], "any", false, false, false, 98)) {
// line 99
echo " <input class=\"col_visib\" type=\"hidden\" value=\"";
echo twig_escape_filter($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 99), "visibility", [], "any", false, false, false, 99), ","), "html", null, true);
echo "\">
";
}
// line 101
echo " ";
if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 101), "is_view", [], "any", false, false, false, 101)) {
// line 102
echo " <input class=\"table_create_time\" type=\"hidden\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_order", [], "any", false, false, false, 102), "table_create_time", [], "any", false, false, false, 102), "html", null, true);
echo "\">
";
}
}
// line 105
echo "
";
// line 106
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 106))) {
// line 107
echo " <form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" name=\"displayOptionsForm\" class=\"ajax d-print-none\">
";
// line 108
echo PhpMyAdmin\Url::getHiddenInputs(["db" => // line 109
($context["db"] ?? null), "table" => // line 110
($context["table"] ?? null), "sql_query" => // line 111
($context["sql_query"] ?? null), "goto" => // line 112
($context["goto"] ?? null), "display_options_form" => 1]);
// line 114
echo "
";
// line 116
if ((($context["default_sliders_state"] ?? null) != "disabled")) {
// line 117
echo " <div class=\"mb-3\">
<button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#extraOptions\" aria-expanded=\"";
// line 118
echo (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false"));
echo "\" aria-controls=\"extraOptions\">
";
echo _gettext("Extra options");
// line 120
echo " </button>
</div>
<div class=\"collapse mb-3";
// line 122
echo (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : (""));
echo "\" id=\"extraOptions\">
";
}
// line 124
echo "
<fieldset class=\"pma-fieldset\">
<div class=\"formelement\">
<div>
<input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioP";
// line 128
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"P\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 128), "pftext", [], "any", false, false, false, 128) == "P")) ? (" checked") : (""));
echo ">
<label for=\"partialFulltextRadioP";
// line 129
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Partial texts");
echo "</label>
</div>
<div>
<input type=\"radio\" name=\"pftext\" id=\"partialFulltextRadioF";
// line 132
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"F\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 132), "pftext", [], "any", false, false, false, 132) == "F")) ? (" checked") : (""));
echo ">
<label for=\"partialFulltextRadioF";
// line 133
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Full texts");
echo "</label>
</div>
</div>
";
// line 137
if ((($context["relwork"] ?? null) && ($context["displaywork"] ?? null))) {
// line 138
echo " <div class=\"formelement\">
<div>
<input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioK";
// line 140
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"K\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 140), "relational_display", [], "any", false, false, false, 140) == "K")) ? (" checked") : (""));
echo ">
<label for=\"relationalDisplayRadioK";
// line 141
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Relational key");
echo "</label>
</div>
<div>
<input type=\"radio\" name=\"relational_display\" id=\"relationalDisplayRadioD";
// line 144
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"D\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 144), "relational_display", [], "any", false, false, false, 144) == "D")) ? (" checked") : (""));
echo ">
<label for=\"relationalDisplayRadioD";
// line 145
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Display column for relationships");
echo "</label>
</div>
</div>
";
}
// line 149
echo "
<div class=\"formelement\">
<input type=\"checkbox\" name=\"display_binary\" id=\"display_binary_";
// line 151
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\"";
// line 152
echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 152), "display_binary", [], "any", false, false, false, 152))) ? (" checked") : (""));
echo ">
<label for=\"display_binary_";
// line 153
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Show binary contents");
echo "</label>
<input type=\"checkbox\" name=\"display_blob\" id=\"display_blob_";
// line 155
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\"";
// line 156
echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 156), "display_blob", [], "any", false, false, false, 156))) ? (" checked") : (""));
echo ">
<label for=\"display_blob_";
// line 157
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Show BLOB contents");
echo "</label>
</div>
";
// line 164
echo " <div class=\"formelement\">
<input type=\"checkbox\" name=\"hide_transformation\" id=\"hide_transformation_";
// line 165
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\"";
// line 166
echo (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 166), "hide_transformation", [], "any", false, false, false, 166))) ? (" checked") : (""));
echo ">
<label for=\"hide_transformation_";
// line 167
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Hide browser transformation");
echo "</label>
</div>
<div class=\"formelement\">
";
// line 171
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 171), "possible_as_geometry", [], "any", false, false, false, 171)) {
// line 172
echo " <div>
<input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioGeom";
// line 173
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"GEOM\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 173), "geo_option", [], "any", false, false, false, 173) == "GEOM")) ? (" checked") : (""));
echo ">
<label for=\"geoOptionRadioGeom";
// line 174
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Geometry");
echo "</label>
</div>
";
}
// line 177
echo " <div>
<input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkt";
// line 178
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"WKT\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 178), "geo_option", [], "any", false, false, false, 178) == "WKT")) ? (" checked") : (""));
echo ">
<label for=\"geoOptionRadioWkt";
// line 179
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Well Known Text");
echo "</label>
</div>
<div>
<input type=\"radio\" name=\"geoOption\" id=\"geoOptionRadioWkb";
// line 182
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" value=\"WKB\"";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "options", [], "any", false, false, false, 182), "geo_option", [], "any", false, false, false, 182) == "WKB")) ? (" checked") : (""));
echo ">
<label for=\"geoOptionRadioWkb";
// line 183
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">";
echo _gettext("Well Known Binary");
echo "</label>
</div>
</div>
<div class=\"clearfloat\"></div>
</fieldset>
<fieldset class=\"pma-fieldset tblFooters\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Go");
// line 190
echo "\">
</fieldset>
";
// line 192
if ((($context["default_sliders_state"] ?? null) != "disabled")) {
// line 193
echo " </div>
";
}
// line 195
echo " </form>
";
}
// line 197
echo "
";
// line 198
if (twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "has_bulk_actions_form", [], "any", false, false, false, 198)) {
// line 199
echo " <form method=\"post\" name=\"resultsForm\" id=\"resultsForm_";
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\" class=\"ajax\">
";
// line 200
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null), 1);
echo "
<input type=\"hidden\" name=\"goto\" value=\"";
// line 201
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\">
";
}
// line 203
echo "
<div class=\"table-responsive-md\">
<table class=\"table table-striped table-hover table-sm table_results data ajax w-auto\" data-uniqueId=\"";
// line 205
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "\">
";
// line 207
echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "button", [], "any", false, false, false, 207);
echo "
";
// line 208
echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "table_headers_for_columns", [], "any", false, false, false, 208);
echo "
";
// line 209
echo twig_get_attribute($this->env, $this->source, ($context["headers"] ?? null), "column_at_right_side", [], "any", false, false, false, 209);
echo "
</tr>
</thead>
<tbody>
";
// line 215
echo ($context["body"] ?? null);
echo "
</tbody>
</table>
</div>
";
// line 220
if ( !twig_test_empty(($context["bulk_links"] ?? null))) {
// line 221
echo " <div class=\"d-print-none\">
<img class=\"selectallarrow\" src=\"";
// line 222
echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true);
echo "\" width=\"38\" height=\"22\" alt=\"";
echo _gettext("With selected:");
echo "\">
<input type=\"checkbox\" id=\"resultsForm_";
// line 223
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "_checkall\" class=\"checkall_box\" title=\"";
echo _gettext("Check all");
echo "\">
<label for=\"resultsForm_";
// line 224
echo twig_escape_filter($this->env, ($context["unique_id"] ?? null), "html", null, true);
echo "_checkall\">";
echo _gettext("Check all");
echo "</label>
<em class=\"with-selected\">";
echo _gettext("With selected:");
// line 225
echo "</em>
<button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"edit\" title=\"";
echo _gettext("Edit");
// line 227
echo "\">
";
// line 228
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit"));
echo "
</button>
<button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"copy\" title=\"";
echo _gettext("Copy");
// line 231
echo "\">
";
// line 232
echo PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy"));
echo "
</button>
<button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"delete\" title=\"";
echo _gettext("Delete");
// line 235
echo "\">
";
// line 236
echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Delete"));
echo "
</button>
";
// line 239
if (twig_get_attribute($this->env, $this->source, ($context["bulk_links"] ?? null), "has_export_button", [], "any", false, false, false, 239)) {
// line 240
echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"export\" title=\"";
echo _gettext("Export");
echo "\">
";
// line 241
echo PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export"));
echo "
</button>
";
}
// line 244
echo " </div>
<input type=\"hidden\" name=\"clause_is_unique\" value=\"";
// line 246
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["bulk_links"] ?? null), "clause_is_unique", [], "any", false, false, false, 246), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"sql_query\" value=\"";
// line 247
echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true);
echo "\">
</form>
";
}
// line 250
echo "
";
// line 251
echo twig_escape_filter($this->env, ($context["navigation_html"] ?? null), "html", null, true);
echo "
";
// line 253
if ( !twig_test_empty(($context["operations"] ?? null))) {
// line 254
echo " <fieldset class=\"pma-fieldset d-print-none\">
<legend>";
echo _gettext("Query results operations");
// line 255
echo "</legend>
";
// line 257
if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_print_link", [], "any", false, false, false, 257)) {
// line 258
echo " <button type=\"button\" class=\"btn btn-link jsPrintButton\">";
echo PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true);
echo "</button>
";
// line 260
echo PhpMyAdmin\Html\Generator::linkOrButton("#", null, PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Copy to clipboard"), true), ["id" => "copyToClipBoard", "class" => "btn"]);
// line 265
echo "
";
}
// line 267
echo "
";
// line 268
if ( !twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 268)) {
// line 269
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_export_link", [], "any", false, false, false, 269)) {
// line 270
echo " ";
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/export"), twig_get_attribute($this->env, $this->source, // line 272
($context["operations"] ?? null), "url_params", [], "any", false, false, false, 272), PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export"), true), ["class" => "btn"]);
// line 275
echo "
";
// line 277
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/chart"), twig_get_attribute($this->env, $this->source, // line 279
($context["operations"] ?? null), "url_params", [], "any", false, false, false, 279), PhpMyAdmin\Html\Generator::getIcon("b_chart", _gettext("Display chart"), true), ["class" => "btn"]);
// line 282
echo "
";
// line 284
if (twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_geometry", [], "any", false, false, false, 284)) {
// line 285
echo " ";
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/table/gis-visualization"), twig_get_attribute($this->env, $this->source, // line 287
($context["operations"] ?? null), "url_params", [], "any", false, false, false, 287), PhpMyAdmin\Html\Generator::getIcon("b_globe", _gettext("Visualize GIS data"), true), ["class" => "btn"]);
// line 290
echo "
";
}
// line 292
echo " ";
}
// line 293
echo "
<span>
";
// line 295
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 297
($context["db"] ?? null), "table" => ($context["table"] ?? null), "sql_query" => ($context["sql_query"] ?? null), "printview" => true], PhpMyAdmin\Html\Generator::getIcon("b_view_add", _gettext("Create view"), true), ["class" => "btn create_view ajax"]);
// line 300
echo "
</span>
";
}
// line 303
echo " </fieldset>
";
}
// line 305
if (( !twig_test_empty(($context["operations"] ?? null)) && !twig_get_attribute($this->env, $this->source, ($context["operations"] ?? null), "has_procedure", [], "any", false, false, false, 305))) {
// line 306
echo twig_include($this->env, $context, "modals/create_view.twig");
echo "
";
}
}
public function getTemplateName()
{
return "display/results/table.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 739 => 306, 737 => 305, 733 => 303, 728 => 300, 726 => 297, 725 => 295, 721 => 293, 718 => 292, 714 => 290, 712 => 287, 710 => 285, 708 => 284, 704 => 282, 702 => 279, 701 => 277, 697 => 275, 695 => 272, 693 => 270, 690 => 269, 688 => 268, 685 => 267, 681 => 265, 679 => 260, 673 => 258, 671 => 257, 667 => 255, 663 => 254, 661 => 253, 656 => 251, 653 => 250, 647 => 247, 643 => 246, 639 => 244, 633 => 241, 628 => 240, 626 => 239, 620 => 236, 617 => 235, 610 => 232, 607 => 231, 600 => 228, 597 => 227, 592 => 225, 585 => 224, 579 => 223, 573 => 222, 570 => 221, 568 => 220, 560 => 215, 551 => 209, 547 => 208, 543 => 207, 538 => 205, 534 => 203, 529 => 201, 525 => 200, 520 => 199, 518 => 198, 515 => 197, 511 => 195, 507 => 193, 505 => 192, 501 => 190, 488 => 183, 482 => 182, 474 => 179, 468 => 178, 465 => 177, 457 => 174, 451 => 173, 448 => 172, 446 => 171, 437 => 167, 433 => 166, 430 => 165, 427 => 164, 419 => 157, 415 => 156, 412 => 155, 405 => 153, 401 => 152, 398 => 151, 394 => 149, 385 => 145, 379 => 144, 371 => 141, 365 => 140, 361 => 138, 359 => 137, 350 => 133, 344 => 132, 336 => 129, 330 => 128, 324 => 124, 319 => 122, 315 => 120, 310 => 118, 307 => 117, 305 => 116, 301 => 114, 299 => 112, 298 => 111, 297 => 110, 296 => 109, 295 => 108, 290 => 107, 288 => 106, 285 => 105, 278 => 102, 275 => 101, 269 => 99, 266 => 98, 260 => 96, 257 => 95, 255 => 94, 249 => 91, 244 => 89, 239 => 87, 234 => 85, 231 => 84, 223 => 78, 218 => 75, 205 => 73, 201 => 72, 198 => 71, 193 => 69, 188 => 68, 186 => 67, 179 => 64, 175 => 62, 167 => 57, 154 => 55, 149 => 54, 143 => 52, 141 => 51, 137 => 49, 132 => 47, 130 => 46, 129 => 45, 128 => 44, 124 => 43, 117 => 38, 108 => 32, 102 => 29, 92 => 24, 88 => 23, 85 => 22, 82 => 21, 80 => 19, 79 => 18, 75 => 17, 72 => 16, 70 => 15, 67 => 14, 63 => 12, 61 => 11, 56 => 9, 52 => 8, 48 => 7, 42 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "display/results/table.twig", "/home/arif/public_html/pma/templates/display/results/table.twig");
}
}

View File

@ -1,809 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* columns_definitions/column_attributes.twig */
class __TwigTemplate_d6f2c643dbfa7492313578ac0308c248 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 2
$context["ci"] = 0;
// line 3
echo "
";
// line 6
$context["ci_offset"] = -1;
// line 7
echo "
<td class=\"text-center\">
";
// line 10
echo " ";
$this->loadTemplate("columns_definitions/column_name.twig", "columns_definitions/column_attributes.twig", 10)->display(twig_to_array(["column_number" => // line 11
($context["column_number"] ?? null), "ci" => // line 12
($context["ci"] ?? null), "ci_offset" => // line 13
($context["ci_offset"] ?? null), "column_meta" => // line 14
($context["column_meta"] ?? null), "has_central_columns_feature" => !(null === twig_get_attribute($this->env, $this->source, // line 15
($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 15)), "max_rows" => // line 16
($context["max_rows"] ?? null)]));
// line 18
echo " ";
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 19
echo "</td>
<td class=\"text-center\">
<select class=\"column_type\" name=\"field_type[";
// line 21
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\"";
// line 22
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "column_status", [], "array", true, true, false, 22) && !(($__internal_compile_0 = (($__internal_compile_1 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["column_status"] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["isEditable"] ?? null) : null))) ? (" disabled") : (""));
echo ">
";
// line 23
echo PhpMyAdmin\Util::getSupportedDatatypes(true, ($context["type_upper"] ?? null));
echo "
</select>
";
// line 25
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 26
echo "</td>
<td class=\"text-center\">
<input id=\"field_";
// line 28
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" type=\"text\" name=\"field_length[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" size=\"";
// line 29
echo twig_escape_filter($this->env, ($context["length_values_input_size"] ?? null), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, ($context["length"] ?? null), "html", null, true);
echo "\" class=\"textfield\">
<p class=\"enum_notice\" id=\"enum_notice_";
// line 30
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\">
<a href=\"#\" class=\"open_enum_editor\">";
echo _gettext("Edit ENUM/SET values");
// line 31
echo "</a>
</p>
";
// line 33
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 34
echo "</td>
<td class=\"text-center\">
<select name=\"field_default_type[";
// line 36
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" class=\"default_type\">
<option value=\"NONE\"";
// line 37
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 37) && ((($__internal_compile_2 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["DefaultType"] ?? null) : null) == "NONE"))) ? (" selected") : (""));
echo ">
";
echo _pgettext("for default", "None");
// line 39
echo " </option>
<option value=\"USER_DEFINED\"";
// line 40
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 40) && ((($__internal_compile_3 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["DefaultType"] ?? null) : null) == "USER_DEFINED"))) ? (" selected") : (""));
echo ">
";
echo _gettext("As defined:");
// line 42
echo " </option>
<option value=\"NULL\"";
// line 43
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 43) && ((($__internal_compile_4 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["DefaultType"] ?? null) : null) == "NULL"))) ? (" selected") : (""));
echo ">
NULL
</option>
<option value=\"CURRENT_TIMESTAMP\"";
// line 46
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 46) && ((($__internal_compile_5 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["DefaultType"] ?? null) : null) == "CURRENT_TIMESTAMP"))) ? (" selected") : (""));
echo ">
CURRENT_TIMESTAMP
</option>
";
// line 49
if (PhpMyAdmin\Util::isUUIDSupported()) {
// line 50
echo " <option value=\"UUID\"";
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "DefaultType", [], "array", true, true, false, 50) && ((($__internal_compile_6 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["DefaultType"] ?? null) : null) == "UUID"))) ? (" selected") : (""));
echo ">
UUID
</option>
";
}
// line 54
echo " </select>
";
// line 55
if ((($context["char_editing"] ?? null) == "textarea")) {
// line 56
echo " <textarea name=\"field_default_value[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" cols=\"15\" class=\"textfield default_value\">";
echo twig_escape_filter($this->env, ($context["default_value"] ?? null), "html", null, true);
echo "</textarea>
";
} else {
// line 58
echo " <input type=\"text\" name=\"field_default_value[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" size=\"12\" value=\"";
echo twig_escape_filter($this->env, ($context["default_value"] ?? null), "html", null, true);
echo "\" class=\"textfield default_value\">
";
}
// line 60
echo " ";
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 61
echo "</td>
<td class=\"text-center\">
";
// line 64
echo " <select lang=\"en\" dir=\"ltr\" name=\"field_collation[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\">
<option value=\"\"></option>
";
// line 66
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 67
echo " <optgroup label=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 67), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 67), "html", null, true);
echo "\">
";
// line 68
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 68));
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
// line 69
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 69), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 69), "html", null, true);
echo "\"";
// line 70
echo (((twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 70) == (($__internal_compile_7 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["Collation"] ?? null) : null))) ? (" selected") : (""));
echo ">";
// line 71
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 71), "html", null, true);
// line 72
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 74
echo " </optgroup>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 76
echo " </select>
";
// line 77
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 78
echo "</td>
<td class=\"text-center\">
";
// line 81
echo " ";
$this->loadTemplate("columns_definitions/column_attribute.twig", "columns_definitions/column_attributes.twig", 81)->display(twig_to_array(["column_number" => // line 82
($context["column_number"] ?? null), "ci" => // line 83
($context["ci"] ?? null), "ci_offset" => // line 84
($context["ci_offset"] ?? null), "column_meta" => // line 85
($context["column_meta"] ?? null), "extracted_columnspec" => // line 86
($context["extracted_columnspec"] ?? null), "submit_attribute" => // line 87
($context["submit_attribute"] ?? null), "attribute_types" => // line 88
($context["attribute_types"] ?? null)]));
// line 90
echo " ";
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 91
echo "</td>
<td class=\"text-center\">
<input name=\"field_null[";
// line 93
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" type=\"checkbox\" value=\"YES\" class=\"allow_null\"";
// line 94
echo (((( !twig_test_empty((($__internal_compile_8 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["Null"] ?? null) : null)) && ((($__internal_compile_9 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["Null"] ?? null) : null) != "NO")) && ((($__internal_compile_10 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["Null"] ?? null) : null) != "NOT NULL"))) ? (" checked") : (""));
echo ">
";
// line 95
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 96
echo "</td>
";
// line 97
if ((array_key_exists("change_column", $context) && !twig_test_empty(($context["change_column"] ?? null)))) {
// line 98
echo " ";
// line 99
echo " <td class=\"text-center\">
<input name=\"field_adjust_privileges[";
// line 100
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" type=\"checkbox\" value=\"NULL\" class=\"allow_null\"";
// line 101
if (($context["privs_available"] ?? null)) {
echo " checked>";
} else {
// line 102
echo " title=\"";
echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details");
echo "\" disabled>";
}
// line 104
echo " ";
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 105
echo " </td>
";
}
// line 107
if ( !($context["is_backup"] ?? null)) {
// line 108
echo " ";
// line 109
echo " <td class=\"text-center\">
<select name=\"field_key[";
// line 110
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" data-index=\"\">
<option value=\"none_";
// line 111
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "\">---</option>
<option value=\"primary_";
// line 112
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Primary");
echo "\"";
// line 113
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 113) && ((($__internal_compile_11 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Key"] ?? null) : null) == "PRI"))) ? (" selected") : (""));
echo ">
PRIMARY
</option>
<option value=\"unique_";
// line 116
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Unique");
echo "\"";
// line 117
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 117) && ((($__internal_compile_12 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["Key"] ?? null) : null) == "UNI"))) ? (" selected") : (""));
echo ">
UNIQUE
</option>
<option value=\"index_";
// line 120
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Index");
echo "\"";
// line 121
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 121) && ((($__internal_compile_13 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13["Key"] ?? null) : null) == "MUL"))) ? (" selected") : (""));
echo ">
INDEX
</option>
<option value=\"fulltext_";
// line 124
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Fulltext");
echo "\"";
// line 125
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 125) && ((($__internal_compile_14 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Key"] ?? null) : null) == "FULLTEXT"))) ? (" selected") : (""));
echo ">
FULLTEXT
</option>
<option value=\"spatial_";
// line 128
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Spatial");
echo "\"";
// line 129
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Key", [], "array", true, true, false, 129) && ((($__internal_compile_15 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Key"] ?? null) : null) == "SPATIAL"))) ? (" selected") : (""));
echo ">
SPATIAL
</option>
</select>
";
// line 133
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 134
echo " </td>
";
}
// line 136
echo "<td class=\"text-center\">
<input name=\"field_extra[";
// line 137
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" type=\"checkbox\" value=\"AUTO_INCREMENT\"";
// line 138
echo (((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 138) && (twig_lower_filter($this->env, (($__internal_compile_16 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["Extra"] ?? null) : null)) == "auto_increment"))) ? (" checked") : (""));
echo ">
";
// line 139
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 140
echo "</td>
<td class=\"text-center\">
<textarea id=\"field_";
// line 142
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" rows=\"1\" name=\"field_comments[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" maxlength=\"";
echo twig_escape_filter($this->env, ($context["max_length"] ?? null), "html", null, true);
echo "\">";
// line 143
((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 143) && twig_test_iterable(($context["comments_map"] ?? null))) && twig_get_attribute($this->env, $this->source, ($context["comments_map"] ?? null), (($__internal_compile_17 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Field"] ?? null) : null), [], "array", true, true, false, 143))) ? (print (twig_escape_filter($this->env, (($__internal_compile_18 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[(($__internal_compile_19 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["Field"] ?? null) : null)] ?? null) : null), "html", null, true))) : (print ("")));
// line 144
echo "</textarea>
";
// line 145
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 146
echo "</td>
";
// line 148
if (($context["is_virtual_columns_supported"] ?? null)) {
// line 149
echo " <td class=\"text-center\">
<select name=\"field_virtuality[";
// line 150
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" id=\"field_";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" class=\"virtuality\">
";
// line 151
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["options"] ?? null));
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
// line 152
echo " ";
$context["virtuality"] = ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 152)) ? ((($__internal_compile_20 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20["Extra"] ?? null) : null)) : (null));
// line 153
echo " ";
// line 154
echo " ";
$context["virtuality"] = ((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Virtuality", [], "array", true, true, false, 154)) ? ((($__internal_compile_21 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["Virtuality"] ?? null) : null)) : (($context["virtuality"] ?? null)));
// line 155
echo "
<option value=\"";
// line 156
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\"";
echo (((( !(null === ($context["virtuality"] ?? null)) && ($context["key"] != "")) && (twig_slice($this->env, ($context["virtuality"] ?? null), 0, twig_length_filter($this->env, $context["key"])) === $context["key"]))) ? (" selected") : (""));
echo ">
";
// line 157
echo twig_escape_filter($this->env, $context["value"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 160
echo " </select>
";
// line 162
if ((($context["char_editing"] ?? null) == "textarea")) {
// line 163
echo " <textarea name=\"field_expression[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" cols=\"15\" class=\"textfield expression\">";
((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Expression", [], "array", true, true, false, 163)) ? (print (twig_escape_filter($this->env, (($__internal_compile_22 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["Expression"] ?? null) : null), "html", null, true))) : (print ("")));
echo "</textarea>
";
} else {
// line 165
echo " <input type=\"text\" name=\"field_expression[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" size=\"12\" value=\"";
((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Expression", [], "array", true, true, false, 165)) ? (print (twig_escape_filter($this->env, (($__internal_compile_23 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["Expression"] ?? null) : null), "html", null, true))) : (print ("")));
echo "\" placeholder=\"";
echo _gettext("Expression");
echo "\" class=\"textfield expression\">
";
}
// line 167
echo " ";
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 168
echo " </td>
";
}
// line 171
if (array_key_exists("fields_meta", $context)) {
// line 172
echo " ";
$context["current_index"] = 0;
// line 173
echo " ";
$context["cols"] = (twig_length_filter($this->env, ($context["move_columns"] ?? null)) - 1);
// line 174
echo " ";
$context["break"] = false;
// line 175
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, ($context["cols"] ?? null)));
foreach ($context['_seq'] as $context["_key"] => $context["mi"]) {
// line 176
echo " ";
if (((twig_get_attribute($this->env, $this->source, (($__internal_compile_24 = ($context["move_columns"] ?? null)) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 176) == (($__internal_compile_25 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25["Field"] ?? null) : null)) && !($context["break"] ?? null))) {
// line 177
echo " ";
$context["current_index"] = $context["mi"];
// line 178
echo " ";
$context["break"] = true;
// line 179
echo " ";
}
// line 180
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mi'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 181
echo "
<td class=\"text-center\">
<select id=\"field_";
// line 183
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" name=\"field_move_to[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" size=\"1\" width=\"5em\">
<option value=\"\" selected=\"selected\">&nbsp;</option>
<option value=\"-first\"";
// line 185
echo (((($context["current_index"] ?? null) == 0)) ? (" disabled=\"disabled\"") : (""));
echo ">
";
echo _gettext("first");
// line 187
echo " </option>
";
// line 188
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, (twig_length_filter($this->env, ($context["move_columns"] ?? null)) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["mi"]) {
// line 189
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_26 = ($context["move_columns"] ?? null)) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 189), "html", null, true);
echo "\"";
// line 190
echo ((((($context["current_index"] ?? null) == $context["mi"]) || (($context["current_index"] ?? null) == ($context["mi"] + 1)))) ? (" disabled") : (""));
echo ">
";
// line 191
echo twig_escape_filter($this->env, twig_sprintf(_gettext("after %s"), PhpMyAdmin\Util::backquote(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_27 = ($context["move_columns"] ?? null)) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 191)))), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mi'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 194
echo " </select>
";
// line 195
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 196
echo " </td>
";
}
// line 198
echo "
";
// line 199
if ((( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 199)) && !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "columnCommentsFeature", [], "any", false, false, false, 199))) && ($context["browse_mime"] ?? null))) {
// line 200
echo " <td class=\"text-center\">
<select id=\"field_";
// line 201
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" size=\"1\" name=\"field_mimetype[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\">
<option value=\"\">&nbsp;</option>
";
// line 203
if ((twig_get_attribute($this->env, $this->source, ($context["available_mime"] ?? null), "mimetype", [], "array", true, true, false, 203) && twig_test_iterable((($__internal_compile_28 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["mimetype"] ?? null) : null)))) {
// line 204
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((($__internal_compile_29 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["mimetype"] ?? null) : null));
foreach ($context['_seq'] as $context["_key"] => $context["media_type"]) {
// line 205
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_replace_filter($context["media_type"], ["/" => "_"]), "html", null, true);
echo "\"";
// line 206
echo ((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 206) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_compile_30 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["Field"] ?? null) : null), [], "array", false, true, false, 206), "mimetype", [], "array", true, true, false, 206)) && ((($__internal_compile_31 = (($__internal_compile_32 = // line 207
($context["mime_map"] ?? null)) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32[(($__internal_compile_33 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_33) || $__internal_compile_33 instanceof ArrayAccess ? ($__internal_compile_33["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31["mimetype"] ?? null) : null) == twig_replace_filter($context["media_type"], ["/" => "_"])))) ? (" selected") : (""));
echo ">
";
// line 208
echo twig_escape_filter($this->env, twig_lower_filter($this->env, $context["media_type"]), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media_type'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 211
echo " ";
}
// line 212
echo " </select>
";
// line 213
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 214
echo " </td>
<td class=\"text-center\">
<select id=\"field_";
// line 216
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" size=\"1\" name=\"field_transformation[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\">
<option value=\"\" title=\"";
echo _gettext("None");
// line 217
echo "\"></option>
";
// line 218
if ((twig_get_attribute($this->env, $this->source, ($context["available_mime"] ?? null), "transformation", [], "array", true, true, false, 218) && twig_test_iterable((($__internal_compile_34 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["transformation"] ?? null) : null)))) {
// line 219
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((($__internal_compile_35 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_35) || $__internal_compile_35 instanceof ArrayAccess ? ($__internal_compile_35["transformation"] ?? null) : null));
foreach ($context['_seq'] as $context["mimekey"] => $context["transform"]) {
// line 220
echo " ";
$context["parts"] = twig_split_filter($this->env, $context["transform"], ":");
// line 221
echo " <option value=\"";
echo twig_escape_filter($this->env, (($__internal_compile_36 = (($__internal_compile_37 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_37) || $__internal_compile_37 instanceof ArrayAccess ? ($__internal_compile_37["transformation_file"] ?? null) : null)) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36[$context["mimekey"]] ?? null) : null), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->env->getFunction('get_description')->getCallable()((($__internal_compile_38 = (($__internal_compile_39 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_39) || $__internal_compile_39 instanceof ArrayAccess ? ($__internal_compile_39["transformation_file"] ?? null) : null)) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38[$context["mimekey"]] ?? null) : null)), "html", null, true);
echo "\"";
// line 222
echo (((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 222) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 223
($context["mime_map"] ?? null), (($__internal_compile_40 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["Field"] ?? null) : null), [], "array", false, true, false, 223), "transformation", [], "array", true, true, false, 223)) && !(null === (($__internal_compile_41 = (($__internal_compile_42 = // line 224
($context["mime_map"] ?? null)) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42[(($__internal_compile_43 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_43) || $__internal_compile_43 instanceof ArrayAccess ? ($__internal_compile_43["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["transformation"] ?? null) : null))) && twig_matches((("@" . (($__internal_compile_44 = (($__internal_compile_45 = // line 225
($context["available_mime"] ?? null)) && is_array($__internal_compile_45) || $__internal_compile_45 instanceof ArrayAccess ? ($__internal_compile_45["transformation_file_quoted"] ?? null) : null)) && is_array($__internal_compile_44) || $__internal_compile_44 instanceof ArrayAccess ? ($__internal_compile_44[$context["mimekey"]] ?? null) : null)) . "3?@i"), (($__internal_compile_46 = (($__internal_compile_47 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_47) || $__internal_compile_47 instanceof ArrayAccess ? ($__internal_compile_47[(($__internal_compile_48 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_48) || $__internal_compile_48 instanceof ArrayAccess ? ($__internal_compile_48["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_46) || $__internal_compile_46 instanceof ArrayAccess ? ($__internal_compile_46["transformation"] ?? null) : null)))) ? (" selected") : (""));
echo ">
";
// line 226
echo twig_escape_filter($this->env, ((((($this->env->getFunction('get_name')->getCallable()((($__internal_compile_49 = (($__internal_compile_50 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_50) || $__internal_compile_50 instanceof ArrayAccess ? ($__internal_compile_50["transformation_file"] ?? null) : null)) && is_array($__internal_compile_49) || $__internal_compile_49 instanceof ArrayAccess ? ($__internal_compile_49[$context["mimekey"]] ?? null) : null)) . " (") . twig_lower_filter($this->env, (($__internal_compile_51 = ($context["parts"] ?? null)) && is_array($__internal_compile_51) || $__internal_compile_51 instanceof ArrayAccess ? ($__internal_compile_51[0] ?? null) : null))) . ":") . (($__internal_compile_52 = ($context["parts"] ?? null)) && is_array($__internal_compile_52) || $__internal_compile_52 instanceof ArrayAccess ? ($__internal_compile_52[1] ?? null) : null)) . ")"), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['mimekey'], $context['transform'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 229
echo " ";
}
// line 230
echo " </select>
";
// line 231
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 232
echo " </td>
<td class=\"text-center\">
<input id=\"field_";
// line 234
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" type=\"text\" name=\"field_transformation_options[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" size=\"16\" class=\"textfield\" value=\"";
// line 235
(((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 235) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_compile_53 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_53) || $__internal_compile_53 instanceof ArrayAccess ? ($__internal_compile_53["Field"] ?? null) : null), [], "array", false, true, false, 235), "transformation_options", [], "array", true, true, false, 235))) ? (print (twig_escape_filter($this->env, (($__internal_compile_54 = (($__internal_compile_55 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_55) || $__internal_compile_55 instanceof ArrayAccess ? ($__internal_compile_55[(($__internal_compile_56 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_56) || $__internal_compile_56 instanceof ArrayAccess ? ($__internal_compile_56["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_54) || $__internal_compile_54 instanceof ArrayAccess ? ($__internal_compile_54["transformation_options"] ?? null) : null), "html", null, true))) : (print ("")));
echo "\">
";
// line 236
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 237
echo " </td>
<td class=\"text-center\">
<select id=\"field_";
// line 239
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" size=\"1\" name=\"field_input_transformation[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\">
<option value=\"\" title=\"";
echo _gettext("None");
// line 240
echo "\"></option>
";
// line 241
if ((twig_get_attribute($this->env, $this->source, ($context["available_mime"] ?? null), "input_transformation", [], "array", true, true, false, 241) && twig_test_iterable((($__internal_compile_57 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_57) || $__internal_compile_57 instanceof ArrayAccess ? ($__internal_compile_57["input_transformation"] ?? null) : null)))) {
// line 242
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((($__internal_compile_58 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_58) || $__internal_compile_58 instanceof ArrayAccess ? ($__internal_compile_58["input_transformation"] ?? null) : null));
foreach ($context['_seq'] as $context["mimekey"] => $context["transform"]) {
// line 243
echo " ";
$context["parts"] = twig_split_filter($this->env, $context["transform"], ":");
// line 244
echo " <option value=\"";
echo twig_escape_filter($this->env, (($__internal_compile_59 = (($__internal_compile_60 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_60) || $__internal_compile_60 instanceof ArrayAccess ? ($__internal_compile_60["input_transformation_file"] ?? null) : null)) && is_array($__internal_compile_59) || $__internal_compile_59 instanceof ArrayAccess ? ($__internal_compile_59[$context["mimekey"]] ?? null) : null), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->env->getFunction('get_description')->getCallable()((($__internal_compile_61 = (($__internal_compile_62 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_62) || $__internal_compile_62 instanceof ArrayAccess ? ($__internal_compile_62["input_transformation_file"] ?? null) : null)) && is_array($__internal_compile_61) || $__internal_compile_61 instanceof ArrayAccess ? ($__internal_compile_61[$context["mimekey"]] ?? null) : null)), "html", null, true);
echo "\"";
// line 245
echo ((((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 245) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_compile_63 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_63) || $__internal_compile_63 instanceof ArrayAccess ? ($__internal_compile_63["Field"] ?? null) : null), [], "array", false, true, false, 245), "input_transformation", [], "array", true, true, false, 245)) && twig_matches((("@" . (($__internal_compile_64 = (($__internal_compile_65 = // line 246
($context["available_mime"] ?? null)) && is_array($__internal_compile_65) || $__internal_compile_65 instanceof ArrayAccess ? ($__internal_compile_65["input_transformation_file_quoted"] ?? null) : null)) && is_array($__internal_compile_64) || $__internal_compile_64 instanceof ArrayAccess ? ($__internal_compile_64[$context["mimekey"]] ?? null) : null)) . "3?@i"), (($__internal_compile_66 = (($__internal_compile_67 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_67) || $__internal_compile_67 instanceof ArrayAccess ? ($__internal_compile_67[(($__internal_compile_68 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_68) || $__internal_compile_68 instanceof ArrayAccess ? ($__internal_compile_68["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_66) || $__internal_compile_66 instanceof ArrayAccess ? ($__internal_compile_66["input_transformation"] ?? null) : null)))) ? (" selected") : (""));
echo ">
";
// line 247
echo twig_escape_filter($this->env, ((((($this->env->getFunction('get_name')->getCallable()((($__internal_compile_69 = (($__internal_compile_70 = ($context["available_mime"] ?? null)) && is_array($__internal_compile_70) || $__internal_compile_70 instanceof ArrayAccess ? ($__internal_compile_70["input_transformation_file"] ?? null) : null)) && is_array($__internal_compile_69) || $__internal_compile_69 instanceof ArrayAccess ? ($__internal_compile_69[$context["mimekey"]] ?? null) : null)) . " (") . twig_lower_filter($this->env, (($__internal_compile_71 = ($context["parts"] ?? null)) && is_array($__internal_compile_71) || $__internal_compile_71 instanceof ArrayAccess ? ($__internal_compile_71[0] ?? null) : null))) . ":") . (($__internal_compile_72 = ($context["parts"] ?? null)) && is_array($__internal_compile_72) || $__internal_compile_72 instanceof ArrayAccess ? ($__internal_compile_72[1] ?? null) : null)) . ")"), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['mimekey'], $context['transform'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 250
echo " ";
}
// line 251
echo " </select>
";
// line 252
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 253
echo " </td>
<td class=\"text-center\">
<input id=\"field_";
// line 255
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\" type=\"text\" name=\"field_input_transformation_options[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\" size=\"16\" class=\"textfield\" value=\"";
// line 256
(((twig_get_attribute($this->env, $this->source, ($context["column_meta"] ?? null), "Field", [], "array", true, true, false, 256) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["mime_map"] ?? null), (($__internal_compile_73 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_73) || $__internal_compile_73 instanceof ArrayAccess ? ($__internal_compile_73["Field"] ?? null) : null), [], "array", false, true, false, 256), "input_transformation_options", [], "array", true, true, false, 256))) ? (print (twig_escape_filter($this->env, (($__internal_compile_74 = (($__internal_compile_75 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_75) || $__internal_compile_75 instanceof ArrayAccess ? ($__internal_compile_75[(($__internal_compile_76 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_76) || $__internal_compile_76 instanceof ArrayAccess ? ($__internal_compile_76["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_74) || $__internal_compile_74 instanceof ArrayAccess ? ($__internal_compile_74["input_transformation_options"] ?? null) : null), "html", null, true))) : (print ("")));
echo "\">
";
// line 257
$context["ci"] = (($context["ci"] ?? null) + 1);
// line 258
echo " </td>
";
}
}
public function getTemplateName()
{
return "columns_definitions/column_attributes.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 785 => 258, 783 => 257, 779 => 256, 772 => 255, 768 => 253, 766 => 252, 763 => 251, 760 => 250, 751 => 247, 747 => 246, 746 => 245, 740 => 244, 737 => 243, 732 => 242, 730 => 241, 727 => 240, 718 => 239, 714 => 237, 712 => 236, 708 => 235, 701 => 234, 697 => 232, 695 => 231, 692 => 230, 689 => 229, 680 => 226, 676 => 225, 675 => 224, 674 => 223, 673 => 222, 667 => 221, 664 => 220, 659 => 219, 657 => 218, 654 => 217, 645 => 216, 641 => 214, 639 => 213, 636 => 212, 633 => 211, 624 => 208, 620 => 207, 619 => 206, 615 => 205, 610 => 204, 608 => 203, 599 => 201, 596 => 200, 594 => 199, 591 => 198, 587 => 196, 585 => 195, 582 => 194, 573 => 191, 569 => 190, 565 => 189, 561 => 188, 558 => 187, 553 => 185, 544 => 183, 540 => 181, 534 => 180, 531 => 179, 528 => 178, 525 => 177, 522 => 176, 517 => 175, 514 => 174, 511 => 173, 508 => 172, 506 => 171, 502 => 168, 499 => 167, 489 => 165, 481 => 163, 479 => 162, 475 => 160, 466 => 157, 460 => 156, 457 => 155, 454 => 154, 452 => 153, 449 => 152, 445 => 151, 437 => 150, 434 => 149, 432 => 148, 429 => 146, 427 => 145, 424 => 144, 422 => 143, 413 => 142, 409 => 140, 407 => 139, 403 => 138, 396 => 137, 393 => 136, 389 => 134, 387 => 133, 380 => 129, 375 => 128, 369 => 125, 364 => 124, 358 => 121, 353 => 120, 347 => 117, 342 => 116, 336 => 113, 331 => 112, 327 => 111, 319 => 110, 316 => 109, 314 => 108, 312 => 107, 308 => 105, 305 => 104, 300 => 102, 296 => 101, 289 => 100, 286 => 99, 284 => 98, 282 => 97, 279 => 96, 277 => 95, 273 => 94, 266 => 93, 262 => 91, 259 => 90, 257 => 88, 256 => 87, 255 => 86, 254 => 85, 253 => 84, 252 => 83, 251 => 82, 249 => 81, 245 => 78, 243 => 77, 240 => 76, 233 => 74, 226 => 72, 224 => 71, 221 => 70, 215 => 69, 211 => 68, 204 => 67, 200 => 66, 190 => 64, 186 => 61, 183 => 60, 175 => 58, 167 => 56, 165 => 55, 162 => 54, 154 => 50, 152 => 49, 146 => 46, 140 => 43, 137 => 42, 132 => 40, 129 => 39, 124 => 37, 116 => 36, 112 => 34, 110 => 33, 106 => 31, 99 => 30, 93 => 29, 86 => 28, 82 => 26, 80 => 25, 75 => 23, 71 => 22, 64 => 21, 60 => 19, 57 => 18, 55 => 16, 54 => 15, 53 => 14, 52 => 13, 51 => 12, 50 => 11, 48 => 10, 44 => 7, 42 => 6, 39 => 3, 37 => 2,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/column_attributes.twig", "/home/arif/public_html/pma/templates/columns_definitions/column_attributes.twig");
}
}

View File

@ -1,294 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/body_for_table_summary.twig */
class __TwigTemplate_69284dda15b79fe31095f0c0f4e9f2db extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<tfoot id=\"tbl_summary_row\">
<tr>
<th class=\"d-print-none\"></th>
<th class=\"tbl_num text-nowrap\">
";
// line 5
ob_start(function () { return ''; });
echo _ngettext("%s table", "%s tables", abs( // line 6
($context["num_tables"] ?? null)));
$context["num_tables_trans"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 8
echo " ";
echo twig_escape_filter($this->env, twig_sprintf(($context["num_tables_trans"] ?? null), PhpMyAdmin\Util::formatNumber(($context["num_tables"] ?? null), 0)), "html", null, true);
echo "
</th>
";
// line 10
if (($context["server_replica_status"] ?? null)) {
// line 11
echo " <th>";
echo _gettext("Replication");
echo "</th>
";
}
// line 13
echo " ";
$context["sum_colspan"] = ((($context["db_is_system_schema"] ?? null)) ? (4) : (7));
// line 14
echo " ";
if ((($context["num_favorite_tables"] ?? null) == 0)) {
// line 15
echo " ";
$context["sum_colspan"] = (($context["sum_colspan"] ?? null) - 1);
// line 16
echo " ";
}
// line 17
echo " <th colspan=\"";
echo twig_escape_filter($this->env, ($context["sum_colspan"] ?? null), "html", null, true);
echo "\" class=\"d-print-none\">";
echo _gettext("Sum");
echo "</th>
";
// line 18
$context["row_count_sum"] = PhpMyAdmin\Util::formatNumber(($context["sum_entries"] ?? null), 0);
// line 19
echo " ";
// line 20
echo " ";
$context["row_sum_url"] = [];
// line 21
echo " ";
if (array_key_exists("approx_rows", $context)) {
// line 22
echo " ";
$context["row_sum_url"] = ["ajax_request" => true, "db" => // line 24
($context["db"] ?? null), "real_row_count_all" => "true"];
// line 27
echo " ";
}
// line 28
echo " ";
if (($context["approx_rows"] ?? null)) {
// line 29
echo " ";
ob_start(function () { return ''; });
// line 30
echo "<a href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ($context["row_sum_url"] ?? null));
echo "\" class=\"ajax row_count_sum\">~";
// line 31
echo twig_escape_filter($this->env, ($context["row_count_sum"] ?? null), "html", null, true);
// line 32
echo "</a>";
$context["cell_text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 34
echo " ";
} else {
// line 35
echo " ";
$context["cell_text"] = ($context["row_count_sum"] ?? null);
// line 36
echo " ";
}
// line 37
echo " <th class=\"value tbl_rows font-monospace text-end\">";
echo twig_escape_filter($this->env, ($context["cell_text"] ?? null), "html", null, true);
echo "</th>
";
// line 38
if ( !(($context["properties_num_columns"] ?? null) > 1)) {
// line 39
echo " ";
// line 40
echo " ";
$context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@storage_engine;"], "method", false, false, false, 40);
// line 41
echo " ";
if (twig_test_empty(($context["default_engine"] ?? null))) {
// line 42
echo " ";
// line 43
echo " ";
$context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@default_storage_engine;"], "method", false, false, false, 43);
// line 44
echo " ";
}
// line 45
echo " <th class=\"text-center\">
<dfn title=\"";
// line 46
echo twig_escape_filter($this->env, twig_sprintf(_gettext("%s is the default storage engine on this MySQL server."), ($context["default_engine"] ?? null)), "html", null, true);
echo "\">
";
// line 47
echo twig_escape_filter($this->env, ($context["default_engine"] ?? null), "html", null, true);
echo "
</dfn>
</th>
<th>
";
// line 51
if ( !twig_test_empty(($context["database_collation"] ?? null))) {
// line 52
echo " <dfn title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "description", [], "any", false, false, false, 52), "html", null, true);
echo " (";
echo _gettext("Default");
echo ")\">
";
// line 53
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "name", [], "any", false, false, false, 53), "html", null, true);
echo "
</dfn>
";
}
// line 56
echo " </th>
";
}
// line 58
echo "
";
// line 59
if (($context["is_show_stats"] ?? null)) {
// line 60
echo " ";
$context["sum"] = PhpMyAdmin\Util::formatByteDown(($context["sum_size"] ?? null), 3, 1);
// line 61
echo " ";
$context["sum_formatted"] = (($__internal_compile_0 = ($context["sum"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null);
// line 62
echo " ";
$context["sum_unit"] = (($__internal_compile_1 = ($context["sum"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null);
// line 63
echo " <th class=\"value tbl_size font-monospace text-end\">";
echo twig_escape_filter($this->env, ($context["sum_formatted"] ?? null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, ($context["sum_unit"] ?? null), "html", null, true);
echo "</th>
";
// line 65
$context["overhead"] = PhpMyAdmin\Util::formatByteDown(($context["overhead_size"] ?? null), 3, 1);
// line 66
echo " ";
$context["overhead_formatted"] = (($__internal_compile_2 = ($context["overhead"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null);
// line 67
echo " ";
$context["overhead_unit"] = (($__internal_compile_3 = ($context["overhead"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null);
// line 68
echo " <th class=\"value tbl_overhead font-monospace text-end\">";
echo twig_escape_filter($this->env, ($context["overhead_formatted"] ?? null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, ($context["overhead_unit"] ?? null), "html", null, true);
echo "</th>
";
}
// line 70
echo "
";
// line 71
if (($context["show_charset"] ?? null)) {
// line 72
echo " <th>";
echo twig_escape_filter($this->env, ($context["database_charset"] ?? null), "html", null, true);
echo "</th>
";
}
// line 74
echo " ";
if (($context["show_comment"] ?? null)) {
// line 75
echo " <th></th>
";
}
// line 77
echo " ";
if (($context["show_creation"] ?? null)) {
// line 78
echo " <th class=\"value tbl_creation font-monospace text-end\">
";
// line 79
echo twig_escape_filter($this->env, ($context["create_time_all"] ?? null), "html", null, true);
echo "
</th>
";
}
// line 82
echo " ";
if (($context["show_last_update"] ?? null)) {
// line 83
echo " <th class=\"value tbl_last_update font-monospace text-end\">
";
// line 84
echo twig_escape_filter($this->env, ($context["update_time_all"] ?? null), "html", null, true);
echo "
</th>
";
}
// line 87
echo " ";
if (($context["show_last_check"] ?? null)) {
// line 88
echo " <th class=\"value tbl_last_check font-monospace text-end\">
";
// line 89
echo twig_escape_filter($this->env, ($context["check_time_all"] ?? null), "html", null, true);
echo "
</th>
";
}
// line 92
echo "</tr>
</tfoot>
";
}
public function getTemplateName()
{
return "database/structure/body_for_table_summary.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 270 => 92, 264 => 89, 261 => 88, 258 => 87, 252 => 84, 249 => 83, 246 => 82, 240 => 79, 237 => 78, 234 => 77, 230 => 75, 227 => 74, 221 => 72, 219 => 71, 216 => 70, 208 => 68, 205 => 67, 202 => 66, 200 => 65, 192 => 63, 189 => 62, 186 => 61, 183 => 60, 181 => 59, 178 => 58, 174 => 56, 168 => 53, 161 => 52, 159 => 51, 152 => 47, 148 => 46, 145 => 45, 142 => 44, 139 => 43, 137 => 42, 134 => 41, 131 => 40, 129 => 39, 127 => 38, 122 => 37, 119 => 36, 116 => 35, 113 => 34, 110 => 32, 108 => 31, 104 => 30, 101 => 29, 98 => 28, 95 => 27, 93 => 24, 91 => 22, 88 => 21, 85 => 20, 83 => 19, 81 => 18, 74 => 17, 71 => 16, 68 => 15, 65 => 14, 62 => 13, 56 => 11, 54 => 10, 48 => 8, 45 => 6, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/body_for_table_summary.twig", "/home/dev/web/arif.off/public_html/pma/templates/database/structure/body_for_table_summary.twig");
}
}

View File

@ -1,820 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* server/databases/index.twig */
class __TwigTemplate_80ec96b8603fc8345269c4a81b00159a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"container-fluid my-3\">
<h2>
";
// line 3
echo PhpMyAdmin\Html\Generator::getIcon("s_db", ((($context["has_statistics"] ?? null)) ? (_gettext("Databases statistics")) : (_gettext("Databases"))));
echo "
</h2>
";
// line 6
if (($context["is_create_database_shown"] ?? null)) {
// line 7
echo " <div class=\"card\">
<div class=\"card-header\">
";
// line 9
echo PhpMyAdmin\Html\Generator::getIcon("b_newdb", _gettext("Create database"));
echo "
";
// line 10
echo PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_DATABASE");
echo "
</div>
<div class=\"card-body\">
";
// line 13
if (($context["has_create_database_privileges"] ?? null)) {
// line 14
echo " <form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/server/databases/create");
echo "\" id=\"create_database_form\" class=\"ajax row row-cols-md-auto g-3 align-items-center\">
";
// line 15
echo PhpMyAdmin\Url::getHiddenInputs("", "");
echo "
<input type=\"hidden\" name=\"reload\" value=\"1\">
";
// line 17
if (($context["has_statistics"] ?? null)) {
// line 18
echo " <input type=\"hidden\" name=\"statistics\" value=\"1\">
";
}
// line 20
echo "
<div class=\"col-12\">
<input type=\"text\" name=\"new_db\" maxlength=\"64\" class=\"form-control\" value=\"";
// line 23
echo twig_escape_filter($this->env, ($context["database_to_create"] ?? null), "html", null, true);
echo "\" id=\"text_create_db\" placeholder=\"";
echo _gettext("Database name");
// line 24
echo "\" aria-label=\"";
echo _gettext("Database name");
echo "\" required>
</div>
";
// line 27
if ( !twig_test_empty(($context["charsets"] ?? null))) {
// line 28
echo " <div class=\"col-12\">
<select lang=\"en\" dir=\"ltr\" name=\"db_collation\" class=\"form-select\" aria-label=\"";
echo _gettext("Collation");
// line 29
echo "\">
<option value=\"\">";
echo _gettext("Collation");
// line 30
echo "</option>
<option value=\"\"></option>
";
// line 32
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 33
echo " <optgroup label=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 33), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 33), "html", null, true);
echo "\">
";
// line 34
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 34));
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
// line 35
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 35), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 35), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 35)) ? (" selected") : (""));
echo ">";
// line 36
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 36), "html", null, true);
// line 37
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 39
echo " </optgroup>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 41
echo " </select>
</div>
";
}
// line 44
echo "
<div class=\"col-12\">
<input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Create");
// line 46
echo "\">
</div>
</form>
";
} else {
// line 50
echo " <span class=\"text-danger\">";
echo PhpMyAdmin\Html\Generator::getIcon("s_error", _gettext("No privileges to create databases"));
echo "</span>
";
}
// line 52
echo " </div>
</div>
";
}
// line 55
echo "
";
// line 56
if ((($context["database_count"] ?? null) > 0)) {
// line 57
echo " <div class=\"d-flex flex-wrap my-3\">
";
// line 58
if (($context["is_drop_allowed"] ?? null)) {
// line 59
echo " <div>
<div class=\"input-group\">
<div class=\"input-group-text\">
<div class=\"form-check mb-0\">
<input class=\"form-check-input checkall_box\" type=\"checkbox\" value=\"\" id=\"checkAllCheckbox\" form=\"dbStatsForm\">
<label class=\"form-check-label\" for=\"checkAllCheckbox\">";
echo _gettext("Check all");
// line 64
echo "</label>
</div>
</div>
<button class=\"btn btn-outline-secondary\" id=\"bulkActionDropButton\" type=\"submit\" name=\"submit_mult\" value=\"Drop\" form=\"dbStatsForm\" title=\"";
echo _gettext("Drop");
// line 67
echo "\">
";
// line 68
echo PhpMyAdmin\Html\Generator::getIcon("db_drop", _gettext("Drop"));
echo "
</button>
</div>
</div>
";
}
// line 73
echo "
<div class=\"ms-auto\">
<div class=\"input-group\">
<span class=\"input-group-text\">";
// line 76
echo PhpMyAdmin\Html\Generator::getImage("b_search", _gettext("Search"));
echo "</span>
<input class=\"form-control\" name=\"filterText\" type=\"text\" id=\"filterText\" value=\"\" placeholder=\"";
echo _gettext("Search");
// line 77
echo "\" aria-label=\"";
echo _gettext("Search");
echo "\">
</div>
</div>
</div>
";
// line 82
echo PhpMyAdmin\Html\Generator::getListNavigator( // line 83
($context["database_count"] ?? null), // line 84
($context["pos"] ?? null), // line 85
($context["url_params"] ?? null), PhpMyAdmin\Url::getFromRoute("/server/databases"), "frame_content", // line 88
($context["max_db_list"] ?? null));
// line 89
echo "
<form class=\"ajax\" action=\"";
// line 91
echo PhpMyAdmin\Url::getFromRoute("/server/databases");
echo "\" method=\"post\" name=\"dbStatsForm\" id=\"dbStatsForm\">
";
// line 92
echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null));
echo "
<div class=\"table-responsive\">
<table class=\"table table-striped table-hover w-auto\">
<thead>
<tr>
";
// line 97
if (($context["is_drop_allowed"] ?? null)) {
// line 98
echo " <th></th>
";
}
// line 100
echo " <th>
<a href=\"";
// line 101
echo PhpMyAdmin\Url::getFromRoute("/server/databases", twig_array_merge(($context["url_params"] ?? null), ["sort_by" => "SCHEMA_NAME", "sort_order" => ((((twig_get_attribute($this->env, $this->source, // line 103
($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 103) == "SCHEMA_NAME") && (twig_get_attribute($this->env, $this->source, // line 104
($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 104) == "asc"))) ? ("desc") : ("asc"))]));
// line 105
echo "\">
";
echo _gettext("Database");
// line 107
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 107) == "SCHEMA_NAME")) {
// line 108
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 108) == "asc")) {
// line 109
echo " ";
echo PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending"));
echo "
";
} else {
// line 111
echo " ";
echo PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending"));
echo "
";
}
// line 113
echo " ";
}
// line 114
echo " </a>
</th>
<th>
<a href=\"";
// line 118
echo PhpMyAdmin\Url::getFromRoute("/server/databases", twig_array_merge(($context["url_params"] ?? null), ["sort_by" => "DEFAULT_COLLATION_NAME", "sort_order" => ((((twig_get_attribute($this->env, $this->source, // line 120
($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 120) == "DEFAULT_COLLATION_NAME") && (twig_get_attribute($this->env, $this->source, // line 121
($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 121) == "asc"))) ? ("desc") : ("asc"))]));
// line 122
echo "\">
";
echo _gettext("Collation");
// line 124
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 124) == "DEFAULT_COLLATION_NAME")) {
// line 125
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 125) == "asc")) {
// line 126
echo " ";
echo PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending"));
echo "
";
} else {
// line 128
echo " ";
echo PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending"));
echo "
";
}
// line 130
echo " ";
}
// line 131
echo " </a>
</th>
";
// line 134
if (($context["has_statistics"] ?? null)) {
// line 135
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["header_statistics"] ?? null));
foreach ($context['_seq'] as $context["name"] => $context["statistic"]) {
// line 136
echo " <th";
echo (((twig_get_attribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 136) == "byte")) ? (" colspan=\"2\"") : (""));
echo ">
<a href=\"";
// line 137
echo PhpMyAdmin\Url::getFromRoute("/server/databases", twig_array_merge(($context["url_params"] ?? null), ["sort_by" => // line 138
$context["name"], "sort_order" => ((((twig_get_attribute($this->env, $this->source, // line 139
($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 139) == $context["name"]) && (twig_get_attribute($this->env, $this->source, // line 140
($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 140) == "asc"))) ? ("desc") : ("asc"))]));
// line 141
echo "\">
";
// line 142
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "title", [], "any", false, false, false, 142), "html", null, true);
echo "
";
// line 143
if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_by", [], "any", false, false, false, 143) == $context["name"])) {
// line 144
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["url_params"] ?? null), "sort_order", [], "any", false, false, false, 144) == "asc")) {
// line 145
echo " ";
echo PhpMyAdmin\Html\Generator::getImage("s_asc", _gettext("Ascending"));
echo "
";
} else {
// line 147
echo " ";
echo PhpMyAdmin\Html\Generator::getImage("s_desc", _gettext("Descending"));
echo "
";
}
// line 149
echo " ";
}
// line 150
echo " </a>
</th>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['name'], $context['statistic'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 153
echo " ";
}
// line 154
echo "
";
// line 155
if (($context["has_primary_replication"] ?? null)) {
// line 156
echo " <th>";
echo _gettext("Primary replication");
echo "</th>
";
}
// line 158
echo "
";
// line 159
if (($context["has_replica_replication"] ?? null)) {
// line 160
echo " <th>";
echo _gettext("Replica replication");
echo "</th>
";
}
// line 162
echo "
<th>";
echo _gettext("Action");
// line 163
echo "</th>
</tr>
</thead>
<tbody>
";
// line 168
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["databases"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["database"]) {
// line 169
echo " <tr class=\"db-row";
echo (((twig_get_attribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 169) || twig_get_attribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 169))) ? (" noclick") : (""));
echo "\" data-filter-row=\"";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 169)), "html", null, true);
echo "\">
";
// line 170
if (($context["is_drop_allowed"] ?? null)) {
// line 171
echo " <td class=\"tool\">
<input type=\"checkbox\" name=\"selected_dbs[]\" class=\"checkall\" title=\"";
// line 173
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 173), "html", null, true);
echo "\" value=\"";
// line 174
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 174), "html", null, true);
echo "\"";
// line 175
echo (((twig_get_attribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 175) || twig_get_attribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 175))) ? (" disabled") : (""));
echo ">
</td>
";
}
// line 178
echo "
<td class=\"name\">
<a href=\"";
// line 180
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "url", [], "any", false, false, false, 180), "html", null, true);
echo "\" title=\"";
// line 181
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Jump to database '%s'"), twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 181)), "html", null, true);
echo "\">
";
// line 182
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 182), "html", null, true);
echo "
</a>
</td>
<td class=\"value\">
<dfn title=\"";
// line 187
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 187), "description", [], "any", false, false, false, 187), "html", null, true);
echo "\">
";
// line 188
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 188), "name", [], "any", false, false, false, 188), "html", null, true);
echo "
</dfn>
</td>
";
// line 192
if (($context["has_statistics"] ?? null)) {
// line 193
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["database"], "statistics", [], "any", false, false, false, 193));
foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) {
// line 194
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 194) === "byte")) {
// line 195
echo " ";
$context["value"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 195), 3, 1);
// line 196
echo " <td class=\"value\">
<data value=\"";
// line 197
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 197), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 197), "html", null, true);
echo "\">
";
// line 198
echo twig_escape_filter($this->env, (($__internal_compile_0 = ($context["value"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true);
echo "
</data>
</td>
<td class=\"unit\">";
// line 201
echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["value"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true);
echo "</td>
";
} else {
// line 203
echo " <td class=\"value\">
<data value=\"";
// line 204
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 204), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 204), "html", null, true);
echo "\">
";
// line 205
echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 205), 0), "html", null, true);
echo "
</data>
</td>
";
}
// line 209
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 210
echo " ";
}
// line 211
echo "
";
// line 212
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 212), "primary", [], "any", false, false, false, 212), "status", [], "any", false, false, false, 212)) {
// line 213
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 213), "primary", [], "any", false, false, false, 213), "is_replicated", [], "any", false, false, false, 213)) {
// line 214
echo " <td class=\"tool text-center\">
";
// line 215
echo PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated"));
echo "
</td>
";
} else {
// line 218
echo " <td class=\"tool text-center\">
";
// line 219
echo PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated"));
echo "
</td>
";
}
// line 222
echo " ";
}
// line 223
echo "
";
// line 224
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 224), "replica", [], "any", false, false, false, 224), "status", [], "any", false, false, false, 224)) {
// line 225
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 225), "replica", [], "any", false, false, false, 225), "is_replicated", [], "any", false, false, false, 225)) {
// line 226
echo " <td class=\"tool text-center\">
";
// line 227
echo PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated"));
echo "
</td>
";
} else {
// line 230
echo " <td class=\"tool text-center\">
";
// line 231
echo PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated"));
echo "
</td>
";
}
// line 234
echo " ";
}
// line 235
echo "
<td class=\"tool\">
<a class=\"server_databases\" data=\"";
// line 238
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 238), "html", null, true);
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/server/privileges", ["db" => twig_get_attribute($this->env, $this->source, // line 239
$context["database"], "name", [], "any", false, false, false, 239), "checkprivsdb" => twig_get_attribute($this->env, $this->source, // line 240
$context["database"], "name", [], "any", false, false, false, 240)]);
// line 241
echo "\" title=\"";
// line 242
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Check privileges for database \"%s\"."), twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 242)), "html", null, true);
echo "\">
";
// line 243
echo PhpMyAdmin\Html\Generator::getIcon("s_rights", _gettext("Check privileges"));
echo "
</a>
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['database'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 248
echo " </tbody>
<tfoot>
<tr>
<th colspan=\"";
// line 252
echo ((($context["is_drop_allowed"] ?? null)) ? ("3") : ("2"));
echo "\">
";
echo _gettext("Total:");
// line 254
echo " <span id=\"filter-rows-count\">";
// line 255
echo twig_escape_filter($this->env, ($context["database_count"] ?? null), "html", null, true);
// line 256
echo "</span>
</th>
";
// line 259
if (($context["has_statistics"] ?? null)) {
// line 260
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["total_statistics"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) {
// line 261
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 261) === "byte")) {
// line 262
echo " ";
$context["value"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 262), 3, 1);
// line 263
echo " <th class=\"value\">
<data value=\"";
// line 264
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 264), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 264), "html", null, true);
echo "\">
";
// line 265
echo twig_escape_filter($this->env, (($__internal_compile_2 = ($context["value"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null), "html", null, true);
echo "
</data>
</th>
<th class=\"unit\">";
// line 268
echo twig_escape_filter($this->env, (($__internal_compile_3 = ($context["value"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null), "html", null, true);
echo "</th>
";
} else {
// line 270
echo " <th class=\"value\">
<data value=\"";
// line 271
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 271), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 271), "html", null, true);
echo "\">
";
// line 272
echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 272), 0), "html", null, true);
echo "
</data>
</th>
";
}
// line 276
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 277
echo " ";
}
// line 278
echo "
";
// line 279
if (($context["has_primary_replication"] ?? null)) {
// line 280
echo " <th></th>
";
}
// line 282
echo "
";
// line 283
if (($context["has_replica_replication"] ?? null)) {
// line 284
echo " <th></th>
";
}
// line 286
echo "
<th></th>
</tr>
</tfoot>
</table>
</div>
</form>
";
// line 294
if ( !($context["has_statistics"] ?? null)) {
// line 295
echo " <div class=\"card\">
<div class=\"card-body\">
<div class=\"alert alert-info\" role=\"alert\">
";
// line 298
echo PhpMyAdmin\Html\Generator::getIcon("s_notice", _gettext("Note: Enabling the database statistics here might cause heavy traffic between the web server and the MySQL server."));
echo "
</div>
<a class=\"card-link\" href=\"";
// line 300
echo PhpMyAdmin\Url::getFromRoute("/server/databases");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["statistics" => "1"], "", false);
echo "\" title=\"";
echo _gettext("Enable statistics");
echo "\">
";
echo _gettext("Enable statistics");
// line 302
echo " </a>
</div>
</div>
";
}
// line 306
echo " ";
} else {
// line 307
echo " <div class=\"alert alert-primary my-3\" role=\"alert\">
";
// line 308
echo PhpMyAdmin\Html\Generator::getIcon("s_notice", _gettext("No databases"));
echo "
</div>
";
}
// line 311
echo "</div>
";
// line 313
if (($context["is_drop_allowed"] ?? null)) {
// line 314
echo " <div class=\"modal fade\" id=\"dropDatabaseModal\" tabindex=\"-1\" aria-labelledby=\"dropDatabaseModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-scrollable\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"dropDatabaseModalLabel\">";
echo _gettext("Confirm");
// line 318
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Cancel");
// line 319
echo "\"></button>
</div>
<div class=\"modal-body\"></div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Cancel");
// line 323
echo "</button>
<button type=\"button\" class=\"btn btn-danger\" id=\"dropDatabaseModalDropButton\">";
echo _gettext("Drop");
// line 324
echo "</button>
</div>
</div>
</div>
</div>
";
}
}
public function getTemplateName()
{
return "server/databases/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 792 => 324, 788 => 323, 781 => 319, 777 => 318, 770 => 314, 768 => 313, 764 => 311, 758 => 308, 755 => 307, 752 => 306, 746 => 302, 737 => 300, 732 => 298, 727 => 295, 725 => 294, 715 => 286, 711 => 284, 709 => 283, 706 => 282, 702 => 280, 700 => 279, 697 => 278, 694 => 277, 688 => 276, 681 => 272, 675 => 271, 672 => 270, 667 => 268, 661 => 265, 655 => 264, 652 => 263, 649 => 262, 646 => 261, 641 => 260, 639 => 259, 634 => 256, 632 => 255, 630 => 254, 625 => 252, 619 => 248, 608 => 243, 604 => 242, 602 => 241, 600 => 240, 599 => 239, 596 => 238, 592 => 235, 589 => 234, 583 => 231, 580 => 230, 574 => 227, 571 => 226, 568 => 225, 566 => 224, 563 => 223, 560 => 222, 554 => 219, 551 => 218, 545 => 215, 542 => 214, 539 => 213, 537 => 212, 534 => 211, 531 => 210, 525 => 209, 518 => 205, 512 => 204, 509 => 203, 504 => 201, 498 => 198, 492 => 197, 489 => 196, 486 => 195, 483 => 194, 478 => 193, 476 => 192, 469 => 188, 465 => 187, 457 => 182, 453 => 181, 450 => 180, 446 => 178, 440 => 175, 437 => 174, 434 => 173, 431 => 171, 429 => 170, 422 => 169, 418 => 168, 411 => 163, 407 => 162, 401 => 160, 399 => 159, 396 => 158, 390 => 156, 388 => 155, 385 => 154, 382 => 153, 374 => 150, 371 => 149, 365 => 147, 359 => 145, 356 => 144, 354 => 143, 350 => 142, 347 => 141, 345 => 140, 344 => 139, 343 => 138, 342 => 137, 337 => 136, 332 => 135, 330 => 134, 325 => 131, 322 => 130, 316 => 128, 310 => 126, 307 => 125, 304 => 124, 300 => 122, 298 => 121, 297 => 120, 296 => 118, 290 => 114, 287 => 113, 281 => 111, 275 => 109, 272 => 108, 269 => 107, 265 => 105, 263 => 104, 262 => 103, 261 => 101, 258 => 100, 254 => 98, 252 => 97, 244 => 92, 240 => 91, 236 => 89, 234 => 88, 233 => 85, 232 => 84, 231 => 83, 230 => 82, 221 => 77, 216 => 76, 211 => 73, 203 => 68, 200 => 67, 194 => 64, 186 => 59, 184 => 58, 181 => 57, 179 => 56, 176 => 55, 171 => 52, 165 => 50, 159 => 46, 154 => 44, 149 => 41, 142 => 39, 135 => 37, 133 => 36, 125 => 35, 121 => 34, 114 => 33, 110 => 32, 106 => 30, 102 => 29, 98 => 28, 96 => 27, 89 => 24, 85 => 23, 81 => 20, 77 => 18, 75 => 17, 70 => 15, 65 => 14, 63 => 13, 57 => 10, 53 => 9, 49 => 7, 47 => 6, 41 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "server/databases/index.twig", "/home/dev/web/arif.off/public_html/pma/templates/server/databases/index.twig");
}
}

View File

@ -1,80 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* recent_favorite_table_recent.twig */
class __TwigTemplate_e4ef5868d9f89fb9d4e479cac5bf3759 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["tables"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["table"]) {
// line 2
echo "<li class=\"warp_link\">
<a href=\"";
// line 3
echo PhpMyAdmin\Url::getFromRoute("/table/recent-favorite", $context["table"]);
echo "\">
`";
// line 4
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "db", [], "any", false, false, false, 4), "html", null, true);
echo "`.`";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table"], "table", [], "any", false, false, false, 4), "html", null, true);
echo "`
</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['table'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "recent_favorite_table_recent.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 48 => 4, 44 => 3, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "recent_favorite_table_recent.twig", "/home/arif/public_html/pma/templates/recent_favorite_table_recent.twig");
}
}

View File

@ -1,476 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/structure/display_table_stats.twig */
class __TwigTemplate_6cf7e1de2a6177fba65b9dfc91ef27eb extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div id=\"tablestatistics\">
<fieldset class=\"pma-fieldset\">
<legend>";
echo _gettext("Information");
// line 3
echo "</legend>
";
// line 4
if ((($__internal_compile_0 = ($context["showtable"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_COMMENT"] ?? null) : null)) {
// line 5
echo " <p>
<strong>";
echo _gettext("Table comments:");
// line 6
echo "</strong>
";
// line 7
echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["showtable"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_COMMENT"] ?? null) : null), "html", null, true);
echo "
</p>
";
}
// line 10
echo " <a id=\"showusage\"></a>
";
// line 12
if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) {
// line 13
echo " <table class=\"table table-striped table-hover table-sm w-auto caption-top\">
<caption>";
echo _gettext("Space usage");
// line 14
echo "</caption>
<tbody>
<tr>
<th class=\"name\">";
echo _gettext("Data");
// line 17
echo "</th>
<td class=\"value\">";
// line 18
echo twig_escape_filter($this->env, ($context["data_size"] ?? null), "html", null, true);
echo "</td>
<td class=\"unit\">";
// line 19
echo twig_escape_filter($this->env, ($context["data_unit"] ?? null), "html", null, true);
echo "</td>
</tr>
";
// line 22
if (array_key_exists("index_size", $context)) {
// line 23
echo " <tr>
<th class=\"name\">";
echo _gettext("Index");
// line 24
echo "</th>
<td class=\"value\">";
// line 25
echo twig_escape_filter($this->env, ($context["index_size"] ?? null), "html", null, true);
echo "</td>
<td class=\"unit\">";
// line 26
echo twig_escape_filter($this->env, ($context["index_unit"] ?? null), "html", null, true);
echo "</td>
</tr>
";
}
// line 29
echo "
";
// line 30
if (array_key_exists("free_size", $context)) {
// line 31
echo " <tr>
<th class=\"name\">";
echo _gettext("Overhead");
// line 32
echo "</th>
<td class=\"value\">";
// line 33
echo twig_escape_filter($this->env, ($context["free_size"] ?? null), "html", null, true);
echo "</td>
<td class=\"unit\">";
// line 34
echo twig_escape_filter($this->env, ($context["free_unit"] ?? null), "html", null, true);
echo "</td>
</tr>
<tr>
<th class=\"name\">";
echo _gettext("Effective");
// line 37
echo "</th>
<td class=\"value\">";
// line 38
echo twig_escape_filter($this->env, ($context["effect_size"] ?? null), "html", null, true);
echo "</td>
<td class=\"unit\">";
// line 39
echo twig_escape_filter($this->env, ($context["effect_unit"] ?? null), "html", null, true);
echo "</td>
</tr>
";
}
// line 42
echo "
";
// line 43
if ((array_key_exists("tot_size", $context) && (($context["mergetable"] ?? null) == false))) {
// line 44
echo " <tr>
<th class=\"name\">";
echo _gettext("Total");
// line 45
echo "</th>
<td class=\"value\">";
// line 46
echo twig_escape_filter($this->env, ($context["tot_size"] ?? null), "html", null, true);
echo "</td>
<td class=\"unit\">";
// line 47
echo twig_escape_filter($this->env, ($context["tot_unit"] ?? null), "html", null, true);
echo "</td>
</tr>
";
}
// line 50
echo " </tbody>
";
// line 53
echo " ";
if (((array_key_exists("free_size", $context) && (((( // line 54
($context["tbl_storage_engine"] ?? null) == "MYISAM") || ( // line 55
($context["tbl_storage_engine"] ?? null) == "ARIA")) || ( // line 56
($context["tbl_storage_engine"] ?? null) == "MARIA")) || ( // line 57
($context["tbl_storage_engine"] ?? null) == "BDB"))) || (( // line 58
($context["tbl_storage_engine"] ?? null) == "INNODB") && (($context["innodb_file_per_table"] ?? null) == true)))) {
// line 59
echo " <tfoot>
<tr class=\"d-print-none\">
<th colspan=\"3\" class=\"center\">
<a href=\"";
// line 62
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 63
($context["db"] ?? null), "table" => // line 64
($context["table"] ?? null), "sql_query" => ("OPTIMIZE TABLE " . PhpMyAdmin\Util::backquote( // line 65
($context["table"] ?? null))), "pos" => 0]);
// line 67
echo "\">
";
// line 68
echo PhpMyAdmin\Html\Generator::getIcon("b_tbloptimize", _gettext("Optimize table"));
echo "
</a>
</th>
</tr>
</tfoot>
";
}
// line 74
echo " </table>
";
}
// line 76
echo "
";
// line 77
$context["avg_size"] = ((array_key_exists("avg_size", $context)) ? (($context["avg_size"] ?? null)) : (null));
// line 78
echo " ";
$context["avg_unit"] = ((array_key_exists("avg_unit", $context)) ? (($context["avg_unit"] ?? null)) : (null));
// line 79
echo " <table class=\"table table-striped table-hover table-sm w-auto caption-top\">
<caption>";
echo _gettext("Row statistics");
// line 80
echo "</caption>
<tbody>
";
// line 82
if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Row_format", [], "array", true, true, false, 82)) {
// line 83
echo " <tr>
<th class=\"name\">";
echo _gettext("Format");
// line 84
echo "</th>
";
// line 85
if (((($__internal_compile_2 = ($context["showtable"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["Row_format"] ?? null) : null) == "Fixed")) {
// line 86
echo " <td class=\"value\">";
echo _gettext("static");
echo "</td>
";
} elseif (((($__internal_compile_3 = // line 87
($context["showtable"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Row_format"] ?? null) : null) == "Dynamic")) {
// line 88
echo " <td class=\"value\">";
echo _gettext("dynamic");
echo "</td>
";
} else {
// line 90
echo " <td class=\"value\">";
echo twig_escape_filter($this->env, (($__internal_compile_4 = ($context["showtable"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["Row_format"] ?? null) : null), "html", null, true);
echo "</td>
";
}
// line 92
echo " </tr>
";
}
// line 94
echo "
";
// line 95
if ( !twig_test_empty((($__internal_compile_5 = ($context["showtable"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["Create_options"] ?? null) : null))) {
// line 96
echo " <tr>
<th class=\"name\">";
echo _gettext("Options");
// line 97
echo "</th>
";
// line 98
if (((($__internal_compile_6 = ($context["showtable"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["Create_options"] ?? null) : null) == "partitioned")) {
// line 99
echo " <td class=\"value\">";
echo _gettext("partitioned");
echo "</td>
";
} else {
// line 101
echo " <td class=\"value\">";
echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["showtable"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["Create_options"] ?? null) : null), "html", null, true);
echo "</td>
";
}
// line 103
echo " </tr>
";
}
// line 105
echo "
";
// line 106
if ( !twig_test_empty(($context["table_collation"] ?? null))) {
// line 107
echo " <tr>
<th class=\"name\">";
echo _gettext("Collation");
// line 108
echo "</th>
<td class=\"value\">
<dfn title=\"";
// line 110
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table_collation"] ?? null), "description", [], "any", false, false, false, 110), "html", null, true);
echo "\">
";
// line 111
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table_collation"] ?? null), "name", [], "any", false, false, false, 111), "html", null, true);
echo "
</dfn>
</td>
</tr>
";
}
// line 116
echo "
";
// line 117
if (( !($context["is_innodb"] ?? null) && twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Rows", [], "array", true, true, false, 117))) {
// line 118
echo " <tr>
<th class=\"name\">";
echo _gettext("Rows");
// line 119
echo "</th>
<td class=\"value\">";
// line 120
echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber((($__internal_compile_8 = ($context["showtable"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["Rows"] ?? null) : null), 0), "html", null, true);
echo "</td>
</tr>
";
}
// line 123
echo "
";
// line 124
if ((( !($context["is_innodb"] ?? null) && twig_get_attribute($this->env, $this->source, // line 125
($context["showtable"] ?? null), "Avg_row_length", [], "array", true, true, false, 125)) && ((($__internal_compile_9 = // line 126
($context["showtable"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["Avg_row_length"] ?? null) : null) > 0))) {
// line 127
echo " <tr>
<th class=\"name\">";
echo _gettext("Row length");
// line 128
echo "</th>
";
// line 129
$context["avg_row_length"] = PhpMyAdmin\Util::formatByteDown((($__internal_compile_10 = ($context["showtable"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["Avg_row_length"] ?? null) : null), 6, 1);
// line 130
echo " <td class=\"value\">";
echo twig_escape_filter($this->env, (($__internal_compile_11 = ($context["avg_row_length"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11[0] ?? null) : null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (($__internal_compile_12 = ($context["avg_row_length"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12[1] ?? null) : null), "html", null, true);
echo "</td>
</tr>
";
}
// line 133
echo "
";
// line 134
if ((((( !($context["is_innodb"] ?? null) && twig_get_attribute($this->env, $this->source, // line 135
($context["showtable"] ?? null), "Data_length", [], "array", true, true, false, 135)) && twig_get_attribute($this->env, $this->source, // line 136
($context["showtable"] ?? null), "Rows", [], "array", true, true, false, 136)) && ((($__internal_compile_13 = // line 137
($context["showtable"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13["Rows"] ?? null) : null) > 0)) && ( // line 138
($context["mergetable"] ?? null) == false))) {
// line 139
echo " <tr>
<th class=\"name\">";
echo _gettext("Row size");
// line 140
echo "</th>
<td class=\"value\">";
// line 141
echo twig_escape_filter($this->env, ($context["avg_size"] ?? null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, ($context["avg_unit"] ?? null), "html", null, true);
echo "</td>
</tr>
";
}
// line 144
echo "
";
// line 145
if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Auto_increment", [], "array", true, true, false, 145)) {
// line 146
echo " <tr>
<th class=\"name\">";
echo _gettext("Next autoindex");
// line 147
echo "</th>
<td class=\"value\">";
// line 148
echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber((($__internal_compile_14 = ($context["showtable"] ?? null)) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Auto_increment"] ?? null) : null), 0), "html", null, true);
echo "</td>
</tr>
";
}
// line 151
echo "
";
// line 152
if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Create_time", [], "array", true, true, false, 152)) {
// line 153
echo " <tr>
<th class=\"name\">";
echo _gettext("Creation");
// line 154
echo "</th>
<td class=\"value\">";
// line 155
echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, (($__internal_compile_15 = ($context["showtable"] ?? null)) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Create_time"] ?? null) : null), "U")), "html", null, true);
echo "</td>
</tr>
";
}
// line 158
echo "
";
// line 159
if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Update_time", [], "array", true, true, false, 159)) {
// line 160
echo " <tr>
<th class=\"name\">";
echo _gettext("Last update");
// line 161
echo "</th>
<td class=\"value\">";
// line 162
echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, (($__internal_compile_16 = ($context["showtable"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["Update_time"] ?? null) : null), "U")), "html", null, true);
echo "</td>
</tr>
";
}
// line 165
echo "
";
// line 166
if (twig_get_attribute($this->env, $this->source, ($context["showtable"] ?? null), "Check_time", [], "array", true, true, false, 166)) {
// line 167
echo " <tr>
<th class=\"name\">";
echo _gettext("Last check");
// line 168
echo "</th>
<td class=\"value\">";
// line 169
echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, (($__internal_compile_17 = ($context["showtable"] ?? null)) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Check_time"] ?? null) : null), "U")), "html", null, true);
echo "</td>
</tr>
";
}
// line 172
echo " </tbody>
</table>
</fieldset>
</div>
";
}
public function getTemplateName()
{
return "table/structure/display_table_stats.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 450 => 172, 444 => 169, 441 => 168, 437 => 167, 435 => 166, 432 => 165, 426 => 162, 423 => 161, 419 => 160, 417 => 159, 414 => 158, 408 => 155, 405 => 154, 401 => 153, 399 => 152, 396 => 151, 390 => 148, 387 => 147, 383 => 146, 381 => 145, 378 => 144, 370 => 141, 367 => 140, 363 => 139, 361 => 138, 360 => 137, 359 => 136, 358 => 135, 357 => 134, 354 => 133, 345 => 130, 343 => 129, 340 => 128, 336 => 127, 334 => 126, 333 => 125, 332 => 124, 329 => 123, 323 => 120, 320 => 119, 316 => 118, 314 => 117, 311 => 116, 303 => 111, 299 => 110, 295 => 108, 291 => 107, 289 => 106, 286 => 105, 282 => 103, 276 => 101, 270 => 99, 268 => 98, 265 => 97, 261 => 96, 259 => 95, 256 => 94, 252 => 92, 246 => 90, 240 => 88, 238 => 87, 233 => 86, 231 => 85, 228 => 84, 224 => 83, 222 => 82, 218 => 80, 214 => 79, 211 => 78, 209 => 77, 206 => 76, 202 => 74, 193 => 68, 190 => 67, 188 => 65, 187 => 64, 186 => 63, 183 => 62, 178 => 59, 176 => 58, 175 => 57, 174 => 56, 173 => 55, 172 => 54, 170 => 53, 166 => 50, 160 => 47, 156 => 46, 153 => 45, 149 => 44, 147 => 43, 144 => 42, 138 => 39, 134 => 38, 131 => 37, 124 => 34, 120 => 33, 117 => 32, 113 => 31, 111 => 30, 108 => 29, 102 => 26, 98 => 25, 95 => 24, 91 => 23, 89 => 22, 83 => 19, 79 => 18, 76 => 17, 70 => 14, 66 => 13, 64 => 12, 60 => 10, 54 => 7, 51 => 6, 47 => 5, 45 => 4, 42 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/structure/display_table_stats.twig", "/home/arif/public_html/pma/templates/table/structure/display_table_stats.twig");
}
}

View File

@ -1,77 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* recent_favorite_table_no_tables.twig */
class __TwigTemplate_d6ab9d7d337bc4979c96071d1b93ca99 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<li class=\"warp_link\">
";
// line 2
if (($context["is_recent"] ?? null)) {
// line 3
echo " ";
echo _gettext("There are no recent tables.");
// line 4
echo " ";
} else {
// line 5
echo " ";
echo _gettext("There are no favorite tables.");
// line 6
echo " ";
}
// line 7
echo "</li>
";
}
public function getTemplateName()
{
return "recent_favorite_table_no_tables.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 54 => 7, 51 => 6, 48 => 5, 45 => 4, 42 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "recent_favorite_table_no_tables.twig", "/home/arif/public_html/pma/templates/recent_favorite_table_no_tables.twig");
}
}

View File

@ -1,83 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/bulk_action_modal.twig */
class __TwigTemplate_78721392c04ff23ce9f05d811e38f708 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"modal fade\" id=\"bulkActionModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\"
tabindex=\"-1\" aria-labelledby=\"bulkActionLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"bulkActionLabel\"></h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Cancel");
// line 7
echo "\"></button>
</div>
<div class=\"modal-body\"></div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Cancel");
// line 11
echo "</button>
<button type=\"button\" class=\"btn btn-primary\" id=\"bulkActionContinue\">";
echo _gettext("Continue");
// line 12
echo "</button>
</div>
</div>
</div>
</div>";
}
public function getTemplateName()
{
return "database/structure/bulk_action_modal.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 57 => 12, 53 => 11, 46 => 7, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/bulk_action_modal.twig", "/home/dev/web/arif.off/public_html/pma/templates/database/structure/bulk_action_modal.twig");
}
}

View File

@ -1,232 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/check_all_tables.twig */
class __TwigTemplate_fe12d6ca19ecbcdb1f0476a89680f3d2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"clearfloat d-print-none\">
<img class=\"selectallarrow\" src=\"";
// line 2
echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true);
echo "\" width=\"38\" height=\"22\" alt=\"";
echo _gettext("With selected:");
echo "\">
<input type=\"checkbox\" id=\"tablesForm_checkall\" class=\"checkall_box\" title=\"";
echo _gettext("Check all");
// line 3
echo "\">
<label for=\"tablesForm_checkall\">";
echo _gettext("Check all");
// line 4
echo "</label>
";
// line 5
if ((($context["overhead_check"] ?? null) != "")) {
// line 6
echo " / <a href=\"#\" class=\"checkall-filter\" data-checkall-selector=\".tbl-overhead\">";
echo _gettext("Check tables having overhead");
echo "</a>
";
}
// line 8
echo " <select name=\"submit_mult\" style=\"margin: 0 3em 0 3em;\">
<option value=\"";
echo _gettext("With selected:");
// line 9
echo "\" selected=\"selected\">";
echo _gettext("With selected:");
echo "</option>
<option value=\"copy_tbl\">";
echo _gettext("Copy table");
// line 10
echo "</option>
<option value=\"show_create\">";
echo _gettext("Show create");
// line 11
echo "</option>
<option value=\"export\">";
echo _gettext("Export");
// line 12
echo "</option>
";
// line 13
if (( !($context["db_is_system_schema"] ?? null) && !($context["disable_multi_table"] ?? null))) {
// line 14
echo " <optgroup label=\"";
echo _gettext("Delete data or table");
echo "\">
<option value=\"empty_tbl\">";
echo _gettext("Empty");
// line 15
echo "</option>
<option value=\"drop_tbl\">";
echo _gettext("Drop");
// line 16
echo "</option>
</optgroup>
<optgroup label=\"";
echo _gettext("Table maintenance");
// line 18
echo "\">
<option value=\"analyze_tbl\">";
echo _gettext("Analyze table");
// line 19
echo "</option>
<option value=\"check_tbl\">";
echo _gettext("Check table");
// line 20
echo "</option>
<option value=\"checksum_tbl\">";
echo _gettext("Checksum table");
// line 21
echo "</option>
<option value=\"optimize_tbl\">";
echo _gettext("Optimize table");
// line 22
echo "</option>
<option value=\"repair_tbl\">";
echo _gettext("Repair table");
// line 23
echo "</option>
</optgroup>
<optgroup label=\"";
echo _gettext("Prefix");
// line 25
echo "\">
<option value=\"add_prefix_tbl\">";
echo _gettext("Add prefix to table");
// line 26
echo "</option>
<option value=\"replace_prefix_tbl\">";
echo _gettext("Replace table prefix");
// line 27
echo "</option>
<option value=\"copy_tbl_change_prefix\">";
echo _gettext("Copy table with prefix");
// line 28
echo "</option>
</optgroup>
";
}
// line 31
echo " ";
if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) {
// line 32
echo " <optgroup label=\"";
echo _gettext("Central columns");
echo "\">
<option value=\"sync_unique_columns_central_list\">";
echo _gettext("Add columns to central list");
// line 33
echo "</option>
<option value=\"delete_unique_columns_central_list\">";
echo _gettext("Remove columns from central list");
// line 34
echo "</option>
<option value=\"make_consistent_with_central_list\">";
echo _gettext("Make consistent with central list");
// line 35
echo "</option>
</optgroup>
";
}
// line 38
echo " </select>
";
// line 39
echo twig_join_filter(($context["hidden_fields"] ?? null), "
");
echo "
</div>
";
// line 42
if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) {
// line 43
echo " <div class=\"modal fade\" id=\"makeConsistentWithCentralListModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\"
tabindex=\"-1\" aria-labelledby=\"makeConsistentWithCentralListModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"makeConsistentWithCentralListModalLabel\">";
echo _gettext("Are you sure?");
// line 48
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Cancel");
// line 49
echo "\"></button>
</div>
<div class=\"modal-body\">
";
// line 52
echo PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("This action may change some of the columns definition.[br]Are you sure you want to continue?"));
echo "
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Cancel");
// line 55
echo "</button>
<button type=\"button\" class=\"btn btn-primary\" id=\"makeConsistentWithCentralListContinue\">";
echo _gettext("Continue");
// line 56
echo "</button>
</div>
</div>
</div>
</div>
";
}
}
public function getTemplateName()
{
return "database/structure/check_all_tables.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 204 => 56, 200 => 55, 193 => 52, 188 => 49, 184 => 48, 176 => 43, 174 => 42, 167 => 39, 164 => 38, 159 => 35, 155 => 34, 151 => 33, 145 => 32, 142 => 31, 137 => 28, 133 => 27, 129 => 26, 125 => 25, 120 => 23, 116 => 22, 112 => 21, 108 => 20, 104 => 19, 100 => 18, 95 => 16, 91 => 15, 85 => 14, 83 => 13, 80 => 12, 76 => 11, 72 => 10, 66 => 9, 62 => 8, 56 => 6, 54 => 5, 51 => 4, 47 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/check_all_tables.twig", "/home/dev/web/arif.off/public_html/pma/templates/database/structure/check_all_tables.twig");
}
}

View File

@ -1,86 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* modals/create_view.twig */
class __TwigTemplate_e9348ad558bc919a1a54e159defd81ed extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"modal fade\" id=\"createViewModal\" tabindex=\"-1\" aria-labelledby=\"createViewModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-lg\" id=\"createViewModalDialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"createViewModalLabel\">";
echo _gettext("Create view");
// line 5
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 6
echo "\"></button>
</div>
<div class=\"modal-body\"></div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" id=\"createViewModalGoButton\">";
echo _gettext("Go");
// line 10
echo "</button>
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 11
echo "</button>
</div>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "modals/create_view.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 59 => 11, 55 => 10, 48 => 6, 44 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "modals/create_view.twig", "/home/arif/public_html/pma/templates/modals/create_view.twig");
}
}

View File

@ -1,120 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* columns_definitions/column_attribute.twig */
class __TwigTemplate_5145b2efc254bde36d37001dbe5e8f76 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if ((array_key_exists("submit_attribute", $context) && (($context["submit_attribute"] ?? null) != false))) {
// line 2
echo " ";
$context["attribute"] = ($context["submit_attribute"] ?? null);
// line 3
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, // line 4
($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 4) && (twig_in_filter("on update current_timestamp", (($__internal_compile_0 = // line 5
($context["column_meta"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["Extra"] ?? null) : null)) || twig_in_filter("on update current_timestamp()", twig_lower_filter($this->env, (($__internal_compile_1 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Extra"] ?? null) : null)))))) {
// line 6
echo " ";
$context["attribute"] = "on update CURRENT_TIMESTAMP";
} elseif (twig_get_attribute($this->env, $this->source, // line 7
($context["extracted_columnspec"] ?? null), "attribute", [], "array", true, true, false, 7)) {
// line 8
echo " ";
$context["attribute"] = (($__internal_compile_2 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["attribute"] ?? null) : null);
} else {
// line 10
echo " ";
$context["attribute"] = "";
}
// line 12
$context["attribute"] = twig_upper_filter($this->env, ($context["attribute"] ?? null));
// line 13
echo "<select name=\"field_attribute[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\"
id=\"field_";
// line 14
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\">
";
// line 15
$context["cnt_attribute_types"] = (twig_length_filter($this->env, ($context["attribute_types"] ?? null)) - 1);
// line 16
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, ($context["cnt_attribute_types"] ?? null)));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 17
echo " <option value=\"";
echo twig_escape_filter($this->env, (($__internal_compile_3 = ($context["attribute_types"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[$context["i"]] ?? null) : null), "html", null, true);
echo "\"";
// line 18
echo (((($context["attribute"] ?? null) == twig_upper_filter($this->env, (($__internal_compile_4 = ($context["attribute_types"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[$context["i"]] ?? null) : null)))) ? (" selected=\"selected\"") : (""));
echo ">
";
// line 19
echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["attribute_types"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[$context["i"]] ?? null) : null), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo "</select>
";
}
public function getTemplateName()
{
return "columns_definitions/column_attribute.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 97 => 22, 88 => 19, 84 => 18, 80 => 17, 75 => 16, 73 => 15, 67 => 14, 62 => 13, 60 => 12, 56 => 10, 52 => 8, 50 => 7, 47 => 6, 45 => 5, 44 => 4, 42 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/column_attribute.twig", "/home/dev/web/arif.off/public_html/pma/templates/columns_definitions/column_attribute.twig");
}
}

View File

@ -1,90 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* modals/preview_sql_confirmation.twig */
class __TwigTemplate_0f3c9f52ff55cb8f2771c6618aebdee4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"modal fade\" id=\"previewSqlConfirmModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlConfirmModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"previewSqlConfirmModalLabel\">";
echo _gettext("Loading");
// line 5
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 6
echo "\"></button>
</div>
<div class=\"modal-body preview_sql\">
<code class=\"sql\">
<pre id=\"previewSqlConfirmCode\"></pre>
</code>
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLConfirmOkButton\">";
echo _gettext("OK");
// line 14
echo "</button>
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 15
echo "</button>
</div>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "modals/preview_sql_confirmation.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 63 => 15, 59 => 14, 48 => 6, 44 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "modals/preview_sql_confirmation.twig", "/home/arif/public_html/pma/templates/modals/preview_sql_confirmation.twig");
}
}

View File

@ -1,99 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* navigation/tree/fast_filter.twig */
class __TwigTemplate_97ea04322478a9530c92c295209ca9ce extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["url_params"] ?? null)) {
// line 2
echo " <li class=\"fast_filter";
if (($context["is_root_node"] ?? null)) {
echo " db_fast_filter";
}
echo "\">
<form class=\"ajax fast_filter\">
";
// line 4
echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null));
echo "
<div class=\"input-group\">
<input
class=\"searchClause form-control\"
type=\"text\"
name=\"";
// line 9
echo ((($context["is_root_node"] ?? null)) ? ("searchClause") : ("searchClause2"));
echo "\"
accesskey=\"q\"
aria-label=\"";
echo _gettext("Type to filter these, Enter to search all");
// line 11
echo "\"
placeholder=\"";
echo _gettext("Type to filter these, Enter to search all");
// line 12
echo "\"
>
<button
class=\"btn btn-outline-secondary searchClauseClear\"
type=\"button\" aria-label=\"";
echo _gettext("Clear fast filter");
// line 16
echo "\">X</button>
</div>
</form>
</li>
";
}
}
public function getTemplateName()
{
return "navigation/tree/fast_filter.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 72 => 16, 65 => 12, 61 => 11, 55 => 9, 47 => 4, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "navigation/tree/fast_filter.twig", "/home/arif/public_html/pma/templates/navigation/tree/fast_filter.twig");
}
}

View File

@ -1,279 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* navigation/tree/node.twig */
class __TwigTemplate_b9f68f4f66984ce7f7337b97daba0816 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["show_node"] ?? null)) {
// line 2
echo " <li class=\"";
echo twig_escape_filter($this->env, ($context["li_classes"] ?? null), "html", null, true);
echo "\">
<div class=\"block\">
<i";
// line 4
echo (((($context["class"] ?? null) == "first")) ? (" class=\"first\"") : (""));
echo "></i>
";
// line 5
if (($context["node_is_group"] ?? null)) {
// line 6
echo " ";
echo ((!twig_in_filter("last", ($context["class"] ?? null))) ? ("<b></b>") : (""));
echo "
<a class=\"";
// line 7
echo twig_escape_filter($this->env, ($context["link_classes"] ?? null), "html", null, true);
echo "\" href=\"#\">
<span class=\"hide paths_nav\" data-apath=\"";
// line 8
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["paths"] ?? null), "a_path", [], "any", false, false, false, 8), "html", null, true);
echo "\" data-vpath=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["paths"] ?? null), "v_path", [], "any", false, false, false, 8), "html", null, true);
echo "\" data-pos=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["paths"] ?? null), "pos", [], "any", false, false, false, 8), "html", null, true);
echo "\"></span>
";
// line 9
if ( !twig_test_empty(($context["pagination_params"] ?? null))) {
// line 10
echo " <span class=\"hide ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 10), "html", null, true);
echo "\" data-name=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 10), "html", null, true);
echo "\" data-value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 10), "html", null, true);
echo "\"></span>
";
}
// line 12
echo " ";
echo ($context["node_icon"] ?? null);
echo "
</a>
";
} elseif ( !twig_test_empty( // line 14
($context["pagination_params"] ?? null))) {
// line 15
echo " <span class=\"hide ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 15), "html", null, true);
echo "\" data-name=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 15), "html", null, true);
echo "\" data-value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 15), "html", null, true);
echo "\"></span>
";
}
// line 17
echo " </div>
";
// line 18
if (($context["node_is_container"] ?? null)) {
// line 19
echo " <div class=\"fst-italic\">
";
}
// line 21
echo "
";
// line 22
if (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "isGroup", [], "any", false, false, false, 22)) {
// line 23
echo " <div class=\"block second";
echo ((($context["has_second_icon"] ?? null)) ? (" double") : (""));
echo "\">
<u>";
// line 24
echo PhpMyAdmin\Html\Generator::getImage((($__internal_compile_0 = twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "icon", [], "any", false, false, false, 24)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["image"] ?? null) : null), (($__internal_compile_1 = twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "icon", [], "any", false, false, false, 24)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["title"] ?? null) : null));
echo "</u>
</div>
&nbsp;";
// line 26
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "name", [], "any", false, false, false, 26), "html", null, true);
echo "
";
} else {
// line 28
echo " <div class=\"block second";
echo ((($context["has_second_icon"] ?? null)) ? (" double") : (""));
echo "\">
";
// line 29
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["icon_links"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
// line 30
echo " <a href=\"";
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, $context["link"], "route", [], "any", false, false, false, 30), twig_get_attribute($this->env, $this->source, $context["link"], "params", [], "any", false, false, false, 30));
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["link"], "is_ajax", [], "any", false, false, false, 30)) ? (" class=\"ajax\"") : (""));
echo ">";
// line 31
echo PhpMyAdmin\Html\Generator::getImage(twig_get_attribute($this->env, $this->source, $context["link"], "image", [], "any", false, false, false, 31), twig_get_attribute($this->env, $this->source, $context["link"], "title", [], "any", false, false, false, 31));
// line 32
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 34
echo " </div>
";
// line 36
if (($context["node_is_container"] ?? null)) {
// line 37
echo " &nbsp;<a class=\"hover_show_full\" href=\"";
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 37), twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 37));
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "name", [], "any", false, false, false, 37), "html", null, true);
echo "</a>
";
} elseif (twig_in_filter("index", twig_get_attribute($this->env, $this->source, // line 38
($context["node"] ?? null), "classes", [], "any", false, false, false, 38))) {
// line 39
echo " <a class=\"hover_show_full\" href=\"";
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 39));
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(twig_array_merge(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 39), ["is_from_nav" => true]));
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "title", [], "any", false, false, false, 39), "html", null, true);
echo "\">";
// line 40
echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", true, true, false, 40) && !(null === twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 40)))) ? (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 40)) : (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "realName", [], "any", false, false, false, 40))), "html", null, true);
// line 41
echo "</a>
";
} else {
// line 43
echo " <a class=\"hover_show_full";
echo ((twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "is_ajax", [], "any", false, false, false, 43)) ? (" ajax") : (""));
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "route", [], "any", false, false, false, 43), twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "params", [], "any", false, false, false, 43));
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["text_link"] ?? null), "title", [], "any", false, false, false, 43), "html", null, true);
echo "\">";
// line 44
echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", true, true, false, 44) && !(null === twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 44)))) ? (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "displayName", [], "any", false, false, false, 44)) : (twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "realName", [], "any", false, false, false, 44))), "html", null, true);
// line 45
echo "</a>
";
}
// line 47
echo " ";
}
// line 48
echo "
";
// line 49
echo ($context["control_buttons"] ?? null);
echo "
";
// line 51
if (($context["node_is_container"] ?? null)) {
// line 52
echo " </div>
";
}
// line 54
echo "
<div class=\"clearfloat\"></div>
";
} elseif ( !twig_test_empty( // line 56
($context["pagination_params"] ?? null))) {
// line 57
echo " <span class=\"hide ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "position", [], "any", false, false, false, 57), "html", null, true);
echo "\" data-name=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_name", [], "any", false, false, false, 57), "html", null, true);
echo "\" data-value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["pagination_params"] ?? null), "data_value", [], "any", false, false, false, 57), "html", null, true);
echo "\"></span>
";
}
// line 59
echo "
";
// line 60
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 60)) && twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "has_wrapper", [], "any", false, false, false, 60))) {
// line 61
echo " <div class=\"list_container\"";
echo ((twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "is_hidden", [], "any", false, false, false, 61)) ? (" style=\"display: none;\"") : (""));
echo ">
<ul>
";
}
// line 64
echo twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 64);
echo "
";
// line 65
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "html", [], "any", false, false, false, 65)) && twig_get_attribute($this->env, $this->source, ($context["recursive"] ?? null), "has_wrapper", [], "any", false, false, false, 65))) {
// line 66
echo " </ul>
</div>
";
}
// line 69
echo "
";
// line 70
if (($context["has_siblings"] ?? null)) {
// line 71
echo " </li>
";
}
}
public function getTemplateName()
{
return "navigation/tree/node.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 255 => 71, 253 => 70, 250 => 69, 245 => 66, 243 => 65, 239 => 64, 232 => 61, 230 => 60, 227 => 59, 217 => 57, 215 => 56, 211 => 54, 207 => 52, 205 => 51, 200 => 49, 197 => 48, 194 => 47, 190 => 45, 188 => 44, 180 => 43, 176 => 41, 174 => 40, 166 => 39, 164 => 38, 157 => 37, 155 => 36, 151 => 34, 144 => 32, 142 => 31, 136 => 30, 132 => 29, 127 => 28, 122 => 26, 117 => 24, 112 => 23, 110 => 22, 107 => 21, 103 => 19, 101 => 18, 98 => 17, 88 => 15, 86 => 14, 80 => 12, 70 => 10, 68 => 9, 60 => 8, 56 => 7, 51 => 6, 49 => 5, 45 => 4, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "navigation/tree/node.twig", "/home/arif/public_html/pma/templates/navigation/tree/node.twig");
}
}

View File

@ -115,6 +115,6 @@ echo _gettext("Go back");
public function getSourceContext()
{
return new Source("", "modals/index_dialog_modal.twig", "/home/dev/web/arif.off/public_html/pma/templates/modals/index_dialog_modal.twig");
return new Source("", "modals/index_dialog_modal.twig", "/home/suvo/web/graffin.ns77.siliconpin.com/public_html/pma/templates/modals/index_dialog_modal.twig");
}
}

View File

@ -1,66 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* login/footer.twig */
class __TwigTemplate_49eaed508ca928e407195e34ed31dee5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "</div>
";
// line 2
if ((($context["check_timeout"] ?? null) == true)) {
// line 3
echo " </div>
";
}
}
public function getTemplateName()
{
return "login/footer.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 42 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "login/footer.twig", "/home/arif/public_html/pma/templates/login/footer.twig");
}
}

View File

@ -1,299 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* import/javascript.twig */
class __TwigTemplate_d2f69ca8592f3c0d5d81de73c4baf727 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "\$( function() {
";
// line 3
echo " \$(\"#buttonGo\").on(\"click\", function() {
";
// line 5
echo " \$(\"#upload_form_form\").css(\"display\", \"none\");
";
// line 7
if ((($context["handler"] ?? null) != "PhpMyAdmin\\Plugins\\Import\\Upload\\UploadNoplugin")) {
// line 8
echo " ";
// line 9
echo " ";
$context["ajax_url"] = (("index.php?route=/import-status&id=" . ($context["upload_id"] ?? null)) . PhpMyAdmin\Url::getCommonRaw(["import_status" => 1], "&"));
// line 12
echo " ";
$context["promot_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("The file being uploaded is probably larger than the maximum allowed size or this is a known bug in webkit based (Safari, Google Chrome, Arora etc.) browsers."), false);
// line 13
echo " ";
$context["statustext_str"] = PhpMyAdmin\Sanitize::escapeJsString(_gettext("%s of %s"));
// line 14
echo " ";
$context["second_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("%s/sec."), false);
// line 15
echo " ";
$context["remaining_min"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("About %MIN min. %SEC sec. remaining."), false);
// line 16
echo " ";
$context["remaining_second"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("About %SEC sec. remaining."), false);
// line 17
echo " ";
$context["processed_str"] = PhpMyAdmin\Sanitize::jsFormat(_gettext("The file is being processed, please be patient."), false);
// line 18
echo " ";
$context["import_url"] = PhpMyAdmin\Url::getCommonRaw(["import_status" => 1], "&");
// line 19
echo "
";
// line 20
ob_start(function () { return ''; });
// line 21
echo " <div class=\"upload_progress\">
<div class=\"upload_progress_bar_outer\">
<div class=\"percentage\"></div>
<div id=\"status\" class=\"upload_progress_bar_inner\">
<div class=\"percentage\"></div>
</div>
</div>
<div>
<img src=\"";
// line 29
echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true);
echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\"> ";
echo PhpMyAdmin\Sanitize::jsFormat(_gettext("Uploading your import file…"), false);
// line 30
echo "</div>
<div id=\"statustext\"></div>
</div>
";
$context["upload_html"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 34
echo "
";
// line 36
echo " var finished = false;
var percent = 0.0;
var total = 0;
var complete = 0;
var original_title = parent && parent.document ? parent.document.title : false;
var import_start;
var perform_upload = function () {
new \$.getJSON(
\"";
// line 45
echo ($context["ajax_url"] ?? null);
echo "\",
{},
function(response) {
finished = response.finished;
percent = response.percent;
total = response.total;
complete = response.complete;
if (total==0 && complete==0 && percent==0) {
\$(\"#upload_form_status_info\").html('<img src=\"";
// line 54
echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true);
echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\"> ";
echo ($context["promot_str"] ?? null);
echo "');
\$(\"#upload_form_status\").css(\"display\", \"none\");
} else {
var now = new Date();
now = Date.UTC(
now.getFullYear(),
now.getMonth(),
now.getDate(),
now.getHours(),
now.getMinutes(),
now.getSeconds())
+ now.getMilliseconds() - 1000;
var statustext = Functions.sprintf(
\"";
// line 67
echo ($context["statustext_str"] ?? null);
echo "\",
Functions.formatBytes(
complete, 1, Messages.strDecimalSeparator
),
Functions.formatBytes(
total, 1, Messages.strDecimalSeparator
)
);
if (\$(\"#importmain\").is(\":visible\")) {
";
// line 78
echo " \$(\"#importmain\").hide();
\$(\"#import_form_status\")
.html('";
// line 80
echo twig_spaceless(($context["upload_html"] ?? null));
echo "')
.show();
import_start = now;
}
else if (percent > 9 || complete > 2000000) {
";
// line 86
echo " var used_time = now - import_start;
var seconds = parseInt(((total - complete) / complete) * used_time / 1000);
var speed = Functions.sprintf(
\"";
// line 89
echo ($context["second_str"] ?? null);
echo "\",
Functions.formatBytes(complete / used_time * 1000, 1, Messages.strDecimalSeparator)
);
var minutes = parseInt(seconds / 60);
seconds %= 60;
var estimated_time;
if (minutes > 0) {
estimated_time = \"";
// line 97
echo ($context["remaining_min"] ?? null);
echo "\"
.replace(\"%MIN\", minutes)
.replace(\"%SEC\", seconds);
}
else {
estimated_time = \"";
// line 102
echo ($context["remaining_second"] ?? null);
echo "\"
.replace(\"%SEC\", seconds);
}
statustext += \"<br>\" + speed + \"<br><br>\" + estimated_time;
}
var percent_str = Math.round(percent) + \"%\";
\$(\"#status\").animate({width: percent_str}, 150);
\$(\".percentage\").text(percent_str);
";
// line 114
echo " if (original_title !== false) {
parent.document.title
= percent_str + \" - \" + original_title;
}
else {
document.title
= percent_str + \" - \" + original_title;
}
\$(\"#statustext\").html(statustext);
}
if (finished == true) {
if (original_title !== false) {
parent.document.title = original_title;
}
else {
document.title = original_title;
}
\$(\"#importmain\").hide();
";
// line 134
echo " \$(\"#import_form_status\")
.html('<img src=\"";
// line 135
echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true);
echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\"> ";
echo ($context["processed_str"] ?? null);
echo "')
.show();
\$(\"#import_form_status\").load(\"index.php?route=/import-status&message=true&";
// line 137
echo ($context["import_url"] ?? null);
echo "\");
Navigation.reload();
";
// line 141
echo " }
else {
setTimeout(perform_upload, 1000);
}
});
};
setTimeout(perform_upload, 1000);
";
} else {
// line 149
echo " ";
// line 150
echo " ";
ob_start(function () { return ''; });
// line 151
echo "<img src=\"";
echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true);
echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\">";
// line 152
echo PhpMyAdmin\Sanitize::jsFormat(_gettext("Please be patient, the file is being uploaded. Details about the upload are not available."), false);
// line 153
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq2-9");
$context["image_tag"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 155
echo " \$('#upload_form_status_info').html('";
echo ($context["image_tag"] ?? null);
echo "');
\$(\"#upload_form_status\").css(\"display\", \"none\");
";
}
// line 158
echo " });
});
";
}
public function getTemplateName()
{
return "import/javascript.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 275 => 158, 268 => 155, 265 => 153, 263 => 152, 259 => 151, 256 => 150, 254 => 149, 244 => 141, 238 => 137, 231 => 135, 228 => 134, 207 => 114, 193 => 102, 185 => 97, 174 => 89, 169 => 86, 161 => 80, 157 => 78, 144 => 67, 126 => 54, 114 => 45, 103 => 36, 100 => 34, 94 => 30, 90 => 29, 80 => 21, 78 => 20, 75 => 19, 72 => 18, 69 => 17, 66 => 16, 63 => 15, 60 => 14, 57 => 13, 54 => 12, 51 => 9, 49 => 8, 47 => 7, 43 => 5, 40 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "import/javascript.twig", "/home/arif/public_html/pma/templates/import/javascript.twig");
}
}

View File

@ -1,94 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/insert/get_head_and_foot_of_insert_row_table.twig */
class __TwigTemplate_b04689218f14b47a1bb35e38406beccf extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"table-responsive-lg\">
<table class=\"table table-striped align-middle my-3 insertRowTable w-auto\">
<thead>
<tr>
<th>";
echo _gettext("Column");
// line 5
echo "</th>
";
// line 6
echo ($context["type"] ?? null);
echo "
";
// line 7
echo ($context["function"] ?? null);
echo "
<th>";
echo _gettext("Null");
// line 8
echo "</th>
<th class=\"w-50\">";
echo _gettext("Value");
// line 9
echo "</th>
</tr>
</thead>
<tfoot>
<tr>
<th colspan=\"5\" class=\"tblFooters text-end\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Go");
// line 15
echo "\">
</th>
</tr>
</tfoot>";
}
public function getTemplateName()
{
return "table/insert/get_head_and_foot_of_insert_row_table.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 69 => 15, 60 => 9, 56 => 8, 51 => 7, 47 => 6, 44 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/insert/get_head_and_foot_of_insert_row_table.twig", "/home/arif/public_html/pma/templates/table/insert/get_head_and_foot_of_insert_row_table.twig");
}
}

View File

@ -1,65 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/insert/get_html_for_insert_edit_form_header.twig */
class __TwigTemplate_f86f7b236107c7e64a4d9d3b29051a25 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<form id=\"insertForm\" class=\"lock-page";
echo (((($context["has_blob_field"] ?? null) && ($context["is_upload"] ?? null))) ? (" disableAjax") : (""));
echo "\" method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/replace");
echo "\" name=\"insertForm\"";
echo ((($context["is_upload"] ?? null)) ? (" enctype=\"multipart/form-data\"") : (""));
echo ">";
}
public function getTemplateName()
{
return "table/insert/get_html_for_insert_edit_form_header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/insert/get_html_for_insert_edit_form_header.twig", "/home/arif/public_html/pma/templates/table/insert/get_html_for_insert_edit_form_header.twig");
}
}

View File

@ -1,287 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* columns_definitions/table_fields_definitions.twig */
class __TwigTemplate_f3d5c113b2e9f71a540f029dd74f7395 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"responsivetable\">
<table id=\"table_columns\" class=\"table table-striped caption-top align-middle mb-0 noclick\">
<caption class=\"tblHeaders\">
";
echo _gettext("Structure");
// line 5
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_TABLE");
echo "
</caption>
<tr>
<th>
";
echo _gettext("Name");
// line 10
echo " </th>
<th>
";
echo _gettext("Type");
// line 13
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("data-types");
echo "
</th>
<th>
";
echo _gettext("Length/Values");
// line 17
echo " ";
echo PhpMyAdmin\Html\Generator::showHint(_gettext("If column type is \"enum\" or \"set\", please enter the values using this format: 'a','b','c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b')."));
echo "
</th>
<th>
";
echo _gettext("Default");
// line 21
echo " ";
echo PhpMyAdmin\Html\Generator::showHint(_gettext("For default values, please enter just a single value, without backslash escaping or quotes, using this format: a"));
echo "
</th>
<th>
";
echo _gettext("Collation");
// line 25
echo " </th>
<th>
";
echo _gettext("Attributes");
// line 28
echo " </th>
<th>
";
echo _gettext("Null");
// line 31
echo " </th>
";
// line 34
echo " ";
if ((array_key_exists("change_column", $context) && !twig_test_empty(($context["change_column"] ?? null)))) {
// line 35
echo " <th>
";
echo _gettext("Adjust privileges");
// line 37
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39");
echo "
</th>
";
}
// line 40
echo "
";
// line 44
echo " ";
if ( !($context["is_backup"] ?? null)) {
// line 45
echo " <th>
";
echo _gettext("Index");
// line 47
echo " </th>
";
}
// line 49
echo "
<th>
<abbr title=\"AUTO_INCREMENT\">A_I</abbr>
</th>
<th>
";
echo _gettext("Comments");
// line 55
echo " </th>
";
// line 57
if (($context["is_virtual_columns_supported"] ?? null)) {
// line 58
echo " <th>
";
echo _gettext("Virtuality");
// line 60
echo " </th>
";
}
// line 62
echo "
";
// line 63
if (array_key_exists("fields_meta", $context)) {
// line 64
echo " <th>
";
echo _gettext("Move column");
// line 66
echo " </th>
";
}
// line 68
echo "
";
// line 69
if (( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 69)) && ($context["browse_mime"] ?? null))) {
// line 70
echo " <th>
";
echo _gettext("Media type");
// line 72
echo " </th>
<th>
<a href=\"";
// line 74
echo PhpMyAdmin\Url::getFromRoute("/transformation/overview");
echo "#transformation\" title=\"";
echo _gettext("List of available transformations and their options");
// line 76
echo "\" target=\"_blank\">
";
echo _gettext("Browser display transformation");
// line 78
echo " </a>
</th>
<th>
";
echo _gettext("Browser display transformation options");
// line 82
echo " ";
echo PhpMyAdmin\Html\Generator::showHint(_gettext("Please enter the values for transformation options using this format: 'a', 100, b,'c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b')."));
echo "
</th>
<th>
<a href=\"";
// line 85
echo PhpMyAdmin\Url::getFromRoute("/transformation/overview");
echo "#input_transformation\"
title=\"";
echo _gettext("List of available transformations and their options");
// line 86
echo "\"
target=\"_blank\">
";
echo _gettext("Input transformation");
// line 89
echo " </a>
</th>
<th>
";
echo _gettext("Input transformation options");
// line 93
echo " ";
echo PhpMyAdmin\Html\Generator::showHint(_gettext("Please enter the values for transformation options using this format: 'a', 100, b,'c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b')."));
echo "
</th>
";
}
// line 96
echo " </tr>
";
// line 97
$context["options"] = ["" => "", "VIRTUAL" => "VIRTUAL"];
// line 98
echo " ";
if (($context["supports_stored_keyword"] ?? null)) {
// line 99
echo " ";
$context["options"] = twig_array_merge(($context["options"] ?? null), ["STORED" => "STORED"]);
// line 100
echo " ";
} else {
// line 101
echo " ";
$context["options"] = twig_array_merge(($context["options"] ?? null), ["PERSISTENT" => "PERSISTENT"]);
// line 102
echo " ";
}
// line 103
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["content_cells"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["content_row"]) {
// line 104
echo " <tr>
";
// line 105
$this->loadTemplate("columns_definitions/column_attributes.twig", "columns_definitions/table_fields_definitions.twig", 105)->display(twig_to_array(twig_array_merge($context["content_row"], ["options" => // line 106
($context["options"] ?? null), "change_column" => // line 107
($context["change_column"] ?? null), "is_virtual_columns_supported" => // line 108
($context["is_virtual_columns_supported"] ?? null), "browse_mime" => // line 109
($context["browse_mime"] ?? null), "max_rows" => // line 110
($context["max_rows"] ?? null), "char_editing" => // line 111
($context["char_editing"] ?? null), "attribute_types" => // line 112
($context["attribute_types"] ?? null), "privs_available" => // line 113
($context["privs_available"] ?? null), "max_length" => // line 114
($context["max_length"] ?? null), "charsets" => // line 115
($context["charsets"] ?? null), "relation_parameters" => // line 116
($context["relation_parameters"] ?? null)])));
// line 118
echo " </tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content_row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 120
echo "</table>
</div>
";
}
public function getTemplateName()
{
return "columns_definitions/table_fields_definitions.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 263 => 120, 256 => 118, 254 => 116, 253 => 115, 252 => 114, 251 => 113, 250 => 112, 249 => 111, 248 => 110, 247 => 109, 246 => 108, 245 => 107, 244 => 106, 243 => 105, 240 => 104, 235 => 103, 232 => 102, 229 => 101, 226 => 100, 223 => 99, 220 => 98, 218 => 97, 215 => 96, 208 => 93, 202 => 89, 197 => 86, 192 => 85, 185 => 82, 179 => 78, 175 => 76, 171 => 74, 167 => 72, 163 => 70, 161 => 69, 158 => 68, 154 => 66, 150 => 64, 148 => 63, 145 => 62, 141 => 60, 137 => 58, 135 => 57, 131 => 55, 123 => 49, 119 => 47, 115 => 45, 112 => 44, 109 => 40, 102 => 37, 98 => 35, 95 => 34, 91 => 31, 86 => 28, 81 => 25, 73 => 21, 65 => 17, 57 => 13, 52 => 10, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/table_fields_definitions.twig", "/home/arif/public_html/pma/templates/columns_definitions/table_fields_definitions.twig");
}
}

View File

@ -1,358 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* login/form.twig */
class __TwigTemplate_b920fdaa738dc05740153014bb931fb5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo ($context["login_header"] ?? null);
echo "
";
// line 3
if (($context["is_demo"] ?? null)) {
// line 4
echo " <div class=\"card mb-4\">
<div class=\"card-header\">";
echo _gettext("phpMyAdmin Demo Server");
// line 5
echo "</div>
<div class=\"card-body\">
";
// line 7
ob_start(function () { return ''; });
// line 8
echo " ";
echo _gettext("You are using the demo server. You can do anything here, but please do not change root, debian-sys-maint and pma users. More information is available at %s.");
// line 11
echo " ";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 7
echo twig_sprintf($___internal_parse_0_, "<a href=\"url.php?url=https://demo.phpmyadmin.net/\" target=\"_blank\" rel=\"noopener noreferrer\">demo.phpmyadmin.net</a>");
// line 12
echo " </div>
</div>
";
}
// line 15
echo "
";
// line 16
echo ($context["error_messages"] ?? null);
echo "
";
// line 18
if ( !twig_test_empty(($context["available_languages"] ?? null))) {
// line 19
echo " <div class='hide js-show'>
<div class=\"card mb-4\">
<div class=\"card-header\">
<span id=\"languageSelectLabel\">
";
echo _gettext("Language");
// line 24
echo " ";
if ((_gettext("Language") != "Language")) {
// line 25
echo " ";
// line 27
echo " <i lang=\"en\" dir=\"ltr\">(Language)</i>
";
}
// line 29
echo " </span>
</div>
<div class=\"card-body\">
<form method=\"get\" action=\"";
// line 32
echo PhpMyAdmin\Url::getFromRoute("/");
echo "\" class=\"disableAjax\">
";
// line 33
echo PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null));
echo "
<select name=\"lang\" class=\"form-select autosubmit\" lang=\"en\" dir=\"ltr\" id=\"languageSelect\" aria-labelledby=\"languageSelectLabel\">
";
// line 35
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["available_languages"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
// line 36
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["language"], "getCode", [], "method", false, false, false, 36)), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["language"], "isActive", [], "method", false, false, false, 36)) ? (" selected") : (""));
echo ">";
// line 37
echo twig_get_attribute($this->env, $this->source, $context["language"], "getName", [], "method", false, false, false, 37);
// line 38
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 40
echo " </select>
</form>
</div>
</div>
</div>
";
}
// line 46
echo "
<form method=\"post\" id=\"login_form\" action=\"index.php?route=/\" name=\"login_form\" class=\"";
// line 48
echo (( !($context["is_session_expired"] ?? null)) ? ("disableAjax hide ") : (""));
echo "js-show\"";
echo (( !($context["has_autocomplete"] ?? null)) ? (" autocomplete=\"off\"") : (""));
echo ">
";
// line 50
echo " ";
echo PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null), "", 0, "server");
echo "
<input type=\"hidden\" name=\"set_session\" value=\"";
// line 51
echo twig_escape_filter($this->env, ($context["session_id"] ?? null), "html", null, true);
echo "\">
";
// line 52
if (($context["is_session_expired"] ?? null)) {
// line 53
echo " <input type=\"hidden\" name=\"session_timedout\" value=\"1\">
";
}
// line 55
echo "
<div class=\"card mb-4\">
<div class=\"card-header\">
";
echo _gettext("Log in");
// line 59
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("index");
echo "
</div>
<div class=\"card-body\">
";
// line 62
if (($context["is_arbitrary_server_allowed"] ?? null)) {
// line 63
echo " <div class=\"row mb-3\">
<label for=\"serverNameInput\" class=\"col-sm-4 col-form-label\" title=\"";
echo _gettext("You can enter hostname/IP address and port separated by space.");
// line 64
echo "\">
";
echo _gettext("Server:");
// line 66
echo " </label>
<div class=\"col-sm-8\">
<input type=\"text\" name=\"pma_servername\" id=\"serverNameInput\" value=\"";
// line 68
echo twig_escape_filter($this->env, ($context["default_server"] ?? null), "html", null, true);
echo "\" class=\"form-control\" title=\"";
echo _gettext("You can enter hostname/IP address and port separated by space.");
// line 69
echo "\">
</div>
</div>
";
}
// line 73
echo "
<div class=\"row mb-3\">
<label for=\"input_username\" class=\"col-sm-4 col-form-label\">
";
echo _gettext("Username:");
// line 77
echo " </label>
<div class=\"col-sm-8\">
<input type=\"text\" name=\"pma_username\" id=\"input_username\" value=\"";
// line 79
echo twig_escape_filter($this->env, ($context["default_user"] ?? null), "html", null, true);
echo "\" class=\"form-control\" autocomplete=\"username\" spellcheck=\"false\">
</div>
</div>
<div class=\"row\">
<label for=\"input_password\" class=\"col-sm-4 col-form-label\">
";
echo _gettext("Password:");
// line 86
echo " </label>
<div class=\"col-sm-8\">
<input type=\"password\" name=\"pma_password\" id=\"input_password\" value=\"\" class=\"form-control\" autocomplete=\"current-password\" spellcheck=\"false\">
</div>
</div>
";
// line 92
if (($context["has_servers"] ?? null)) {
// line 93
echo " <div class=\"row mt-3\">
<label for=\"select_server\" class=\"col-sm-4 col-form-label\">
";
echo _gettext("Server choice:");
// line 96
echo " </label>
<div class=\"col-sm-8\">
<select name=\"server\" id=\"select_server\" class=\"form-select\"";
// line 99
if (($context["is_arbitrary_server_allowed"] ?? null)) {
echo " onchange=\"document.forms['login_form'].elements['pma_servername'].value = ''\"";
}
echo ">
";
// line 100
echo ($context["server_options"] ?? null);
echo "
</select>
</div>
</div>
";
} else {
// line 105
echo " <input type=\"hidden\" name=\"server\" value=\"";
echo twig_escape_filter($this->env, ($context["server"] ?? null), "html", null, true);
echo "\">
";
}
// line 107
echo " </div>
<div class=\"card-footer\">
";
// line 109
if (($context["has_captcha"] ?? null)) {
// line 110
echo " <script src=\"";
echo twig_escape_filter($this->env, ($context["captcha_api"] ?? null), "html", null, true);
echo "?hl=";
echo twig_escape_filter($this->env, ($context["lang"] ?? null), "html", null, true);
echo "\" async defer></script>
";
// line 111
if (($context["use_captcha_checkbox"] ?? null)) {
// line 112
echo " <div class=\"row g-3\">
<div class=\"col\">
<div class=\"";
// line 114
echo twig_escape_filter($this->env, ($context["captcha_req"] ?? null), "html", null, true);
echo "\" data-sitekey=\"";
echo twig_escape_filter($this->env, ($context["captcha_key"] ?? null), "html", null, true);
echo "\"></div>
</div>
<div class=\"col align-self-center text-end\">
<input class=\"btn btn-primary\" value=\"";
echo _gettext("Log in");
// line 117
echo "\" type=\"submit\" id=\"input_go\">
</div>
</div>
";
} else {
// line 121
echo " <input class=\"btn btn-primary ";
echo twig_escape_filter($this->env, ($context["captcha_req"] ?? null), "html", null, true);
echo "\" data-sitekey=\"";
echo twig_escape_filter($this->env, ($context["captcha_key"] ?? null), "html", null, true);
echo "\" data-callback=\"Functions_recaptchaCallback\" value=\"";
echo _gettext("Log in");
echo "\" type=\"submit\" id=\"input_go\">
";
}
// line 123
echo " ";
} else {
// line 124
echo " <input class=\"btn btn-primary\" value=\"";
echo _gettext("Log in");
echo "\" type=\"submit\" id=\"input_go\">
";
}
// line 126
echo " </div>
</div>
</form>
";
// line 130
if ( !twig_test_empty(($context["errors"] ?? null))) {
// line 131
echo " <div id=\"pma_errors\">
";
// line 132
echo ($context["errors"] ?? null);
echo "
</div>
</div>
</div>
";
}
// line 137
echo "
";
// line 138
echo ($context["login_footer"] ?? null);
echo "
";
// line 140
echo ($context["config_footer"] ?? null);
echo "
";
}
public function getTemplateName()
{
return "login/form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 334 => 140, 329 => 138, 326 => 137, 318 => 132, 315 => 131, 313 => 130, 307 => 126, 301 => 124, 298 => 123, 288 => 121, 282 => 117, 273 => 114, 269 => 112, 267 => 111, 260 => 110, 258 => 109, 254 => 107, 248 => 105, 240 => 100, 234 => 99, 230 => 96, 225 => 93, 223 => 92, 215 => 86, 205 => 79, 201 => 77, 195 => 73, 189 => 69, 185 => 68, 181 => 66, 177 => 64, 173 => 63, 171 => 62, 164 => 59, 158 => 55, 154 => 53, 152 => 52, 148 => 51, 143 => 50, 137 => 48, 134 => 46, 126 => 40, 119 => 38, 117 => 37, 111 => 36, 107 => 35, 102 => 33, 98 => 32, 93 => 29, 89 => 27, 87 => 25, 84 => 24, 77 => 19, 75 => 18, 70 => 16, 67 => 15, 62 => 12, 60 => 7, 57 => 11, 54 => 8, 52 => 7, 48 => 5, 44 => 4, 42 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "login/form.twig", "/home/arif/public_html/pma/templates/login/form.twig");
}
}

View File

@ -1,499 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/search/index.twig */
class __TwigTemplate_d5e802d0f6d1e171672e264f9bba51c6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<ul class=\"nav nav-pills m-2\">
<li class=\"nav-item\">
<a class=\"nav-link active\" href=\"";
// line 3
echo PhpMyAdmin\Url::getFromRoute("/table/search", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "pos" => 0]);
echo "\">
";
// line 4
echo PhpMyAdmin\Html\Generator::getIcon("b_search", _gettext("Table search"), false, false, "TabsMode");
echo "
</a>
</li>
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 9
echo PhpMyAdmin\Url::getFromRoute("/table/zoom-search", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
echo "\">
";
// line 10
echo PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Zoom search"), false, false, "TabsMode");
echo "
</a>
</li>
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 15
echo PhpMyAdmin\Url::getFromRoute("/table/find-replace", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
echo "\">
";
// line 16
echo PhpMyAdmin\Html\Generator::getIcon("b_find_replace", _gettext("Find and replace"), false, false, "TabsMode");
echo "
</a>
</li>
</ul>
<form method=\"post\" action=\"";
// line 21
echo PhpMyAdmin\Url::getFromRoute("/table/search");
echo "\" name=\"insertForm\" id=\"tbl_search_form\" class=\"ajax lock-page\">
";
// line 22
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<input type=\"hidden\" name=\"goto\" value=\"";
// line 23
echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"back\" value=\"";
// line 24
echo PhpMyAdmin\Url::getFromRoute("/table/search");
echo "\">
<div class=\"card\">
<div class=\"card-header\">";
echo _gettext("Do a \"query by example\" (wildcard: \"%\")");
// line 27
echo "</div>
<div class=\"card-body\">
<div id=\"fieldset_table_qbe\">
<div class=\"table-responsive-md jsresponsive\">
<table class=\"table table-striped table-hover table-sm w-auto\">
<thead>
<tr>
";
// line 35
if (($context["geom_column_flag"] ?? null)) {
// line 36
echo " <th>";
echo _gettext("Function");
echo "</th>
";
}
// line 38
echo " <th>";
echo _gettext("Column");
echo "</th>
<th>";
echo _gettext("Type");
// line 39
echo "</th>
<th>";
echo _gettext("Collation");
// line 40
echo "</th>
<th>";
echo _gettext("Operator");
// line 41
echo "</th>
<th>";
echo _gettext("Value");
// line 42
echo "</th>
</tr>
</thead>
<tbody>
";
// line 46
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, (twig_length_filter($this->env, ($context["column_names"] ?? null)) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["column_index"]) {
// line 47
echo " <tr class=\"noclick\">
";
// line 49
echo " ";
if (($context["geom_column_flag"] ?? null)) {
// line 50
echo " ";
// line 51
echo " <td>
";
// line 52
$context["geom_types"] = PhpMyAdmin\Utils\Gis::getDataTypes();
// line 53
echo " ";
if (twig_in_filter((($__internal_compile_0 = ($context["column_types"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[$context["column_index"]] ?? null) : null), ($context["geom_types"] ?? null))) {
// line 54
echo " <select class=\"geom_func\" name=\"geom_func[";
echo twig_escape_filter($this->env, $context["column_index"], "html", null, true);
echo "]\">
";
// line 56
echo " ";
$context["funcs"] = PhpMyAdmin\Utils\Gis::getFunctions((($__internal_compile_1 = ($context["column_types"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[$context["column_index"]] ?? null) : null), true, true);
// line 57
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["funcs"] ?? null));
foreach ($context['_seq'] as $context["func_name"] => $context["func"]) {
// line 58
echo " ";
$context["name"] = ((twig_get_attribute($this->env, $this->source, $context["func"], "display", [], "array", true, true, false, 58)) ? ((($__internal_compile_2 = $context["func"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["display"] ?? null) : null)) : ($context["func_name"]));
// line 59
echo " <option value=\"";
echo twig_escape_filter($this->env, ($context["name"] ?? null), "html", null, true);
echo "\">
";
// line 60
echo twig_escape_filter($this->env, ($context["name"] ?? null), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['func_name'], $context['func'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 63
echo " </select>
";
}
// line 65
echo " </td>
";
}
// line 67
echo " ";
// line 68
echo " <th>";
// line 70
echo twig_escape_filter($this->env, (($__internal_compile_3 = ($context["column_names"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[$context["column_index"]] ?? null) : null), "html", null, true);
// line 71
echo "</th>
";
// line 72
$context["properties"] = twig_get_attribute($this->env, $this->source, ($context["self"] ?? null), "getColumnProperties", [0 => $context["column_index"], 1 => $context["column_index"]], "method", false, false, false, 72);
// line 73
echo " <td dir=\"ltr\">
";
// line 74
echo twig_escape_filter($this->env, (($__internal_compile_4 = ($context["properties"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["type"] ?? null) : null), "html", null, true);
echo "
</td>
<td>
";
// line 77
echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["properties"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["collation"] ?? null) : null), "html", null, true);
echo "
</td>
<td>
";
// line 80
echo (($__internal_compile_6 = ($context["properties"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["func"] ?? null) : null);
echo "
</td>
";
// line 83
echo " <td data-type=\"";
echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["properties"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["type"] ?? null) : null), "html", null, true);
echo "\">
";
// line 84
echo (($__internal_compile_8 = ($context["properties"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["value"] ?? null) : null);
echo "
";
// line 86
echo " <input type=\"hidden\" name=\"criteriaColumnNames[";
echo twig_escape_filter($this->env, $context["column_index"], "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, (($__internal_compile_9 = ($context["column_names"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9[$context["column_index"]] ?? null) : null), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"criteriaColumnTypes[";
// line 87
echo twig_escape_filter($this->env, $context["column_index"], "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, (($__internal_compile_10 = ($context["column_types"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10[$context["column_index"]] ?? null) : null), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"criteriaColumnCollations[";
// line 88
echo twig_escape_filter($this->env, $context["column_index"], "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, (($__internal_compile_11 = ($context["column_collations"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11[$context["column_index"]] ?? null) : null), "html", null, true);
echo "\">
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column_index'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 92
echo " </tbody>
</table>
</div>
<div id=\"gis_editor\"></div>
<div id=\"popup_background\"></div>
</div>
";
// line 99
if ((($context["default_sliders_state"] ?? null) != "disabled")) {
// line 100
echo " <div>
<button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#searchExtraOptions\" aria-expanded=\"";
// line 101
echo (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false"));
echo "\" aria-controls=\"searchExtraOptions\">
";
echo _gettext("Extra options");
// line 103
echo " </button>
</div>
<div class=\"collapse mt-3";
// line 105
echo (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : (""));
echo "\" id=\"searchExtraOptions\">
";
}
// line 107
echo "
";
// line 109
echo " <fieldset>
<div class=\"mb-3\">
<label class=\"form-label\" for=\"columnsToDisplaySelect\">";
echo _gettext("Select columns (at least one):");
// line 111
echo "</label>
<select class=\"form-select resize-vertical\" id=\"columnsToDisplaySelect\" name=\"columnsToDisplay[]\" size=\"";
// line 112
echo twig_escape_filter($this->env, min(twig_length_filter($this->env, ($context["column_names"] ?? null)), 10), "html", null, true);
echo "\" multiple>
";
// line 113
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["column_names"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["each_field"]) {
// line 114
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["each_field"], "html", null, true);
echo "\" selected>
";
// line 115
echo twig_escape_filter($this->env, $context["each_field"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_field'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 118
echo " </select>
</div>
<div class=\"form-check mb-3\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"distinct\" value=\"DISTINCT\" id=\"oDistinct\">
<label class=\"form-check-label\" for=\"oDistinct\" dir=\"ltr\" lang=\"en\">DISTINCT</label>
</div>
</fieldset>
";
// line 127
echo " <div class=\"mb-3\">
<label class=\"form-label\" for=\"customWhereClauseInput\">
<em>";
echo _gettext("Or");
// line 129
echo "</em>
";
echo _gettext("Add search conditions (body of the \"where\" clause):");
// line 131
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("Functions");
echo "
</label>
<input class=\"form-control\" id=\"customWhereClauseInput\" type=\"text\" name=\"customWhereClause\" size=\"64\">
</div>
";
// line 137
echo " <div class=\"mb-3\">
<label class=\"form-label\" for=\"maxRowsInput\">";
echo _gettext("Number of rows per page");
// line 138
echo "</label>
<input class=\"form-control\" id=\"maxRowsInput\" type=\"number\" name=\"session_max_rows\" min=\"1\" value=\"";
// line 139
echo twig_escape_filter($this->env, ($context["max_rows"] ?? null), "html", null, true);
echo "\" required>
</div>
";
// line 143
echo " <fieldset>
<legend class=\"visually-hidden\">";
echo _gettext("Display order:");
// line 144
echo "</legend>
<div class=\"mb-3\">
<label class=\"form-label\" for=\"orderByColumnSelect\">";
echo _gettext("Order by:");
// line 146
echo "</label>
<select class=\"form-select\" id=\"orderByColumnSelect\" name=\"orderByColumn\">
<option value=\"--nil--\" selected></option>
";
// line 149
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["column_names"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["each_field"]) {
// line 150
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["each_field"], "html", null, true);
echo "\">
";
// line 151
echo twig_escape_filter($this->env, $context["each_field"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_field'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 154
echo " </select>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"radio\" name=\"order\" id=\"orderByAscRadio\" value=\"ASC\" checked>
<label class=\"form-check-label\" for=\"orderByAscRadio\">";
echo _gettext("Ascending");
// line 159
echo "</label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"radio\" name=\"order\" id=\"orderByDescRadio\" value=\"DESC\">
<label class=\"form-check-label\" for=\"orderByDescRadio\">";
echo _gettext("Descending");
// line 163
echo "</label>
</div>
</fieldset>
";
// line 166
if ((($context["default_sliders_state"] ?? null) != "disabled")) {
// line 167
echo " </div>
";
}
// line 169
echo " </div>
<div class=\"card-footer\">
<input class=\"btn btn-primary\" type=\"submit\" name=\"submit\" value=\"";
echo _gettext("Go");
// line 172
echo "\">
</div>
</div>
</form>
<div class=\"modal fade\" id=\"rangeSearchModal\" tabindex=\"-1\" aria-labelledby=\"rangeSearchModalLabel\" aria-hidden=\"false\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"rangeSearchModalLabel\">";
echo _gettext("Range search");
// line 181
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 182
echo "\"></button>
</div>
<div class=\"modal-body\">
<fieldset class=\"pma-fieldset\">
<legend id=\"rangeSearchLegend\"></legend>
<label for=\"min_value\">";
echo _gettext("Minimum value:");
// line 187
echo "</label>
<input type=\"text\" id=\"min_value\"><br>
<span class=\"small_font\" id=\"rangeSearchMin\"></span><br>
<label for=\"max_value\">";
echo _gettext("Maximum value:");
// line 190
echo "</label>
<input type=\"text\" id=\"max_value\"><br>
<span class=\"small_font\" id=\"rangeSearchMax\"></span>
</fieldset>
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" id=\"rangeSearchModalGo\">";
echo _gettext("Go");
// line 196
echo "</button>
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Cancel");
// line 197
echo "</button>
</div>
</div>
</div>
</div>
<div id=\"sqlqueryresultsouter\"></div>
";
}
public function getTemplateName()
{
return "table/search/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 470 => 197, 466 => 196, 457 => 190, 451 => 187, 443 => 182, 439 => 181, 427 => 172, 421 => 169, 417 => 167, 415 => 166, 410 => 163, 403 => 159, 395 => 154, 386 => 151, 381 => 150, 377 => 149, 372 => 146, 367 => 144, 363 => 143, 357 => 139, 354 => 138, 350 => 137, 341 => 131, 337 => 129, 332 => 127, 322 => 118, 313 => 115, 308 => 114, 304 => 113, 300 => 112, 297 => 111, 292 => 109, 289 => 107, 284 => 105, 280 => 103, 275 => 101, 272 => 100, 270 => 99, 261 => 92, 249 => 88, 243 => 87, 236 => 86, 232 => 84, 227 => 83, 222 => 80, 216 => 77, 210 => 74, 207 => 73, 205 => 72, 202 => 71, 200 => 70, 198 => 68, 196 => 67, 192 => 65, 188 => 63, 179 => 60, 174 => 59, 171 => 58, 166 => 57, 163 => 56, 158 => 54, 155 => 53, 153 => 52, 150 => 51, 148 => 50, 145 => 49, 142 => 47, 138 => 46, 132 => 42, 128 => 41, 124 => 40, 120 => 39, 114 => 38, 108 => 36, 106 => 35, 96 => 27, 89 => 24, 85 => 23, 81 => 22, 77 => 21, 69 => 16, 65 => 15, 57 => 10, 53 => 9, 45 => 4, 41 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/search/index.twig", "/home/dev/web/arif.off/public_html/pma/templates/table/search/index.twig");
}
}

File diff suppressed because it is too large Load Diff

View File

@ -69,6 +69,6 @@ class __TwigTemplate_f5dc621fa283e801c04e7848ff2721a1 extends Template
public function getSourceContext()
{
return new Source("", "display/results/page_selector.twig", "/home/dev/web/arif.off/public_html/pma/templates/display/results/page_selector.twig");
return new Source("", "display/results/page_selector.twig", "/home/suvo/web/graffin.ns77.siliconpin.com/public_html/pma/templates/display/results/page_selector.twig");
}
}

View File

@ -1,67 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* message.twig */
class __TwigTemplate_8adfeda4e781f50eff19b8080ac5d26a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"alert alert-";
echo twig_escape_filter($this->env, ($context["context"] ?? null), "html", null, true);
echo "\" role=\"alert\">
";
// line 2
echo ($context["message"] ?? null);
echo "
</div>
";
}
public function getTemplateName()
{
return "message.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "message.twig", "/home/arif/public_html/pma/templates/message.twig");
}
}

View File

@ -1,137 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/page_with_secondary_tabs.twig */
class __TwigTemplate_912e42c86ba46725cad62b5f60333ef0 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "relationFeature", [], "any", false, false, false, 1)) || ($context["is_foreign_key_supported"] ?? null))) {
// line 2
echo " <ul class=\"nav nav-pills m-2 d-print-none\">
<li class=\"nav-item\">
<a href=\"";
// line 4
echo PhpMyAdmin\Url::getFromRoute("/table/structure", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
echo "\" id=\"table_structure_id\" class=\"nav-link";
echo (((($context["route"] ?? null) == "/table/structure")) ? (" active") : (""));
echo "\">
";
// line 5
echo PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Table structure"), true);
echo "
</a>
</li>
<li class=\"nav-item\">
<a href=\"";
// line 10
echo PhpMyAdmin\Url::getFromRoute("/table/relation", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
echo "\" id=\"table_relation_id\" class=\"nav-link";
echo (((($context["route"] ?? null) == "/table/relation")) ? (" active") : (""));
echo "\">
";
// line 11
echo PhpMyAdmin\Html\Generator::getIcon("b_relations", _gettext("Relation view"), true);
echo "
</a>
</li>
</ul>
";
}
// line 16
echo "
";
// line 17
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages());
foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) {
// line 18
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["flash_messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
// line 19
echo " <div class=\"alert alert-";
echo twig_escape_filter($this->env, $context["flash_key"], "html", null, true);
echo "\" role=\"alert\">
";
// line 20
echo twig_escape_filter($this->env, $context["flash_message"], "html", null, true);
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['flash_key'], $context['flash_messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 24
echo "
<div id=\"structure_content\">
";
// line 26
$this->displayBlock('content', $context, $blocks);
// line 27
echo "</div>
";
}
// line 26
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
}
public function getTemplateName()
{
return "table/page_with_secondary_tabs.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 113 => 26, 108 => 27, 106 => 26, 102 => 24, 89 => 20, 84 => 19, 79 => 18, 75 => 17, 72 => 16, 64 => 11, 58 => 10, 50 => 5, 44 => 4, 40 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/page_with_secondary_tabs.twig", "/home/arif/public_html/pma/templates/table/page_with_secondary_tabs.twig");
}
}

View File

@ -1,80 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/favorite_anchor.twig */
class __TwigTemplate_9f54959d5f89f3ec53606b059b5708a2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<a id=\"";
echo twig_escape_filter($this->env, ($context["table_name_hash"] ?? null), "html", null, true);
echo "_favorite_anchor\"
class=\"ajax favorite_table_anchor\"
href=\"";
// line 3
echo PhpMyAdmin\Url::getFromRoute("/database/structure/favorite-table", ($context["fav_params"] ?? null));
echo "\"
title=\"";
// line 4
echo twig_escape_filter($this->env, ((($context["already_favorite"] ?? null)) ? (_gettext("Remove from Favorites")) : (_gettext("Add to Favorites"))), "html", null, true);
echo "\"
data-favtargets=\"";
// line 5
echo twig_escape_filter($this->env, ($context["db_table_name_hash"] ?? null), "html", null, true);
echo "\">
";
// line 6
echo ((($context["already_favorite"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_favorite")) : (PhpMyAdmin\Html\Generator::getIcon("b_no_favorite")));
echo "
</a>
";
}
public function getTemplateName()
{
return "database/structure/favorite_anchor.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 6, 51 => 5, 47 => 4, 43 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/favorite_anchor.twig", "/home/dev/web/arif.off/public_html/pma/templates/database/structure/favorite_anchor.twig");
}
}

View File

@ -1,69 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/search/column_comparison_operators.twig */
class __TwigTemplate_fe827019cb9e487f8c3927b719c65fef extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<select class=\"column-operator\" id=\"ColumnOperator";
echo twig_escape_filter($this->env, ($context["search_index"] ?? null), "html", null, true);
echo "\" name=\"criteriaColumnOperators[";
echo twig_escape_filter($this->env, ($context["search_index"] ?? null), "html", null, true);
echo "]\">
";
// line 2
echo ($context["type_operators"] ?? null);
echo "
</select>
";
}
public function getTemplateName()
{
return "table/search/column_comparison_operators.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 44 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/search/column_comparison_operators.twig", "/home/dev/web/arif.off/public_html/pma/templates/table/search/column_comparison_operators.twig");
}
}

View File

@ -1,83 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* display/results/comment_for_row.twig */
class __TwigTemplate_622d5a93efb51924e20f8ab4254307d5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if ((twig_get_attribute($this->env, $this->source, ($context["comments_map"] ?? null), ($context["table_name"] ?? null), [], "array", true, true, false, 1) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 2
($context["comments_map"] ?? null), ($context["table_name"] ?? null), [], "array", false, true, false, 2), ($context["column_name"] ?? null), [], "array", true, true, false, 2))) {
// line 3
echo " <br><span class=\"tblcomment\" title=\"";
echo twig_escape_filter($this->env, (($__internal_compile_0 = (($__internal_compile_1 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[($context["table_name"] ?? null)] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[($context["column_name"] ?? null)] ?? null) : null), "html", null, true);
echo "\">
";
// line 4
if ((twig_length_filter($this->env, (($__internal_compile_2 = (($__internal_compile_3 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[($context["table_name"] ?? null)] ?? null) : null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[($context["column_name"] ?? null)] ?? null) : null)) > ($context["limit_chars"] ?? null))) {
// line 5
echo " ";
echo twig_escape_filter($this->env, twig_slice($this->env, (($__internal_compile_4 = (($__internal_compile_5 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["table_name"] ?? null)] ?? null) : null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[($context["column_name"] ?? null)] ?? null) : null), 0, ($context["limit_chars"] ?? null)), "html", null, true);
echo "
";
} else {
// line 7
echo " ";
echo twig_escape_filter($this->env, (($__internal_compile_6 = (($__internal_compile_7 = ($context["comments_map"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[($context["table_name"] ?? null)] ?? null) : null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[($context["column_name"] ?? null)] ?? null) : null), "html", null, true);
echo "
";
}
// line 9
echo " </span>
";
}
}
public function getTemplateName()
{
return "display/results/comment_for_row.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 59 => 9, 53 => 7, 47 => 5, 45 => 4, 40 => 3, 38 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "display/results/comment_for_row.twig", "/home/arif/public_html/pma/templates/display/results/comment_for_row.twig");
}
}

View File

@ -1,120 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* columns_definitions/column_attribute.twig */
class __TwigTemplate_81942d2f2e1617c3a3fb4ff006dc39a3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if ((array_key_exists("submit_attribute", $context) && (($context["submit_attribute"] ?? null) != false))) {
// line 2
echo " ";
$context["attribute"] = ($context["submit_attribute"] ?? null);
// line 3
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, // line 4
($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 4) && (twig_in_filter("on update current_timestamp", (($__internal_compile_0 = // line 5
($context["column_meta"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["Extra"] ?? null) : null)) || twig_in_filter("on update current_timestamp()", twig_lower_filter($this->env, (($__internal_compile_1 = ($context["column_meta"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Extra"] ?? null) : null)))))) {
// line 6
echo " ";
$context["attribute"] = "on update CURRENT_TIMESTAMP";
} elseif (twig_get_attribute($this->env, $this->source, // line 7
($context["extracted_columnspec"] ?? null), "attribute", [], "array", true, true, false, 7)) {
// line 8
echo " ";
$context["attribute"] = (($__internal_compile_2 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["attribute"] ?? null) : null);
} else {
// line 10
echo " ";
$context["attribute"] = "";
}
// line 12
$context["attribute"] = twig_upper_filter($this->env, ($context["attribute"] ?? null));
// line 13
echo "<select name=\"field_attribute[";
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "]\"
id=\"field_";
// line 14
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
echo "\">
";
// line 15
$context["cnt_attribute_types"] = (twig_length_filter($this->env, ($context["attribute_types"] ?? null)) - 1);
// line 16
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, ($context["cnt_attribute_types"] ?? null)));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 17
echo " <option value=\"";
echo twig_escape_filter($this->env, (($__internal_compile_3 = ($context["attribute_types"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[$context["i"]] ?? null) : null), "html", null, true);
echo "\"";
// line 18
echo (((($context["attribute"] ?? null) == twig_upper_filter($this->env, (($__internal_compile_4 = ($context["attribute_types"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[$context["i"]] ?? null) : null)))) ? (" selected=\"selected\"") : (""));
echo ">
";
// line 19
echo twig_escape_filter($this->env, (($__internal_compile_5 = ($context["attribute_types"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[$context["i"]] ?? null) : null), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo "</select>
";
}
public function getTemplateName()
{
return "columns_definitions/column_attribute.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 97 => 22, 88 => 19, 84 => 18, 80 => 17, 75 => 16, 73 => 15, 67 => 14, 62 => 13, 60 => 12, 56 => 10, 52 => 8, 50 => 7, 47 => 6, 45 => 5, 44 => 4, 42 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/column_attribute.twig", "/home/arif/public_html/pma/templates/columns_definitions/column_attribute.twig");
}
}

View File

@ -1,220 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* list_navigator.twig */
class __TwigTemplate_6827b9701f69f545e7a664930547027c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if ((($context["max_count"] ?? null) < ($context["count"] ?? null))) {
// line 2
echo "<div class=\"";
echo twig_escape_filter($this->env, twig_join_filter(($context["classes"] ?? null), " "), "html", null, true);
echo "\">
";
// line 3
if ((($context["frame"] ?? null) != "frame_navigation")) {
// line 4
echo " ";
echo _gettext("Page number:");
// line 5
echo " ";
}
// line 6
echo "
";
// line 7
if ((($context["position"] ?? null) > 0)) {
// line 8
echo " <a href=\"";
echo ($context["script"] ?? null);
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => 0]), "", false);
echo "\"";
echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : (""));
echo " title=\"";
echo _pgettext("First page", "Begin");
echo "\">
";
// line 9
if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) {
// line 10
echo " &lt;&lt;
";
}
// line 12
echo " ";
if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) {
// line 13
echo " ";
echo _pgettext("First page", "Begin");
// line 14
echo " ";
}
// line 15
echo " </a>
<a href=\"";
// line 16
echo ($context["script"] ?? null);
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (($context["position"] ?? null) - ($context["max_count"] ?? null))]), "", false);
echo "\"";
echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : (""));
echo " title=\"";
echo _pgettext("Previous page", "Previous");
echo "\">
";
// line 17
if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) {
// line 18
echo " &lt;
";
}
// line 20
echo " ";
if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) {
// line 21
echo " ";
echo _pgettext("Previous page", "Previous");
// line 22
echo " ";
}
// line 23
echo " </a>
";
}
// line 25
echo "
<form action=\"";
// line 26
echo ($context["script"] ?? null);
echo "\" method=\"post\">
";
// line 27
echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null));
echo "
";
// line 29
echo ($context["page_selector"] ?? null);
echo "
</form>
";
// line 32
if (((($context["position"] ?? null) + ($context["max_count"] ?? null)) < ($context["count"] ?? null))) {
// line 33
echo " <a href=\"";
echo ($context["script"] ?? null);
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (($context["position"] ?? null) + ($context["max_count"] ?? null))]), "", false);
echo "\"";
echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : (""));
echo " title=\"";
echo _pgettext("Next page", "Next");
echo "\">
";
// line 34
if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) {
// line 35
echo " ";
echo _pgettext("Next page", "Next");
// line 36
echo " ";
}
// line 37
echo " ";
if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) {
// line 38
echo " &gt;
";
}
// line 40
echo " </a>
";
// line 41
$context["last_pos"] = ((int) floor((($context["count"] ?? null) / ($context["max_count"] ?? null))) * ($context["max_count"] ?? null));
// line 42
echo " <a href=\"";
echo ($context["script"] ?? null);
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["url_params"] ?? null), [($context["param_name"] ?? null) => (((($context["last_pos"] ?? null) == ($context["count"] ?? null))) ? ((($context["count"] ?? null) - ($context["max_count"] ?? null))) : (($context["last_pos"] ?? null)))]), "", false);
echo "\"";
echo (((($context["frame"] ?? null) == "frame_navigation")) ? (" class=\"ajax\"") : (""));
echo " title=\"";
echo _pgettext("Last page", "End");
echo "\">
";
// line 43
if (PhpMyAdmin\Util::showText("TableNavigationLinksMode")) {
// line 44
echo " ";
echo _pgettext("Last page", "End");
// line 45
echo " ";
}
// line 46
echo " ";
if (PhpMyAdmin\Util::showIcons("TableNavigationLinksMode")) {
// line 47
echo " &gt;&gt;
";
}
// line 49
echo " </a>
";
}
// line 51
echo "</div>
";
}
}
public function getTemplateName()
{
return "list_navigator.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 196 => 51, 192 => 49, 188 => 47, 185 => 46, 182 => 45, 179 => 44, 177 => 43, 166 => 42, 164 => 41, 161 => 40, 157 => 38, 154 => 37, 151 => 36, 148 => 35, 146 => 34, 135 => 33, 133 => 32, 127 => 29, 122 => 27, 118 => 26, 115 => 25, 111 => 23, 108 => 22, 105 => 21, 102 => 20, 98 => 18, 96 => 17, 86 => 16, 83 => 15, 80 => 14, 77 => 13, 74 => 12, 70 => 10, 68 => 9, 57 => 8, 55 => 7, 52 => 6, 49 => 5, 46 => 4, 44 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "list_navigator.twig", "/home/arif/public_html/pma/templates/list_navigator.twig");
}
}

View File

@ -1,191 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/triggers/list.twig */
class __TwigTemplate_ee14ebdfc75d424f08e15e2a0f3b5e41 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"container-fluid my-3\">
<h2>
";
// line 3
echo PhpMyAdmin\Html\Generator::getIcon("b_triggers", _gettext("Triggers"));
echo "
";
// line 4
echo PhpMyAdmin\Html\MySQLDocumentation::show("TRIGGERS");
echo "
</h2>
<div class=\"d-flex flex-wrap my-3\">
<div>
<div class=\"input-group\">
<div class=\"input-group-text\">
<div class=\"form-check mb-0\">
<input class=\"form-check-input checkall_box\" type=\"checkbox\" value=\"\" id=\"checkAllCheckbox\" form=\"rteListForm\">
<label class=\"form-check-label\" for=\"checkAllCheckbox\">";
echo _gettext("Check all");
// line 13
echo "</label>
</div>
</div>
<button class=\"btn btn-outline-secondary\" id=\"bulkActionExportButton\" type=\"submit\" name=\"submit_mult\" value=\"export\" form=\"rteListForm\" title=\"";
echo _gettext("Export");
// line 16
echo "\">
";
// line 17
echo PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export"));
echo "
</button>
<button class=\"btn btn-outline-secondary\" id=\"bulkActionDropButton\" type=\"submit\" name=\"submit_mult\" value=\"drop\" form=\"rteListForm\" title=\"";
echo _gettext("Drop");
// line 19
echo "\">
";
// line 20
echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
echo "
</button>
</div>
</div>
<div class=\"ms-auto\">
<a class=\"ajax add_anchor btn btn-primary";
// line 26
echo (( !($context["has_privilege"] ?? null)) ? (" disabled") : (""));
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/triggers", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "add_item" => true]);
echo "\" role=\"button\"";
echo (( !($context["has_privilege"] ?? null)) ? (" tabindex=\"-1\" aria-disabled=\"true\"") : (""));
echo ">
";
// line 27
echo PhpMyAdmin\Html\Generator::getIcon("b_trigger_add", _gettext("Create new trigger"));
echo "
</a>
</div>
</div>
<form id=\"rteListForm\" class=\"ajax\" action=\"";
// line 32
echo PhpMyAdmin\Url::getFromRoute((( !twig_test_empty(($context["table"] ?? null))) ? ("/table/triggers") : ("/database/triggers")));
echo "\">
";
// line 33
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<div id=\"nothing2display\"";
// line 35
echo (( !twig_test_empty(($context["items"] ?? null))) ? (" class=\"hide\"") : (""));
echo ">
";
echo _gettext("There are no triggers to display.");
// line 37
echo " </div>
<table id=\"triggersTable\" class=\"table table-striped table-hover";
// line 39
echo ((twig_test_empty(($context["items"] ?? null))) ? (" hide") : (""));
echo " w-auto data\">
<thead>
<tr>
<th></th>
<th>";
echo _gettext("Name");
// line 43
echo "</th>
";
// line 44
if (twig_test_empty(($context["table"] ?? null))) {
// line 45
echo " <th>";
echo _gettext("Table");
echo "</th>
";
}
// line 47
echo " <th>";
echo _gettext("Time");
echo "</th>
<th>";
echo _gettext("Event");
// line 48
echo "</th>
<th colspan=\"3\"></th>
</tr>
</thead>
<tbody>
<tr class=\"hide\">";
// line 53
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, ((twig_test_empty(($context["table"] ?? null))) ? (7) : (6))));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
echo "<td></td>";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "</tr>
";
// line 55
echo ($context["rows"] ?? null);
echo "
</tbody>
</table>
</form>
</div>
";
}
public function getTemplateName()
{
return "database/triggers/list.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 163 => 55, 151 => 53, 144 => 48, 138 => 47, 132 => 45, 130 => 44, 127 => 43, 119 => 39, 115 => 37, 110 => 35, 105 => 33, 101 => 32, 93 => 27, 85 => 26, 76 => 20, 73 => 19, 67 => 17, 64 => 16, 58 => 13, 45 => 4, 41 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/triggers/list.twig", "/home/arif/public_html/pma/templates/database/triggers/list.twig");
}
}

View File

@ -1,385 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* config/form_display/input.twig */
class __TwigTemplate_760fa0822fc4f50a951c656edd37e39a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["option_is_disabled"] ?? null)) {
// line 2
echo " ";
$context["tr_class"] = (($context["tr_class"] ?? null) . " disabled-field");
}
// line 4
echo "<tr";
if (($context["tr_class"] ?? null)) {
echo " class=\"";
echo twig_escape_filter($this->env, ($context["tr_class"] ?? null), "html", null, true);
echo "\"";
}
echo ">
<th>
<label for=\"";
// line 6
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\">";
echo ($context["name"] ?? null);
echo "</label>
";
// line 8
if ( !twig_test_empty(($context["doc"] ?? null))) {
// line 9
echo " <span class=\"doc\">
<a href=\"";
// line 10
echo twig_escape_filter($this->env, ($context["doc"] ?? null), "html", null, true);
echo "\" target=\"documentation\">";
echo PhpMyAdmin\Html\Generator::getImage("b_help", _gettext("Documentation"));
echo "</a>
</span>
";
}
// line 13
echo "
";
// line 14
if (($context["option_is_disabled"] ?? null)) {
// line 15
echo " <span class=\"disabled-notice\" title=\"";
echo _gettext("This setting is disabled, it will not be applied to your configuration.");
echo "\">
";
echo _gettext("Disabled");
// line 17
echo " </span>
";
}
// line 19
echo "
";
// line 20
if ( !twig_test_empty(($context["description"] ?? null))) {
// line 21
echo " <small>";
echo ($context["description"] ?? null);
echo "</small>
";
}
// line 23
echo " </th>
<td>
";
// line 26
if ((($context["type"] ?? null) == "text")) {
// line 27
echo " <input type=\"text\" name=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true);
echo "\" class=\"w-75";
echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : (""));
echo "\">
";
} elseif (( // line 28
($context["type"] ?? null) == "password")) {
// line 29
echo " <input type=\"password\" name=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true);
echo "\" class=\"w-75";
echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : (""));
echo "\" spellcheck=\"false\">
";
} elseif ((( // line 30
($context["type"] ?? null) == "short_text") && !twig_test_iterable(($context["value"] ?? null)))) {
// line 31
echo " ";
// line 32
echo " <input type=\"text\" size=\"25\" name=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true);
echo "\" class=\"";
echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : (""));
echo "\">
";
} elseif (( // line 33
($context["type"] ?? null) == "number_text")) {
// line 34
echo " <input type=\"number\" name=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true);
echo "\" class=\"";
echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : (""));
echo "\">
";
} elseif (( // line 35
($context["type"] ?? null) == "checkbox")) {
// line 36
echo " <span class=\"checkbox";
echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : (""));
echo "\">
<input type=\"checkbox\" name=\"";
// line 37
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\"";
echo ((($context["value"] ?? null)) ? (" checked") : (""));
echo ">
</span>
";
} elseif (( // line 39
($context["type"] ?? null) == "select")) {
// line 40
echo " <select name=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" class=\"w-75";
echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : (""));
echo "\">
";
// line 41
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["select_values"] ?? null));
foreach ($context['_seq'] as $context["key"] => $context["val"]) {
// line 42
echo " ";
if (($context["val"] === true)) {
$context["val"] = _gettext("Yes");
} elseif (($context["val"] === false)) {
$context["val"] = _gettext("No");
}
// line 43
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\"";
echo ((((($context["key"] === ($context["value"] ?? null)) || ((($context["value"] ?? null) === true) && ($context["key"] === 1))) || ((($context["value"] ?? null) === false) && ($context["key"] === 0)))) ? (" selected") : (""));
echo ((twig_in_filter($context["key"], ($context["select_values_disabled"] ?? null))) ? (" disabled") : (""));
echo ">";
echo twig_escape_filter($this->env, $context["val"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['val'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 45
echo " </select>
";
} elseif (( // line 46
($context["type"] ?? null) == "list")) {
// line 47
echo " <textarea cols=\"35\" rows=\"5\" name=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" class=\"";
echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : (""));
echo "\">";
// line 48
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["value"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["key"] => $context["val"]) {
if (($context["key"] != "wrapper_params")) {
echo twig_escape_filter($this->env, $context["val"], "html", null, true);
echo (( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 48)) ? ("
") : (""));
}
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['val'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 49
echo "</textarea>
";
}
// line 51
echo "
";
// line 52
if ((($context["is_setup"] ?? null) && ($context["comment"] ?? null))) {
// line 53
echo " <a class=\"userprefs-comment\" title=\"";
echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true);
echo "\">";
echo PhpMyAdmin\Html\Generator::getImage("b_tblops", _gettext("Comment"));
echo "</a>
";
}
// line 55
echo "
";
// line 56
if (($context["set_value"] ?? null)) {
// line 57
echo " <a class=\"set-value hide\" href=\"#";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "=";
echo twig_escape_filter($this->env, ($context["set_value"] ?? null), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null)), "html", null, true);
echo "\">";
// line 58
echo PhpMyAdmin\Html\Generator::getImage("b_edit", twig_sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null)));
// line 59
echo "</a>
";
}
// line 61
echo "
";
// line 62
if (($context["show_restore_default"] ?? null)) {
// line 63
echo " <a class=\"restore-default hide\" href=\"#";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Restore default value");
echo "\">";
// line 64
echo PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Restore default value"));
// line 65
echo "</a>
";
}
// line 67
echo "
";
// line 69
echo " ";
if (($context["has_errors"] ?? null)) {
// line 70
echo " <dl class=\"inline_errors\">
";
// line 71
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["errors"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
// line 72
echo " <dd>";
echo $context["error"];
echo "</dd>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 74
echo " </dl>
";
}
// line 76
echo " </td>
";
// line 78
if ((($context["is_setup"] ?? null) && !(null === ($context["allows_customization"] ?? null)))) {
// line 79
echo " <td class=\"userprefs-allow\" title=\"";
echo _gettext("Allow users to customize this value");
echo "\">
<input type=\"checkbox\" name=\"";
// line 80
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "-userprefs-allow\"";
echo ((($context["allows_customization"] ?? null)) ? (" checked") : (""));
echo " aria-label=\"";
echo _gettext("Allow users to customize this value");
echo "\">
</td>
";
} elseif ( // line 82
($context["is_setup"] ?? null)) {
// line 83
echo " <td>&nbsp;</td>
";
}
// line 85
echo "</tr>
";
}
public function getTemplateName()
{
return "config/form_display/input.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 362 => 85, 358 => 83, 356 => 82, 347 => 80, 342 => 79, 340 => 78, 336 => 76, 332 => 74, 323 => 72, 319 => 71, 316 => 70, 313 => 69, 310 => 67, 306 => 65, 304 => 64, 298 => 63, 296 => 62, 293 => 61, 289 => 59, 287 => 58, 279 => 57, 277 => 56, 274 => 55, 266 => 53, 264 => 52, 261 => 51, 257 => 49, 223 => 48, 215 => 47, 213 => 46, 210 => 45, 196 => 43, 189 => 42, 185 => 41, 176 => 40, 174 => 39, 165 => 37, 160 => 36, 158 => 35, 147 => 34, 145 => 33, 134 => 32, 132 => 31, 130 => 30, 119 => 29, 117 => 28, 106 => 27, 104 => 26, 99 => 23, 93 => 21, 91 => 20, 88 => 19, 84 => 17, 78 => 15, 76 => 14, 73 => 13, 65 => 10, 62 => 9, 60 => 8, 53 => 6, 43 => 4, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "config/form_display/input.twig", "/home/arif/public_html/pma/templates/config/form_display/input.twig");
}
}

View File

@ -1,294 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/body_for_table_summary.twig */
class __TwigTemplate_4ec13fae4df469eef016ada57d32eb53 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<tfoot id=\"tbl_summary_row\">
<tr>
<th class=\"d-print-none\"></th>
<th class=\"tbl_num text-nowrap\">
";
// line 5
ob_start(function () { return ''; });
echo _ngettext("%s table", "%s tables", abs( // line 6
($context["num_tables"] ?? null)));
$context["num_tables_trans"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 8
echo " ";
echo twig_escape_filter($this->env, twig_sprintf(($context["num_tables_trans"] ?? null), PhpMyAdmin\Util::formatNumber(($context["num_tables"] ?? null), 0)), "html", null, true);
echo "
</th>
";
// line 10
if (($context["server_replica_status"] ?? null)) {
// line 11
echo " <th>";
echo _gettext("Replication");
echo "</th>
";
}
// line 13
echo " ";
$context["sum_colspan"] = ((($context["db_is_system_schema"] ?? null)) ? (4) : (7));
// line 14
echo " ";
if ((($context["num_favorite_tables"] ?? null) == 0)) {
// line 15
echo " ";
$context["sum_colspan"] = (($context["sum_colspan"] ?? null) - 1);
// line 16
echo " ";
}
// line 17
echo " <th colspan=\"";
echo twig_escape_filter($this->env, ($context["sum_colspan"] ?? null), "html", null, true);
echo "\" class=\"d-print-none\">";
echo _gettext("Sum");
echo "</th>
";
// line 18
$context["row_count_sum"] = PhpMyAdmin\Util::formatNumber(($context["sum_entries"] ?? null), 0);
// line 19
echo " ";
// line 20
echo " ";
$context["row_sum_url"] = [];
// line 21
echo " ";
if (array_key_exists("approx_rows", $context)) {
// line 22
echo " ";
$context["row_sum_url"] = ["ajax_request" => true, "db" => // line 24
($context["db"] ?? null), "real_row_count_all" => "true"];
// line 27
echo " ";
}
// line 28
echo " ";
if (($context["approx_rows"] ?? null)) {
// line 29
echo " ";
ob_start(function () { return ''; });
// line 30
echo "<a href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ($context["row_sum_url"] ?? null));
echo "\" class=\"ajax row_count_sum\">~";
// line 31
echo twig_escape_filter($this->env, ($context["row_count_sum"] ?? null), "html", null, true);
// line 32
echo "</a>";
$context["cell_text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 34
echo " ";
} else {
// line 35
echo " ";
$context["cell_text"] = ($context["row_count_sum"] ?? null);
// line 36
echo " ";
}
// line 37
echo " <th class=\"value tbl_rows font-monospace text-end\">";
echo twig_escape_filter($this->env, ($context["cell_text"] ?? null), "html", null, true);
echo "</th>
";
// line 38
if ( !(($context["properties_num_columns"] ?? null) > 1)) {
// line 39
echo " ";
// line 40
echo " ";
$context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@storage_engine;"], "method", false, false, false, 40);
// line 41
echo " ";
if (twig_test_empty(($context["default_engine"] ?? null))) {
// line 42
echo " ";
// line 43
echo " ";
$context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@default_storage_engine;"], "method", false, false, false, 43);
// line 44
echo " ";
}
// line 45
echo " <th class=\"text-center\">
<dfn title=\"";
// line 46
echo twig_escape_filter($this->env, twig_sprintf(_gettext("%s is the default storage engine on this MySQL server."), ($context["default_engine"] ?? null)), "html", null, true);
echo "\">
";
// line 47
echo twig_escape_filter($this->env, ($context["default_engine"] ?? null), "html", null, true);
echo "
</dfn>
</th>
<th>
";
// line 51
if ( !twig_test_empty(($context["database_collation"] ?? null))) {
// line 52
echo " <dfn title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "description", [], "any", false, false, false, 52), "html", null, true);
echo " (";
echo _gettext("Default");
echo ")\">
";
// line 53
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "name", [], "any", false, false, false, 53), "html", null, true);
echo "
</dfn>
";
}
// line 56
echo " </th>
";
}
// line 58
echo "
";
// line 59
if (($context["is_show_stats"] ?? null)) {
// line 60
echo " ";
$context["sum"] = PhpMyAdmin\Util::formatByteDown(($context["sum_size"] ?? null), 3, 1);
// line 61
echo " ";
$context["sum_formatted"] = (($__internal_compile_0 = ($context["sum"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null);
// line 62
echo " ";
$context["sum_unit"] = (($__internal_compile_1 = ($context["sum"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null);
// line 63
echo " <th class=\"value tbl_size font-monospace text-end\">";
echo twig_escape_filter($this->env, ($context["sum_formatted"] ?? null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, ($context["sum_unit"] ?? null), "html", null, true);
echo "</th>
";
// line 65
$context["overhead"] = PhpMyAdmin\Util::formatByteDown(($context["overhead_size"] ?? null), 3, 1);
// line 66
echo " ";
$context["overhead_formatted"] = (($__internal_compile_2 = ($context["overhead"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null);
// line 67
echo " ";
$context["overhead_unit"] = (($__internal_compile_3 = ($context["overhead"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null);
// line 68
echo " <th class=\"value tbl_overhead font-monospace text-end\">";
echo twig_escape_filter($this->env, ($context["overhead_formatted"] ?? null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, ($context["overhead_unit"] ?? null), "html", null, true);
echo "</th>
";
}
// line 70
echo "
";
// line 71
if (($context["show_charset"] ?? null)) {
// line 72
echo " <th>";
echo twig_escape_filter($this->env, ($context["database_charset"] ?? null), "html", null, true);
echo "</th>
";
}
// line 74
echo " ";
if (($context["show_comment"] ?? null)) {
// line 75
echo " <th></th>
";
}
// line 77
echo " ";
if (($context["show_creation"] ?? null)) {
// line 78
echo " <th class=\"value tbl_creation font-monospace text-end\">
";
// line 79
echo twig_escape_filter($this->env, ($context["create_time_all"] ?? null), "html", null, true);
echo "
</th>
";
}
// line 82
echo " ";
if (($context["show_last_update"] ?? null)) {
// line 83
echo " <th class=\"value tbl_last_update font-monospace text-end\">
";
// line 84
echo twig_escape_filter($this->env, ($context["update_time_all"] ?? null), "html", null, true);
echo "
</th>
";
}
// line 87
echo " ";
if (($context["show_last_check"] ?? null)) {
// line 88
echo " <th class=\"value tbl_last_check font-monospace text-end\">
";
// line 89
echo twig_escape_filter($this->env, ($context["check_time_all"] ?? null), "html", null, true);
echo "
</th>
";
}
// line 92
echo "</tr>
</tfoot>
";
}
public function getTemplateName()
{
return "database/structure/body_for_table_summary.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 270 => 92, 264 => 89, 261 => 88, 258 => 87, 252 => 84, 249 => 83, 246 => 82, 240 => 79, 237 => 78, 234 => 77, 230 => 75, 227 => 74, 221 => 72, 219 => 71, 216 => 70, 208 => 68, 205 => 67, 202 => 66, 200 => 65, 192 => 63, 189 => 62, 186 => 61, 183 => 60, 181 => 59, 178 => 58, 174 => 56, 168 => 53, 161 => 52, 159 => 51, 152 => 47, 148 => 46, 145 => 45, 142 => 44, 139 => 43, 137 => 42, 134 => 41, 131 => 40, 129 => 39, 127 => 38, 122 => 37, 119 => 36, 116 => 35, 113 => 34, 110 => 32, 108 => 31, 104 => 30, 101 => 29, 98 => 28, 95 => 27, 93 => 24, 91 => 22, 88 => 21, 85 => 20, 83 => 19, 81 => 18, 74 => 17, 71 => 16, 68 => 15, 65 => 14, 62 => 13, 56 => 11, 54 => 10, 48 => 8, 45 => 6, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/body_for_table_summary.twig", "/home/arif/public_html/pma/templates/database/structure/body_for_table_summary.twig");
}
}

View File

@ -1,269 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/table_header.twig */
class __TwigTemplate_6dd2dd4a3db78cb9d5c6ed6597ba9e2d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/structure");
echo "\" name=\"tablesForm\" id=\"tablesForm\">
";
// line 2
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"table-responsive\">
<table class=\"table table-striped table-hover table-sm w-auto data\">
<thead>
<tr>
<th class=\"d-print-none\"></th>
<th>";
// line 8
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Table"), "table");
echo "</th>
";
// line 9
if (($context["replication"] ?? null)) {
// line 10
echo " <th>";
echo _gettext("Replication");
echo "</th>
";
}
// line 12
echo "
";
// line 13
if (($context["db_is_system_schema"] ?? null)) {
// line 14
echo " ";
$context["action_colspan"] = 3;
// line 15
echo " ";
} else {
// line 16
echo " ";
$context["action_colspan"] = 6;
// line 17
echo " ";
}
// line 18
echo " ";
if ((($context["num_favorite_tables"] ?? null) > 0)) {
// line 19
echo " ";
$context["action_colspan"] = (($context["action_colspan"] ?? null) + 1);
// line 20
echo " ";
}
// line 21
echo " <th colspan=\"";
echo twig_escape_filter($this->env, ($context["action_colspan"] ?? null), "html", null, true);
echo "\" class=\"d-print-none\">
";
echo _gettext("Action");
// line 23
echo " </th>
";
// line 25
echo " <th>
";
// line 26
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Rows"), "records", "DESC");
echo "
";
// line 27
echo PhpMyAdmin\Html\Generator::showHint(PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("May be approximate. Click on the number to get the exact count. See [doc@faq3-11]FAQ 3.11[/doc].")));
echo "
</th>
";
// line 29
if ( !(($context["properties_num_columns"] ?? null) > 1)) {
// line 30
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Type"), "type");
echo "</th>
<th>";
// line 31
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Collation"), "collation");
echo "</th>
";
}
// line 33
echo "
";
// line 34
if (($context["is_show_stats"] ?? null)) {
// line 35
echo " ";
// line 36
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Size"), "size", "DESC");
echo "</th>
";
// line 38
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Overhead"), "overhead", "DESC");
echo "</th>
";
}
// line 40
echo "
";
// line 41
if (($context["show_charset"] ?? null)) {
// line 42
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Charset"), "charset");
echo "</th>
";
}
// line 44
echo "
";
// line 45
if (($context["show_comment"] ?? null)) {
// line 46
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Comment"), "comment");
echo "</th>
";
}
// line 48
echo "
";
// line 49
if (($context["show_creation"] ?? null)) {
// line 50
echo " ";
// line 51
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Creation"), "creation", "DESC");
echo "</th>
";
}
// line 53
echo "
";
// line 54
if (($context["show_last_update"] ?? null)) {
// line 55
echo " ";
// line 56
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last update"), "last_update", "DESC");
echo "</th>
";
}
// line 58
echo "
";
// line 59
if (($context["show_last_check"] ?? null)) {
// line 60
echo " ";
// line 61
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last check"), "last_check", "DESC");
echo "</th>
";
}
// line 63
echo " </tr>
</thead>
<tbody>
";
// line 66
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["structure_table_rows"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["structure_table_row"]) {
// line 67
echo " ";
$this->loadTemplate("database/structure/structure_table_row.twig", "database/structure/table_header.twig", 67)->display(twig_to_array($context["structure_table_row"]));
// line 68
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['structure_table_row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 69
echo " </tbody>
";
// line 70
if (($context["body_for_table_summary"] ?? null)) {
// line 71
echo " ";
$this->loadTemplate("database/structure/body_for_table_summary.twig", "database/structure/table_header.twig", 71)->display(twig_to_array(($context["body_for_table_summary"] ?? null)));
// line 72
echo " ";
}
// line 73
echo "</table>
</div>
";
// line 75
if (($context["check_all_tables"] ?? null)) {
// line 76
echo " ";
$this->loadTemplate("database/structure/check_all_tables.twig", "database/structure/table_header.twig", 76)->display(twig_to_array(($context["check_all_tables"] ?? null)));
}
// line 78
echo "</form>
";
// line 79
if (($context["check_all_tables"] ?? null)) {
// line 80
echo " ";
$this->loadTemplate("database/structure/bulk_action_modal.twig", "database/structure/table_header.twig", 80)->display(twig_to_array(($context["check_all_tables"] ?? null)));
}
}
public function getTemplateName()
{
return "database/structure/table_header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 245 => 80, 243 => 79, 240 => 78, 236 => 76, 234 => 75, 230 => 73, 227 => 72, 224 => 71, 222 => 70, 219 => 69, 213 => 68, 210 => 67, 206 => 66, 201 => 63, 195 => 61, 193 => 60, 191 => 59, 188 => 58, 182 => 56, 180 => 55, 178 => 54, 175 => 53, 169 => 51, 167 => 50, 165 => 49, 162 => 48, 156 => 46, 154 => 45, 151 => 44, 145 => 42, 143 => 41, 140 => 40, 134 => 38, 129 => 36, 127 => 35, 125 => 34, 122 => 33, 117 => 31, 112 => 30, 110 => 29, 105 => 27, 101 => 26, 98 => 25, 95 => 23, 89 => 21, 86 => 20, 83 => 19, 80 => 18, 77 => 17, 74 => 16, 71 => 15, 68 => 14, 66 => 13, 63 => 12, 57 => 10, 55 => 9, 51 => 8, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/table_header.twig", "/home/arif/public_html/pma/templates/database/structure/table_header.twig");
}
}

View File

@ -1,82 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* modals/preview_sql_modal.twig */
class __TwigTemplate_00afe169daedd6eb24b45f3f073d13a8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"modal fade\" id=\"previewSqlModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"previewSqlModalLabel\">";
echo _gettext("Loading");
// line 5
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 6
echo "\"></button>
</div>
<div class=\"modal-body\"></div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 10
echo "</button>
</div>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "modals/preview_sql_modal.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 10, 48 => 6, 44 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "modals/preview_sql_modal.twig", "/home/arif/public_html/pma/templates/modals/preview_sql_modal.twig");
}
}

View File

@ -489,6 +489,6 @@ echo _gettext("Edit partitioning");
public function getSourceContext()
{
return new Source("", "table/structure/display_partitions.twig", "/home/dev/web/arif.off/public_html/pma/templates/table/structure/display_partitions.twig");
return new Source("", "table/structure/display_partitions.twig", "/home/suvo/web/graffin.ns77.siliconpin.com/public_html/pma/templates/table/structure/display_partitions.twig");
}
}

View File

@ -1,551 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* import.twig */
class __TwigTemplate_a64ba9f52592f55bfc827c55b1d4dd30 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"container\">
<h2 class=\"my-3\">
";
// line 3
echo PhpMyAdmin\Html\Generator::getImage("b_import", _gettext("Import"));
echo "
";
// line 4
$this->displayBlock('title', $context, $blocks);
// line 5
echo " </h2>
";
// line 7
echo ($context["page_settings_error_html"] ?? null);
echo "
";
// line 8
echo ($context["page_settings_html"] ?? null);
echo "
<iframe id=\"import_upload_iframe\" name=\"import_upload_iframe\" width=\"1\" height=\"1\" class=\"hide\"></iframe>
<div id=\"import_form_status\" class=\"hide\"></div>
<div id=\"importmain\">
<img src=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true);
echo "\" width=\"16\" height=\"16\" alt=\"ajax clock\" class=\"hide\">
<script type=\"text/javascript\">
//<![CDATA[
";
// line 17
$this->loadTemplate("import/javascript.twig", "import.twig", 17)->display(twig_to_array(["upload_id" => ($context["upload_id"] ?? null), "handler" => ($context["handler"] ?? null)]));
// line 18
echo "//]]>
</script>
<form id=\"import_file_form\" action=\"";
// line 21
echo PhpMyAdmin\Url::getFromRoute("/import");
echo "\" method=\"post\" enctype=\"multipart/form-data\" name=\"import\" class=\"ajax\"";
// line 22
if ((($context["handler"] ?? null) != "PhpMyAdmin\\Plugins\\Import\\Upload\\UploadNoplugin")) {
echo " target=\"import_upload_iframe\"";
}
echo ">
";
// line 23
echo PhpMyAdmin\Url::getHiddenInputs(($context["hidden_inputs"] ?? null));
echo "
<div class=\"card mb-3\">
<div class=\"card-header\">";
echo _gettext("File to import:");
// line 26
echo "</div>
<div class=\"card-body\">
";
// line 29
echo " ";
if ( !twig_test_empty(($context["compressions"] ?? null))) {
// line 30
echo " <p class=\"card-text\">
";
// line 31
echo twig_escape_filter($this->env, twig_sprintf(_gettext("File may be compressed (%s) or uncompressed."), twig_join_filter(($context["compressions"] ?? null), ", ")), "html", null, true);
echo "<br>
";
echo _gettext("A compressed file's name must end in <strong>.[format].[compression]</strong>. Example: <strong>.sql.zip</strong>");
// line 33
echo " </p>
";
}
// line 35
echo "
";
// line 36
if ((($context["is_upload"] ?? null) && !twig_test_empty(($context["upload_dir"] ?? null)))) {
// line 37
echo " ";
$context["use_local_file_import"] = ( !twig_test_empty(($context["timeout_passed_global"] ?? null)) && !twig_test_empty(($context["local_import_file"] ?? null)));
// line 38
echo " <ul class=\"nav nav-pills mb-3\" id=\"importFileTab\" role=\"tablist\">
<li class=\"nav-item\" role=\"presentation\">
<button class=\"nav-link";
// line 40
echo (( !($context["use_local_file_import"] ?? null)) ? (" active") : (""));
echo "\" id=\"uploadFileTab\" data-bs-toggle=\"tab\" data-bs-target=\"#uploadFile\" type=\"button\" role=\"tab\" aria-controls=\"uploadFile\" aria-selected=\"";
echo (( !($context["use_local_file_import"] ?? null)) ? ("true") : ("false"));
echo "\">";
echo _gettext("Upload a file");
echo "</button>
</li>
<li class=\"nav-item\" role=\"presentation\">
<button class=\"nav-link";
// line 43
echo ((($context["use_local_file_import"] ?? null)) ? (" active") : (""));
echo "\" id=\"localFileTab\" data-bs-toggle=\"tab\" data-bs-target=\"#localFile\" type=\"button\" role=\"tab\" aria-controls=\"localFile\" aria-selected=\"";
echo ((($context["use_local_file_import"] ?? null)) ? ("true") : ("false"));
echo "\">";
echo _gettext("Select file to import");
echo "</button>
</li>
</ul>
<div class=\"tab-content mb-3\" id=\"importFileTabContent\">
<div class=\"tab-pane fade";
// line 47
echo (( !($context["use_local_file_import"] ?? null)) ? (" show active") : (""));
echo "\" id=\"uploadFile\" role=\"tabpanel\" aria-labelledby=\"uploadFileTab\">
<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"";
// line 48
echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true);
echo "\">
<div class=\"mb-3\">
<label class=\"form-label\" for=\"input_import_file\">";
echo _gettext("Browse your computer:");
// line 50
echo " <small>";
echo twig_escape_filter($this->env, ($context["formatted_maximum_upload_size"] ?? null), "html", null, true);
echo "</small></label>
<input class=\"form-control\" type=\"file\" name=\"import_file\" id=\"input_import_file\">
</div>
<div id=\"upload_form_status\" class=\"hide\"></div>
<div id=\"upload_form_status_info\" class=\"hide\"></div>
<p class=\"card-text\">";
echo _gettext("You may also drag and drop a file on any page.");
// line 55
echo "</p>
</div>
<div class=\"tab-pane fade";
// line 58
echo ((($context["use_local_file_import"] ?? null)) ? (" show active") : (""));
echo "\" id=\"localFile\" role=\"tabpanel\" aria-labelledby=\"localFileTab\">
";
// line 59
if ((($context["local_files"] ?? null) === false)) {
// line 60
echo " ";
echo $this->env->getFilter('error')->getCallable()(_gettext("The directory you set for upload work cannot be reached."));
echo "
";
} elseif ( !twig_test_empty( // line 61
($context["local_files"] ?? null))) {
// line 62
echo " <label class=\"form-label\" for=\"select_local_import_file\">";
echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_sprintf(_gettext("Select from the web server upload directory [strong]%s[/strong]:"), ($context["user_upload_dir"] ?? null)));
echo "</label>
<select class=\"form-select\" size=\"1\" name=\"local_import_file\" id=\"select_local_import_file\">
<option value=\"\"></option>
";
// line 65
echo ($context["local_files"] ?? null);
echo "
</select>
";
} else {
// line 68
echo " <div class=\"alert alert-info\" role=\"alert\">
";
echo _gettext("There are no files to import!");
// line 70
echo " </div>
";
}
// line 72
echo " </div>
</div>
";
} elseif ( // line 74
($context["is_upload"] ?? null)) {
// line 75
echo " <input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"";
echo twig_escape_filter($this->env, ($context["max_upload_size"] ?? null), "html", null, true);
echo "\">
<div class=\"mb-3\">
<label class=\"form-label\" for=\"input_import_file\">";
echo _gettext("Browse your computer:");
// line 77
echo " <small>";
echo twig_escape_filter($this->env, ($context["formatted_maximum_upload_size"] ?? null), "html", null, true);
echo "</small></label>
<input class=\"form-control\" type=\"file\" name=\"import_file\" id=\"input_import_file\">
</div>
<div id=\"upload_form_status\" class=\"hide\"></div>
<div id=\"upload_form_status_info\" class=\"hide\"></div>
<p class=\"card-text\">";
echo _gettext("You may also drag and drop a file on any page.");
// line 82
echo "</p>
";
} elseif ( !twig_test_empty( // line 83
($context["upload_dir"] ?? null))) {
// line 84
echo " ";
if ((($context["local_files"] ?? null) === false)) {
// line 85
echo " ";
echo $this->env->getFilter('error')->getCallable()(_gettext("The directory you set for upload work cannot be reached."));
echo "
";
} elseif ( !twig_test_empty( // line 86
($context["local_files"] ?? null))) {
// line 87
echo " <div class=\"mb-3\">
<label class=\"form-label\" for=\"select_local_import_file\">";
// line 88
echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_sprintf(_gettext("Select from the web server upload directory [strong]%s[/strong]:"), ($context["user_upload_dir"] ?? null)));
echo "</label>
<select class=\"form-select\" size=\"1\" name=\"local_import_file\" id=\"select_local_import_file\">
<option value=\"\"></option>
";
// line 91
echo ($context["local_files"] ?? null);
echo "
</select>
</div>
";
} else {
// line 95
echo " <div class=\"alert alert-info\" role=\"alert\">
";
echo _gettext("There are no files to import!");
// line 97
echo " </div>
";
}
// line 99
echo " ";
} else {
// line 100
echo " ";
echo $this->env->getFilter('notice')->getCallable()(_gettext("File uploads are not allowed on this server."));
echo "
";
}
// line 102
echo "
<label class=\"form-label\" for=\"charset_of_file\">";
echo _gettext("Character set of the file:");
// line 103
echo "</label>
";
// line 104
if (($context["is_encoding_supported"] ?? null)) {
// line 105
echo " <select class=\"form-select\" id=\"charset_of_file\" name=\"charset_of_file\" size=\"1\">
";
// line 106
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["encodings"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 107
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["charset"], "html", null, true);
echo "\"";
if (((twig_test_empty(($context["import_charset"] ?? null)) && ($context["charset"] == "utf-8")) || ($context["charset"] == ($context["import_charset"] ?? null)))) {
echo " selected";
}
echo ">";
// line 108
echo twig_escape_filter($this->env, $context["charset"], "html", null, true);
// line 109
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 111
echo " </select>
";
} else {
// line 113
echo " <select class=\"form-select\" lang=\"en\" dir=\"ltr\" name=\"charset_of_file\" id=\"charset_of_file\">
<option value=\"\"></option>
";
// line 115
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 116
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 116), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getDescription", [], "method", false, false, false, 116), "html", null, true);
echo "\"";
echo (((twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 116) == "utf8")) ? (" selected") : (""));
echo ">";
// line 117
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 117), "html", null, true);
// line 118
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 120
echo " </select>
";
}
// line 122
echo " </div>
</div>
<div class=\"card mb-3\">
<div class=\"card-header\">";
echo _gettext("Partial import:");
// line 126
echo "</div>
<div class=\"card-body\">
";
// line 128
if ((array_key_exists("timeout_passed", $context) && ($context["timeout_passed"] ?? null))) {
// line 129
echo " <input type=\"hidden\" name=\"skip\" value=\"";
echo twig_escape_filter($this->env, ($context["offset"] ?? null), "html", null, true);
echo "\">
<div class=\"alert alert-info\" role=\"alert\">
";
// line 131
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Previous import timed out, after resubmitting will continue from position %d."), ($context["offset"] ?? null)), "html", null, true);
echo "
</div>
";
}
// line 134
echo "
<div class=\"form-check form-switch mb-3\">
<input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"allow_interrupt\" value=\"yes\" id=\"checkbox_allow_interrupt\"";
// line 136
echo ($context["is_allow_interrupt_checked"] ?? null);
echo " aria-describedby=\"allowInterruptHelp\">
<label class=\"form-check-label\" for=\"checkbox_allow_interrupt\">
";
echo _gettext("Allow the interruption of an import in case the script detects it is close to the PHP timeout limit.");
// line 139
echo " </label>
<div id=\"allowInterruptHelp\" class=\"form-text\">";
echo _gettext("This might be a good way to import large files, however it can break transactions.");
// line 140
echo "</div>
</div>
";
// line 143
if ( !(array_key_exists("timeout_passed", $context) && ($context["timeout_passed"] ?? null))) {
// line 144
echo " <label class=\"form-label\" for=\"text_skip_queries\">";
echo _gettext("Skip this number of queries (for SQL) starting from the first one:");
echo "</label>
<input class=\"form-control\" type=\"number\" name=\"skip_queries\" value=\"";
// line 145
echo ($context["skip_queries_default"] ?? null);
echo "\" id=\"text_skip_queries\" min=\"0\">
";
} else {
// line 147
echo " ";
// line 148
echo " <input type=\"hidden\" name=\"skip_queries\" value=\"";
echo ($context["skip_queries_default"] ?? null);
echo "\" id=\"text_skip_queries\">
";
}
// line 150
echo " </div>
</div>
<div class=\"card mb-3\">
<div class=\"card-header\">";
echo _gettext("Other options");
// line 154
echo "</div>
<div class=\"card-body\">
<input type=\"hidden\" name=\"fk_checks\" value=\"0\">
<div class=\"form-check form-switch\">
<input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"fk_checks\" id=\"fk_checks\" value=\"1\"";
// line 158
echo ((($context["is_foreign_key_check"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"fk_checks\">";
echo _gettext("Enable foreign key checks");
// line 159
echo "</label>
</div>
</div>
</div>
<div class=\"card mb-3\">
<div class=\"card-header\">";
echo _gettext("Format");
// line 165
echo "</div>
<div class=\"card-body\">
<select class=\"form-select\" id=\"plugins\" name=\"format\" aria-label=\"";
echo _gettext("Format");
// line 167
echo "\">
";
// line 168
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 169
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 169), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 169)) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "text", [], "any", false, false, false, 169), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 171
echo " </select>
";
// line 173
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 174
echo " <input type=\"hidden\" id=\"force_file_";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 174), "html", null, true);
echo "\" value=\"true\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 176
echo "
<div id=\"import_notification\"></div>
</div>
</div>
<div class=\"card mb-3\" id=\"format_specific_opts\">
<div class=\"card-header\">";
echo _gettext("Format-specific options:");
// line 182
echo "</div>
<div class=\"card-body\">
";
// line 184
echo ($context["options"] ?? null);
echo "
</div>
</div>
";
// line 189
echo " ";
if (($context["can_convert_kanji"] ?? null)) {
// line 190
echo " <div class=\"card mb-3\" id=\"kanji_encoding\">
<div class=\"card-header\">";
echo _gettext("Encoding Conversion:");
// line 191
echo "</div>
<div class=\"card-body\">
";
// line 193
$this->loadTemplate("encoding/kanji_encoding_form.twig", "import.twig", 193)->display($context);
// line 194
echo " </div>
</div>
";
}
// line 197
echo "
<div id=\"submit\">
<input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Import");
// line 199
echo "\">
</div>
</form>
</div>
</div>
";
}
// line 4
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
}
public function getTemplateName()
{
return "import.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 527 => 4, 518 => 199, 513 => 197, 508 => 194, 506 => 193, 502 => 191, 498 => 190, 495 => 189, 488 => 184, 484 => 182, 475 => 176, 466 => 174, 462 => 173, 458 => 171, 445 => 169, 441 => 168, 438 => 167, 433 => 165, 424 => 159, 419 => 158, 413 => 154, 406 => 150, 400 => 148, 398 => 147, 393 => 145, 388 => 144, 386 => 143, 381 => 140, 377 => 139, 371 => 136, 367 => 134, 361 => 131, 355 => 129, 353 => 128, 349 => 126, 342 => 122, 338 => 120, 331 => 118, 329 => 117, 321 => 116, 317 => 115, 313 => 113, 309 => 111, 302 => 109, 300 => 108, 292 => 107, 288 => 106, 285 => 105, 283 => 104, 280 => 103, 276 => 102, 270 => 100, 267 => 99, 263 => 97, 259 => 95, 252 => 91, 246 => 88, 243 => 87, 241 => 86, 236 => 85, 233 => 84, 231 => 83, 228 => 82, 218 => 77, 211 => 75, 209 => 74, 205 => 72, 201 => 70, 197 => 68, 191 => 65, 184 => 62, 182 => 61, 177 => 60, 175 => 59, 171 => 58, 166 => 55, 156 => 50, 150 => 48, 146 => 47, 135 => 43, 125 => 40, 121 => 38, 118 => 37, 116 => 36, 113 => 35, 109 => 33, 104 => 31, 101 => 30, 98 => 29, 94 => 26, 87 => 23, 81 => 22, 78 => 21, 73 => 18, 71 => 17, 64 => 13, 56 => 8, 52 => 7, 48 => 5, 46 => 4, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "import.twig", "/home/arif/public_html/pma/templates/import.twig");
}
}

View File

@ -1,82 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* modals/unhide_nav_item.twig */
class __TwigTemplate_46274d2d89169710a9ce541313d4e9d6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"modal fade\" id=\"unhideNavItemModal\" tabindex=\"-1\" aria-labelledby=\"unhideNavItemModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"unhideNavItemModalLabel\">";
echo _gettext("Show hidden navigation tree items.");
// line 5
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 6
echo "\"></button>
</div>
<div class=\"modal-body\"></div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 10
echo "</button>
</div>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "modals/unhide_nav_item.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 10, 48 => 6, 44 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "modals/unhide_nav_item.twig", "/home/arif/public_html/pma/templates/modals/unhide_nav_item.twig");
}
}

View File

@ -85,6 +85,6 @@ echo _gettext("Close");
public function getSourceContext()
{
return new Source("", "modals/preview_sql_confirmation.twig", "/home/dev/web/arif.off/public_html/pma/templates/modals/preview_sql_confirmation.twig");
return new Source("", "modals/preview_sql_confirmation.twig", "/home/suvo/web/graffin.ns77.siliconpin.com/public_html/pma/templates/modals/preview_sql_confirmation.twig");
}
}

View File

@ -1,483 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/operations/index.twig */
class __TwigTemplate_66ad626f053178913b041e039f33d640 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"container-fluid\">
";
// line 3
echo ($context["message"] ?? null);
echo "
";
// line 5
if (($context["has_comment"] ?? null)) {
// line 6
echo " <form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/operations");
echo "\" id=\"formDatabaseComment\">
";
// line 7
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"card mb-2\">
<div class=\"card-header\">";
// line 9
echo PhpMyAdmin\Html\Generator::getIcon("b_comment", _gettext("Database comment"), true);
echo "</div>
<div class=\"card-body\">
<div class=\"row g-3\">
<div class=\"col-auto\">
<label class=\"visually-hidden\" for=\"databaseCommentInput\">";
echo _gettext("Database comment");
// line 13
echo "</label>
<input class=\"form-control textfield\" id=\"databaseCommentInput\" type=\"text\" name=\"comment\" value=\"";
// line 14
echo twig_escape_filter($this->env, ($context["db_comment"] ?? null), "html", null, true);
echo "\">
</div>
</div>
</div>
<div class=\"card-footer text-end\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Go");
// line 19
echo "\">
</div>
</div>
</form>
";
}
// line 24
echo "
<form id=\"createTableMinimalForm\" method=\"post\" action=\"";
// line 25
echo PhpMyAdmin\Url::getFromRoute("/table/create");
echo "\" class=\"card mb-2 lock-page\">
";
// line 26
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"card-header\">";
// line 27
echo PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true);
echo "</div>
<div class=\"card-body row row-cols-lg-auto g-3\">
<div class=\"col-md-6\">
<label for=\"createTableNameInput\" class=\"form-label\">";
echo _gettext("Table name");
// line 30
echo "</label>
<input type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required>
</div>
<div class=\"col-md-6\">
<label for=\"createTableNumFieldsInput\" class=\"form-label\">";
echo _gettext("Number of columns");
// line 34
echo "</label>
<input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required>
</div>
</div>
<div class=\"card-footer text-end\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Create");
// line 39
echo "\">
</div>
</form>
";
// line 43
if ((($context["db"] ?? null) != "mysql")) {
// line 44
echo " <form id=\"rename_db_form\" class=\"ajax\" method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/operations");
echo "\">
";
// line 45
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<input type=\"hidden\" name=\"what\" value=\"data\">
<input type=\"hidden\" name=\"db_rename\" value=\"true\">
";
// line 49
if ( !twig_test_empty(($context["db_collation"] ?? null))) {
// line 50
echo " <input type=\"hidden\" name=\"db_collation\" value=\"";
echo twig_escape_filter($this->env, ($context["db_collation"] ?? null), "html", null, true);
echo "\">
";
}
// line 52
echo "
<div class=\"card mb-2\">
<div class=\"card-header\">";
// line 54
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Rename database to"), true);
echo "</div>
<div class=\"card-body\">
<div class=\"mb-3 row g-3\">
<div class=\"col-auto\">
<label class=\"visually-hidden\" for=\"new_db_name\">";
echo _gettext("New database name");
// line 58
echo "</label>
<input class=\"form-control textfield\" id=\"new_db_name\" type=\"text\" name=\"newname\" maxlength=\"64\" required>
</div>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_adjust_privileges\"";
// line 65
if (($context["has_adjust_privileges"] ?? null)) {
echo " checked";
} else {
echo " title=\"";
echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details.");
// line 66
echo "\" disabled";
}
echo ">
<label class=\"form-check-label\" for=\"checkbox_adjust_privileges\">
";
echo _gettext("Adjust privileges");
// line 69
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39");
echo "
</label>
</div>
</div>
<div class=\"card-footer text-end\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Go");
// line 75
echo "\">
</div>
</div>
</form>
";
}
// line 80
echo "
";
// line 81
if (($context["is_drop_database_allowed"] ?? null)) {
// line 82
echo " <div class=\"card mb-2\">
<div class=\"card-header\">";
// line 83
echo PhpMyAdmin\Html\Generator::getIcon("b_deltbl", _gettext("Remove database"), true);
echo "</div>
<div class=\"card-body\">
<div class=\"card-text\">
";
// line 86
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["sql_query" => ("DROP DATABASE " . PhpMyAdmin\Util::backquote( // line 89
($context["db"] ?? null))), "back" => PhpMyAdmin\Url::getFromRoute("/database/operations"), "goto" => PhpMyAdmin\Url::getFromRoute("/"), "reload" => true, "purge" => true, "message_to_show" => twig_escape_filter($this->env, twig_sprintf(_gettext("Database %s has been dropped."), PhpMyAdmin\Util::backquote( // line 94
($context["db"] ?? null)))), "db" => null], _gettext("Drop the database (DROP)"), ["id" => "drop_db_anchor", "class" => "ajax text-danger"]);
// line 102
echo "
";
// line 103
echo PhpMyAdmin\Html\MySQLDocumentation::show("DROP_DATABASE");
echo "
</div>
</div>
</div>
";
}
// line 108
echo "
<form id=\"copy_db_form\" class=\"ajax\" method=\"post\" action=\"";
// line 109
echo PhpMyAdmin\Url::getFromRoute("/database/operations");
echo "\">
";
// line 110
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<input type=\"hidden\" name=\"db_copy\" value=\"true\">
";
// line 113
if ( !twig_test_empty(($context["db_collation"] ?? null))) {
// line 114
echo " <input type=\"hidden\" name=\"db_collation\" value=\"";
echo twig_escape_filter($this->env, ($context["db_collation"] ?? null), "html", null, true);
echo "\">
";
}
// line 116
echo "
<div class=\"card mb-2\">
<div class=\"card-header\">";
// line 118
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Copy database to"), true);
echo "</div>
<div class=\"card-body\">
<div class=\"mb-3 row g-3\">
<div class=\"col-auto\">
<label class=\"visually-hidden\" for=\"renameDbNameInput\">";
echo _gettext("Database name");
// line 122
echo "</label>
<input class=\"form-control textfield\" id=\"renameDbNameInput\" type=\"text\" maxlength=\"64\" name=\"newname\" required>
</div>
</div>
<div class=\"mb-3\">
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio1\" value=\"structure\">
<label class=\"form-check-label\" for=\"whatRadio1\">
";
echo _gettext("Structure only");
// line 132
echo " </label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio2\" value=\"data\" checked>
<label class=\"form-check-label\" for=\"whatRadio2\">
";
echo _gettext("Structure and data");
// line 138
echo " </label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio3\" value=\"dataonly\">
<label class=\"form-check-label\" for=\"whatRadio3\">
";
echo _gettext("Data only");
// line 144
echo " </label>
</div>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"create_database_before_copying\" value=\"1\" id=\"checkbox_create_database_before_copying\" checked>
<label class=\"form-check-label\" for=\"checkbox_create_database_before_copying\">";
echo _gettext("CREATE DATABASE before copying");
// line 150
echo "</label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"drop_if_exists\" value=\"true\" id=\"checkbox_drop\">
<label class=\"form-check-label\" for=\"checkbox_drop\">";
// line 155
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Add %s"), "DROP TABLE / DROP VIEW"), "html", null, true);
echo "</label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"sql_auto_increment\" value=\"1\" id=\"checkbox_auto_increment\" checked>
<label class=\"form-check-label\" for=\"checkbox_auto_increment\">";
echo _gettext("Add AUTO_INCREMENT value");
// line 160
echo "</label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"add_constraints\" value=\"1\" id=\"checkbox_constraints\" checked>
<label class=\"form-check-label\" for=\"checkbox_constraints\">";
echo _gettext("Add constraints");
// line 165
echo "</label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_privileges\"";
// line 170
if (($context["has_adjust_privileges"] ?? null)) {
echo " checked";
} else {
echo " title=\"";
echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details.");
// line 171
echo "\" disabled";
}
echo ">
<label class=\"form-check-label\" for=\"checkbox_privileges\">
";
echo _gettext("Adjust privileges");
// line 174
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39");
echo "
</label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"switch_to_new\" value=\"true\" id=\"checkbox_switch\"";
// line 179
echo ((($context["switch_to_new"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"checkbox_switch\">";
echo _gettext("Switch to copied database");
// line 180
echo "</label>
</div>
</div>
<div class=\"card-footer text-end\">
<input class=\"btn btn-primary\" type=\"submit\" name=\"submit_copy\" value=\"";
echo _gettext("Go");
// line 185
echo "\">
</div>
</div>
</form>
<form id=\"change_db_charset_form\" class=\"ajax\" method=\"post\" action=\"";
// line 190
echo PhpMyAdmin\Url::getFromRoute("/database/operations/collation");
echo "\">
";
// line 191
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"card mb-2\">
<div class=\"card-header\">";
// line 194
echo PhpMyAdmin\Html\Generator::getIcon("s_asci", _gettext("Collation"), true);
echo "</div>
<div class=\"card-body\">
<div class=\"mb-3 row g-3\">
<div class=\"col-auto\">
<label class=\"visually-hidden\" for=\"select_db_collation\">";
echo _gettext("Collation");
// line 198
echo "</label>
<select class=\"form-select\" lang=\"en\" dir=\"ltr\" name=\"db_collation\" id=\"select_db_collation\">
<option value=\"\"></option>
";
// line 201
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 202
echo " <optgroup label=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 202), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getDescription", [], "method", false, false, false, 202), "html", null, true);
echo "\">
";
// line 203
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((($__internal_compile_0 = ($context["collations"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 203)] ?? null) : null));
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
// line 204
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 204), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getDescription", [], "method", false, false, false, 204), "html", null, true);
echo "\"";
echo (((($context["db_collation"] ?? null) == twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 204))) ? (" selected") : (""));
echo ">
";
// line 205
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 205), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 208
echo " </optgroup>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 210
echo " </select>
</div>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"change_all_tables_collations\" id=\"checkbox_change_all_tables_collations\">
<label class=\"form-check-label\" for=\"checkbox_change_all_tables_collations\">";
echo _gettext("Change all tables collations");
// line 216
echo "</label>
</div>
<div class=\"form-check\" id=\"span_change_all_tables_columns_collations\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"change_all_tables_columns_collations\" id=\"checkbox_change_all_tables_columns_collations\">
<label class=\"form-check-label\" for=\"checkbox_change_all_tables_columns_collations\">";
echo _gettext("Change all tables columns collations");
// line 220
echo "</label>
</div>
</div>
<div class=\"card-footer text-end\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Go");
// line 225
echo "\">
</div>
</div>
</form>
</div>
";
}
public function getTemplateName()
{
return "database/operations/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 455 => 225, 447 => 220, 440 => 216, 431 => 210, 424 => 208, 415 => 205, 406 => 204, 402 => 203, 395 => 202, 391 => 201, 386 => 198, 378 => 194, 372 => 191, 368 => 190, 361 => 185, 353 => 180, 348 => 179, 339 => 174, 332 => 171, 326 => 170, 320 => 165, 312 => 160, 303 => 155, 296 => 150, 287 => 144, 279 => 138, 271 => 132, 259 => 122, 251 => 118, 247 => 116, 241 => 114, 239 => 113, 233 => 110, 229 => 109, 226 => 108, 218 => 103, 215 => 102, 213 => 94, 212 => 89, 211 => 86, 205 => 83, 202 => 82, 200 => 81, 197 => 80, 190 => 75, 179 => 69, 172 => 66, 166 => 65, 158 => 58, 150 => 54, 146 => 52, 140 => 50, 138 => 49, 131 => 45, 126 => 44, 124 => 43, 118 => 39, 110 => 34, 103 => 30, 96 => 27, 92 => 26, 88 => 25, 85 => 24, 78 => 19, 69 => 14, 66 => 13, 58 => 9, 53 => 7, 48 => 6, 46 => 5, 41 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/operations/index.twig", "/home/arif/public_html/pma/templates/database/operations/index.twig");
}
}

View File

@ -1,99 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* console/query_action.twig */
class __TwigTemplate_6235daff5a93ddc0e4c667d727b591ec extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"";
echo twig_escape_filter($this->env, ($context["parent_div_classes"] ?? null), "html", null, true);
echo "\">
";
// line 2
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["content_array"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
// line 3
echo " ";
if (array_key_exists("content", $context)) {
// line 4
echo " <span class=\"";
echo twig_escape_filter($this->env, (($__internal_compile_0 = $context["content"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true);
echo "\">
";
// line 5
echo twig_escape_filter($this->env, (($__internal_compile_1 = $context["content"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true);
echo "
";
// line 6
if (twig_get_attribute($this->env, $this->source, $context["content"], "extraSpan", [], "array", true, true, false, 6)) {
// line 7
echo " : <span>";
echo twig_escape_filter($this->env, (($__internal_compile_2 = $context["content"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["extraSpan"] ?? null) : null), "html", null, true);
echo "</span>
";
}
// line 9
echo " </span>
";
}
// line 11
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 12
echo "</div>
";
}
public function getTemplateName()
{
return "console/query_action.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 76 => 12, 70 => 11, 66 => 9, 60 => 7, 58 => 6, 54 => 5, 49 => 4, 46 => 3, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "console/query_action.twig", "/home/arif/public_html/pma/templates/console/query_action.twig");
}
}

View File

@ -1,91 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* navigation/tree/path.twig */
class __TwigTemplate_b6ce1fac81e87350eb43977a7204b3d6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class='list_container hide'>
<ul";
// line 2
echo ((($context["has_search_results"] ?? null)) ? (" class=\"search_results\"") : (""));
echo ">
";
// line 3
echo ($context["list_content"] ?? null);
echo "
</ul>
";
// line 6
if ( !($context["is_tree"] ?? null)) {
// line 7
echo " <span class='hide loaded_db'>";
echo twig_escape_filter($this->env, twig_urlencode_filter(($context["parent_name"] ?? null)), "html", null, true);
echo "</span>
";
// line 8
if (twig_test_empty(($context["list_content"] ?? null))) {
// line 9
echo " <div>";
echo _gettext("No tables found in database.");
echo "</div>
";
}
// line 11
echo " ";
}
// line 12
echo "</div>
";
}
public function getTemplateName()
{
return "navigation/tree/path.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 68 => 12, 65 => 11, 59 => 9, 57 => 8, 52 => 7, 50 => 6, 44 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "navigation/tree/path.twig", "/home/arif/public_html/pma/templates/navigation/tree/path.twig");
}
}

View File

@ -1,563 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/structure_table_row.twig */
class __TwigTemplate_72f65346d448bd2e28385c77bcc5e9b7 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<tr id=\"row_tbl_";
echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true);
echo "\"";
echo ((($context["table_is_view"] ?? null)) ? (" class=\"is_view\"") : (""));
echo " data-filter-row=\"";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, (($__internal_compile_0 = ($context["current_table"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_NAME"] ?? null) : null)), "html", null, true);
echo "\">
<td class=\"text-center d-print-none\">
<input type=\"checkbox\"
name=\"selected_tbl[]\"
class=\"";
// line 5
echo twig_escape_filter($this->env, ($context["input_class"] ?? null), "html", null, true);
echo "\"
value=\"";
// line 6
echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["current_table"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_NAME"] ?? null) : null), "html", null, true);
echo "\"
id=\"checkbox_tbl_";
// line 7
echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true);
echo "\">
</td>
<th>
<a href=\"";
// line 10
echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0]));
echo "\" title=\"";
echo twig_escape_filter($this->env, ($context["browse_table_label_title"] ?? null), "html", null, true);
echo "\">";
// line 11
echo twig_escape_filter($this->env, ($context["browse_table_label_truename"] ?? null), "html", null, true);
// line 12
echo "</a>
";
// line 13
echo ($context["tracking_icon"] ?? null);
echo "
</th>
";
// line 15
if (($context["server_replica_status"] ?? null)) {
// line 16
echo " <td class=\"text-center\">
";
// line 17
echo ((($context["ignored"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_cancel", _gettext("Not replicated"))) : (""));
echo "
";
// line 18
echo ((($context["do"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_success", _gettext("Replicated"))) : (""));
echo "
</td>
";
}
// line 21
echo "
";
// line 23
echo " ";
if ((($context["num_favorite_tables"] ?? null) > 0)) {
// line 24
echo " <td class=\"text-center d-print-none\">
";
// line 26
echo " ";
$context["fav_params"] = ["db" => // line 27
($context["db"] ?? null), "ajax_request" => true, "favorite_table" => (($__internal_compile_2 = // line 29
($context["current_table"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["TABLE_NAME"] ?? null) : null), ((( // line 30
($context["already_favorite"] ?? null)) ? ("remove") : ("add")) . "_favorite") => true];
// line 32
echo " ";
$this->loadTemplate("database/structure/favorite_anchor.twig", "database/structure/structure_table_row.twig", 32)->display(twig_to_array(["table_name_hash" => // line 33
($context["table_name_hash"] ?? null), "db_table_name_hash" => // line 34
($context["db_table_name_hash"] ?? null), "fav_params" => // line 35
($context["fav_params"] ?? null), "already_favorite" => // line 36
($context["already_favorite"] ?? null)]));
// line 38
echo " </td>
";
}
// line 40
echo "
<td class=\"text-center d-print-none\">
<a href=\"";
// line 42
echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0]));
echo "\">
";
// line 43
echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_browse", _gettext("Browse"))));
echo "
</a>
</td>
<td class=\"text-center d-print-none\">
<a href=\"";
// line 47
echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null));
echo "\">
";
// line 48
echo PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Structure"));
echo "
</a>
</td>
<td class=\"text-center d-print-none\">
<a href=\"";
// line 52
echo PhpMyAdmin\Url::getFromRoute("/table/search", ($context["table_url_params"] ?? null));
echo "\">
";
// line 53
echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Search"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_select", _gettext("Search"))));
echo "
</a>
</td>
";
// line 57
if ( !($context["db_is_system_schema"] ?? null)) {
// line 58
echo " <td class=\"insert_table text-center d-print-none\">
<a href=\"";
// line 59
echo PhpMyAdmin\Url::getFromRoute("/table/change", ($context["table_url_params"] ?? null));
echo "\">";
echo PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Insert"));
echo "</a>
</td>
";
// line 61
if (($context["table_is_view"] ?? null)) {
// line 62
echo " <td class=\"text-center d-print-none\">
<a href=\"";
// line 63
echo PhpMyAdmin\Url::getFromRoute("/view/create", ["db" => // line 64
($context["db"] ?? null), "table" => (($__internal_compile_3 = // line 65
($context["current_table"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["TABLE_NAME"] ?? null) : null)]);
// line 66
echo "\">";
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit"));
echo "</a>
</td>
";
} else {
// line 69
echo " <td class=\"text-center d-print-none\">
<a class=\"truncate_table_anchor ajax\" href=\"";
// line 70
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["sql_query" => // line 71
($context["empty_table_sql_query"] ?? null), "message_to_show" => // line 72
($context["empty_table_message_to_show"] ?? null)]), "");
// line 73
echo "\">
";
// line 74
echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Empty"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_empty", _gettext("Empty"))));
echo "
</a>
</td>
";
}
// line 78
echo " <td class=\"text-center d-print-none\">
<a class=\"ajax drop_table_anchor";
// line 80
echo (((($context["table_is_view"] ?? null) || ((($__internal_compile_4 = ($context["current_table"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["ENGINE"] ?? null) : null) == null))) ? (" view") : (""));
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
// line 81
echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["reload" => 1, "purge" => 1, "sql_query" => // line 84
($context["drop_query"] ?? null), "message_to_show" => // line 85
($context["drop_message"] ?? null)]), "");
// line 86
echo "\">
";
// line 87
echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
echo "
</a>
</td>
";
}
// line 91
echo "
";
// line 92
if ((twig_get_attribute($this->env, $this->source, ($context["current_table"] ?? null), "TABLE_ROWS", [], "array", true, true, false, 92) && (((($__internal_compile_5 = // line 93
($context["current_table"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["ENGINE"] ?? null) : null) != null) || ($context["table_is_view"] ?? null)))) {
// line 94
echo " ";
// line 95
echo " ";
$context["row_count"] = PhpMyAdmin\Util::formatNumber((($__internal_compile_6 = ($context["current_table"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["TABLE_ROWS"] ?? null) : null), 0);
// line 96
echo "
";
// line 99
echo " <td class=\"value tbl_rows font-monospace text-end\"
data-table=\"";
// line 100
echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["current_table"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["TABLE_NAME"] ?? null) : null), "html", null, true);
echo "\">
";
// line 101
if (($context["approx_rows"] ?? null)) {
// line 102
echo " <a href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ["ajax_request" => true, "db" => // line 104
($context["db"] ?? null), "table" => (($__internal_compile_8 = // line 105
($context["current_table"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["TABLE_NAME"] ?? null) : null)]);
// line 106
echo "\" class=\"ajax real_row_count\">
<bdi>
~";
// line 108
echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true);
echo "
</bdi>
</a>
";
} else {
// line 112
echo " ";
echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true);
echo "
";
}
// line 114
echo " ";
echo ($context["show_superscript"] ?? null);
echo "
</td>
";
// line 117
if ( !(($context["properties_num_columns"] ?? null) > 1)) {
// line 118
echo " <td class=\"text-nowrap\">
";
// line 119
if ( !twig_test_empty((($__internal_compile_9 = ($context["current_table"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["ENGINE"] ?? null) : null))) {
// line 120
echo " ";
echo twig_escape_filter($this->env, (($__internal_compile_10 = ($context["current_table"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["ENGINE"] ?? null) : null), "html", null, true);
echo "
";
} elseif ( // line 121
($context["table_is_view"] ?? null)) {
// line 122
echo " ";
echo _gettext("View");
// line 123
echo " ";
}
// line 124
echo " </td>
";
// line 125
if ((twig_length_filter($this->env, ($context["collation"] ?? null)) > 0)) {
// line 126
echo " <td class=\"text-nowrap\">
";
// line 127
echo ($context["collation"] ?? null);
echo "
</td>
";
}
// line 130
echo " ";
}
// line 131
echo "
";
// line 132
if (($context["is_show_stats"] ?? null)) {
// line 133
echo " <td class=\"value tbl_size font-monospace text-end\">
<a href=\"";
// line 134
echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null));
echo "#showusage\">
<span>";
// line 135
echo twig_escape_filter($this->env, ($context["formatted_size"] ?? null), "html", null, true);
echo "</span>&nbsp;<span class=\"unit\">";
echo twig_escape_filter($this->env, ($context["unit"] ?? null), "html", null, true);
echo "</span>
</a>
</td>
<td class=\"value tbl_overhead font-monospace text-end\">
";
// line 139
echo ($context["overhead"] ?? null);
echo "
</td>
";
}
// line 142
echo "
";
// line 143
if ( !(($context["show_charset"] ?? null) > 1)) {
// line 144
echo " ";
if ((twig_length_filter($this->env, ($context["charset"] ?? null)) > 0)) {
// line 145
echo " <td class=\"text-nowrap\">
";
// line 146
echo ($context["charset"] ?? null);
echo "
</td>
";
}
// line 149
echo " ";
}
// line 150
echo "
";
// line 151
if (($context["show_comment"] ?? null)) {
// line 152
echo " ";
$context["comment"] = (($__internal_compile_11 = ($context["current_table"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Comment"] ?? null) : null);
// line 153
echo " <td>
";
// line 154
if ((twig_length_filter($this->env, ($context["comment"] ?? null)) > ($context["limit_chars"] ?? null))) {
// line 155
echo " <abbr title=\"";
echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true);
echo "\">
";
// line 156
echo twig_escape_filter($this->env, twig_slice($this->env, ($context["comment"] ?? null), 0, ($context["limit_chars"] ?? null)), "html", null, true);
echo "
...
</abbr>
";
} else {
// line 160
echo " ";
echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true);
echo "
";
}
// line 162
echo " </td>
";
}
// line 164
echo "
";
// line 165
if (($context["show_creation"] ?? null)) {
// line 166
echo " <td class=\"value tbl_creation font-monospace text-end\">
";
// line 167
echo twig_escape_filter($this->env, ($context["create_time"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 170
echo "
";
// line 171
if (($context["show_last_update"] ?? null)) {
// line 172
echo " <td class=\"value tbl_last_update font-monospace text-end\">
";
// line 173
echo twig_escape_filter($this->env, ($context["update_time"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 176
echo "
";
// line 177
if (($context["show_last_check"] ?? null)) {
// line 178
echo " <td class=\"value tbl_last_check font-monospace text-end\">
";
// line 179
echo twig_escape_filter($this->env, ($context["check_time"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 182
echo "
";
} elseif ( // line 183
($context["table_is_view"] ?? null)) {
// line 184
echo " <td class=\"value tbl_rows font-monospace text-end\">-</td>
<td class=\"text-nowrap\">
";
echo _gettext("View");
// line 187
echo " </td>
<td class=\"text-nowrap\">---</td>
";
// line 189
if (($context["is_show_stats"] ?? null)) {
// line 190
echo " <td class=\"value tbl_size font-monospace text-end\">-</td>
<td class=\"value tbl_overhead font-monospace text-end\">-</td>
";
}
// line 193
echo " ";
if (($context["show_charset"] ?? null)) {
// line 194
echo " <td></td>
";
}
// line 196
echo " ";
if (($context["show_comment"] ?? null)) {
// line 197
echo " <td></td>
";
}
// line 199
echo " ";
if (($context["show_creation"] ?? null)) {
// line 200
echo " <td class=\"value tbl_creation font-monospace text-end\">-</td>
";
}
// line 202
echo " ";
if (($context["show_last_update"] ?? null)) {
// line 203
echo " <td class=\"value tbl_last_update font-monospace text-end\">-</td>
";
}
// line 205
echo " ";
if (($context["show_last_check"] ?? null)) {
// line 206
echo " <td class=\"value tbl_last_check font-monospace text-end\">-</td>
";
}
// line 208
echo "
";
} else {
// line 210
echo "
";
// line 211
if (($context["db_is_system_schema"] ?? null)) {
// line 212
echo " ";
$context["action_colspan"] = 3;
// line 213
echo " ";
} else {
// line 214
echo " ";
$context["action_colspan"] = 6;
// line 215
echo " ";
}
// line 216
echo " ";
if ((($context["num_favorite_tables"] ?? null) > 0)) {
// line 217
echo " ";
$context["action_colspan"] = (($context["action_colspan"] ?? null) + 1);
// line 218
echo " ";
}
// line 219
echo "
";
// line 220
$context["colspan_for_structure"] = (($context["action_colspan"] ?? null) + 3);
// line 221
echo " <td colspan=\"";
echo (((($context["colspan_for_structure"] ?? null) - ($context["db_is_system_schema"] ?? null))) ? (6) : (9));
echo "\"
class=\"text-center\">
";
echo _gettext("in use");
// line 224
echo " </td>
";
}
// line 226
echo "</tr>
";
}
public function getTemplateName()
{
return "database/structure/structure_table_row.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 540 => 226, 536 => 224, 529 => 221, 527 => 220, 524 => 219, 521 => 218, 518 => 217, 515 => 216, 512 => 215, 509 => 214, 506 => 213, 503 => 212, 501 => 211, 498 => 210, 494 => 208, 490 => 206, 487 => 205, 483 => 203, 480 => 202, 476 => 200, 473 => 199, 469 => 197, 466 => 196, 462 => 194, 459 => 193, 454 => 190, 452 => 189, 448 => 187, 443 => 184, 441 => 183, 438 => 182, 432 => 179, 429 => 178, 427 => 177, 424 => 176, 418 => 173, 415 => 172, 413 => 171, 410 => 170, 404 => 167, 401 => 166, 399 => 165, 396 => 164, 392 => 162, 386 => 160, 379 => 156, 374 => 155, 372 => 154, 369 => 153, 366 => 152, 364 => 151, 361 => 150, 358 => 149, 352 => 146, 349 => 145, 346 => 144, 344 => 143, 341 => 142, 335 => 139, 326 => 135, 322 => 134, 319 => 133, 317 => 132, 314 => 131, 311 => 130, 305 => 127, 302 => 126, 300 => 125, 297 => 124, 294 => 123, 291 => 122, 289 => 121, 284 => 120, 282 => 119, 279 => 118, 277 => 117, 270 => 114, 264 => 112, 257 => 108, 253 => 106, 251 => 105, 250 => 104, 248 => 102, 246 => 101, 242 => 100, 239 => 99, 236 => 96, 233 => 95, 231 => 94, 229 => 93, 228 => 92, 225 => 91, 218 => 87, 215 => 86, 213 => 85, 212 => 84, 211 => 81, 206 => 80, 203 => 78, 196 => 74, 193 => 73, 191 => 72, 190 => 71, 187 => 70, 184 => 69, 177 => 66, 175 => 65, 174 => 64, 173 => 63, 170 => 62, 168 => 61, 161 => 59, 158 => 58, 156 => 57, 149 => 53, 145 => 52, 138 => 48, 134 => 47, 127 => 43, 123 => 42, 119 => 40, 115 => 38, 113 => 36, 112 => 35, 111 => 34, 110 => 33, 108 => 32, 106 => 30, 105 => 29, 104 => 27, 102 => 26, 99 => 24, 96 => 23, 93 => 21, 87 => 18, 83 => 17, 80 => 16, 78 => 15, 73 => 13, 70 => 12, 68 => 11, 63 => 10, 57 => 7, 53 => 6, 49 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/structure_table_row.twig", "/home/arif/public_html/pma/templates/database/structure/structure_table_row.twig");
}
}

View File

@ -1,502 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* columns_definitions/partitions.twig */
class __TwigTemplate_87c8d6a9bb025f5a957415bc8c9b04bd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context["partition_options"] = [0 => "", 1 => "HASH", 2 => "LINEAR HASH", 3 => "KEY", 4 => "LINEAR KEY", 5 => "RANGE", 6 => "RANGE COLUMNS", 7 => "LIST", 8 => "LIST COLUMNS"];
// line 12
$context["sub_partition_options"] = [0 => "", 1 => "HASH", 2 => "LINEAR HASH", 3 => "KEY", 4 => "LINEAR KEY"];
// line 13
$context["value_type_options"] = [0 => "", 1 => "LESS THAN", 2 => "LESS THAN MAXVALUE", 3 => "IN"];
// line 14
echo "
<table class=\"table table-borderless w-auto align-middle mb-0\" id=\"partition_table\">
<tr class=\"align-middle\">
<td><label for=\"partition_by\">";
echo _gettext("Partition by:");
// line 17
echo "</label></td>
<td>
<select name=\"partition_by\" id=\"partition_by\">
";
// line 20
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["partition_options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 21
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "\"";
// line 22
if (((($__internal_compile_0 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["partition_by"] ?? null) : null) == $context["option"])) {
// line 23
echo " selected=\"selected\"";
}
// line 24
echo ">
";
// line 25
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 28
echo " </select>
</td>
<td>
(<input name=\"partition_expr\" type=\"text\"
placeholder=\"";
echo _gettext("Expression or column list");
// line 32
echo "\"
value=\"";
// line 33
echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["partition_expr"] ?? null) : null), "html", null, true);
echo "\">)
</td>
</tr>
<tr class=\"align-middle\">
<td><label for=\"partition_count\">";
echo _gettext("Partitions:");
// line 37
echo "</label></td>
<td colspan=\"2\">
<input name=\"partition_count\" type=\"number\" min=\"2\"
value=\"";
// line 40
(((($__internal_compile_2 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["partition_count"] ?? null) : null)) ? (print (twig_escape_filter($this->env, (($__internal_compile_3 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["partition_count"] ?? null) : null), "html", null, true))) : (print ("")));
echo "\">
</td>
</tr>
";
// line 43
if ((($__internal_compile_4 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["can_have_subpartitions"] ?? null) : null)) {
// line 44
echo " <tr class=\"align-middle\">
<td><label for=\"subpartition_by\">";
echo _gettext("Subpartition by:");
// line 45
echo "</label></td>
<td>
<select name=\"subpartition_by\" id=\"subpartition_by\">
";
// line 48
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["sub_partition_options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 49
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "\"";
// line 50
if (((($__internal_compile_5 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["subpartition_by"] ?? null) : null) == $context["option"])) {
// line 51
echo " selected=\"selected\"";
}
// line 52
echo ">
";
// line 53
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 56
echo " </select>
</td>
<td>
(<input name=\"subpartition_expr\" type=\"text\"
placeholder=\"";
echo _gettext("Expression or column list");
// line 60
echo "\"
value=\"";
// line 61
echo twig_escape_filter($this->env, (($__internal_compile_6 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["subpartition_expr"] ?? null) : null), "html", null, true);
echo "\">)
</td>
</tr>
<tr class=\"align-middle\">
<td><label for=\"subpartition_count\">";
echo _gettext("Subpartitions:");
// line 65
echo "</label></td>
<td colspan=\"2\">
<input name=\"subpartition_count\" type=\"number\" min=\"2\"
value=\"";
// line 68
(((($__internal_compile_7 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["subpartition_count"] ?? null) : null)) ? (print (twig_escape_filter($this->env, (($__internal_compile_8 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["subpartition_count"] ?? null) : null), "html", null, true))) : (print ("")));
echo "\">
</td>
</tr>
";
}
// line 72
echo "</table>
";
// line 73
if (((($__internal_compile_9 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["partition_count"] ?? null) : null) > 1)) {
// line 74
echo " <table class=\"table align-middle\" id=\"partition_definition_table\">
<thead><tr>
<th>";
echo _gettext("Partition");
// line 76
echo "</th>
";
// line 77
if ((($__internal_compile_10 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["value_enabled"] ?? null) : null)) {
// line 78
echo " <th>";
echo _gettext("Values");
echo "</th>
";
}
// line 80
echo " ";
if (((($__internal_compile_11 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["can_have_subpartitions"] ?? null) : null) && ((($__internal_compile_12 = // line 81
($context["partition_details"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["subpartition_count"] ?? null) : null) > 1))) {
// line 82
echo " <th>";
echo _gettext("Subpartition");
echo "</th>
";
}
// line 84
echo " <th>";
echo _gettext("Engine");
echo "</th>
<th>";
echo _gettext("Comment");
// line 85
echo "</th>
<th>";
echo _gettext("Data directory");
// line 86
echo "</th>
<th>";
echo _gettext("Index directory");
// line 87
echo "</th>
<th>";
echo _gettext("Max rows");
// line 88
echo "</th>
<th>";
echo _gettext("Min rows");
// line 89
echo "</th>
<th>";
echo _gettext("Table space");
// line 90
echo "</th>
<th>";
echo _gettext("Node group");
// line 91
echo "</th>
</tr></thead>
";
// line 93
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((($__internal_compile_13 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13["partitions"] ?? null) : null));
foreach ($context['_seq'] as $context["_key"] => $context["partition"]) {
// line 94
echo " ";
$context["rowspan"] = (( !twig_test_empty((($__internal_compile_14 = $context["partition"]) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["subpartition_count"] ?? null) : null))) ? (((($__internal_compile_15 = // line 95
$context["partition"]) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["subpartition_count"] ?? null) : null) + 1)) : (2));
// line 96
echo " <tr>
<td rowspan=\"";
// line 97
echo twig_escape_filter($this->env, ($context["rowspan"] ?? null), "html", null, true);
echo "\">
<input type=\"text\" name=\"";
// line 98
echo twig_escape_filter($this->env, (($__internal_compile_16 = $context["partition"]) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["prefix"] ?? null) : null), "html", null, true);
echo "[name]\"
value=\"";
// line 99
echo twig_escape_filter($this->env, (($__internal_compile_17 = $context["partition"]) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["name"] ?? null) : null), "html", null, true);
echo "\">
</td>
";
// line 101
if ((($__internal_compile_18 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18["value_enabled"] ?? null) : null)) {
// line 102
echo " <td rowspan=\"";
echo twig_escape_filter($this->env, ($context["rowspan"] ?? null), "html", null, true);
echo "\" class=\"align-middle\">
<select class=\"partition_value\"
name=\"";
// line 104
echo twig_escape_filter($this->env, (($__internal_compile_19 = $context["partition"]) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["prefix"] ?? null) : null), "html", null, true);
echo "[value_type]\">
";
// line 105
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["value_type_options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 106
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "\"";
// line 107
if (((($__internal_compile_20 = $context["partition"]) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20["value_type"] ?? null) : null) == $context["option"])) {
// line 108
echo " selected=\"selected\"";
}
// line 109
echo ">
";
// line 110
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 113
echo " </select>
<input type=\"text\" class=\"partition_value\"
name=\"";
// line 115
echo twig_escape_filter($this->env, (($__internal_compile_21 = $context["partition"]) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["prefix"] ?? null) : null), "html", null, true);
echo "[value]\"
value=\"";
// line 116
echo twig_escape_filter($this->env, (($__internal_compile_22 = $context["partition"]) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["value"] ?? null) : null), "html", null, true);
echo "\">
</td>
";
}
// line 119
echo " </tr>
";
// line 121
if (twig_get_attribute($this->env, $this->source, $context["partition"], "subpartitions", [], "array", true, true, false, 121)) {
// line 122
echo " ";
$context["subpartitions"] = (($__internal_compile_23 = $context["partition"]) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["subpartitions"] ?? null) : null);
// line 123
echo " ";
} else {
// line 124
echo " ";
$context["subpartitions"] = [0 => $context["partition"]];
// line 125
echo " ";
}
// line 126
echo "
";
// line 127
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["subpartitions"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["subpartition"]) {
// line 128
echo " <tr>
";
// line 129
if (((($__internal_compile_24 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24["can_have_subpartitions"] ?? null) : null) && ((($__internal_compile_25 = // line 130
($context["partition_details"] ?? null)) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25["subpartition_count"] ?? null) : null) > 1))) {
// line 131
echo " <td>
<input type=\"text\" name=\"";
// line 132
echo twig_escape_filter($this->env, (($__internal_compile_26 = $context["subpartition"]) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26["prefix"] ?? null) : null), "html", null, true);
echo "[name]\"
value=\"";
// line 133
echo twig_escape_filter($this->env, (($__internal_compile_27 = $context["subpartition"]) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27["name"] ?? null) : null), "html", null, true);
echo "\">
</td>
";
}
// line 136
echo " <td>
<select name=\"";
// line 137
echo twig_escape_filter($this->env, (($__internal_compile_28 = $context["subpartition"]) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["prefix"] ?? null) : null), "html", null, true);
echo "[engine]\" aria-label=\"";
echo _gettext("Storage engine");
echo "\">
<option value=\"\"></option>
";
// line 139
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["engine"]) {
// line 140
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 140), "html", null, true);
echo "\"";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140))) {
echo " title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140), "html", null, true);
echo "\"";
}
// line 141
echo (((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 141)) == twig_lower_filter($this->env, (($__internal_compile_29 = $context["subpartition"]) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["engine"] ?? null) : null)))) ? (" selected") : (""));
echo ">";
// line 142
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 142), "html", null, true);
// line 143
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engine'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 145
echo " </select>
</td>
<td>
<textarea name=\"";
// line 148
echo twig_escape_filter($this->env, (($__internal_compile_30 = $context["subpartition"]) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["prefix"] ?? null) : null), "html", null, true);
echo "[comment]\">";
// line 149
echo twig_escape_filter($this->env, (($__internal_compile_31 = $context["subpartition"]) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31["comment"] ?? null) : null), "html", null, true);
// line 150
echo "</textarea>
</td>
<td>
<input type=\"text\" name=\"";
// line 153
echo twig_escape_filter($this->env, (($__internal_compile_32 = $context["subpartition"]) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32["prefix"] ?? null) : null), "html", null, true);
echo "[data_directory]\"
value=\"";
// line 154
echo twig_escape_filter($this->env, (($__internal_compile_33 = $context["subpartition"]) && is_array($__internal_compile_33) || $__internal_compile_33 instanceof ArrayAccess ? ($__internal_compile_33["data_directory"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"text\" name=\"";
// line 157
echo twig_escape_filter($this->env, (($__internal_compile_34 = $context["subpartition"]) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["prefix"] ?? null) : null), "html", null, true);
echo "[index_directory]\"
value=\"";
// line 158
echo twig_escape_filter($this->env, (($__internal_compile_35 = $context["subpartition"]) && is_array($__internal_compile_35) || $__internal_compile_35 instanceof ArrayAccess ? ($__internal_compile_35["index_directory"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"number\" name=\"";
// line 161
echo twig_escape_filter($this->env, (($__internal_compile_36 = $context["subpartition"]) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36["prefix"] ?? null) : null), "html", null, true);
echo "[max_rows]\"
value=\"";
// line 162
echo twig_escape_filter($this->env, (($__internal_compile_37 = $context["subpartition"]) && is_array($__internal_compile_37) || $__internal_compile_37 instanceof ArrayAccess ? ($__internal_compile_37["max_rows"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"number\" min=\"0\" name=\"";
// line 165
echo twig_escape_filter($this->env, (($__internal_compile_38 = $context["subpartition"]) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38["prefix"] ?? null) : null), "html", null, true);
echo "[min_rows]\"
value=\"";
// line 166
echo twig_escape_filter($this->env, (($__internal_compile_39 = $context["subpartition"]) && is_array($__internal_compile_39) || $__internal_compile_39 instanceof ArrayAccess ? ($__internal_compile_39["min_rows"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"text\" min=\"0\" name=\"";
// line 169
echo twig_escape_filter($this->env, (($__internal_compile_40 = $context["subpartition"]) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["prefix"] ?? null) : null), "html", null, true);
echo "[tablespace]\"
value=\"";
// line 170
echo twig_escape_filter($this->env, (($__internal_compile_41 = $context["subpartition"]) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["tablespace"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"text\" name=\"";
// line 173
echo twig_escape_filter($this->env, (($__internal_compile_42 = $context["subpartition"]) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42["prefix"] ?? null) : null), "html", null, true);
echo "[node_group]\"
value=\"";
// line 174
echo twig_escape_filter($this->env, (($__internal_compile_43 = $context["subpartition"]) && is_array($__internal_compile_43) || $__internal_compile_43 instanceof ArrayAccess ? ($__internal_compile_43["node_group"] ?? null) : null), "html", null, true);
echo "\">
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subpartition'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 178
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 179
echo " </table>
";
}
}
public function getTemplateName()
{
return "columns_definitions/partitions.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 478 => 179, 472 => 178, 462 => 174, 458 => 173, 452 => 170, 448 => 169, 442 => 166, 438 => 165, 432 => 162, 428 => 161, 422 => 158, 418 => 157, 412 => 154, 408 => 153, 403 => 150, 401 => 149, 398 => 148, 393 => 145, 386 => 143, 384 => 142, 381 => 141, 372 => 140, 368 => 139, 361 => 137, 358 => 136, 352 => 133, 348 => 132, 345 => 131, 343 => 130, 342 => 129, 339 => 128, 335 => 127, 332 => 126, 329 => 125, 326 => 124, 323 => 123, 320 => 122, 318 => 121, 314 => 119, 308 => 116, 304 => 115, 300 => 113, 291 => 110, 288 => 109, 285 => 108, 283 => 107, 279 => 106, 275 => 105, 271 => 104, 265 => 102, 263 => 101, 258 => 99, 254 => 98, 250 => 97, 247 => 96, 245 => 95, 243 => 94, 239 => 93, 235 => 91, 231 => 90, 227 => 89, 223 => 88, 219 => 87, 215 => 86, 211 => 85, 205 => 84, 199 => 82, 197 => 81, 195 => 80, 189 => 78, 187 => 77, 184 => 76, 179 => 74, 177 => 73, 174 => 72, 167 => 68, 162 => 65, 154 => 61, 151 => 60, 144 => 56, 135 => 53, 132 => 52, 129 => 51, 127 => 50, 123 => 49, 119 => 48, 114 => 45, 110 => 44, 108 => 43, 102 => 40, 97 => 37, 89 => 33, 86 => 32, 79 => 28, 70 => 25, 67 => 24, 64 => 23, 62 => 22, 58 => 21, 54 => 20, 49 => 17, 43 => 14, 41 => 13, 39 => 12, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/partitions.twig", "/home/dev/web/arif.off/public_html/pma/templates/columns_definitions/partitions.twig");
}
}

View File

@ -1,287 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* columns_definitions/table_fields_definitions.twig */
class __TwigTemplate_03ae9f274690423717f183a90adc8f6e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"responsivetable\">
<table id=\"table_columns\" class=\"table table-striped caption-top align-middle mb-0 noclick\">
<caption class=\"tblHeaders\">
";
echo _gettext("Structure");
// line 5
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_TABLE");
echo "
</caption>
<tr>
<th>
";
echo _gettext("Name");
// line 10
echo " </th>
<th>
";
echo _gettext("Type");
// line 13
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("data-types");
echo "
</th>
<th>
";
echo _gettext("Length/Values");
// line 17
echo " ";
echo PhpMyAdmin\Html\Generator::showHint(_gettext("If column type is \"enum\" or \"set\", please enter the values using this format: 'a','b','c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b')."));
echo "
</th>
<th>
";
echo _gettext("Default");
// line 21
echo " ";
echo PhpMyAdmin\Html\Generator::showHint(_gettext("For default values, please enter just a single value, without backslash escaping or quotes, using this format: a"));
echo "
</th>
<th>
";
echo _gettext("Collation");
// line 25
echo " </th>
<th>
";
echo _gettext("Attributes");
// line 28
echo " </th>
<th>
";
echo _gettext("Null");
// line 31
echo " </th>
";
// line 34
echo " ";
if ((array_key_exists("change_column", $context) && !twig_test_empty(($context["change_column"] ?? null)))) {
// line 35
echo " <th>
";
echo _gettext("Adjust privileges");
// line 37
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39");
echo "
</th>
";
}
// line 40
echo "
";
// line 44
echo " ";
if ( !($context["is_backup"] ?? null)) {
// line 45
echo " <th>
";
echo _gettext("Index");
// line 47
echo " </th>
";
}
// line 49
echo "
<th>
<abbr title=\"AUTO_INCREMENT\">A_I</abbr>
</th>
<th>
";
echo _gettext("Comments");
// line 55
echo " </th>
";
// line 57
if (($context["is_virtual_columns_supported"] ?? null)) {
// line 58
echo " <th>
";
echo _gettext("Virtuality");
// line 60
echo " </th>
";
}
// line 62
echo "
";
// line 63
if (array_key_exists("fields_meta", $context)) {
// line 64
echo " <th>
";
echo _gettext("Move column");
// line 66
echo " </th>
";
}
// line 68
echo "
";
// line 69
if (( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 69)) && ($context["browse_mime"] ?? null))) {
// line 70
echo " <th>
";
echo _gettext("Media type");
// line 72
echo " </th>
<th>
<a href=\"";
// line 74
echo PhpMyAdmin\Url::getFromRoute("/transformation/overview");
echo "#transformation\" title=\"";
echo _gettext("List of available transformations and their options");
// line 76
echo "\" target=\"_blank\">
";
echo _gettext("Browser display transformation");
// line 78
echo " </a>
</th>
<th>
";
echo _gettext("Browser display transformation options");
// line 82
echo " ";
echo PhpMyAdmin\Html\Generator::showHint(_gettext("Please enter the values for transformation options using this format: 'a', 100, b,'c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b')."));
echo "
</th>
<th>
<a href=\"";
// line 85
echo PhpMyAdmin\Url::getFromRoute("/transformation/overview");
echo "#input_transformation\"
title=\"";
echo _gettext("List of available transformations and their options");
// line 86
echo "\"
target=\"_blank\">
";
echo _gettext("Input transformation");
// line 89
echo " </a>
</th>
<th>
";
echo _gettext("Input transformation options");
// line 93
echo " ";
echo PhpMyAdmin\Html\Generator::showHint(_gettext("Please enter the values for transformation options using this format: 'a', 100, b,'c'…<br>If you ever need to put a backslash (\"\\\") or a single quote (\"'\") amongst those values, precede it with a backslash (for example '\\\\xyz' or 'a\\'b')."));
echo "
</th>
";
}
// line 96
echo " </tr>
";
// line 97
$context["options"] = ["" => "", "VIRTUAL" => "VIRTUAL"];
// line 98
echo " ";
if (($context["supports_stored_keyword"] ?? null)) {
// line 99
echo " ";
$context["options"] = twig_array_merge(($context["options"] ?? null), ["STORED" => "STORED"]);
// line 100
echo " ";
} else {
// line 101
echo " ";
$context["options"] = twig_array_merge(($context["options"] ?? null), ["PERSISTENT" => "PERSISTENT"]);
// line 102
echo " ";
}
// line 103
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["content_cells"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["content_row"]) {
// line 104
echo " <tr>
";
// line 105
$this->loadTemplate("columns_definitions/column_attributes.twig", "columns_definitions/table_fields_definitions.twig", 105)->display(twig_to_array(twig_array_merge($context["content_row"], ["options" => // line 106
($context["options"] ?? null), "change_column" => // line 107
($context["change_column"] ?? null), "is_virtual_columns_supported" => // line 108
($context["is_virtual_columns_supported"] ?? null), "browse_mime" => // line 109
($context["browse_mime"] ?? null), "max_rows" => // line 110
($context["max_rows"] ?? null), "char_editing" => // line 111
($context["char_editing"] ?? null), "attribute_types" => // line 112
($context["attribute_types"] ?? null), "privs_available" => // line 113
($context["privs_available"] ?? null), "max_length" => // line 114
($context["max_length"] ?? null), "charsets" => // line 115
($context["charsets"] ?? null), "relation_parameters" => // line 116
($context["relation_parameters"] ?? null)])));
// line 118
echo " </tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content_row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 120
echo "</table>
</div>
";
}
public function getTemplateName()
{
return "columns_definitions/table_fields_definitions.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 263 => 120, 256 => 118, 254 => 116, 253 => 115, 252 => 114, 251 => 113, 250 => 112, 249 => 111, 248 => 110, 247 => 109, 246 => 108, 245 => 107, 244 => 106, 243 => 105, 240 => 104, 235 => 103, 232 => 102, 229 => 101, 226 => 100, 223 => 99, 220 => 98, 218 => 97, 215 => 96, 208 => 93, 202 => 89, 197 => 86, 192 => 85, 185 => 82, 179 => 78, 175 => 76, 171 => 74, 167 => 72, 163 => 70, 161 => 69, 158 => 68, 154 => 66, 150 => 64, 148 => 63, 145 => 62, 141 => 60, 137 => 58, 135 => 57, 131 => 55, 123 => 49, 119 => 47, 115 => 45, 112 => 44, 109 => 40, 102 => 37, 98 => 35, 95 => 34, 91 => 31, 86 => 28, 81 => 25, 73 => 21, 65 => 17, 57 => 13, 52 => 10, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/table_fields_definitions.twig", "/home/dev/web/arif.off/public_html/pma/templates/columns_definitions/table_fields_definitions.twig");
}
}

View File

@ -1,110 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* top_menu.twig */
class __TwigTemplate_94994b010e7456f8b7939a287235d623 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div id=\"topmenucontainer\" class=\"menucontainer\">
<nav class=\"navbar navbar-expand-lg navbar-light bg-light\">
<button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#navbarNav\" aria-label=\"";
// l10n: Show or hide the menu using the hamburger style button
echo _gettext("Toggle navigation");
// line 4
echo "\" aria-controls=\"navbarNav\" aria-expanded=\"false\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse\" id=\"navbarNav\">
<ul id=\"topmenu\" class=\"navbar-nav\">
";
// line 9
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["tabs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["tab"]) {
// line 10
echo " <li class=\"nav-item";
echo ((twig_get_attribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 10)) ? (" active") : (""));
echo "\">
<a class=\"nav-link text-nowrap\" href=\"";
// line 11
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, $context["tab"], "route", [], "any", false, false, false, 11), twig_array_merge(($context["url_params"] ?? null), (((twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", true, true, false, 11) && !(null === twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)))) ? (twig_get_attribute($this->env, $this->source, $context["tab"], "args", [], "any", false, false, false, 11)) : ([]))));
echo "\">
";
// line 12
echo PhpMyAdmin\Html\Generator::getIcon(twig_get_attribute($this->env, $this->source, $context["tab"], "icon", [], "any", false, false, false, 12), twig_get_attribute($this->env, $this->source, $context["tab"], "text", [], "any", false, false, false, 12), false, true, "TabsMode");
echo "
";
// line 13
if (twig_get_attribute($this->env, $this->source, $context["tab"], "active", [], "any", false, false, false, 13)) {
// line 14
echo " <span class=\"visually-hidden\">";
// l10n: Current page
echo _gettext("(current)");
echo "</span>
";
}
// line 16
echo " </a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tab'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
echo " </ul>
</div>
</nav>
</div>
";
}
public function getTemplateName()
{
return "top_menu.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 84 => 19, 76 => 16, 69 => 14, 67 => 13, 63 => 12, 59 => 11, 54 => 10, 50 => 9, 43 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "top_menu.twig", "/home/arif/public_html/pma/templates/top_menu.twig");
}
}

View File

@ -1,71 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* server/import/index.twig */
class __TwigTemplate_12ba82fdec18e1e2042d8eba3d3724c6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "import.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("import.twig", "server/import/index.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
echo _gettext("Importing into the current server");
}
public function getTemplateName()
{
return "server/import/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 46 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("", "server/import/index.twig", "/home/dev/web/arif.off/public_html/pma/templates/server/import/index.twig");
}
}

View File

@ -1,62 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* display/results/empty_display.twig */
class __TwigTemplate_9e32031ce7a5a9a87b2d05c32b16c652 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<td class=\"";
echo twig_escape_filter($this->env, ($context["classes"] ?? null), "html", null, true);
echo "\"></td>
";
}
public function getTemplateName()
{
return "display/results/empty_display.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "display/results/empty_display.twig", "/home/arif/public_html/pma/templates/display/results/empty_display.twig");
}
}

View File

@ -1,76 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* display/results/row_data.twig */
class __TwigTemplate_dee3bef2cb08044c9ecf5479951b78eb extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<td data-decimals=\"";
echo twig_escape_filter($this->env, ($context["decimals"] ?? null), "html", null, true);
echo "\" data-type=\"";
echo twig_escape_filter($this->env, ($context["type"] ?? null), "html", null, true);
echo "\"";
if ( !twig_test_empty(($context["original_length"] ?? null))) {
echo " data-originallength=\"";
echo twig_escape_filter($this->env, ($context["original_length"] ?? null), "html", null, true);
echo "\"";
}
echo " class=\"";
echo twig_escape_filter($this->env, ($context["td_class"] ?? null), "html", null, true);
echo "\">";
// line 2
echo ($context["value"] ?? null);
// line 3
echo "</td>
";
}
public function getTemplateName()
{
return "display/results/row_data.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 53 => 3, 51 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "display/results/row_data.twig", "/home/arif/public_html/pma/templates/display/results/row_data.twig");
}
}

View File

@ -1,73 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* display/results/null_display.twig */
class __TwigTemplate_e6d6888e904e8cc32924322a8220a194 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<td data-decimals=\"";
echo twig_escape_filter($this->env, ($context["data_decimals"] ?? null), "html", null, true);
echo "\"
data-type=\"";
// line 2
echo twig_escape_filter($this->env, ($context["data_type"] ?? null), "html", null, true);
echo "\"
";
// line 4
echo " class=\"";
echo twig_escape_filter($this->env, ($context["classes"] ?? null), "html", null, true);
echo " null\">
<em>NULL</em>
</td>
";
}
public function getTemplateName()
{
return "display/results/null_display.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 46 => 4, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "display/results/null_display.twig", "/home/arif/public_html/pma/templates/display/results/null_display.twig");
}
}

View File

@ -1,269 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/table_header.twig */
class __TwigTemplate_d5585fbc73e6ccad142c723ccf43ddb3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/structure");
echo "\" name=\"tablesForm\" id=\"tablesForm\">
";
// line 2
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"table-responsive\">
<table class=\"table table-striped table-hover table-sm w-auto data\">
<thead>
<tr>
<th class=\"d-print-none\"></th>
<th>";
// line 8
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Table"), "table");
echo "</th>
";
// line 9
if (($context["replication"] ?? null)) {
// line 10
echo " <th>";
echo _gettext("Replication");
echo "</th>
";
}
// line 12
echo "
";
// line 13
if (($context["db_is_system_schema"] ?? null)) {
// line 14
echo " ";
$context["action_colspan"] = 3;
// line 15
echo " ";
} else {
// line 16
echo " ";
$context["action_colspan"] = 6;
// line 17
echo " ";
}
// line 18
echo " ";
if ((($context["num_favorite_tables"] ?? null) > 0)) {
// line 19
echo " ";
$context["action_colspan"] = (($context["action_colspan"] ?? null) + 1);
// line 20
echo " ";
}
// line 21
echo " <th colspan=\"";
echo twig_escape_filter($this->env, ($context["action_colspan"] ?? null), "html", null, true);
echo "\" class=\"d-print-none\">
";
echo _gettext("Action");
// line 23
echo " </th>
";
// line 25
echo " <th>
";
// line 26
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Rows"), "records", "DESC");
echo "
";
// line 27
echo PhpMyAdmin\Html\Generator::showHint(PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("May be approximate. Click on the number to get the exact count. See [doc@faq3-11]FAQ 3.11[/doc].")));
echo "
</th>
";
// line 29
if ( !(($context["properties_num_columns"] ?? null) > 1)) {
// line 30
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Type"), "type");
echo "</th>
<th>";
// line 31
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Collation"), "collation");
echo "</th>
";
}
// line 33
echo "
";
// line 34
if (($context["is_show_stats"] ?? null)) {
// line 35
echo " ";
// line 36
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Size"), "size", "DESC");
echo "</th>
";
// line 38
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Overhead"), "overhead", "DESC");
echo "</th>
";
}
// line 40
echo "
";
// line 41
if (($context["show_charset"] ?? null)) {
// line 42
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Charset"), "charset");
echo "</th>
";
}
// line 44
echo "
";
// line 45
if (($context["show_comment"] ?? null)) {
// line 46
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Comment"), "comment");
echo "</th>
";
}
// line 48
echo "
";
// line 49
if (($context["show_creation"] ?? null)) {
// line 50
echo " ";
// line 51
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Creation"), "creation", "DESC");
echo "</th>
";
}
// line 53
echo "
";
// line 54
if (($context["show_last_update"] ?? null)) {
// line 55
echo " ";
// line 56
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last update"), "last_update", "DESC");
echo "</th>
";
}
// line 58
echo "
";
// line 59
if (($context["show_last_check"] ?? null)) {
// line 60
echo " ";
// line 61
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last check"), "last_check", "DESC");
echo "</th>
";
}
// line 63
echo " </tr>
</thead>
<tbody>
";
// line 66
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["structure_table_rows"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["structure_table_row"]) {
// line 67
echo " ";
$this->loadTemplate("database/structure/structure_table_row.twig", "database/structure/table_header.twig", 67)->display(twig_to_array($context["structure_table_row"]));
// line 68
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['structure_table_row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 69
echo " </tbody>
";
// line 70
if (($context["body_for_table_summary"] ?? null)) {
// line 71
echo " ";
$this->loadTemplate("database/structure/body_for_table_summary.twig", "database/structure/table_header.twig", 71)->display(twig_to_array(($context["body_for_table_summary"] ?? null)));
// line 72
echo " ";
}
// line 73
echo "</table>
</div>
";
// line 75
if (($context["check_all_tables"] ?? null)) {
// line 76
echo " ";
$this->loadTemplate("database/structure/check_all_tables.twig", "database/structure/table_header.twig", 76)->display(twig_to_array(($context["check_all_tables"] ?? null)));
}
// line 78
echo "</form>
";
// line 79
if (($context["check_all_tables"] ?? null)) {
// line 80
echo " ";
$this->loadTemplate("database/structure/bulk_action_modal.twig", "database/structure/table_header.twig", 80)->display(twig_to_array(($context["check_all_tables"] ?? null)));
}
}
public function getTemplateName()
{
return "database/structure/table_header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 245 => 80, 243 => 79, 240 => 78, 236 => 76, 234 => 75, 230 => 73, 227 => 72, 224 => 71, 222 => 70, 219 => 69, 213 => 68, 210 => 67, 206 => 66, 201 => 63, 195 => 61, 193 => 60, 191 => 59, 188 => 58, 182 => 56, 180 => 55, 178 => 54, 175 => 53, 169 => 51, 167 => 50, 165 => 49, 162 => 48, 156 => 46, 154 => 45, 151 => 44, 145 => 42, 143 => 41, 140 => 40, 134 => 38, 129 => 36, 127 => 35, 125 => 34, 122 => 33, 117 => 31, 112 => 30, 110 => 29, 105 => 27, 101 => 26, 98 => 25, 95 => 23, 89 => 21, 86 => 20, 83 => 19, 80 => 18, 77 => 17, 74 => 16, 71 => 15, 68 => 14, 66 => 13, 63 => 12, 57 => 10, 55 => 9, 51 => 8, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/table_header.twig", "/home/dev/web/arif.off/public_html/pma/templates/database/structure/table_header.twig");
}
}

View File

@ -1,73 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* navigation/tree/quick_warp.twig */
class __TwigTemplate_07cd63403477613a1491cf2bbba6a47a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"pma_quick_warp\">
";
// line 2
if (($context["recent"] ?? null)) {
echo ($context["recent"] ?? null);
}
// line 3
echo " ";
if (($context["favorite"] ?? null)) {
echo ($context["favorite"] ?? null);
}
// line 4
echo " <div class=\"clearfloat\"></div>
</div>
";
}
public function getTemplateName()
{
return "navigation/tree/quick_warp.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 4, 44 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "navigation/tree/quick_warp.twig", "/home/arif/public_html/pma/templates/navigation/tree/quick_warp.twig");
}
}

View File

@ -1,212 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* header.twig */
class __TwigTemplate_69a8f815f85de7b15b53616a1608e4ec extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<!doctype html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, ($context["lang"] ?? null), "html", null, true);
echo "\" dir=\"";
echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true);
echo "\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<meta name=\"referrer\" content=\"no-referrer\">
<meta name=\"robots\" content=\"noindex,nofollow,notranslate\">
<meta name=\"google\" content=\"notranslate\">
";
// line 9
if ( !($context["allow_third_party_framing"] ?? null)) {
// line 10
echo "<style id=\"cfs-style\">html{display: none;}</style>";
}
// line 12
echo "
<link rel=\"icon\" href=\"favicon.ico\" type=\"image/x-icon\">
<link rel=\"shortcut icon\" href=\"favicon.ico\" type=\"image/x-icon\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 15
echo twig_escape_filter($this->env, ($context["theme_path"] ?? null), "html", null, true);
echo "/jquery/jquery-ui.css\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 16
echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true);
echo "js/vendor/codemirror/lib/codemirror.css?";
echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true);
echo "\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 17
echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true);
echo "js/vendor/codemirror/addon/hint/show-hint.css?";
echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true);
echo "\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 18
echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true);
echo "js/vendor/codemirror/addon/lint/lint.css?";
echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true);
echo "\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 19
echo twig_escape_filter($this->env, ($context["theme_path"] ?? null), "html", null, true);
echo "/css/theme";
echo (((($context["text_dir"] ?? null) == "rtl")) ? (".rtl") : (""));
echo ".css?";
echo twig_escape_filter($this->env, ($context["version"] ?? null), "html", null, true);
echo "\">
<title>";
// line 20
echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
echo "</title>
";
// line 21
echo ($context["scripts"] ?? null);
echo "
<noscript><style>html{display:block}</style></noscript>
</head>
<body";
// line 24
(( !twig_test_empty(($context["body_id"] ?? null))) ? (print (twig_escape_filter($this->env, (" id=" . ($context["body_id"] ?? null)), "html", null, true))) : (print ("")));
echo ">
";
// line 25
echo ($context["navigation"] ?? null);
echo "
";
// line 26
echo ($context["custom_header"] ?? null);
echo "
";
// line 27
echo ($context["load_user_preferences"] ?? null);
echo "
";
// line 29
if ( !($context["show_hint"] ?? null)) {
// line 30
echo " <span id=\"no_hint\" class=\"hide\"></span>
";
}
// line 32
echo "
";
// line 33
if (($context["is_warnings_enabled"] ?? null)) {
// line 34
echo " <noscript>
";
// line 35
echo $this->env->getFilter('error')->getCallable()(_gettext("Javascript must be enabled past this point!"));
echo "
</noscript>
";
}
// line 38
echo "
";
// line 39
if ((($context["is_menu_enabled"] ?? null) && (($context["server"] ?? null) > 0))) {
// line 40
echo " ";
echo ($context["menu"] ?? null);
echo "
<span id=\"page_nav_icons\" class=\"d-print-none\">
<span id=\"lock_page_icon\"></span>
<span id=\"page_settings_icon\">
";
// line 44
echo PhpMyAdmin\Html\Generator::getImage("s_cog", _gettext("Page-related settings"));
echo "
</span>
<a id=\"goto_pagetop\" href=\"#\">";
// line 46
echo PhpMyAdmin\Html\Generator::getImage("s_top", _gettext("Click on the bar to scroll to top of page"));
echo "</a>
</span>
";
}
// line 49
echo "
";
// line 50
echo ($context["console"] ?? null);
echo "
<div id=\"page_content\">
";
// line 53
echo ($context["messages"] ?? null);
echo "
";
// line 55
echo ($context["recent_table"] ?? null);
// line 56
if (($context["is_logged_in"] ?? null)) {
// line 57
echo twig_include($this->env, $context, "modals/preview_sql_modal.twig");
echo "
";
// line 58
echo twig_include($this->env, $context, "modals/enum_set_editor.twig");
echo "
";
// line 59
echo twig_include($this->env, $context, "modals/create_view.twig");
}
}
public function getTemplateName()
{
return "header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 189 => 59, 185 => 58, 181 => 57, 179 => 56, 177 => 55, 172 => 53, 166 => 50, 163 => 49, 157 => 46, 152 => 44, 144 => 40, 142 => 39, 139 => 38, 133 => 35, 130 => 34, 128 => 33, 125 => 32, 121 => 30, 119 => 29, 114 => 27, 110 => 26, 106 => 25, 102 => 24, 96 => 21, 92 => 20, 84 => 19, 78 => 18, 72 => 17, 66 => 16, 62 => 15, 57 => 12, 54 => 10, 52 => 9, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "header.twig", "/home/arif/public_html/pma/templates/header.twig");
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,79 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* file_select_options.twig */
class __TwigTemplate_5bfd7f2a256fb740a0c941ba1b3827b5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["filesList"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 2
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["file"], "html", null, true);
echo "\"";
if (($context["file"] == ($context["active"] ?? null))) {
echo " selected=\"selected\"";
}
echo ">
";
// line 3
echo twig_escape_filter($this->env, $context["file"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "file_select_options.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 50 => 3, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "file_select_options.twig", "/home/arif/public_html/pma/templates/file_select_options.twig");
}
}

View File

@ -1,93 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/create_table.twig */
class __TwigTemplate_56e8a1b0de1042e9e28e1067383a8cbf extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<form id=\"createTableMinimalForm\" method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/create");
echo "\" class=\"card d-print-none lock-page\">
";
// line 2
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"card-header\">";
// line 3
echo PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true);
echo "</div>
<div class=\"card-body row row-cols-lg-auto g-3\">
<div class=\"col-12\">
<label for=\"createTableNameInput\" class=\"form-label\">";
echo _gettext("Table name");
// line 6
echo "</label>
<input type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required>
</div>
<div class=\"col-12\">
<label for=\"createTableNumFieldsInput\" class=\"form-label\">";
echo _gettext("Number of columns");
// line 10
echo "</label>
<input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required>
</div>
<div class=\"col-12 align-self-lg-end\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Create");
// line 14
echo "\">
</div>
</div>
</form>
";
}
public function getTemplateName()
{
return "database/create_table.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 67 => 14, 60 => 10, 53 => 6, 46 => 3, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/create_table.twig", "/home/arif/public_html/pma/templates/database/create_table.twig");
}
}

View File

@ -1,179 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* menu/breadcrumbs.twig */
class __TwigTemplate_32a6519049bc7e7411383124eb1727f5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div id=\"floating_menubar\" class=\"d-print-none\"></div>
<nav id=\"server-breadcrumb\" aria-label=\"breadcrumb\">
<ol class=\"breadcrumb breadcrumb-navbar\">
<li class=\"breadcrumb-item\">
";
// line 5
echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_host")) : (""));
echo "
<a href=\"";
// line 6
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "url", [], "any", false, false, false, 6));
echo "\" data-raw-text=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 6), "html", null, true);
echo "\" draggable=\"false\">
";
// line 7
if (PhpMyAdmin\Util::showText("TabsMode")) {
echo _gettext("Server:");
}
// line 8
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 8), "html", null, true);
echo "
</a>
</li>
";
// line 12
if ( !twig_test_empty(($context["database"] ?? null))) {
// line 13
echo " <li class=\"breadcrumb-item\">
";
// line 14
echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_db")) : (""));
echo "
<a href=\"";
// line 15
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "url", [], "any", false, false, false, 15), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15)]);
echo "\" data-raw-text=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15), "html", null, true);
echo "\" draggable=\"false\">
";
// line 16
if (PhpMyAdmin\Util::showText("TabsMode")) {
echo _gettext("Database:");
}
// line 17
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 17), "html", null, true);
echo "
</a>
</li>
";
// line 21
if ( !twig_test_empty(($context["table"] ?? null))) {
// line 22
echo " <li class=\"breadcrumb-item\">
";
// line 23
echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage(((twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 23)) ? ("b_views") : ("s_tbl")))) : (""));
echo "
<a href=\"";
// line 24
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "url", [], "any", false, false, false, 24), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 24), "table" => twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24)]);
echo "\" data-raw-text=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24), "html", null, true);
echo "\" draggable=\"false\">
";
// line 25
if (PhpMyAdmin\Util::showText("TabsMode")) {
// line 26
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 26)) {
// line 27
echo " ";
echo _gettext("View:");
// line 28
echo " ";
} else {
// line 29
echo " ";
echo _gettext("Table:");
// line 30
echo " ";
}
// line 31
echo " ";
}
// line 32
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 32), "html", null, true);
echo "
</a>
</li>
";
// line 36
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 36))) {
// line 37
echo " <span class=\"breadcrumb-comment\" draggable=\"false\">“";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 37), "html", null, true);
echo "”</span>
";
}
// line 39
echo " ";
} elseif ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 39))) {
// line 40
echo " <span class=\"breadcrumb-comment\" draggable=\"false\">“";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 40), "html", null, true);
echo "”</span>
";
}
// line 42
echo " ";
}
// line 43
echo " </ol>
</nav>
";
}
public function getTemplateName()
{
return "menu/breadcrumbs.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 155 => 43, 152 => 42, 146 => 40, 143 => 39, 137 => 37, 135 => 36, 127 => 32, 124 => 31, 121 => 30, 118 => 29, 115 => 28, 112 => 27, 109 => 26, 107 => 25, 101 => 24, 97 => 23, 94 => 22, 92 => 21, 84 => 17, 80 => 16, 74 => 15, 70 => 14, 67 => 13, 65 => 12, 57 => 8, 53 => 7, 47 => 6, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "menu/breadcrumbs.twig", "/home/arif/public_html/pma/templates/menu/breadcrumbs.twig");
}
}

View File

@ -1,80 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/favorite_anchor.twig */
class __TwigTemplate_31c8f23c722c699df5d9ea98ac4576e5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<a id=\"";
echo twig_escape_filter($this->env, ($context["table_name_hash"] ?? null), "html", null, true);
echo "_favorite_anchor\"
class=\"ajax favorite_table_anchor\"
href=\"";
// line 3
echo PhpMyAdmin\Url::getFromRoute("/database/structure/favorite-table", ($context["fav_params"] ?? null));
echo "\"
title=\"";
// line 4
echo twig_escape_filter($this->env, ((($context["already_favorite"] ?? null)) ? (_gettext("Remove from Favorites")) : (_gettext("Add to Favorites"))), "html", null, true);
echo "\"
data-favtargets=\"";
// line 5
echo twig_escape_filter($this->env, ($context["db_table_name_hash"] ?? null), "html", null, true);
echo "\">
";
// line 6
echo ((($context["already_favorite"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_favorite")) : (PhpMyAdmin\Html\Generator::getIcon("b_no_favorite")));
echo "
</a>
";
}
public function getTemplateName()
{
return "database/structure/favorite_anchor.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 6, 51 => 5, 47 => 4, 43 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/favorite_anchor.twig", "/home/arif/public_html/pma/templates/database/structure/favorite_anchor.twig");
}
}

View File

@ -1,502 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* columns_definitions/partitions.twig */
class __TwigTemplate_202c9580c68b0b1816c2ccba038d7cf4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context["partition_options"] = [0 => "", 1 => "HASH", 2 => "LINEAR HASH", 3 => "KEY", 4 => "LINEAR KEY", 5 => "RANGE", 6 => "RANGE COLUMNS", 7 => "LIST", 8 => "LIST COLUMNS"];
// line 12
$context["sub_partition_options"] = [0 => "", 1 => "HASH", 2 => "LINEAR HASH", 3 => "KEY", 4 => "LINEAR KEY"];
// line 13
$context["value_type_options"] = [0 => "", 1 => "LESS THAN", 2 => "LESS THAN MAXVALUE", 3 => "IN"];
// line 14
echo "
<table class=\"table table-borderless w-auto align-middle mb-0\" id=\"partition_table\">
<tr class=\"align-middle\">
<td><label for=\"partition_by\">";
echo _gettext("Partition by:");
// line 17
echo "</label></td>
<td>
<select name=\"partition_by\" id=\"partition_by\">
";
// line 20
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["partition_options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 21
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "\"";
// line 22
if (((($__internal_compile_0 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["partition_by"] ?? null) : null) == $context["option"])) {
// line 23
echo " selected=\"selected\"";
}
// line 24
echo ">
";
// line 25
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 28
echo " </select>
</td>
<td>
(<input name=\"partition_expr\" type=\"text\"
placeholder=\"";
echo _gettext("Expression or column list");
// line 32
echo "\"
value=\"";
// line 33
echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["partition_expr"] ?? null) : null), "html", null, true);
echo "\">)
</td>
</tr>
<tr class=\"align-middle\">
<td><label for=\"partition_count\">";
echo _gettext("Partitions:");
// line 37
echo "</label></td>
<td colspan=\"2\">
<input name=\"partition_count\" type=\"number\" min=\"2\"
value=\"";
// line 40
(((($__internal_compile_2 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["partition_count"] ?? null) : null)) ? (print (twig_escape_filter($this->env, (($__internal_compile_3 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["partition_count"] ?? null) : null), "html", null, true))) : (print ("")));
echo "\">
</td>
</tr>
";
// line 43
if ((($__internal_compile_4 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["can_have_subpartitions"] ?? null) : null)) {
// line 44
echo " <tr class=\"align-middle\">
<td><label for=\"subpartition_by\">";
echo _gettext("Subpartition by:");
// line 45
echo "</label></td>
<td>
<select name=\"subpartition_by\" id=\"subpartition_by\">
";
// line 48
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["sub_partition_options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 49
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "\"";
// line 50
if (((($__internal_compile_5 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["subpartition_by"] ?? null) : null) == $context["option"])) {
// line 51
echo " selected=\"selected\"";
}
// line 52
echo ">
";
// line 53
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 56
echo " </select>
</td>
<td>
(<input name=\"subpartition_expr\" type=\"text\"
placeholder=\"";
echo _gettext("Expression or column list");
// line 60
echo "\"
value=\"";
// line 61
echo twig_escape_filter($this->env, (($__internal_compile_6 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["subpartition_expr"] ?? null) : null), "html", null, true);
echo "\">)
</td>
</tr>
<tr class=\"align-middle\">
<td><label for=\"subpartition_count\">";
echo _gettext("Subpartitions:");
// line 65
echo "</label></td>
<td colspan=\"2\">
<input name=\"subpartition_count\" type=\"number\" min=\"2\"
value=\"";
// line 68
(((($__internal_compile_7 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["subpartition_count"] ?? null) : null)) ? (print (twig_escape_filter($this->env, (($__internal_compile_8 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["subpartition_count"] ?? null) : null), "html", null, true))) : (print ("")));
echo "\">
</td>
</tr>
";
}
// line 72
echo "</table>
";
// line 73
if (((($__internal_compile_9 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["partition_count"] ?? null) : null) > 1)) {
// line 74
echo " <table class=\"table align-middle\" id=\"partition_definition_table\">
<thead><tr>
<th>";
echo _gettext("Partition");
// line 76
echo "</th>
";
// line 77
if ((($__internal_compile_10 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["value_enabled"] ?? null) : null)) {
// line 78
echo " <th>";
echo _gettext("Values");
echo "</th>
";
}
// line 80
echo " ";
if (((($__internal_compile_11 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["can_have_subpartitions"] ?? null) : null) && ((($__internal_compile_12 = // line 81
($context["partition_details"] ?? null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["subpartition_count"] ?? null) : null) > 1))) {
// line 82
echo " <th>";
echo _gettext("Subpartition");
echo "</th>
";
}
// line 84
echo " <th>";
echo _gettext("Engine");
echo "</th>
<th>";
echo _gettext("Comment");
// line 85
echo "</th>
<th>";
echo _gettext("Data directory");
// line 86
echo "</th>
<th>";
echo _gettext("Index directory");
// line 87
echo "</th>
<th>";
echo _gettext("Max rows");
// line 88
echo "</th>
<th>";
echo _gettext("Min rows");
// line 89
echo "</th>
<th>";
echo _gettext("Table space");
// line 90
echo "</th>
<th>";
echo _gettext("Node group");
// line 91
echo "</th>
</tr></thead>
";
// line 93
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((($__internal_compile_13 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13["partitions"] ?? null) : null));
foreach ($context['_seq'] as $context["_key"] => $context["partition"]) {
// line 94
echo " ";
$context["rowspan"] = (( !twig_test_empty((($__internal_compile_14 = $context["partition"]) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["subpartition_count"] ?? null) : null))) ? (((($__internal_compile_15 = // line 95
$context["partition"]) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["subpartition_count"] ?? null) : null) + 1)) : (2));
// line 96
echo " <tr>
<td rowspan=\"";
// line 97
echo twig_escape_filter($this->env, ($context["rowspan"] ?? null), "html", null, true);
echo "\">
<input type=\"text\" name=\"";
// line 98
echo twig_escape_filter($this->env, (($__internal_compile_16 = $context["partition"]) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16["prefix"] ?? null) : null), "html", null, true);
echo "[name]\"
value=\"";
// line 99
echo twig_escape_filter($this->env, (($__internal_compile_17 = $context["partition"]) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["name"] ?? null) : null), "html", null, true);
echo "\">
</td>
";
// line 101
if ((($__internal_compile_18 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18["value_enabled"] ?? null) : null)) {
// line 102
echo " <td rowspan=\"";
echo twig_escape_filter($this->env, ($context["rowspan"] ?? null), "html", null, true);
echo "\" class=\"align-middle\">
<select class=\"partition_value\"
name=\"";
// line 104
echo twig_escape_filter($this->env, (($__internal_compile_19 = $context["partition"]) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["prefix"] ?? null) : null), "html", null, true);
echo "[value_type]\">
";
// line 105
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["value_type_options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 106
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "\"";
// line 107
if (((($__internal_compile_20 = $context["partition"]) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20["value_type"] ?? null) : null) == $context["option"])) {
// line 108
echo " selected=\"selected\"";
}
// line 109
echo ">
";
// line 110
echo twig_escape_filter($this->env, $context["option"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 113
echo " </select>
<input type=\"text\" class=\"partition_value\"
name=\"";
// line 115
echo twig_escape_filter($this->env, (($__internal_compile_21 = $context["partition"]) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["prefix"] ?? null) : null), "html", null, true);
echo "[value]\"
value=\"";
// line 116
echo twig_escape_filter($this->env, (($__internal_compile_22 = $context["partition"]) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["value"] ?? null) : null), "html", null, true);
echo "\">
</td>
";
}
// line 119
echo " </tr>
";
// line 121
if (twig_get_attribute($this->env, $this->source, $context["partition"], "subpartitions", [], "array", true, true, false, 121)) {
// line 122
echo " ";
$context["subpartitions"] = (($__internal_compile_23 = $context["partition"]) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["subpartitions"] ?? null) : null);
// line 123
echo " ";
} else {
// line 124
echo " ";
$context["subpartitions"] = [0 => $context["partition"]];
// line 125
echo " ";
}
// line 126
echo "
";
// line 127
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["subpartitions"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["subpartition"]) {
// line 128
echo " <tr>
";
// line 129
if (((($__internal_compile_24 = ($context["partition_details"] ?? null)) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24["can_have_subpartitions"] ?? null) : null) && ((($__internal_compile_25 = // line 130
($context["partition_details"] ?? null)) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25["subpartition_count"] ?? null) : null) > 1))) {
// line 131
echo " <td>
<input type=\"text\" name=\"";
// line 132
echo twig_escape_filter($this->env, (($__internal_compile_26 = $context["subpartition"]) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26["prefix"] ?? null) : null), "html", null, true);
echo "[name]\"
value=\"";
// line 133
echo twig_escape_filter($this->env, (($__internal_compile_27 = $context["subpartition"]) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27["name"] ?? null) : null), "html", null, true);
echo "\">
</td>
";
}
// line 136
echo " <td>
<select name=\"";
// line 137
echo twig_escape_filter($this->env, (($__internal_compile_28 = $context["subpartition"]) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["prefix"] ?? null) : null), "html", null, true);
echo "[engine]\" aria-label=\"";
echo _gettext("Storage engine");
echo "\">
<option value=\"\"></option>
";
// line 139
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["engine"]) {
// line 140
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 140), "html", null, true);
echo "\"";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140))) {
echo " title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 140), "html", null, true);
echo "\"";
}
// line 141
echo (((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 141)) == twig_lower_filter($this->env, (($__internal_compile_29 = $context["subpartition"]) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["engine"] ?? null) : null)))) ? (" selected") : (""));
echo ">";
// line 142
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 142), "html", null, true);
// line 143
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engine'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 145
echo " </select>
</td>
<td>
<textarea name=\"";
// line 148
echo twig_escape_filter($this->env, (($__internal_compile_30 = $context["subpartition"]) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["prefix"] ?? null) : null), "html", null, true);
echo "[comment]\">";
// line 149
echo twig_escape_filter($this->env, (($__internal_compile_31 = $context["subpartition"]) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31["comment"] ?? null) : null), "html", null, true);
// line 150
echo "</textarea>
</td>
<td>
<input type=\"text\" name=\"";
// line 153
echo twig_escape_filter($this->env, (($__internal_compile_32 = $context["subpartition"]) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32["prefix"] ?? null) : null), "html", null, true);
echo "[data_directory]\"
value=\"";
// line 154
echo twig_escape_filter($this->env, (($__internal_compile_33 = $context["subpartition"]) && is_array($__internal_compile_33) || $__internal_compile_33 instanceof ArrayAccess ? ($__internal_compile_33["data_directory"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"text\" name=\"";
// line 157
echo twig_escape_filter($this->env, (($__internal_compile_34 = $context["subpartition"]) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["prefix"] ?? null) : null), "html", null, true);
echo "[index_directory]\"
value=\"";
// line 158
echo twig_escape_filter($this->env, (($__internal_compile_35 = $context["subpartition"]) && is_array($__internal_compile_35) || $__internal_compile_35 instanceof ArrayAccess ? ($__internal_compile_35["index_directory"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"number\" name=\"";
// line 161
echo twig_escape_filter($this->env, (($__internal_compile_36 = $context["subpartition"]) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36["prefix"] ?? null) : null), "html", null, true);
echo "[max_rows]\"
value=\"";
// line 162
echo twig_escape_filter($this->env, (($__internal_compile_37 = $context["subpartition"]) && is_array($__internal_compile_37) || $__internal_compile_37 instanceof ArrayAccess ? ($__internal_compile_37["max_rows"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"number\" min=\"0\" name=\"";
// line 165
echo twig_escape_filter($this->env, (($__internal_compile_38 = $context["subpartition"]) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38["prefix"] ?? null) : null), "html", null, true);
echo "[min_rows]\"
value=\"";
// line 166
echo twig_escape_filter($this->env, (($__internal_compile_39 = $context["subpartition"]) && is_array($__internal_compile_39) || $__internal_compile_39 instanceof ArrayAccess ? ($__internal_compile_39["min_rows"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"text\" min=\"0\" name=\"";
// line 169
echo twig_escape_filter($this->env, (($__internal_compile_40 = $context["subpartition"]) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["prefix"] ?? null) : null), "html", null, true);
echo "[tablespace]\"
value=\"";
// line 170
echo twig_escape_filter($this->env, (($__internal_compile_41 = $context["subpartition"]) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["tablespace"] ?? null) : null), "html", null, true);
echo "\">
</td>
<td>
<input type=\"text\" name=\"";
// line 173
echo twig_escape_filter($this->env, (($__internal_compile_42 = $context["subpartition"]) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42["prefix"] ?? null) : null), "html", null, true);
echo "[node_group]\"
value=\"";
// line 174
echo twig_escape_filter($this->env, (($__internal_compile_43 = $context["subpartition"]) && is_array($__internal_compile_43) || $__internal_compile_43 instanceof ArrayAccess ? ($__internal_compile_43["node_group"] ?? null) : null), "html", null, true);
echo "\">
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subpartition'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 178
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 179
echo " </table>
";
}
}
public function getTemplateName()
{
return "columns_definitions/partitions.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 478 => 179, 472 => 178, 462 => 174, 458 => 173, 452 => 170, 448 => 169, 442 => 166, 438 => 165, 432 => 162, 428 => 161, 422 => 158, 418 => 157, 412 => 154, 408 => 153, 403 => 150, 401 => 149, 398 => 148, 393 => 145, 386 => 143, 384 => 142, 381 => 141, 372 => 140, 368 => 139, 361 => 137, 358 => 136, 352 => 133, 348 => 132, 345 => 131, 343 => 130, 342 => 129, 339 => 128, 335 => 127, 332 => 126, 329 => 125, 326 => 124, 323 => 123, 320 => 122, 318 => 121, 314 => 119, 308 => 116, 304 => 115, 300 => 113, 291 => 110, 288 => 109, 285 => 108, 283 => 107, 279 => 106, 275 => 105, 271 => 104, 265 => 102, 263 => 101, 258 => 99, 254 => 98, 250 => 97, 247 => 96, 245 => 95, 243 => 94, 239 => 93, 235 => 91, 231 => 90, 227 => 89, 223 => 88, 219 => 87, 215 => 86, 211 => 85, 205 => 84, 199 => 82, 197 => 81, 195 => 80, 189 => 78, 187 => 77, 184 => 76, 179 => 74, 177 => 73, 174 => 72, 167 => 68, 162 => 65, 154 => 61, 151 => 60, 144 => 56, 135 => 53, 132 => 52, 129 => 51, 127 => 50, 123 => 49, 119 => 48, 114 => 45, 110 => 44, 108 => 43, 102 => 40, 97 => 37, 89 => 33, 86 => 32, 79 => 28, 70 => 25, 67 => 24, 64 => 23, 62 => 22, 58 => 21, 54 => 20, 49 => 17, 43 => 14, 41 => 13, 39 => 12, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/partitions.twig", "/home/arif/public_html/pma/templates/columns_definitions/partitions.twig");
}
}

View File

@ -1,98 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* display/results/table_navigation_button.twig */
class __TwigTemplate_600a083fdf449c7307fdd570e052a3a1 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<td>
<form action=\"";
// line 2
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" method=\"post\" ";
echo ($context["onsubmit"] ?? null);
echo ">
";
// line 3
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<input type=\"hidden\" name=\"sql_query\" value=\"";
// line 4
echo ($context["sql_query"] ?? null);
echo "\">
<input type=\"hidden\" name=\"pos\" value=\"";
// line 5
echo twig_escape_filter($this->env, ($context["pos"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"is_browse_distinct\" value=\"";
// line 6
echo twig_escape_filter($this->env, ($context["is_browse_distinct"] ?? null), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"goto\" value=\"";
// line 7
echo twig_escape_filter($this->env, ($context["goto"] ?? null), "html", null, true);
echo "\">
";
// line 8
echo ($context["input_for_real_end"] ?? null);
echo "
<input type=\"submit\" name=\"navig\" class=\"btn btn-secondary ajax\" value=\"";
// line 9
echo ($context["caption_output"] ?? null);
echo "\" title=\"";
echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
echo "\">
</form>
</td>
";
}
public function getTemplateName()
{
return "display/results/table_navigation_button.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 70 => 9, 66 => 8, 62 => 7, 58 => 6, 54 => 5, 50 => 4, 46 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "display/results/table_navigation_button.twig", "/home/arif/public_html/pma/templates/display/results/table_navigation_button.twig");
}
}

View File

@ -1,418 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* columns_definitions/column_definitions_form.twig */
class __TwigTemplate_6b4ffa3bec7eb4835644bb4d345c5039 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<form method=\"post\" action=\"";
echo twig_escape_filter($this->env, ($context["action"] ?? null), "html", null, true);
echo "\" class=\"";
// line 2
echo (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) ? ("create_table") : ("append_fields"));
// line 3
echo "_form ajax lock-page\">
";
// line 4
echo PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null));
echo "
";
// line 6
echo " ";
// line 7
echo " ";
// line 8
echo " <input type=\"hidden\" name=\"primary_indexes\" value=\"";
// line 9
(( !twig_test_empty(($context["primary_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["primary_indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
<input type=\"hidden\" name=\"unique_indexes\" value=\"";
// line 11
(( !twig_test_empty(($context["unique_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["unique_indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
<input type=\"hidden\" name=\"indexes\" value=\"";
// line 13
(( !twig_test_empty(($context["indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
<input type=\"hidden\" name=\"fulltext_indexes\" value=\"";
// line 15
(( !twig_test_empty(($context["fulltext_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["fulltext_indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
<input type=\"hidden\" name=\"spatial_indexes\" value=\"";
// line 17
(( !twig_test_empty(($context["spatial_indexes"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["spatial_indexes"] ?? null), "html", null, true))) : (print ("[]")));
echo "\">
";
// line 19
if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) {
// line 20
echo " <div id=\"table_name_col_no_outer\">
<table id=\"table_name_col_no\" class=\"table table-borderless tdblock\">
<tr class=\"align-middle float-start\">
<td>";
echo _gettext("Table name");
// line 23
echo ":
<input type=\"text\"
name=\"table\"
size=\"40\"
maxlength=\"64\"
value=\"";
// line 28
((array_key_exists("table", $context)) ? (print (twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true))) : (print ("")));
echo "\"
class=\"textfield\" autofocus required>
</td>
<td>
";
echo _gettext("Add");
// line 33
echo " <input type=\"number\"
id=\"added_fields\"
name=\"added_fields\"
size=\"2\"
value=\"1\"
min=\"1\"
onfocus=\"this.select()\">
";
echo _gettext("column(s)");
// line 41
echo " <input class=\"btn btn-secondary\" type=\"button\"
name=\"submit_num_fields\"
value=\"";
echo _gettext("Go");
// line 43
echo "\">
</td>
</tr>
</table>
</div>
";
}
// line 49
echo " ";
if (twig_test_iterable(($context["content_cells"] ?? null))) {
// line 50
echo " ";
$this->loadTemplate("columns_definitions/table_fields_definitions.twig", "columns_definitions/column_definitions_form.twig", 50)->display(twig_to_array(["is_backup" => // line 51
($context["is_backup"] ?? null), "fields_meta" => // line 52
($context["fields_meta"] ?? null), "relation_parameters" => // line 53
($context["relation_parameters"] ?? null), "content_cells" => // line 54
($context["content_cells"] ?? null), "change_column" => // line 55
($context["change_column"] ?? null), "is_virtual_columns_supported" => // line 56
($context["is_virtual_columns_supported"] ?? null), "server_version" => // line 57
($context["server_version"] ?? null), "browse_mime" => // line 58
($context["browse_mime"] ?? null), "supports_stored_keyword" => // line 59
($context["supports_stored_keyword"] ?? null), "max_rows" => // line 60
($context["max_rows"] ?? null), "char_editing" => // line 61
($context["char_editing"] ?? null), "attribute_types" => // line 62
($context["attribute_types"] ?? null), "privs_available" => // line 63
($context["privs_available"] ?? null), "max_length" => // line 64
($context["max_length"] ?? null), "charsets" => // line 65
($context["charsets"] ?? null)]));
// line 67
echo " ";
}
// line 68
echo " ";
if ((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/create"))) {
// line 69
echo " <div class=\"responsivetable\">
<table class=\"table table-borderless w-auto align-middle mb-0\">
<tr class=\"align-top\">
<th>";
echo _gettext("Table comments:");
// line 72
echo "</th>
<td width=\"25\">&nbsp;</td>
<th>";
echo _gettext("Collation:");
// line 74
echo "</th>
<td width=\"25\">&nbsp;</td>
<th>
";
echo _gettext("Storage Engine:");
// line 78
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("Storage_engines");
echo "
</th>
<td width=\"25\">&nbsp;</td>
<th id=\"storage-engine-connection\">
";
echo _gettext("Connection:");
// line 83
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("federated-create-connection");
echo "
</th>
</tr>
<tr>
<td>
<input type=\"text\"
name=\"comment\"
size=\"40\"
maxlength=\"60\"
value=\"";
// line 92
((array_key_exists("comment", $context)) ? (print (twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true))) : (print ("")));
echo "\"
class=\"textfield\">
</td>
<td width=\"25\">&nbsp;</td>
<td>
<select lang=\"en\" dir=\"ltr\" name=\"tbl_collation\">
<option value=\"\"></option>
";
// line 99
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 100
echo " <optgroup label=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 100), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 100), "html", null, true);
echo "\">
";
// line 101
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 101));
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
// line 102
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 102), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 102), "html", null, true);
echo "\"";
// line 103
echo (((twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 103) == ($context["tbl_collation"] ?? null))) ? (" selected") : (""));
echo ">";
// line 104
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 104), "html", null, true);
// line 105
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 107
echo " </optgroup>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 109
echo " </select>
</td>
<td width=\"25\">&nbsp;</td>
<td>
<select class=\"form-select\" name=\"tbl_storage_engine\" aria-label=\"";
echo _gettext("Storage engine");
// line 113
echo "\">
";
// line 114
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["storage_engines"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["engine"]) {
// line 115
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 115), "html", null, true);
echo "\"";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115))) {
echo " title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "comment", [], "any", false, false, false, 115), "html", null, true);
echo "\"";
}
// line 116
echo ((((twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 116)) == twig_lower_filter($this->env, ($context["tbl_storage_engine"] ?? null))) || (twig_test_empty(($context["tbl_storage_engine"] ?? null)) && twig_get_attribute($this->env, $this->source, $context["engine"], "is_default", [], "any", false, false, false, 116)))) ? (" selected") : (""));
echo ">";
// line 117
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engine"], "name", [], "any", false, false, false, 117), "html", null, true);
// line 118
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engine'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 120
echo " </select>
</td>
<td width=\"25\">&nbsp;</td>
<td>
<input type=\"text\"
name=\"connection\"
size=\"40\"
value=\"";
// line 127
((array_key_exists("connection", $context)) ? (print (twig_escape_filter($this->env, ($context["connection"] ?? null), "html", null, true))) : (print ("")));
echo "\"
placeholder=\"scheme://user_name[:password]@host_name[:port_num]/db_name/tbl_name\"
class=\"textfield\"
required=\"required\">
</td>
</tr>
";
// line 133
if (($context["have_partitioning"] ?? null)) {
// line 134
echo " <tr class=\"align-top\">
<th colspan=\"5\">
";
echo _gettext("PARTITION definition:");
// line 137
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("Partitioning");
echo "
</th>
</tr>
<tr>
<td colspan=\"5\">
";
// line 142
$this->loadTemplate("columns_definitions/partitions.twig", "columns_definitions/column_definitions_form.twig", 142)->display(twig_to_array(["partition_details" => // line 143
($context["partition_details"] ?? null), "storage_engines" => // line 144
($context["storage_engines"] ?? null)]));
// line 146
echo " </td>
</tr>
";
}
// line 149
echo " </table>
</div>
";
}
// line 152
echo " <fieldset class=\"pma-fieldset tblFooters\">
";
// line 153
if (((($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/add-field")) || (($context["action"] ?? null) == PhpMyAdmin\Url::getFromRoute("/table/structure/save")))) {
// line 154
echo " <input type=\"checkbox\" name=\"online_transaction\" value=\"ONLINE_TRANSACTION_ENABLED\" />";
echo _pgettext("Online transaction part of the SQL DDL for InnoDB", "Online transaction");
echo PhpMyAdmin\Html\MySQLDocumentation::show("innodb-online-ddl");
echo "
";
}
// line 156
echo " <input class=\"btn btn-secondary preview_sql\" type=\"button\"
value=\"";
echo _gettext("Preview SQL");
// line 157
echo "\">
<input class=\"btn btn-primary\" type=\"submit\"
name=\"do_save_data\"
value=\"";
echo _gettext("Save");
// line 160
echo "\">
</fieldset>
<div id=\"properties_message\"></div>
";
// line 163
if (($context["is_integers_length_restricted"] ?? null)) {
// line 164
echo " <div class=\"alert alert-primary\" id=\"length_not_allowed\" role=\"alert\">
";
// line 165
echo PhpMyAdmin\Html\Generator::getImage("s_notice");
echo "
";
echo _gettext("The column width of integer types is ignored in your MySQL version unless defining a TINYINT(1) column");
// line 167
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("", false, "https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-19.html");
echo "
</div>
";
}
// line 170
echo "</form>
<div class=\"modal fade\" id=\"previewSqlModal\" tabindex=\"-1\" aria-labelledby=\"previewSqlModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"previewSqlModalLabel\">";
echo _gettext("Loading");
// line 175
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 176
echo "\"></button>
</div>
<div class=\"modal-body\">
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" id=\"previewSQLCloseButton\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 181
echo "</button>
</div>
</div>
</div>
</div>
";
// line 188
echo twig_include($this->env, $context, "modals/enum_set_editor.twig");
echo "
";
}
public function getTemplateName()
{
return "columns_definitions/column_definitions_form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 394 => 188, 386 => 181, 378 => 176, 374 => 175, 366 => 170, 359 => 167, 354 => 165, 351 => 164, 349 => 163, 344 => 160, 338 => 157, 334 => 156, 327 => 154, 325 => 153, 322 => 152, 317 => 149, 312 => 146, 310 => 144, 309 => 143, 308 => 142, 299 => 137, 294 => 134, 292 => 133, 283 => 127, 274 => 120, 267 => 118, 265 => 117, 262 => 116, 253 => 115, 249 => 114, 246 => 113, 239 => 109, 232 => 107, 225 => 105, 223 => 104, 220 => 103, 214 => 102, 210 => 101, 203 => 100, 199 => 99, 189 => 92, 176 => 83, 167 => 78, 161 => 74, 156 => 72, 150 => 69, 147 => 68, 144 => 67, 142 => 65, 141 => 64, 140 => 63, 139 => 62, 138 => 61, 137 => 60, 136 => 59, 135 => 58, 134 => 57, 133 => 56, 132 => 55, 131 => 54, 130 => 53, 129 => 52, 128 => 51, 126 => 50, 123 => 49, 115 => 43, 110 => 41, 100 => 33, 92 => 28, 85 => 23, 79 => 20, 77 => 19, 72 => 17, 68 => 15, 64 => 13, 60 => 11, 56 => 9, 54 => 8, 52 => 7, 50 => 6, 46 => 4, 43 => 3, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "columns_definitions/column_definitions_form.twig", "/home/arif/public_html/pma/templates/columns_definitions/column_definitions_form.twig");
}
}

View File

@ -1,74 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* display/results/page_selector.twig */
class __TwigTemplate_98cfdba6b81bd030e730a8bafdf8e615 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<td>
<form action=\"";
// line 2
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" method=\"post\">
";
// line 3
echo PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null));
echo "
";
// line 4
echo ($context["page_selector"] ?? null);
echo "
</form>
</td>
";
}
public function getTemplateName()
{
return "display/results/page_selector.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 48 => 4, 44 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "display/results/page_selector.twig", "/home/arif/public_html/pma/templates/display/results/page_selector.twig");
}
}

View File

@ -1,97 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* login/header.twig */
class __TwigTemplate_b70402a89a09251b88580786430be157 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if ((($context["session_expired"] ?? null) == true)) {
// line 2
echo " <div id=\"modalOverlay\">
";
}
// line 4
echo "<div class=\"container";
echo twig_escape_filter($this->env, ($context["add_class"] ?? null), "html", null, true);
echo "\">
<div class=\"row\">
<div class=\"col-12\">
<a href=\"";
// line 7
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/"), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"logo\">
<img src=\"";
// line 8
echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("logo_right.png", "pma_logo.png"), "html", null, true);
echo "\" id=\"imLogo\" name=\"imLogo\" alt=\"phpMyAdmin\" border=\"0\">
</a>
<h1>";
// line 10
echo twig_sprintf(_gettext("Welcome to %s"), "<bdo dir=\"ltr\" lang=\"en\">phpMyAdmin</bdo>");
echo "</h1>
<noscript>
";
// line 13
echo $this->env->getFilter('error')->getCallable()(_gettext("Javascript must be enabled past this point!"));
echo "
</noscript>
<div class=\"hide\" id=\"js-https-mismatch\">
";
// line 17
echo $this->env->getFilter('error')->getCallable()(_gettext("There is a mismatch between HTTPS indicated on the server and client. This can lead to a non working phpMyAdmin or a security risk. Please fix your server configuration to indicate HTTPS properly."));
echo "
</div>
";
}
public function getTemplateName()
{
return "login/header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 72 => 17, 65 => 13, 59 => 10, 54 => 8, 50 => 7, 43 => 4, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "login/header.twig", "/home/arif/public_html/pma/templates/login/header.twig");
}
}

View File

@ -1,71 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/import/index.twig */
class __TwigTemplate_bfe9f89574f905a0d56d8cc2c711cd8f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "import.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("import.twig", "table/import/index.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Importing into the table \"%s\""), ($context["table"] ?? null)), "html", null, true);
}
public function getTemplateName()
{
return "table/import/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 46 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/import/index.twig", "/home/arif/public_html/pma/templates/table/import/index.twig");
}
}

View File

@ -132,6 +132,6 @@ class __TwigTemplate_eb0b4102a7e31212e1f24e0647eb148e extends Template
public function getSourceContext()
{
return new Source("", "table/page_with_secondary_tabs.twig", "/home/dev/web/arif.off/public_html/pma/templates/table/page_with_secondary_tabs.twig");
return new Source("", "table/page_with_secondary_tabs.twig", "/home/suvo/web/graffin.ns77.siliconpin.com/public_html/pma/templates/table/page_with_secondary_tabs.twig");
}
}

View File

@ -1,133 +0,0 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* scripts.twig */
class __TwigTemplate_bd7143e5da26f475b17c6ec045d82d48 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["files"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 2
echo " <script data-cfasync=\"false\" type=\"text/javascript\" src=\"";
echo twig_escape_filter($this->env, ($context["base_dir"] ?? null), "html", null, true);
echo "js/";
// line 3
echo twig_escape_filter($this->env, ((((is_string($__internal_compile_0 = twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) && is_string($__internal_compile_1 = "vendor/") && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1))) || (is_string($__internal_compile_2 = twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) && is_string($__internal_compile_3 = "messages.php") && ('' === $__internal_compile_3 || 0 === strpos($__internal_compile_2, $__internal_compile_3))))) ? (twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)) : (("dist/" . twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 3)))), "html", null, true);
// line 4
((twig_in_filter(".php", twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 4))) ? (print (PhpMyAdmin\Url::getCommon(twig_array_merge(twig_get_attribute($this->env, $this->source, $context["file"], "params", [], "any", false, false, false, 4), ["v" => ($context["version"] ?? null)])))) : (print (twig_escape_filter($this->env, ("?v=" . twig_urlencode_filter(($context["version"] ?? null))), "html", null, true))));
echo "\"></script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 6
echo "
<script data-cfasync=\"false\" type=\"text/javascript\">
// <![CDATA[
";
// line 9
echo ($context["code"] ?? null);
echo "
";
// line 10
if ( !twig_test_empty(($context["files"] ?? null))) {
// line 11
echo "AJAX.scriptHandler
";
// line 12
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["files"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 13
echo " .add('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 13));
echo "', ";
echo ((twig_get_attribute($this->env, $this->source, $context["file"], "has_onload", [], "any", false, false, false, 13)) ? (1) : (0));
echo ")
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 15
echo ";
\$(function() {
";
// line 17
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["files"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 18
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["file"], "has_onload", [], "any", false, false, false, 18)) {
// line 19
echo " AJAX.fireOnload('";
echo PhpMyAdmin\Sanitize::escapeJsString(twig_get_attribute($this->env, $this->source, $context["file"], "filename", [], "any", false, false, false, 19));
echo "');
";
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo "});
";
}
// line 24
echo "// ]]>
</script>
";
}
public function getTemplateName()
{
return "scripts.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 109 => 24, 105 => 22, 95 => 19, 92 => 18, 88 => 17, 84 => 15, 73 => 13, 69 => 12, 66 => 11, 64 => 10, 60 => 9, 55 => 6, 47 => 4, 45 => 3, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "scripts.twig", "/home/arif/public_html/pma/templates/scripts.twig");
}
}

Some files were not shown because too many files have changed in this diff Show More