Changeset 298
- Timestamp:
- 04/21/08 21:33:44 (7 months ago)
- Files:
-
- shouts/releases/0.1/lib/shouts_actions.php (modified) (1 diff)
- shouts/releases/0.1/templates/shout_post_keyword.html (modified) (1 diff)
- shouts/trunk/lib/shouts_actions.php (modified) (1 diff)
- shouts/trunk/templates/shout_post_keyword.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
shouts/releases/0.1/lib/shouts_actions.php
r295 r298 35 35 } 36 36 // check if user is loggedin, have access and shout parent exists 37 if (isloggedin() && !empty($shout->content) && permissions_check('profile', $page_owner)) { 37 if (isloggedin() && !empty($shout->content) && 38 ($type_shout == 'reply' || 39 permissions_check('profile', $page_owner))) { 38 40 $shout->posted = time(); 39 41 $shout->owner = $USER->ident; shouts/releases/0.1/templates/shout_post_keyword.html
r295 r298 10 10 </div> 11 11 {{content}} 12 </div>13 <div class="shout-reply">14 {{replies}}15 12 </div> 16 13 <div class="clearing"></div> shouts/trunk/lib/shouts_actions.php
r295 r298 35 35 } 36 36 // check if user is loggedin, have access and shout parent exists 37 if (isloggedin() && !empty($shout->content) && permissions_check('profile', $page_owner)) { 37 if (isloggedin() && !empty($shout->content) && 38 ($type_shout == 'reply' || 39 permissions_check('profile', $page_owner))) { 38 40 $shout->posted = time(); 39 41 $shout->owner = $USER->ident; shouts/trunk/templates/shout_post_keyword.html
r295 r298 10 10 </div> 11 11 {{content}} 12 </div>13 <div class="shout-reply">14 {{replies}}15 12 </div> 16 13 <div class="clearing"></div>
