Exemplo n.º 1
0
function getSkinPath($skinname)
{
    if (isCustomSkin($skinname)) {
        return __TEXTCUBE_SKIN_CUSTOM_DIR__ . '/' . substr($skinname, 10);
    }
    return __TEXTCUBE_SKIN_DIR__ . '/' . $skinname;
}
Exemplo n.º 2
0
?>
</a></li>
								</ul>
								
								<form id="htmlSectionForm" class="section" method="post" action="<?php 
echo $context->getProperty('uri.blog');
?>
/owner/skin/edit/skin/">
									<ul>
										<li class="selected"><a><img src="<?php 
echo $context->getProperty('uri.service') . $context->getProperty('panel.skin');
?>
/image/img_html_document_on.gif" alt="" /><strong>skin.html</strong></a>
											<span id="skin-download" class="download">
<?php 
if (isCustomSkin($skinSetting['skin']) && file_exists(getSkinPath($skinSetting['skin']) . "/skin.html")) {
    ?>
											<a href="<?php 
    echo $context->getProperty('uri.blog');
    ?>
/owner/skin/edit/download/?file=skin.html"><?php 
    echo _t('내려받기');
    ?>
</a>
<?php 
}
?>
											</span>
										</li>
									</ul>