[svn r18770] minor - logic changes - allow see correctly network social tool - (partial FS#3743)

skala
Isaac Flores 17 years ago
parent e7b2a653ba
commit 85dc9d22d6
  1. 11
      main/auth/profile.php

@ -1,4 +1,4 @@
<?php // $Id: profile.php 18693 2009-02-25 15:43:24Z cvargas1 $
<?php // $Id: profile.php 18770 2009-03-02 22:11:24Z iflorespaz $
/* For licensing terms, see /dokeos_license.txt */
/**
==============================================================================
@ -711,10 +711,15 @@ Display :: display_header('');
if (api_get_setting('extended_profile') == 'true') {
echo '<div class="actions">';
if (isset($_GET['show'])) {
$show='&amp;show='.$_GET['show'];
} else {
$show='';
}
if ($_GET['type']=='extended') {
echo '<a href="profile.php?type=reduced&show=1">'.Display::return_icon('edit.gif').'&nbsp;'.get_lang('EditNormalProfile').'</a>';
echo '<a href="profile.php?type=reduced'.$show.'">'.Display::return_icon('edit.gif').'&nbsp;'.get_lang('EditNormalProfile').'</a>';
} else {
echo '<a href="profile.php?type=extended&show=1">'.Display::return_icon('edit.gif').'&nbsp;'.get_lang('EditExtendProfile').'</a>';
echo '<a href="profile.php?type=extended'.$show.'">'.Display::return_icon('edit.gif').'&nbsp;'.get_lang('EditExtendProfile').'</a>';
}
echo '</div>';
}

Loading…
Cancel
Save