Ejemplo n.º 1
0
</label>
            <input type="text" id="edit-sgName" onchange="javascript:editSubgroup();"/>
        </div>
        <div class="row">
            <label for="edit-sgOrder"><?php 
\pi18n('Subgroup.dispOrder');
?>
</label>
            <input id="edit-sgOrder" type="numeric" onchange="javascript:editSubgroup();">
        </div>
        <div class="row actions">
            <?php 
\Pasteque\tpl_js_btn("btn", "newSubgroup()", \i18n("Add subgroup", PLUGIN_NAME));
?>
            <?php 
\Pasteque\tpl_js_btn("btn-delete", "delSubgroup()", \i18n("Delete subgroup", PLUGIN_NAME));
?>
        </div>


        <div>
            <div id="product-sub-container" class="product-container"></div>
        </div>
    </fieldset>
    </div>
    <!-- to change -->
    <div id="product" class="row">
        <fieldSet>
            <legend><?php 
\pi18n('Product', PLUGIN_NAME);
?>
Ejemplo n.º 2
0
		</thead>
		<tbody id="list">
	<?php 
if ($attribute !== null) {
    foreach ($attribute->values as $value) {
        ?>
		<tr id="line-<?php 
        echo $value->id;
        ?>
">
			<td><?php 
        \Pasteque\form_input($value->id, "AttributeValue", $value, "value", "string", array("required" => true, "nolabel" => true, "nameid" => true));
        ?>
</td>
			<td><?php 
        \Pasteque\tpl_js_btn("", "del('" . $value->id . "');", "", "", "delete.png");
        ?>
</td>
		</tr>
	<?php 
    }
}
?>
	<?php 
for ($i = 0; $i < 5; $i++) {
    ?>
		<tr>
			<td><?php 
    \Pasteque\form_input("new", "AttributeValue", null, "label", "string", array("nolabel" => true, "nameid" => true, "array" => true));
    ?>
</td>
Ejemplo n.º 3
0
\pi18n("Place", PLUGIN_NAME);
?>
</legend>
    <div class="row">
        <label for="placeLabel"><?php 
\pi18n('Place.label');
?>
</label>
        <input type="text" id="placeLabel" onchange="javascript:updatePlaceLabel();" onkeyup="javascript:updatePlaceLabel();" />
    </div>
    <div class="row actions">
        <?php 
\Pasteque\tpl_js_btn("btn", "newPlace()", \i18n("Add place", PLUGIN_NAME));
?>
        <?php 
\Pasteque\tpl_js_btn("btn-delete", "deletePlace()", \i18n("Delete place", PLUGIN_NAME));
?>
    </div>
    </fieldset>
    <div id="floorDivContainer" class="row"></div>

    <div class="row actions">
        <input id="floorData" name="floorData" type="hidden" />
        <?php 
\Pasteque\form_save();
?>
    </div>
</form>

<script src="<?php 
echo \Pasteque\get_module_action(PLUGIN_NAME, "jquery-ui-1.10.3.custom.js");