Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sandboxgangster/Part-DB
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: powermik/Part-DB
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 2 commits
  • 8 files changed
  • 1 contributor

Commits on Sep 10, 2013

  1. Copy the full SHA
    af63efc View commit details

Commits on Sep 13, 2013

  1. Copy the full SHA
    988bd6a View commit details
6 changes: 6 additions & 0 deletions javascript/jquery-1.10.2.min.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions javascript/jquery.tablesorter.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions javascript/qrcode.min.js

Large diffs are not rendered by default.

139 changes: 139 additions & 0 deletions show_part_label.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
<?php
/*
part-db version 0.1
Copyright (C) 2005 Christoph Lechner
http://www.cl-projects.de/
part-db version 0.2+
Copyright (C) 2009 K. Jacobs and others (see authors.php)
http://code.google.com/p/part-db/
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
$Id$
Changelog (sorted by date):
[DATE] [NICKNAME] [CHANGES]
2013-ß9-09 mik - initial coding
*/

include_once('start_session.php');

$messages = array();
$fatal_error = false; // if a fatal error occurs, only the $messages will be printed, but not the site content

/********************************************************************************
*
* Evaluate $_REQUEST
*
*********************************************************************************/

$part_id = isset($_REQUEST['pid']) ? (integer)$_REQUEST['pid'] : 0;
$labeltype = isset($_REQUEST['labeltype']) ? (string)$_REQUEST['labeltype'] : "small";

$action = 'default';

/********************************************************************************
*
* Initialize Objects
*
*********************************************************************************/

$html = new HTML($config['html']['theme'], $config['html']['custom_css'], 'Label');

try
{
$database = new Database();
$log = new Log($database);
$current_user = new User($database, $current_user, $log, 1); // admin
$part = new Part($database, $current_user, $log, $part_id);
$footprint = $part->get_footprint();
$storelocation = $part->get_storelocation();
$manufacturer = $part->get_manufacturer();
$category = $part->get_category();
$all_orderdetails = $part->get_orderdetails();
}
catch (Exception $e)
{
$messages[] = array('text' => nl2br($e->getMessage()), 'strong' => true, 'color' => 'red');
$fatal_error = true;
}

/********************************************************************************
*
* Set the rest of the HTML variables
*
*********************************************************************************/

$html->use_javascript(array('validatenumber', 'popup', 'qrcode.min'));

// global settings
$html->set_variable('use_modal_popup', $config['popup']['modal'], 'boolean');
$html->set_variable('popup_width', $config['popup']['width'], 'integer');
$html->set_variable('popup_height', $config['popup']['height'], 'integer');

if (! $fatal_error)
{
try
{
// part attributes
$html->set_variable('pid', $part->get_id(), 'integer');
$html->set_variable('name', $part->get_name(), 'string');
$html->set_variable('description', $part->get_description(), 'string');
$html->set_variable('category_full_path', $part->get_category()->get_full_path(), 'string');
$html->set_variable('instock', $part->get_instock(), 'integer');
$html->set_variable('mininstock', $part->get_mininstock(), 'integer');
$html->set_variable('visible', $part->get_visible(), 'boolean');
$html->set_variable('comment', nl2br($part->get_comment()), 'string');
$html->set_variable('footprint_full_path', (is_object($footprint) ? $footprint->get_full_path() : '-'), 'string');
$html->set_variable('footprint_filename', (is_object($footprint) ? str_replace(BASE, BASE_RELATIVE, $footprint->get_filename()) : ''), 'string');
$html->set_variable('storelocation_full_path', (is_object($storelocation) ? $storelocation->get_full_path() : '-'), 'string');
$html->set_variable('storelocation_is_full', (is_object($storelocation) ? $storelocation->get_is_full() : false), 'boolean');
$html->set_variable('manufacturer_full_path', (is_object($manufacturer) ? $manufacturer->get_full_path() : '-'), 'string');
$html->set_variable('category_full_path', (is_object($category) ? $category->get_full_path() : '-'), 'string');
$html->set_variable('auto_order_exists', ($part->get_instock() < $part->get_mininstock()), 'boolean');
$html->set_variable('manual_order_exists', ($part->get_manual_order() && ($part->get_instock() >= $part->get_mininstock())), 'boolean');
$html->set_variable('partdetailurl', dirname($_SERVER["SCRIPT_URI"]).'/show_part_detail.php?pid='.$part->get_id());

}
catch (Exception $e)
{
$messages[] = array('text' => nl2br($e->getMessage()), 'strong' => true, 'color' => 'red');
$fatal_error = true;
}
}

