 |
|
| View previous topic :: View next topic |
| Author |
Message |
sdonovan Staff Sergeant

Joined: 22 Sep 2003 Posts: 33 Location: Maryland, USA
|
Posted: Thu Oct 16, 2003 5:03 am Post subject: Posting Articles or Story |
|
|
Why when a member sends a story and it is published by an admin does it look like the following:
Smithwrites: Yadda, yadda yadda.
There is no space between the author of the story and the word "writes"
Theme is BlackW
Where can I fix this?
I think I found it in the theme.php file.
Is it where it says | Code: | | $content .= ""._WRITES."<i>\"$thetext\"</i>$notes\n"; |
Is _WRITES. a "literal" and can I add a space to fix my problem?
The following is the code in it's entirety:
| Code: |
/* This function format the stories on the Homepage */
/************************************************************/
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b><i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "<a href=modules.php?name=Your_Account&op=userinfo&uname=$informant;>$informant</a>";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES."<i>\"$thetext\"</i>$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time $timezone ($counter "._READS.")";
$tmpl_file = "themes/BlackW/story_home.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
|
|
|
| Back to top |
|
 |
|
|
 |
aaanativearts Lieutenant Colonel

Joined: 09 Jul 2001 Posts: 417
|
Posted: Wed Nov 12, 2003 11:49 pm Post subject: |
|
|
It's in the language file. Go in the language file and find where it says:
| Code: | | define("_WRITES","writes"); |
and change it to:
| Code: | | define("_WRITES"," writes"); |
|
|
| Back to top |
|
 |
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|