Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Apr 16, 2022
1 parent 7e225b3 commit bc28448
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions htdocs/modules/system/templates/system_imagemanager.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
<link rel="stylesheet" type="text/css" media="screen" href="<{xoAppUrl media/font-awesome/css/font-awesome.min.css}>">

<{php}>
$language = $GLOBALS['xoopsConfig']['language'];
if(file_exists(XOOPS_ROOT_PATH.'/language/'.$language.'/style.css')){
echo "
<link rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"language/$language/style.css\">
";
}
$language = $GLOBALS['xoopsConfig']['language'];
if(file_exists(XOOPS_ROOT_PATH.'/language/'.$language.'/style.css')){
echo "
<link rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"language/$language/style.css\">
";
}
<{/php}>

</head>
Expand All @@ -49,36 +49,36 @@
</td>

<{if $show_cat > 0}>
<td id="addimage" class="txtright"><a href="<{$xoops_url}>/imagemanager.php?target=<{$target}>&op=upload&imgcat_id=<{$show_cat}>"
title="<{$lang_addimage}>"><{$lang_addimage}></a></td>
<td id="addimage" class="txtright"><a href="<{$xoops_url}>/imagemanager.php?target=<{$target}>&op=upload&imgcat_id=<{$show_cat}>"
title="<{$lang_addimage}>"><{$lang_addimage}></a></td>
<{/if}>

</tr>
</table>
</form>
<div id="pagenav"><{$pagenav|default:''}></div>
<{if $image_total|default:0 > 0}>
<table cellspacing="0" id="imagemain">
<tr>
<th><{$lang_imagename}></th>
<th><{$lang_image}></th>
<th><{$lang_imagemime}></th>
<th><{$lang_align}></th>
</tr>
<table cellspacing="0" id="imagemain">
<tr>
<th><{$lang_imagename}></th>
<th><{$lang_image}></th>
<th><{$lang_imagemime}></th>
<th><{$lang_align}></th>
</tr>

<{section name=i loop=$images}>
<tr class="txtcenter">
<td><input type="hidden" name="image_id[]" value="<{$images[i].id}>"/><{$images[i].nicename}></td>
<td><img style="max-width:200px;" src="<{$images[i].src}>" alt=""/></td>
<td><{$images[i].mimetype}></td>
<td><button type="button" class="btn btn-default" onclick="appendCode('<{$images[i].lxcode}>');" title="<{$smarty.const._LEFT}>" aria-label="Left Align"><span class="fa fa-align-left" aria-hidden="true"></span></button>
<button type="button" class="btn btn-default" onclick="appendCode('<{$images[i].xcode}>');" title="<{$smarty.const._CENTER}>" aria-label="Center Align"><span class="fa fa-align-center" aria-hidden="true"></span></button>
<button type="button" class="btn btn-default" onclick="appendCode('<{$images[i].rxcode}>');" title="<{$smarty.const._RIGHT}>" aria-label="Right Align"><span class="fa fa-align-right" aria-hidden="true"></span></button>
</tr>
<{/section}>
</table>
<{section name=i loop=$images}>
<tr class="txtcenter">
<td><input type="hidden" name="image_id[]" value="<{$images[i].id}>"/><{$images[i].nicename}></td>
<td><img style="max-width:200px;" src="<{$images[i].src}>" alt=""/></td>
<td><{$images[i].mimetype}></td>
<td><button type="button" class="btn btn-default" onclick="appendCode('<{$images[i].lxcode}>');" title="<{$smarty.const._LEFT}>" aria-label="Left Align"><span class="fa fa-align-left" aria-hidden="true"></span></button>
<button type="button" class="btn btn-default" onclick="appendCode('<{$images[i].xcode}>');" title="<{$smarty.const._CENTER}>" aria-label="Center Align"><span class="fa fa-align-center" aria-hidden="true"></span></button>
<button type="button" class="btn btn-default" onclick="appendCode('<{$images[i].rxcode}>');" title="<{$smarty.const._RIGHT}>" aria-label="Right Align"><span class="fa fa-align-right" aria-hidden="true"></span></button>
</tr>
<{/section}>
</table>
<{else}>
<div id="welcomenot"></div>
<div id="welcomenot"></div>
<{/if}>

<div id="pagenav"><{$pagenav|default:''}></div>
Expand Down

0 comments on commit bc28448

Please sign in to comment.