HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Tips/Tricks/Mods (http://www.howtoforge.com/forums/forumdisplay.php?f=29)
-   -   can i hide SSL option for user? (http://www.howtoforge.com/forums/showthread.php?t=48101)

radim_h 19th August 2010 22:50

can i hide SSL option for user?
 
hell-ow! :)

is there posibility hide the ssl option for web pages for users?

As only one user per IP address can use SSL, this option is bit confusing for users..
i would like if only admin can set SSL option for users

HyperAtom 19th August 2010 23:20

Make a feature request in the bug tracker

radim_h 20th August 2010 12:39

done :)
 
done that :)

shoevring 15th October 2010 22:58

Yes you can, very easy, but every updates you should do this every time..

/usr/local/ispconfig/interface/web/sites/form/web_domain.tform.php

In line: ~ 247 before: $form["tabs"]['ssl'] = array (

Set this mark: /*

and

In line: ~360 before: //* Statistics

Set this mark: */

Save and then the SSL tab is away from everybody, if you only want to admins can see them, just remove the: /* and */

In line: ~ 247 before: $form["tabs"]['ssl'] = array (

Paste this in: if($_SESSION['s']['user']['typ'] == 'admin') {

AND

In line: ~360 before: //* Statistics

Paste this in: }


And you are done ;)


All times are GMT +2. The time now is 22:09.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.