From: <cf...@us...> - 2010-04-28 22:00:33
|
Revision: 1949 http://znc.svn.sourceforge.net/znc/?rev=1949&view=rev Author: cflakes Date: 2010-04-28 22:00:26 +0000 (Wed, 28 Apr 2010) Log Message: ----------- Another patch by BrianC, building upon the previous revision, this uses the new sort feature to sort channel tables in stickychan's and webadmin's channel tables and webadmin's user table, also the module names in the menu. Hooray! Modified Paths: -------------- trunk/modules/www/stickychan/index.tmpl trunk/modules/www/webadmin/add_edit_user.tmpl trunk/modules/www/webadmin/listusers.tmpl trunk/webskins/_default_/tmpl/Menu.tmpl Modified: trunk/modules/www/stickychan/index.tmpl =================================================================== --- trunk/modules/www/stickychan/index.tmpl 2010-04-28 21:34:09 UTC (rev 1948) +++ trunk/modules/www/stickychan/index.tmpl 2010-04-28 22:00:26 UTC (rev 1949) @@ -10,7 +10,7 @@ </tr> </thead> <tbody> - <? LOOP ChannelLoop ?> + <? LOOP ChannelLoop SORTASC=Name ?> <tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>"> <td><? VAR Name ?></td> <td><input type="checkbox" name="stick_<? VAR Name ?>"<? IF Sticky ?> checked="checked"<? ENDIF ?> /></td> Modified: trunk/modules/www/webadmin/add_edit_user.tmpl =================================================================== --- trunk/modules/www/webadmin/add_edit_user.tmpl 2010-04-28 21:34:09 UTC (rev 1948) +++ trunk/modules/www/webadmin/add_edit_user.tmpl 2010-04-28 22:00:26 UTC (rev 1949) @@ -165,7 +165,7 @@ </thead> <tbody> - <? LOOP ChannelLoop ?> + <? LOOP ChannelLoop SORTASC=Name ?> <tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>"> <td> <input type="hidden" name="channel" value="<? VAR Name ?>" /> Modified: trunk/modules/www/webadmin/listusers.tmpl =================================================================== --- trunk/modules/www/webadmin/listusers.tmpl 2010-04-28 21:34:09 UTC (rev 1948) +++ trunk/modules/www/webadmin/listusers.tmpl 2010-04-28 22:00:26 UTC (rev 1949) @@ -18,7 +18,7 @@ </thead> <tbody> - <?LOOP UserLoop?> + <?LOOP UserLoop SORTASC=Username ?> <tr class="<?IF __EVEN__?>evenrow<?ELSE?>oddrow<?ENDIF?>"> <td> <span class="nowrap"> Modified: trunk/webskins/_default_/tmpl/Menu.tmpl =================================================================== --- trunk/webskins/_default_/tmpl/Menu.tmpl 2010-04-28 21:34:09 UTC (rev 1948) +++ trunk/webskins/_default_/tmpl/Menu.tmpl 2010-04-28 22:00:26 UTC (rev 1949) @@ -3,7 +3,7 @@ <li class="topitem<? IF !ModName && PageName == "index" ?> active<? ENDIF ?>"><a href="/">Home</a></li> <li class="topitem<? IF !ModName && PageName == "help" ?> active<? ENDIF ?>"><a href="/help">Help</a></li> - <? IF GlobalModLoop ?> + <? IF GlobalModLoop SORTASC=ModName ?> <li class="topitem parent"><span class="title">Global Modules</span> <ul> <? LOOP GlobalModLoop ?> @@ -16,7 +16,7 @@ </li> <? ENDIF ?> - <? IF UserModLoop ?> + <? IF UserModLoop SORTASC=ModName ?> <li class="topitem parent"><span class="title">User Modules</span> <ul> <? LOOP UserModLoop ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |