If you’re working on the new LimeSurvey (2.0), look in the views, “surveybar_view.php”.

I'm using limesurvey2.00 RC4, I could find surveybar_view.php from limesurvey\application\views\admin\survey 
directory. 

To add icon, I have added some commands for it, like below,

<?php if($tokenmanagement) { ?>
                <li><a href="<?php echo $this->createUrl("admin/tokens/index/surveyid/$surveyid"); ?>">
                        <img src='<?php echo $sImageURL;?>tokens.png' alt='<?php $clang->eT("Token management");?>' width="<?php echo $iIconSize;?>" height="<?php echo $iIconSize;?>"/></a>
                </li>
            <?php } ?>

<?php if($sendlink) { ?>
               
            <?php } ?>

But it shows some errors due to declaring $sendlink, So can I know where is declare $tokenmanagement ?

 

You’ll find examples in both of those files of how to programmatically build a survey URL.