Skip to content

Commit dda673c

Browse files
committed
0.2.b2 Beta Release
1 parent cd1e23b commit dda673c

File tree

4 files changed

+26
-42
lines changed

4 files changed

+26
-42
lines changed

advanced-post-list/APL_admin.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.txtHeader
22
{
3-
width:610px;
4-
position:absolute;
5-
left:290px;
3+
width:610px;
4+
position:absolute;
5+
left:290px;
66
}
77
/*restores default values*/
88
/*color: buttontext;*/

advanced-post-list/APL_admin.php

Lines changed: 18 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -883,41 +883,30 @@ function setNoneHide(){
883883
<p>Nothing selected means show everything, including tags or categories not yet created. Checking all will include everything, but will exclude all future categories or tags.</p>
884884

885885
</div>
886-
<span class="noneHide">
887-
<br/><br/>
888-
889-
890-
<p>Before list HTML: <textarea rows='4' cols='200' name='txtBeforeList' id='txtBeforeList' value='' class="txtHeader"></textarea></p>
891-
<br/>
892-
<br/>
893-
<br/>
894-
</span>
895886

896-
<p>List item content:
897-
898-
<textarea name='txtContent' id='txtContent' rows='4' cols="200" class="txtHeader"></textarea>
899-
900-
</p>
901-
902-
<span class="noneHide">
903-
<br/>
904-
<br/>
905-
<br/>
887+
<br/><br/>
888+
<div id="containerPresetStyler" style="min-width: 720px; max-width: 1024px; margin-right: 25px;" >
906889

907-
<p>After list HTML: <textarea rows='4' cols='200' name='txtAfterList' id='txtAfterList' class="txtHeader noneHide"></textarea></p>
908890

909-
<br/>
910-
<br/>
911-
<br/>
891+
<div id="before" class="noneHide" style="clear:both; white-space:nowrap;" >
892+
<label for="txtBeforeList" style="float:left; width: 125px;" >Before list HTML:</label>
893+
<textarea name="txtBeforeList" id="txtBeforeList" style="float:none; min-width:570px; max-width: 874px; min-height:70px;"></textarea>
894+
</div>
912895

913-
<input type=checkbox id="chkExcludeCurrent" name="chkExcludeCurrent" checked="yes"></ input> Exclude current post from results
896+
<div id="content" style="clear: both; white-space:nowrap;" >
897+
<label for="txtContent" style="float:left; width:125px;" >List item content:</label>
898+
<textarea name='txtContent' id='txtContent' style="float: none; min-width:570px; max-width: 874px; min-height: 70px;" ></textarea>
899+
</div>
914900

915-
</span>
916-
<br/>
917-
<br/>
901+
<div id="after" class="noneHide" style="clear: both; white-space:nowrap;" >
902+
<label for="txtAfterList" style="float:left; width:125px;" >After list HTML:</label>
903+
<textarea name='txtAfterList' id='txtAfterList' style="float: none; min-width:570px; max-width: 874px; min-height: 70px;" ></textarea>
904+
</div>
905+
</div>
918906

907+
<input type=checkbox id="chkExcludeCurrent" name="chkExcludeCurrent" class="noneHide" checked="yes"></input><label for="chkExcludeCurrent" class="noneHide" >Exclude current post from results</label>
919908
<p>
920-
<button id="btnSavePreset">Save to Preset</button>&nbsp;&nbsp;:&nbsp;&nbsp;<input type="text" size='30' name='txtPresetName' id='txtPresetName' value='<?php echo $adminOptions["default_preset"]; ?>' >&nbsp;&nbsp;&nbsp;&nbsp;<input type=checkbox id="chkShowPreview" name="chkShowPreview" checked="yes"> show preview
909+
<button id="btnSavePreset">Save to Preset</button>&nbsp;&nbsp;:&nbsp;&nbsp;<input type="text" size='30' name='txtPresetName' id='txtPresetName' >&nbsp;&nbsp;&nbsp;&nbsp;<input type=checkbox id="chkShowPreview" name="chkShowPreview" checked="yes"><label for="chkShowPreview" >show preview</label>
921910
</p>
922911

923912
<p><span id="createStatus">&nbsp;</span></p>
@@ -950,7 +939,7 @@ function setNoneHide(){
950939
<div id="options1">
951940
<h4 style="margin-bottom: 1px;" >Settings</h4>
952941
<form id="frmSettings" name="frmSettings" enctype="text/plain" method="get" style="margin: 0px;" >
953-
<table width="316" border="1">
942+
<table width="316" border="0 " style="">
954943
<tr>
955944
<td width="84"><input id="rdoDeleteDb" name="rdoDeleteDb" type="radio" value="true" <?php
956945
if ($adminOptions["delete_core_db"] == "true")

advanced-post-list/advanced-post-list.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/*
44
Plugin Name: Advanced Post List
5-
Version: 0.2.b1
5+
Version: 0.2.b2
66
Plugin URI: http://code.google.com/p/wordpress-advanced-post-list/
77
Description: Create highly customizable post lists with dynamic features.
88
Author: JoKeR
@@ -26,7 +26,7 @@
2626
*/
2727
/**
2828
* @package advanced-post-list
29-
* @version 0.2.b1
29+
* @version 0.2.b2
3030
* @link http://code.google.com/p/wordpress-advanced-post-list/ Advanced Post List Homepage
3131
*/
3232
/*****************************************************************************/
@@ -58,7 +58,7 @@
5858
define('APL_DIR', plugin_dir_path(__FILE__));
5959
define('APL_URL', plugin_dir_url(__FILE__));
6060
//FIX ALWAYS - Update version number
61-
define('APL_VERSION', '0.2.b1');
61+
define('APL_VERSION', '0.2.b2');
6262

6363
/*****************************************************************************/
6464
/************************ REQUIRED FILES *************************************/

advanced-post-list/includes/Class/APLCore.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,10 @@ public function __construct($file)
103103
$APLOptions['version'] = APL_VERSION;
104104
}
105105

106-
// //CHECKING VERSION FOR MAJOR DATABASE MODIFICATIONS
107-
// BAREBONE EXAMPLE
108-
// if ($APLOptions->version < X.X.X)
109-
// {
110-
// $this->upgrade_method();
111-
// }
106+
112107
//UPGRADE VERSION
113108
$oldversion = $APLOptions['version'];
114-
if (version_compare($oldversion, APL_VERSION, '<'))
109+
if (version_compare(APL_VERSION, $oldversion, '>'))
115110
{
116111
//Put upgrade database functions in here. Not before.
117112
// Ex. upgrade_to_X.X.X();

0 commit comments

Comments
 (0)