Conference Centers: Correct View Active button permission.
This commit is contained in:
@@ -1481,4 +1481,24 @@ $text['button-rooms']['ru-ru'] = "Комнаты";
|
|||||||
$text['button-rooms']['sv-se'] = "Rum";
|
$text['button-rooms']['sv-se'] = "Rum";
|
||||||
$text['button-rooms']['uk-ua'] = "Кімнати";
|
$text['button-rooms']['uk-ua'] = "Кімнати";
|
||||||
|
|
||||||
?>
|
$text['button-view_active']['en-us'] = "View Active";
|
||||||
|
$text['button-view_active']['ar-eg'] = "";
|
||||||
|
$text['button-view_active']['de-at'] = "Aktive anzeigen"; //copied from de-de
|
||||||
|
$text['button-view_active']['de-ch'] = "Aktive anzeigen"; //copied from de-de
|
||||||
|
$text['button-view_active']['de-de'] = "Aktive anzeigen";
|
||||||
|
$text['button-view_active']['es-cl'] = "Ver Activo";
|
||||||
|
$text['button-view_active']['es-mx'] = "Ver Activo"; //copied from es-cl
|
||||||
|
$text['button-view_active']['fr-ca'] = "Voir Active"; //copied from fr-fr
|
||||||
|
$text['button-view_active']['fr-fr'] = "Voir Active";
|
||||||
|
$text['button-view_active']['he-il'] = "";
|
||||||
|
$text['button-view_active']['it-it'] = "Mostra Attive";
|
||||||
|
$text['button-view_active']['nl-nl'] = "Toon aktieve ruimten";
|
||||||
|
$text['button-view_active']['pl-pl'] = "";
|
||||||
|
$text['button-view_active']['pt-br'] = "Ver Ativo"; //copied from pt-pt
|
||||||
|
$text['button-view_active']['pt-pt'] = "Ver Ativo";
|
||||||
|
$text['button-view_active']['ro-ro'] = "";
|
||||||
|
$text['button-view_active']['ru-ru'] = "Просмотр Активных";
|
||||||
|
$text['button-view_active']['sv-se'] = "Visa Aktiva";
|
||||||
|
$text['button-view_active']['uk-ua'] = "";
|
||||||
|
|
||||||
|
?>
|
||||||
@@ -131,6 +131,9 @@
|
|||||||
echo "<div class='action_bar' id='action_bar'>\n";
|
echo "<div class='action_bar' id='action_bar'>\n";
|
||||||
echo " <div class='heading'><b>".$text['title-conference_centers']." (".$num_rows.")</b></div>\n";
|
echo " <div class='heading'><b>".$text['title-conference_centers']." (".$num_rows.")</b></div>\n";
|
||||||
echo " <div class='actions'>\n";
|
echo " <div class='actions'>\n";
|
||||||
|
if (permission_exists('conference_active_view')) {
|
||||||
|
echo button::create(['type'=>'button','label'=>$text['button-view_active'],'icon'=>'comments','link'=>PROJECT_PATH.'/app/conferences_active/conferences_active.php']);
|
||||||
|
}
|
||||||
echo button::create(['type'=>'button','label'=>$text['button-rooms'],'icon'=>'door-open','style'=>'margin-right: 15px;','link'=>'conference_rooms.php']);
|
echo button::create(['type'=>'button','label'=>$text['button-rooms'],'icon'=>'door-open','style'=>'margin-right: 15px;','link'=>'conference_rooms.php']);
|
||||||
if (permission_exists('conference_center_add')) {
|
if (permission_exists('conference_center_add')) {
|
||||||
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$_SESSION['theme']['button_icon_add'],'link'=>'conference_center_edit.php']);
|
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$_SESSION['theme']['button_icon_add'],'link'=>'conference_center_edit.php']);
|
||||||
@@ -153,11 +156,6 @@
|
|||||||
if ($paging_controls_mini != '') {
|
if ($paging_controls_mini != '') {
|
||||||
echo "<span style='margin-left: 15px;'>".$paging_controls_mini."</span>";
|
echo "<span style='margin-left: 15px;'>".$paging_controls_mini."</span>";
|
||||||
}
|
}
|
||||||
echo "<span style='margin-left: 15px;'>";
|
|
||||||
if (permission_exists('conference_active_advanced_view')) {
|
|
||||||
echo button::create(['type'=>'button','label'=>$text['button-view'],'icon'=>'bolt','link'=>PROJECT_PATH.'/app/conferences_active/conferences_active.php']);
|
|
||||||
}
|
|
||||||
echo "</span>\n";
|
|
||||||
echo " </form>\n";
|
echo " </form>\n";
|
||||||
echo " </div>\n";
|
echo " </div>\n";
|
||||||
echo " <div style='clear: both;'></div>\n";
|
echo " <div style='clear: both;'></div>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user