|
@@ 238-252 (lines=15) @@
|
| 235 |
|
."<br>\n"; |
| 236 |
|
} |
| 237 |
|
// Add a New Sub-Category |
| 238 |
|
if ($catCount) { |
| 239 |
|
echo "<table class='outer' style='width: 100%; border-width: 0px; margin: 1px;'>\n" |
| 240 |
|
." <tr><th style='font-size: larger;'>" . _MD_MYLINKS_ADDSUB . "</th></tr>\n" |
| 241 |
|
." <tr class='odd'><td style='text-align: center;'>\n" |
| 242 |
|
." <form method='post' action='main.php'>\n" |
| 243 |
|
. ' ' . _MD_MYLINKS_TITLEC . "\n" |
| 244 |
|
." <input type='text' name='title' size='30' maxlength='50'> " . _MD_MYLINKS_IN . " \n" |
| 245 |
|
. ' ' . $myCatTree->makeSelBox('pid', 'title') . "\n" |
| 246 |
|
." <input type='hidden' name='op' value='addCat'><br><br>\n" |
| 247 |
|
." <input type='submit' value='" . _ADD . "'><br>\n" |
| 248 |
|
." </form>\n" |
| 249 |
|
." </td></tr>\n" |
| 250 |
|
."</table>\n" |
| 251 |
|
. '<br>'; |
| 252 |
|
} |
| 253 |
|
|
| 254 |
|
// Modify Category Table Display |
| 255 |
|
if ($catCount) { |
|
@@ 255-270 (lines=16) @@
|
| 252 |
|
} |
| 253 |
|
|
| 254 |
|
// Modify Category Table Display |
| 255 |
|
if ($catCount) { |
| 256 |
|
echo "<table class='outer' style='width: 100%; border-width: 0px; margin: 1px;'>\n" |
| 257 |
|
." <tr><th style='font-size: larger;'>" . _MD_MYLINKS_MODCAT . "</th></tr>\n" |
| 258 |
|
." <tr class='odd'><td style='text-align: center;'>\n" |
| 259 |
|
." <form method='get' action='main.php'>\n" |
| 260 |
|
// ." <h4>" . _MD_MYLINKS_MODCAT . "</h4><br>\n" |
| 261 |
|
. ' ' . _MD_MYLINKS_CATEGORYC . "\n" |
| 262 |
|
. ' ' . $myCatTree->makeSelBox('cid', 'title') . "\n" |
| 263 |
|
." <br><br>\n" |
| 264 |
|
." <input type='hidden' name='op' value='modCat'>\n" |
| 265 |
|
." <input type='submit' value='" . _MD_MYLINKS_MODIFY . "'>\n" |
| 266 |
|
." </form>\n" |
| 267 |
|
." </td></tr>\n" |
| 268 |
|
."</table>\n" |
| 269 |
|
."<br>\n"; |
| 270 |
|
} |
| 271 |
|
include 'admin_footer.php'; |
| 272 |
|
} |
| 273 |
|
|