22
I would like to suggest a minor update for AMS 3.0. I desire that center align is possible for the topic/avatar image with a story. From what I've seen it takes the following adjustments:
In xoopsstory.php
function topicalign($astext=true)
{
if ( $astext ) {
if ( $this->topicalign == "R" ) {
$ret = "right";
} else if ( $this->topicalign == "L" ) {
$ret = "left";
} else if ( $this->topicalign == "C" ) {
$ret = "center";
} else {
$ret = "";
}
return $ret;
}
return $this->topicalign;
}
In storyform.inc.php
Added to line 145:
$posselect->addOption('C', _AMS_AM_CENTER);
Added to english/admin.php
define("_AMS_AM_CENTER","Center");