[Openfirst-cvscommit] emoticon emoticonf.php,1.10,1.11 index.php,1.3,1.4
Brought to you by:
xtimg
From: <dav...@us...> - 2003-09-13 15:35:06
|
Update of /cvsroot/openfirst/emoticon In directory sc8-pr-cvs1:/tmp/cvs-serv19922 Modified Files: emoticonf.php index.php Log Message: Minor bug and design changes. Index: emoticonf.php =================================================================== RCS file: /cvsroot/openfirst/emoticon/emoticonf.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** emoticonf.php 23 Aug 2003 20:14:44 -0000 1.10 --- emoticonf.php 13 Sep 2003 15:35:01 -0000 1.11 *************** *** 55,59 **** echo "<tr><td>".$emot->substitution."</td><td>".$emot->emoticon."</td></tr>"; } ! echo "<td><a href='$basepath/emoticons/'>Show more...</a></td></table>"; } --- 55,59 ---- echo "<tr><td>".$emot->substitution."</td><td>".$emot->emoticon."</td></tr>"; } ! echo "<td><a href='$basepath/emoticon/'>Show more...</a></td></table>"; } Index: index.php =================================================================== RCS file: /cvsroot/openfirst/emoticon/index.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.php 23 Jul 2003 21:27:07 -0000 1.3 --- index.php 13 Sep 2003 15:35:01 -0000 1.4 *************** *** 29,40 **** include($header); if(function_exists("emoticon_preview")) { ! if((int)$_GET["perpage"] == 0) { $_GET["perpage"] = 25; } ! if((int)$_GET["start"] == 0) { $_GET["start"] = 0; } ! echo("<form action='./' method='get'> ! start at emoticon <input type='text' name='start' value='" . $_GET["start"] ."' size='3'> showing ! <input type='text' name='perpage' value='" . $_GET["perpage"] ."' size='3'> emoticons per page <input type='submit' value='Show Emoticons'> </form>"); emoticon_preview($_GET["perpage"], $_GET["start"]); } else { echo("Emoticon functions are not enabled"); --- 29,41 ---- include($header); if(function_exists("emoticon_preview")) { ! if(! ISSET($_GET["perpage"])) { $_GET["perpage"] = 25; } ! if(! ISSET($_GET["start"])) { $_GET["start"] = 0; } ! echo("<h2>Emoticon Preview</h2><form action='./' method='get'> ! <br>Start at emoticon <input type='text' name='start' value='" . $_GET["start"] ."' size='3'> show ! <input type='text' name='perpage' value='" . $_GET["perpage"] ."' size='3'> emoticons per page. <input type='submit' value='Show Emoticons'> </form>"); emoticon_preview($_GET["perpage"], $_GET["start"]); + echo "<br>"; } else { echo("Emoticon functions are not enabled"); |