/********************************************************************************
*
* Generate HTML Output
*
*********************************************************************************/

$reload_link = $fatal_error ? 'show_part_info.php?pid='.$part_id : ''; // an empty string means that the...
$html->print_header($messages, $reload_link); // ...reload-button won't be visible

if (! $fatal_error)
switch ($labeltype) {
case "large":
$html->print_template('show_part_label_large');
break;
case "small":
default:
$html->print_template('show_part_label_small');
}

$html->print_footer();

?>
Original file line number Diff line number Diff line change
@@ -23,9 +23,16 @@
<input type="hidden" name="cid" value="{TMPL_VAR NAME="cid"}">
<input type="hidden" name="subcat" value="{TMPL_IF NAME="with_subcategories"}1{TMPL_ELSE}0{/TMPL_IF}">
<input type="hidden" name="table_rowcount" value="{TMPL_VAR NAME="table_rowcount"}">
<table>
<table id="categorypartstable" class="tablesorter">
{TMPL_INCLUDE FILE="../vlib_table.tmpl"}
</table>
</form>
</div>
</div>
<script type="text/javascript">
$(document).ready(function()
{
$("#categorypartstable").tablesorter();
}
);
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<div style="width: 12cm;">
<div class="outer">
<h2>Detailinfo zu "{TMPL_VAR NAME="name"}"
<div style="float: right; display: inline;">
ID: {TMPL_VAR NAME="pid"}
</div>
</h2>

<div class="inner">
<table>
<tr valign="top">
<td>
<table>
<tr>
<td><b>Name:</b></td>
<td>{TMPL_VAR NAME="name"}</td>
</tr>
<tr>
<td><b>Beschreibung:</b></td>
<td>{TMPL_IF NAME="description"}{TMPL_VAR NAME="description"}{TMPL_ELSE}-{/TMPL_IF}</td>
</tr>
<tr>
<td><b>Vorhanden:</b></td>
<td>{TMPL_VAR NAME="instock"}</td>
</tr>
<tr>
<td><b>Min. Bestand:</b></td>
<td>{TMPL_VAR NAME="mininstock"}</td>
</tr>
<tr>
<td><b>Kategorie:</b></td>
<td>{TMPL_VAR NAME="category_full_path" ESCAPE="none"}</td>
</tr>
<tr>
<td><b>Lagerort:</b></td>
<td>{TMPL_VAR NAME="storelocation_full_path"}{TMPL_IF NAME="storelocation_is_full"} [voll]{/TMPL_IF}</td>
</tr>
{TMPL_UNLESS NAME="disable_manufacturers"}
<tr>
<td><b>Hersteller:</b></td>
<td>{TMPL_VAR NAME="manufacturer_full_path" ESCAPE="none"}</td>
</tr>
{/TMPL_UNLESS}
{TMPL_UNLESS NAME="disable_footprints"}
<tr>
<td><b>Footprint:</b></td>
<td>
{TMPL_VAR NAME="footprint_full_path"}<br>
{TMPL_IF NAME="footprint_filename"}<img align="middle" src="{TMPL_VAR NAME="footprint_filename"}" alt="" height="70">{/TMPL_IF}
</td>
</tr>
{/TMPL_UNLESS}
<!-- <tr>
TODO: <td><b>Öffentlich sichtbar:</b></td>
remove this <td>{TMPL_IF NAME="visible"}ja{TMPL_ELSE}nein{/TMPL_IF}</td>
</tr>
--!> <tr>
<td valign="top"><b>Kommentar:</b></td>
<td>{TMPL_IF NAME="comment"}{TMPL_VAR NAME="comment" ESCAPE="none"}{TMPL_ELSE}-{/TMPL_IF}</td>
</tr>
</table>

</td>

<td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td>
<div id="qrcode"></div>
<script type="text/javascript">
new QRCode(document.getElementById("qrcode"), {
text: "{TMPL_VAR NAME="partdetailurl"}",
correctLevel : QRCode.CorrectLevel.H,
width: 96,
height: 96
});
</script>
</td>

