------------------------------------------------------------
revno: 1022
committer: Jon Phillips <[email protected]>
branch nick: public
timestamp: Sun 2012-01-15 22:34:17 +0800
message:
added some comments to defs.inc and cleaned up pagination output to be more
reasonable
modified:
configs/defs.inc
libs/widgets.php
--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk
Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'configs/defs.inc'
--- configs/defs.inc 2012-01-06 11:48:25 +0000
+++ configs/defs.inc 2012-01-15 14:34:17 +0000
@@ -27,6 +27,10 @@
* @version @VERSION@.@REVISION@
* @filesource */
+ // @TODO: move the defs.inc to defs.php
+ // @TODO: make all these check to see if another define exists before defining
+ // @TODO: make sure its easy to move a site by setting an option in a file
+
// @TODO added these back from aiki-defs.inc and need to be defined in installer
/** Aiki Site URL */
=== modified file 'libs/widgets.php'
--- libs/widgets.php 2012-01-09 13:46:16 +0000
+++ libs/widgets.php 2012-01-15 14:34:17 +0000
@@ -689,28 +689,21 @@
}
if ( $numpages <= 1 ) {
- return "<div class='pagination'></div>";
+ return "";
}
$widget->link_example = $aiki->input->requests($widget->link_example);
- /**
- * @todo abstract this all into a pagination class
- */
-
$numpages = $numpages + 1; // WHAT?????
$full_numb_of_pages = $numpages;
$pagination = '';
$page2 = $page;
- /**
- * @todo the harcoded pagination must die
- */
$pagination .=
"<div class='pagination'>" .
"<span class='pagination_move_to_page'>" .
- __("move to page") . "</span><br />";
+ __("move to page") . "</span>";
if ($page) {
$previous =
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help : https://help.launchpad.net/ListHelp