Commit c2e3a1a3 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Skin/index.php: Adding text to help make editing of skin more obvious (bug 1228930)



Change-Id: Ic005a7ac65b5efe149fbde6082b203a9203d68f0
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 93a53fae
......@@ -48,6 +48,7 @@ $string['editskin'] = 'Edit skin';
$string['skinsaved'] = 'Skin saved successfully';
$string['skinimported'] = 'Skin imported successfully';
$string['clicktoedit'] = 'Click to edit skin';
$string['clickimagetoedit'] = 'Click image to edit';
$string['addtofavorites'] = 'Add to favorites';
$string['removefromfavorites'] = 'Remove from favorites';
$string['skinaddedtofavorites'] = 'Skin added to favorites';
......
......@@ -2419,7 +2419,7 @@ function mahara_standard_nav() {
if (can_use_skins()) {
$menu['myportfolio/skins'] = array(
'path' => 'myportfolio/skins',
'url' => 'skin/',
'url' => 'skin/index.php',
'title' => get_string('myskins', 'skin'),
'weight' => 65,
);
......
......@@ -5,6 +5,9 @@
height: 180px;
padding: 0px 20px 40px 20px;
}
.skinthumb h3 {
margin-bottom: 2px;
}
img.skinthumb {
border: 1px solid #333;
}
......@@ -19,6 +22,11 @@ img.skinthumb {
#skinactions .btn-add {
float: right;
}
.editskin {
float: right;
margin-right: 30px;
color: #aaaaaa;
}
/* ====== CSS for page skin selection tab ====== */
div.skintype {
......
......@@ -19,7 +19,9 @@
{foreach from=$skins item=skin}
<div class="skinthumb">
<h3>{$skin.title|escape}</h3>
{if $skin.editable}<a title="{str tag=clicktoedit section=skin}" href="{$WWWROOT}skin/design.php?id={$skin.id}{if $siteskins}&site=1{/if}"><img src="{$WWWROOT}skin/thumb.php?id={$skin.id}" width="240" height="135" style="border:1px solid #333"></a>
{if $skin.editable}
<span class="editskin"><a href="{$WWWROOT}skin/design.php?id={$skin.id}{if $siteskins}&site=1{/if}">{str tag="clickimagetoedit" section="skin"}</a></span>
<a title="{str tag=clicktoedit section=skin}" href="{$WWWROOT}skin/design.php?id={$skin.id}{if $siteskins}&site=1{/if}"><img src="{$WWWROOT}skin/thumb.php?id={$skin.id}" width="240" height="135" style="border:1px solid #333"></a>
{else}<img src="{$WWWROOT}skin/thumb.php?id={$skin.id}" width="240" height="135">{/if}
{if $skin.removable}<div class="skinactions" id="skinactions">
<a href="{$WWWROOT}skin/delete.php?id={$skin.id}{if $siteskins}&site=1{/if}" class="btn-del">{str tag="deletethisskin" section="skin"}</a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment