From: Hendrik B. <nh...@us...> - 2011-06-26 00:05:25
|
Update of /cvsroot/arianne/stendhal_website/content/frame In directory vz-cvs-4.sog:/tmp/cvs-serv4042/content/frame Modified Files: association.php Log Message: added "edit" link to the account navigation box Index: association.php =================================================================== RCS file: /cvsroot/arianne/stendhal_website/content/frame/association.php,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** association.php 25 Jun 2011 23:58:27 -0000 1.31 --- association.php 26 Jun 2011 00:05:22 -0000 1.32 *************** *** 194,197 **** --- 194,200 ---- echo '<li><a id="menuAcccountRecentChanges" href="/?lang='.$lang.'&id=content/association/history">'.t('Recent changes').'</a></li>'."\n"; echo '<li><a id="menuAcccountDocuments" href="/?lang='.$lang.'&id=content/association/documents">'.t('Documents').'</a></li>'."\n"; + if ($_REQUEST['id'] == '') { + echo '<li><a id="menuAcccountEdit" href="/?id=content/association/edit&lang='.surlencode($lang).'&title='.urlencode($_REQUEST['title']).'">'.t('Edit').'</a></li>'."\n"; + } echo '</ul>'; endBox(); |