コード例 #1
0
ファイル: album.php プロジェクト: Ashleyotero/oldest-old
</div>


<div class="wordtour-column-wrap wordtour-column-album">

	<div class="wordtour-alert"></div>
	<div class="wordtour-toolbar ui-helper-clearfix">
		<div title="Save Album" id="wordtour-button-save"></div>
		<div title="Import Album Info" id="wordtour-button-import">
			<span class="update"><br/>&nbsp;</span>	
			<span class="update"><br/>&nbsp;</span>		
		</div>
	</div>
<?php 
$default_panels_order = array("left" => array(array("details", 1), array("status", 1), array("more", 1), array("buy", 1)), "right" => array(array("poster", 1), array("order", 1), array("genre", 1), array("tracks", 1)));
$panels_order = wordtour_get_panel_state("album");
if (!$panels_order) {
    $panels_order = $default_panels_order;
}
?>
	<form id="album-form">
		<input type="hidden" name="album_id" value="<?php 
echo $_GET["album_id"];
?>
"></input>
		<input type="hidden" name="_album_nonce" value=""></input>
		<div class="ui-helper-clearfix">
			<div class="wordtour-column wordtour-column-left">
				<?php 
foreach ($panels_order["left"] as $panel) {
    call_user_func("wordtour_album_" . $panel[0] . "_panel", $panel[1]);
コード例 #2
0
ファイル: tour.php プロジェクト: Ashleyotero/oldest-old
		<div title="Save Tour" id="wordtour-button-save">
			<span class="update"><br/>Last Updated <span id="tour_publish_date"></span></span>
			<span class="update"><br/>&nbsp;</span>		
		</div>
		<div title="Set As Default" id="wordtour-button-default">
			 <span style="font-size:9px;" class="update"><br/></span>
			 <span class="update"><br/>&nbsp;</span>	
		</div>
		<div title="Remove Default" id="wordtour-button-undo-default" style='display:none;'>
			 <span class="update" style="visibility:visible;"><br/>Tour set as default</span>
			 <span class="update"><br/>&nbsp;</span>	
		</div>
	</div>
<?php 
$default_panels_order = array("left" => array(array("details", 1), array("status", 1), array("info", 1)), "right" => array(array("poster", 1), array("order", 1), array("genre", 1), array("gallery", 0), array("video", 0), array("category", 0)));
$panels_order = wordtour_get_panel_state("tour");
if (!$panels_order) {
    $panels_order = $default_panels_order;
}
?>
<form id="tour-form">
	<input type="hidden" name="tour_id" value="<?php 
echo $_GET["tour_id"];
?>
"></input>
	<input type="hidden" name="_tour_nonce" value=""></input>
	<div class="wordtour-column wordtour-column-left">
		<?php 
foreach ($panels_order["left"] as $panel) {
    call_user_func("wordtour_tour_" . $panel[0] . "_panel", $panel[1]);
}
コード例 #3
0
ファイル: settings.php プロジェクト: Ashleyotero/oldest-old
		background-image: url(<?php 
echo WT_PLUGIN_URL . "/images/google.png";
?>
);
	}
	
	td.flickr {
		background-image: url(<?php 
echo WT_PLUGIN_URL . "/images/flickr.png";
?>
);
	}
</style>
<?php 
$default_panels_order = array("left" => array(array("general", 1), array("discussion", 1), array("event", 1), array("permalinks", 1), array("system", 1)), "right" => array(array("eventbrite", 0), array("google", 0), array("facebook", 0), array("twitter", 0), array("lastfm", 0), array("flickr", 0)));
$panels_order = wordtour_get_panel_state("settings");
if (!$panels_order) {
    $panels_order = $default_panels_order;
}
?>
<div class="wrap">
	<h2>Settings</h2>
</div>

<div class="wordtour-column-wrap wordtour-column-event">
	<form action="options.php" method="post">
	
		<div class="wordtour-toolbar" style="overflow:hidden;">
			<div class="ui-helper-clearfix" style="width:2000px;">
				<div title="Save Settings" id="wordtour-button-settings"></div>	
			</div>
コード例 #4
0
ファイル: venue.php プロジェクト: Ashleyotero/oldest-old
?>
	</h2>
</div>


<div class="wordtour-column-wrap wordtour-column-venue">

	<div class="wordtour-alert"></div>
	<div class="wordtour-toolbar ui-helper-clearfix">
		<div title="Save Venue" id="wordtour-button-save"></div>
		<div title="Set As Default" id="wordtour-button-default"></div>
		<div title="Remove Default" id="wordtour-button-undo-default" style='display:none;'></div>
	</div>
<?php 
$default_panels_order = array("left" => array(array("details", 1), array("status", 1), array("map", 1), array("info", 1), array("more", 1)), "right" => array(array("poster", 1), array("order", 1), array("gallery", 1), array("video", 1), array("category", 1)));
$panels_order = wordtour_get_panel_state("venue");
if (!$panels_order) {
    $panels_order = $default_panels_order;
}
?>
<form id="venue-form">
	<input type="hidden" name="venue_id" value="<?php 
echo $_GET["venue_id"];
?>
"></input>
	<input type="hidden" name="_venue_nonce" value=""></input>
	<div class="ui-helper-clearfix">
		<div class="wordtour-column wordtour-column-left">
			<?php 
foreach ($panels_order["left"] as $panel) {
    call_user_func("wordtour_venue_" . $panel[0] . "_panel", $panel[1]);
コード例 #5
0
ファイル: event.php プロジェクト: Ashleyotero/oldest-old
</div>

<div class="wordtour-column-wrap wordtour-column-event">

<div class="wordtour-alert"></div>
<div class="wordtour-toolbar" style="overflow:hidden;">
	<div class="ui-helper-clearfix" style="width:2000px;">
		<div title="Save Event" id="wordtour-button-save"></div>
		<div title="Unpublish Event" id="wordtour-button-trash"></div>
		<div title="Publish Event" id="wordtour-button-publish"></div>	
	</div>
</div>

<?php 
$default_panels_order = array("left" => array(array("details", 1), array("status", 1), array("title", 1), array("notes", 1), array("moreartists", 1), array("tickets", 0), array("comments", 0)), "right" => array(array("social", 1), array("poster", 1), array("status2", 1), array("genre", 1), array("gallery", 1), array("category", 1), array("video", 1), array("rsvp", 1)));
$panels_order = wordtour_get_panel_state("event");
if (!$panels_order) {
    $panels_order = $default_panels_order;
}
?>
<form id="event-form">
	<input type="hidden" name="event_id" value="<?php 
echo $_GET["event_id"];
?>
"></input>
	<input type="hidden" name="event_meta_id"></input>
	<input type="hidden" name="_event_nonce" value=""></input>
	<div class="ui-helper-clearfix">
		<div class="wordtour-column wordtour-column-left">
			<?php 
foreach ($panels_order["left"] as $panel) {