<td>
</td>
</tr>
</table>
</div>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<div style="width: 8cm;">
<div class="outer">
<table>
<tr>
<td>
<ul>
<li> {TMPL_VAR NAME="name"}
<li> {TMPL_IF NAME="description"}{TMPL_VAR NAME="description"}{TMPL_ELSE}-{/TMPL_IF}
<li> &gt;{TMPL_VAR NAME="mininstock"}
</ul>
</td>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td>
<div id="qrcode"></div>
<script type="text/javascript">
new QRCode(document.getElementById("qrcode"), {
text: "{TMPL_VAR NAME="partdetailurl"}",
correctLevel : QRCode.CorrectLevel.H,
width: 96,
height: 96
});
</script>
</td>
</tr>
</table>
</div>
</div>
100 changes: 52 additions & 48 deletions templates/standard/vlib_table.tmpl
Original file line number Diff line number Diff line change
@@ -15,62 +15,65 @@

{TMPL_LOOP NAME="table"}
{TMPL_IF NAME="print_header"}
<thead>
<tr class="trcat">
{TMPL_LOOP NAME="columns"}
{TMPL_IF NAME="caption" VALUE="row"}<td>Nr.</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="hover_picture"}<td></td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="id"}<td class="idclass">ID</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="row_index"}<td class="idclass">Nr.</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="name"}<td>Name</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="name_edit"}<td>Name</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="description"}<td>Beschreibung</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="description_edit"}<td>Beschreibung</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="comment"}<td>Kommentar</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="comment_edit"}<td>Kommentar</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="name_description"}<td>Name / Beschreibung</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="instock"}<td>Bestand</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="instock_edit"}<td>Bestand</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="instock_edit_buttons"}<td>Bestand ändern</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="order_quantity_edit"}<td>Bestell-<br>menge</td>{/TMPL_IF} {TMPL_COMMENT} only for order parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="mininstock"}<td>Mindest-<br>bestand</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="mininstock_edit"}<td>Mindest-<br>bestand</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="instock_mininstock"}<td>Vorh./<br>Min.Best</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="category"}<td>Kategorie</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="category_edit"}<td>Kategorie</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="row"}<th>Nr.</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="hover_picture"}<th></th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="id"}<th class="idclass">ID</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="row_index"}<th class="idclass">Nr.</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="name"}<th>Name</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="name_edit"}<th>Name</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="description"}<th>Beschreibung</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="description_edit"}<th>Beschreibung</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="comment"}<th>Kommentar</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="comment_edit"}<th>Kommentar</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="name_description"}<th>Name / Beschreibung</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="instock"}<th>Bestand</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="instock_edit"}<th>Bestand</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="instock_edit_buttons"}<th>Bestand ändern</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="order_quantity_edit"}<th>Bestell-<br>menge</th>{/TMPL_IF} {TMPL_COMMENT} only for order parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="mininstock"}<th>Mindest-<br>bestand</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="mininstock_edit"}<th>Mindest-<br>bestand</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="instock_mininstock"}<th>Vorh./<br>Min.Best</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="category"}<th>Kategorie</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="category_edit"}<th>Kategorie</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_UNLESS NAME="disable_footprints"}
{TMPL_IF NAME="caption" VALUE="footprint"}<td>Footprint</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="footprint_edit"}<td>Footprint</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="footprint"}<th>Footprint</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="footprint_edit"}<th>Footprint</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{/TMPL_UNLESS}
{TMPL_UNLESS NAME="disable_manufacturers"}
{TMPL_IF NAME="caption" VALUE="manufacturer"}<td>Hersteller</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="manufacturer_edit"}<td>Hersteller</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="manufacturer"}<th>Hersteller</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="manufacturer_edit"}<th>Hersteller</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{/TMPL_UNLESS}
{TMPL_IF NAME="caption" VALUE="storelocation"}<td>Lagerort</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="storelocation_edit"}<td>Lagerort</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="suppliers"}<td>Lieferanten</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="supplier_edit"}<td>Lieferant</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="suppliers_radiobuttons"}<td>Lieferanten</td>{/TMPL_IF} {TMPL_COMMENT} only for order parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="datasheets"}{TMPL_UNLESS NAME="disable_auto_datasheets"}<td>Datenblätter</td>{/TMPL_UNLESS}{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="button_decrement"}<td align="center">-</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="button_increment"}<td align="center">+</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="order_options"}<td>Optionen</td>{/TMPL_IF} {TMPL_COMMENT} only for order parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="quantity_edit"}<td>Anzahl</td>{/TMPL_IF} {TMPL_COMMENT} only for device parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="mountnames_edit"}<td>Bestückungs-<br>daten</td>{/TMPL_IF} {TMPL_COMMENT} only for device parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="price_edit"}<td>Preis</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="average_single_price"}<td>Einzel-<br>preis Ø</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="single_prices"}<td>Einzel-<br>preise</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="total_prices"}<td>Gesamt-<br>preise</td>{/TMPL_IF} {TMPL_COMMENT} only for device parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="supplier_partnrs"}<td>Bestell-<br>nummern</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="supplier_partnr_edit"}<td>Bestell-<br>nummer</td>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="attachements"}<td>Dateianhänge</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="systemupdate_from_version"}<td>Von Version</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="systemupdate_to_version"}<td>Auf Version</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="systemupdate_release_date"}<td>Veröffentlichung</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="systemupdate_changelog"}<td>Changelog</td>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="storelocation"}<th>Lagerort</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="storelocation_edit"}<th>Lagerort</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="suppliers"}<th>Lieferanten</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="supplier_edit"}<th>Lieferant</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="suppliers_radiobuttons"}<th>Lieferanten</th>{/TMPL_IF} {TMPL_COMMENT} only for order parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="datasheets"}{TMPL_UNLESS NAME="disable_auto_datasheets"}<th>Datenblätter</th>{/TMPL_UNLESS}{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="button_decrement"}<th align="center">-</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="button_increment"}<th align="center">+</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="order_options"}<th>Optionen</th>{/TMPL_IF} {TMPL_COMMENT} only for order parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="quantity_edit"}<th>Anzahl</th>{/TMPL_IF} {TMPL_COMMENT} only for device parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="mountnames_edit"}<th>Bestückungs-<br>daten</th>{/TMPL_IF} {TMPL_COMMENT} only for device parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="price_edit"}<th>Preis</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="average_single_price"}<th>Einzel-<br>preis Ø</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="single_prices"}<th>Einzel-<br>preise</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="total_prices"}<th>Gesamt-<br>preise</th>{/TMPL_IF} {TMPL_COMMENT} only for device parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="supplier_partnrs"}<th>Bestell-<br>nummern</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="supplier_partnr_edit"}<th>Bestell-<br>nummer</th>{/TMPL_IF} {TMPL_COMMENT} only for import parts {/TMPL_COMMENT}
{TMPL_IF NAME="caption" VALUE="attachements"}<th>Dateianhänge</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="systemupdate_from_version"}<th>Von Version</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="systemupdate_to_version"}<th>Auf Version</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="systemupdate_release_date"}<th>Veröffentlichung</th>{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="systemupdate_changelog"}<th>Changelog</th>{/TMPL_IF}
{/TMPL_LOOP}
</tr>
</thead>
<tbody>
{TMPL_ELSE}
<input type="hidden" name="id_{TMPL_VAR NAME="row_index"}" value="{TMPL_VAR NAME="id"}">
<input type="hidden" name="id_{TMPL_VAR NAME="row_index"}" value="{TMPL_VAR NAME="id"}">
{TMPL_COMMENT} the alternating background colors are created here {/TMPL_COMMENT}
<tr class="{TMPL_IF NAME="row_odd"}trlist_odd{TMPL_ELSE}trlist_even{/TMPL_IF}">
{TMPL_LOOP NAME="row_fields"}
@@ -80,7 +83,7 @@
{/TMPL_IF}
{TMPL_IF NAME="caption" VALUE="hover_picture"}
{TMPL_COMMENT} Pictures {/TMPL_COMMENT}
<td class="tdrow0">
<td class="tdrow0">
{TMPL_IF NAME="hover_picture"}
<a href="javascript:popUp('{TMPL_VAR NAME="hover_picture"}',
{TMPL_IF NAME="use_modal_popup"}true {TMPL_ELSE}false {/TMPL_IF},
@@ -367,3 +370,4 @@
</tr>
{/TMPL_IF}
{/TMPL_LOOP}
</tbody>