Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.57 KB | None | 0 0
  1. <tr>
  2.     <td class="key">
  3.         <label for="created_by_alias">
  4.             <?php echo JText::_( 'Author Alias' ); ?>:
  5.         </label>
  6.     </td>
  7.     <td>
  8.     <?php
  9.       $aliasBisher = $this->escape($this->article->created_by_alias);
  10.       if (empty($aliasBisher)){
  11.         $user     =& JFactory::getUser();
  12.         $username = $user->get('username');
  13.         $alias = $aliasBisher;
  14.       }
  15.       else {
  16.         $alias = $aliasBisher;
  17.       }
  18.     ?>
  19.         <input type="text" id="created_by_alias" name="created_by_alias" size="50" maxlength="100" value="<?=$alias?>" class="inputbox" />
  20.     </td>
  21. </tr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement