summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorJayaram R Pai2014-06-21 20:26:13 +0530
committerJayaram R Pai2014-06-21 20:26:13 +0530
commitb34018ca5761c9c359477bb3e176b3bb6f9fa3ee (patch)
tree4ed3b076afb0475fcd8ed58ea67414d45b63dd4f /index.php
parentc540059e5dc6efed8a97fecb1ec72ed730657e79 (diff)
downloadscilab_cloud_interface-b34018ca5761c9c359477bb3e176b3bb6f9fa3ee.tar.gz
scilab_cloud_interface-b34018ca5761c9c359477bb3e176b3bb6f9fa3ee.tar.bz2
scilab_cloud_interface-b34018ca5761c9c359477bb3e176b3bb6f9fa3ee.zip
fixed +Contributor display if eid in
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/index.php b/index.php
index ef017ae..8c38519 100755
--- a/index.php
+++ b/index.php
@@ -284,7 +284,7 @@
<option value="4" <?php echo is_selected(4); ?>>Thermodynamics</option>
<option value="13" <?php echo is_selected(13); ?>>Others</option>
</select>
- <span id="contrib"> <a class="fancymenu" href="#acknowledge">+ Contributor</a></span>
+ <span id="contrib" <?php if($eid) echo "style='display: inline;'"?>> <a class="fancymenu" href="#acknowledge">+ Contributor</a></span>
</td>
</tr>
@@ -415,7 +415,13 @@
</td>
</tr>
</table>
- <div id="acknowledge" style="display:none;"></div>
+ <div id="acknowledge" style="display:none;">
+ <?php
+ if($eid) {
+ echo $elements["contrib"];
+ }
+ ?>
+ </div>
<div class="footer white-text">
<p class="test-footer" style="font-size: 10px;color: lightgoldenrodyellow;text-align: center;margin: 0px 0px 0px 0px;">Disclaimer: Scilab is a trademark of <a href="http://www.inria.fr/en/" target="_blank" class="ext" style="color:#FFFFFF;">Inria</a><span class="ext"></span> (registered at the INPI for France and the rest of the World) and <a href="http://www.scilab-enterprises.com/" target="_blank" class="ext" style="color:#FFFFFF;">Scilab Enterprises</a><span class="ext"></span> is granted exclusive rights for Scilab Trademark.
</p>