responsive layout
This commit is contained in:
parent
8d78f0d040
commit
ed325fcab6
|
@ -160,6 +160,10 @@ function getSelfServiceProfiles() {
|
||||||
$types = LAM\TYPES\getTypes();
|
$types = LAM\TYPES\getTypes();
|
||||||
$dir = dir(substr(__FILE__, 0, strlen(__FILE__) - 20) . "/config/selfService");
|
$dir = dir(substr(__FILE__, 0, strlen(__FILE__) - 20) . "/config/selfService");
|
||||||
$ret = array();
|
$ret = array();
|
||||||
|
if ($dir === false) {
|
||||||
|
logNewMessage(LOG_ERR, 'Unable to read self service profiles');
|
||||||
|
return $ret;
|
||||||
|
}
|
||||||
while ($entry = $dir->read()){
|
while ($entry = $dir->read()){
|
||||||
$ext = substr($entry, strrpos($entry, '.') + 1);
|
$ext = substr($entry, strrpos($entry, '.') + 1);
|
||||||
$name = substr($entry, 0, strrpos($entry, '.'));
|
$name = substr($entry, 0, strrpos($entry, '.'));
|
||||||
|
|
|
@ -144,7 +144,7 @@ $tabindex = 1;
|
||||||
$box->add(new htmlLink(_("Manage server profiles"), 'profmanage.php'), 12, 12, 12, 'text-center');
|
$box->add(new htmlLink(_("Manage server profiles"), 'profmanage.php'), 12, 12, 12, 'text-center');
|
||||||
|
|
||||||
$boxDiv = new htmlDiv(null, $box);
|
$boxDiv = new htmlDiv(null, $box);
|
||||||
$boxDiv->setCSSClasses(array('ui-corner-all', 'roundedShadowBox', 'limitWidth'));
|
$boxDiv->setCSSClasses(array('ui-corner-all', 'roundedShadowBox', 'limitWidth', 'text-center'));
|
||||||
$row->add($boxDiv, 12);
|
$row->add($boxDiv, 12);
|
||||||
|
|
||||||
// back link
|
// back link
|
||||||
|
@ -152,7 +152,7 @@ $tabindex = 1;
|
||||||
$backLink = new htmlLink(_("Back to login"), '../login.php', '../../graphics/undo.png');
|
$backLink = new htmlLink(_("Back to login"), '../login.php', '../../graphics/undo.png');
|
||||||
$row->add($backLink, 12, 12, 12, 'text-left');
|
$row->add($backLink, 12, 12, 12, 'text-left');
|
||||||
|
|
||||||
parseHtml(null, $row, array(), false, $tabindex, 'user');
|
parseHtml(null, new htmlDiv(null, $row, array('centeredTable')), array(), false, $tabindex, 'user');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue