backup: live-stand vor erstem git-deployment
This commit is contained in:
27
mysyde/admin/edit_layout_area_listform.inc.php
Normal file
27
mysyde/admin/edit_layout_area_listform.inc.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?
|
||||
$translation = \DynCom\mysyde\common\classes\Registry::get("translation");
|
||||
$formname = "form_layout_area_list";
|
||||
?>
|
||||
<form id="<?= $formname ?>" name="<?= $formname ?>" method="post">
|
||||
<input name="input_id" type="hidden" value="<?= $input_layout["id"] ?>">
|
||||
<input type="hidden" class="selected_linklist_row" name="input_area_id" value="" />
|
||||
|
||||
<h2><?php echo $translation->get("layout_areas"); ?></h2>
|
||||
<ul class="toolbar_menu">
|
||||
<?= button("new", $translation->get("new"), $formname, "loadCard('new_area', true)", "", FALSE); ?>
|
||||
<?= button("edit", $translation->get("edit"), $formname, "loadCard('edit_area')", "", FALSE); ?>
|
||||
<?= button("delete", $translation->get("delete"), $formname, "loadCard('delete_area', false, '{$translation->get('delete_layout_area_confirm')}')", "", FALSE); ?>
|
||||
<?= button("up", $translation->get("go_up"), $formname, "loadCard('moveup_area')", "", FALSE); ?>
|
||||
<?= button("down", $translation->get("go_down"), $formname, "loadCard('movedown_area')", "", FALSE); ?>
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<?
|
||||
$query = "SELECT id, name AS '" . $translation->get("description") . "', code as '" . $translation->get("textkey") . "' from main_layout_area WHERE main_layout_id = '" . $input_layout["id"] . "' ORDER by sorting ASC";
|
||||
$format = array('option', 'text', 'text', 'text', 'text');
|
||||
if ($result = @mysqli_query($GLOBALS['mysql_con'], $query)) {
|
||||
linklist($result, $formname, $format, "input_area_id", "edit_area", TRUE, "update_sortorder_area");
|
||||
}
|
||||
?>
|
||||
|
||||
</form>
|
||||
Reference in New Issue
Block a user