Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
index.php File Reference

Variables

foreach($ws_rules as $rule)('table_row_even',
'table_row_odd')?>"> <? if
(isset($edit) && $edit 
else = _("Liste der Zugriffsregeln")$controller->url_for('admin/webservice_access/update#edit')CSRFProtection::tokenTag() _('API-Key') _('Methode') _('IP Bereich') _('Typ') _('Aktion') = $rule->id) :$rule->id htmlReady($rule->api_key) htmlReady($rule->method) htmlReady($rule->ip_range) ($rule->type == 'allow' ? 'selected' : '') ($rule->type == 'deny' ? 'selected' : '') Assets::image_path('icons/16/green/accept.png')_("Änderungen speichern")_("Änderungen speichern")Assets::image_path('icons/16/red/decline.png')_("Abbrechen")_("Abbrechen")
foreach($ws_rules as $rule)('table_row_even',
'table_row_odd')?>"> <? if
(isset($edit) && $edit array
('title' => _('bearbeiten'))) ?>
</a> <a href 
endif
endforeach $infobox_content
 $infobox = array('picture' => 'infobox/administration.png', 'content' => $infobox_content)

Variable Documentation

$infobox = array('picture' => 'infobox/administration.png', 'content' => $infobox_content)
endforeach $infobox_content
Initial value:
array(
array(
'kategorie' => _('Zugriffsregeln verwalten'),
'eintrag' => array(array(
'icon' => 'icons/16/black/plus.png',
'text' => '<a href="'.$controller->url_for('admin/webservice_access/test').'">'._('Regeln testen').'</a>'
),
array(
'icon' => 'icons/16/black/plus.png',
'text' => '<a href="'.$controller->url_for('admin/webservice_access/new').'">'._('Neue Zugriffsregel anlegen').'</a>'
))
),
array(
'kategorie' => _('Hinweise'),
'eintrag' => array(array(
'icon' => 'icons/16/black/info.png',
'text' => '<div>' . _("Sie können für einen API-Key beliebig viele Regeln hinterlegen.") . '</div>
<div>' . _("Ein leerer Eintrag für die Methode gilt für alle Methoden. Sie können auch nur einen Teil eines Methodennamens eingeben.") . '</div>
<div>' . _("Ein leerer Eintrag für den IP Bereich gilt für alle Adressen. Sie können mehrere IP Adressen/Bereiche durch Kommata getrennt angeben. Adressbereiche müssen in CIDR Notation angegeben werden, z.B. 192.168.0.0/24") . '</div>'
))
)
)
foreach ($ws_rules as $rule) ('table_row_even', 'table_row_odd') ?>"> <? if (isset($edit) && $edit else = _("Liste der Zugriffsregeln")$controller->url_for('admin/webservice_access/update#edit')CSRFProtection::tokenTag() _('API-Key') _('Methode') _('IP Bereich') _('Typ') _('Aktion') = $rule->id) :$rule->id htmlReady($rule->api_key) htmlReady($rule->method) htmlReady($rule->ip_range) ($rule->type == 'allow' ? 'selected' : '') ($rule->type == 'deny' ? 'selected' : '') Assets::image_path('icons/16/green/accept.png')_("Änderungen speichern")_("Änderungen speichern")Assets::image_path('icons/16/red/decline.png')_("Abbrechen")_("Abbrechen")
foreach ($ws_rules as $rule) ('table_row_even', 'table_row_odd') ?>"> <? if (isset($edit) && $edit array ('title' => _('bearbeiten'))) ?> </a> <a href endif
Initial value:
"<?= $controller->url_for('admin/webservice_access/delete/'.$rule->id) ?>">
<?= Assets::img('icons/16/blue/trash.png', array('title' => _('löschen')))