Create a new group (www-pub) and add the users to that group
groupadd www-pub
usermod -a -G www-pub usera ## must use -a to append to existing groups
usermod -a -G www-pub userb
groups usera ## display groups for user| // An example controller binded to the form | |
| function FormCntl($scope, $compile) { | |
| // Consider using FosJsRouting bundle, if you want to use a Symfony2 route | |
| $scope.formUrl = "http://url-to-fetch-my-form"; | |
| // Data from the form will be binded here | |
| $scope.data = {}; | |
| // Method called when submitting the form | |
| $scope.submit = function() { |
Create a new group (www-pub) and add the users to that group
groupadd www-pub
usermod -a -G www-pub usera ## must use -a to append to existing groups
usermod -a -G www-pub userb
groups usera ## display groups for user| <?php | |
| /** | |
| * Makes SEO URL from string | |
| * | |
| * @author Mantas Varatiejus <var.mantas@gmail.com> | |
| * @copyright 2011-2013, Mantas Varatiejus | |
| */ | |
| class SlugGenerator | |
| { |
| <?php | |
| /** | |
| * Pluralization in lithuanian language | |
| * | |
| * @author Mantas Varatiejus <var.mantas@gmail.com> | |
| * @package Internationalization | |
| */ | |
| /** | |
| * Returns translation index for the right plural form |