Require Approval For Web Link

From Joomla! Documentation

Joomla 1.5

To require approval for new Web Links

In Joomla! 1.5.3

Change line 105 of components/com_weblinks/views/weblink/view.html.php from

$weblink->approved = 1;

to

$weblink->approved = 0;

To remove the published option from the New Web Link form

Comment out lines 59 - 68 of components/com_weblinks/views/weblink/tmpl/form.php. Change from

58 </tr>
59 <tr>
60     <td valign="top">
61         <label for="jformpublished">
62             <?php echo JText::_( 'Published' ); ?>:
63         </label>
64     </td>
65     <td>
66             <?php echo $this->lists['published']; ?>
67     </td>
68 </tr>
69 <tr>

to

59 <!-- <tr>
60     <td valign="top">
61         <label for="jformpublished">
62             <?php echo JText::_( 'Published' ); ?>:
63         </label>
64     </td>
65     <td>
66             <?php echo $this->lists['published']; ?>
67     </td>
68 </tr> -->