Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JToolbar frontend submit value on click
- <form action="<?php echo JRoute::_('index.php');?>" method="post"
- name="termForm" id="adminForm">
- <table class="stripeMe">
- <tbody>
- <thead>
- <tr>
- <th>Begriff</th>
- <th>Definition</th>
- <?php if ($user->authorize('com_glossary', 'edit', 'glossary', 'all')): ?><th>Published</th> <?php endif; ?>
- </tr>
- </thead>
- <?php foreach($this->items as $i => $item): ?>
- <tr>
- <td>
- <span class="title"><?php echo $item->tterm; ?></span>
- <?php if ($user->authorize('com_glossary', 'edit', 'bearbeiten', 'all')):?>
- <?php echo $this->getEdit(); ?><?php endif; ?>
- </td>
- <td><?php echo $item->tdefinition; ?></td>
- <?php if ($user->authorize('com_glossary', 'edit', 'bearbeiten', 'all')): ?>
- <td><?php echo $this->getPublished(); ?></td> <?php endif; ?>
- </tr>
- <?php endforeach; ?>
- </tbody>
- </table>
- <div>
- <input type="hidden" name="task" value="" /> <input type="hidden"
- name="id" value="" onclick="submitbutton(<?php echo count( $item->id ); ?>);" /> <input type="hidden"
- name="option" value="com_glossary" /> <input type="hidden"
- name="controller" value="bearbeiten" />
- <?php echo JHtml::_('form.token'); ?>
- </div>
- </form>
- <input type="hidden" name="boxchecked" value="0" />
- <td><?php echo JHTML::_('grid.id', $i, $item->id ); ?></td>
Add Comment
Please, Sign In to add comment