diff options
-rw-r--r-- | core/views/admin_block_photo_stream.html.php | 4 | ||||
-rw-r--r-- | core/views/admin_graphics.html.php | 78 | ||||
-rw-r--r-- | core/views/admin_modules.html.php | 2 | ||||
-rw-r--r-- | core/views/kohana_profiler.php | 16 | ||||
-rw-r--r-- | core/views/permissions_browse.html.php | 2 | ||||
-rw-r--r-- | core/views/permissions_form.html.php | 2 |
6 files changed, 53 insertions, 51 deletions
diff --git a/core/views/admin_block_photo_stream.html.php b/core/views/admin_block_photo_stream.html.php index a837151b..f7889a9c 100644 --- a/core/views/admin_block_photo_stream.html.php +++ b/core/views/admin_block_photo_stream.html.php @@ -3,8 +3,8 @@ Recent photos added to your Gallery </p> <? foreach ($photos as $photo): ?> -<a href="<?= url::site("photos/$photo->id") ?>"> +<a href="<?= url::site("photos/$photo->id") ?>" title="<?= $photo->title ?>"> <img <?= photo::img_dimensions($photo->width, $photo->height, 72) ?> - src="<?= $photo->thumb_url() ?>" alt="" /> + src="<?= $photo->thumb_url() ?>" alt="<?= $photo->title ?>" /> </a> <? endforeach ?> diff --git a/core/views/admin_graphics.html.php b/core/views/admin_graphics.html.php index 6b64da59..e0fedbec 100644 --- a/core/views/admin_graphics.html.php +++ b/core/views/admin_graphics.html.php @@ -10,44 +10,45 @@ $("#gAdminGraphics table tr").click(select_toolkit); }); </script> -<div id="gAdminGraphics"> - <h1> <?= t("Graphics Settings") ?> </h1> - <p> - <?= t("Gallery needs a graphics toolkit in order to manipulate your photos. Please choose one from the list below.") ?> - </p> - <h2> <?= t("Graphics Toolkits") ?> </h2> - <table> - <tr id="gd" <?= ($active == "gd") ? "class=\"selected\"" : "" ?>> - <td valign="top"> - <img width="170" height="110" src="http://www.libgd.org/skins/libgd/gdlogosmall.png"> - </td> - <td> - <h3> <?= t("GD") ?> </h3> - <p> - <?= t("The GD graphics library is an extension to PHP commonly installed most webservers. Please refer to the {{link_start}}GD website{{link_end}} for more information.", - array("link_start" => "<a href=\"http://www.boutell.com/gd/\">", "link_end" => "</a>")) ?> - </p> - <? if ($tk->gd["GD Version"] && function_exists('imagerotate')): ?> - <p class="gSuccess"> - <?= t("You have GD version {{version}}.", array("version" => $tk->gd["GD Version"])) ?> - </p> - <? elseif ($tk->gd["GD Version"]): ?> - <p class="gWarning"> - <?= t("You have GD version {{version}}, but it lacks image rotation.", - array("version" => $tk->gd["GD Version"])) ?> - </p> - <? else: ?> - <p class="gInfo"> - <?= t("You do not have GD installed.") ?> - </p> - <? endif ?> - </td> - </tr> +<h1> <?= t("Graphics Settings") ?> </h1> +<p> + <?= t("Gallery needs a graphics toolkit in order to manipulate your photos. Please choose one from the list below.") ?> +</p> + +<h2> <?= t("Graphics Toolkits") ?> </h2> + +<table id="gAdminGraphics"> + <tr id="gd" <?= ($active == "gd") ? "class=\"selected\"" : "" ?>> + <td valign="top"> + <img width="170" height="110" src="http://www.libgd.org/skins/libgd/gdlogosmall.png" alt="<? t("Visit the GD lib project site") ?>" /> + </td> + <td> + <h3> <?= t("GD") ?> </h3> + <p> + <?= t("The GD graphics library is an extension to PHP commonly installed most webservers. Please refer to the {{link_start}}GD website{{link_end}} for more information.", + array("link_start" => "<a href=\"http://www.boutell.com/gd/\">", "link_end" => "</a>")) ?> + </p> + <? if ($tk->gd["GD Version"] && function_exists('imagerotate')): ?> + <p class="gSuccess"> + <?= t("You have GD version {{version}}.", array("version" => $tk->gd["GD Version"])) ?> + </p> + <? elseif ($tk->gd["GD Version"]): ?> + <p class="gWarning"> + <?= t("You have GD version {{version}}, but it lacks image rotation.", + array("version" => $tk->gd["GD Version"])) ?> + </p> + <? else: ?> + <p class="gInfo"> + <?= t("You do not have GD installed.") ?> + </p> + <? endif ?> + </td> + </tr> <tr id="imagemagick" <?= ($active == "imagemagick") ? "class=\"selected\"" : "" ?>> <td valign="top"> - <img width="114" height="118" src="http://www.imagemagick.org/image/logo.jpg"> + <img width="114" height="118" src="http://www.imagemagick.org/image/logo.jpg" alt="<? t("Visit the ImageMagick project site") ?>" /> </td> <td> <h3> <?= t("ImageMagick") ?> </h3> @@ -69,7 +70,7 @@ <tr id="graphicsmagick" <?= ($active == "graphicsmagick") ? "class=\"selected\"" : "" ?>> <td valign="top"> - <img width="107" height="76" src="http://www.graphicsmagick.org/images/gm-107x76.png"> + <img width="107" height="76" src="http://www.graphicsmagick.org/images/gm-107x76.png" alt="<? t("Visit the GraphicsMagick project site") ?>" /> </td> <td> <h3> <?= t("GraphicsMagick") ?> </h3> @@ -86,7 +87,6 @@ <?= t("GraphicsMagick is not available on your system.") ?> </p> <? endif ?> - </td> - </tr> - </table> -</div> + </td> + </tr> +</table> diff --git a/core/views/admin_modules.html.php b/core/views/admin_modules.html.php index 67fdfa32..53af2116 100644 --- a/core/views/admin_modules.html.php +++ b/core/views/admin_modules.html.php @@ -2,7 +2,7 @@ <div id="gModules"> <h1> <?= t("Gallery Modules") ?> </h1> <p> - <?= t("Power up your Gallery by adding more modules! Each module provides new cool features.") ?> + <?= t("Power up your Gallery by adding more modules! Each module provides new cool features.") ?> </p> <form method="post" action="<?= url::site("admin/modules/save") ?>"> diff --git a/core/views/kohana_profiler.php b/core/views/kohana_profiler.php index 4e33ff26..262f3527 100644 --- a/core/views/kohana_profiler.php +++ b/core/views/kohana_profiler.php @@ -1,24 +1,24 @@ <? defined("SYSPATH") or die("No direct script access.") ?> <style type="text/css"> #kohana-profiler { - font-family: Monaco, 'Courier New'; background-color: #F8FFF8; - margin-top: 20px; + border: 1px solid #E5EFF8; clear: both; + font-family: Monaco, 'Courier New'; + margin-top: 20px; padding: 10px 10px 0; - border: 1px solid #E5EFF8; text-align: left; } #kohana-profiler pre { - margin: 0; font: inherit; + margin: 0; } #kohana-profiler .kp-meta { - margin: 0 0 10px; - padding: 4px; - background: #FFF; + background: #fff; border: 1px solid #E5EFF8; color: #A6B0B8; + margin: 0 0 10px; + padding: 4px; text-align: center; } #kohana-profiler td { @@ -31,5 +31,5 @@ <? foreach ($profiles as $profile): ?> <?= $profile->render(); ?> <? endforeach; ?> - <p class="kp-meta">Profiler executed in <?= number_format($execution_time, 3) ?>s</p> + <p class="kp-meta"><?= t("Profiler executed in ") . number_format($execution_time, 3) ?>s</p> </div> diff --git a/core/views/permissions_browse.html.php b/core/views/permissions_browse.html.php index 88cdc7df..4c960134 100644 --- a/core/views/permissions_browse.html.php +++ b/core/views/permissions_browse.html.php @@ -1,5 +1,6 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <script type="text/javascript"> + <!-- var form_url = "<?= url::site("permissions/form/__ITEM__") ?>"; show = function(id) { $.ajax({ @@ -21,6 +22,7 @@ } }); } + //--> </script> <div id="gPermissions"> <ul> diff --git a/core/views/permissions_form.html.php b/core/views/permissions_form.html.php index 25b8e548..f0b67063 100644 --- a/core/views/permissions_form.html.php +++ b/core/views/permissions_form.html.php @@ -2,7 +2,7 @@ <form method="post" action="<?= url::site("permissions/edit/$item->id") ?>"> <?= access::csrf_form_field() ?> <fieldset> - <legend><?= t("Edit Permissions") ?> </legend> + <legend> <?= t("Edit Permissions") ?> </legend> <table> <tr> |