yms/yms.php
changeset 5 a917cbab0280
parent 4 9fdc988ce46e
child 6 c1b4f69c187e
equal deleted inserted replaced
4:9fdc988ce46e 5:a917cbab0280
   246     
   246     
   247     </table>
   247     </table>
   248     </div>
   248     </div>
   249     
   249     
   250     <br /><br />
   250     <br /><br />
   251     <a href="<?php echo makeUrlNS('Special', 'YMS/Converter'); ?>" onclick="yms_showpage('Converter'); return false;" class="abutton abutton_red icon"
   251     <?php
   252        style="background-image: url(<?php echo scriptPath; ?>/plugins/yms/icons/application_view_icons.png);">
   252   }
   253       <?php echo $lang->get('yms_btn_show_converter'); ?>
   253   
   254     </a>
   254   ?>
   255     
   255   <a href="<?php echo makeUrlNS('Special', 'YMS/Converter'); ?>" onclick="yms_showpage('Converter'); return false;" class="abutton abutton_red icon"
   256     <a href="<?php echo makeUrlNS('Special', 'YMS/ShowClientInfo'); ?>" onclick="yms_showpage('ShowClientInfo'); return false;" class="abutton abutton_blue icon"
   256      style="background-image: url(<?php echo scriptPath; ?>/plugins/yms/icons/application_view_icons.png);">
   257        style="background-image: url(<?php echo scriptPath; ?>/plugins/yms/icons/show_client_info.png);">
   257     <?php echo $lang->get('yms_btn_show_converter'); ?>
   258       <?php echo $lang->get('yms_btn_show_client_info'); ?>
   258   </a>
   259     </a>
   259   
   260     
   260   <a href="<?php echo makeUrlNS('Special', 'YMS/ShowClientInfo'); ?>" onclick="yms_showpage('ShowClientInfo'); return false;" class="abutton abutton_blue icon"
   261     <?php if ( getConfig('yms_claim_enable', 0) == 1 ): ?>
   261      style="background-image: url(<?php echo scriptPath; ?>/plugins/yms/icons/show_client_info.png);">
   262     <a href="<?php echo makeUrlNS('Special', 'YMS', 'client_switch', true); ?>" class="abutton abutton_green">
   262     <?php echo $lang->get('yms_btn_show_client_info'); ?>
   263       <?php echo $yms_client_id == 0 ? $lang->get('yms_btn_switch_from_zero') : $lang->get('yms_btn_switch_to_zero'); ?>
   263   </a>
   264     </a>
   264   
   265     <?php endif;
   265   <?php if ( getConfig('yms_claim_enable', 0) == 1 ): ?>
   266   }
   266   <a href="<?php echo makeUrlNS('Special', 'YMS', 'client_switch', true); ?>" class="abutton abutton_green">
       
   267     <?php echo $yms_client_id == 0 ? $lang->get('yms_btn_switch_from_zero') : $lang->get('yms_btn_switch_to_zero'); ?>
       
   268   </a>
       
   269   <?php endif; ?>
       
   270   <?php
       
   271   
   267   $db->free_result($q);
   272   $db->free_result($q);
   268   
   273   
   269   // close off inner div (yms-keylist)
   274   // close off inner div (yms-keylist)
   270   if ( !isset($_GET['ajax'] ) )
   275   if ( !isset($_GET['ajax'] ) )
   271     echo '</div>';
   276     echo '</div>';