mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-29 10:26:46 -04:00
Merge branch 'master' of git@github.com:gallery/gallery3
This commit is contained in:
@@ -92,7 +92,7 @@ class gallery_block_Core {
|
||||
$form = new Forge("admin/dashboard/add_block", "", "post",
|
||||
array("id" => "gAddDashboardBlockForm"));
|
||||
$group = $form->group("add_block")->label(t("Add Block"));
|
||||
$group->dropdown("id")->label("Available Blocks")->options(block_manager::get_available());
|
||||
$group->dropdown("id")->label(t("Available Blocks"))->options(block_manager::get_available());
|
||||
$group->submit("center")->value(t("Add to center"));
|
||||
$group->submit("sidebar")->value(t("Add to sidebar"));
|
||||
return $form;
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
<? elseif ($intent === access::ALLOW): ?>
|
||||
<td class="gAllowed">
|
||||
<? if ($item->id == 1): ?>
|
||||
<img src="<?= url::file('themes/default/images/ico-success.png') ?>" title="allowed" alt="<?= t('allowed icon') ?>" />
|
||||
<img src="<?= url::file('themes/default/images/ico-success.png') ?>" title="<?= t("allowed") ?>" alt="<?= t('allowed icon') ?>" />
|
||||
<? else: ?>
|
||||
<a href="javascript:set('reset',<?= $group->id ?>,<?= $permission->id ?>,<?= $item->id ?>)"
|
||||
title="<?= t('allowed, click to reset') ?>">
|
||||
|
||||
Reference in New Issue
Block a user