mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
28 lines
1.9 KiB
PHP
28 lines
1.9 KiB
PHP
<div class='menubar'>
|
|
<div class='menubar-title ui-widget-header'>
|
|
<strong><?php $clang->eT("Label Set"); ?>:</strong> <?php echo flattenText($row['label_name']); ?>
|
|
</div>
|
|
<div class='menubar-main'>
|
|
<div class='menubar-left'>
|
|
<img src='<?php echo $sImageURL; ?>blank.gif' width='40' height='16' alt='' />
|
|
<img src='<?php echo $sImageURL; ?>separator.gif' alt='' />
|
|
<?php if (Permission::model()->hasGlobalPermission('labelsets','update')) { ?>
|
|
<a href='<?php echo $this->createUrl("admin/labels/sa/editlabelset/lid/".$lid); ?>'>
|
|
<img src='<?php echo $sImageURL; ?>edit.png' alt='<?php $clang->eT("Edit label set"); ?>' /></a>
|
|
<?php }; ?>
|
|
<?php if (Permission::model()->hasGlobalPermission('labelsets','delete')) { ?>
|
|
<a href='#' data-action='deletelabelset' data-url='<?php echo $this->createUrl("admin/labels/sa/process"); ?>' data-confirm='<?php eT('Do you really want to delete this label set?'); ?>' >
|
|
<img src='<?php echo $sImageURL; ?>delete.png' alt='<?php $clang->eT("Delete label set"); ?>' /></a>
|
|
<?php }; ?>
|
|
<img src='<?php echo $sImageURL; ?>separator.gif' alt='' />
|
|
<?php if (Permission::model()->hasGlobalPermission('labelsets','export')) { ?>
|
|
<a href='<?php echo $this->createUrl("admin/export/sa/dumplabel/lid/$lid");?>'>
|
|
<img src='<?php echo $sImageURL; ?>dumplabel.png' alt='<?php $clang->eT("Export this label set"); ?>' /></a>
|
|
<?php }; ?>
|
|
</div>
|
|
<div class='menubar-right'>
|
|
<input type='image' src='<?php echo $sImageURL; ?>close.png' title='<?php $clang->eT("Close Window"); ?>' href="<?php echo $this->createUrl("admin/labels/sa/view"); ?>" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p style='margin:0;font-size:1px;line-height:1px;height:1px;'> </p>
|