Plugin Directory

Changeset 787399


Ignore:
Timestamp:
10/14/2013 06:14:36 AM (12 years ago)
Author:
robby.roboter
Message:

Tabs added + iframe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • redi-restaurant-reservation/trunk/templates/admin.php

    r783623 r787399  
     1<style type="text/css">
     2    .tab_wrap {
     3        background-color: #FFFFFF;
     4        border: 1px solid #CCCCCC;
     5        padding: 10px;
     6    }
     7</style>
     8
    19<div class="wrap">
     10<!-- tabs --
     11<a class="nav-tab <?php if(!isset($_GET['sm']) || (isset($_GET['sm']) && $_GET['sm']=='common')): ?> nav-tab-active<?php endif;?>"
     12   href="options-general.php?page=options_page_slug&sm=common"><?php _e('Common settings', 'redi-restaurant-reservation') ?></a>
     13<a class="nav-tab <?php if((isset($_GET['sm']) && $_GET['sm']=='advanced')): ?> nav-tab-active<?php endif;?>"
     14   href="options-general.php?page=options_page_slug&sm=advanced"><?php _e('Advanced settings', 'redi-restaurant-reservation') ?></a>
     15<div class="tab_wrap">
     16<!-- /tabs -->
    217    <?php if (isset($settings_saved)): ?>
    318        <div class="updated" id="message">
     
    1732            <?php endforeach;?>
    1833    <?php endif ?>
     34    <?php if(!isset($_GET['sm']) || (isset($_GET['sm']) && $_GET['sm']=='common')): ?>
    1935    <div class="icon32" id="icon-admin"><br></div>
    2036    <h2><?php _e('Common settings', 'redi-restaurant-reservation'); ?></h2>
     
    363379        <input class="button-primary" id="submit" type="submit" value="Save" name="submit">
    364380    </form>
     381<!-- tabs --
     382<?php else:?>
     383    <iframe src="http://wp.reservationdiary.eu/<?php echo $this->ApiKey; ?>/en-uk/AvailableSeats" width="100%;" style="min-height: 500px;"></iframe>
     384    <?php endif ?>
     385-- /tams-->
    365386</div>
     387<!-- tabs --\
     388</div>
     389<!-- /tams-->
    366390<br/>
    367391<br/>
Note: See TracChangeset for help on using the changeset viewer.