This Blog has a lot useful Info on Saving Schemes in India
--
Saravanan
This option is implemented by checking whether the comment text has a @ and if so, we just indent it and hide the reply link from the user so that this comment cannot be commented. /home/webmaster/public_html/mod/thewire/views/default/object/thewire.php 1. check for the @ in the text [code] $haystack= $vars['entity']->description; $needle = "@"; if($haystack[0] == $needle) $shallIndent = TRUE; else $shallIndent = FALSE; [/code] 2. use the indentation for the div which is a comment or a reply to a post made earlier. [code] if($shallIndent) { ?> <!-- style="margin-left:50px"--> <div class="thewire-singlepage" style="margin-left:50px"> <?php } else { ?> <div class="thewire-singlepage"> ...
Comments
Post a Comment